/* Custom Styles and Animations for Debankita Collection */
:root {
    --color-gold: #C6A87C;
    --color-gold-light: #D4A953;
    --color-green: #06291D;
    --color-green-mid: #0D1F16;
    --color-cream: #FAF7F2;
    --color-cream-dark: #F3ECE0;
    --color-border: #E8DFD5;
    --color-text: #1A1A1A;
    --color-light: #FCFAF5;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1A1A1A;
    background-color: #FAF7F2;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100%;
}

.font-serif, h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: 0.01em;
}

.font-script {
    font-family: 'Alex Brush', cursive;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Colorful Glassmorphic Utilities */
.glass-panel {
    background: rgba(198, 168, 124, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(198, 168, 124, 0.25);
    box-shadow: 0 20px 40px rgba(198, 168, 124, 0.12);
}
.glass-header {
    background: linear-gradient(135deg, rgba(249, 246, 240, 0.97) 0%, rgba(253, 248, 243, 0.95) 100%) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(198, 168, 124, 0.25);
    box-shadow: 0 4px 20px rgba(198, 168, 124, 0.12);
}

/* Reveal Animations (Controlled by JS Intersection Observer) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1); /* Premium Ease Out Expo */
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Ken Burns Effect for Hero Background */
.ken-burns {
    animation: kenBurns 20s ease-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Delay Utilities for Staggered Animations */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Elegant Custom Scrollbar - Colorful */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #F9F6F0 0%, #F5EDE0 100%);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C6A87C 0%, #0D1F16 100%);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #D4A953 0%, #1a382a 100%);
}

/* WooCommerce Sidebar Widget Overrides */
.widget_price_filter .ui-slider .ui-slider-range { background: linear-gradient(90deg, #C6A87C 0%, #0D1F16 100%); }
.widget_price_filter .ui-slider .ui-slider-handle { background-color: #C6A87C; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(198, 168, 124, 0.4); }
.widget_price_filter .price_slider_amount .button { background: transparent; color: #C6A87C; border-bottom: 2px solid #C6A87C; padding: 0 0 2px 0; text-transform: uppercase; font-size: 10px; letter-spacing: 0.1em; transition: all 0.3s; }
.widget_price_filter .price_slider_amount .button:hover { color: #0D1F16; border-color: #0D1F16; transform: translateX(4px); }
.widget_layered_nav ul li { margin-bottom: 8px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 300; color: #6b7280; }
.widget_layered_nav ul li a { color: #2D3142; text-decoration: none; transition: all 0.3s; }
.widget_layered_nav ul li a:hover { color: #C6A87C; transform: translateX(4px); display: inline-block; }
.widget_layered_nav ul li .count { margin-left: 5px; color: #C6A87C; font-size: 11px; font-weight: 600; }

/* WooCommerce Shop Grid Setup */
ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
ul.products li.product { margin: 0; width: 100%; }

/* WooCommerce Utility Bar Setup */
.woocommerce-ordering select { border: none; border-bottom: 1px solid #d1d5db; background: transparent; padding: 5px 0; font-family: 'Outfit', sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: #6b7280; cursor: pointer; outline: none; transition: border-color 0.3s; }
.woocommerce-ordering select:focus { border-color: #c5a059; }

/* WooCommerce Global Notices */
.woocommerce-message, .woocommerce-error, .woocommerce-info { 
    background: #fdfbf7; 
    border: 1px solid #EEEEEE; 
    border-top: 2px solid #063c2c; 
    padding: 1rem 1.5rem; 
    margin-bottom: 2rem; 
    font-family: 'Outfit', sans-serif; 
    font-size: 13px; 
    color: #4B5563; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
}
.woocommerce-error { border-top-color: #EF4444; }
.woocommerce-message { border-top-color: #c5a059; }
.woocommerce-info { border-top-color: #3B82F6; }
.woocommerce-message .button, .woocommerce-error .button, .woocommerce-info .button { 
    background: transparent; 
    color: #063c2c; 
    border-bottom: 1px solid #063c2c; 
    padding: 0 0 2px 0; 
    text-transform: uppercase; 
    font-size: 10px; 
    letter-spacing: 0.15em; 
    transition: all 0.3s; 
    margin-left: 1rem;
}
.woocommerce-message .button:hover { color: #c5a059; border-color: #c5a059; }


.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: #063c2c; margin-bottom: 1.5rem; font-weight: 400; }
.woocommerce-MyAccount-content header.title h3 { font-size: 1.5rem; }
.woocommerce-MyAccount-content table.my_account_orders, .woocommerce-MyAccount-content table.shop_table { width: 100%; text-align: left; border-collapse: collapse; margin-bottom: 2rem; }
.woocommerce-MyAccount-content table th { text-transform: uppercase; font-size: 10px; letter-spacing: 0.15em; font-weight: 500; color: #9CA3AF; padding: 1rem 0; border-bottom: 1px solid #E5E7EB; }
.woocommerce-MyAccount-content table td { padding: 1rem 0; border-bottom: 1px solid #F3F4F6; vertical-align: middle; }
.woocommerce-MyAccount-content .button { background: #063c2c; color: #FFFFFF; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; padding: 0.75rem 1.5rem; border: none; transition: background 0.3s; cursor: pointer; display: inline-block; text-align: center; }
.woocommerce-MyAccount-content .button:hover { background: #c5a059; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.8; background: #fdfbf7; padding: 1.5rem; border: 1px solid #F3F4F6; margin-top: 1rem; }

/* Forms */
.woocommerce form .form-row { margin-bottom: 2rem; position: relative; }
.woocommerce form .form-row label { display: block; text-transform: uppercase; font-size: 11px; letter-spacing: 0.15em; font-weight: 500; color: #9CA3AF; margin-bottom: 0.5rem; transition: color 0.3s; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; border: none; border-bottom: 1px solid #E5E7EB; padding: 0.75rem 0; background: transparent; font-family: 'Outfit', sans-serif; font-size: 14px; transition: border-color 0.3s; outline: none; border-radius: 0; box-shadow: none !important; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus { border-color: #c5a059; }
.woocommerce form .form-row:focus-within label { color: #c5a059; }
.select2-container--default .select2-selection--single { border: none !important; border-bottom: 1px solid #E5E7EB !important; border-radius: 0 !important; padding: 0.75rem 0 !important; height: auto !important; outline: none !important; }

/* WooCommerce AJAX Cart Drawer */
.widget_shopping_cart_content { width: 100%; display: flex; flex-direction: column; height: 100%; }
.widget_shopping_cart_content .cart_list { flex-grow: 1; padding: 0; margin: 0; list-style: none; overflow-y: auto; }
.widget_shopping_cart_content .cart_list li { display: flex; align-items: center; padding: 1rem 0; border-bottom: 1px solid #f3f4f6; position: relative; }
.widget_shopping_cart_content .cart_list li img { width: 70px; height: 90px; object-fit: cover; margin-right: 1.5rem; background: #f3f4f6; }
.widget_shopping_cart_content .cart_list li .remove { position: absolute; right: 0; top: 1.5rem; font-size: 1.25rem; color: #d1d5db; text-decoration: none; transition: color 0.3s; }
.widget_shopping_cart_content .cart_list li .remove:hover { color: #ef4444; }
.widget_shopping_cart_content .cart_list li a { font-family: 'Outfit', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #063c2c; text-decoration: none; display: block; margin-bottom: 0.25rem; font-weight: 500; }
.widget_shopping_cart_content .cart_list li a:hover { color: #c5a059; }
.widget_shopping_cart_content .cart_list li .quantity { font-family: 'Outfit', sans-serif; font-size: 12px; color: #6b7280; font-weight: 300; }
.widget_shopping_cart_content .cart_list li .quantity .amount { color: #c5a059; font-weight: 400; margin-left: 5px; }

/* Cart Drawer Footer (Subtotal & Buttons) */
.widget_shopping_cart_content .total { padding: 1.5rem 0; margin-top: auto; border-top: 1px solid #e5e7eb; display: flex; justify-content: space-between; align-items: center; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: #063c2c; }
.widget_shopping_cart_content .total strong { font-weight: 500; color: #6b7280; }
.widget_shopping_cart_content .total .amount { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; }
.widget_shopping_cart_content .buttons { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.widget_shopping_cart_content .buttons .button { width: 100%; text-align: center; font-family: 'Outfit', sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; padding: 1rem; transition: all 0.3s; border: 1px solid #063c2c; display: block; text-decoration: none; }
.widget_shopping_cart_content .buttons .button:not(.checkout) { background: transparent; color: #063c2c; }
.widget_shopping_cart_content .buttons .button:not(.checkout):hover { background: #f3f4f6; }
.widget_shopping_cart_content .buttons .checkout { background: #063c2c; color: #ffffff; font-weight: 600; }
.widget_shopping_cart_content .buttons .checkout:hover { background: #c5a059; border-color: #c5a059; }

/* Empty Cart Drawer */
.widget_shopping_cart_content .woocommerce-mini-cart__empty-message { text-align: center; color: #9ca3af; font-family: 'Outfit', sans-serif; font-weight: 300; margin-top: 2rem; }

/* WooCommerce Notices (Errors, Messages, Info) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments, .woocommerce-notice, .wc-block-components-notice-banner {
    background-color: #fdfbf7;
    border: 1px solid #E5E7EB;
    border-top: 2px solid #063c2c;
    padding: 1.25rem 1.75rem;
    color: #4b5563;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    clear: both;
    list-style: none !important;
    border-radius: 8px;
}

@media (max-width: 639px) {
  .woocommerce-message, 
  .woocommerce-info, 
  .woocommerce-error, 
  .woocommerce-noreviews, 
  .woocommerce-notice, 
  .wc-block-components-notice-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0.875rem 1rem !important;
    gap: 0.75rem !important;
    font-size: 13px !important;
  }
  .woocommerce-message .button, 
  .woocommerce-info .button, 
  .woocommerce-error .button {
    order: 3 !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0.6rem 1rem !important;
    font-size: 11px !important;
    display: block !important;
  }
}

/* Ensure WooCommerce Notice Group wrapper spans full width in checkout and does not duplicate styles */
.woocommerce-NoticeGroup,
.woocommerce-NoticeGroup-checkout {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    display: block !important;
    order: -1;
}

/* Checkout Form Desktop & Mobile Layout */
@media (max-width: 1023px) {
    form.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }
}
@media (min-width: 1024px) {
    form.woocommerce-checkout {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: flex-start !important;
    }
}

.woocommerce-NoticeGroup-checkout .woocommerce-error,
.woocommerce-NoticeGroup-checkout .woocommerce-message,
.woocommerce-NoticeGroup-checkout .woocommerce-info {
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before,
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after {
    display: none !important; /* Hide default WC font icons */
    content: none !important;
}

/* Constrain all notice SVGs strictly so they never expand or show black fills */
.woocommerce-message svg,
.woocommerce-info svg,
.woocommerce-error svg,
.woocommerce-notice svg,
.woocommerce-NoticeGroup svg,
.wc-block-components-notice-banner svg,
.woocommerce-form-coupon-toggle svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
    vertical-align: middle !important;
}

.woocommerce-message svg path,
.woocommerce-info svg path,
.woocommerce-error svg path,
.woocommerce-notice svg path,
.woocommerce-NoticeGroup svg path,
.wc-block-components-notice-banner svg path,
.woocommerce-form-coupon-toggle svg path {
    fill: none !important;
    stroke: currentColor !important;
}

.woocommerce-info { border-top-color: #3B82F6; }
.woocommerce-info svg { color: #d97706 !important; }
.woocommerce-error { border-top-color: #ef4444; }
.woocommerce-error svg { color: #ef4444 !important; }
.woocommerce-message { border-top-color: #c5a059; }
.woocommerce-message svg { color: #c5a059 !important; }

.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
    background: #063c2c;
    color: #FFFFFF;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.75rem 1.5rem;
    border: none;
    transition: background 0.3s;
    text-decoration: none;
    white-space: nowrap;
    order: 2; /* Put button on the right */
    border-radius: 4px;
}

.woocommerce-message .button:hover, .woocommerce-info .button:hover, .woocommerce-error .button:hover {
    background: #c5a059;
}

/* Custom WooCommerce Single Product Add to Cart */
.boutique-cart-wrapper table.variations { display: none !important; }

/* Custom swatch UI sits above the quantity+button row */
.boutique-cart-wrapper .boutique-custom-variations {
    order: -1;
    margin-bottom: 1.25rem;
}

/* Hide WC's native variation description / price placeholders when custom UI active */
.boutique-cart-wrapper .woocommerce-variation-description { display: none; }
.boutique-swatch.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0D1F16; }
.boutique-size-btn.active { border-color: #0D1F16; color: #0D1F16; background-color: #FAF8F5; }
.boutique-cart-wrapper table.variations td.label { padding: 0 15px 10px 0; vertical-align: middle; width: 60px; }
.boutique-cart-wrapper table.variations td.label label { text-transform: uppercase; font-size: 10px; letter-spacing: 0.15em; font-weight: 600; color: #0D1F16; }
.boutique-cart-wrapper table.variations td.value { padding: 0 0 10px 0; }
.boutique-cart-wrapper table.variations select { width: 100%; padding: 12px 16px; border: 1px solid #E8DFD5; background: #fff; font-family: 'Outfit', sans-serif; font-size: 12px; color: #6b7280; outline: none; margin-bottom: 5px; appearance: auto; }
.boutique-cart-wrapper table.variations select:focus { border-color: #B8907E; }
.boutique-cart-wrapper .reset_variations { font-size: 10px; text-transform: uppercase; color: #B8907E; letter-spacing: 0.1em; text-decoration: none; margin-left: 10px; }
.boutique-cart-wrapper .woocommerce-variation-price { margin-bottom: 1.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: #0D1F16; }
.boutique-cart-wrapper .quantity { display: inline-flex; align-items: center; border: 1px solid #E8DFD5; background: #fff; height: 52px; width: 120px; margin-bottom: 0; margin-top: 1.5rem; position: relative; box-sizing: border-box; }
.boutique-cart-wrapper .quantity::before { content: "QUANTITY:"; position: absolute; top: -25px; left: 0; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #0D1F16; }
.boutique-cart-wrapper .quantity input.qty { width: 100%; border: none; text-align: center; font-size: 14px; font-weight: 500; background: transparent; padding: 0; outline: none; box-shadow: none; -moz-appearance: textfield; }
.boutique-cart-wrapper .quantity input.qty::-webkit-outer-spin-button, .boutique-cart-wrapper .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.boutique-cart-wrapper .quantity button.qty-btn { width: 40px; height: 100%; display: flex; align-items: center; justify-content: center; background: transparent; border: none; font-size: 18px; color: #6b7280; cursor: pointer; transition: color 0.3s; }
.boutique-cart-wrapper .quantity button.qty-btn:hover { color: #0D1F16; }

.woocommerce .boutique-cart-wrapper button.single_add_to_cart_button.button.alt { flex-grow: 1; width: auto; background-color: #0D1F16 !important; color: #F9F6F0 !important; height: 52px; padding: 0 2.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; border: none; transition: all 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0; margin-bottom: 0; }
.woocommerce .boutique-cart-wrapper button.single_add_to_cart_button.button.alt:hover { background-color: #1a382a !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.woocommerce .boutique-cart-wrapper button.single_add_to_cart_button.button.alt.disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.woocommerce .boutique-cart-wrapper button.buy_it_now_button.button.alt { flex-grow: 1; width: auto; background-color: #C6A87C !important; color: #F9F6F0 !important; height: 52px; padding: 0 2.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; border: none; transition: all 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0; margin-bottom: 0; }
.woocommerce .boutique-cart-wrapper button.buy_it_now_button.button.alt:hover { background-color: #b8907e !important; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }

.boutique-cart-wrapper .woocommerce-variation-add-to-cart,
.boutique-cart-wrapper form.cart { display: flex; flex-direction: row; align-items: flex-end; gap: 1rem; clear: both; width: 100%; margin-bottom: 0; }
.boutique-cart-wrapper form.cart .quantity { margin-top: 1.5rem; }

.boutique-cart-wrapper #wishlist-btn { width: 100%; height: 52px; border: 1px solid #E8DFD5; background: #fff; color: #0D1F16; font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 1rem; }
.boutique-cart-wrapper #wishlist-btn:hover { background: #FAF8F5; }
.boutique-cart-wrapper #wishlist-btn svg { color: #9CA3AF; transition: color 0.3s; }
.boutique-cart-wrapper #wishlist-btn:hover svg { color: #B8907E; }

/* ============================================================
   DEBANKITA — ADDITIONAL FIXES (matching mockups)
   ============================================================ */

/* --- Cart: qty +/- buttons & hide number spinners --- */
.cart-qty-wrapper input[type="number"] {
    -moz-appearance: textfield;
    width: 2.5rem;
    text-align: center;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 13px;
    font-weight: 500;
    color: #0D1F16;
    outline: none;
}
.cart-qty-wrapper input[type="number"]::-webkit-inner-spin-button,
.cart-qty-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Cart: Proceed to Checkout button WooCommerce default override --- */
.woocommerce a.button.checkout-button,
.woocommerce .checkout-button {
    background-color: #0D1F16 !important;
    color: #F9F6F0 !important;
    border-radius: 0 !important;
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    padding: 1rem !important;
    transition: background 0.3s !important;
    margin-top: 0.5rem !important;
}
.woocommerce a.button.checkout-button:hover,
.woocommerce .checkout-button:hover {
    background-color: #1a382a !important;
}

/* --- Checkout: form-row side-by-side layout (matching mockup) --- */
.woocommerce-checkout #customer_details .woocommerce-checkout-fields__field-wrapper,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
}
.woocommerce-checkout .form-row-wide {
    grid-column: span 2;
}
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    grid-column: span 1;
}
@media (max-width: 640px) {
    .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: 1fr;
    }
    .woocommerce-checkout .form-row-wide,
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last {
        grid-column: span 1;
    }
}

/* Checkout form field styling — bordered box style matching mockup */
.woocommerce-checkout .form-row label,
.woocommerce-checkout .form-row .label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0D1F16;
    margin-bottom: 6px;
}
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container--default .select2-selection--single {
    width: 100% !important;
    border: 1px solid #E8DFD5 !important;
    border-bottom: 1px solid #E8DFD5 !important;
    border-radius: 0 !important;
    padding: 0.75rem 1rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    background: #fff !important;
    transition: border-color 0.3s !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
}
.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #C6A87C !important;
}
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select {
    border-color: #ef4444 !important;
}

/* Checkout: Continue to Payment button */
.woocommerce #payment #place_order,
.woocommerce-checkout #payment #place_order {
    background: #0D1F16 !important;
    color: #F9F6F0 !important;
    border-radius: 0 !important;
    font-size: 10px !important;
    letter-spacing: 0.25em !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 1rem 2rem !important;
    width: 100% !important;
    transition: background 0.3s !important;
}
.woocommerce-checkout #payment #place_order:hover { background: #1a382a !important; }

/* Checkout order review table */
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td { padding: 0.75rem 0; font-size: 13px; border-bottom: 1px solid #F3F0EB; }
.woocommerce-checkout-review-order-table thead th { font-weight: 600; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: #9CA3AF; }
.woocommerce-checkout-review-order-table .product-total { text-align: right; color: #0D1F16; font-weight: 500; }
.woocommerce-checkout-review-order-table .order-total td { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; font-weight: 700; color: #C6A87C; }
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .shipping th { font-weight: 400; color: #6B7280; }

/* Checkout product thumbnail in order review */
.woocommerce-checkout-review-order-table img { width: 60px; height: 75px; object-fit: cover; margin-right: 0.75rem; }

/* --- My Account: Clean form reset (removes duplicate nested border/padding) --- */
.woocommerce form.login,
.woocommerce form.register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* --- My Account: navigation sidebar --- */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation ul li { margin-bottom: 2px; }
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-size: 13px;
    font-weight: 500;
    color: #0D1F16;
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 2px;
}
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #FAF8F5;
    color: #C6A87C;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
    background: #FAF8F5;
    color: #C6A87C;
    font-weight: 600;
}

/* --- Orders table: status badges --- */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-status { white-space: nowrap; }

/* --- My Account address boxes --- */
.woocommerce-Address address { font-style: normal; }

/* --- Account page: form fields (edit account / edit address) --- */
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row,
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row { margin-bottom: 1.5rem; }
.woocommerce-MyAccount-content input.input-text,
.woocommerce-MyAccount-content select {
    width: 100%;
    border: 1px solid #E8DFD5;
    padding: 0.75rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    background: #fff;
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}
.woocommerce-MyAccount-content input.input-text:focus,
.woocommerce-MyAccount-content select:focus { border-color: #C6A87C; }

/* --- Shop page: filter sidebar accordion sections --- */
.debankita-filter-section { border-bottom: 1px solid #E8DFD5; }
.debankita-filter-section summary { 
    list-style: none; 
    cursor: pointer; 
    padding: 1rem 0; 
    font-size: 10px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 0.15em; 
    color: #0D1F16; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.debankita-filter-section summary::-webkit-details-marker { display: none; }
.debankita-filter-section[open] summary::after { content: '−'; }
.debankita-filter-section:not([open]) summary::after { content: '+'; }
.debankita-filter-section .filter-options { padding-bottom: 1rem; }
.debankita-filter-section .filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 12px;
    color: #4B5563;
    cursor: pointer;
    font-weight: 300;
}
.debankita-filter-section .filter-option input[type="checkbox"] { accent-color: #0D1F16; width: 13px; height: 13px; }
.debankita-filter-section .color-swatch {
    width: 18px; height: 18px; border-radius: 50%; border: 1px solid #E8DFD5; display: inline-block; flex-shrink: 0;
}

/* --- Single product: trust badges grid --- */
.product-trust-badges { border-top: 1px solid #E8DFD5; border-bottom: 1px solid #E8DFD5; }

/* --- Login / Register page --- */
#customer_login .woocommerce-form { margin: 0; }
#customer_login .woocommerce-error { margin-bottom: 1rem; }

/* Login/Register — Desktop: always show both cards side by side */
@media (min-width: 1024px) {
  #card-login,
  #card-register {
    display: flex !important;
  }
}

/* Login/Register — Mobile responsive fixes */
@media (max-width: 639px) {
  /* Reduce the decorative header banner padding on mobile */
  #customer_login ~ .max-w-\[1400px\]:first-of-type .relative.rounded-xl {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* Trust badges: 2-column on small mobile with tighter gap */
  #customer_login ~ div .grid.grid-cols-2.md\:grid-cols-4 {
    gap: 1rem 0.75rem;
  }
  
  /* Trust badge text sizes */
  #customer_login ~ div .grid.grid-cols-2.md\:grid-cols-4 .text-\[13px\] {
    font-size: 12px;
  }
  #customer_login ~ div .grid.grid-cols-2.md\:grid-cols-4 .text-\[11px\] {
    font-size: 10px;
  }

  /* Phone input country code badge - prevent shrink */
  #card-register .inline-flex.items-center {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Login/Register — Very small mobile fixes (320px) */
@media (max-width: 380px) {
  /* Stack Remember Me and Lost Password vertically */
  #card-login .flex.flex-col.xs\\:flex-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  
  /* Reduce card padding further on tiny screens */
  #card-login,
  #card-register {
    padding: 1.25rem !important;
  }
  
  /* Smaller headings on tiny screens */
  #card-login h2,
  #card-register h2 {
    font-size: 1.35rem !important;
  }
  
  /* Ensure form inputs don't overflow */
  #card-login input,
  #card-register input,
  #card-login button[type="submit"],
  #card-register button[type="submit"] {
    font-size: 12px !important;
  }
}

/* --- Global WooCommerce button reset --- */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    border-radius: 0;
    font-family: 'Outfit', sans-serif;
}

/* --- Product card: make overlay add-to-cart text match mockup --- */
.product-card .woocommerce-loop-product__link { text-decoration: none; }
.product-card .button.add_to_cart_button,
a.boutique-atc-btn,
.boutique-atc-btn {
    display: inline-block;
    background: #0D1F16;
    color: #F9F6F0 !important;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.65rem 1.5rem;
    border-radius: 0;
    border: none;
    transition: background 0.3s;
    white-space: nowrap;
    text-decoration: none !important;
    cursor: pointer;
}
.product-card .button.add_to_cart_button:hover,
a.boutique-atc-btn:hover,
.boutique-atc-btn:hover { background: #1a382a; }
/* Loading / added state */
.boutique-atc-btn.loading { opacity: 0.6; pointer-events: none; }
.boutique-atc-btn.added  { background: #1a382a; }

/* --- WC notices on account pages --- */
.woocommerce-MyAccount-content .woocommerce-Message,
.woocommerce-MyAccount-content .woocommerce-error,
.woocommerce-MyAccount-content .woocommerce-info {
    font-size: 13px;
}

/* --- Header top bar links --- */
#header .top-bar a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
#header .top-bar a:hover { color: #C6A87C; }

/* --- Cart shipping row text --- */
.woocommerce-shipping-totals td { text-align: right; font-size: 13px; }

/* hide WooCommerce default quantity arrows on single product too */
.woocommerce .quantity input[type=number]::-webkit-inner-spin-button,
.woocommerce .quantity input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
.woocommerce .quantity input[type=number] { -moz-appearance: textfield; }

/* --- Tailwind Safelist: Status badge colors (compiled at runtime via CDN) --- */
/* bg-green-50 text-green-700 border-green-200
   bg-blue-50 text-blue-700 border-blue-200
   bg-red-50 text-red-600 border-red-200
   bg-yellow-50 text-yellow-700 border-yellow-200
   bg-gray-100 text-gray-600 border-gray-200 */

/* ============================================================
   FINAL POLISH FIXES
   ============================================================ */

/* Cart + Account pages: remove double padding since page.php now adds pt-10 */
.is-cart-page #main-content,
.is-checkout-page #main-content,
.is-account-page #main-content {
    padding-top: 0;
}

/* WC proceed-to-checkout native button */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: #0D1F16 !important;
    color: #F9F6F0 !important;
    padding: 1rem 1.5rem !important;
    font-size: 10px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    border: none !important;
    transition: background 0.3s !important;
    text-decoration: none !important;
}
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background: #1a382a !important;
}

/* Hide WC default number spinners on qty fields */
.hide-spinners::-webkit-inner-spin-button,
.hide-spinners::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.hide-spinners { -moz-appearance: textfield; }

/* Cart subtotal/shipping text colours */
.cart-totals .shop_table th { font-weight: 400; color: #6B7280; }
.cart-totals .shop_table td { text-align: right; font-weight: 500; color: #0D1F16; }
.cart-totals .shipping td { color: #0D1F16; font-weight: 500; }

/* Account page: keep nav sidebar compact */
.woocommerce-MyAccount-navigation { min-width: 140px; }

/* Dashboard cards */
.woocommerce-MyAccount-content .dashboard-card { transition: all 0.2s; }

/* Checkout place order button full width */
#payment div.form-row { padding: 0 !important; margin-top: 1.5rem; }
#payment .woocommerce-checkout-payment { background: none !important; padding: 0 !important; }

/* Remove WC default account page padding */
.woocommerce-account .woocommerce { padding-top: 0; }

/* Fix WooCommerce cart update button visibility */
.woocommerce-cart .woocommerce-cart-form .actions .button[name="update_cart"][disabled] { opacity: 0.4; cursor: not-allowed; }

/* Shop page header fix — remove doubled title */
.woocommerce-products-header { display: none; }

/* Footer newsletter subscribe button */
#footer-newsletter-btn { cursor: pointer; }

/* Ensure footer features strip only shows on non-front-page */
.home .footer-features-strip { display: none; }

/* ============================================================
   FRONT PAGE — hide any plugin-injected titles / breadcrumbs
   that appear before the hero slider
   ============================================================ */
.home #main-content > h1:first-child,
.home #main-content > .wp-block-heading:first-child,
.home .woocommerce-breadcrumb,
.home .rank-math-breadcrumb,
.home .yoast-breadcrumb {
    display: none !important;
}

/* ============================================================
   RESPONSIVE BREADCRUMBS (Single Line, Vertically Centered)
   ============================================================ */
.site-breadcrumb,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0.45rem !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #6b7280 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0.25rem 0 !important;
    margin: 0 !important;
}
.site-breadcrumb::-webkit-scrollbar,
.woocommerce-breadcrumb::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.site-breadcrumb a,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    color: #6b7280 !important;
    text-decoration: none !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    transition: color 0.2s ease !important;
    flex-shrink: 0 !important;
}
.site-breadcrumb a:hover,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) a:hover {
    color: #B38048 !important;
}
.site-breadcrumb .breadcrumb-separator,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) .breadcrumb-separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9ca3af !important;
    font-size: 13px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    margin: 0 1px !important;
}
.site-breadcrumb .breadcrumb-current,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) .breadcrumb-current {
    display: inline-flex !important;
    align-items: center !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 640px) {
    .site-breadcrumb .breadcrumb-current,
    .woocommerce-breadcrumb:not(.woocommerce-review-order__meta) .breadcrumb-current {
        max-width: none !important;
    }
}
.site-breadcrumb svg,
.woocommerce-breadcrumb:not(.woocommerce-review-order__meta) svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
}

/* ============================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================ */

/* Mobile: Reduce animations for better performance */
@media (max-width: 768px) {
    .ken-burns {
        animation: none; /* Disable Ken Burns on mobile */
    }
    
    /* Faster transitions on mobile — exclude menu/drawer elements */
    *:not(#mobile-menu):not(#mobile-menu-overlay):not(#cart-drawer):not(#cart-drawer-overlay) {
        transition-duration: 0.2s !important;
    }
    
    /* Optimize font rendering on mobile */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Prevent layout shift on mobile — exclude branded logos */
    img:not(.footer-brand-logo):not(.drawer-brand-logo):not(#header-brand-logo) {
        height: auto;
        max-width: 100%;
    }
    
    /* Optimize touch targets for mobile */
    a, button, .button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Reduce blur effects on mobile for performance */
    .glass-panel,
    .glass-header {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

/* Mobile: Optimize images for smaller screens */
@media (max-width: 640px) {
    /* Reduce large images */
    .product-card img,
    .woocommerce-product-gallery__image img {
        max-height: 400px;
        object-fit: cover;
    }
    
    /* Optimize cart drawer on mobile */
    .widget_shopping_cart_content .cart_list li img {
        width: 50px;
        height: 65px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .ken-burns,
    .reveal-up {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* Mobile: Optimize scrolling performance */
.mobile-menu,
.cart-drawer,
.widget_shopping_cart_content {
    -webkit-overflow-scrolling: touch;
    will-change: transform;
}

/* Mobile: Prevent text size adjustment */
body {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Mobile: GPU acceleration for smooth animations — use will-change only, NOT transform.
   A transform declaration here would override Tailwind's -translate-x-full on the
   menu drawer, making it permanently visible. */
.header {
    will-change: transform;
}
#mobile-menu,
#mobile-menu-overlay {
    will-change: transform;
}

/* ============================================================
   MOBILE MENU — PREMIUM SMART MIDNIGHT BLUE THEME
   ============================================================ */

/* Gold shimmer accent strip at top of drawer */
#mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C6A87C 30%, #F0D080 60%, #C6A87C 100%);
    z-index: 10;
    pointer-events: none;
}

/* Ensure mobile-link inside dark drawer never inherits light colors */
#mobile-menu .mobile-link {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    padding: 1rem 0.25rem;
    border-bottom: 1px solid rgba(198, 168, 124, 0.12);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.25s ease, padding-left 0.25s ease, border-color 0.25s ease;
}
#mobile-menu .mobile-link:hover {
    color: #D4A953;
    padding-left: 0.75rem;
    border-color: rgba(212, 169, 83, 0.3);
}
#mobile-menu .mobile-link:last-child {
    border-bottom: none;
}

/* Mobile Submenu Accordion Styles */
#mobile-menu .mobile-submenu-btn {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    padding: 1rem 0.25rem;
    border: none;
    background: transparent;
    border-bottom: 1px solid rgba(198, 168, 124, 0.12);
    text-decoration: none;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.25s ease, padding-left 0.25s ease, border-color 0.25s ease;
}
#mobile-menu .mobile-submenu-btn:hover,
#mobile-menu .mobile-submenu-btn[aria-expanded="true"] {
    color: #D4A953;
    padding-left: 0.5rem;
    border-color: rgba(212, 169, 83, 0.3);
}
#mobile-menu .mobile-submenu-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-menu .mobile-submenu-icon.rotate-180 {
    transform: rotate(180deg) !important;
}
#mobile-menu .mobile-submenu-content {
    animation: fadeInSubmenu 0.25s ease-out;
}
@keyframes fadeInSubmenu {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
#mobile-menu .mobile-sublink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    font-family: inherit;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}
#mobile-menu .mobile-sublink:hover {
    background: rgba(198, 168, 124, 0.12);
    padding-left: 1rem;
}

/* ============================================================
   HERO SLIDER — FULL VIEWPORT HEIGHT ON MOBILE
   ============================================================ */
.hero-section-mobile {
  height: calc(100svh - 120px) !important;
  min-height: 520px !important;
  max-height: 680px !important;
}

.hero-section-mobile .hero-swiper,
.hero-section-mobile .swiper-wrapper,
.hero-section-mobile .swiper-slide,
.hero-section-mobile .hero-slide-mobile {
  height: 100% !important;
  min-height: 100% !important;
}

.hero-section-mobile picture {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.hero-section-mobile picture img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--focal-point, center top) !important;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-section-mobile {
    height: 620px !important;
    min-height: 620px !important;
    max-height: 620px !important;
  }
}

/* lg+ uses the h-[720px] from the HTML class, so reset mobile override */
@media (min-width: 1024px) {
  .hero-section-mobile {
    height: 720px !important;
    min-height: 720px !important;
    max-height: 720px !important;
  }
  .hero-section-mobile picture img {
    object-position: center 25% !important;
  }
}

/* ============================================================
   HERO BANNER — MOBILE OPTIMISATIONS
   ============================================================ */

/* On small screens, shrink the card padding & font size so title fits */
@media (max-width: 480px) {
    .hero-content {
        padding: 1.25rem !important;
        max-width: 92% !important;
    }
    /* Reduce hero title on very small screens */
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-content h3 {
        font-size: 8px !important;
        letter-spacing: 0.25em !important;
        margin-bottom: 0.5rem !important;
    }
    .hero-content p {
        font-size: 12px !important;
        margin-bottom: 1rem !important;
    }
    /* Make the hero image cover properly */
    .hero-img {
        object-position: center top !important;
    }
}

/* Prevent content card from being hidden under header on mobile */
@media (max-width: 768px) {
    .hero-content {
        margin-top: 0;
    }
    /* Hero CTA button touch-friendly */
    .hero-content a[href] {
        min-height: 44px;
    }
}




/* ============================================================
   SEARCH OVERLAY STYLES
   ============================================================ */
#search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 47, 37, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease;
}

#search-overlay.hidden {
  display: none !important;
  pointer-events: none !important;
}

#close-search-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  transition: color 0.3s ease;
}

#close-search-btn:hover {
  color: #C6A87C;
}

.search-overlay-content {
  width: min(600px, 90%);
}

.search-overlay-content .search-form {
  display: flex;
  border-bottom: 2px solid #C6A87C;
  padding-bottom: 10px;
  align-items: center;
}

.search-overlay-content input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  outline: none;
  padding: 5px 15px;
}

.search-overlay-content input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.search-overlay-content .search-submit {
  background: none;
  border: none;
  color: #C6A87C;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  padding: 0 15px;
  transition: color 0.3s ease;
}

.search-overlay-content .search-submit:hover {
  color: #fff;
}

/* ============================================================
   LUXURY HERO SWIPER STYLES
   ============================================================ */
.hero-swiper .swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  z-index: 25;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  border-radius: 9999px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 !important;
  cursor: pointer;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 28px;
  background: #C6A87C !important;
  box-shadow: 0 0 12px rgba(198, 168, 124, 0.6);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #FFFFFF !important;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  color: #C6A87C !important;
  transform: scale(1.08);
}

/* ============================================================
   MODERN LUXURY CART DRAWER STYLES
   ============================================================ */
#cart-drawer {
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.25) !important;
  will-change: transform;
  transform: translateX(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 99999 !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
}

#cart-drawer.translate-x-full {
  transform: translateX(100%) !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#cart-drawer-overlay {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  will-change: opacity;
  z-index: 99998 !important;
  transition: opacity 0.3s ease-in-out !important;
}

#cart-drawer-overlay:not(.hidden) {
  display: block !important;
}

#cart-drawer-overlay.opacity-100 {
  opacity: 1 !important;
}

#cart-drawer-overlay.opacity-0 {
  opacity: 0 !important;
}

.mini-cart-qty-btn {
  user-select: none;
  -webkit-user-select: none;
}

.mini-cart-qty-btn:active {
  transform: scale(0.92);
}

/* ============================================================
   BULLETPROOF HEADER BRAND LOGO CONSTRAINTS ACROSS ALL PAGES
   ============================================================ */
#header-brand-logo {
  height: 90px !important;
  max-height: 95px !important;
  width: auto !important;
  max-width: 320px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

@media (max-width: 1023px) {
  #header-brand-logo {
    height: 78px !important;
    max-height: 82px !important;
    max-width: 290px !important;
  }
}

@media (max-width: 767px) {
  #header-brand-logo {
    height: 76px !important;
    max-height: 80px !important;
    max-width: 285px !important;
  }
}

@media (max-width: 480px) {
  #header-brand-logo {
    height: 72px !important;
    max-height: 76px !important;
    max-width: 270px !important;
  }
}

@media (max-width: 360px) {
  #header-brand-logo {
    height: 64px !important;
    max-height: 68px !important;
    max-width: 240px !important;
  }
}

@media (max-width: 320px) {
  #header-brand-logo {
    height: 56px !important;
    max-height: 60px !important;
    max-width: 210px !important;
  }
}

/* ============================================================
   BULLETPROOF FOOTER BRAND LOGO CONSTRAINTS & CENTER ALIGN
   ============================================================ */
.footer-brand-logo {
  height: 96px !important;
  max-height: 104px !important;
  width: auto !important;
  max-width: 360px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

@media (max-width: 1023px) {
  .footer-brand-logo {
    height: 90px !important;
    max-height: 96px !important;
    max-width: 330px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 767px) {
  .footer-brand-logo {
    height: 86px !important;
    max-height: 92px !important;
    max-width: 310px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .footer-brand-logo {
    height: 80px !important;
    max-height: 86px !important;
    max-width: 290px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

@media (max-width: 360px) {
  .footer-brand-logo {
    height: 72px !important;
    max-height: 78px !important;
    max-width: 250px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
  }
}

/* ============================================================
   BULLETPROOF DRAWER BRAND LOGO CONSTRAINTS
   ============================================================ */
.drawer-brand-logo {
  height: 78px !important;
  max-height: 84px !important;
  width: auto !important;
  max-width: 260px !important;
  object-fit: contain !important;
  display: inline-block !important;
}

@media (max-width: 480px) {
  .drawer-brand-logo {
    height: 72px !important;
    max-height: 78px !important;
    max-width: 240px !important;
  }
}

@media (max-width: 360px) {
  .drawer-brand-logo {
    height: 64px !important;
    max-height: 70px !important;
    max-width: 220px !important;
  }
}

/* ============================================================
   MOBILE HEADER ICON ALIGNMENT & SEARCH BAR
   ============================================================ */
@media (max-width: 1023px) {
  #header-container {
    height: 88px !important;
    align-items: center !important;
  }
  #header-container .mobile-menu-wrapper {
    flex: 1 1 0% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  #header-container > .flex-1:last-child {
    align-items: center !important;
    gap: 12px !important;
  }
  #header-container > .flex-1:last-child > a:not(#header-wishlist-link),
  #header-container > .flex-1:last-child > button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
  }
  #header-wishlist-link {
    display: none !important;
  }
  @media (min-width: 640px) {
    #header-wishlist-link {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 6px !important;
    }
  }
  #header-container > .flex-1:last-child svg {
    width: 22px !important;
    height: 22px !important;
  }
  .cart-contents-count {
    top: -4px !important;
    right: -4px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 9px !important;
  }
}

@media (max-width: 639px) {
  #header-container {
    height: 74px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  #header-container > .flex-1:last-child {
    gap: 10px !important;
    flex-shrink: 0 !important;
  }
  #header-container > .flex-1:last-child > a {
    padding: 4px !important;
  }
  #header-container > .flex-1:last-child svg {
    width: 22px !important;
    height: 22px !important;
  }
  .cart-contents-count {
    top: -4px !important;
    right: -4px !important;
    width: 17px !important;
    height: 17px !important;
    font-size: 9.5px !important;
  }
}

@media (max-width: 360px) {
  #header-container {
    height: 68px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #header-container > .flex-shrink-0 {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  #header-container > .flex-1:last-child {
    gap: 8px !important;
  }
  #header-container > .flex-1:last-child svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Hide default search input cancel buttons */
.live-search-input::-webkit-search-cancel-button,
.live-search-input::-webkit-search-decoration,
.live-search-input::-webkit-search-results-button,
.live-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

/* Live Search Dropdown Luxury Styles */
.live-search-dropdown {
  box-shadow: 0 16px 36px -4px rgba(6, 41, 29, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  animation: liveSearchFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: #C6A87C #F7F4EE;
}

.live-search-dropdown::-webkit-scrollbar {
  width: 5px;
}
.live-search-dropdown::-webkit-scrollbar-track {
  background: #F7F4EE;
  border-radius: 4px;
}
.live-search-dropdown::-webkit-scrollbar-thumb {
  background: #C6A87C;
  border-radius: 4px;
}

@keyframes liveSearchFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.live-search-item.is-selected {
  background-color: #FAF7F2 !important;
  border-left-color: #C6A87C !important;
}

.live-search-item:active {
  background-color: #F5EFE6 !important;
}

/* Drawer Search & Menu Refinement */
#drawer-search-input {
  padding-left: 42px !important;
  padding-right: 36px !important;
  height: 44px !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  border-color: #E8DFD5 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#drawer-search-input:focus {
  border-color: #C6A87C !important;
  box-shadow: 0 0 0 3px rgba(198, 168, 124, 0.25) !important;
}

#drawer-search-results {
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
}

#drawer-search-results .live-search-item h4 {
  color: #111827 !important;
}

#drawer-search-results .live-search-item:hover h4 {
  color: #C6A87C !important;
}

/* Hide scrollbar in mobile drawer */
#mobile-menu .no-scrollbar,
#mobile-menu .overflow-y-auto {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#mobile-menu .no-scrollbar::-webkit-scrollbar,
#mobile-menu .overflow-y-auto::-webkit-scrollbar {
  display: none !important;
}

/* ============================================================
   SWIPER NAVIGATION ARROWS — BULLET-PROOF VISIBILITY
   ============================================================ */
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  background: rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  transition: all 0.3s ease !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: rgba(6,41,29,0.8) !important;
  border-color: #C6A87C !important;
}

.hero-swiper .swiper-button-prev:hover::after,
.hero-swiper .swiper-button-next:hover::after {
  color: #C6A87C !important;
}

@media (max-width: 767px) {
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    display: none !important;
  }
}

/* ============================================================
   NEW ARRIVALS — MOBILE SWIPER
   ============================================================ */
.new-arrivals-swiper {
  display: none;
}

@media (max-width: 767px) {
  .new-arrivals-grid-desktop {
    display: none !important;
  }
  .new-arrivals-swiper {
    display: block !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
  }
  .new-arrivals-swiper .swiper-pagination {
    bottom: 6px !important;
  }
  .new-arrivals-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #C6A87C;
    opacity: 0.4;
  }
  .new-arrivals-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
  }
}

/* ============================================================
   TESTIMONIALS — MOBILE SWIPER
   ============================================================ */
.testimonials-swiper {
  display: none;
}

@media (max-width: 767px) {
  .testimonials-grid-desktop {
    display: none !important;
  }
  .testimonials-swiper {
    display: block !important;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
  }
  .testimonials-swiper .swiper-pagination {
    bottom: 6px !important;
  }
  .testimonials-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #C6A87C;
    opacity: 0.4;
  }
  .testimonials-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 20px;
    border-radius: 10px;
  }
}

/* ============================================================
   GENERAL MOBILE RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 767px) {
  /* Feature strip: scrollable horizontally */
  .feature-strip-mobile {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
  }
  .feature-strip-mobile::-webkit-scrollbar {
    display: none;
  }
  .feature-strip-mobile > div {
    min-width: 200px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  /* Section headings — stack on mobile */
  .section-head-responsive {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Category cards — 3 columns minimum on mobile */
  .category-grid-mobile {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  /* Best sellers — ensure 2 cols */
  .bestseller-grid-mobile {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* Instagram grid — 3 cols on mobile */
  .insta-grid-responsive {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

