/**
 * Fadelux Child Theme — Main Stylesheet
 * Built on Hyvä (Tailwind CSS)
 * Design: Italian luxury editorial — near-black + warm ivory + gold accent
 *
 * Structure:
 *   1. Google Fonts import
 *   2. CSS Custom Properties (design tokens)
 *   3. Base / Reset overrides
 *   4. Typography
 *   5. Header
 *   6. Navigation
 *   7. Hero / Slider
 *   8. Category Banners
 *   9. Product Cards
 *  10. Product Detail Page
 *  11. Cart & Checkout
 *  12. Promotional Bar
 *  13. Trust Badges
 *  14. Footer
 *  15. Utilities & Animations
 */

/* ══════════════════════════════════════════════════════════════
   1. FONTS
══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ══════════════════════════════════════════════════════════════
   2. CSS CUSTOM PROPERTIES
══════════════════════════════════════════════════════════════ */
:root {
    /* Colors */
    --fl-black:   #0A0A0A;
    --fl-navy:    #1A1A2E;
    --fl-ivory:   #F5F0EB;
    --fl-sand:    #E8E0D5;
    --fl-gold:    #C8A97E;
    --fl-gold-dk: #A88A5C;
    --fl-muted:   #7A7060;
    --fl-border:  #D9D0C5;
    --fl-white:   #FEFCFA;
    --fl-error:   #C0392B;
    --fl-success: #27AE60;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    /* Transitions */
    --ease-fl: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing */
    --section-gap: clamp(3rem, 6vw, 6rem);

    /* Hyvä primary color overrides */
    --color-primary:         200 169 126;  /* fl-gold in RGB */
    --color-primary-lighter: 226 203 168;
    --color-primary-darker:  168 138  92;
    --color-secondary:        26  26  46;  /* fl-navy in RGB */
}

/* ══════════════════════════════════════════════════════════════
   3. BASE / RESET
══════════════════════════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--fl-ivory);
    color: var(--fl-black);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 250ms var(--ease-fl);
}

::selection {
    background-color: var(--fl-gold);
    color: var(--fl-black);
}

:focus-visible {
    outline: 2px solid var(--fl-gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   4. TYPOGRAPHY
══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--fl-black);
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--fl-muted);
    line-height: 1.7;
}

/* Section eyebrow label */
.fl-eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--fl-gold);
    display: block;
    margin-bottom: 0.75rem;
}

/* Section title */
.fl-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--fl-black);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   5. HEADER
   Target Hyvä's own block/container names — no template override.
   Hyvä's header DOM (default theme):
     <div id="header-wrapper"> (sticky wrapper, Alpine component)
       <header class="header content"> (inner content row)
         .logo          — logo block
         nav#store\.menu — navigation
         .minicart-wrapper, .block-search, .authorization-link
       </header>
     </div>
══════════════════════════════════════════════════════════════ */

/* ── Outer sticky wrapper ──────────────────────────────────── */
#header-wrapper,
.page-header {
    background-color: var(--fl-navy) !important;
    border-bottom: 1px solid rgba(200, 169, 126, 0.12);
    transition: box-shadow 300ms var(--ease-fl), background-color 300ms var(--ease-fl);
    position: sticky;
    top: 0;
    z-index: 60;
}

/* ── Inner header row ──────────────────────────────────────── */
.page-header .header.content,
#header-wrapper .header.content {
    display: flex;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
    min-height: 64px;
}

/* ── Logo ──────────────────────────────────────────────────── */
.page-header .logo img,
#header-wrapper .logo img {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 200ms ease;
}

.page-header .logo img:hover,
#header-wrapper .logo img:hover {
    opacity: 0.8;
}

/* ── All links and icon buttons inside header ──────────────── */
.page-header a,
.page-header button,
#header-wrapper a,
#header-wrapper button {
    color: var(--fl-ivory);
    transition: color 200ms ease;
}

.page-header a:hover,
.page-header button:hover,
#header-wrapper a:hover,
#header-wrapper button:hover {
    color: var(--fl-gold);
}

/* ── Keep nav text visible (overrides above for nav links) ─── */
.page-header nav a,
#header-wrapper nav a {
    color: var(--fl-ivory);
}

