/* ============================================
   VELOURA LIFESTYLE - BASE STYLES
   ============================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-black: #000000;
    --color-dark: #0a0a0a;
    --color-red-950: #450a0a;
    --color-red-900: #7f1d1d;
    --color-red-800: #991b1b;
    --color-red-700: #b91c1c;
    --color-red-600: #dc2626;
    --color-red-300: #fca5a5;
    --color-red-200: #fecaca;
    --color-white: #ffffff;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 120px;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   OFFER BAR
   ============================================ */

.offer-bar {
    position: relative;
    background: linear-gradient(90deg, var(--color-red-950) 0%, var(--color-red-900) 50%, var(--color-red-950) 100%);
    color: var(--color-white);
    padding: 0.65rem 3rem;
    text-align: center;
    font-size: 0.875rem;
    overflow: hidden;
    height: auto;
    z-index: calc(var(--z-sticky) + 2);
    top: 0px;
    margin-top: 0 !important;

}

@media (max-width: 768px) {
    .offer-bar {
        padding: 0.65rem 2.5rem;
        font-size: 0.75rem;
    }
}

.offer-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto !important;
}

.offer-slide {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.offer-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.offer-text {
    font-weight: 400;
    letter-spacing: 0.03em;
}

.offer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-nav:hover {
    opacity: 1;
}

.offer-prev {
    left: 0.5rem;
}

.offer-next {
    right: 0.5rem;
}

@media (max-width: 480px) {
    .offer-nav {
        padding: 0.25rem;
    }
    
    .offer-prev {
        left: 0.25rem;
    }
    
    .offer-next {
        right: 0.25rem;
    }
}

/*HIDE ANIMATION*/
/* Header Hide */
.hide-header {
    transform: translateY(-100%);
    transition: transform 0.25s ease-in-out;
}

/* Offerbar Hide */
.hide-offerbar {
    transform: translateY(-100%);
    transition: transform 0.25s ease-in-out;
}

/* For smooth normal position */
#header, #offerBar {
    transition: transform 0.25s ease-in-out;
}


/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    height: auto !important;
    overflow: visible;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(127, 29, 29, 0.2);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    flex-wrap: nowrap;
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
}

/* Header Left - Logo */
.header-left {
    flex: 0 0 auto;
    padding-left: 2.5rem;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: auto;
    height: 115px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-icon{
        width: 85px;
        margin-left: -2rem !important;
        
    }
}

/* Header Right - Icons */
.header-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .header-right {
        gap: 1rem;
    }
}

.header-icon {
    position: relative;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon:hover {
    color: var(--color-red-300);
    transform: translateY(-2px);
}

.icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-red-600);
    color: var(--color-white);
    font-size: 0.625rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    display: none;
}

.icon-badge.active {
    display: flex;
}

/* --- PROFILE DROPDOWN STYLES --- */

/* Wrapper */
.profile-menu-container {
    position: relative;
    display: inline-block;
}

/* Make profile button look like other icons */
.profile-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    color: var(--color-red-300);
}

/* The Dropdown Box */
.profile-dropdown {
    position: absolute;
    top: 100%; /* Icon ke theek niche */
    right: 0; /* Right aligned */
    width: 220px;
    background-color: rgba(10, 10, 10, 0.98); /* Dark background */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(127, 29, 29, 0.3); /* Subtle red border */
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    
    /* Animation State: Hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

/* Active State: Visible (Javascript will toggle this) */
.profile-dropdown.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
}

/* Links inside dropdown */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    color: #e5e7eb; /* Gray text */
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif; /* Using your font var if available */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item svg {
    opacity: 0.7;
    transition: opacity 0.2s;
    width: 18px;
    height: 18px;
}

/* Hover Effects */
.dropdown-item:hover {
    background-color: rgba(185, 28, 28, 0.1);
    color: #fff;
    padding-left: 1.7rem; /* Slight slide effect */
}

.dropdown-item:hover svg {
    opacity: 1;
    color: var(--color-red-300);
}

/* Logout Specific */
.logout-item:hover {
    color: #ef4444; /* Red color for logout */
    background-color: rgba(220, 38, 38, 0.1);
}

