/*
Theme Name: W Cellar
Theme URI: https://wcellar.co.kr
Author: W Cellar Dev
Description: Unapologetic Luxury, Minimalist Chic.
Version: 1.5.1
Text Domain: wcellar
*/

/* ==========================================================================
   1. GLOBAL LAYOUT & GRID SYSTEM
   12-column grid, Sidebar (3) : Product Grid (9), 40px gutter
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - White Background */
    --color-bg: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-muted: rgba(26, 26, 26, 0.6);
    --color-accent: #9b0047;
    /* --color-accent: #800020; */
    /* Burgundy */
    --color-border: #e5e5e5;
    --color-border-dark: #d0d0d0;

    /* Layout */
    --header-height: 100px;

    /* Grid System */
    --grid-columns: 12;
    --grid-gutter: 24px;
    --grid-max-width: 1600px;
    --grid-margin: 60px;

    /* Spacing Scale (Vertical Rhythm) */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 1);
    /* 8px */
    --space-sm: calc(var(--space-unit) * 2);
    /* 16px */
    --space-md: calc(var(--space-unit) * 3);
    /* 24px */
    --space-lg: calc(var(--space-unit) * 5);
    /* 40px */
    --space-xl: calc(var(--space-unit) * 8);
    /* 64px */
    --space-xxl: calc(var(--space-unit) * 12);
    /* 96px */

    /* Typography */
    --font-primary: 'Pretendard', 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;

    /* Modular Scale (Major Third - 1.25) */
    --text-xs: 0.8rem;
    /* 12px */
    --text-sm: 0.9375rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-md: 1.25rem;
    /* 20px */
    --text-lg: 1.5625rem;
    /* 25px */
    --text-xl: 1.953rem;
    /* ~31px */
    --text-2xl: 2.441rem;
    /* ~39px */
    --text-3xl: 3.052rem;
    /* ~49px */

    /* Font Weights */
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-bold: 700;

    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.1em;
    --tracking-wider: 0.15em;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.3;
    --leading-normal: 1.6;
    --leading-relaxed: 1.8;

    /* Motion */
    --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s var(--ease-luxury);
    --transition-base: 0.3s var(--ease-luxury);
    --transition-slow: 0.6s var(--ease-luxury);

    --logo-height: 90px;
    --logo-height-sm: 70px;
}

/* --------------------------------------------------------------------------
   Global Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    line-height: var(--leading-normal);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

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

/* --------------------------------------------------------------------------
   12-Column Grid Container
   -------------------------------------------------------------------------- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(var(--grid-columns), 1fr);
    gap: var(--grid-gutter);
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

/* --------------------------------------------------------------------------
   Default Page Layout
   -------------------------------------------------------------------------- */
.site-main>.container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-xxl) var(--grid-margin);
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Product Listing Page Layout
   Sidebar (3 columns) : Product Grid (9 columns)
   -------------------------------------------------------------------------- */
.plp-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--grid-gutter);
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--grid-margin);
    min-height: 100vh;
}

/* Filter Sidebar - Spans 3 of 12 columns */
.filter-sidebar {
    grid-column: span 3;
    position: sticky;
    top: calc(var(--space-xl) + 80px);
    width: 18rem;
    height: fit-content;
    align-self: start;
    padding-right: var(--space-lg);
}

/* Product Grid Area - Spans 9 of 12 columns */
.product-grid-area {
    grid-column: span 9;
    padding-bottom: var(--space-xl);
}

/* Product Grid - 3 columns within the 9-column area */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--grid-gutter) * 1.5) var(--grid-gutter);
    align-items: stretch;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    :root {
        --grid-margin: 40px;
        --grid-gutter: 32px;
    }

    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .plp-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .filter-sidebar {
        grid-column: 1;
        position: relative;
        top: 0;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: var(--space-lg);
    }

    .product-grid-area {
        grid-column: 1;
        padding-left: 0;
    }

    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    :root {
        --grid-margin: 20px;
        --grid-gutter: 24px;
    }

    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 425px) {

    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   2. TYPOGRAPHIC HIERARCHY
   Modular Scale: 1.25 (Major Third)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Headings - Uppercase, Bold, Wide Letter-spacing
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-primary);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-tight);
    color: var(--color-text);
    margin: 0;
}

h1,
.h1 {
    font-size: var(--text-2xl);
    letter-spacing: 0.12em;
    margin-bottom: var(--space-lg);
}

h2,
.h2 {
    font-size: var(--text-xl);
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-md);
}

h3,
.h3 {
    font-size: var(--text-lg);
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-sm);
}

h4,
.h4 {
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Body Text
   -------------------------------------------------------------------------- */
p {
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
    word-break: keep-all;
}

.text-lead {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.text-small,
small {
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.page-template-default *+h2.wp-block-heading {
    border-top: 1px solid #ddd;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
}

.page-template-default *+h3.wp-block-heading {
    margin-top: var(--space-lg);
    font-size: var(--text-md)
}

/* --------------------------------------------------------------------------
   Product Card Typography
   -------------------------------------------------------------------------- */
.product-brand {
    font-size: var(--text-xs);
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: calc(var(--space-xs) / 2);
    font-weight: 300;
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: color var(--transition-base);
}

.product-brand:hover {
    color: var(--color-accent);
}

.product-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: var(--leading-snug);
    color: var(--color-text);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-xs);
    transition: color var(--transition-base);
    word-break: keep-all;
}

.product-name:hover {
    color: var(--color-accent);
}

.product-vivino-rating {
    display: flex;
    align-items: center;
    font-size: var(--text-xs);
    color: var(--color-accent);
}

.product-vivino-rating svg {
    flex-shrink: 0;
    margin-left: 1px;
    margin-right: 1px;
    fill: var(--color-accent);
}

.product-vivino-rating::before {
    content: "비비노 ";
}

.product-vintage {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.25rem;
}

.product-price-wrapper .divider {
    padding-left: 5px;
    padding-right: 5px;
    font-weight: 100;
}

.product-price {
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text);
}

.product-price del {
    color: rgba(26, 26, 26, 0.4);
    margin-right: var(--space-xs);
}

.product-price ins {
    text-decoration: none;
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Sort & Filter Typography
   -------------------------------------------------------------------------- */
.noir-sort {
    font-size: var(--text-xs);
    font-weight: var(--weight-normal);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.noir-sort strong,
.noir-sort .sort-value {
    font-weight: var(--weight-medium);
    color: var(--color-text);
}

.woocommerce-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-text);
    margin-bottom: var(--space-lg);
}

.woocommerce-result-count {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* --------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */
a {
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-accent);
}

.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width var(--transition-base);
}

.link-underline:hover::after {
    width: 100%;
}


/* ==========================================================================
   3. UI AFFORDANCE & INTERACTIVE STATES
   Filter styling: Default → Hover → Active
   ========================================================================== */

/* --------------------------------------------------------------------------
   Filter Group Structure - Accordion Style
   -------------------------------------------------------------------------- */
.filter-group {
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.filter-group:last-of-type {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   Filter Group Header - Clickable Accordion Toggle
   -------------------------------------------------------------------------- */
.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.filter-group-header:hover {
    opacity: 0.7;
}

.filter-group-title {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin: 0;
}

.filter-group-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.filter-group.is-expanded .filter-group-icon {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Filter Group Content - Collapsible Area
   -------------------------------------------------------------------------- */
.filter-group-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.filter-group.is-expanded .filter-group-content {
    grid-template-rows: 1fr;
}

.filter-group-content>.filter-checklist {
    min-height: 0;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
}

.filter-group.is-expanded .filter-group-content>.filter-checklist {
    padding-bottom: var(--space-md);
}

/* --------------------------------------------------------------------------
   Filter Option - DEFAULT State
   Elegant, minimal design with subtle interactions
   -------------------------------------------------------------------------- */
.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 13px;
    font-weight: var(--weight-normal);
    color: var(--color-text-muted);
    cursor: pointer;
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.25s var(--ease-luxury);
}

.filter-option .count {
    font-size: 10px;
    font-weight: var(--weight-medium);
    color: rgba(26, 26, 26, 0.35);
    background: rgba(26, 26, 26, 0.04);
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    transition: all 0.25s var(--ease-luxury);
}

/* Active indicator bar */
.filter-option::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: height 0.25s var(--ease-luxury);
}

/* --------------------------------------------------------------------------
   Filter Option - HOVER State
   Refined color shift with indicator
   -------------------------------------------------------------------------- */
.filter-option:hover {
    color: var(--color-text);
}

.filter-option:hover .count {
    color: var(--color-text-muted);
    background: rgba(26, 26, 26, 0.08);
}

.filter-option:hover::before {
    height: 12px;
    background-color: var(--color-border);
}

/* --------------------------------------------------------------------------
   Filter Option - ACTIVE/SELECTED State
   Burgundy accent with strong visual hierarchy
   -------------------------------------------------------------------------- */
.filter-option.active,
.filter-option.selected,
.filter-option[aria-selected="true"] {
    color: var(--color-accent);
    font-weight: var(--weight-medium);
}

.filter-option.active::before,
.filter-option.selected::before,
.filter-option[aria-selected="true"]::before {
    height: 16px;
    background-color: var(--color-accent);
}

.filter-option.active .count,
.filter-option.selected .count {
    color: #fff;
    background-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Focus State (Accessibility)
   -------------------------------------------------------------------------- */
.filter-option:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Region Archive Page
   -------------------------------------------------------------------------- */
.region-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.region-title {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: var(--weight-normal);
    letter-spacing: var(--tracking-tight);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.region-title .country-flag {
    width: 20px;
    height: 20px;
}

.region-separator {
    color: var(--color-text-muted);
    margin: 0 2px;
}

.region-header .product-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

/* Brand (Winery) Header */
.brand-header {
    margin-bottom: var(--space-xl);
}

.brand-header-content {
    max-width: 800px;
}

.brand-title {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: var(--weight-normal);
    letter-spacing: var(--tracking-tight);
    margin: 0 0 var(--space-md) 0;
}

.brand-description {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.brand-description p {
    margin: 0 0 0.5em 0;
}

.brand-description p:last-child {
    margin-bottom: 0;
}

.brand-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.brand-region {
    display: flex;
    align-items: center;
    gap: 4px;
}

.brand-region a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.brand-region a:hover {
    color: var(--color-accent);
}

.brand-region .country-flag {
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.brand-region .region-separator {
    color: var(--color-border);
    margin: 0 2px;
}

.brand-website a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.brand-website a:hover {
    color: var(--color-accent);
}

.brand-website svg {
    flex-shrink: 0;
}

.brand-meta .product-count {
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   PLP Banner
   -------------------------------------------------------------------------- */
.plp-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.plp-banner--height-small {
    min-height: 150px;
}

.plp-banner--height-medium {
    min-height: 250px;
}

.plp-banner--height-large {
    min-height: 350px;
}

.plp-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    pointer-events: none;
}

.plp-banner__content {
    position: relative;
    z-index: 1;
    padding: var(--space-xl) var(--space-lg);
    max-width: var(--container-max);
    width: 100%;
}

.plp-banner--align-left .plp-banner__content {
    text-align: left;
}

.plp-banner--align-center .plp-banner__content {
    text-align: center;
}

.plp-banner--align-right .plp-banner__content {
    text-align: right;
}

.plp-banner__heading {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: var(--weight-normal);
    letter-spacing: var(--tracking-tight);
    margin: 0;
    line-height: 1.2;
    color: #fff;
}

.plp-banner__description {
    font-size: var(--text-base);
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    opacity: 0.9;
}

.plp-banner--align-center .plp-banner__description {
    margin-left: auto;
    margin-right: auto;
}

.plp-banner--align-right .plp-banner__description {
    margin-left: auto;
}

.plp-banner--text-light {
    color: #fff;
}

.plp-banner--text-dark {
    color: var(--color-text);
}

/* Responsive */
@media (max-width: 900px) {
    .plp-banner--height-small {
        min-height: 120px;
    }

    .plp-banner--height-medium {
        min-height: 180px;
    }

    .plp-banner--height-large {
        min-height: 250px;
    }

    .plp-banner__heading {
        font-size: var(--text-2xl);
    }

    .plp-banner__description {
        font-size: var(--text-sm);
    }
}

/* --------------------------------------------------------------------------
   PLP Header (Breadcrumb + Sort)
   -------------------------------------------------------------------------- */
.plp-header {
    border-bottom: 1px solid var(--color-border);
    background: #222;
}

.plp-breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    max-width: var(--grid-max-width);
    width: 100%;
    margin: 0 auto;
    padding: var(--space-xs) var(--grid-margin);
}

.plp-breadcrumb {
    width: 100%;
    margin: 0 auto;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: #aaa;
}

.plp-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color var(--transition-base);
}

.plp-breadcrumb a:hover {
    color: var(--color-accent);
}

.plp-breadcrumb .separator {
    color: #aaa;
    font-weight: 300;
}

.plp-breadcrumb .current {
    color: var(--color-text);
    font-weight: var(--weight-medium);
}

.plp-sort {
    position: relative;
    flex-shrink: 0;
}

.plp-sort-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base);
}

.plp-sort-toggle:hover,
.plp-sort-toggle:focus {
    color: #ccc;
    outline: none;
}

.plp-sort-toggle[aria-expanded="true"] {
    color: #fff;
}

.plp-sort-arrow {
    transition: transform 0.2s ease;
}

.plp-sort-toggle[aria-expanded="true"] .plp-sort-arrow {
    transform: rotate(180deg);
}

.plp-sort-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    padding: 8px 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    z-index: 100;
}