/* ── Search input ──────────────────────────────────────────── */
.page-header .block-search .input-text,
#header-wrapper .block-search .input-text {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--fl-ivory);
}

.page-header .block-search .input-text::placeholder {
    color: rgba(245, 240, 235, 0.45);
}

.page-header .block-search .input-text:focus,
#header-wrapper .block-search .input-text:focus {
    border-color: var(--fl-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

/* ── Cart badge ────────────────────────────────────────────── */
.page-header .counter.qty,
.page-header [data-block="minicart"] .counter,
#header-wrapper .counter.qty {
    background-color: var(--fl-gold) !important;
    color: var(--fl-black) !important;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    padding: 0 3px;
}

/* ── Promo bar (our injected block above header) ───────────── */
.fadelux-promo-bar {
    background-color: var(--fl-gold);
    color: var(--fl-black);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 0.5rem 1rem;
    line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   6. NAVIGATION
══════════════════════════════════════════════════════════════ */
/* Desktop nav
   Hyvä renders navigation as: nav#store\.menu (from Magento_Theme::html/header/menu.phtml)
   inside .page-header / #header-wrapper                                    */
nav#store\.menu,
.navigation,
.page-header nav {
    background-color: transparent;
}

nav#store\.menu ul,
.navigation ul {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav#store\.menu > ul > li > a,
.navigation > ul > li > a {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fl-ivory);
    padding: 1.25rem 1.125rem;
    display: inline-flex;
    align-items: center;
    transition: color 200ms ease;
    position: relative;
}

nav#store\.menu > ul > li > a::after,
.navigation > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.125rem;
    right: 1.125rem;
    height: 2px;
    background-color: var(--fl-gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 250ms var(--ease-fl);
}

nav#store\.menu > ul > li > a:hover::after,
nav#store\.menu > ul > li.active > a::after,
.navigation > ul > li > a:hover::after,
.navigation > ul > li.active > a::after {
    transform: scaleX(1);
}

nav#store\.menu > ul > li > a:hover,
.navigation > ul > li > a:hover {
    color: var(--fl-gold);
}

/* Dropdown submenu */
nav#store\.menu .submenu,
.navigation .submenu {
    background-color: var(--fl-white);
    border-top: 2px solid var(--fl-gold);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 48px rgba(10, 10, 10, 0.18);
    padding: 1.5rem 0;
    min-width: 220px;
    animation: fadeUp 0.25s var(--ease-fl) both;
}

nav#store\.menu .submenu a,
.navigation .submenu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--fl-black);
    padding: 0.5rem 1.5rem;
    display: block;
    transition: color 150ms ease, padding-left 150ms ease;
}

nav#store\.menu .submenu a:hover,
.navigation .submenu a:hover {
    color: var(--fl-gold);
    padding-left: 2rem;
}

/* Mobile nav */
@media (max-width: 1023px) {
    .mobile-menu-overlay {
        background-color: var(--fl-navy);
    }

    .mobile-menu-overlay a {
        color: var(--fl-ivory);
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.875rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
}

/* ══════════════════════════════════════════════════════════════
   7. HERO / SLIDER
══════════════════════════════════════════════════════════════ */
/* Full-bleed hero container */
.hero-slider,
.cms-home .slider-section,
[data-content-type="slider"],
.hyva-slider {
    position: relative;
    overflow: hidden;
    min-height: clamp(420px, 65vh, 760px);
    background-color: var(--fl-navy);
}

.hero-slider img,
[data-content-type="slide"] img,
.slider-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Cinematic gradient overlay — the editorial signature */
.hero-slider::after,
[data-content-type="slider"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.70) 0%,
        rgba(26, 26, 46, 0.45) 55%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Hero text overlay */
.hero-content,
.hero-text-overlay,
[data-content-type="slide-overlay"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 7vh, 7rem);
}

.hero-content .eyebrow {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fl-gold);
    margin-bottom: 1rem;
    animation: fadeUp 0.6s 0.2s var(--ease-fl) both;
}

.hero-content h1,
.hero-content .hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 6.5rem);
    font-weight: 600;
    color: var(--fl-white);
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin: 0 0 1.5rem;
    animation: fadeUp 0.7s 0.35s var(--ease-fl) both;
    /* Signature element: italic emphasis on second word */
}