/* TOAST NOTIFICATION STYLES */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none; /* Allows clicks to pass through container */
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    border-left: 4px solid #b91c1c; /* Veloura Red */
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    min-width: 250px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Animation */
    transform: translateX(120%); /* Start off-screen */
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 3.5s;
    pointer-events: auto; /* Enable clicks on the toast itself */
    margin-bottom: 10px;
}

.toast-success i {
    color: #b91c1c;
}

/* Keyframes for Animation */
@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(120%); }
}

.hamburger-btn {
    margin-left: 0.5rem;
}

.hamburger-icon .line {
    transition: all var(--transition-base);
}

.hamburger-btn.active .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active .line-2 {
    opacity: 0;
}

.hamburger-btn.active .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* ============================================
   FULL SCREEN MENU OVERLAY
   ============================================ */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    z-index: var(--z-modal);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slower);
    overflow-y: auto;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-base);
    z-index: 10;
}

.menu-close:hover {
    color: var(--color-red-300);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .menu-close {
        top: 1rem;
        right: 1rem;
    }
}

/* Menu Navigation */
.menu-nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media (max-width: 1024px) {
    .menu-nav {
        max-width: 700px;
        padding: 5rem 2.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-nav {
        padding: 5rem 2rem 2rem;
    }
}

@media (max-width: 480px) {
    .menu-nav {
        padding: 5rem 1.5rem 1.5rem;
    }
}

.menu-link {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.25rem 0;
    text-decoration: none;
    color: var(--color-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .menu-link {
        gap: 1rem;
        padding: 1rem 0;
    }
}

.menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-red-300);
    transition: width var(--transition-slow);
}

.menu-link:hover::before {
    width: 100%;
}

.menu-link:hover {
    padding-left: 1.5rem;
    color: var(--color-red-300);
}

@media (max-width: 768px) {
    .menu-link:hover {
        padding-left: 1rem;
    }
}

.menu-link:hover .menu-link-number {
    color: var(--color-red-300);
}

.menu-link-number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-gray-500);
    min-width: 2rem;
    transition: color var(--transition-base);
}

@media (max-width: 768px) {
    .menu-link-number {
        font-size: 0.625rem;
        min-width: 1.5rem;
    }
}

.menu-link-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

@media (max-width: 1024px) {
    .menu-link-text {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .menu-link-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .menu-link-text {
        font-size: 1.25rem;
    }
}

/* Menu Footer */
.menu-footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
    .menu-footer {
        max-width: 700px;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .menu-footer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .menu-footer {
        padding: 1.5rem;
    }
}

.menu-footer-left,
.menu-footer-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-tagline {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-gray-400);
}

@media (max-width: 768px) {
    .menu-tagline {
        font-size: 0.875rem;
    }
}

.menu-social {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.menu-social-link {
    font-size: 0.875rem;
    color: var(--color-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color var(--transition-base);
}

@media (max-width: 768px) {
    .menu-social-link {
        font-size: 0.75rem;
    }
}

.menu-social-link:hover {
    color: var(--color-red-300);
}

.menu-contact {
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

@media (max-width: 768px) {
    .menu-contact {
        font-size: 0.75rem;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    min-height: 60vh;
    padding-top: calc(0.5rem + 40px); /* Header height + Offer bar height */
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 2rem !important;
    }
}
@media (max-width: 900px){
    .main-content{
        padding-top: 5.4rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--color-black);
    border-top: 1px solid rgba(127, 29, 29, 0.2);
    margin-top: 8rem;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.5rem;
    }
}

/* Newsletter Section */
.footer-newsletter-section {
    border-bottom: 1px solid rgba(127, 29, 29, 0.2);
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .footer-newsletter-section {
        padding: 3rem 0;
    }
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .newsletter-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.newsletter-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .newsletter-title {
        font-size: 2rem;
    }
}

.newsletter-subtitle {
    font-size: 1rem;
    color: var(--color-gray-400);
    line-height: 1.6;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(127, 29, 29, 0.3);
    border-radius: 0;
    transition: border-color var(--transition-base);
}

.newsletter-input-wrapper:focus-within {
    border-color: var(--color-red-300);
}

.newsletter-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1rem;
    padding: 1.25rem 1.5rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-red-900);
    color: var(--color-white);
    border: none;
    padding: 1.25rem 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-base);
}

