/* ============================================================
   LUMINA V3.2 — Premium Shoe Store Design System
   Inspired by: Allbirds, Reformation, COS, Everlane
   Design direction: Refined minimalism + warm luxury
   ============================================================ */

/* ─── 0. DESIGN TOKENS ──────────────────────────────────── */
:root {
    /* Palette */
    --lm-black: #111;
    --lm-dark: #1a1a1a;
    --lm-body: #333;
    --lm-muted: #767676;
    --lm-light: #999;
    --lm-border: #e8e8e8;
    --lm-bg-warm: #f7f5f2;
    --lm-bg-cool: #fafafa;
    --lm-white: #fff;
    --lm-accent: #b8956a;
    --lm-accent-hover: #a07d55;
    --lm-sale: #b5282d;
    --lm-success: #2e7d32;
    --lm-whatsapp: #25d366;

    /* Type scale — DM Sans for body, elegant and readable */
    --font-body: 'Inter',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    --fs-xs: 0.75rem;
    /* 12px */
    --fs-sm: 0.8125rem;
    /* 13px */
    --fs-base: 0.9375rem;
    /* 15px */
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.375rem;
    --fs-2xl: 1.75rem;
    --fs-3xl: 2.5rem;
    --fs-4xl: 3.5rem;

    /* Spacing */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 40px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-pill: 100px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 0.25s;

    /* Layout */
    --header-h: 64px;
    --container: 1400px;
    --container-narrow: 800px;
}

/* ─── 1. RESET & BASE ────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--lm-body);
    line-height: 1.65;
    background: var(--lm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    line-height: 1.2;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    left: var(--sp-md);
    top: var(--sp-md);
    z-index: 99999;
    background: var(--lm-white);
    padding: var(--sp-md);
    border: 2px solid var(--lm-black);
}

/* ─── 2. LAYOUT ──────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-xl);
}

.container-fluid {
    padding: 0 var(--sp-xl);
}

@media (max-width: 768px) {

    .container,
    .container-fluid {
        padding: 0 var(--sp-md);
    }
}

main.site-main {
    min-height: 60vh;
    padding: var(--sp-xl) 0 var(--sp-2xl);
}

/* Tighter top on shop/category — products visible ASAP */
.woocommerce-shop main.site-main,
.tax-product_cat main.site-main,
.tax-product_tag main.site-main,
.post-type-archive-product main.site-main {
    padding: var(--sp-md) 0 var(--sp-2xl);
}

/* ─── 3. HEADER ──────────────────────────────────────────── */
.site-header {
    background: var(--lm-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--lm-border);
}

.header-top-row {
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-lg);
}

/* Logo */
.site-branding {
    flex-shrink: 0;
}

.site-logo img {
    height: 36px;
    width: auto;
}

.site-title a {
    font-weight: 700;
    font-size: var(--fs-xl);
    color: var(--lm-black);
    letter-spacing: -0.03em;
}

h1.site-logo,
h1.site-title {
    margin: 0;
    font-size: inherit;
}

/* Desktop search */
.header-search-desktop {
    flex: 1;
    max-width: 520px;
    display: none;
}

@media (min-width: 992px) {
    .header-search-desktop {
        display: block;
    }
}

.search-form-header {
    position: relative;
    width: 100%;
}

.search-group {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--lm-border);
    border-radius: var(--radius-pill);
    background: var(--lm-bg-cool);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    overflow: hidden;
}

.search-group:focus-within {
    border-color: var(--lm-accent);
    box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.12);
    background: var(--lm-white);
}

.search-group .search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 20px;
    font-size: var(--fs-sm);
    color: var(--lm-body);
    outline: none;
    height: 42px;
}

.search-group .search-field::placeholder {
    color: var(--lm-light);
}

.search-group .search-submit {
    background: transparent;
    border: none;
    width: 44px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lm-muted);
    transition: color var(--duration);
}

.search-group .search-submit:hover {
    color: var(--lm-accent);
}

/* Mobile search */
.header-search-mobile-row {
    display: flex;
    padding: var(--sp-sm) var(--sp-md);
    background: var(--lm-white);
    border-bottom: 1px solid var(--lm-border);
}

@media (min-width: 992px) {
    .header-search-mobile-row {
        display: none;
    }
}

.header-search-mobile-row .search-group {
    width: 100%;
    border-radius: var(--radius-pill);
}

/* Ajax search dropdown */
.search-form-header {
    position: relative;
}

.search-results-ajax {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--lm-white);
    border: 1px solid var(--lm-border);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}