.hero-content h1 em,
.hero-content .hero-title em {
    font-style: italic;
    color: var(--fl-gold);
}

.hero-content p,
.hero-content .hero-subtitle {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    color: rgba(245, 240, 235, 0.80);
    max-width: 42ch;
    margin: 0 0 2.25rem;
    animation: fadeUp 0.7s 0.5s var(--ease-fl) both;
}

/* Slider navigation dots */
.sliderDots,
.slider-dots {
    position: absolute;
    bottom: 1.75rem;
    right: 2rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
}

.sliderDots button,
.slider-dots button {
    width: 28px;
    height: 3px;
    background-color: rgba(255,255,255,0.3);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 250ms ease, width 250ms ease;
    padding: 0;
}

.sliderDots button.active,
.slider-dots button.active,
.sliderDots button[data-active="true"] {
    background-color: var(--fl-gold);
    width: 44px;
}

/* ══════════════════════════════════════════════════════════════
   8. CATEGORY BANNERS
══════════════════════════════════════════════════════════════ */
.category-grid,
.cms-home .category-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    padding: var(--section-gap) clamp(1rem, 4vw, 3rem);
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 3/4;
    background-color: var(--fl-sand);
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms var(--ease-fl);
}

.category-card:hover img {
    transform: scale(1.04);
}

.category-card-label {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.65) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem 1.5rem;
    z-index: 1;
}

.category-card-label h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--fl-white);
    margin: 0 0 0.375rem;
    letter-spacing: -0.01em;
}

.category-card-label span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fl-gold);
}

/* ══════════════════════════════════════════════════════════════
   9. PRODUCT CARDS
══════════════════════════════════════════════════════════════ */
/* Product grid */
.products-grid .product-items,
ol.product-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* Card shell */
.product-item,
.product-card {
    background-color: var(--fl-white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--fl-border);
    transition: box-shadow 300ms var(--ease-fl), transform 300ms var(--ease-fl);
    position: relative;
}

.product-item:hover,
.product-card:hover {
    box-shadow: 0 12px 40px rgba(10, 10, 10, 0.13);
    transform: translateY(-4px);
}

/* Product image wrapper */
.product-item .product-image-wrapper,
.product-card-image {
    position: relative;
    overflow: hidden;
    background-color: var(--fl-sand);
    aspect-ratio: 3/4;
}

.product-item .product-image-wrapper img,
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease-fl);
}

.product-item:hover .product-image-wrapper img,
.product-item:hover .product-card-image img {
    transform: scale(1.05);
}

/* Badge (NUOVO / -20%) */
.product-item .product-badge,
.new-label,
.sale-label,
[data-role="priceBox"] .discount-percent {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.625rem;
    border-radius: 2px;
}

.new-label,
.product-item .badge-new {
    background-color: var(--fl-navy);
    color: var(--fl-ivory);
}

.sale-label,
.product-item .badge-sale {
    background-color: var(--fl-gold);
    color: var(--fl-black);
}

/* Product info */
.product-item .product-item-details,
.product-card-body {
    padding: 1rem 1.125rem 1.25rem;
}

.product-item .product-item-name a,
.product-card-body h3 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fl-black);
    line-height: 1.3;
    display: block;
    margin-bottom: 0.375rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 200ms ease;
}

.product-item:hover .product-item-name a,
.product-card:hover .product-card-body h3 {
    color: var(--fl-gold-dk);
}

/* Brand name */
.product-item .product-brand,
.product-card-brand {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fl-muted);
    margin-bottom: 0.5rem;
    display: block;
}

/* Pricing */
.product-item .price-box,
.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 0.625rem;
}

.product-item .price,
.product-card-price .price-final {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--fl-black);
}

.product-item .old-price .price,
.product-card-price .price-old {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--fl-muted);
    text-decoration: line-through;
}

.product-item .special-price .price {
    color: var(--fl-gold-dk);
}