.newsletter-submit:hover {
    background-color: var(--color-red-800);
}

.newsletter-submit svg {
    transition: transform var(--transition-base);
}

.newsletter-submit:hover svg {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .newsletter-input-wrapper {
        flex-direction: column;
    }
    
    .newsletter-input {
        width: 100%;
    }
    
    .newsletter-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Main Footer Content */
.footer-main {
    padding: 5rem 0 3rem;
}

@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 4rem;
}

@media (max-width: 1280px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Footer Brand */

.footer-brand-description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-gray-400);
    max-width: 280px;
}

/* Footer Headings */
.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 0.5rem;
}

/* Footer Social List */
.footer-social-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-decoration: none;
    transition: all var(--transition-base);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-social-link:hover svg {
    transform: translate(4px, -4px);
}

.footer-social-link svg {
    transition: transform var(--transition-base);
    opacity: 0.5;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.footer-phone {
    margin-top: 0.5rem;
    color: var(--color-gray-400);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(127, 29, 29, 0.2);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

@media (max-width: 1024px) {
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.footer-copyright {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.footer-legal-links a {
    color: var(--color-gray-500);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(127, 29, 29, 0.3);
    color: var(--color-gray-400);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.language-selector:hover {
    border-color: var(--color-red-300);
    color: var(--color-white);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--color-red-900);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    z-index: var(--z-fixed);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background-color: var(--color-red-800);
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}



/* Fix for small screens like iPhone 12, Galaxy Fold */
@media (max-width: 430px) {
    .header-container {
        padding: 0.75rem 1rem; /* reduce padding */
    }

    .header-right {
        gap: 0.75rem; /* reduce gaps */
    }

    .hamburger-btn {
        display: flex !important; /* force show */
    }

    .hamburger-btn svg {
        width: 22px;
        height: 22px;
    }
}
/* ==============================
   GLOBAL MODAL OVERLAY
================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    transform: none !important;   /*  KILLS parent transform bug */
    contain: layout paint;        /*  isolates layout */
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}
/* ==============================
   AUTH MODAL
================================ */
/* .auth-card {
    background: #0f0505;
    border: 1px solid rgba(185, 28, 28, 0.3);
    border-radius: 16px;
    width: clamp(320px, 38vw, 440px); 
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    text-align: left;
    box-shadow: 0 0 50px rgba(185, 28, 28, 0.1);
} */
.auth-card {
    background: #0f0505;
    border: 1px solid rgba(185, 28, 28, 0.3);
    border-radius: 16px;

    /*  HOME PAGE JAISE WIDTH */
    min-width: 320px;
    width: clamp(320px, 38vw, 440px);

    max-height: 90dvh;
    overflow-y: auto;
    padding: 0;
    position: relative;
    text-align: left;
    box-shadow: 0 0 50px rgba(185, 28, 28, 0.1);
}


.auth-header {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.auth-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1.5rem;
    color: #9ca3af;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    color: #fff;
    background: rgba(185, 28, 28, 0.1);
    border-bottom: 2px solid #b91c1c;
}
.auth-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1rem;
    color: #fff;
    border-radius: 8px;
    outline: none;
}

.auth-input:focus {
    border-color: #b91c1c;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}
.modal-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #fff;
}
/* ==============================
   TOAST NOTIFICATIONS
================================ */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(10, 10, 10, 0.95);
    border-left: 4px solid #b91c1c;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    min-width: 250px;
    transform: translateX(100%);
    animation: slideIn 0.3s forwards, fadeOut 0.5s forwards 3.5s;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #b91c1c;
    color: white;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(185, 28, 28, 0.5);
}

@media (max-width: 768px) {
    .modal-overlay {
        align-items: center;
        padding: env(safe-area-inset-top)
                 env(safe-area-inset-right)
                 env(safe-area-inset-bottom)
                 env(safe-area-inset-left);
    }

    .auth-card {
        width: 92vw;
        min-width: unset;
        border-radius: 12px;
    }
}
/* Auth modal */
.auth-card .btn {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
}

/* Product detail CTA */
.pdp-actions .btn {
    min-height: 52px;
}