.search-results-ajax.active {
    display: block;
}

.ajax-search-list {
    margin: 0;
    padding: 0;
}

.ajax-search-list li a {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
    padding: 12px var(--sp-md);
    border-bottom: 1px solid var(--lm-bg-cool);
    transition: background var(--duration);
}

.ajax-search-list li a:hover {
    background: var(--lm-bg-warm);
}

.ajax-search-list img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--lm-bg-cool);
}

.ajax-search-list .title {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--lm-dark);
}

.ajax-search-list .price {
    font-size: var(--fs-xs);
    color: var(--lm-muted);
}

/* Header tools */
.header-tools {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.header-account {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    color: var(--lm-dark);
    min-height: 44px;
}

.account-icon {
    display: block;
}

.account-text-group {
    display: none;
    flex-direction: column;
}

@media (min-width: 992px) {
    .account-icon {
        display: none;
    }

    .account-text-group {
        display: flex;
    }
}

.account-line-1 {
    font-size: var(--fs-xs);
    color: var(--lm-muted);
}

.account-line-2 {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--lm-dark);
}

.header-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--lm-dark);
    min-height: 44px;
}

.header-cart-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.header-cart-text {
    display: none;
    font-size: var(--fs-sm);
    font-weight: 600;
}

@media (min-width: 992px) {
    .header-cart-text {
        display: block;
    }
}

.header-cart-count {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    background: var(--lm-black);
    color: var(--lm-white);
    padding: 0 5px;
}

.header-cart-count:empty {
    display: none;
}

/* Hamburger */
.menu-toggle {
    display: none;
    padding: 0;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Categories strip */
.header-categories-strip {
    background: var(--lm-dark);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.categories-navigation {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.categories-navigation::-webkit-scrollbar {
    display: none;
}

.categories-navigation ul {
    display: flex;
    margin: 0;
    padding: 0;
    gap: var(--sp-lg);
}

.categories-navigation ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    white-space: nowrap;
    padding: 10px 0;
    display: block;
    transition: color var(--duration);
}

.categories-navigation ul li a:hover {
    color: var(--lm-white);
}

@media (max-width: 768px) {
    .header-inner {
        gap: var(--sp-sm);
    }

    .site-logo img {
        height: 28px;
    }

    .header-categories-strip {
        height: 36px;
    }

    .categories-navigation ul {
        gap: var(--sp-md);
    }
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL PRODUCT CARD & GRID (Available everywhere)
   ───────────────────────────────────────────────────────────── */
/* Product grid */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-lg);
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--sp-sm) !important;
    }
}

/* Product card */
.woocommerce ul.products li.product,
li.lumina-product-card {
    text-align: left;
    margin: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
    background: transparent;
    list-style: none;
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-thumbnail-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* aspect-ratio: 3/4; REMOVED to allow natural height */
    background: var(--lm-bg-warm);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-sm);
    cursor: grab;
    /* Added back here as it might have been lost or duplicated */
}

.product-thumbnail-wrap:active {
    cursor: grabbing;
}

.product-thumbnail-wrap img {
    width: 100%;
    height: auto;
    /* Allow natural height */
    aspect-ratio: auto;
    object-fit: contain;
    /* Ensure full image is visible */
    object-position: center;
    transition: transform 0.6s var(--ease), opacity 0.4s;
    display: block;
}

li.product:hover .product-thumbnail-wrap img {
    transform: scale(1.04);
}

/* Hover image */
img.hover-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Match main image */
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s var(--ease);
}

li.product:hover img.hover-img {
    opacity: 1;
}

.product-info-wrap {
    padding: var(--sp-xs) 0;
}

.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: var(--fs-sm) !important;
    font-weight: 500;
    color: var(--lm-dark);
    margin-bottom: 2px !important;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lumina-variant-meta {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lm-muted);
    margin: 2px 0 4px;
}

.woocommerce ul.products li.product .price,
.product-info-wrap .price {
    font-size: var(--fs-sm) !important;
    color: var(--lm-dark);
    font-weight: 500;
    display: block;
}

.price del {
    opacity: 0.5;
    font-size: 0.9em;
    margin-right: 6px;
}

.price ins {
    text-decoration: none !important;
    font-weight: 600;
    color: var(--lm-sale);
    font-size: 1.1em;
    /* Make it slightly larger as requested */
    display: inline-block;
}

.lumina-loop-sizes {
    font-size: var(--fs-xs);
    color: var(--lm-light);
    margin-top: 4px;
    letter-spacing: 0.03em;
}