/* Wishlist button on card */
.product-item .towishlist,
.product-item [data-action="add-to-wishlist"] {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    background-color: rgba(254, 252, 250, 0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 200ms ease, background-color 200ms ease;
}

.product-item:hover .towishlist,
.product-item:hover [data-action="add-to-wishlist"] {
    opacity: 1;
}

.product-item .towishlist:hover {
    background-color: var(--fl-gold);
}

/* Add to Cart button on card */
.product-item .action.tocart,
.product-item .btn-add-to-cart {
    width: 100%;
    margin-top: 0.875rem;
    background-color: var(--fl-navy);
    color: var(--fl-ivory);
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.625rem 1rem;
    cursor: pointer;
    transition: background-color 250ms var(--ease-fl), color 250ms ease;
    display: block;
    text-align: center;
}

.product-item .action.tocart:hover {
    background-color: var(--fl-gold);
    color: var(--fl-black);
}

/* ══════════════════════════════════════════════════════════════
   10. PRODUCT DETAIL PAGE (PDP)
══════════════════════════════════════════════════════════════ */
.catalog-product-view .page-title-wrapper .page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--fl-black);
    margin-bottom: 0.375rem;
}

/* Brand above title */
.catalog-product-view .product-brand-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fl-gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* Price on PDP */
.catalog-product-view .price-box .price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--fl-black);
    font-family: var(--font-body);
}

.catalog-product-view .price-box .old-price .price {
    font-size: 1.125rem;
    color: var(--fl-muted);
    text-decoration: line-through;
    font-weight: 400;
}

/* Swatch options */
.swatch-attribute-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fl-black);
    margin-bottom: 0.625rem;
    display: block;
}

.swatch-option.text {
    min-width: 44px;
    height: 44px;
    border: 1.5px solid var(--fl-border);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 200ms ease, background-color 200ms ease;
    background-color: var(--fl-white);
    color: var(--fl-black);
    padding: 0 0.75rem;
}

.swatch-option.text:hover,
.swatch-option.text.selected {
    border-color: var(--fl-gold);
    background-color: var(--fl-gold);
    color: var(--fl-black);
}

/* Add to cart — PDP */
#product-addtocart-button,
button#product-addtocart-button {
    background-color: var(--fl-navy) !important;
    color: var(--fl-ivory) !important;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 250ms var(--ease-fl), color 250ms ease, box-shadow 250ms ease;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 220px;
    justify-content: center;
}

#product-addtocart-button:hover {
    background-color: var(--fl-gold) !important;
    color: var(--fl-black) !important;
    box-shadow: 0 6px 20px rgba(200, 169, 126, 0.4);
}

/* Tabs (Description, Reviews) */
.data.items > .item.title > a {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fl-muted);
    padding: 0.875rem 1.5rem;
    border-bottom: 2px solid transparent;
    transition: color 200ms ease, border-color 200ms ease;
    display: block;
}

.data.items > .item.title.active > a,
.data.items > .item.title > a:hover {
    color: var(--fl-black);
    border-bottom-color: var(--fl-gold);
}

/* ══════════════════════════════════════════════════════════════
   11. BUTTONS (GLOBAL)
══════════════════════════════════════════════════════════════ */
/* Primary CTA */
.btn-primary,
.action.primary,
button.primary,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--fl-navy);
    color: var(--fl-ivory);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.875rem 1.5rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 250ms var(--ease-fl), color 250ms ease, box-shadow 250ms ease;
    text-decoration: none;
    white-space: nowrap;
}


.btn-primary:hover,
.action.primary:hover {
    background-color: var(--fl-gold);
    color: var(--fl-black);
    box-shadow: 0 4px 20px rgba(200, 169, 126, 0.35);
}

/* Gold / outline CTA */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--fl-gold);
    border: 1.5px solid var(--fl-gold);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 250ms ease, color 250ms ease;
    text-decoration: none;
}

.btn-gold:hover {
    background-color: var(--fl-gold);
    color: var(--fl-black);
}

/* Ghost / secondary */
.btn-ghost {
    background-color: transparent;
    color: var(--fl-ivory);
    border: 1.5px solid rgba(245, 240, 235, 0.4);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 250ms ease, background-color 250ms ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: var(--fl-gold);
    background-color: rgba(200, 169, 126, 0.1);
}