.plp-sort.is-open .plp-sort-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.plp-sort-option {
    display: block;
    width: 100%;
    padding: 8px 16px;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    color: var(--color-text-muted);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.plp-sort-option:hover {
    color: var(--color-text);
    background: var(--color-bg-alt, #f9f9f9);
}

.plp-sort-option.is-active {
    color: var(--color-text);
    font-weight: var(--weight-medium);
}

/* Responsive */
@media (max-width: 600px) {
    .plp-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .plp-breadcrumb {
        font-size: 11px;
    }

    .plp-header-actions {
        align-self: flex-end;
    }

    .plp-sort-dropdown {
        min-width: 120px;
    }
}

/* --------------------------------------------------------------------------
   Filter Sidebar - Navigation Links
   -------------------------------------------------------------------------- */
.filter-sidebar .filter-option {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-muted);
    padding: 8px 0;
    padding-left: 0;
    margin-left: 16px;
    transition: all 0.25s var(--ease-luxury);
}

.filter-sidebar a.filter-option:hover {
    color: var(--color-text);
}

.filter-sidebar a.filter-option.active {
    color: var(--color-accent);
    font-weight: var(--weight-medium);
}

/* --------------------------------------------------------------------------
   Filter Subgroup - Hierarchical Navigation
   -------------------------------------------------------------------------- */
.filter-subgroup {
    margin-left: 16px;
    padding-left: 12px;
    border-left: 2px solid var(--color-border);
    margin-top: 4px;
}

.filter-subgroup .filter-option {
    padding: 6px 0;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: 0;
}

.filter-subgroup .filter-option::before {
    display: none;
}

.filter-subgroup .filter-option:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

/* --------------------------------------------------------------------------
   Country Flag in Filters
   -------------------------------------------------------------------------- */
.filter-option .country-flag {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   Checkbox Filter Styles
   -------------------------------------------------------------------------- */
.filter-checklist {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.2s var(--ease-luxury);
    background: transparent;
}

.filter-checkbox:hover {
    background: var(--color-bg-subtle, #f8f8f8);
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.filter-checkbox .checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 0;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s var(--ease-luxury);
    background: #fff;
}

.filter-checkbox:hover .checkbox-custom {
    border-color: var(--color-text-muted);
}

.filter-checkbox input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.filter-checkbox input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-checkbox .filter-label {
    flex: 1;
    font-size: 14px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-checkbox .filter-label .country-flag {
    width: 12px;
    height: 12px;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.filter-checkbox .count {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-right: .5rem;
}

.filter-checkbox.checked .count {
    color: var(--color-accent);
}

/* Scrollable vintage list */
.filter-checklist-scroll {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-checklist-scroll::-webkit-scrollbar {
    width: 4px;
}

.filter-checklist-scroll::-webkit-scrollbar-track {
    background: var(--color-bg-subtle, #f5f5f5);
    border-radius: 2px;
}

.filter-checklist-scroll::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
}

.filter-checklist-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* Region Tree Structure */
.filter-tree {
    position: relative;
}

.filter-tree-item {
    position: relative;
}

.filter-tree-item.level-1 {
    padding-left: 20px;
}

.filter-tree-item.level-2 {
    padding-left: 20px;
}

.filter-tree-item.level-3 {
    padding-left: 20px;
}

.filter-tree-toggle {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: transform 0.2s var(--ease-luxury), color 0.2s;
    z-index: 1;
}

.filter-tree-toggle:hover {
    color: var(--color-text);
}

.filter-tree-toggle svg {
    transition: transform 0.2s var(--ease-luxury);
}

.filter-tree-item.expanded>.filter-checkbox>.filter-label>.filter-tree-toggle svg {
    transform: rotate(180deg);
}

.filter-tree-children {
    display: none;
    margin-top: 2px;
}

.filter-tree-item.expanded>.filter-tree-children {
    display: block;
}

/* Adjust checkbox position when toggle is present */
.filter-tree-item.has-children>.filter-checkbox {}

.filter-tree-item.level-1 .filter-tree-toggle {
    left: -2px;
}

.filter-tree-item.level-2 .filter-tree-toggle {
    left: -2px;
}

/* Filter Actions */
.filter-actions {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    transition: all 0.2s var(--ease-luxury);
}

.filter-reset:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.filter-reset::before {
    content: '×';
    font-size: 16px;
    font-weight: 300;
}

/* --------------------------------------------------------------------------
   Clear Filters
   -------------------------------------------------------------------------- */
.filter-clear {
    display: inline-block;
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-border);
    cursor: pointer;
    transition: color var(--transition-base);
}

.filter-clear:hover {
    color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Applied Filter Tags
   -------------------------------------------------------------------------- */
.applied-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition:
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.filter-tag:hover {
    border-color: var(--color-accent);
    background-color: rgba(128, 0, 32, 0.05);
}

.filter-tag-remove {
    font-size: var(--text-base);
    line-height: 1;
    opacity: 0.5;
    transition: opacity var(--transition-base);
}

.filter-tag:hover .filter-tag-remove {
    opacity: 1;
}


/* ==========================================================================
   4. IMAGE CONSISTENCY
   3:4 Aspect Ratio, Bottom-aligned, Full color
   ========================================================================== */

/* --------------------------------------------------------------------------
   Product Card Structure
   -------------------------------------------------------------------------- */
.product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Prevent grid blowout */
}

/* --------------------------------------------------------------------------
   Product Image Container - Fixed aspect ratio
   -------------------------------------------------------------------------- */
.product-card-image {
    display: block;
    position: relative;
    background-color: #fff;
}

/* --------------------------------------------------------------------------
   Product Image - Full color, bottom-aligned
   -------------------------------------------------------------------------- */
.product-card-image img,
.product-card a>img,
.product-card .wp-post-image {
    /* Full color - NO grayscale */
    filter: none !important;
    transition:
        transform var(--transition-slow),
        opacity var(--transition-base);
    padding: 1rem;
}

/* --------------------------------------------------------------------------
   Image Hover Effect
   -------------------------------------------------------------------------- */
.product-card:hover .product-card-image img,
.product-card:hover a>img {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   WooCommerce Overrides
   -------------------------------------------------------------------------- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gutter);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* PLP Responsive Grid */
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 425px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
    }
}

.woocommerce ul.products li.product {
    margin-bottom: 0;
    min-width: 0;
}

/* Product Card style override for WooCommerce loops */
.woocommerce ul.products li.product.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce ul.products li.product a img,
.woocommerce-loop-product__link img {
    filter: none !important;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: relative;
    padding-bottom: 133.33%;
    overflow: hidden;
    background-color: #fafafa;
}

.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin: var(--space-sm) 0 var(--space-xs);
    text-transform: none;
    letter-spacing: normal;
}

.woocommerce ul.products li.product .price {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.woocommerce ul.products li.product .price del {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--color-accent);
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Product Info Container
   -------------------------------------------------------------------------- */
.product-info {
    padding-top: 0;
    margin-top: 0;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info--left {
    text-align: left;
}

/* --------------------------------------------------------------------------
   Placeholder State
   -------------------------------------------------------------------------- */
.product-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.product-card-image--placeholder::before {
    content: '';
    width: 60px;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath fill='%23d0d0d0' d='M12 0C8 0 6 2 6 6v36c0 3 2 6 6 6s6-3 6-6V6c0-4-2-6-6-6zm4 42c0 2-1.5 4-4 4s-4-2-4-4V6c0-2.5 1.5-4 4-4s4 1.5 4 4v36z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Badge Positioning
   -------------------------------------------------------------------------- */
.product-card-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    background-color: var(--color-text);
    color: var(--color-bg);
}

.badge--sale,
.badge--privilege {
    background-color: var(--color-accent);
    color: #fff;
}

.badge--new {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   Loading Animation
   -------------------------------------------------------------------------- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.product-card-image--loading {
    background: linear-gradient(90deg, #f5f5f5 25%, #ebebeb 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}


/* ==========================================================================
   5. CUSTOM FORM STYLING
   Remove native styles, luxury minimal aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   Global Form Reset
   -------------------------------------------------------------------------- */
input,
select,
textarea,
button {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--color-bg) inset;
    -webkit-text-fill-color: var(--color-text);
    transition: background-color 5000s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   Custom Select / Dropdown
   -------------------------------------------------------------------------- */
.custom-select {
    position: relative;
    display: inline-block;
}

.custom-select select {
    padding: var(--space-xs) var(--space-lg) var(--space-xs) 0;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.custom-select select:hover,
.custom-select select:focus {
    border-bottom-color: var(--color-text);
}

/* Custom dropdown arrow */
.custom-select::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.5' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform var(--transition-base);
}

.custom-select:focus-within::after {
    transform: translateY(-50%) rotate(180deg);
}

/* --------------------------------------------------------------------------
   Minimal Text Dropdown (Alternative)
   -------------------------------------------------------------------------- */
.select-minimal {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.select-minimal-value {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    padding-right: var(--space-sm);
}

.select-minimal-arrow {
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform var(--transition-base);
}

.select-minimal.is-open .select-minimal-arrow {
    transform: rotate(-135deg);
}

.select-minimal-dropdown {
    position: absolute;
    top: calc(100% + var(--space-sm));
    left: 0;
    min-width: 160px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
        opacity var(--transition-base),
        visibility var(--transition-base),
        transform var(--transition-base);
    z-index: 100;
}

.select-minimal.is-open .select-minimal-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-minimal-option {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    cursor: pointer;
    transition:
        background-color var(--transition-base),
        color var(--transition-base);
}

.select-minimal-option:hover {
    background-color: #fafafa;
}

.select-minimal-option.selected {
    color: var(--color-accent);
    font-weight: var(--weight-bold);
}

/* --------------------------------------------------------------------------
   Custom Checkboxes
   -------------------------------------------------------------------------- */
.checkbox-custom {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    user-select: none;
}

.checkbox-custom input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom-box {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border-dark);
    background: transparent;
    position: relative;
    flex-shrink: 0;
    transition:
        border-color var(--transition-base),
        background-color var(--transition-base);
}

.checkbox-custom:hover .checkbox-custom-box {
    border-color: var(--color-text);
}

.checkbox-custom input:checked+.checkbox-custom-box {
    border-color: var(--color-text);
}

.checkbox-custom input:checked+.checkbox-custom-box::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background-color: var(--color-text);
}

/* Checkmark variant */
.checkbox-custom--checkmark input:checked+.checkbox-custom-box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 9px;
    border: solid var(--color-text);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
    background: transparent;
}

.checkbox-custom input:focus-visible+.checkbox-custom-box {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.checkbox-custom-label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    transition: color var(--transition-base);
}

.checkbox-custom:hover .checkbox-custom-label,
.checkbox-custom input:checked~.checkbox-custom-label {
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Custom Radio Buttons
   -------------------------------------------------------------------------- */
.radio-custom {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.radio-custom input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-custom-circle {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border-dark);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color var(--transition-base);
}

.radio-custom:hover .radio-custom-circle {
    border-color: var(--color-text);
}

.radio-custom input:checked+.radio-custom-circle {
    border-color: var(--color-text);
}

.radio-custom input:checked+.radio-custom-circle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background-color: var(--color-text);
    border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Text Input Fields
   -------------------------------------------------------------------------- */
.input-minimal {
    width: 100%;
    padding: var(--space-sm) 0;
    font-size: var(--text-sm);
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    transition: border-color var(--transition-base);
}

.input-minimal::placeholder {
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-size: var(--text-xs);
}

.input-minimal:hover {
    border-color: var(--color-border-dark);
}

.input-minimal:focus {
    border-color: var(--color-text);
}

/* Floating label input */
.input-group {
    position: relative;
    margin-bottom: var(--space-md);
}

.input-group label {
    position: absolute;
    left: 0;
    top: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    pointer-events: none;
    transition:
        top var(--transition-base),
        font-size var(--transition-base),
        color var(--transition-base);
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
    top: calc(var(--space-sm) * -1);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* --------------------------------------------------------------------------
   Buttons - Base styles with shine effect
   -------------------------------------------------------------------------- */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.wc-block-components-button,
.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid;
    overflow: hidden;
    position: relative;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base);
}

/* Shine effect pseudo-element */
.btn::after,
.button::after,
button[type="submit"]::after,
input[type="submit"]::after,
.woocommerce .button::after,
.woocommerce button.button::after,
.woocommerce a.button::after,
.wc-block-components-button::after,
.wp-element-button::after {
    background: #fff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: 0.2;
    position: absolute;
    top: -50px;
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 50px;
    z-index: 1;
    pointer-events: none;
}

/* Shine effect on hover */
.btn:hover::after,
.button:hover::after,
button[type="submit"]:hover::after,
input[type="submit"]:hover::after,
.woocommerce .button:hover::after,
.woocommerce button.button:hover::after,
.woocommerce a.button:hover::after,
.wc-block-components-button:hover::after,
.wp-element-button:hover::after {
    left: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Button text should be above the shine */
.btn span,
.button span,
.wc-block-components-button__text {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-text);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-text);
}

.btn-accent {
    background-color: var(--color-accent);
    color: #fff;
    border: 1px solid var(--color-accent);
}

.btn-accent:hover {
    background-color: #600018;
    border-color: #600018;
}

.btn-text {
    padding: var(--space-xs) 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    overflow: visible;
}

.btn-text::after {
    display: none;
}

.btn-text:hover {
    border-bottom-color: currentColor;
}

/* --------------------------------------------------------------------------
   WooCommerce Form Overrides
   -------------------------------------------------------------------------- */
.woocommerce-ordering select {
    padding: var(--space-xs) var(--space-lg) var(--space-xs) 0;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%231a1a1a' stroke-width='1.5' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.woocommerce .quantity input[type="number"] {
    width: 60px;
    padding: var(--space-xs);
    text-align: center;
    border: 1px solid var(--color-border);
    -moz-appearance: textfield;
}

.woocommerce .quantity input::-webkit-inner-spin-button,
.woocommerce .quantity input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/* ==========================================================================
   HEADER & NAVIGATION (White Theme)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Header Layout - Fixed, Three-Column (Dark Header)
   -------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: top 0.3s ease;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

/* Promo bar hidden on scroll */
body.has-promo-bar.promo-bar-hidden .site-header {
    top: 0;
}

body.has-promo-bar.promo-bar-hidden .wcellar-promo-bar {
    transform: translateY(-100%);
}

/* Ensure promo bar has transition */
.wcellar-promo-bar {
    transition: transform 0.5s ease;
}

body.has-promo-bar .header-nav-list>li:not(.has-mega-menu)>.sub-menu,
body.has-promo-bar .mega-menu-dropdown {
    top: calc(var(--logo-height) + var(--space-sm) * 2 + 41px);
}

body.has-promo-bar.promo-bar-hidden .header-nav-list>li:not(.has-mega-menu)>.sub-menu,
body.has-promo-bar.promo-bar-hidden .mega-menu-dropdown {
    top: calc(var(--logo-height-sm) + var(--space-xs) * 2 - 14px);
}

/* Header inner wrapper for max-width */
.site-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

.site-header a,
.site-header .site-title a,
.site-header .nav-link,
.site-header .header-nav-list a {
    color: #000;
}

.site-header a:hover,
.site-header .nav-link:hover,
.site-header .header-nav-list a:hover {
    color: #333;
}

/* Offset body for fixed header */
body {
    padding-top: 70px;
}

/* --------------------------------------------------------------------------
   Header Columns
   -------------------------------------------------------------------------- */
.header-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.site-branding {
    flex: 0 0 auto;
    text-align: center;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Header Type 2: Logo Left, Menu Center
   -------------------------------------------------------------------------- */
.site-header--type-2 .header-left {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.site-header--type-2 .header-center {
    /*flex: 2;*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-basis: content;
}

.site-header--type-2 .header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: var(--space-xs);
}

.site-header--type-2 .site-branding {
    text-align: left;
}

.site-header--type-2 .header-nav-list {
    justify-content: center;
}

@media (max-width: 1200px) {
    .site-header--type-2 .header-nav-list {
        gap: var(--space-md);
    }

    .site-header--type-2 .header-right {
        gap: 0;
    }
}

/* --------------------------------------------------------------------------
   Header Type 2: Standard Dropdown Submenu
   -------------------------------------------------------------------------- */
.site-header--type-2 .header-nav-list>li.menu-item-has-children {
    position: relative !important;
    /* Force relative positioning for parent */
    padding-right: 0;
}

.site-header--type-2 .header-nav-list>li:not(.has-mega-menu)>.sub-menu {
    position: absolute !important;
    /* Override position: fixed from Type 1 */
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    /* Reset right: 0 from full-width style */
    width: 220px !important;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 15px 0 !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    clip-path: none !important;
    margin-top: -2rem;
}

.site-header--type-2 .header-nav-list li:not(.has-mega-menu):hover>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.site-header--type-2 .header-nav-list li:not(.has-mega-menu) .sub-menu li {
    width: 100%;
    padding: 0;
    margin: 0;
    opacity: 1;
    /* Reset stagger opacity */
    transform: none;
    /* Reset stagger transform */
}

.site-header--type-2 .header-nav-list li:not(.has-mega-menu) .sub-menu a {
    display: block;
    padding: 10px 25px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.05em;
    color: var(--color-text);
    transition: all 0.2s ease;
    pointer-events: all !important;
    cursor: pointer !important;
}

.site-header--type-2 .header-nav-list li:not(.has-mega-menu) .sub-menu a:hover {
    background: #f9f9f9;
    color: var(--color-accent);
    padding-left: 30px;
}

/* Nested submenus for Type 2 */
.site-header--type-2 .header-nav-list li:not(.has-mega-menu) .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-top: -15px;
}

/* --------------------------------------------------------------------------
   Logo / Site Title
   -------------------------------------------------------------------------- */
.site-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: var(--weight-bold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: opacity var(--transition-base);
}

.site-title a:hover {
    opacity: 0.7;
}

/* Site Logo (WordPress Custom Logo) */
.site-branding .custom-logo-link,
.site-branding .site-logo-link {
    display: block;
    height: var(--logo-height);
    width: auto;
    overflow: hidden;
    margin: var(--space-sm) 0;
    transition: height var(--transition-base), margin var(--transition-base);
}

.site-branding .custom-logo,
.site-branding .site-logo {
    height: var(--logo-height);
    width: auto;
    transition: opacity var(--transition-base), height var(--transition-base);
}

body.has-promo-bar.promo-bar-hidden .site-branding .custom-logo-link,
body.has-promo-bar.promo-bar-hidden .site-branding .site-logo-link {
    height: calc(var(--logo-height-sm) - 15px);
    margin: var(--space-xs) 0;
}

body.has-promo-bar.promo-bar-hidden .site-branding .custom-logo,
body.has-promo-bar.promo-bar-hidden .site-branding .site-logo {
    height: var(--logo-height-sm);
}

.site-branding .custom-logo-link:hover .custom-logo,
.site-branding .site-logo-link:hover .site-logo {
    opacity: 0.7;
}

@media (max-width: 1024px) {

    .site-branding .custom-logo-link,
    .site-branding .site-logo-link {
        text-align: center;
        height: 70px;
    }

    .site-branding .custom-logo,
    .site-branding .site-logo {
        height: 70px;
    }

    body.has-promo-bar.promo-bar-hidden .site-branding .custom-logo-link {
        height: 47px;
    }

    body.has-promo-bar.promo-bar-hidden .site-branding .custom-logo {
        height: 60px;
    }
}

/* --------------------------------------------------------------------------
   Main Navigation Menu (Left)
   -------------------------------------------------------------------------- */
.main-navigation {
    display: flex;
    align-items: center;
}

.header-nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav-list li {
    margin: 0;
    padding: 0;
}

.header-nav-list a {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color var(--transition-base);
}

body.has-promo-bar .header-nav-list>li>a {
    padding: 0;
    display: flex;
    align-items: center;
    height: calc(var(--logo-height) + var(--space-sm) * 2);
    font-weight: 600;
}

body.has-promo-bar.promo-bar-hidden .header-nav-list>li>a {
    height: calc(var(--logo-height-sm) + var(--space-xs) * 2 - 15px);
}

/* Animated underline on hover */
.header-nav-list>li>a::after {
    content: '';
    position: absolute;
    top: calc(50% + 15px);
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width var(--transition-base);
}

.header-nav-list>li>a:hover::after {
    width: 100%;
}

/* Active/Current Menu Item */
.current-menu-item>a,
.current_page_item>a {
    color: #FFFFFF;
    font-weight: var(--weight-bold);
}

.current-menu-item>a::after,
.current_page_item>a::after {
    width: 100%;
    background-color: #000;
}

/* --------------------------------------------------------------------------
   Dropdown / Submenu Styling
   -------------------------------------------------------------------------- */

/* Parent item with children - add dropdown indicator */
.header-nav-list .menu-item-has-children {
    position: relative;
}

.header-nav-list .menu-item-has-children>a::before {
    content: '';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transition: transform var(--transition-base);
}

.header-nav-list .menu-item-has-children:hover>a::before {
    transform: translateY(-50%) rotate(-135deg);
}

/* ==========================================================================
   Full-Width Dropdown - For non-mega-menu items
   Same style as mega menu but without promo section
   ========================================================================== */

/* Submenu Container - Full Width (only for non-mega-menu items) */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu {
    position: fixed;
    top: var(--header-height, 80px);
    left: 0;
    right: 0;
    min-height: auto;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    list-style: none;
    margin: 0;

    /* Padding to center content at 1600px - same as other containers */
    padding: 36px max(var(--grid-margin), (100% - var(--grid-max-width)) / 2 + var(--grid-margin));

    /* Layout */
    display: flex;
    flex-wrap: wrap;
    gap: 0 48px;

    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    z-index: 1001;
}

/* Submenu items */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu>li {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    opacity: 0;
    flex: 1;
    transform: translateY(10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Full-width wrapper for proper centering */
.header-nav-list>li:not(.has-mega-menu).menu-item-has-children {
    position: static;
    padding-right: 15px;
}

/* Show submenu on hover (non-mega-menu items) */
.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 -30px 0);
    /* Negative bottom to show box-shadow */
}

/* Show items when menu is visible (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for items (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(1) {
    transition-delay: 0.05s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(2) {
    transition-delay: 0.08s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(3) {
    transition-delay: 0.11s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(4) {
    transition-delay: 0.14s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(5) {
    transition-delay: 0.17s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(6) {
    transition-delay: 0.20s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(7) {
    transition-delay: 0.23s;
}

.header-nav-list>li:not(.has-mega-menu).menu-item-has-children:hover>.sub-menu>li:nth-child(8) {
    transition-delay: 0.26s;
}

.header-nav-list>li:not(.has-mega-menu)>.sub-menu>li>a {
    display: block;
    position: relative;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    white-space: nowrap;
    transition: color 0.2s ease, padding-left 0.2s ease;
    pointer-events: none;
    cursor: default;
}

/* Remove default pseudo elements (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu a::before,
.header-nav-list>li:not(.has-mega-menu)>.sub-menu a::after {
    display: none;
}

/* Submenu Hover State (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu>li>a:hover {
    color: #1a1a1a;
    padding-left: 8px;
}

/* Submenu Active State (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu .current-menu-item>a,
.header-nav-list>li:not(.has-mega-menu)>.sub-menu .current_page_item>a {
    color: #1a1a1a;
    font-weight: var(--weight-medium);
}

/* --------------------------------------------------------------------------
   Nested Submenu (Third Level) - Column style (non-mega-menu)
   -------------------------------------------------------------------------- */
.header-nav-list>li:not(.has-mega-menu)>.sub-menu .sub-menu {
    position: static;
    width: auto;
    padding: 8px 0 0 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    opacity: 1;
    visibility: visible;
    display: block;
    margin-left: 0;
    margin-top: 8px;
    list-style: none;
}

.header-nav-list>li:not(.has-mega-menu)>.sub-menu .sub-menu>li {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}

.header-nav-list>li:not(.has-mega-menu)>.sub-menu .sub-menu a {
    font-size: 15px;
    padding: 6px 0;
    color: var(--color-text);
    border-bottom: none;
}

.header-nav-list>li:not(.has-mega-menu)>.sub-menu .sub-menu a:hover {
    color: var(--color-accent);
}

/* Bridge gap between parent menu and submenu (non-mega-menu) */
.header-nav-list>li:not(.has-mega-menu).menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -50px;
    right: -50px;
    height: 0;
}

/* --------------------------------------------------------------------------
   Header Utility Links (Right)
   -------------------------------------------------------------------------- */
.nav-link {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #FFFFFF;
    transition: width var(--transition-base);
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Icon Links */
.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #FFFFFF;
    transition: opacity var(--transition-base);
}

.nav-icon:hover {
    opacity: 0.7;
    color: #FFFFFF;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

/* Cart Icon with Count Badge */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 4px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: var(--weight-bold);
    line-height: 16px;
    text-align: center;
    background-color: var(--color-accent);
    color: #FFFFFF;
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Responsive Header
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .header-nav-list {
        display: none;
        /* Hide on mobile - would need hamburger menu */
    }

    .site-title {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP) - Kent Street Cellars inspired Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   PDP Main Container
   -------------------------------------------------------------------------- */
.wcellar-pdp {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--grid-margin) var(--space-xxl);
    position: relative;
}

/* --------------------------------------------------------------------------
   PDP Grid Layout: 50% Gallery / 50% Details
   -------------------------------------------------------------------------- */
.wcellar-pdp__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
    margin-bottom: var(--space-xl);
}

/* --------------------------------------------------------------------------
   PDP Gallery (Left Column)
   -------------------------------------------------------------------------- */
.wcellar-pdp__gallery {
    position: sticky;
    top: calc(70px + var(--space-lg));
    height: fit-content;
}

.wcellar-pdp__gallery .woocommerce-product-gallery {
    margin: 0;
    padding: 0;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__image>a {
    display: block;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.wcellar-pdp__gallery .flex-control-thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding: 0;
    list-style: none;
}

.wcellar-pdp__gallery .flex-control-thumbs li {
    flex: 0 0 80px;
}

.wcellar-pdp__gallery .flex-control-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    background: #f8f8f8;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition-base);
}

.wcellar-pdp__gallery .flex-control-thumbs img:hover,
.wcellar-pdp__gallery .flex-control-thumbs img.flex-active {
    border-color: var(--color-text);
}

/* Gallery Fullscreen/Lightbox Trigger Button */
.wcellar-pdp__gallery .woocommerce-product-gallery {
    position: relative;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    padding: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    text-indent: -9999px;
    overflow: hidden;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__trigger:hover {
    background: #fff;
    border-color: #000;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__trigger::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-indent: 0;
}

.wcellar-pdp__gallery .woocommerce-product-gallery__trigger:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cpolyline points='9 21 3 21 3 15'/%3E%3Cline x1='21' y1='3' x2='14' y2='10'/%3E%3Cline x1='3' y1='21' x2='10' y2='14'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   PDP Details (Right Column)
   -------------------------------------------------------------------------- */
.wcellar-pdp__details {
    padding-top: var(--space-md);
}

/* Brand/Producer & Region */
.wcellar-pdp__brand-region {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.wcellar-pdp__brand {
    display: inline-block;
    font-weight: var(--weight-medium);
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

.wcellar-pdp__brand:hover {
    color: var(--color-text);
}

.wcellar-pdp__separator {
    color: var(--color-text-muted, #999);
}

.wcellar-pdp__region {
    color: var(--color-text-muted, #666);
    font-weight: var(--weight-normal);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Country Flag Icon */
.country-flag {
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
}

/* Product Title */
.wcellar-pdp__title {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    text-transform: none;
    letter-spacing: var(--tracking-tight);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: var(--leading-snug);
}

/* Wine Name (English) */
.wcellar-pdp__wine-name {
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text-muted);
    margin: 0;
    letter-spacing: 0.01em;
}

.wcellar-pdp__wine-name-1 {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin: 0 0 var(--space-sm) 0;
    letter-spacing: 0.01em;
}

/* Rating with Stars */
.wcellar-pdp__rating {
    margin-top: var(--space-xs);
}

.wcellar-pdp__rating-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.wcellar-pdp__rating-link:hover .wcellar-pdp__rating-source {
    text-decoration: underline;
}

.wcellar-pdp__rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wcellar-pdp__rating-stars svg {
    display: block;
}

.wcellar-pdp__rating-score {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    color: var(--color-text);
}

.wcellar-pdp__rating-count {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.wcellar-pdp__rating-source {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* Price */
.wcellar-pdp__price {
    margin-top: var(--space-sm);
}

.wcellar-pdp__price .woocommerce-Price-amount {
    font-size: var(--text-lg);
    font-weight: var(--weight-normal);
    color: var(--color-text);
}

.wcellar-pdp__price del {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    margin-right: var(--space-sm);
}

.wcellar-pdp__price del .woocommerce-Price-amount {
    font-size: var(--text-lg);
    font-weight: var(--weight-normal);
}

.wcellar-pdp__price ins {
    text-decoration: none;
}

.wcellar-pdp__price ins .woocommerce-Price-amount {
    color: var(--color-accent);
}

/* Stock Status */
.wcellar-pdp__stock {
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

.wcellar-pdp__stock.in-stock .stock {
    color: #2e7d32;
}

.wcellar-pdp__stock.out-of-stock .stock {
    color: #c62828;
}

/* Wine Specifications */
.wcellar-pdp__specs {
    margin-bottom: var(--space-lg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.wcellar-pdp__spec {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid #f0f0f0;
}

.wcellar-pdp__spec:last-child {
    border-bottom: none;
}

.wcellar-pdp__spec-label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.wcellar-pdp__spec-value {
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    text-align: right;
}

/* Add to Cart Actions */
.wcellar-pdp__actions {
    margin-bottom: var(--space-xl);
}

.wcellar-pdp__actions form.cart {
    display: flex;
    gap: var(--space-sm);
    align-items: stretch;
    margin-bottom: var(--space-sm);
}

/* Quantity Wrapper with +/- buttons */
.wcellar-pdp__quantity-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-border);
    flex: 0 0 140px;
}

.wcellar-pdp__qty-btn {
    width: 44px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
    color: var(--color-text);
    transition: all var(--transition-base);
    user-select: none;
}

.wcellar-pdp__qty-btn:hover {
    background-color: #f5f5f5;
}

.wcellar-pdp__qty-btn:active {
    background-color: #eee;
}

.wcellar-pdp__quantity-wrapper input.qty {
    width: 52px;
    height: 52px;
    padding: 0;
    text-align: center;
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    border: none;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    background: transparent;
    -moz-appearance: textfield;
}

.wcellar-pdp__quantity-wrapper input.qty::-webkit-outer-spin-button,
.wcellar-pdp__quantity-wrapper input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wcellar-pdp__quantity-wrapper input.qty:focus {
    outline: none;
}

/* Add to Cart Button */
.wcellar-pdp__actions .single_add_to_cart_button {
    flex: 1;
    height: 54px;
    padding: var(--space-sm) var(--space-lg);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.wcellar-pdp__actions .single_add_to_cart_button:hover {
    background-color: var(--color-accent);
}

/* Wishlist Button (Icon Only - positioned on gallery) */
.wcellar-pdp__wishlist {}

.wcellar-pdp__wishlist .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    font-size: 0;
    color: var(--color-text);
    background: #fff;
    border: 1px solid var(--color-text);
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    overflow: hidden;
}

.wcellar-pdp__wishlist .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.wcellar-pdp__wishlist .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart::before {
    font-size: 28px;
    margin-left: -14px;
    margin-top: -14px;
}

.wcellar-pdp__wishlist .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.tinvwl-product-in-list::before {
    color: var(--color-accent);
}

/* Out of stock message */
.wcellar-pdp__actions .stock.out-of-stock {
    padding: var(--space-md);
    background-color: #f8f8f8;
    color: var(--color-text-muted);
    text-align: center;
    font-size: var(--text-sm);
}

/* Description */
.wcellar-pdp__description {
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.wcellar-pdp__description-content {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    word-break: keep-all;
}

.wcellar-pdp__description-content p {
    margin-bottom: var(--space-md);
}

.wcellar-pdp__description-content p:last-child {
    margin-bottom: 0;
}

/* Product Meta (SKU) */
.wcellar-pdp__meta {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.wcellar-pdp__sku {
    display: block;
    color: var(--color-text-muted);
    font-weight: 200;
}

/* --------------------------------------------------------------------------
   Tasting Notes
   -------------------------------------------------------------------------- */
.wcellar-pdp__tasting-notes {}

.wcellar-pdp__tasting-title {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.wcellar-pdp__tasting-row {
    margin-bottom: var(--space-md);
}

.wcellar-pdp__tasting-row:last-child {
    margin-bottom: 0;
}

.wcellar-pdp__tasting-label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.wcellar-pdp__tasting-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcellar-pdp__tasting-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text);
    background-color: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 0;
}

/* --------------------------------------------------------------------------
   Vintage Navigator
   -------------------------------------------------------------------------- */
.wcellar-pdp__vintage-nav {
    background-color: #f8f6f3;
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.wcellar-pdp__vintage-nav .vintage-nav__title {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.wcellar-pdp__vintage-nav .vintage-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.wcellar-pdp__vintage-nav .vintage-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    text-decoration: none;
    transition: all var(--transition-base);
}

.wcellar-pdp__vintage-nav .vintage-item:hover {
    border-color: var(--color-text);
}

.wcellar-pdp__vintage-nav .vintage-item--active {
    background-color: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Product Tabs Section
   -------------------------------------------------------------------------- */
.wcellar-pdp__tabs-section {
    margin-bottom: var(--space-xl);
}

.wcellar-pdp__tabs-section .woocommerce-tabs {
    margin: 0;
}

.wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
}

.wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
}

.wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-text-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
}

.wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-text);
}

.wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs li.active a {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

.wcellar-pdp__tabs-section .woocommerce-tabs .panel {
    padding: var(--space-lg) 0;
}

.wcellar-pdp__tabs-section .woocommerce-tabs .panel h2 {
    display: none;
}

/* Ratings List in Tab */
.wcellar-ratings-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.wcellar-ratings-list .rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background-color: #f8f6f3;
    border: 1px solid var(--color-border);
}

.wcellar-ratings-list .critic-name {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
}

.wcellar-ratings-list .rating-score {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
}

.wcellar-ratings-list .rating-score .max {
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text-muted);
}

/* Tasting Notes */
.wcellar-tasting-notes {
    display: grid;
    gap: var(--space-lg);
}

.wcellar-tasting-notes .tasting-section h4 {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.wcellar-tasting-notes .tasting-section p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    margin: 0;
}

/* Pairing */
.wcellar-pairing {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Product Attributes Table (Additional Information Tab)
   -------------------------------------------------------------------------- */
.woocommerce-product-attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-product-attributes tr {
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-product-attributes tr:last-child {
    border-bottom: none;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    padding: var(--space-sm) 0;
    font-size: var(--text-sm);
    text-align: left;
    vertical-align: top;
}

.woocommerce-product-attributes th {
    width: 35%;
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    font-size: var(--text-xs);
    padding-right: var(--space-md);
}

.woocommerce-product-attributes td {
    color: var(--color-text);
    font-weight: var(--weight-normal);
}

.woocommerce-product-attributes td p {
    margin: 0;
}

.woocommerce-product-attributes td a {
    color: var(--color-text);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.woocommerce-product-attributes td a:hover {
    color: var(--color-accent);
}

/* Attribute wrapper for multiple values */
.woocommerce-product-attributes td .posted_in,
.woocommerce-product-attributes td .tagged_as {
    display: inline;
}

/* --------------------------------------------------------------------------
   Same Producer Section
   -------------------------------------------------------------------------- */
.wcellar-pdp__same-producer {
    margin-bottom: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.wcellar-pdp__same-producer .same-producer__title {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.wcellar-pdp__same-producer .same-producer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Related Products Section
   -------------------------------------------------------------------------- */
.wcellar-pdp .related.products,
.related.products {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.wcellar-pdp .related.products>h2,
.related.products>h2 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.wcellar-pdp .related.products ul.products,
.related.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
    padding: 0;
}

.wcellar-pdp .related.products ul.products li.product,
.related.products ul.products li.product {
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Reset the aspect-ratio trick for related products */
.wcellar-pdp .related.products ul.products li.product .woocommerce-loop-product__link,
.related.products ul.products li.product .woocommerce-loop-product__link {
    display: block;
    position: static;
    padding-bottom: 0;
    overflow: visible;
    background-color: transparent;
}

.wcellar-pdp .related.products ul.products li.product .woocommerce-loop-product__link img,
.related.products ul.products li.product .woocommerce-loop-product__link img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    object-position: center bottom;
    background-color: #fafafa;
    margin-bottom: var(--space-sm);
}

.wcellar-pdp .related.products ul.products li.product a img,
.related.products ul.products li.product a img {
    width: 100%;
    height: auto;
    margin-bottom: var(--space-sm);
}

.wcellar-pdp .related.products ul.products li.product .woocommerce-loop-product__title,
.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    text-transform: none;
    letter-spacing: normal;
}

.wcellar-pdp .related.products ul.products li.product .price,
.related.products ul.products li.product .price {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.wcellar-pdp .related.products ul.products li.product .price del,
.related.products ul.products li.product .price del {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.wcellar-pdp .related.products ul.products li.product .price ins,
.related.products ul.products li.product .price ins {
    text-decoration: none;
    color: var(--color-accent);
}

.wcellar-pdp .related.products ul.products li.product .button,
.related.products ul.products li.product .button {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    background-color: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.wcellar-pdp .related.products ul.products li.product .button:hover,
.related.products ul.products li.product .button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Related Products Responsive */
@media (max-width: 1024px) {

    .wcellar-pdp .related.products ul.products,
    .related.products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .wcellar-pdp .related.products ul.products,
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 425px) {

    .wcellar-pdp .related.products ul.products,
    .related.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   PDP Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .wcellar-pdp__same-producer .same-producer__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wcellar-pdp__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .wcellar-pdp__gallery {
        position: relative;
        top: 0;
    }

    .wcellar-pdp__details {
        padding-left: 0;
    }

    .wcellar-pdp__title {
        font-size: var(--text-xl);
    }

    .wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs {
        flex-wrap: wrap;
    }

    .wcellar-pdp__tabs-section .woocommerce-tabs ul.tabs li a {
        padding: var(--space-sm) var(--space-md);
    }

    .wcellar-pdp__same-producer .same-producer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wcellar-ratings-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 425px) {
    .wcellar-pdp {
        padding: var(--space-md);
    }

    .wcellar-pdp__actions form.cart {
        flex-direction: row;
    }

    .wcellar-pdp__quantity-wrapper {
        flex: 0 0 120px;
    }

    .wcellar-pdp__qty-btn {
        width: 36px;
    }

    .wcellar-pdp__quantity-wrapper input.qty {
        width: 48px;
    }

    .wcellar-pdp__same-producer .same-producer__grid {
        grid-template-columns: 1fr;
    }

    .wcellar-pdp__vintage-nav .vintage-nav__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
    }
}


/* ==========================================================================
   FOOTER (Dark Theme - Millesima Style)
   ========================================================================== */

.site-footer {
    background-color: #1a1a1a;
    color: #FFFFFF;
}

/* Footer Main Section */
.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid #333;
}

.footer-container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 13px;
    text-transform: uppercase;
    color: #999999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

/* Newsletter Column */
.footer-newsletter-col {
    padding-right: 40px;
}

.footer-newsletter-desc {
    font-size: 13px;
    color: #999999;
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-newsletter-form {
    display: flex;
    border-bottom: 1px solid #444;
}

.footer-newsletter-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    font-size: 13px;
    color: #FFFFFF;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: #666666;
}

.footer-newsletter-form button {
    background: transparent;
    border: none;
    color: #FFFFFF;
    padding: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.footer-newsletter-form button:hover {
    opacity: 0.7;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #999999;
    border: 1px solid #444;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.social-icon:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

/* Footer Contact */
.footer-contact {
    font-size: 13px;
}

.footer-contact a {
    color: #999999;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #FFFFFF;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Payment Icons */
.footer-payments {
    display: flex;
    gap: 12px;
}

.payment-icon {
    opacity: 0.7;
}

/* Copyright */
.footer-copyright {
    font-size: 12px;
    color: #666666;
}

.footer-copyright p {
    margin: 0;
}

/* Legal Links */
.footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-legal a {
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #FFFFFF;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-container {
        padding: 0 40px;
    }

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

    .footer-newsletter-col {
        grid-column: span 3;
        padding-right: 0;
        max-width: 400px;
        margin-bottom: 20px;
    }
}

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

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

    .footer-newsletter-col {
        grid-column: span 2;
    }

    .footer-bottom-grid {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        order: -1;
    }
}

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

    .footer-newsletter-col {
        grid-column: span 1;
    }
}

/* ==========================================================================
   ABOUT US PAGE
   Millesima-inspired layout
   ========================================================================== */

/* Container */
.about-page {
    background-color: var(--color-bg);
}

.about-container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: 0 var(--grid-margin);
}

.about-section-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.about-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    padding: var(--space-xxl) var(--grid-margin);
}

.about-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-hero--has-image .about-hero__overlay {
    opacity: 1;
}

.about-hero__content {
    position: relative;
    z-index: 1;
    text-align: left;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    max-width: var(--grid-max-width);
}

.about-hero__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.about-hero--has-image .about-hero__title {
    color: #FFFFFF;
}

.about-hero__subtitle {
    font-size: var(--text-md);
    font-weight: var(--weight-normal);
    line-height: var(--leading-normal);
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.about-hero--has-image .about-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   Commitments Section
   -------------------------------------------------------------------------- */
.about-commitments {
    padding: var(--space-xxl) 0 0;
    background-color: #FFFFFF;
}

.commitments-grid {
    display: grid;
    gap: var(--space-lg);
}

.commitments-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.commitments-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.commitments-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
}

.commitments-grid--1 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
}

.commitment-card {
    text-align: center;
    padding: var(--space-lg);
    background-color: #fafafa;
    border-radius: 4px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.commitment-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.commitment-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--color-accent);
}

.commitment-card__icon svg {
    width: 48px;
    height: 48px;
}

.commitment-card__title {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.commitment-card__desc {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    margin: 0;
}

/* Commitments Responsive */
@media (max-width: 1024px) {
    .commitments-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .commitments-grid--3,
    .commitments-grid--4 {
        grid-template-columns: 1fr;
    }

    .commitment-card {
        padding: var(--space-md);
    }
}

/* --------------------------------------------------------------------------
   Story Sections
   -------------------------------------------------------------------------- */
.about-stories {
    padding: var(--space-xxl) 0;
}

.story-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xxl);
}

.story-block:last-child {
    margin-bottom: 0;
}

.story-block--image-right {
    direction: rtl;
}

.story-block--image-right>* {
    direction: ltr;
}

.story-block__image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.story-block__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.story-block:hover .story-block__image img {
    transform: scale(1.03);
}

.story-block__content {
    padding: var(--space-lg);
}

.story-block__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.story-block__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.story-block__text p {
    margin-bottom: var(--space-md);
}

.story-block__text p:last-child {
    margin-bottom: 0;
}

/* Story Responsive */
@media (max-width: 900px) {
    .story-block {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .story-block--image-right {
        direction: ltr;
    }

    .story-block__content {
        padding: 0;
    }
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.about-cta {
    padding: var(--space-xxl) 0;
    background-color: #1a1a1a;
    text-align: center;
}

.about-cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.about-cta__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #FFFFFF;
    margin-bottom: var(--space-md);
}

.about-cta__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.about-cta__button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: #FFFFFF;
    color: #1a1a1a;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    border: 1px solid #FFFFFF;
    transition: background-color var(--transition-base), color var(--transition-base);
}

.about-cta__button:hover {
    background-color: transparent;
    color: #FFFFFF;
}

/* ==========================================================================
   CONTACT PAGE - Luxury Redesign
   ========================================================================== */
.contact-page {
    background-color: var(--color-bg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.contact-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + var(--space-xxl)) var(--grid-margin) var(--space-xxl);
    overflow: hidden;
}

.contact-hero__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f6f4 0%, #ebe7e3 100%);
    z-index: 0;
}

.contact-hero__bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(128, 0, 32, 0.03) 0%, transparent 70%);
    animation: contact-glow 15s ease-in-out infinite;
}

@keyframes contact-glow {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: rotate(10deg) scale(1.1);
        opacity: 1;
    }
}

.contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.contact-hero__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: contact-fade-up 0.8s ease forwards;
}

.contact-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 var(--space-lg);
    opacity: 0;
    animation: contact-fade-up 0.8s ease 0.1s forwards;
}

.contact-hero__intro {
    font-size: var(--text-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    animation: contact-fade-up 0.8s ease 0.2s forwards;
}

@keyframes contact-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   Main Content Section
   -------------------------------------------------------------------------- */
.contact-main {
    padding: var(--space-xxl) var(--grid-margin);
    background: var(--color-bg);
}

.contact-main__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xxl);
    max-width: 1200px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Contact Form Wrapper
   -------------------------------------------------------------------------- */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
}

.contact-form-header {
    margin-bottom: var(--space-xl);
}

.contact-form-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.01em;
}

.contact-form-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-form-content {
    display: contents;
}

/* Form Styles - Floating Labels */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-form .form-group {
    position: relative;
}

/* Focus underline accent */
.contact-form .form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-luxury);
}