/* Hide loop buttons — clean Zara-style */
.woocommerce ul.products li.product .button {
    display: none !important;
}

/* Hide WC ordering (we use custom toolbar) */
.woocommerce-ordering {
    display: none !important;
}

/* ─────────────────────────────────────────────────────────────
   GLOBAL DRAWERS & FOOTER (Available everywhere)
   ───────────────────────────────────────────────────────────── */

/* ─── 9. OFF-CANVAS (Menu / Cart / Filters) ──────────────── */
.off-canvas-overlay,
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
    z-index: 9996;
    backdrop-filter: blur(2px);
}

.off-canvas-overlay.active,
.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.off-canvas-menu,
.lumina-side-cart,
.lumina-filter-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 90vw);
    background: var(--lm-white);
    transform: translateX(105%);
    transition: transform 0.3s var(--ease);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.off-canvas-menu {
    left: 0;
    right: auto;
    transform: translateX(-105%);
}

.off-canvas-menu.active {
    transform: translateX(0);
}

.lumina-side-cart.open {
    transform: translateX(0);
}

.lumina-filter-drawer.open {
    transform: translateX(0);
}

.lumina-filter-drawer {
    z-index: 10000;
}

@media (min-width: 769px) {
    #off-canvas-menu {
        display: none !important;
    }
}

.off-canvas-header,
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--sp-md) var(--sp-lg);
    border-bottom: 1px solid var(--lm-border);
    min-height: 56px;
}

.off-canvas-title {
    font-weight: 600;
    font-size: var(--fs-md);
}

.cart-header h3 {
    font-weight: 600;
    font-size: var(--fs-md);
    margin: 0;
}

.menu-close,
.close-cart-btn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--lm-body);
    transition: color var(--duration);
}

.menu-close:hover,
.close-cart-btn:hover {
    color: var(--lm-black);
}

.off-canvas-content {
    overflow-y: auto;
    flex: 1;
    padding: var(--sp-md) var(--sp-lg);
}

.off-canvas-content nav ul {
    margin: 0;
    padding: 0;
}

.off-canvas-content nav li {
    border-bottom: 1px solid var(--lm-border);
}

.off-canvas-content nav li a {
    display: block;
    padding: 14px 0;
    font-size: var(--fs-md);
    font-weight: 500;
    color: var(--lm-dark);
    transition: color var(--duration);
}

.off-canvas-content nav li a:hover {
    color: var(--lm-accent);
}

/* Mini-cart */
.widget_shopping_cart_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: var(--sp-md) var(--sp-lg);
}

.woocommerce-mini-cart {
    flex: 1;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center;
    gap: var(--sp-md);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid var(--lm-bg-cool);
    position: relative;
    padding-left: 32px;
}

.woocommerce-mini-cart-item img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: var(--radius-sm);
    background: var(--lm-bg-warm);
    flex-shrink: 0;
}

.woocommerce-mini-cart-item a:not(.remove) {
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--lm-dark);
    line-height: 1.35;
}

/* Remove button */
.mini_cart_item a.remove,
.woocommerce a.remove {
    color: transparent !important;
    background: none !important;
    border: none !important;
    width: 24px !important;
    height: 24px !important;
    font-size: 0 !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 0.5;
    transition: opacity var(--duration);
}

.mini_cart_item a.remove:hover {
    opacity: 1;
}

.mini_cart_item a.remove::before,
.woocommerce a.remove::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('../images/trash.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-md);
    background: var(--lm-bg-warm);
    border-radius: var(--radius-sm);
    margin-top: auto;
}

.woocommerce-mini-cart__total strong {
    font-weight: 500;
    color: var(--lm-muted);
    text-transform: uppercase;
    font-size: var(--fs-xs);
    letter-spacing: 0.06em;
}

.woocommerce-mini-cart__total .amount {
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--lm-dark);
}

/* Hide default WC buttons, we use custom ones */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons {
    display: none !important;
}

/* Custom cart actions */
.lumina-side-cart-actions {
    padding: var(--sp-md) var(--sp-lg);
    border-top: 1px solid var(--lm-border);
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    background: var(--lm-white);
}

.lumina-side-cart-actions .button-outline {
    background: transparent;
    border: 1.5px solid var(--lm-border);
    color: var(--lm-body);
    padding: 13px;
    text-align: center;
    text-transform: uppercase;
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: border-color var(--duration);
}

.lumina-side-cart-actions .button-outline:hover {
    border-color: var(--lm-black);
}

