@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --brand-primary: #2e1101;    /* Deep Brand Dark Brown */
    --brand-secondary: #fdf5ce;  /* Warm Premium Cream */
    --brand-dark: #2e1101;       /* Unified Dark Tone */
    --brand-accent: #d2b48c;     /* Tan / Sand */
    --brand-bg: #FAFAFA;
    --brand-text: #2e1101;
    --brand-gray: #64748b;
    --brand-border: #e2e8f0;
    
    /* New Premium Branding */
    --brand-deep-brown: #3B1F1A;
    --brand-soft-beige: #F5F1ED;
    --brand-maroon: #5D1229;
}

body {
    font-family: "Roboto", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--brand-dark);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-display {
    font-family: "Roboto", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    font-weight: 400;
}

h1, h2, h3, h4, .font-bold-call {
    font-family: "Roboto", 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.animate-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-glow:hover::after {
    opacity: 1;
}

/* Header Components */
.top-bar {
    background-color: var(--brand-dark);
    color: var(--brand-secondary);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    height: 36px;
}

/* Rotating USP Bar */
.usp-bar-container {
    background: var(--brand-dark);
    overflow: hidden;
    height: 36px;
    display: flex;
    align-items: center;
}

.usp-slide {
    animation: slide-up 12s infinite;
}

@keyframes slide-up {
    0%, 25% { transform: translateY(0); }
    30%, 55% { transform: translateY(-100%); }
    60%, 85% { transform: translateY(-200%); }
    90%, 100% { transform: translateY(-300%); }
}

.main-header {
    background-color: #fff;
    height: 90px;
    border-bottom: 1px solid var(--brand-border);
}

.brand-nav-bar {
    background-color: var(--brand-primary);
    height: 52px;
}

.service-bar {
    background-color: var(--brand-secondary);
    border-bottom: 1px solid var(--brand-border);
    font-size: 11px;
    height: 45px;
}

/* Mega Menu Styles */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f8fafc;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 1000px; /* Specific width like in image */
    background-color: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

/* Ensure mega menu stays within viewport */
.brand-nav-bar ul li:first-child .mega-menu {
    left: 0;
}

.brand-nav-bar ul li:nth-child(2) .mega-menu {
    left: -100px;
}

/* Mobile App-like Experience */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    border-top: 1px solid var(--brand-border);
    display: none; /* Desktop hidden */
    z-index: 2000;
}

.side-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background-color: #fff;
    z-index: 3000;
    transition: left 0.3s cubic-bezier(0, 0, 0.2, 1);
    box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.drawer-open .side-drawer {
    left: 0;
}

.drawer-open .drawer-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 767px) {
    .bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .top-bar, .service-bar, .main-header .flex-grow {
        display: none !important; /* Hide non-essentials on mobile */
    }

    .main-header {
        height: 60px;
    }

    .brand-nav-bar {
        display: none !important; /* Move to side drawer on mobile */
    }

    /* Mobile Search Toggle Header */
    .mobile-header-actions {
        display: flex;
        gap: 1rem;
    }
}

#search-suggestions::-webkit-scrollbar {
    width: 6px;
}

#search-suggestions {
    position: absolute;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 5000;
    max-height: 400px;
    overflow-y: auto;
}

#search-suggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#search-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

#search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Utility: Hide Scrollbar but keep functionality */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Industrial Typography & Effects */
.tracking-tight-extreme {
    letter-spacing: -0.05em;
}

.text-shadow-hard {
    text-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}



/* Navigation Ribbons */
.nav-ribbon {
    font-weight: 900 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
}

input:focus {
    box-shadow: none !important;
}

/* Boutique Redesign Utilities (Amante Style) */
.bg-boutique-cream { background-color: #FAF7F4; }
.text-brand-maroon { color: var(--brand-maroon); }
.bg-brand-maroon { background-color: var(--brand-maroon); }
.border-brand-maroon { border-color: var(--brand-maroon); }

.portrait-video-frame { 
    border-radius: 120px 20px 20px 20px; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(93, 18, 41, 0.15);
    background-color: #000;
}

.boutique-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.boutique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(93, 18, 41, 0.08);
}

.newArrivalSwiper {
    padding: 20px 0 60px !important;
}

/* Section Title Fix (Centered, Correct Size) */
.new-arrival-title {
    font-family: "Roboto", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--brand-dark);
}

.show-now-maroon-btn {
    background-color: var(--brand-maroon);
    color: white;
    padding: 18px 50px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(93, 18, 41, 0.2);
}

.show-now-maroon-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(93, 18, 41, 0.3);
}

@media (max-width: 767px) {
    .show-now-maroon-btn {
        padding: 12px 30px;
        font-size: 9px;
        letter-spacing: 0.2em;
    }
}

.show-now-overlay-gradient {
    background: linear-gradient(to top, rgba(93, 18, 41, 0.5), transparent);
}

/* Quick Shop & Variation Selector */
.quick-add-overlay {
    box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.8);
}

.quick-add-overlay:not(.hidden) {
    display: flex !important;
}

.quick-attr-btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.quick-attr-btn:hover {
    border-color: var(--brand-primary);
    transform: translateY(-2px);
}

/* Custom Scrollbar for Attribute Area */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}