.contact-form .form-group:focus-within::after {
    width: 100%;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: var(--space-md) 0 var(--space-sm);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-text);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    transition: border-color 0.3s ease;
    outline: none;
}

.contact-form .form-group textarea {
    resize: none;
    min-height: 120px;
}

.contact-form .form-group label {
    position: absolute;
    top: var(--space-md);
    left: 0;
    font-size: var(--text-base);
    font-weight: var(--weight-normal);
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-bottom-color: var(--color-text);
}

.contact-form .form-group input:focus+label,
.contact-form .form-group input:not(:placeholder-shown)+label,
.contact-form .form-group textarea:focus+label,
.contact-form .form-group textarea:not(:placeholder-shown)+label {
    top: -4px;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
}

/* Submit Button */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: #ffffff;
    background: var(--color-text);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--ease-luxury);
    margin-top: var(--space-md);
    align-self: flex-start;
}

.contact-submit svg {
    transition: transform 0.3s ease;
}

.contact-submit:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.2);
}

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

/* --------------------------------------------------------------------------
   Contact Info Wrapper
   -------------------------------------------------------------------------- */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-info-header {
    margin-bottom: var(--space-sm);
}

.contact-info-title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    margin: 0 0 var(--space-sm);
    letter-spacing: -0.01em;
}

.contact-info-subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Contact Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-info-cards.fade-up-children .contact-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-cards.fade-up-children.is-visible .contact-card:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.contact-info-cards.fade-up-children.is-visible .contact-card:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.contact-info-cards.fade-up-children.is-visible .contact-card:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.contact-info-cards.fade-up-children.is-visible .contact-card:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: #fafafa;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.contact-card:not(.contact-card--static):hover {
    background: #ffffff;
    border-color: var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transform: translateX(8px);
}