.lumina-side-cart-actions .checkout-button {
    text-decoration: none;
}

/* ─── 10. BREADCRUMBS ────────────────────────────────────── */
.lumina-breadcrumbs {
    padding: var(--sp-sm) 0;
    font-size: var(--fs-xs);
    color: var(--lm-light);
}

.lumina-breadcrumbs a {
    color: var(--lm-muted);
    transition: color var(--duration);
}

.lumina-breadcrumbs a:hover {
    color: var(--lm-dark);
}

/* ─── 11. FOOTER ─────────────────────────────────────────── */
.site-footer {
    padding: var(--sp-2xl) 0 var(--sp-xl);
    background: var(--lm-bg-warm);
    border-top: 1px solid var(--lm-border);
    color: var(--lm-muted);
    font-size: var(--fs-sm);
}

.footer-widgets {
    text-align: center;
}

.footer-legal-menu {
    margin-bottom: var(--sp-lg);
}

.legal-menu-items {
    display: flex;
    justify-content: center;
    gap: var(--sp-lg);
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.legal-menu-items li a {
    color: var(--lm-muted);
    font-size: var(--fs-sm);
    transition: color var(--duration);
}

.legal-menu-items li a:hover {
    color: var(--lm-dark);
}

.footer-contact-info {
    margin: var(--sp-md) 0;
    color: var(--lm-muted);
}

/* ─── 12. MY ACCOUNT ─────────────────────────────────────── */
.woocommerce-account .woocommerce {
    display: flex;
    gap: var(--sp-xl);
    margin-top: var(--sp-lg);
    align-items: flex-start;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--sp-xl);
}

.woocommerce-MyAccount-navigation {
    width: 260px;
    flex-shrink: 0;
    background: var(--lm-bg-warm);
    border-radius: var(--radius-md);
    padding: var(--sp-md);
}

.woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--lm-border);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 12px var(--sp-md);
    color: var(--lm-body);
    font-weight: 500;
    font-size: var(--fs-sm);
    border-radius: var(--radius-sm);
    transition: all var(--duration);
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: var(--lm-black);
    color: var(--lm-white);
}

.woocommerce-MyAccount-content {
    flex: 1;
    background: var(--lm-white);
    padding: var(--sp-lg);
    border: 1px solid var(--lm-border);
    border-radius: var(--radius-md);
}

@media (max-width: 992px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        padding: 0 var(--sp-md);
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: var(--sp-sm);
    }

    .woocommerce-MyAccount-navigation li {
        border: none;
        flex-shrink: 0;
    }

    .woocommerce-MyAccount-navigation li a {
        background: var(--lm-bg-cool);
        white-space: nowrap;
    }
}

/* ─── 13. CONTACT PAGE ───────────────────────────────────── */
.contact-page {
    padding: var(--sp-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--sp-2xl);
    }
}

.team-image-wrapper {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--lm-bg-warm);
    border-radius: var(--radius-md);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-title {
    font-size: var(--fs-3xl);
    font-weight: 300;
    margin-bottom: var(--sp-sm);
    color: var(--lm-dark);
}

.contact-subtitle {
    font-size: var(--fs-lg);
    color: var(--lm-muted);
    margin-bottom: var(--sp-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    margin-bottom: var(--sp-xl);
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    font-weight: 600;
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    transition: transform var(--duration), opacity var(--duration);
}

.contact-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-whatsapp {
    background: var(--lm-whatsapp);
    color: var(--lm-white);
}

.btn-call {
    background: var(--lm-accent);
    color: var(--lm-white);
}

/* ─── 14. COOKIE BANNER ──────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--lm-white);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: var(--sp-lg);
}

.cookie-banner-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.cookie-banner-content p {
    font-size: var(--fs-sm);
    color: var(--lm-muted);
    margin-bottom: var(--sp-md);
}

.cookie-banner-content a {
    color: var(--lm-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--sp-sm);
    flex-wrap: wrap;
}

.cookie-buttons .button {
    padding: 10px 20px;
    font-size: var(--fs-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: var(--radius-sm);
    transition: all var(--duration);
}

.btn-accept {
    background: var(--lm-black);
    color: var(--lm-white);
    border: 1px solid var(--lm-black);
}

.btn-reject {
    background: transparent;
    color: var(--lm-body);
    border: 1px solid var(--lm-border);
}

.btn-settings {
    background: transparent;
    color: var(--lm-muted);
    border: 1px solid var(--lm-border);
}

/* Cookie modal */
.cookie-settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 20000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-settings-modal[style*="display: none"] {
    display: none !important;
}

.cookie-settings-content {
    background: var(--lm-white);
    padding: var(--sp-xl);
    width: 90%;
    max-width: 480px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cookie-settings-content h3 {
    margin-top: 0;
    font-weight: 600;
    font-size: var(--fs-lg);
}

.cookie-option {
    margin-bottom: var(--sp-md);
}

.switch-label {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-sm);
    font-size: var(--fs-sm);
}

.modal-actions {
    margin-top: var(--sp-lg);
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-sm);
}