/* ══════════════════════════════════════════════════════════════
   12. TRUST BADGES / USPs
══════════════════════════════════════════════════════════════ */
.usp-bar,
.trust-badges {
    background-color: var(--fl-sand);
    border-top: 1px solid var(--fl-border);
    border-bottom: 1px solid var(--fl-border);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.75rem clamp(1rem, 4vw, 4rem);
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    min-width: 180px;
}

.usp-item .usp-icon {
    width: 40px;
    height: 40px;
    background-color: var(--fl-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(10, 10, 10, 0.08);
}

.usp-item .usp-icon img,
.usp-item .usp-icon svg {
    width: 20px;
    height: 20px;
    filter: none;
}

.usp-item h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--fl-black);
    margin: 0 0 0.2rem;
    font-family: var(--font-body);
    letter-spacing: 0;
}

.usp-item p {
    font-size: 0.6875rem;
    color: var(--fl-muted);
    margin: 0;
    line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   13. SECTION WRAPPERS
══════════════════════════════════════════════════════════════ */
.section-products,
.cms-home .new-products-section,
.products-section {
    padding: var(--section-gap) clamp(1rem, 4vw, 3rem);
    background-color: var(--fl-ivory);
}

.section-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-header-row a.see-all {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fl-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    text-decoration: none;
    transition: gap 200ms ease;
}

.section-header-row a.see-all:hover {
    gap: 0.625rem;
}

/* Alternating section background */
.section-alt {
    background-color: var(--fl-sand);
}

/* ══════════════════════════════════════════════════════════════
   14. FORMS & INPUTS
══════════════════════════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
select,
textarea {
    background-color: var(--fl-white);
    border: 1.5px solid var(--fl-border);
    border-radius: 4px;
    color: var(--fl-black);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: var(--fl-gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.2);
    outline: none;
}

/* ══════════════════════════════════════════════════════════════
   15. FOOTER
══════════════════════════════════════════════════════════════ */
footer.page-footer,
.page-footer {
    background-color: var(--fl-navy);
    color: rgba(245, 240, 235, 0.75);
    font-size: 0.875rem;
}

.footer.content,
.footer-columns {
    padding: 4rem clamp(1.5rem, 5vw, 5rem) 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
}

/* Footer logo */
.page-footer .logo img,
.footer-brand img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    margin-bottom: 1.25rem;
}

/* Footer headings */
.page-footer h4,
.footer-col-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fl-gold);
    margin: 0 0 1rem;
}

/* Footer links */
.page-footer a,
.footer-links a {
    color: rgba(245, 240, 235, 0.65);
    font-size: 0.875rem;
    line-height: 2.2;
    display: block;
    transition: color 200ms ease;
}

.page-footer a:hover,
.footer-links a:hover {
    color: var(--fl-gold);
}

/* Footer divider */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem clamp(1.5rem, 5vw, 5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: rgba(245, 240, 235, 0.4);
}

.footer-bottom a {
    color: rgba(245, 240, 235, 0.4);
}