.contact-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:not(.contact-card--static):hover .contact-card__icon {
    background: var(--color-accent);
    color: #ffffff;
}

.contact-card__content {
    flex: 1;
    min-width: 0;
}

.contact-card__label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.contact-card__value {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    font-style: normal;
    line-height: 1.5;
}

.contact-card__value address {
    font-style: normal;
}

.contact-card__arrow {
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.contact-card:not(.contact-card--static):hover .contact-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Social Links */
.contact-social {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.contact-social__label {
    display: block;
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.contact-social__links {
    display: flex;
    gap: var(--space-sm);
}

.contact-social__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    text-decoration: none;
    background: #fafafa;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-social__link:hover {
    background: var(--color-text);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Map Section
   -------------------------------------------------------------------------- */
.contact-map {
    position: relative;
    margin-top: var(--space-xxl);
}

.contact-map__overlay {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: 10;
    background: #ffffff;
    padding: var(--space-sm) var(--space-md);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-map__label {
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.contact-map__container {
    position: relative;
    width: 100%;
    height: 450px;
    background: var(--color-bg-alt);
}

.contact-map__container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1);
    transition: filter 0.5s ease;
}

.contact-map__container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* --------------------------------------------------------------------------
   WPForms / Contact Form 7 Overrides
   -------------------------------------------------------------------------- */
.contact-form-content .wpforms-container,
.contact-form-content .wpcf7 {
    width: 100%;
}

.contact-form-content .wpforms-form,
.contact-form-content .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-form-content .wpforms-field,
.contact-form-content .wpcf7-form-control-wrap {
    margin-bottom: 0;
}

.contact-form-content .wpforms-field-label,
.contact-form-content .wpcf7 label {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.contact-form-content .wpforms-field input,
.contact-form-content .wpforms-field textarea,
.contact-form-content .wpcf7 input[type="text"],
.contact-form-content .wpcf7 input[type="email"],
.contact-form-content .wpcf7 textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--color-text);
    background: #fafafa;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form-content .wpforms-field input:focus,
.contact-form-content .wpforms-field textarea:focus,
.contact-form-content .wpcf7 input:focus,
.contact-form-content .wpcf7 textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--color-text);
}

.contact-form-content .wpforms-submit,
.contact-form-content .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: #ffffff;
    background: var(--color-text);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s var(--ease-luxury);
}

.contact-form-content .wpforms-submit:hover,
.contact-form-content .wpcf7-submit:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.2);
}

/* --------------------------------------------------------------------------
   Scroll-Triggered Fade Up Animation
   -------------------------------------------------------------------------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
    transition-delay: var(--delay, 0s);
}

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

/* Staggered animation for children */
.fade-up-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-luxury), transform 0.6s var(--ease-luxury);
}

.fade-up-children.is-visible>*:nth-child(1) {
    transition-delay: 0s;
    opacity: 1;
    transform: translateY(0);
}

.fade-up-children.is-visible>*:nth-child(2) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: translateY(0);
}

.fade-up-children.is-visible>*:nth-child(3) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.fade-up-children.is-visible>*:nth-child(4) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.fade-up-children.is-visible>*:nth-child(5) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Contact Page Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .contact-main__inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .contact-info-wrapper {
        order: -1;
    }

    .contact-hero {
        min-height: 40vh;
    }
}

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

    .contact-hero__intro {
        font-size: var(--text-base);
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }

    .contact-card {
        padding: var(--space-sm) var(--space-md);
    }

    .contact-card__icon {
        width: 40px;
        height: 40px;
    }

    .contact-map__container {
        height: 350px;
    }

    .contact-map__overlay {
        top: var(--space-md);
        left: var(--space-md);
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding-top: calc(var(--header-height) + var(--space-xl));
        min-height: auto;
    }

    .contact-main {
        padding: var(--space-xl) var(--space-md);
    }

    .contact-social__links {
        flex-wrap: wrap;
    }

    .contact-map__container {
        height: 280px;
    }
}

/* ==========================================================================
   HOMEPAGE - Product Grid
   ========================================================================== */
.front-page .entry-content .woocommerce,
.front-page .entry-content .wc-block-grid {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-xxl) var(--grid-margin);
}

/* ==========================================================================
   HOMEPAGE - Category Links Section
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Container
   -------------------------------------------------------------------------- */
.hp-categories {
    padding: var(--space-xxl) var(--grid-margin);
    max-width: var(--grid-max-width);
    margin: 0 auto;
}

.hp-categories__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Category Grid - Flexible layout based on item count
   -------------------------------------------------------------------------- */
.hp-categories__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

/* Default: 3 per row (for 3 or 6 items) */
.hp-categories__item {
    flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
    max-width: calc(33.333% - var(--space-lg) * 2 / 3);
}

/* 4 items: 2 per row */
.hp-categories__grid[data-count="4"] .hp-categories__item {
    flex: 0 0 calc(50% - var(--space-lg) / 2);
    max-width: calc(50% - var(--space-lg) / 2);
}

/* 5 items: first 2 are 50%, next 3 are 33.33% */
.hp-categories__grid[data-count="5"] .hp-categories__item:nth-child(-n+2) {
    flex: 0 0 calc(50% - var(--space-lg) / 2);
    max-width: calc(50% - var(--space-lg) / 2);
}

.hp-categories__grid[data-count="5"] .hp-categories__item:nth-child(n+3) {
    flex: 0 0 calc(33.333% - var(--space-lg) * 2 / 3);
    max-width: calc(33.333% - var(--space-lg) * 2 / 3);
}

/* --------------------------------------------------------------------------
   Category Card
   -------------------------------------------------------------------------- */
.hp-category-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base);
}

.hp-category-card:hover {
    transform: translateY(-4px);
}

.hp-category-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: var(--space-md);
    background-color: #f5f5f5;
}

.hp-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.hp-category-card:hover .hp-category-card__image img {
    transform: scale(1.05);
}

.hp-category-card__title {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.hp-category-card__content {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {

    /* 6 items: 2 per row on tablet */
    .hp-categories__grid[data-count="6"] .hp-categories__item {
        flex: 0 0 calc(50% - var(--space-lg) / 2);
        max-width: calc(50% - var(--space-lg) / 2);
    }

    /* 5 items: all 50% on tablet */
    .hp-categories__grid[data-count="5"] .hp-categories__item {
        flex: 0 0 calc(50% - var(--space-lg) / 2);
        max-width: calc(50% - var(--space-lg) / 2);
    }

    /* 3 items: keep 3 per row, or go 2+1 */
    .hp-categories__grid[data-count="3"] .hp-categories__item {
        flex: 0 0 calc(50% - var(--space-lg) / 2);
        max-width: calc(50% - var(--space-lg) / 2);
    }
}

@media (max-width: 768px) {
    .hp-categories {
        padding: var(--space-xl) var(--grid-margin);
    }

    .hp-categories__item,
    .hp-categories__grid[data-count="3"] .hp-categories__item,
    .hp-categories__grid[data-count="4"] .hp-categories__item,
    .hp-categories__grid[data-count="5"] .hp-categories__item,
    .hp-categories__grid[data-count="5"] .hp-categories__item:nth-child(-n+2),
    .hp-categories__grid[data-count="5"] .hp-categories__item:nth-child(n+3),
    .hp-categories__grid[data-count="6"] .hp-categories__item {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   INFLUENCER PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   Influencer Hero Section
   -------------------------------------------------------------------------- */
.influencer-page {
    padding-top: 0;
    /* Header offset */
}

.influencer-hero {
    background-color: #fafafa;
    padding: var(--space-xxl) var(--grid-margin);
    text-align: center;
}

.influencer-hero__inner {
    max-width: 800px;
    margin: 0 auto;
}

.influencer-hero__avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-lg);
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-accent);
    background-color: #fff;
}

.influencer-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.influencer-hero__avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    color: #999;
}

