:root {
    --burgundy: #6B1F32;
    --burgundy-dark: #4d1624;
    --burgundy-light: #8a2a44;
    --charcoal: #2D2D2D;
    --charcoal-light: #404040;
    --gold: #C89B3C;
    --gold-light: #dbb55e;
    --ivory: #FAF8F6;
    --graphite: #232323;
    --text-muted: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--graphite);
    background: var(--ivory);
    padding-top: 72px;
}

/* ─── Glass Navbar ─── */
.glass-navbar {
    background: rgba(43, 15, 22, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    transition: var(--transition);
}

.navbar-logo {
    border-radius: 4px;
}

.glass-navbar .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--gold) !important;
}

.glass-navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: var(--transition);
    color: rgba(255,255,255,0.85) !important;
}

.glass-navbar .nav-link:hover,
.glass-navbar .nav-link.active {
    color: var(--gold) !important;
    background: rgba(200, 155, 60, 0.1);
}

/* ─── Hero / Sprite Banner ─── */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--charcoal);
    overflow: hidden;
}

.sprite-banner {
    position: absolute;
    inset: 0;
}

.sprite-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.sprite-slide.active {
    opacity: 1;
}

.sprite-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,31,50,0.75) 0%, rgba(45,45,45,0.85) 100%);
    z-index: 1;
}

.sprite-slide .sprite-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.sprite-slide .container {
    position: relative;
    z-index: 2;
}

.sprite-icon {
    width: 80px;
    height: 80px;
    background: rgba(200,155,60,0.15);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.sprite-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.sprite-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.sprite-dot.active {
    background: var(--gold);
    border-color: var(--gold);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,31,50,0.7) 0%, rgba(45,45,45,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    max-width: 600px;
}

/* ─── Page Banner (interior pages) ─── */
.page-banner {
    position: relative;
    background: var(--charcoal);
    padding: 3rem 0;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,31,50,0.8) 0%, rgba(45,45,45,0.9) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
}

.page-banner-icon {
    width: 56px;
    height: 56px;
    background: rgba(200,155,60,0.15);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* ─── Buttons ─── */
.btn-burgundy {
    background: var(--burgundy);
    color: #fff;
    border: 2px solid var(--burgundy);
    padding: 0.65rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-burgundy:hover {
    background: var(--burgundy-dark);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107,31,50,0.3);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 0.65rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(200,155,60,0.3);
}

/* ─── Section ─── */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ─── Category Cards ─── */
.category-card {
    background: #fff;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    height: 100%;
    text-decoration: none;
    color: var(--graphite);
    display: block;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--graphite);
}

.category-card .card-icon {
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.category-card:hover .card-icon {
    color: var(--gold);
}

.category-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* ─── Why Choose Us ─── */
.why-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.text-burgundy {
    color: var(--burgundy) !important;
}

.why-icon {
    width: 64px;
    height: 64px;
    background: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #fff;
    transition: var(--transition);
}

.why-card .why-icon {
    width: 64px;
    height: 64px;
    background: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: #fff;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--gold);
}

.why-card h5 {
    font-weight: 600;
    font-size: 1.05rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ─── CTA Banner ─── */
.cta-section {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    padding: 4rem 0;
}

/* ─── Products Sidebar ─── */
.product-sidebar {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    color: var(--burgundy);
    font-size: 1.1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.sidebar-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    color: var(--charcoal);
    text-decoration: none;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.sidebar-link:hover {
    background: rgba(107,31,50,0.05);
    color: var(--burgundy);
    border-left-color: var(--gold);
}

.sidebar-link.active {
    background: rgba(107,31,50,0.08);
    color: var(--burgundy);
    font-weight: 600;
    border-left-color: var(--burgundy);
}

.sidebar-link i {
    color: var(--burgundy);
    transition: var(--transition);
}

.sidebar-link:hover i {
    color: var(--gold);
}

/* ─── Category Cards (All Products) ─── */
.cat-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cat-card-img {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.2);
}

.cat-card-body {
    padding: 1.25rem;
}

.cat-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.cat-card-title {
    font-size: 0.95rem;
    color: var(--burgundy);
    line-height: 1.3;
    padding-top: 2px;
}

.cat-product-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cat-product-list li {
    padding: 0.25rem 0;
    font-size: 0.8rem;
    color: var(--charcoal);
    padding-left: 0.85rem;
    position: relative;
    line-height: 1.35;
}

.cat-product-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
}

/* ─── Product Item Cards (Category Page) ─── */
.product-item-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border-left: 4px solid var(--burgundy);
}

.product-item-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--gold);
}

.product-svg-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
}

.product-item-card h6 {
    font-size: 0.85rem;
    color: var(--burgundy);
    line-height: 1.3;
}

.product-type-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-type-list li {
    padding: 0.15rem 0;
    font-size: 0.75rem;
    color: var(--charcoal);
    padding-left: 0.75rem;
    position: relative;
    line-height: 1.4;
}

.product-type-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
}

.btn-sm-burgundy {
    background: var(--burgundy);
    color: #fff;
    border: none;
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-sm-burgundy:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.min-w-0 {
    min-width: 0;
}

/* ─── Search ─── */
.search-box {
    border: 2px solid #e0d6d2;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: var(--transition);
    width: 100%;
}

.search-box:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107,31,50,0.1);
}

/* ─── About Page ─── */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--burgundy);
    border: 3px solid var(--gold);
    border-radius: 50%;
}

/* ─── Brands ─── */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.brand-item {
    background: #fff;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    box-shadow: var(--shadow-sm);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    color: var(--charcoal);
}

.brand-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--burgundy);
}

/* ─── Forms ─── */
.form-control, .form-select {
    border: 2px solid #e0d6d2;
    border-radius: 8px;
    padding: 0.65rem 1rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107,31,50,0.1);
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--charcoal);
}

/* ─── Contact Sidebar ─── */
.contact-detail-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.contact-detail-card .detail-icon {
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ─── Footer ─── */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.8);
}

.footer h5, .footer h6 {
    color: #fff;
}

.text-gold {
    color: var(--gold) !important;
}

.text-light-70 {
    color: rgba(255,255,255,0.7);
}

.footer-link {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--gold);
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ─── Animations ─── */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Captcha ─── */
.captcha-img {
    border-radius: 8px;
    border: 2px solid #e0d6d2;
    max-width: 100%;
}

/* ─── Responsive ─── */
@media (max-width: 991.98px) {
    .product-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .brand-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .sprite-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    body {
        padding-top: 64px;
    }
    .hero-section {
        min-height: 70vh;
    }
    .section {
        padding: 3rem 0;
    }
    .page-banner {
        padding: 2rem 0;
    }
    .product-group-card .group-header {
        flex-direction: column;
        text-align: center;
    }
}