/* Newsletter in footer */
.footer-newsletter-form {
    display: flex;
    gap: 0;
    margin-top: 1.25rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.footer-newsletter-form input {
    background-color: transparent;
    border: none;
    color: var(--fl-ivory);
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    flex: 1;
    min-width: 0;
}

.footer-newsletter-form input::placeholder {
    color: rgba(245, 240, 235, 0.4);
}

.footer-newsletter-form input:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.footer-newsletter-form button {
    background-color: var(--fl-gold);
    color: var(--fl-black);
    border: none;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    flex-shrink: 0;
    transition: background-color 200ms ease;
}

.footer-newsletter-form button:hover {
    background-color: var(--fl-gold-dk);
}

/* ══════════════════════════════════════════════════════════════
   16. BREADCRUMBS
══════════════════════════════════════════════════════════════ */
.breadcrumbs {
    padding: 0.875rem clamp(1rem, 4vw, 3rem);
    border-bottom: 1px solid var(--fl-border);
    background-color: var(--fl-ivory);
}

.breadcrumbs .items {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
    color: var(--fl-muted);
}

.breadcrumbs .item a {
    color: var(--fl-muted);
    transition: color 150ms ease;
}

.breadcrumbs .item a:hover {
    color: var(--fl-gold);
}

.breadcrumbs .item + .item::before {
    content: '/';
    color: var(--fl-border);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   17. MESSAGES / ALERTS
══════════════════════════════════════════════════════════════ */
.messages .message,
div.message {
    padding: 0.875rem 1.25rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.messages .message-success,
div.message-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #1A7A4A;
    border-left: 3px solid #27AE60;
}

.messages .message-error,
div.message-error {
    background-color: rgba(192, 57, 43, 0.08);
    color: #C0392B;
    border-left: 3px solid #C0392B;
}

.messages .message-notice,
div.message-notice {
    background-color: rgba(200, 169, 126, 0.12);
    color: var(--fl-gold-dk);
    border-left: 3px solid var(--fl-gold);
}

/* ══════════════════════════════════════════════════════════════
   18. CART SIDEBAR / MINICART
══════════════════════════════════════════════════════════════ */
#minicart-content-wrapper,
.block-minicart {
    border: none;
    border-radius: 0;
    box-shadow: -8px 0 48px rgba(10, 10, 10, 0.18);
}

.block-minicart .block-title {
    background-color: var(--fl-navy);
    color: var(--fl-ivory);
    font-family: var(--font-display);
    font-size: 1.25rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.minicart-items .product-item-name a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fl-black);
}

.minicart-items .price {
    font-weight: 700;
    color: var(--fl-black);
}

/* ══════════════════════════════════════════════════════════════
   19. PAGINATION
══════════════════════════════════════════════════════════════ */
.pages .action,
.pages .page {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--fl-border);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--fl-black);
    transition: all 200ms ease;
    text-decoration: none;
}

.pages .action:hover,
.pages .page:hover {
    border-color: var(--fl-gold);
    color: var(--fl-gold);
}

.pages .current .page {
    background-color: var(--fl-navy);
    border-color: var(--fl-navy);
    color: var(--fl-ivory);
}

/* ══════════════════════════════════════════════════════════════
   20. LAYERED NAVIGATION / FILTERS
══════════════════════════════════════════════════════════════ */
.filter-title strong {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fl-black);
}

.filter-options-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fl-black);
    padding: 0.875rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filter-options-item .item a,
.filter-options-item .item span {
    font-size: 0.875rem;
    color: var(--fl-muted);
    transition: color 150ms ease;
}

.filter-options-item .item a:hover {
    color: var(--fl-gold);
}

/* ══════════════════════════════════════════════════════════════
   21. ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(24px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ══════════════════════════════════════════════════════════════
   22. RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .hero-slider,
    [data-content-type="slider"] {
        min-height: 70vw;
    }

    .usp-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.5rem 1.25rem;
    }

    .products-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

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

@media (max-width: 480px) {
    .products-grid .product-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   23. PRINT
══════════════════════════════════════════════════════════════ */
@media print {
    header, footer, nav, .sidebar { display: none !important; }
    body { background: white; color: black; }
    a::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}



section.hero-slider .pointer-events-auto a {    margin-right: 10px;}
section.hero-slider .pointer-events-auto a svg {    height: 16px;    width: auto;}