.influencer-hero__name {
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.influencer-hero__bio {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

/* --------------------------------------------------------------------------
   Social Links
   -------------------------------------------------------------------------- */
.influencer-hero__social {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.influencer-social-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all var(--transition-base);
}

.influencer-social-link:hover {
    border-color: var(--color-text);
    background-color: var(--color-text);
    color: var(--color-bg);
}

.influencer-social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.influencer-social-link--youtube:hover {
    background-color: #ff0000;
    border-color: #ff0000;
}

/* --------------------------------------------------------------------------
   Products Section
   -------------------------------------------------------------------------- */
.influencer-products {
    padding: var(--space-xxl) var(--grid-margin);
    max-width: var(--grid-max-width);
    margin: 0 auto;
}

.influencer-products__inner {
    max-width: 100%;
}

.influencer-products__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
}

.influencer-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.influencer-products__empty {
    text-align: center;
    color: var(--color-text-muted);
    font-size: var(--text-base);
    padding: var(--space-xxl) 0;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .influencer-products__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .influencer-hero {
        padding: var(--space-xl) var(--grid-margin);
    }

    .influencer-hero__avatar {
        width: 140px;
        height: 140px;
    }

    .influencer-hero__name {
        font-size: var(--text-xl);
    }

    .influencer-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .influencer-hero__avatar {
        width: 120px;
        height: 120px;
    }

    .influencer-hero__name {
        font-size: var(--text-lg);
    }

    .influencer-hero__social {
        flex-direction: column;
        align-items: center;
    }

    .influencer-products__grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Influencer Products List Layout
   -------------------------------------------------------------------------- */
.influencer-products__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.influencer-product-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.influencer-product-item:hover {
    border-color: var(--color-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.influencer-product-item__image {
    display: block;
    aspect-ratio: 2/3;
    overflow: hidden;
    border-radius: 4px;
    background: var(--color-bg-alt);
}

.influencer-product-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-luxury);
}

.influencer-product-item:hover .influencer-product-item__image img {
    transform: scale(1.05);
}

.influencer-product-item__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.influencer-product-item__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.influencer-product-item__brand {
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-accent);
}

.influencer-product-item__name {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    margin: 0;
    line-height: 1.3;
}

.influencer-product-item__name a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

.influencer-product-item__name a:hover {
    color: var(--color-accent);
}

.influencer-product-item__desc {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.influencer-product-item__desc p {
    margin: 0;
}

.influencer-product-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.influencer-product-item__price {
    font-size: var(--text-lg);
    font-weight: var(--weight-semibold);
    color: var(--color-text);
}

.influencer-product-item__price del {
    font-size: var(--text-sm);
    font-weight: var(--weight-normal);
    color: var(--color-text-muted);
    margin-right: var(--space-xs);
}

.influencer-product-item__price ins {
    text-decoration: none;
    color: var(--color-accent);
}

.influencer-product-item__btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text);
    text-decoration: none;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.influencer-product-item__btn:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

/* Influencer Products List - Responsive */
@media (max-width: 900px) {
    .influencer-product-item {
        grid-template-columns: 160px 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 600px) {
    .influencer-product-item {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .influencer-product-item__image {
        max-width: 200px;
        margin: 0 auto;
    }

    .influencer-product-item__content {
        text-align: center;
    }

    .influencer-product-item__meta {
        justify-content: center;
    }

    .influencer-product-item__footer {
        flex-direction: column;
        gap: var(--space-md);
    }

    .influencer-product-item__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MY ACCOUNT PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   Main Layout
   -------------------------------------------------------------------------- */
.wcellar-myaccount {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-xl);
    min-height: 100vh;
    width: 100%;
}

/* --------------------------------------------------------------------------
   Sidebar Navigation
   -------------------------------------------------------------------------- */
.wcellar-myaccount__sidebar {
    position: sticky;
    top: calc(100px + var(--space-xl));
    height: fit-content;
}

.wcellar-account-nav {
    background-color: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.wcellar-account-nav__profile {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--color-text);
    color: #fff;
}

.wcellar-account-nav__avatar {
    flex-shrink: 0;
}

.wcellar-account-nav__avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wcellar-account-nav__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.wcellar-account-nav__name {
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcellar-account-nav__email {
    font-size: var(--text-xs);
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wcellar-account-nav__menu {
    list-style: none;
    margin: 0;
    padding: var(--space-sm) 0;
}

.wcellar-account-nav__menu li {
    margin: 0;
}

.wcellar-account-nav__menu li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
}

.wcellar-account-nav__menu li a:hover {
    background-color: #f0f0f0;
    color: var(--color-accent);
}

.wcellar-account-nav__menu li.is-active a {
    background-color: #fff;
    color: var(--color-accent);
    font-weight: var(--weight-medium);
    border-left: 3px solid var(--color-accent);
}

.wcellar-account-nav__menu li a svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.wcellar-account-nav__menu li.is-active a svg,
.wcellar-account-nav__menu li a:hover svg {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Dashboard Content
   -------------------------------------------------------------------------- */
.wcellar-dashboard__welcome {
    margin-bottom: var(--space-xl);
}

.wcellar-dashboard__welcome h1 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.wcellar-dashboard__welcome p {
    font-size: var(--text-base);
    color: var(--color-text-muted);
    line-height: var(--leading-relaxed);
}

/* Stats Cards */
.wcellar-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.wcellar-stat-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: #fafafa;
    border-radius: 8px;
    transition: transform var(--transition-base);
}

.wcellar-stat-card:hover {
    transform: translateY(-2px);
}

.wcellar-stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-text);
    color: #fff;
    border-radius: 8px;
}

.wcellar-stat-card__content {
    display: flex;
    flex-direction: column;
}

.wcellar-stat-card__value {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
}

.wcellar-stat-card__label {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

/* Section */
.wcellar-dashboard__section {
    margin-bottom: var(--space-xl);
}

.wcellar-dashboard__section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.wcellar-dashboard__section-header h2 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin: 0;
}

.wcellar-link {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.wcellar-link:hover {
    color: var(--color-accent);
}

/* Orders List */
.wcellar-orders-list {
    background-color: #fafafa;
    border-radius: 8px;
    overflow: hidden;
}

.wcellar-order-item {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

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

.wcellar-order-item__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wcellar-order-item__number {
    font-weight: var(--weight-medium);
    color: var(--color-text);
}

.wcellar-order-item__date {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.wcellar-order-item__total {
    font-weight: var(--weight-medium);
    color: var(--color-text);
}

/* Status Badge */
.wcellar-status {
    display: inline-block;
    padding: 4px 12px;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    border-radius: 4px;
    background-color: #e5e5e5;
    color: var(--color-text);
}

.wcellar-status--completed {
    background-color: #d4edda;
    color: #155724;
}

.wcellar-status--processing {
    background-color: #cce5ff;
    color: #004085;
}

.wcellar-status--on-hold {
    background-color: #fff3cd;
    color: #856404;
}

.wcellar-status--cancelled,
.wcellar-status--failed {
    background-color: #f8d7da;
    color: #721c24;
}

.wcellar-status--pending {
    background-color: #e2e3e5;
    color: #383d41;
}

/* Buttons */
.wcellar-btn {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    background-color: transparent;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.wcellar-btn:hover {
    background-color: var(--color-text);
    color: #fff;
}

.wcellar-btn--sm {
    padding: 4px 12px;
    font-size: var(--text-xs);
}

/* Empty State */
.wcellar-empty-state {
    text-align: center;
    padding: var(--space-xxl) var(--space-lg);
    background-color: #fafafa;
    border-radius: 8px;
}

.wcellar-empty-state svg {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.wcellar-empty-state p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

/* Quick Links */
.wcellar-dashboard__quicklinks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.wcellar-quicklink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background-color: #fafafa;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all var(--transition-base);
}

.wcellar-quicklink:hover {
    background-color: var(--color-text);
    color: #fff;
}

.wcellar-quicklink span {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .wcellar-myaccount {
        grid-template-columns: 240px 1fr;
        gap: var(--space-lg);
    }

    .wcellar-dashboard__stats {
        grid-template-columns: 1fr;
    }

    .wcellar-dashboard__quicklinks {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wcellar-myaccount {
        grid-template-columns: 1fr;
        padding-top: calc(80px + var(--space-lg));
    }

    .wcellar-myaccount__sidebar {
        position: relative;
        top: 0;
    }

    .wcellar-account-nav__profile {
        padding: var(--space-md);
    }

    .wcellar-account-nav__avatar img {
        width: 48px;
        height: 48px;
    }

    .wcellar-order-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .wcellar-order-item__info,
    .wcellar-order-item__status,
    .wcellar-order-item__total,
    .wcellar-order-item__action {
        justify-self: start;
    }
}

/* --------------------------------------------------------------------------
   WooCommerce Form Overrides
   -------------------------------------------------------------------------- */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: var(--text-md);
    margin-bottom: var(--space-sm);
}

.woocommerce-MyAccount-content form .form-row {
    margin-bottom: var(--space-md);
}

.woocommerce-MyAccount-content form label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.woocommerce-MyAccount-content form #account_display_name_description {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

.woocommerce-MyAccount-content form input[type="text"],
.woocommerce-MyAccount-content form input[type="email"],
.woocommerce-MyAccount-content form input[type="tel"],
.woocommerce-MyAccount-content form input[type="password"],
.woocommerce-MyAccount-content form select,
.woocommerce-MyAccount-content form textarea {
    width: 100%;
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: border-color var(--transition-base);
}

.woocommerce-MyAccount-content form input:focus,
.woocommerce-MyAccount-content form select:focus,
.woocommerce-MyAccount-content form textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.woocommerce-MyAccount-content form button[type="submit"],
.woocommerce-MyAccount-content form .button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #fff;
    background-color: var(--color-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.woocommerce-MyAccount-content form button[type="submit"]:hover,
.woocommerce-MyAccount-content form .button:hover {
    background-color: var(--color-accent);
}

/* Orders Table */
.woocommerce-MyAccount-content .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-MyAccount-content .woocommerce-orders-table th,
.woocommerce-MyAccount-content .woocommerce-orders-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-MyAccount-content .woocommerce-orders-table th {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    background-color: #fafafa;
}

.woocommerce-MyAccount-content .woocommerce-orders-table td {
    font-size: var(--text-sm);
}

.woocommerce-MyAccount-content .woocommerce-orders-table .button {
    padding: 4px 12px;
    font-size: var(--text-xs);
}

/* Address Cards */
.woocommerce-MyAccount-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

.woocommerce-MyAccount-content .woocommerce-Address {
    padding: var(--space-lg);
    background-color: #fafafa;
    border-radius: 8px;
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title {
    margin-bottom: var(--space-sm);
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title a {
    margin-top: 10px;
    margin-left: 0;
}

.woocommerce-MyAccount-content .woocommerce-Address .woocommerce-Address-title+address {
    font-size: var(--text-xs);
}

@media (max-width: 768px) {
    .woocommerce-MyAccount-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LOGIN / REGISTER PAGE
   ========================================================================== */

.wcellar-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}

.wcellar-auth__container {
    width: 100%;
    max-width: 440px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: var(--space-md);
}

/* Logo */
.wcellar-auth__logo {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.wcellar-auth__logo-text {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-wider);
    color: var(--color-text);
}

.wcellar-auth__logo a {
    text-decoration: none;
    color: inherit;
}

/* Title (when no tabs) */
.wcellar-auth__title {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.wcellar-auth__subtitle {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-lg);
}

/* Tabs */
.wcellar-auth__tabs {
    display: flex;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.wcellar-auth__tab {
    flex: 1;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.wcellar-auth__tab:hover {
    color: var(--color-text);
}

.wcellar-auth__tab--active {
    color: var(--color-text);
    border-bottom-color: var(--color-text);
}

/* Panels */
.wcellar-auth__panel {
    display: none;
}

.wcellar-auth__panel--active {
    display: block;
}

/* Form */
.wcellar-auth__form {
    margin: 0;
}

.wcellar-auth__field {
    margin-bottom: var(--space-md);
}

.wcellar-auth__field label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.wcellar-auth__input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #fafafa;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all var(--transition-base);
}

.wcellar-auth__input:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--color-text);
}

.wcellar-auth__input::placeholder {
    color: #999;
}

/* Password Wrapper */
.wcellar-auth__password-wrapper {
    position: relative;
}

.wcellar-auth__password-wrapper .wcellar-auth__input {
    padding-right: 48px;
}

.wcellar-auth__password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcellar-auth__password-toggle:hover {
    color: var(--color-text);
}

/* Options Row */
.wcellar-auth__options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

/* Custom Checkbox */
.wcellar-auth__checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-text);
    cursor: pointer;
}

.wcellar-auth__checkbox input {
    display: none;
}

.wcellar-auth__checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.wcellar-auth__checkbox input:checked+.checkmark {
    background-color: var(--color-text);
    border-color: var(--color-text);
}

.wcellar-auth__checkbox input:checked+.checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Forgot Password Link */
.wcellar-auth__forgot {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.wcellar-auth__forgot:hover {
    color: var(--color-accent);
}

/* Submit Button */
.wcellar-auth__submit {
    width: 100%;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #fff;
    background-color: var(--color-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.wcellar-auth__submit:hover {
    background-color: var(--color-accent);
}

/* Divider */
.wcellar-auth__divider {
    display: flex;
    align-items: center;
    margin: var(--space-lg) 0;
}

.wcellar-auth__divider::before,
.wcellar-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-border);
}

.wcellar-auth__divider span {
    padding: 0 var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Register Link */
.wcellar-auth__register-link {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
}

.wcellar-auth__register-link a {
    color: var(--color-text);
    font-weight: var(--weight-medium);
    text-decoration: none;
}

.wcellar-auth__register-link a:hover {
    color: var(--color-accent);
}

/* Notice */
.wcellar-auth__notice {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    background-color: #f5f5f5;
    border-radius: 6px;
    margin-bottom: var(--space-md);
}

.wcellar-auth__notice svg {
    flex-shrink: 0;
}

/* Terms */
.wcellar-auth__terms {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-align: center;
    margin-top: var(--space-md);
    line-height: var(--leading-relaxed);
}

.wcellar-auth__terms a {
    color: var(--color-text);
    text-decoration: underline;
}

/* ==========================================================================
   WooCommerce Notices - Global Styles
   ========================================================================== */

.woocommerce-notices-wrapper {
    position: fixed;
    top: 100px;
    right: var(--space-lg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    max-width: 400px;
    pointer-events: none;
}

body.has-promo-bar .woocommerce-notices-wrapper {
    top: calc(var(--logo-height) + var(--space-sm) * 2);
}

.woocommerce-notices-wrapper:empty {
    display: none;
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: 2px;
    font-size: var(--text-sm);
    font-weight: var(--weight-regular);
    line-height: 1.6;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    animation: wc-notice-slide-in 0.4s var(--ease-luxury) forwards;
    list-style: none;
    border-left: 3px solid;
}

.woocommerce-message p,
.woocommerce-error p,
.woocommerce-info p {
    margin: 0;
}

.woocommerce-info+.button {
    margin-top: 2rem;
}

.woocommerce-message.wc-notice-dismiss,
.woocommerce-error.wc-notice-dismiss,
.woocommerce-info.wc-notice-dismiss {
    animation: wc-notice-slide-out 0.3s var(--ease-luxury) forwards;
}

@keyframes wc-notice-slide-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wc-notice-slide-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* Success Message - Elegant Green */
.woocommerce-message {
    background-color: #f8faf9;
    border-left-color: #2d6a4f;
    color: #1a1a1a;
}

.woocommerce-message::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.woocommerce-message a {
    color: #2d6a4f;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: var(--weight-medium);
    transition: color 0.2s ease;
}

.woocommerce-message a:hover {
    color: #1b4332;
}

/* Error Message - Refined Red */
.woocommerce-error {
    background-color: #fdf8f8;
    border-left-color: #9b2c2c;
    color: #1a1a1a;
}

.woocommerce-error::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b2c2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.woocommerce-error a {
    color: #9b2c2c;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: var(--weight-medium);
}

.woocommerce-error a:hover {
    color: #742a2a;
}

/* Info Message - Subtle Neutral */
.woocommerce-info {
    background-color: #f9f9f9;
    border-left-color: #595959;
    color: #1a1a1a;
}

.woocommerce-info::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23595959' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.woocommerce-info a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: var(--weight-medium);
}

.woocommerce-info a:hover {
    color: #5a0015;
}

/* Notice Link Button Style */
.woocommerce-message a.button,
.woocommerce-error a.button,
.woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-Address a {
    display: inline-block;
    margin-left: var(--space-sm);
    padding: 6px 14px;
    background-color: transparent;
    border: 1px solid currentColor;
    border-radius: 2px;
    font-size: var(--text-xs);
    font-weight: var(--weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.woocommerce-message a.button:hover {
    background-color: #2d6a4f;
    border-color: #2d6a4f;
    color: #fff;
}

.woocommerce-error a.button:hover {
    background-color: #9b2c2c;
    border-color: #9b2c2c;
    color: #fff;
}

.woocommerce-info a.button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* WooCommerce Notices - Responsive */
@media (max-width: 600px) {
    .woocommerce-notices-wrapper {
        top: auto;
        bottom: var(--space-lg);
        left: var(--space-md);
        right: var(--space-md);
        max-width: none;
    }

    .woocommerce-message,
    .woocommerce-error,
    .woocommerce-info {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-xs);
    }

    .woocommerce-message a.button,
    .woocommerce-error a.button,
    .woocommerce-info a.button {
        display: block;
        margin-left: 0;
        margin-top: var(--space-sm);
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   WooCommerce Messages - Auth Page Override
   -------------------------------------------------------------------------- */
.wcellar-auth .woocommerce-error,
.wcellar-auth .woocommerce-message,
.wcellar-auth .woocommerce-info {
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    border-radius: 6px;
    font-size: var(--text-sm);
    list-style: none;
}

.wcellar-auth .woocommerce-error {
    background-color: #fef2f2;
    color: #dc2626;
    border-left: 3px solid #dc2626;
}

.wcellar-auth .woocommerce-message {
    background-color: #f0fdf4;
    color: #16a34a;
    border-left: 3px solid #16a34a;
}

.wcellar-auth .woocommerce-info {
    background-color: #eff6ff;
    color: #2563eb;
    border-left: 3px solid #2563eb;
}

/* Responsive */
@media (max-width: 480px) {
    .wcellar-auth {
        padding: calc(80px + var(--space-md)) var(--space-md) var(--space-md);
    }

    .wcellar-auth__container {
        padding: var(--space-lg);
        border-radius: 8px;
    }

    .wcellar-auth__options {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: flex-start;
    }
}

/* Hide page header on My Account pages */
.woocommerce-account .page-header,
.woocommerce-account .page-title,
.woocommerce-account .container>.page-content>.page-header {
    display: none;
}

/* Also hide the container wrapper padding on my-account */
.woocommerce-account .site-main>.container {
    max-width: 100%;
    padding: 0;
}

.woocommerce-account .site-main>.container>.page-content {
    margin: 0;
    padding: 0;
}

.woocommerce-account .site-main>.container>.page-content>.entry-content {
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   WISHLIST PAGE (TI WooCommerce Wishlist)
   ========================================================================== */

/* Hide page header on wishlist page */
.page-id-389 .page-header,
.page-id-389 .page-title {
    display: none;
}

/* Main Container */
.page-id-389 .site-main>.container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: calc(var(--space-xl)) var(--grid-margin) var(--space-xxl);
    min-height: 100vh;
}

.tinv-wishlist {
    font-family: var(--font-primary);
}

/* Wishlist Header */
.tinv-wishlist .tinv-header {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.tinv-wishlist .tinv-header h2 {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin: 0;
}

/* Table Styling */
.tinv-wishlist .tinvwl-table-manage-list {
    width: 100%;
    border-collapse: collapse;
    border: none;
    margin: 0;
}

.tinv-wishlist .tinvwl-table-manage-list thead {
    background-color: #fafafa;
}

.tinv-wishlist .tinvwl-table-manage-list thead th {
    padding: var(--space-md) var(--space-sm);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    border: none;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
}

.tinv-wishlist .tinvwl-table-manage-list tbody tr {
    border-bottom: 1px solid var(--color-border);
}

.tinv-wishlist .tinvwl-table-manage-list tbody tr:last-child {
    border-bottom: none;
}

.tinv-wishlist .tinvwl-table-manage-list tbody td {
    padding: var(--space-md) var(--space-sm);
    vertical-align: middle;
    border: none;
}

/* Checkbox Column */
.tinv-wishlist .product-cb {
    width: 40px;
    text-align: center;
}

.tinv-wishlist .product-cb input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Remove Button */
.tinv-wishlist .product-remove {
    width: 40px;
    text-align: center;
}

.tinv-wishlist .product-remove button {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: var(--space-xs);
    transition: color var(--transition-base);
    font-size: 16px;
}

.tinv-wishlist .product-remove button:hover {
    color: #dc2626;
}

/* Thumbnail */
.tinv-wishlist .product-thumbnail {
    width: 100px;
}

.tinv-wishlist .product-thumbnail img {
    width: 80px;
    height: 100px;
    object-fit: contain;
    background-color: #fafafa;
    border-radius: 4px;
}

/* Product Name */
.tinv-wishlist .product-name {
    min-width: 200px;
}

.tinv-wishlist .product-name a {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-base);
}

.tinv-wishlist .product-name a:hover {
    color: var(--color-accent);
}

.tinv-wishlist .product-name .variation {
    display: block;
    margin-top: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* Price */
.tinv-wishlist .product-price {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    white-space: nowrap;
}

.tinv-wishlist .product-price del {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-right: var(--space-xs);
}

.tinv-wishlist .product-price ins {
    text-decoration: none;
    color: var(--color-accent);
}

/* Date */
.tinv-wishlist .product-date {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    white-space: nowrap;
}

/* Stock Status */
.tinv-wishlist .product-stock .stock {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    margin: 0;
}

.tinv-wishlist .product-stock .in-stock {
    color: #16a34a;
}

.tinv-wishlist .product-stock .out-of-stock {
    color: #dc2626;
}

/* Action Button (Add to Cart) */
.tinv-wishlist .product-action {
    text-align: right;
}

.tinv-wishlist .product-action .button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #fff;
    background-color: var(--color-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-base);
    white-space: nowrap;
}

.tinv-wishlist .product-action .button:hover {
    background-color: var(--color-accent);
}

.tinv-wishlist .product-action .button i {
    font-size: 14px;
}

/* Table Footer */
.tinv-wishlist .tinvwl-table-manage-list tfoot {
    background-color: #fafafa;
}

.tinv-wishlist .tinvwl-table-manage-list tfoot td {
    padding: var(--space-md);
}

/* Bulk Actions */
.tinv-wishlist .tinvwl-to-left,
.tinv-wishlist .tinvwl-to-right {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.tinv-wishlist .tinvwl-to-right {
    justify-content: flex-end;
}

.tinv-wishlist select {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
}

.tinv-wishlist .tinvwl-table-manage-list button[name="tinvwl-action-product_all"],
.tinv-wishlist .tinvwl-table-manage-list button[name="tinvwl-action-product_selected"] {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.tinv-wishlist .tinvwl-table-manage-list button[name="tinvwl-action-product_all"]:hover,
.tinv-wishlist .tinvwl-table-manage-list button[name="tinvwl-action-product_selected"]:hover {
    background-color: var(--color-text);
    border-color: var(--color-text);
    color: #fff;
}

/* Social Sharing */
.tinv-wishlist .social-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.tinv-wishlist .social-buttons span {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.tinv-wishlist .social-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition-base);
}

.tinv-wishlist .social-buttons a:hover {
    background-color: var(--color-text);
    color: #fff;
}

/* Empty Wishlist */
.tinv-wishlist .cart-empty {
    text-align: center;
    padding: var(--space-xxl) var(--space-lg);
    background-color: #fafafa;
    border-radius: 8px;
    margin-bottom: var(--space-lg);
}

.tinv-wishlist .cart-empty::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.tinv-wishlist .return-to-shop {
    text-align: center;
}

.tinv-wishlist .return-to-shop .button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: #fff;
    background-color: var(--color-text);
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color var(--transition-base);
}

.tinv-wishlist .return-to-shop .button:hover {
    background-color: var(--color-accent);
}

/* Pagination */
.tinv-wishlist .tinv-lists-nav {
    margin-top: var(--space-lg);
    text-align: center;
}

.tinv-wishlist .tinv-lists-nav .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 var(--space-sm);
    margin: 0 2px;
    font-size: var(--text-sm);
    color: var(--color-text);
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-base);
}

.tinv-wishlist .tinv-lists-nav .page-numbers:hover,
.tinv-wishlist .tinv-lists-nav .page-numbers.current {
    background-color: var(--color-text);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .page-id-389 .site-main>.container {
        padding: calc(80px + var(--space-lg)) var(--space-md) var(--space-xl);
    }

    .tinv-wishlist .tinvwl-table-manage-list,
    .tinv-wishlist .tinvwl-table-manage-list thead,
    .tinv-wishlist .tinvwl-table-manage-list tbody,
    .tinv-wishlist .tinvwl-table-manage-list th,
    .tinv-wishlist .tinvwl-table-manage-list td,
    .tinv-wishlist .tinvwl-table-manage-list tr {
        display: block;
    }

    .tinv-wishlist .tinvwl-table-manage-list thead {
        display: none;
    }

    .tinv-wishlist .tinvwl-table-manage-list tbody tr {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
        background-color: #fafafa;
        border-radius: 8px;
        border: none;
    }

    .tinv-wishlist .tinvwl-table-manage-list tbody td {
        padding: var(--space-xs) 0;
        text-align: left;
    }

    .tinv-wishlist .product-cb {
        position: absolute;
        top: var(--space-sm);
        left: var(--space-sm);
        width: auto;
    }

    .tinv-wishlist .product-remove {
        position: absolute;
        top: var(--space-sm);
        right: var(--space-sm);
        width: auto;
    }

    .tinv-wishlist .product-thumbnail {
        width: 100%;
        text-align: center;
        margin-bottom: var(--space-sm);
    }

    .tinv-wishlist .product-thumbnail img {
        width: 120px;
        height: 150px;
    }

    .tinv-wishlist .product-name {
        text-align: center;
    }

    .tinv-wishlist .product-price {
        text-align: center;
    }

    .tinv-wishlist .product-action {
        text-align: center;
        margin-top: var(--space-sm);
    }

    .tinv-wishlist .product-action .button {
        width: 100%;
        justify-content: center;
    }

    .tinv-wishlist tbody tr {
        position: relative;
    }

    .tinv-wishlist .tinvwl-to-left,
    .tinv-wishlist .tinvwl-to-right {
        justify-content: center;
    }
}

/* Hide default plugin icons - use our own styling */
.tinv-wishlist .ftinvwl-times::before {
    content: '×';
    font-family: var(--font-primary);
    font-size: 18px;
    font-style: normal;
}

.tinv-wishlist .ftinvwl-check::before {
    content: '✓';
    font-family: var(--font-primary);
    font-style: normal;
}

/* ==========================================================================
   CART PAGE STYLES
   ========================================================================== */

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
    font-size: var(--text-lg);
    text-align: center;
}

/* --------------------------------------------------------------------------
   Cart Page Layout (WooCommerce Cart Block)
   -------------------------------------------------------------------------- */
.woocommerce-cart .site-main {
    max-width: 100%;
    padding: 0;
}

.woocommerce-cart .site-main>.container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
    box-sizing: border-box;
}

.woocommerce-cart .entry-content {
    max-width: 100%;
    padding: 0;
}

/* Cart Block Container */
.woocommerce-cart .wp-block-woocommerce-cart {
    max-width: 100%;
}

/* Hide product description in Cart & Checkout (WooCommerce Blocks) */
.woocommerce-cart .wc-block-components-product-metadata__description,
.woocommerce-checkout .wc-block-components-product-metadata__description {
    display: none;
}

.woocommerce-cart .wc-block-components-sidebar-layout.wc-block-cart {
    align-items: flex-start;
}

.woocommerce-cart .wc-block-components-sidebar {
    padding: 1.5rem;
    background: #f5f5f5;
}

.woocommerce-cart .wc-block-cart .wc-block-cart__totals-title {
    font-weight: bold;
    font-size: var(--text-sm);
    padding-top: 0;
    padding-bottom: 16px;
}

.woocommerce-cart .wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
    border-bottom: 0;
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit {
    margin-bottom: 0;
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit a {
    background-color: #000;
    color: #fff;
}

.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit a:hover {
    background-color: var(--color-accent);
}

/* ==========================================================================
   CHECKOUT PAGE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   Checkout Page Layout (WooCommerce Checkout Block)
   -------------------------------------------------------------------------- */
.woocommerce-checkout .site-main {
    max-width: 100%;
    padding: 0;
}

.woocommerce-checkout .site-main>.container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--grid-margin);
    box-sizing: border-box;
}

.woocommerce-checkout .entry-content {
    max-width: 100%;
    padding: 0;
}

/* Checkout Block Container */
.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 100%;
}

/* ==========================================================================
   ORDER RECEIVED (Thank You) PAGE STYLES
   ========================================================================== */

/* Hide page header on order received page */
.woocommerce-order-received .page-header {
    display: none;
}

.woocommerce-order-received .woocommerce {
    padding: var(--space-xl) var(--grid-margin);
    max-width: 800px;
    margin: 0 auto;
}

.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-thankyou-order-received {
    text-align: center;
    font-size: var(--text-lg);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    padding: var(--space-lg);
    background-color: #f0fff4;
    border-radius: 8px;
    margin-bottom: var(--space-xl);
}

/* Order Details Section */
.woocommerce-order-received .woocommerce-order-overview {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
    background-color: #fafafa;
    padding: var(--space-lg);
    border-radius: 8px;
}

.woocommerce-order-received .woocommerce-order-overview li {
    text-align: center;
}

.woocommerce-order-received .woocommerce-order-overview li strong {
    display: block;
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-top: var(--space-xs);
}

/* Order Details Table */
.woocommerce-order-received .woocommerce-order-details {
    margin-bottom: var(--space-xl);
}

.woocommerce-order-received .woocommerce-order-details h2 {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-order-received table.shop_table {
    width: 100%;
    border: none;
}

.woocommerce-order-received table.shop_table th,
.woocommerce-order-received table.shop_table td {
    padding: var(--space-sm) 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-order-received table.shop_table thead th {
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
}

/* Customer Details */
.woocommerce-order-received .woocommerce-customer-details {
    margin-bottom: var(--space-xl);
}

.woocommerce-order-received .woocommerce-customer-details h2 {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-order-received .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.woocommerce-order-received .woocommerce-column--billing-address,
.woocommerce-order-received .woocommerce-column--shipping-address {
    background-color: #fafafa;
    padding: var(--space-md);
    border-radius: 4px;
}

.woocommerce-order-received .woocommerce-column--billing-address h3,
.woocommerce-order-received .woocommerce-column--shipping-address h3 {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-sm);
}

.woocommerce-order-received .woocommerce-column--billing-address address,
.woocommerce-order-received .woocommerce-column--shipping-address address {
    font-style: normal;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .woocommerce-order-received .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MY ACCOUNT - VIEW ORDER PAGE STYLES
   ========================================================================== */

/* Order Details Section */
.woocommerce-account .woocommerce-order-details {
    margin-bottom: var(--space-xl);
    background-color: #FFFFFF;
}

.woocommerce-account .woocommerce-order-details h2,
.woocommerce-account .woocommerce-order-details .woocommerce-order-details__title {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

/* Order Details Table */
.woocommerce-account .woocommerce-table--order-details,
.woocommerce-account table.order_details {
    width: 100%;
    border: none;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.woocommerce-account .woocommerce-table--order-details thead th,
.woocommerce-account table.order_details thead th {
    background-color: #fafafa;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--color-text-muted);
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-account .woocommerce-table--order-details tbody td,
.woocommerce-account table.order_details tbody td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.woocommerce-account .woocommerce-table--order-details tbody tr:hover,
.woocommerce-account table.order_details tbody tr:hover {
    background-color: #fafafa;
}

/* Product Name in Order */
.woocommerce-account .woocommerce-table--order-details .product-name a,
.woocommerce-account table.order_details .product-name a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--weight-medium);
    transition: color var(--transition-fast);
}

.woocommerce-account .woocommerce-table--order-details .product-name a:hover,
.woocommerce-account table.order_details .product-name a:hover {
    color: var(--color-accent);
}

.woocommerce-account .woocommerce-table--order-details .product-name .product-quantity,
.woocommerce-account table.order_details .product-name strong {
    color: var(--color-text-muted);
    font-weight: var(--weight-normal);
}

/* Order Totals */
.woocommerce-account .woocommerce-table--order-details tfoot th,
.woocommerce-account table.order_details tfoot th {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--color-text-muted);
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-account .woocommerce-table--order-details tfoot td,
.woocommerce-account table.order_details tfoot td {
    font-size: var(--text-base);
    font-weight: var(--weight-medium);
    color: var(--color-text);
    padding: var(--space-sm) var(--space-md);
    text-align: right;
    border-bottom: 1px solid var(--color-border);
}

.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td,
.woocommerce-account table.order_details tfoot tr:last-child th,
.woocommerce-account table.order_details tfoot tr:last-child td {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    padding-top: var(--space-md);
    border-bottom: none;
}

.woocommerce-account .woocommerce-table--order-details tfoot tr:last-child td .amount,
.woocommerce-account table.order_details tfoot tr:last-child td .amount {
    color: var(--color-accent);
}

/* Customer Details Section */
.woocommerce-account .woocommerce-customer-details {
    margin-bottom: var(--space-xl);
}

.woocommerce-account .woocommerce-customer-details h2 {
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

/* Address Columns */
.woocommerce-account .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.woocommerce-account .woocommerce-column--billing-address,
.woocommerce-account .woocommerce-column--shipping-address {
    background-color: #fafafa;
    padding: var(--space-lg);
    border-radius: 8px;
}

.woocommerce-account .woocommerce-column--billing-address h3,
.woocommerce-account .woocommerce-column--shipping-address h3 {
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.woocommerce-account .woocommerce-column--billing-address address,
.woocommerce-account .woocommerce-column--shipping-address address {
    font-style: normal;
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-text-muted);
}

.woocommerce-account .woocommerce-column--billing-address address p,
.woocommerce-account .woocommerce-column--shipping-address address p {
    margin: 0 0 var(--space-xs);
}

/* Order Status Badge */
.woocommerce-account .woocommerce-order-details mark.order-status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background-color: #fafafa;
    border-radius: 4px;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.woocommerce-account .woocommerce-order-details mark.order-status.status-completed {
    background-color: #dcfce7;
    color: #16a34a;
}

.woocommerce-account .woocommerce-order-details mark.order-status.status-processing {
    background-color: #dbeafe;
    color: #2563eb;
}

.woocommerce-account .woocommerce-order-details mark.order-status.status-on-hold {
    background-color: #fef3c7;
    color: #d97706;
}

.woocommerce-account .woocommerce-order-details mark.order-status.status-pending {
    background-color: #f3f4f6;
    color: #6b7280;
}

.woocommerce-account .woocommerce-order-details mark.order-status.status-cancelled,
.woocommerce-account .woocommerce-order-details mark.order-status.status-failed {
    background-color: #fee2e2;
    color: #dc2626;
}

/* Order Info Header */
.woocommerce-account p.order-info {
    background-color: #fafafa;
    padding: var(--space-md);
    border-radius: 8px;
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

.woocommerce-account p.order-info mark {
    background-color: transparent;
    font-weight: var(--weight-bold);
    color: var(--color-text);
}

/* Order Actions Buttons */
.woocommerce-account .woocommerce-order-details+.order-again,
.woocommerce-account .order-again {
    margin-top: var(--space-lg);
}

.woocommerce-account .order-again .button {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-text);
    color: #FFFFFF;
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    text-decoration: none;
    border: 1px solid var(--color-text);
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.woocommerce-account .order-again .button:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }

    .woocommerce-account .woocommerce-table--order-details thead,
    .woocommerce-account table.order_details thead {
        display: none;
    }

    .woocommerce-account .woocommerce-table--order-details,
    .woocommerce-account .woocommerce-table--order-details tbody,
    .woocommerce-account .woocommerce-table--order-details tr,
    .woocommerce-account .woocommerce-table--order-details td,
    .woocommerce-account table.order_details,
    .woocommerce-account table.order_details tbody,
    .woocommerce-account table.order_details tr,
    .woocommerce-account table.order_details td {
        display: block;
    }

    .woocommerce-account .woocommerce-table--order-details tbody tr,
    .woocommerce-account table.order_details tbody tr {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
        background-color: #fafafa;
        border-radius: 8px;
        border: none;
    }

    .woocommerce-account .woocommerce-table--order-details tbody td,
    .woocommerce-account table.order_details tbody td {
        padding: var(--space-xs) 0;
        border: none;
        text-align: left;
    }

    .woocommerce-account .woocommerce-table--order-details tbody td::before,
    .woocommerce-account table.order_details tbody td::before {
        display: block;
        font-size: var(--text-xs);
        font-weight: var(--weight-bold);
        text-transform: uppercase;
        letter-spacing: var(--tracking-wide);
        color: var(--color-text-muted);
        margin-bottom: var(--space-xs);
    }

    .woocommerce-account .woocommerce-table--order-details tfoot,
    .woocommerce-account table.order_details tfoot {
        display: block;
        background-color: #fafafa;
        padding: var(--space-md);
        border-radius: 8px;
    }

    .woocommerce-account .woocommerce-table--order-details tfoot tr,
    .woocommerce-account table.order_details tfoot tr {
        display: flex;
        justify-content: space-between;
        padding: var(--space-xs) 0;
    }

    .woocommerce-account .woocommerce-table--order-details tfoot th,
    .woocommerce-account .woocommerce-table--order-details tfoot td,
    .woocommerce-account table.order_details tfoot th,
    .woocommerce-account table.order_details tfoot td {
        padding: 0;
        border: none;
    }
}

/* ==========================================================================
   PAGE TITLE BANNER
   ========================================================================== */

.page-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: var(--space-xxl) var(--grid-margin);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.page-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    z-index: 1;
}

.page-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner__heading {
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin: 0 0 var(--space-md);
    line-height: var(--leading-tight);
}

.page-banner__description {
    font-size: var(--text-md);
    font-weight: var(--weight-normal);
    line-height: var(--leading-relaxed);
    margin: 0;
    opacity: 0.9;
}

/* Text Color Variations */
.page-banner--text-light .page-banner__heading,
.page-banner--text-light .page-banner__description {
    color: #FFFFFF;
}

.page-banner--text-dark .page-banner__heading,
.page-banner--text-dark .page-banner__description {
    color: var(--color-text);
}

/* Text Alignment Variations */
.page-banner--align-left {
    justify-content: flex-start;
}

.page-banner--align-left .page-banner__content {
    text-align: left;
    margin: 0;
}

.page-banner--align-center {
    justify-content: center;
}

.page-banner--align-center .page-banner__content {
    text-align: center;
    margin: 0 auto;
}

.page-banner--align-right {
    justify-content: flex-end;
}

.page-banner--align-right .page-banner__content {
    text-align: right;
    margin: 0;
}

/* With Image - ensure proper stacking */
.page-banner--has-image {
    min-height: 350px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-banner {
        min-height: 250px;
        padding: var(--space-xl) var(--space-md);
    }

    .page-banner--has-image {
        min-height: 280px;
    }

    .page-banner__heading {
        font-size: var(--text-xl);
    }

    .page-banner__description {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .page-banner {
        min-height: 200px;
    }

    .page-banner__heading {
        font-size: var(--text-lg);
        letter-spacing: var(--tracking-wide);
    }
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */

.faq-content .accordion-item__toggle {
    padding: 0;
    font-size: 1.35rem;
    font-weight: 500;
}

.faq-content .wp-block-woocommerce-accordion-item {
    padding: 1.5rem;
    background: #f3f3f3;
    margin-bottom: .2rem;
}

.faq-content .wp-block-woocommerce-accordion-item p {
    padding: 0;
    margin: 1rem 0 0;
}

.faq-content .wp-block-woocommerce-accordion-item p+p {
    margin-top: 0.35rem;
}

/* ==========================================================================
   Infinite Scroll Loader
   ========================================================================== */

.wcellar-infinite-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    min-height: 80px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wcellar-infinite-loader.loading {
    opacity: 1;
}

.wcellar-loader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-border, #e5e5e5);
    border-top-color: var(--color-accent, #800020);
    border-radius: 50%;
    animation: wcellar-spin 0.8s linear infinite;
}

@keyframes wcellar-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   MOBILE RESPONSIVE DESIGN
   Mobile-First Breakpoints:
   - Mobile: 320px ~ 480px (default styles)
   - Tablet: 481px ~ 768px
   - Desktop: 769px+
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile Breakpoint Variables
   -------------------------------------------------------------------------- */
:root {
    --mobile-header-height: 90px;
    --mobile-menu-bg: #1a1a1a;
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
}

/* Transform hamburger to X when menu is open */
body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(2) {
    opacity: 0;
}

body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --------------------------------------------------------------------------
   Simple Mobile Menu (Full Screen Overlay)
   -------------------------------------------------------------------------- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 100px 40px 60px;
}

body.mobile-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
}

body.mobile-menu-open {
    overflow: hidden;
}

/* Close Button */
.mobile-menu__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: opacity 0.2s ease;
}

.mobile-menu__close:hover {
    opacity: 0.6;
}

/* Navigation */
.mobile-menu__nav {
    flex: 1;
    display: flex;
    align-items: center;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.mobile-menu__list li {
    margin: 0;
    padding: 0;
}

.mobile-menu__list a {
    display: block;
    font-size: 28px;
    font-weight: 300;
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.mobile-menu__list a:hover {
    opacity: 0.6;
}

/* Parent menu items with children */
.mobile-menu__list .menu-item-has-children>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu__list .menu-item-has-children>a::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.mobile-menu__list .menu-item-has-children.is-open>a::after {
    content: '−';
}

/* Submenu - Accordion Style */
.mobile-menu__list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu__list .menu-item-has-children.is-open>.sub-menu {
    max-height: 500px;
}

.mobile-menu__list .sub-menu li {
    margin: 0;
    padding: 0;
}

.mobile-menu__list .is-open>.sub-menu {
    margin-bottom: 10px;
}

.mobile-menu__list .sub-menu a {
    font-size: 16px;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-menu__list .sub-menu a:hover {
    color: #fff;
    opacity: 1;
}

/* Nested submenu (3rd level) */
.mobile-menu__list .sub-menu .sub-menu {
    padding-left: 16px;
}

.mobile-menu__list .sub-menu .sub-menu a {
    font-size: 14px;
    padding: 8px 0;
}

/* Footer Links */
.mobile-menu__footer {
    display: flex;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-menu__link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.mobile-menu__link:hover {
    color: #fff;
}

/* --------------------------------------------------------------------------
   Mobile Filter Toggle
   -------------------------------------------------------------------------- */
.mobile-menu-toggle {
    position: fixed;
    display: none;
    top: 18px;
    left: 20px;
    z-index: 100000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: top 0.3s ease;
}

.mobile-menu-toggle .hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

/* ==========================================================================
   TABLET/MOBILE NAV STYLES (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

    /* Header - Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }

    .site-branding {
        flex: 1;
        text-align: center;
    }

    .mobile-menu__list .sub-menu a {
        font-size: 20px;
        padding: 5px 0;
    }

    .mobile-menu__list .sub-menu .sub-menu a {
        font-size: 18px;
        padding: 5px 0;
    }

    /* Header */
    .site-header .header-inner {
        padding: 0 16px;
    }

    .site-title {
        font-size: 18px;
    }

    /* Hide wishlist on smaller tablets */
    .header-right .wishlist-icon {
        display: none;
    }

    .header-left {
        display: none;
    }

    .header-right {
        position: fixed;
        right: 20px;
        transition: top 0.3s ease;
    }

    /* Adjust for promo bar */
    body.has-promo-bar .mobile-menu-toggle,
    body.has-promo-bar .header-right {
        top: 51px;
        /* 18px + 40px promo bar */
    }

    body.has-promo-bar.promo-bar-hidden .mobile-menu-toggle,
    body.has-promo-bar.promo-bar-hidden .header-right {
        top: 11px;
        /* Back to normal when promo bar is hidden on scroll */
    }

    /* When menu is open - transform to X, fixed position regardless of promo bar */
    body.mobile-menu-open .mobile-menu-toggle {
        top: 20px !important;
        z-index: 100001;
    }

    body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    body.mobile-menu-open .mobile-menu-toggle .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Body offset for fixed header */
    body {
        padding-top: var(--mobile-header-height);
    }

    body.has-promo-bar {
        padding-top: calc(var(--mobile-header-height) + 40px);
    }

    /* Container adjustments */
    :root {
        --grid-margin: 16px;
        --grid-gutter: 16px;
    }

    /* PLP Container */
    .plp-container {
        display: block;
        padding: var(--space-md) var(--grid-margin);
    }

    /* Filter Sidebar - Hidden by default on mobile */
    .filter-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--color-bg);
        z-index: 100001;
        padding: var(--space-xl) 20px 20px;
        overflow-y: auto;
    }

    .filter-sidebar.is-open {
        display: block;
        padding-top: var(--space-xl);
    }

    /* Mobile Filter Toggle Button visibility */
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 11px;
        border: 1px solid var(--color-border);
        font-family: var(--font-primary);
        font-size: 11px;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
        min-width: unset;
    }


    .plp-sort-toggle {
        font-size: 11px;
        border: 1px solid var(--color-border);
        padding: 11px;
    }

    /* Product Grid - 2 columns on tablet */
    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .wcellar-pdp__gallery .woocommerce-product-gallery__image>a {
        max-width: 600px;
        margin: 0 auto;
    }

    /* Product Card adjustments */
    .product-card {
        padding-bottom: 16px;
    }

    .product-info {
        padding: 0;
    }

    .product-name {
        font-size: 13px;
        line-height: 1.4;
    }

    .product-brand {
        font-size: 10px;
    }

    .product-price {
        font-size: 12px;
    }

    /* PLP Banner */
    .plp-banner--height-small {
        min-height: 100px;
    }

    .plp-banner--height-medium {
        min-height: 140px;
    }

    .plp-banner--height-large {
        min-height: 180px;
    }

    .plp-banner__heading {
        font-size: var(--text-xl);
    }

    .plp-banner__content {
        padding: var(--space-md);
    }

    /* Breadcrumb */
    .plp-breadcrumb-wrapper {
        display: flex;
        padding: var(--space-xs) var(--grid-margin);
        flex-direction: row;
        align-items: center;
        gap: var(--space-xs);
    }

    .plp-breadcrumb {
        font-size: 11px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-newsletter-col {
        grid-column: span 2;
    }

    .footer-bottom-grid {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    /* Typography adjustments */
    h1,
    .h1 {
        font-size: var(--text-xl);
    }

    h2,
    .h2 {
        font-size: var(--text-lg);
    }

    h3,
    .h3 {
        font-size: var(--text-md);
    }

    /* PDP (Product Detail Page) - Tablet */
    .wcellar-pdp {
        padding: var(--space-md) var(--grid-margin);
    }

    .wcellar-pdp__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wcellar-pdp__gallery {
        position: relative;
        top: 0;
    }

    .wcellar-pdp__gallery .woocommerce-product-gallery__image img {
        width: 100%;
        max-height: 60vh;
        object-fit: contain;
    }

    .wcellar-pdp__title {
        font-size: var(--text-lg);
    }

    .wcellar-pdp__price .woocommerce-Price-amount {
        font-size: var(--text-lg);
    }

    .wcellar-pdp__actions form.cart {
        flex-wrap: wrap;
    }

    .wcellar-pdp__quantity-wrapper {
        flex: 0 0 100%;
        margin-bottom: var(--space-sm);
    }

    .wcellar-pdp__actions .single_add_to_cart_button {
        flex: 1;
    }

    .wcellar-pdp__specs {
        grid-template-columns: 1fr;
    }

    .wcellar-pdp__tasting-tags {
        flex-wrap: wrap;
    }

    /* Related Products - Tablet */
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   TABLET STYLES (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .header-right {
        gap: 0;
    }
}

/* ==========================================================================
   MOBILE STYLES (320px - 480px)
   ========================================================================== */
@media (max-width: 480px) {

    /* Header */
    .site-header .header-inner {
        padding: 0;
    }

    .site-title {
        font-size: 16px;
    }

    .header-right .nav-icon {
        padding: 0;
        width: 32px;
    }

    .header-right .nav-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Container */
    :root {
        --grid-margin: 12px;
        --grid-gutter: 12px;
    }

    /* Product Grid - Single column on mobile */
    .product-grid,
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card .product-card-image {
        aspect-ratio: 1;
    }

    .product-card .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-card .product-info {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .product-name {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .product-brand {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-price {
        font-size: 13px;
    }

    /* PLP Banner */
    .plp-banner--height-small {
        min-height: 80px;
    }

    .plp-banner--height-medium {
        min-height: 120px;
    }

    .plp-banner--height-large {
        min-height: 160px;
    }

    .plp-banner__heading {
        font-size: var(--text-lg);
    }

    .plp-banner__description {
        font-size: 13px;
    }

    /* Mobile Menu adjustments */
    .mobile-menu-container {
        padding: calc(var(--mobile-header-height) + 10px) 16px 30px;
    }

    .mobile-nav-list li a {
        padding: 16px 0;
        font-size: 16px;
    }

    /* Footer - Single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-newsletter-col {
        grid-column: span 1;
    }

    .footer-col-title {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-newsletter-form input[type="email"] {
        font-size: 14px;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .footer-legal a {
        font-size: 11px;
    }

    /* PDP (Product Detail Page) - Mobile */
    .wcellar-pdp__title {
        font-size: var(--text-md);
        line-height: 1.3;
    }

    .wcellar-pdp__wine-name {
        font-size: var(--text-sm);
    }

    .wcellar-pdp__brand-region {
        flex-wrap: wrap;
        gap: 4px;
    }

    .wcellar-pdp__brand,
    .wcellar-pdp__region {
        font-size: 11px;
    }

    .wcellar-pdp__rating-link {
        flex-wrap: wrap;
    }

    .wcellar-pdp__rating-stars svg {
        width: 14px;
        height: 14px;
    }

    .wcellar-pdp__price {
        margin: var(--space-sm) 0;
    }

    .wcellar-pdp__price .woocommerce-Price-amount {
        font-size: var(--text-md);
    }

    .wcellar-pdp__actions form.cart {
        gap: var(--space-sm);
    }

    .wcellar-pdp__quantity-wrapper {
        justify-content: center;
    }

    .wcellar-pdp__actions .single_add_to_cart_button {
        width: 100%;
        padding: 16px 20px;
        font-size: var(--text-sm);
    }

    .wcellar-pdp__spec {
        padding: 10px 0;
    }

    .wcellar-pdp__spec-label {
        font-size: 11px;
        min-width: 70px;
    }

    .wcellar-pdp__spec-value {
        font-size: 13px;
    }

    .wcellar-pdp__description {
        font-size: 14px;
        line-height: 1.7;
    }

    .wcellar-pdp__tasting-title {
        font-size: var(--text-sm);
    }

    .wcellar-pdp__tasting-tag {
        font-size: 12px;
        padding: 6px 10px;
    }

    /* Related Products - Mobile */
    .related.products ul.products {
        grid-template-columns: 1fr;
    }

    .related.products>h2 {
        font-size: var(--text-md);
    }

    /* Vintage Navigator - Mobile */
    .wcellar-vintage-navigator {
        padding: var(--space-md) 0;
    }

    .wcellar-vintage-navigator__title {
        font-size: var(--text-sm);
    }

    /* Typography */
    h1,
    .h1 {
        font-size: var(--text-lg);
        letter-spacing: 0.08em;
    }

    h2,
    .h2 {
        font-size: var(--text-md);
    }

    h3,
    .h3 {
        font-size: var(--text-base);
    }

    /* Spacing adjustments */
    .site-main>.container {
        padding: var(--space-lg) var(--grid-margin);
    }
}

/* --------------------------------------------------------------------------
   Mobile Filter Panel Close Button
   -------------------------------------------------------------------------- */
.mobile-filter-close {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.mobile-filter-close svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .filter-sidebar.is-open .mobile-filter-close {
        display: flex;
    }
}

/* Prevent horizontal scroll - use clip instead of hidden to preserve sticky behavior */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {

    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }
}

/* --------------------------------------------------------------------------
   Responsive Tables - Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Table wrapper for horizontal scroll */
    .table-responsive,
    .wcellar-table-wrapper {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: var(--space-md);
    }

    .table-responsive table,
    .wcellar-table-wrapper table {
        min-width: 600px;
    }

    /* WooCommerce Cart Table */
    .woocommerce-cart-form__contents {
        display: block;
        width: 100%;
    }

    .woocommerce-cart-form .shop_table {
        display: block;
        overflow-x: auto;
    }

    /* WooCommerce Order Details Table */
    .woocommerce-table--order-details {
        display: block;
        overflow-x: auto;
    }

    /* My Account Tables */
    .woocommerce-orders-table,
    .woocommerce-MyAccount-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Card-style table transformation for simple tables */
    .wcellar-card-table {
        display: block;
    }

    .wcellar-card-table thead {
        display: none;
    }

    .wcellar-card-table tbody {
        display: block;
    }

    .wcellar-card-table tr {
        display: block;
        margin-bottom: var(--space-md);
        padding: var(--space-md);
        border: 1px solid var(--color-border);
        background: var(--color-bg);
    }

    .wcellar-card-table td {
        display: flex;
        justify-content: space-between;
        padding: var(--space-xs) 0;
        border: none;
        border-bottom: 1px solid var(--color-border);
    }

    .wcellar-card-table td:last-child {
        border-bottom: none;
    }

    .wcellar-card-table td::before {
        content: attr(data-label);
        font-weight: var(--weight-medium);
        color: var(--color-text-muted);
        text-transform: uppercase;
        font-size: var(--text-xs);
        letter-spacing: var(--tracking-wide);
    }
}

/* --------------------------------------------------------------------------
   WooCommerce Cart - Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .woocommerce-cart .cart-collaterals {
        margin-top: var(--space-lg);
    }

    .woocommerce-cart .cart_totals {
        width: 100%;
        float: none;
    }

    .woocommerce-cart .cart_totals table {
        width: 100%;
    }

    .woocommerce .cart .product-thumbnail {
        width: 80px;
    }

    .woocommerce .cart .product-thumbnail img {
        width: 60px;
        height: auto;
    }
}

/* --------------------------------------------------------------------------
   WooCommerce Checkout - Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set {
        display: block;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100%;
        float: none;
        margin-bottom: var(--space-lg);
    }

    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review {
        width: 100%;
        float: none;
    }

    .woocommerce form .form-row {
        width: 100%;
        float: none;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   My Account - Mobile Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation {
        width: 100%;
        float: none;
        margin-bottom: var(--space-lg);
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-wrap: wrap;
        gap: var(--space-xs);
        padding: 0;
        list-style: none;
    }

    .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 calc(50% - var(--space-xs));
    }

    .woocommerce-MyAccount-navigation ul li a {
        display: block;
        padding: var(--space-sm);
        text-align: center;
        background: #f8f8f8;
        border: 1px solid var(--color-border);
        font-size: var(--text-xs);
        text-transform: uppercase;
        letter-spacing: var(--tracking-wide);
    }

    .woocommerce-MyAccount-navigation ul li.is-active a {
        background: var(--color-text);
        color: #fff;
        border-color: var(--color-text);
    }

    .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }
}

/* ==========================================================================
   IMAGE OPTIMIZATION STYLES
   Lazy loading, blur-up effect, and responsive images
   ========================================================================== */

/* --------------------------------------------------------------------------
   Picture Element Wrapper
   -------------------------------------------------------------------------- */
.wcellar-picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.wcellar-picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   Lazy Loading States
   -------------------------------------------------------------------------- */
img.lazy-load,
img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.lazy-loaded {
    opacity: 1;
}

img.lazy-loading {
    opacity: 0.5;
    filter: blur(5px);
}

img.lazy-error {
    opacity: 0.3;
}

/* Placeholder fallback */
img.placeholder-fallback,
img.wcellar-placeholder {
    object-fit: contain;
    background: #f8f8f8;
}

/* --------------------------------------------------------------------------
   Progressive Image Loading (Blur-up Effect)
   -------------------------------------------------------------------------- */
.progressive-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.progressive-image .placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px);
    transform: scale(1.1);
    transition: opacity 0.4s ease;
}

.progressive-image .full-image {
    position: relative;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.progressive-image.loaded .placeholder-image {
    opacity: 0;
}

.progressive-image.loaded .full-image {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Product Image Optimization
   -------------------------------------------------------------------------- */
.product-card-image {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-luxury), opacity 0.3s ease;
}

.product-card-image img.lazy-loading {
    filter: blur(10px);
    transform: scale(1.05);
}

.product-card-image img.lazy-loaded {
    filter: blur(0);
    transform: scale(1);
}

/* Skeleton loading animation */
.product-card-image.is-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #f0f0f0 25%,
            #e0e0e0 50%,
            #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    z-index: 1;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --------------------------------------------------------------------------
   PDP Gallery Image Optimization
   -------------------------------------------------------------------------- */
.wcellar-pdp__gallery img {
    transition: opacity 0.3s ease;
}

.wcellar-pdp__gallery img.lazy-loading {
    opacity: 0.7;
}

.wcellar-pdp__gallery img.lazy-loaded {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Banner/Hero Image Optimization
   -------------------------------------------------------------------------- */
[data-bg] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease;
}

[data-bg].lazy-loading {
    background-color: #f0f0f0;
}

[data-bg].lazy-loaded {
    background-color: transparent;
}

/* --------------------------------------------------------------------------
   Logo Optimization
   -------------------------------------------------------------------------- */
.wcellar-logo {
    display: block;
    width: auto;
    height: 40px;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
    .wcellar-logo {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .wcellar-logo {
        height: 28px;
    }
}

/* SVG Logo color inheritance */
.wcellar-logo svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   Responsive Image Containers with Aspect Ratios
   -------------------------------------------------------------------------- */
.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.img-container--1x1 {
    aspect-ratio: 1/1;
}

.img-container--4x3 {
    aspect-ratio: 4/3;
}

.img-container--16x9 {
    aspect-ratio: 16/9;
}

.img-container--3x4 {
    aspect-ratio: 3/4;
}

.img-container--2x3 {
    aspect-ratio: 2/3;
}

.img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   Mobile Image Optimizations
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Smaller blur radius for mobile performance */
    img.lazy-loading {
        filter: blur(3px);
    }

    .progressive-image .placeholder-image {
        filter: blur(10px);
    }

    /* Reduce animation complexity */
    .product-card-image img {
        transition: opacity 0.2s ease;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .product-card-image.is-loading::before {
        animation: none;
        background: #f0f0f0;
    }

    img.lazy-loading {
        filter: none;
        transition: none;
    }

    .progressive-image .placeholder-image,
    .progressive-image .full-image {
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   High DPI / Retina Display Support
   -------------------------------------------------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .product-card-image img,
    .wcellar-pdp__gallery img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ==========================================================================
   TOUCH INTERACTIONS - Mobile Touch Optimizations
   ========================================================================== */

/* --------------------------------------------------------------------------
   Touch Device Detection
   -------------------------------------------------------------------------- */
.touch-device {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
}

/* --------------------------------------------------------------------------
   Touch Feedback States
   -------------------------------------------------------------------------- */
.touch-active {
    transform: scale(0.97);
    opacity: 0.9;
}

button,
.button,
.btn,
a.add_to_cart_button,
.woocommerce a.button {
    transition: transform 0.15s var(--ease-luxury),
        opacity 0.15s ease,
        background-color 0.2s ease;
}

.touch-device button:active,
.touch-device .button:active,
.touch-device a.add_to_cart_button:active {
    transform: scale(0.95);
}

/* --------------------------------------------------------------------------
   Minimum Touch Target Size (44x44px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Buttons */
    button,
    .button,
    .btn,
    input[type="submit"],
    input[type="button"],
    .add_to_cart_button,
    .woocommerce a.button {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 24px;
    }

    /* Links in navigation */
    .mobile-menu-nav a,
    .footer-column a,
    .site-navigation a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 10px 0;
    }

    /* Icon buttons */
    .icon-button,
    .mobile-menu-toggle,
    .search-toggle,
    .cart-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Checkbox and radio - larger touch area */
    input[type="checkbox"],
    input[type="radio"] {
        min-width: 24px;
        min-height: 24px;
    }

    input[type="checkbox"]+label,
    input[type="radio"]+label {
        padding-left: 12px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Button spacing */
    .button+.button,
    .btn+.btn,
    button+button {
        margin-left: 8px;
    }

    .buttons-row,
    .woocommerce .cart-actions {
        gap: 8px;
    }
}

/* --------------------------------------------------------------------------
   Form Elements - iOS Zoom Prevention
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Prevent iOS zoom on focus - minimum 16px font size */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="url"],
    input[type="date"],
    textarea,
    select {
        font-size: 16px !important;
        line-height: 1.5;
        padding: 14px 16px;
        min-height: 48px;
        border-radius: 4px;
        border: 1px solid var(--color-border);
        background-color: #fff;
        -webkit-appearance: none;
        appearance: none;
    }

    /* Focus state */
    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: var(--color-text);
        box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
    }

    /* Error state */
    input.error,
    textarea.error,
    select.error {
        border-color: #dc3545;
        background-color: #fff5f5;
    }

    input.error:focus,
    textarea.error:focus {
        box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
    }

    /* Field error message */
    .field-error {
        display: block;
        color: #dc3545;
        font-size: 12px;
        margin-top: 6px;
        padding-left: 2px;
        animation: shake 0.3s ease;
    }

    @keyframes shake {

        0%,
        100% {
            transform: translateX(0);
        }

        25% {
            transform: translateX(-4px);
        }

        75% {
            transform: translateX(4px);
        }
    }

    /* Select dropdown arrow */
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 44px;
    }

    /* Textarea specific */
    textarea {
        min-height: 120px;
        resize: vertical;
    }

    /* Number input - hide spinners */
    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input[type="number"] {
        -moz-appearance: textfield;
    }

    /* Quantity input styling */
    .quantity input[type="number"] {
        width: 60px;
        text-align: center;
        font-size: 16px;
        padding: 12px 8px;
    }
}

/* --------------------------------------------------------------------------
   Autocomplete Styling
   -------------------------------------------------------------------------- */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--color-text);
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* --------------------------------------------------------------------------
   Gallery Swipe
   -------------------------------------------------------------------------- */
.gallery-swipe-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.gallery-swipe-wrapper>* {
    flex: 0 0 100%;
    width: 100%;
}

.gallery-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(26, 26, 26, 0.3);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.gallery-indicator.active {
    background-color: var(--color-text);
    transform: scale(1.2);
}

.gallery-indicator:hover {
    background-color: rgba(26, 26, 26, 0.6);
}

/* --------------------------------------------------------------------------
   Product Card Swipe Actions
   -------------------------------------------------------------------------- */
.product-card,
li.product {
    position: relative;
    overflow: hidden;
}

.product-card-inner,
.product-card>a {
    position: relative;
    z-index: 1;
    background-color: #fff;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.swipe-action {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.swipe-action--left {
    left: 0;
    background: linear-gradient(90deg, #f8e1e4 0%, transparent 100%);
    color: #c41e3a;
}

.swipe-action--right {
    right: 0;
    background: linear-gradient(-90deg, #e8f4e8 0%, transparent 100%);
    color: #28a745;
}

.swipe-action.visible {
    opacity: 1;
}

.swipe-action svg {
    width: 28px;
    height: 28px;
}

.swipe-action span {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Swipe Toast Notification
   -------------------------------------------------------------------------- */
.swipe-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: var(--color-text);
    color: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.swipe-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.swipe-toast svg {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pull to Refresh
   -------------------------------------------------------------------------- */
.pull-refresh-indicator {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%) translateY(-60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 100;
}

.pull-refresh-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-text);
    border-radius: 50%;
}

.pull-refresh-indicator.ready .pull-refresh-spinner,
.pull-refresh-indicator.refreshing .pull-refresh-spinner {
    animation: spin 0.8s linear infinite;
}

.pull-refresh-text {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   Scroll to Top Button
   -------------------------------------------------------------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--color-text);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover,
.scroll-to-top:active {
    background-color: var(--color-accent);
    transform: translateY(0) scale(1.1);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* --------------------------------------------------------------------------
   Infinite Scroll Loader
   -------------------------------------------------------------------------- */
.infinite-scroll-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.infinite-scroll-loader.visible {
    opacity: 1;
    visibility: visible;
}

.loader-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-text);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.infinite-scroll-loader span {
    font-size: 12px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------------------------------------
   Quick Actions Menu (Long Press)
   -------------------------------------------------------------------------- */
.quick-actions-menu {
    position: fixed;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    max-width: 280px;
    z-index: 10001;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.quick-actions-menu.show {
    opacity: 1;
    transform: scale(1);
}

.quick-actions-header {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.quick-actions-list {
    padding: 8px 0;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--color-text);
    cursor: pointer;
    transition: background-color 0.15s ease;
    text-align: left;
}

.quick-action:hover,
.quick-action:active {
    background-color: #f8f8f8;
}

.quick-action svg {
    flex-shrink: 0;
    color: var(--color-text-muted);
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* iOS momentum scrolling */
.scrollable,
.product-grid,
.mobile-menu-nav,
.woocommerce-tabs,
.cart-collaterals {
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}

/* Horizontal scroll containers */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll>* {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Touch Ripple Effect
   -------------------------------------------------------------------------- */
.touch-device .ripple-container {
    position: relative;
    overflow: hidden;
}

.touch-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(26, 26, 26, 0.1);
    transform: scale(0);
    animation: ripple 0.6s ease-out forwards;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* --------------------------------------------------------------------------
   Disabled Interactions
   -------------------------------------------------------------------------- */
.touch-device .no-touch-action {
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.touch-device .pan-x {
    touch-action: pan-x;
}

.touch-device .pan-y {
    touch-action: pan-y;
}

/* --------------------------------------------------------------------------
   Touch-friendly Quantity Selector
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .quantity {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .quantity .qty-btn,
    .quantity button {
        width: 44px;
        height: 44px;
        border: 1px solid var(--color-border);
        background-color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: 300;
        cursor: pointer;
        transition: background-color 0.15s ease;
    }

    .quantity .qty-btn:first-child,
    .quantity button:first-of-type {
        border-radius: 4px 0 0 4px;
        border-right: none;
    }

    .quantity .qty-btn:last-child,
    .quantity button:last-of-type {
        border-radius: 0 4px 4px 0;
        border-left: none;
    }

    .quantity .qty-btn:active,
    .quantity button:active {
        background-color: #f0f0f0;
    }

    .quantity input[type="number"] {
        width: 56px;
        height: 44px;
        border-radius: 0;
        border-left: none;
        border-right: none;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   Mobile Safe Areas
   -------------------------------------------------------------------------- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .scroll-to-top {
        bottom: calc(80px + env(safe-area-inset-bottom));
    }

    .swipe-toast {
        bottom: calc(100px + env(safe-area-inset-bottom));
    }

    .mobile-menu-overlay {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .site-footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* ==========================================================================
   UTILITY CLASSES - Responsive Visibility
   ========================================================================== */

/* Show only on mobile */
.show-on-mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    .show-on-mobile-only {
        display: block !important;
    }

    .show-on-mobile-only.flex {
        display: flex !important;
    }
}

/* Hide on mobile */
.hide-on-mobile {
    display: block;
}

@media (max-width: 1024px) {
    .hide-on-mobile {
        display: none !important;
    }
}

/* Show only on tablet and up */
.show-on-tablet-up {
    display: none !important;
}

@media (min-width: 769px) {
    .show-on-tablet-up {
        display: block !important;
    }
}

/* Producer info link styling for mobile accordion */
@media (max-width: 768px) {
    .producer-info__link {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
        font-size: 13px;
        color: var(--color-accent);
        text-decoration: none;
    }

    .producer-info__link:hover {
        text-decoration: underline;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATION (Added by Gemini)
   ========================================================================== */

@media (max-width: 900px) {

    /* 1. Grid Layout: 2 Columns & Gaps */
    .plp-container {
        display: block;
        /* Stack layout */
        padding: 1rem 20px;
    }

    .product-grid-area {
        width: 100%;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        /* 16px gap */
    }

    /* 2. Product Card: 3:4 Aspect Ratio */
    .product-card-image {
        display: block;
        position: relative;
        width: 100%;
        padding-top: 133.33%;
        /* 3:4 Aspect Ratio (4/3 * 100) */
        overflow: hidden;
        background-color: #f6f6f6;
        /* Placeholder color */
        margin-bottom: 12px;
    }

    .product-card-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s var(--ease-luxury);
    }

    /* Close button for Filter Modal */
    .mobile-filter-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        padding: 5px;
        cursor: pointer;
        z-index: 10001;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
}

/* Skeleton UI Styles */
.skeleton-loader {
    display: none;
    /* Controlled by JS */
}

.skeleton-loader.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--grid-gutter) * 1.5) var(--grid-gutter);
}

@media (max-width: 900px) {
    .skeleton-loader.active {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

.skeleton-card-item {
    display: flex;
    flex-direction: column;
}

.skeleton-image {
    width: 100%;
    padding-top: 133.33%;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    background-color: #f0f0f0;
    margin-bottom: 8px;
    border-radius: 2px;
}

.skeleton-text.w-60 {
    width: 60%;
}

.skeleton-text.w-80 {
    width: 80%;
}

.skeleton-text.w-40 {
    width: 40%;
}

/* Shimmer Effect */
.skeleton-image::after,
.skeleton-text::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0.2) 20%,
            rgba(255, 255, 255, 0.5) 60%,
            rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* PLP Header Actions Layout */
.plp-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width:1024px) {
    .plp-header-actions {
        justify-content: flex-end;
    }
}

@media (max-width: 600px) {
    .plp-header-actions {
        gap: 8px;
    }
}

/* ==========================================================================
   PDP Mobile Accordion Styles
   ========================================================================== */

.wcellar-accordion {
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.wcellar-accordion__item {
    border-bottom: 1px solid var(--color-border);
}

.wcellar-accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: color 0.2s ease;
}

.wcellar-accordion__header:hover {
    color: var(--color-accent);
}

.wcellar-accordion__icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Active State */
.wcellar-accordion__item.active .wcellar-accordion__icon {
    transform: rotate(180deg);
}

.wcellar-accordion__content {
    display: none;
    /* Hidden by default */
    padding-bottom: 1.25rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.wcellar-accordion__item.active .wcellar-accordion__content {
    display: block;
    /* Shown when active */
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inner content styling */
.wcellar-accordion__inner p {
    margin-bottom: 1rem;
}

.wcellar-accordion__inner p:last-child {
    margin-bottom: 0;
}

/* Tasting Notes inside Accordion */
.tasting-note {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

.tasting-note__label {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

/* Food Pairing inside Accordion */
.food-pairing {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.food-pairing__item {
    background-color: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.875rem;
}

/* Producer Info inside Accordion */
.producer-info__row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--color-border);
}

.producer-info__row:last-of-type {
    border-bottom: none;
}

.producer-info__label {
    color: var(--color-text-muted);
}

.producer-info__value {
    font-weight: 500;
    color: var(--color-text);
    text-align: right;
}

/* ==========================================================================
   HOMEPAGE STYLES
   ========================================================================== */

/* 1. Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    background-color: #000;
    overflow: hidden;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    /* Slight zoom for parallax feel */
    transition: transform 6s ease-out;
}

.swiper-slide-active .hero-slide__bg {
    transform: scale(1);
}

.hero-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Dark overlay */
    z-index: 1;
}

.hero-slide__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    /* Offset fixed header */
}

.hero-slide__subtitle {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide__title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-slide__btn-wrapper {
    opacity: 0;
    transform: translateY(20px);
}

/* Animations */
.swiper-slide-active .fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn--hero {
    background-color: #fff;
    color: #000;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    display: inline-block;
    text-decoration: none;
}

.btn--hero:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* Hero Pagination */
.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* Mobile Hero */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .hero-slide__title {
        font-size: 2.25rem;
        padding: 0 1rem;
    }
}

/* 2. Product Slider Sections */
.home-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
}

.home-section>.container {
    max-width: var(--grid-max-width);
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    padding: 0 var(--grid-margin);
    /* Align with grid */
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-muted, #666);
    margin: 0.5rem 0 0;
}

.section-link {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-link svg {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.section-link:hover svg {
    transform: translateX(4px);
}

.product-slider-wrapper {
    padding: 0 var(--grid-margin);
    /* Align with grid */
}

.product-swiper {
    overflow: visible;
    /* Allow shadows to show */
    padding-bottom: 2rem;
    /* Space for scrollbar */
}

.product-swiper .swiper-slide {
    width: 280px;
    /* Fixed width cards */
    height: auto;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .home-section {
        padding: 3rem 0;
    }

    .section-header,
    .product-slider-wrapper {
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-swiper .swiper-slide {
        width: 160px;
        /* Smaller cards on mobile */
    }

    /* Hide quick actions on mobile slider to keep it clean */
    .product-swiper .quick-actions {
        display: none;
    }
}

/* ==========================================================================
   INFLUENCER HERO (Editorial Profile)
   ========================================================================== */

.influencer-hero {
    background-color: #f9f9f9;
    /* Soft off-white bg */
    padding: 6rem 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.influencer-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.influencer-hero__grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
    /* Image : Content */
    gap: 5rem;
    align-items: center;
}

/* Visual (Left) */
.influencer-hero__visual {
    position: relative;
}

.influencer-hero__image-frame {
    position: relative;
    width: 100%;
    padding-top: 125%;
    /* 4:5 Aspect Ratio */
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.05);
    /* Stylish offset shadow */
}

.influencer-hero__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    /* Artistic touch */
    transition: filter 0.5s ease;
}

.influencer-hero__visual:hover .influencer-hero__img {
    filter: grayscale(0%);
}

/* Content (Right) */
.influencer-hero__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.influencer-hero__eyebrow {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.influencer-hero__name {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.1;
    margin: 0;
}

.influencer-hero__bio {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #555;
    max-width: 600px;
}

.influencer-hero__bio p {
    margin-bottom: 1rem;
}

/* Social Links */
.influencer-hero__socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: translateY(-2px);
}

/* Section Divider */
.section-divider {
    text-align: center;
    margin: 0 auto 3rem;
    position: relative;
}

.divider-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--color-text);
    background: #fff;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 1px;
    background: var(--color-border);
    z-index: 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .influencer-hero {
        padding: 3rem 0;
    }

    .influencer-hero__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .influencer-hero__image-frame {
        width: 200px;
        /* Smaller profile image on mobile */
        height: 200px;
        padding-top: 0;
        border-radius: 50%;
        /* Circle on mobile */
        margin: 0 auto;
        box-shadow: none;
        border: 1px solid var(--color-border);
    }

    .influencer-hero__content {
        align-items: center;
        /* Center align items */
        gap: 1.5rem;
    }

    .influencer-hero__name {
        font-size: 2.25rem;
    }

    .influencer-hero__bio {
        font-size: 1rem;
    }

    .influencer-products {
        padding-top: 0;
    }
}

/* ==========================================================================
   EDITORIAL STORIES & SHOPPABLE CARDS
   ========================================================================== */

.influencer-stories {
    padding: 2rem 0 6rem;
}

.influencer-stories__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.influencer-story-card {
    background: #fff;
    transition: transform 0.3s ease;
}

.influencer-story-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.influencer-story-card__image {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.influencer-story-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.influencer-story-card:hover .influencer-story-card__image img {
    transform: scale(1.05);
}

.influencer-story-card__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.influencer-story-card__excerpt {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.influencer-story-card__more {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-accent);
}

/* Shoppable Product Card (Used in [wcellar_product]) */
.shoppable-product-card {
    margin: 3rem 0;
    background: #fdfdfd;
    border: 1px solid var(--color-border);
    max-width: 700px;
}

.shoppable-product-card__inner {
    display: flex;
    align-items: center;
}

.shoppable-product-card__image {
    flex: 0 0 40%;
    border-right: 1px solid var(--color-border);
}

.shoppable-product-card__content {
    flex: 1;
    padding: 2.5rem;
}

.shoppable-product-card__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    display: block;
    margin-bottom: 0.5rem;
}

.shoppable-product-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.shoppable-product-card__title a {
    text-decoration: none;
    color: var(--color-text);
}

.shoppable-product-card__price {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.shoppable-product-card__btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-text);
    color: #fff;
    text-decoration: none;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
}

.shoppable-product-card__btn:hover {
    background: var(--color-accent);
}

@media (max-width: 768px) {
    .influencer-stories__grid {
        grid-template-columns: 1fr;
    }

    .shoppable-product-card__inner {
        flex-direction: column;
    }

    .shoppable-product-card__image {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .shoppable-product-card__content {
        padding: 1.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   W CELLAR AUTH (Login/Register)
   ========================================================================== */

.wcellar-auth {
    padding: 100px 0;
    background-color: #fff;
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.wcellar-auth__container {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.wcellar-auth__header {
    text-align: center;
    margin-bottom: 60px;
}

.wcellar-auth__title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--color-text);
}

.wcellar-auth__subtitle {
    font-size: 1rem;
    color: #888;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.wcellar-auth__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* If registration is disabled, center the login box */
.wcellar-auth__grid:only-child,
.wcellar-auth__section--login:only-child {
    max-width: 450px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.wcellar-auth__section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Form Fields */
.wcellar-auth__field {
    margin-bottom: 25px;
}

.wcellar-auth__field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #333;
}

.wcellar-auth .input-text {
    width: 100% !important;
    padding: 15px 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #ddd !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease !important;
}

.wcellar-auth .input-text:focus {
    outline: none !important;
    border-bottom-color: var(--color-accent) !important;
}

/* Buttons */
.wcellar-auth__btn {
    width: 100% !important;
    padding: 18px !important;
    background-color: var(--color-text) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

.wcellar-auth__btn:hover {
    background-color: var(--color-accent) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.wcellar-auth__actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.lost_password {
    margin-top: 20px;
    text-align: center;
    font-size: 0.875rem;
}

.lost_password a {
    color: #888;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.lost_password a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Social Login Styling */
.wcellar-auth__social-divider {
    text-align: center;
    position: relative;
    margin: 40px 0 30px;
}

.wcellar-auth__social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.wcellar-auth__social-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
}

.wcellar-auth__social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wcellar-auth {
        padding: 60px 0;
    }

    .wcellar-auth__title {
        font-size: 2rem;
    }

    .wcellar-auth__grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .wcellar-auth__section--register {
        padding-top: 60px;
        border-top: 1px solid #eee;
    }
}

/* ==========================================================================
   W CELLAR AUTH PAGE - V2 (Optimized)
   ========================================================================== */

.wcellar-auth-page {
    background-color: #fff;
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wcellar-auth-card {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.wcellar-auth-card__header {
    text-align: center;
    margin-bottom: 60px;
}

.wcellar-auth-card__title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.wcellar-auth-card__subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin: 0 auto;
}

/* Body Grid */
.wcellar-auth-card__body {
    display: flex;
    justify-content: space-between;

    /* ==========================================================================
   MY ACCOUNT FORMS - REVERTED & REFINED
   ========================================================================== */

    .woocommerce-account .woocommerce-MyAccount-content form .form-row {
        margin-bottom: 24px;
    }

    .woocommerce-account .woocommerce-MyAccount-content form label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1a1a1a;
    }

    /* Input & Select Styling - Boxed */
    .woocommerce-account .woocommerce-MyAccount-content input.input-text,
    .woocommerce-account .woocommerce-MyAccount-content select,
    .woocommerce-account .woocommerce-MyAccount-content textarea,
    .woocommerce-account #add_payment_method input.input-text {
        width: 100% !important;
        padding: 14px 16px !important;
        border: 1px solid #d0d0d0 !important;
        background: #fff !important;
        border-radius: 4px !important;
        font-size: 1rem !important;
        color: #1a1a1a;
        transition: border-color 0.2s ease !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content input.input-text:focus,
    .woocommerce-account .woocommerce-MyAccount-content select:focus,
    .woocommerce-account .woocommerce-MyAccount-content textarea:focus {
        outline: none !important;
        border-color: #000 !important;
    }

    /* Fieldset - Card Style */
    .woocommerce-EditAccountForm fieldset {
        margin-top: 40px;
        padding: 30px;
        background: #fcfcfc;
        border: 1px solid #f0f0f0;
        border-radius: 8px;
    }

    .woocommerce-EditAccountForm fieldset legend {
        font-family: var(--font-serif);
        font-size: 1.5rem;
        padding: 0 10px;
    }

    /* Buttons */
    .woocommerce-account .woocommerce-MyAccount-content .button,
    .woocommerce-account #add_payment_method .button {
        margin-top: 20px;
        padding: 18px 40px;
        background-color: #1a1a1a !important;
        color: #fff !important;
        border: none !important;
        border-radius: 4px !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.1em !important;
        transition: background-color 0.3s ease !important;
    }

    .woocommerce-account .woocommerce-MyAccount-content .button:hover {
        background-color: var(--color-accent) !important;
    }

    @media (max-width: 768px) {
        .woocommerce-account .woocommerce-MyAccount-content .button {
            width: 100% !important;
        }
    }

    /* ==========================================================================
   W CELLAR MY ACCOUNT - FULL RESTORATION
   ========================================================================== */

    .woocommerce-account .site-main>.container {
        width: 100%;
        max-width: var(--grid-max-width);
        margin: 0 auto;
        padding: 60px var(--grid-margin);
    }

    /* Parent Container Flex */
    .woocommerce-account .woocommerce {
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
        align-items: flex-start;
    }

    .woocommerce-MyAccount-content {
        flex: 1;
        min-width: 0;
    }

    /* 1. Sidebar Navigation */
    .wcellar-myaccount-nav {
        flex: 0 0 280px;
        background: #fbfbfb;
        padding: 40px 0;
        border-radius: 4px;
        border: 1px solid #f0f0f0;
    }

    .wcellar-myaccount-nav__user {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 0 30px 30px;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .wcellar-myaccount-nav__avatar img {
        border-radius: 50%;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .wcellar-myaccount-nav__info .greeting {
        display: block;
        font-size: 0.75rem;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    .wcellar-myaccount-nav__info .name {
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--color-text);
    }

    .wcellar-myaccount-nav__menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .wcellar-myaccount-nav__menu li a {
        display: block;
        padding: 12px 30px;
        color: #666;
        text-decoration: none;
        font-size: 0.9375rem;
        transition: all 0.3s;
        border-left: 3px solid transparent;
    }

    .wcellar-myaccount-nav__menu li.is-active a {
        color: var(--color-accent);
        background: #fff;
        border-left-color: var(--color-accent);
        font-weight: 600;
    }

    .wcellar-myaccount-nav__menu li a:hover {
        color: var(--color-text);
        padding-left: 35px;
    }

    /* 2. Dashboard Content */
    .wcellar-myaccount-dashboard__intro {
        font-size: 1.125rem;
        line-height: 1.7;
        color: #555;
        margin-bottom: 50px;
    }

    .wcellar-myaccount-dashboard__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .dashboard-card {
        background: #fff;
        border: 1px solid #eee;
        padding: 40px 30px;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
        border-color: var(--color-accent);
    }

    .dashboard-card .dashicons {
        font-size: 32px;
        width: 32px;
        height: 32px;
        color: var(--color-accent);
        margin-bottom: 20px;
    }

    .dashboard-card h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .dashboard-card p {
        font-size: 0.875rem;
        color: #888;
    }

    /* Mobile Responsive */
    @media (max-width: 1024px) {
        .woocommerce-account .woocommerce {
            flex-direction: column;
            gap: 40px;
        }

        .wcellar-myaccount-nav {
            flex: 1 1 auto;
            width: 100%;
        }

        .wcellar-myaccount-nav__menu {
            display: flex;
            overflow-x: auto;
            padding: 0 20px;
        }

        .wcellar-myaccount-nav__menu li a {
            white-space: nowrap;
            border-left: none;
            border-bottom: 2px solid transparent;
        }

        .wcellar-myaccount-nav__menu li.is-active a {
            border-bottom-color: var(--color-accent);
        }

        .wcellar-myaccount-dashboard__grid {
            grid-template-columns: 1fr;
        }
    }

    /* ==========================================================================
   MY ACCOUNT PAGE FINAL FIX
   ========================================================================== */

    /* Layout Fix: Ensure Sidebar and Content align */
    .woocommerce-account .woocommerce {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 60px !important;
        align-items: flex-start !important;
        max-width: var(--grid-max-width) !important;
        margin: 0 auto !important;
        padding: 60px var(--grid-margin) !important;
    }

    .woocommerce-MyAccount-navigation {
        flex: 0 0 280px !important;
        width: 280px !important;
        float: none !important;
        /* Reset WC floats */
    }

    .woocommerce-MyAccount-content {
        flex: 1 !important;
        float: none !important;
        min-width: 0 !important;
    }

    /* Sidebar Styling */
    .wcellar-myaccount-nav {
        background: #fbfbfb;
        border: 1px solid #eee;
        border-radius: 4px;
        padding: 30px 0;
    }

    .wcellar-myaccount-nav__user {
        padding: 0 25px 25px;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .wcellar-myaccount-nav__avatar img {
        border-radius: 50%;
        width: 50px;
        height: 50px;
    }

    .wcellar-myaccount-nav__menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .wcellar-myaccount-nav__menu li {
        margin: 0 !important;
    }

    .wcellar-myaccount-nav__menu li a {
        display: block;
        padding: 12px 25px;
        text-decoration: none;
        color: #666;
        font-size: 14px;
        border-left: 3px solid transparent;
        transition: all 0.3s;
    }

    .wcellar-myaccount-nav__menu li.is-active a {
        background: #fff;
        color: var(--color-accent);
        border-left-color: var(--color-accent);
        font-weight: 600;
    }

    /* Dashboard Grid */
    .wcellar-myaccount-dashboard__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .dashboard-card {
        background: #fff;
        border: 1px solid #eee;
        padding: 30px;
        text-align: center;
        text-decoration: none;
        color: inherit;
        border-radius: 4px;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .dashboard-card h3 {
        margin: 15px 0 10px;
        font-size: 16px;
        text-transform: uppercase;
    }

    .dashboard-card p {
        font-size: 13px;
        color: #999;
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .woocommerce-account .woocommerce {
            flex-direction: column !important;
            padding: 40px 20px !important;
        }

        .woocommerce-MyAccount-navigation,
        .woocommerce-MyAccount-content {
            width: 100% !important;
            flex: 1 1 auto !important;
        }

        .wcellar-myaccount-nav__menu {
            display: flex;
            overflow-x: auto;
            border-bottom: 1px solid #eee;
        }

        .wcellar-myaccount-nav__menu li a {
            white-space: nowrap;
            border-left: none;
            border-bottom: 3px solid transparent;
        }

        .wcellar-myaccount-nav__menu li.is-active a {
            border-bottom-color: var(--color-accent);
        }
    }

    /* =========================================
   Hero Slider Helper Classes
   ========================================= */

    /* Alignment */
    .hero-slide--align-center .hero-slide__content {
        text-align: center;
        align-items: center;
    }

    .hero-slide--align-right .hero-slide__content {
        text-align: right;
        align-items: flex-end;
    }

    /* Text Theme */
    .hero-slide--theme-light .hero-slide__title,
    .hero-slide--theme-light .hero-slide__subtitle {
        color: #ffffff;
    }

    .hero-slide--theme-dark .hero-slide__title,
    .hero-slide--theme-dark .hero-slide__subtitle {
        color: #1a1a1a;
    }

    .hero-slide--theme-dark .btn--hero {
        background-color: #1a1a1a;
        color: #ffffff;
        border-color: #1a1a1a;
    }

    .hero-slide--theme-dark .btn--hero:hover {
        background-color: transparent;
        color: #1a1a1a;
    }

    /* =========================================
   Modern Hero Slider (CodePen Style) - Refined
   ========================================= */

    /* 1. Container & Layout */
    .hero-slider-wrapper {
        position: relative;
        width: 100%;
        height: 100vh;
        /* Full Viewport Height */
        min-height: 700px;
        background-color: #000;
        overflow: hidden;
    }

    .hero-swiper {
        width: 100%;
        height: 100%;
    }

    .hero-slide {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Background Animation (Ken Burns) */
    .hero-slide__bg-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-slide__bg {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: transform 1s ease;
        transform: scale(1);
    }

    /* Active Zoom Effect */
    .swiper-slide-active .hero-slide__bg {
        transform: scale(1.15);
        transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .hero-slide__overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 2;
        pointer-events: none;
    }

    /* 3. Typography & Content */
    .hero-slide__content {
        position: relative;
        z-index: 10;
        width: 100%;
        max-width: 1400px;
        padding: 0 40px;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
    }

    .hero-slide__inner {
        max-width: 900px;
        margin: 0 auto;
    }

    /* Title - Big & Elegant */
    .hero-slide__title {
        font-size: 4.5rem;
        line-height: 1.1;
        font-weight: 400;
        margin: 0 0 1.5rem 0;
        letter-spacing: -0.02em;
        opacity: 1;
        color: #fff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* Description (Subtitle) */
    .hero-slide__desc {
        font-family: 'Pretendard', sans-serif;
        font-size: 1.2rem;
        line-height: 1.6;
        font-weight: 300;
        margin: 0 0 2.5rem 0;
        letter-spacing: 0.05em;
        opacity: 0.9;
        color: rgba(255, 255, 255, 0.9);
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Button */
    .hero-slide__btn-wrapper {
        margin-top: 1rem;
    }

    .btn--hero {
        display: inline-block;
        padding: 1.2rem 3rem;
        background: transparent;
        border: 1px solid #fff;
        color: #fff;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .btn--hero:hover {
        background: #fff;
        color: #000;
    }

    /* 4. Alignment Variants */
    .hero-slide--align-left .hero-slide__content {
        text-align: left;
        align-items: flex-start;
    }

    .hero-slide--align-left .hero-slide__inner {
        margin: 0;
    }

    .hero-slide--align-right .hero-slide__content {
        text-align: right;
        align-items: flex-end;
    }

    .hero-slide--align-right .hero-slide__inner {
        margin: 0 0 0 auto;
    }

    /* 5. Theme Variants */
    .hero-slide--theme-dark .hero-slide__title {
        color: #1a1a1a;
        text-shadow: none;
    }

    .hero-slide--theme-dark .hero-slide__desc {
        color: #333;
    }

    .hero-slide--theme-dark .btn--hero {
        border-color: #1a1a1a;
        color: #1a1a1a;
    }

    .hero-slide--theme-dark .btn--hero:hover {
        background: #1a1a1a;
        color: #fff;
    }

    /* 6. Animations (Fade Up) */
    @keyframes heroFadeUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Apply animation only when slide is active */
    .swiper-slide-active .anim-target {
        animation: heroFadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) both;
    }

    /* Staggered Delays */
    .swiper-slide-active .hero-slide__title {
        animation-delay: 0.3s;
    }

    .swiper-slide-active .hero-slide__desc {
        animation-delay: 0.5s;
    }

    .swiper-slide-active .hero-slide__btn-wrapper {
        animation-delay: 0.7s;
    }

    /* 7. Controls */
    .hero-swiper .swiper-pagination {
        bottom: 40px !important;
    }

    .hero-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #fff;
        opacity: 0.4;
        margin: 0 8px !important;
    }

    .hero-swiper .swiper-pagination-bullet-active {
        opacity: 1;
        transform: scale(1.2);
    }

    .hero-swiper .swiper-button-prev,
    .hero-swiper .swiper-button-next {
        color: #fff;
        width: 60px;
        height: 60px;
        transition: opacity 0.3s;
        opacity: 0.7;
    }

    .hero-swiper .swiper-button-prev:hover,
    .hero-swiper .swiper-button-next:hover {
        opacity: 1;
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .hero-slide__title {
            font-size: 2.8rem;
        }

        .hero-slide__desc {
            font-size: 1rem;
        }

        .hero-slider-wrapper {
            height: 100vh;
            min-height: 500px;
        }

        .hero-slide__content {
            padding: 0 20px;
        }

        .btn--hero {
            padding: 1rem 2rem;
        }
    }