/* ─── 15. CHECKOUT LINK IN FOOTER ────────────────────────── */
.lumina-checkout-footer-links {
    text-align: center;
    margin-top: var(--sp-lg);
    font-size: var(--fs-xs);
    color: var(--lm-light);
}

.lumina-checkout-footer-links a {
    color: var(--lm-muted);
    margin: 0 var(--sp-sm);
    text-decoration: underline;
}

/* ─── 16. UTILITIES ──────────────────────────────────────── */
.loading-spinner {
    text-align: center;
    padding: var(--sp-xl);
    font-size: var(--fs-sm);
    color: var(--lm-light);
}

/* Variation fallback selects */
.variations_form select {
    opacity: 1;
    width: 100%;
    position: static;
    display: block !important;
    margin-bottom: var(--sp-sm);
    padding: 10px;
    border: 1.5px solid var(--lm-border);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
}

.lumina-swatches-container+.variations table {
    display: none;
}

.lumina-swatches-container~select,
.lumina-swatches+select {
    opacity: 0;
    width: 1px;
    height: 1px;
    position: absolute;
    z-index: -1;
    overflow: hidden;
}

/* Order received */
.woocommerce-order-received .woocommerce-order {
    max-width: var(--container-narrow);
    margin: 0 auto;
    background: var(--lm-white);
    padding: var(--sp-xl);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
}

.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--sp-lg);
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: var(--sp-md);
    border-bottom: 1px solid var(--lm-border);
    text-align: left;
}

/* Cart page */
.woocommerce-cart-form,
.woocommerce-checkout {
    max-width: 960px;
    margin: 0 auto;
}

/* Forms */
.woocommerce-form-row {
    margin-bottom: var(--sp-md);
}

.woocommerce-Input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lm-border);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
}

/* SEO footer text */
.archive-seo-footer {
    margin-top: var(--sp-xl);
    padding-top: var(--sp-lg);
    border-top: 1px solid var(--lm-border);
    color: var(--lm-muted);
    font-size: var(--fs-sm);
    line-height: 1.8;
    max-width: var(--container-narrow);
}

.archive-seo-footer h2 {
    font-size: var(--fs-lg);
    color: var(--lm-body);
    margin-bottom: var(--sp-sm);
    font-weight: 500;
}

/* Filter drawer specifics */
.lumina-filter-drawer .filter-content {
    padding: var(--sp-lg);
    overflow-y: auto;
    flex: 1;
}

/* Totals table in mini-cart */
.mini-cart-totals-table {
    padding: var(--sp-md);
    background: var(--lm-bg-warm);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 8px;
    margin-bottom: var(--sp-md);
}

.mini-cart-totals-table .total-row {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-sm);
    color: var(--lm-muted);
}

.mini-cart-totals-table .final-total {
    border-top: 1px solid var(--lm-border);
    padding-top: var(--sp-sm);
    margin-top: var(--sp-xs);
    font-size: var(--fs-md);
    color: var(--lm-dark);
}

/* Page title */
.page-header {
    margin: var(--sp-md) 0 var(--sp-lg);
}

/* ─── 17. LOOP GALLERY CAROUSEL ─────────────────────────── */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    /* Disable clicks unless we want them? User said remove them. Use drag instead. */
    transition: opacity 0.2s, transform 0.15s;
    color: var(--lm-dark);
    padding: 0;
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

/* .gallery-arrow:hover { transform: translateY(-50%) scale(1.1); background: var(--lm-white); box-shadow: 0 2px 12px rgba(0,0,0,0.18); } */
.gallery-arrow.visible {
    opacity: 0;
}

/* Force hidden even if JS adds class */

/* Touch devices: always show arrows */
@media (hover: none) and (pointer: coarse) {
    .product-thumbnail-wrap[data-gallery] .gallery-arrow {
        opacity: 0.85;
    }
}

.gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 10;
}

.gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: background 0.2s, transform 0.2s;
}

.gallery-dot.active {
    background: var(--lm-white);
    transform: scale(1.25);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.25);
}