:root {
    --color-primary: #ffc107;
    --color-secondary: #6c757d;
    --color-background: #1a1a1a;
    --color-text: #f8f9fa;
    --radius-card: 12px;
    --radius-button: 6px;
}
body { background: var(--color-background); color: var(--color-text); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading, 'Montserrat'), sans-serif; }
.card { border-radius: var(--radius-card); overflow: hidden; }
.btn-primary, .btn-warning { border-radius: var(--radius-button); padding: 0.75rem 1.5rem; font-weight: 500; transition: all 0.3s ease; }
.btn-primary:hover, .btn-warning:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3); }
.alert { border-radius: 12px; border: none; }

.hero-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    padding: 2rem;
    border-radius: 12px;
    bottom: 20%;
    left: 10%;
    right: 10%;
}
.hero-slider .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .hero-slider .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 10%;
        padding: 1rem;
    }
    .hero-slider .carousel-caption h2 {
        font-size: 1.5rem;
    }
}

.steps-nav { display: flex; justify-content: space-between; position: relative; margin-bottom: 2rem; padding: 0 1rem; }
.steps-nav::before { content: ''; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: #e9ecef; z-index: 0; }
.step { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; flex: 1; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: #e9ecef; color: #6c757d; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 0.5rem; transition: all 0.3s ease; }
.step.active .step-number { background: var(--color-primary); color: #000; box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3); }
.step.completed .step-number { background: #198754; color: white; }
.step-label { font-size: 0.875rem; color: #6c757d; font-weight: 500; }
.step-content { display: none; animation: fadeIn 0.4s ease-in; }
.step-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.category-card { border: 2px solid #e9ecef; border-radius: var(--radius-card); padding: 2rem 1.5rem; text-align: center; cursor: pointer; transition: all 0.3s ease; background: white; height: 100%; }
.category-card:hover { border-color: var(--color-primary); transform: translateY(-5px); box-shadow: 0 8px 20px rgba(255, 193, 7, 0.15); }
.category-card .icon { font-size: 3rem; color: var(--color-primary); margin-bottom: 1rem; }
.category-card .title { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.product-card { border: 2px solid #e9ecef; border-radius: var(--radius-card); padding: 1.5rem; cursor: pointer; transition: all 0.3s ease; background: white; height: 100%; }
.product-card:hover { border-color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(255, 193, 7, 0.12); }
.product-card .icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 0.75rem; }

.quantity-selector { display: flex; flex-direction: column; gap: 1rem; }
.quick-quantities { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quantity-btn { 
    border: 2px solid #e9ecef; 
    background: white; 
    color: #495057; 
    padding: 0.75rem 1.5rem; 
    border-radius: var(--radius-button); 
    font-weight: 500; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    min-width: 100px;
    font-size: 1rem;
}
.quantity-btn:hover { 
    border-color: var(--color-primary); 
    color: var(--color-primary); 
    transform: translateY(-2px);
}
.quantity-btn.active { 
    background: var(--color-primary); 
    border-color: var(--color-primary); 
    color: #000; 
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-select-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.btn-select {
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-button);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 250px;
}

.btn-select:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.btn-select.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #000;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-select.active::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    font-size: 0.8rem;
    font-weight: bold;
}

.btn-select[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: normal;
    white-space: normal;
    max-width: 250px;
    z-index: 1000;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    pointer-events: none;
}

.btn-select[title]:hover::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    margin-bottom: -4px;
    z-index: 1000;
}

@media (max-width: 768px) {
    .container { padding: 1rem; }
    .category-card { padding: 1.5rem 1rem; }
    .category-card .icon { font-size: 2.5rem; }
    .step-label { font-size: 0.75rem; }
    .quantity-btn { min-width: 70px; padding: 0.5rem 1rem; font-size: 0.9rem; }
    .btn-select { 
        min-width: 100%; 
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    .btn-select[title]:hover::before {
        max-width: 200px;
        font-size: 0.75rem;
    }
}

.invalid-feedback { display: block; color: #dc3545; font-size: 0.875rem; margin-top: 0.25rem; }