.navigation ul li ul { display: block; }
.navigation ul li ul li a {
    color: #000 !important;
    font-size: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.actions-secondary a.action.tocompare {
    display: none;
}
span.price-label {
    letter-spacing: normal;
    font-size: 14px;
}
.product-item .towishlist, .product-item [data-action="add-to-wishlist"] {
    background: url(./images/heart.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
    font-size: 0;
}
.bg-cover.bg-center {
    min-height: 180px;
}
.brands-wrapper div {
    background-color: #fff !important;
}
.brands-wrapper .section-title {
    text-align: center;
    padding-top: 30px;
    font-family: 'Playfair Display';
    font-size: 30px;
}
footer.page-footer .bg-primary svg {
    height: 18px;
    width: auto;
}

.filter-option.card ol.items li.item {
    display: flex;
    gap: 5px;
    font-size: 14px;
    padding: 4px 0;
}
.filter-option.card ol.items li.item a {
    padding: 0;
    line-height: normal;
}
.filter-option.card .filter-options-content {
    padding-bottom: 20px;
}
.ln_slider_container {
    width: 92%;
}
.products.wrapper.mode-list.products-list article.product-item.group {    flex-direction: row !important;}
.products.wrapper.mode-list.products-list article.product-item.group  .product_image_section {    width: 350px;}
.products.wrapper.mode-list.products-list article.product-item.group button {    width: auto !important;}

.product_image_section img {
    object-fit: contain !important;
    max-width: 95%;
    max-height: 95%;
    display: block !important;
    margin: 0 auto;
}
.product_image_section {
    aspect-ratio: 1/ 1 !important;
    background-color: #fff !important;
}
select.form-select.sorter-options {
    padding-right: 40px;
}
form#product_addtocart_form h2 {
    font-size: 21px;
}
.brand img.brand {
    max-height: 80px;
}
section#description h2 ,
section#custom\.tab h2 {
    font-size: 33px;
}
section#custom\.tab h2.sizechart-name {
    font-size: 25px;
    margin-bottom: 10px;
}
#header, .section-header {
    background-color: var(--fl-navy);
    border: 0px;
}
.filter-option.card {
    padding: 0 15px;
}
a.header_logo img {
    filter: invert(1);
}
.page-header nav[aria-labelledby="customer-menu"] {
    background-color: #fff;
}
.page-header nav[aria-labelledby="customer-menu"] a {
    color: #000;
}
@media (max-width: 767px) {
    .sm\:order-1.lg\:order-0.w-full.pb-2.sm\:w-auto.sm\:pb-0 {
    width: 140px;
    padding: 0;
}
.cms-index-index .columns {    padding-left: 0;    padding-right: 0;}
.cms-index-index main#maincontent {    margin-top: 0;}
section.hero-slider .pointer-events-auto a {
    margin-bottom: 10px;
}
.product-image-container {
    width: 100% !important;
    aspect-ratio: 1/1;
}
.product-item .price-box, .product-card-price {
    flex-direction: column;
    line-height: normal;
}
.product-item .action.tocart, .product-item .btn-add-to-cart   {
    letter-spacing: normal !important;
    padding: 10px 7px!important;
    font-size: 9px!important;
}
.product-item .product-item-details, .product-card-body {
    padding: 10px 10px;
}
 
.brands-wrapper img {
    max-height: 45px;
}
.brands-wrapper div {
    gap: 20px !important;
}
.footer-col-mains {
    display: block !important;
    padding: 40px 0 !important;
}
.footer-col-mains p {
    max-width: 100% !important;
}
.footer-col-mains h4 {
    margin-top: 40px !important;
}
.footer-col-mains .flex.items-start {
    gap: 5px;
}
.footer.content {
    padding-bottom: 0;
    padding-top: 30px;
}
form.footer-newsletter-form {
    min-width: 100% !important;
    margin: 0 !important;
}
.block.widget.block-products-list.grid {
    display: inline-block;
    width: 100%;
}
#header dialog.size-full {
    background-color: #1a1a2e;
}
#header dialog.size-full ul, #header dialog.size-full ul button {
    background-color: #1a1a2e;
}
.product-detail-value {
    display: inline-block;
    white-space: normal;
    word-wrap: break-word;
    font-size: 13px;
}
.items-end {
    align-items: flex-start;
    line-height: normal;
}
#product-addtocart-button, button#product-addtocart-button {
    min-width: 190px;
}
.breadcrumbs .container {
    padding: 0;
}
dialog#cart-drawer strong {
    line-height: normal !important;
    display: block;
}
}
@media (min-width: 1199px) and (max-width: 1540px) {
    .btn-primary, .action.primary, button.primary, input[type="submit"] {
    padding: 0.6rem 10px;
    letter-spacing: 1px;
}
form.item.product {
    padding: 11px;
}
.swatch-option {
    min-width: 32px;
    padding: 2px 0;
    font-size: 14px;
    margin: 0 4px 0 0;
}
}
.block.widget.grid .block-title {
    display: none;
}
:is([type=checkbox],.form-checkbox):checked {
    border-color: #000;
    background-color: #000;
}
.filter-option.card ol.items li.item {
    position: relative;
}
.filter-option.card ol.items li.item input.layer-input-filter {
    position: absolute;
    left: 0;
    top: 3px;
}
.filter-option.card ol.items li.item a {
    padding-left: 25px;
}
