/*
Theme Name: HUPPA
Theme URI: https://huppa.eu
Author: HUPPA
Author URI: https://huppa.eu
Description: Official HUPPA e-commerce theme for WooCommerce
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huppa
Tags: e-commerce, woocommerce, custom-menu

WooCommerce-powered theme for HUPPA outerwear brand.
*/

/* ==========================================================================
   0. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
    /* Colors */
    --color-accent: #E8632B;
    --color-accent-hover: #d4551f;
    --color-bg: #F2F0ED;
    --color-white: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-light: #6B6B6B;
    --color-text-muted: #999999;
    --color-border: #E0DEDA;
    --color-border-light: #EAEAEA;
    --color-sale: #E8632B;

    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    --font-weight-black: 900;

    /* Spacing */
    --container-max: 1200px;
    --container-padding: 20px;
    --gap-sm: 8px;
    --gap-md: 16px;
    --gap-lg: 24px;
    --gap-xl: 40px;

    /* Borders */
    --radius-card: 12px;
    --radius-btn: 24px;
    --radius-sm: 6px;
    --radius-filter: 8px;

    /* Header */
    --header-height: 60px;
    --subnav-height: 48px;

    /* Sidebar */
    --sidebar-width: 240px;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    font-size: inherit;
}

input, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   2. Layout
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border-light);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: var(--gap-lg);
}

/* Logo */
.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 28px;
    width: auto;
}

.site-logo .logo-text {
    font-weight: var(--font-weight-black);
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--color-text);
}

/* Primary Navigation */
.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
}

.primary-nav a {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    border-radius: var(--radius-btn);
    transition: all 0.2s ease;
}

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

.primary-nav a.active,
.primary-nav a.current-menu-item > a,
.primary-nav .current-menu-item > a {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--gap-md);
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--color-text);
    transition: color 0.2s ease;
    position: relative;
}

.header-icon:hover {
    color: var(--color-accent);
}

.header-icon svg {
    width: 22px;
    height: 22px;
}

.header-icon .cart-count {
    position: absolute;
    top: 0;
    right: -2px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.language-switcher {
    position: relative;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 0;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 60px;
    overflow: hidden;
}

.language-switcher.is-open .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    cursor: default;
    transition: background 0.15s ease;
}

.lang-option.is-active {
    background: var(--color-bg-alt, #f5f5f5);
    font-weight: var(--font-weight-bold);
}

.lang-option.is-disabled {
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* Mobile menu toggle (hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    border: none;
    background: none;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle span:nth-child(2) { transform: translateY(0); }
.menu-toggle span:nth-child(3) { transform: translateY(6px); }

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-2px) rotate(-45deg);
}

/* Nav overlay footer — hidden on desktop */
.primary-nav__footer {
    display: none;
}

/* Desktop: .primary-nav__links is just a flex wrapper */
.primary-nav__links {
    display: contents;
}

/* ==========================================================================
   4. Shop Sub-Navigation
   ========================================================================== */
.shop-subnav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border-light);
}

.shop-subnav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--subnav-height);
}

.subnav-categories {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
}

.subnav-categories a {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

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

.subnav-categories a.active {
    border-bottom-color: var(--color-text);
    font-weight: var(--font-weight-bold);
}

.subnav-categories a.sale-link {
    color: var(--color-accent);
    font-weight: var(--font-weight-bold);
}

.subnav-search {
    position: relative;
    width: 200px;
}

.subnav-search input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    font-size: 13px;
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color 0.2s ease;
}

.subnav-search input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.subnav-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
    pointer-events: none;
}

/* ==========================================================================
   5. Collection Banner
   ========================================================================== */
.collection-banner {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: var(--gap-lg);
}

.collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-banner .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: var(--color-white);
}

.collection-banner .banner-label {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    margin-bottom: 4px;
}

.collection-banner .banner-title {
    font-size: 32px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 8px;
    line-height: 1.2;
}

.collection-banner .banner-desc {
    font-size: 13px;
    font-weight: var(--font-weight-light);
    max-width: 500px;
    line-height: 1.5;
    opacity: 0.9;
}

.collection-banner .banner-badge {
    display: inline-block;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 6px 20px;
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    margin-top: 4px;
}

/* ==========================================================================
   6. Shop Toolbar
   ========================================================================== */
/* Subcategory chips */
.subcat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0;
}

.subcat-chip {
    display: inline-block;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    border: 1px solid var(--color-border, #ddd);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcat-chip:hover {
    border-color: var(--color-text);
}

.subcat-chip.active {
    background: var(--color-text);
    color: var(--color-bg);
    border-color: var(--color-text);
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--gap-lg);
    padding: 0;
}

.shop-toolbar-left {
    display: flex;
    align-items: center;
    gap: var(--gap-lg);
    flex: 1;
}

.shop-sort {
    font-size: 14px;
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

.shop-sort select {
    border: none;
    background: none;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    cursor: pointer;
    padding-right: 4px;
}

.product-count {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.shop-by-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    padding: 8px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.shop-by-toggle:hover {
    border-color: var(--color-text);
}

.shop-by-toggle svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   7. Shop Layout (Sidebar + Grid)
   ========================================================================== */
.shop-content {
    display: flex;
    gap: var(--gap-xl);
    padding-bottom: var(--gap-xl);
}

/* ==========================================================================
   8. Sidebar / Filters
   ========================================================================== */
/* Original sidebar - overridden by slideout */
.shop-sidebar-OLD {
    width: var(--sidebar-width);
    flex-shrink: 0;
}

.filter-section {
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
}

.filter-section:first-child {
    padding-top: 0;
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    padding: 4px 0;
    -webkit-user-select: none;
    user-select: none;
}

.filter-header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.filter-section.is-open .filter-header svg {
    transform: rotate(180deg);
}

.filter-header--highlighted {
    background: var(--color-text);
    color: var(--color-white);
    padding: 10px 16px;
    border-radius: var(--radius-filter);
    margin-bottom: 2px;
}

.filter-header--highlighted svg {
    color: var(--color-white);
}

.filter-body {
    display: none;
    padding-top: 10px;
}

.filter-section.is-open .filter-body {
    display: block;
}

/* Size buttons */
.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.size-btn {
    min-width: 44px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.size-btn.active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

/* Gender filter buttons */
.gender-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gender-btn {
    flex: 1;
    min-width: 70px;
    height: 34px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.gender-btn.active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

/* Temperature filter buttons */
.temp-buttons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.temp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    background: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.temp-btn.active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

.temp-btn.active .temp-btn__icon {
    filter: invert(1);
}

.temp-btn__icon {
    width: 16px;
    height: 20px;
    flex-shrink: 0;
}

/* Filter links */
.filter-links a {
    display: block;
    font-size: 13px;
    padding: 4px 0;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.filter-links a:hover,
.filter-links a.active {
    color: var(--color-text);
}

/* Category tree */
.filter-cat-group {
    margin-bottom: 2px;
}

.filter-cat-back {
    display: block;
    font-size: 12px;
    padding: 4px 0;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.filter-cat-back:hover {
    color: var(--color-text);
}

.filter-cat-parent {
    display: block;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    padding: 4px 0;
    color: var(--color-text);
}

.filter-cat-parent.active {
    color: var(--color-text);
}

.filter-cat-children {
    padding-left: 14px;
    margin-bottom: 4px;
}

.filter-cat-children a {
    display: block;
    font-size: 13px;
    padding: 3px 0;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.filter-cat-children a:hover,
.filter-cat-children a.active {
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
}

/* Price filter */
.price-filter-form {
    padding: 0;
}

.price-filter-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-filter-field {
    display: flex;
    align-items: center;
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    padding: 0 8px;
    height: 36px;
}

.price-filter-field:focus-within {
    border-color: var(--color-text);
}

.price-filter-currency {
    font-size: 13px;
    color: var(--color-text-light);
    margin-right: 4px;
    flex-shrink: 0;
}

.price-filter-field input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 13px;
    font-family: var(--font-family);
    color: var(--color-text);
    background: transparent;
    padding: 0;
    -moz-appearance: textfield;
}

.price-filter-field input::-webkit-inner-spin-button,
.price-filter-field input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-filter-field input::placeholder {
    color: var(--color-text-muted);
}

.price-filter-sep {
    font-size: 14px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

.price-filter-go {
    height: 36px;
    padding: 0 14px;
    border: 1px solid var(--color-text);
    border-radius: var(--radius-sm);
    background: var(--color-text);
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family);
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.price-filter-go:hover {
    opacity: 0.85;
}

/* Sale link in sidebar */
.filter-sale-link {
    padding: 14px 0;
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    cursor: pointer;
}

.filter-sale-link:hover {
    text-decoration: underline;
}

.filter-sale-link.active {
    color: var(--color-text);
    text-decoration: underline;
}

/* Clear all filters link */
.filter-clear-all {
    display: block;
    padding: 10px 0;
    font-size: 13px;
    color: var(--color-muted);
    text-decoration: underline;
}

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

/* Active filter chips bar */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    background: var(--color-bg-alt, #f5f5f5);
    border: 1px solid var(--color-border, #ddd);
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s;
}

.active-filter-chip:hover {
    background: var(--color-border, #ddd);
}

.chip-remove {
    font-size: 15px;
    line-height: 1;
    opacity: 0.6;
}

.active-filter-chip:hover .chip-remove {
    opacity: 1;
}

.active-filters-clear {
    font-size: 13px;
    color: var(--color-muted);
    text-decoration: underline;
    margin-left: 4px;
}

.active-filters-clear:hover {
    color: var(--color-text);
}

/* ==========================================================================
   9. Products Grid
   ========================================================================== */
.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-lg);
    row-gap: 40px;
    align-content: start;
}

/* ==========================================================================
   10. Product Card
   ========================================================================== */
.product-card {
    background: transparent;
    position: relative;
}

.product-card-image {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-border-light);
    aspect-ratio: 3 / 4;
    margin-bottom: 10px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.03);
}

/* Wishlist button on card */
.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: var(--color-text-muted);
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-wishlist {
    opacity: 1;
}

.product-wishlist:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

.product-wishlist.is-active {
    opacity: 1;
    color: var(--color-accent);
}

.product-wishlist.is-active svg {
    fill: var(--color-accent);
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
}


/* Filling badge on product card */
.product-filling-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: var(--radius-btn);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    letter-spacing: 0.3px;
    backdrop-filter: blur(4px);
}

/* NEW badge on catalog product card */
.product-badge-new {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: var(--radius-btn);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    background: #43a047;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
/* Sale badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.badge-sale {
    background: var(--color-sale);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Quick add to cart overlay */
.product-quick-add {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-quick-add {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-add:hover {
    background: var(--color-accent-hover);
}

/* On touch devices: hide overlay so tap goes directly to product */
@media (hover: none) {
    .product-quick-add {
        display: none;
    }
}

/* Product info */
.product-card-info {
    padding: 0 2px;
}

.product-card-title {
    font-size: 13px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 1px;
    line-height: 1.3;
}

.product-card-subtitle {
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-light);
    margin-bottom: 6px;
}

/* Color swatches */
.product-swatches {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.product-swatch {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.product-swatch:hover {
    border-color: var(--color-text);
    transform: scale(1.15);
}

.product-swatch.is-active {
    border-color: var(--color-text);
    box-shadow: 0 0 0 1.5px var(--color-bg), 0 0 0 3px var(--color-text);
}

/* Product price */
.product-card-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-row-old {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-old {
    font-size: 13px;
    font-weight: var(--font-weight-regular);
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.price-discount {
    display: inline-block;
    background: var(--color-sale);
    color: var(--color-white);
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: 4px;
}

.price-current {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

/* ==========================================================================
   10b. Infinite Scroll
   ========================================================================== */
.infinite-scroll-trigger {
    display: flex;
    justify-content: center;
    padding: var(--gap-xl) 0;
}

.infinite-scroll-spinner {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-light);
}

.infinite-scroll-spinner svg {
    animation: huppa-spin 1s linear infinite;
}

.infinite-scroll-trigger.is-done {
    display: none;
}

@keyframes huppa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   11. Back to Top
   ========================================================================== */
.back-to-top-wrap {
    text-align: center;
    padding: var(--gap-xl) 0;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--color-text);
    color: var(--color-white);
    border-radius: var(--radius-btn);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    transition: background 0.2s ease;
}

.back-to-top:hover {
    background: #333;
    color: var(--color-white);
}

.back-to-top svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
    background: var(--color-bg);
    padding: 50px 0 30px;
    border-top: 1px solid var(--color-border);
}



.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--gap-xl);
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo .logo-text {
    font-weight: var(--font-weight-black);
    font-size: 28px;
    letter-spacing: 2px;
    color: var(--color-text);
    display: block;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    line-height: 1.4;
    margin-bottom: 8px;
}

.footer-site-url {
    font-size: 11px;
    color: var(--color-accent);
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-site-url .url-icon {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
}

.footer-columns {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 12px;
    color: var(--color-text);
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    font-size: 13px;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 30px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-text);
    transition: color 0.2s ease;
}

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

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   13. Pagination
   ========================================================================== */
.woocommerce-pagination {
    text-align: center;
    padding: var(--gap-lg) 0;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 4px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.woocommerce-pagination ul li a:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.woocommerce-pagination ul li span.current {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

/* ==========================================================================
   14. WooCommerce Overrides
   ========================================================================== */
.woocommerce-notices-wrapper {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--gap-md) var(--container-padding);
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: var(--gap-md);
}

.woocommerce-message {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
}

.woocommerce-message,
.woocommerce-info,
.sp-info .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-error {
    display: none !important;
}

.woocommerce-error {
    background: #fce4ec;
    border-left: 4px solid #e53935;
}

.woocommerce-info {
    background: #e3f2fd;
    border-left: 4px solid #1e88e5;
}

/* Hide default WooCommerce breadcrumbs/result count/ordering */
.woocommerce-breadcrumb {
    display: none;
}

/* ==========================================================================
   15. Responsive
   ========================================================================== */

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

    .shop-sidebar-OLD {
        width: 200px;
    }

    .footer-columns {
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
    }

    /* Header mobile */
    .menu-toggle {
        display: flex;
    }

    .header-icons {
        gap: var(--gap-sm);
    }

    .language-switcher span {
        display: none;
    }

    /* --- Mobile nav overlay --- */
    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        background: var(--color-white);
        flex-direction: column;
        padding: 0;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        display: flex;
    }

    .primary-nav.is-open {
        transform: translateX(0);
    }

    /* Nav links section */
    .primary-nav__links {
        display: flex;
        flex-direction: column;
        padding: calc(var(--header-height) + 16px) 24px 24px;
        gap: 0;
        flex: 1;
    }

    .primary-nav__links a,
    .primary-nav__links .menu-item a {
        display: flex;
        align-items: center;
        font-size: 17px;
        font-weight: var(--font-weight-medium);
        color: var(--color-text);
        padding: 14px 0;
        border-bottom: 1px solid var(--color-border-light);
        border-radius: 0;
        width: 100%;
        letter-spacing: 0.2px;
        transition: color 0.2s ease;
    }

    .primary-nav__links a:first-child,
    .primary-nav__links .menu-item:first-child a {
        border-top: 1px solid var(--color-border-light);
    }

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

    .primary-nav__links a.active,
    .primary-nav__links a.current-menu-item > a,
    .primary-nav__links .current-menu-item > a {
        color: var(--color-accent);
        font-weight: var(--font-weight-bold);
        background: transparent;
    }

    /* Arrow indicator on menu items */
    .primary-nav__links a::after,
    .primary-nav__links .menu-item a::after {
        content: '';
        display: block;
        width: 7px;
        height: 7px;
        border-right: 2px solid var(--color-text-muted);
        border-bottom: 2px solid var(--color-text-muted);
        transform: rotate(-45deg);
        margin-left: auto;
        flex-shrink: 0;
        transition: border-color 0.2s ease;
    }

    .primary-nav__links a:hover::after,
    .primary-nav__links .menu-item a:hover::after {
        border-color: var(--color-accent);
    }

    /* Nav footer with actions */
    .primary-nav__footer {
        display: block;
        padding: 16px 24px 24px;
        border-top: 1px solid var(--color-border-light);
    }

    .primary-nav__actions {
        display: flex;
        gap: 12px;
    }

    .primary-nav__action {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 1;
        padding: 12px 16px;
        font-size: 13px;
        font-weight: var(--font-weight-medium);
        color: var(--color-text);
        background: var(--color-bg);
        border-radius: var(--radius-filter);
        transition: background 0.2s ease;
        white-space: nowrap;
    }

    .primary-nav__action:hover {
        background: var(--color-border-light);
    }

    .primary-nav__action svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .primary-nav__badge {
        background: var(--color-accent);
        color: var(--color-white);
        font-size: 10px;
        font-weight: var(--font-weight-bold);
        min-width: 18px;
        height: 18px;
        border-radius: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 5px;
        margin-left: auto;
    }

    /* Backdrop overlay */
    .nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    .nav-backdrop.is-visible {
        opacity: 1;
        visibility: visible;
    }

    /* Subnav mobile */
    .shop-subnav .container {
        flex-direction: column;
        height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 8px;
    }

    .subnav-categories {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        gap: var(--gap-md);
    }

    .subnav-search {
        width: 100%;
    }

    /* Banner mobile */
    .collection-banner {
        height: 220px;
    }

    .collection-banner .banner-title {
        font-size: 22px;
    }

    .collection-banner .banner-overlay {
        padding: 20px;
    }

    .collection-banner .banner-desc {
        display: none;
    }

    /* Shop layout mobile */
    .shop-content {
        flex-direction: column;
        gap: var(--gap-md);
    }

    .shop-sidebar-OLD {
        width: 100%;
        display: none;
    }

    .shop-sidebar-OLD.is-open {
        display: block;
    }

    .shop-toolbar {
        flex-wrap: wrap;
        gap: var(--gap-sm);
    }

    .shop-by-toggle {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-md);
    }

    .product-card .product-wishlist {
        opacity: 1;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--gap-lg);
    }

    .footer-columns {
        flex-direction: column;
        gap: var(--gap-lg);
    }

    .footer-bottom {
        justify-content: center;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-title {
        font-size: 12px;
    }

    .price-current {
        font-size: 14px;
    }
}

/* ==========================================================================
   16. Homepage — Common Components
   ========================================================================== */
.hp-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}

.hp-btn:hover {
    background: var(--color-accent-hover);
    color: var(--color-white);
}

.hp-btn--sm {
    padding: 8px 24px;
    font-size: 12px;
}

.hp-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
}

.hp-play-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.hp-play-btn__icon {
    width: 16px;
    height: 16px;
}

.hp-play-btn__icon--pause {
    display: none;
}

.hp-play-btn.is-playing .hp-play-btn__icon--play {
    display: none;
}

.hp-play-btn.is-playing .hp-play-btn__icon--pause {
    display: block;
}

.hp-play-btn--small {
    padding: 8px;
    border-radius: 50%;
}

.hp-play-btn--small span {
    display: none;
}

/* ==========================================================================
   17. Homepage — Hero
   ========================================================================== */
.hp-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--color-text);
}

.hp-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hp-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 40px 60px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.hp-hero__content {
    max-width: 500px;
}

.hp-hero__logo {
    display: block;
    font-size: 72px;
    font-weight: var(--font-weight-black);
    color: var(--color-white);
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 12px;
}

.hp-hero__logo sup {
    font-size: 0.35em;
    vertical-align: super;
}

.hp-hero__tagline {
    font-size: 16px;
    font-weight: var(--font-weight-light);
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

/* ==========================================================================
   18. Homepage — Transparent Header Override
   ========================================================================== */
.home .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.home .site-header .logo-text {
    color: var(--color-white);
}

.home .site-header .header-icon {
    color: var(--color-white);
}

.home .site-header .header-icon svg {
    stroke: var(--color-white);
}

.home .site-header .primary-nav a {
    color: var(--color-white);
}

/* Reset the active pill on transparent header */
.home .site-header .primary-nav a.active,
.home .site-header .primary-nav .current-menu-item > a {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.home .site-header .menu-toggle span {
    background: var(--color-white);
}

.home .site-header .language-switcher {
    opacity: 0.9;
}

/* Scrolled state — solid header */
.home .site-header.is-scrolled {
    background: var(--color-white);
    border-bottom-color: var(--color-border);
}

.home .site-header.is-scrolled .logo-text {
    color: var(--color-text);
}

.home .site-header.is-scrolled .header-icon {
    color: var(--color-text);
}

.home .site-header.is-scrolled .header-icon svg {
    stroke: var(--color-text);
}

.home .site-header.is-scrolled .primary-nav a {
    color: var(--color-text);
}

.home .site-header.is-scrolled .primary-nav a.active,
.home .site-header.is-scrolled .primary-nav .current-menu-item > a {
    background: var(--color-accent);
    color: var(--color-white);
}

.home .site-header.is-scrolled .menu-toggle span {
    background: var(--color-text);
}

.home .site-header.is-scrolled .language-switcher {
    opacity: 1;
}

/* Mobile nav open — always solid on home too (slide-in panel) */
.home .primary-nav.is-open {
    background: var(--color-white);
}

.home .primary-nav.is-open .primary-nav__links a {
    color: var(--color-text);
}

.home .primary-nav.is-open .primary-nav__links a.active,
.home .primary-nav.is-open .primary-nav__links .current-menu-item > a {
    color: var(--color-accent);
    background: transparent;
}

/* ==========================================================================
   19. Homepage — Category Cards
   ========================================================================== */
.hp-categories {
    padding: 80px 0;
    background: var(--color-bg);
}

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

.hp-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 16px;
}

.hp-categories__img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.hp-categories__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hp-categories__card:hover .hp-categories__img-wrap img {
    transform: scale(1.04);
}

.hp-categories__label {
    display: inline-block;
    padding: 8px 28px;
    background: var(--color-text);
    color: var(--color-white);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-btn);
}

/* ==========================================================================
   20. Homepage — Video Banner (reusable)
   ========================================================================== */
.hp-video-banner {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
    background: var(--color-text);
}

.hp-video-banner__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.hp-video-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.hp-video-banner__content {
    align-self: flex-start;
}

/* ==========================================================================
   21. Homepage — Collections Carousel
   ========================================================================== */
.hp-collections {
    padding: 80px 0;
    background: var(--color-bg);
}

.hp-collections__header {
    margin-bottom: 40px;
}

.hp-collections__title {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 12px;
}

.hp-collections__desc {
    font-size: 15px;
    color: var(--color-text-light);
    max-width: 540px;
    line-height: 1.6;
}

.hp-carousel {
    position: relative;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 60px;
}

.hp-carousel__track {
    display: flex;
    gap: var(--gap-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
}

.hp-carousel__track::-webkit-scrollbar {
    display: none;
}

.hp-carousel__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hp-carousel__img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.hp-carousel__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hp-carousel__item:hover .hp-carousel__img-wrap img {
    transform: scale(1.04);
}

.hp-carousel__artist {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.hp-carousel__prev,
.hp-carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s ease;
}

.hp-carousel__prev:hover,
.hp-carousel__next:hover {
    background: var(--color-bg);
}

.hp-carousel__prev {
    left: 0;
}

.hp-carousel__next {
    right: 0;
}

.hp-carousel__prev svg,
.hp-carousel__next svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   22. Homepage — Art Banner
   ========================================================================== */
.hp-art-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hp-art-banner__img {
    width: 100%;
    display: block;
}

.hp-art-banner__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 40px;
}

/* ==========================================================================
   23. Homepage — HUPPA PRO
   ========================================================================== */
.hp-pro {
    position: relative;
    width: 100%;
    height: 65vh;
    overflow: hidden;
}

.hp-pro__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #2a2a2a;
}

.hp-pro__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    padding: 60px 0;
}

.hp-pro__subtitle {
    font-size: 14px;
    font-weight: var(--font-weight-light);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hp-pro__title {
    font-size: 56px;
    font-weight: var(--font-weight-black);
    color: var(--color-white);
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 24px;
}

.hp-pro__title sup {
    font-size: 0.3em;
    vertical-align: super;
}

/* ==========================================================================
   24. Homepage — Media
   ========================================================================== */
.hp-media {
    padding: 80px 0;
    background: var(--color-bg);
}

.hp-media__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: start;
}

.hp-media__featured-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-card);
    overflow: hidden;
    margin-bottom: 20px;
}

.hp-media__featured-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-media__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--color-white);
    color: var(--color-text);
    font-size: 11px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-btn);
}

.hp-media__featured-title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.35;
    margin-bottom: 12px;
}

.hp-media__featured-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 24px;
}

.hp-media__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
}

.hp-media__gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.hp-media__gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   25. Homepage — Responsive
   ========================================================================== */

/* Tablet landscape */
@media (max-width: 1024px) {
    .hp-hero__logo {
        font-size: 56px;
    }

    .hp-hero__overlay {
        padding: 90px 30px 48px;
    }

    .hp-collections__title {
        font-size: 28px;
    }

    .hp-carousel__item {
        flex: 0 0 240px;
    }

    .hp-pro__title {
        font-size: 44px;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .hp-hero {
        height: 100svh;
    }

    .hp-hero__logo {
        font-size: 44px;
    }

    .hp-hero__overlay {
        padding: 80px 20px 40px;
    }

    .hp-hero__tagline {
        font-size: 13px;
    }

    .hp-categories {
        padding: 48px 0;
    }

    .hp-categories__grid {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
        max-width: 400px;
        margin: 0 auto;
    }

    .hp-video-banner {
        height: 50vh;
    }

    .hp-video-banner__overlay {
        padding: 24px;
    }

    .hp-collections {
        padding: 48px 0;
    }

    .hp-collections__title {
        font-size: 24px;
    }

    .hp-carousel {
        padding: 0 var(--container-padding);
    }

    .hp-carousel__prev,
    .hp-carousel__next {
        display: none;
    }

    .hp-art-banner__overlay {
        padding: 24px;
    }

    .hp-pro {
        height: 50vh;
    }

    .hp-pro__title {
        font-size: 36px;
    }

    .hp-pro__overlay {
        padding: 40px 0;
    }

    .hp-media {
        padding: 48px 0;
    }

    .hp-media__grid {
        grid-template-columns: 1fr;
    }

    .hp-media__featured-title {
        font-size: 18px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hp-hero__logo {
        font-size: 36px;
    }

    .hp-hero__tagline {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hp-btn {
        padding: 10px 24px;
        font-size: 12px;
    }

    .hp-carousel__item {
        flex: 0 0 200px;
    }

    .hp-pro__title {
        font-size: 28px;
    }

    .hp-pro__subtitle {
        font-size: 12px;
    }

    .hp-media__featured-title {
        font-size: 16px;
    }
}

/* ==========================================================================
   26. Single Product Page
   ========================================================================== */
.sp-wrapper {
    padding: calc(var(--header-height) + 24px) 0 60px;
    background: var(--color-bg);
    min-height: 100vh;
}

.sp-breadcrumb {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.sp-breadcrumb a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.sp-breadcrumb a:hover {
    color: var(--color-text);
}

.sp-breadcrumb__sep {
    margin: 0 8px;
}

.sp-breadcrumb__current {
    color: var(--color-text);
}

.sp-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-xl);
    align-items: start;
}

/* Gallery — thumbs on the left, vertical column */
.sp-gallery {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    max-width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
}

.sp-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
}

.sp-badge--sale {
    background: var(--color-sale);
    color: var(--color-white);
}

.sp-gallery__main {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-white);
    margin-bottom: 0;
}

.sp-gallery__img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
}

.sp-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.sp-gallery__main:hover .sp-gallery__arrow {
    opacity: 1;
}

.sp-gallery__arrow svg {
    width: 20px;
    height: 20px;
}

.sp-gallery__arrow--prev { left: 8px; }
.sp-gallery__arrow--next { right: 8px; }

.sp-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    width: 72px;
    flex-shrink: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sp-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.sp-gallery__thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    background: var(--color-white);
    transition: border-color 0.2s ease;
}

.sp-gallery__thumb.is-active {
    border-color: var(--color-text);
}

.sp-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product info */
.sp-info {
    padding-top: 8px;
}

.sp-info__title {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: 16px;
}

.sp-info__price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sp-info__price-old {
    font-size: 18px;
    color: var(--color-text-muted);
    text-decoration: line-through;
}

.sp-info__price-badge {
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    background: var(--color-sale);
    padding: 2px 8px;
    border-radius: var(--radius-btn);
}

.sp-info__price-current {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.sp-info__desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 24px;
}

.sp-info__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.3px;
    color: var(--color-text);
    background: var(--color-bg-alt, #f5f5f5);
    border: 1px solid var(--color-border);
    border-radius: 20px;
}

.sp-tag--temp {
    flex-direction: column;
    padding: 8px 14px;
}

.sp-tag__icon {
    width: 22px;
    height: 28px;
}

.sp-tag__icon--wide {
    width: 28px;
    height: 22px;
    margin-top: 4px;
}

.sp-tag__text {
    font-size: 11px;
    white-space: nowrap;
}

/* Tooltip on hover */
.sp-tag[data-tooltip] {
    position: relative;
    cursor: help;
}

.sp-tag[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text, #1a1a1a);
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
    width: 200px;
    padding: 8px 12px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.sp-tag[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--color-text, #1a1a1a);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.sp-tag[data-tooltip]:hover::after,
.sp-tag[data-tooltip]:hover::before,
.sp-tag[data-tooltip]:focus::after,
.sp-tag[data-tooltip]:focus::before {
    opacity: 1;
}

/* Color swatches */
.sp-info__colors {
    margin-bottom: 20px;
}

.sp-info__label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 8px;
}

.sp-info__swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sp-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.sp-swatch:hover,
.sp-swatch.is-active {
    border-color: var(--color-text);
    transform: scale(1.1);
}

.sp-swatch.is-unavailable {
    cursor: not-allowed;
    position: relative;
    transform: none;
}

.sp-swatch.is-unavailable::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.15);
    pointer-events: none;
    z-index: 1;
}

.sp-swatch.is-unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -3px;
    right: -3px;
    height: 2px;
    background: #fff;
    transform: rotate(-45deg);
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 0 1px rgba(0,0,0,0.6);
}

/* Color variant thumbnails */
.sp-color-thumb {
    display: block;
    width: 48px;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    border: 2px solid var(--color-border);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    background: var(--color-white);
}

.sp-color-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-color-thumb:hover {
    border-color: var(--color-text);
    transform: scale(1.05);
}

.sp-color-thumb.is-active {
    border-color: var(--color-text);
    border-width: 3px;
}

/* Size buttons */
.sp-info__sizes {
    margin-bottom: 20px;
}

.sp-info__size-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sp-size-btn {
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.sp-size-btn.is-active {
    background: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

.sp-size-btn.is-unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    position: relative;
    color: var(--color-text-muted);
    border-color: var(--color-border-light);
}

.sp-size-btn.is-unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--color-text-muted);
    pointer-events: none;
}

/* Store availability */
.sp-info__stores {
    margin-bottom: 20px;
}

.sp-store-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 8px;
}

.sp-store-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.sp-store-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.sp-store-item.is-available .sp-store-dot {
    background: #22c55e;
}

.sp-store-item.is-unavailable .sp-store-dot {
    background: #ef4444;
}

/* WooCommerce variation form override */
.sp-info .variations_form {
    margin-bottom: 24px;
}

.sp-info .variations {
    width: 100%;
    border: none;
}

.sp-info .variations td,
.sp-info .variations th {
    padding: 8px 0;
    border: none;
    vertical-align: middle;
}

.sp-info .variations .label label {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.sp-info .variations select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.sp-info .variations select:focus {
    outline: none;
    border-color: var(--color-text);
}

.sp-info .woocommerce-variation-availability {
    display: none !important;
}

.sp-info .woocommerce-variation-description {
    display: none !important;
}

.sp-info .woocommerce-variation-price {
    display: none !important;
}

.sp-info .quantity {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
}

.sp-info .quantity .qty {
    width: 60px;
    padding: 10px 8px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
}

.sp-info .single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 40px;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
}

.sp-info .single_add_to_cart_button:hover {
    background: var(--color-accent);
}

.sp-info .single_add_to_cart_button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sp-info .reset_variations {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-left: 8px;
}





/* Filling badge on single product gallery */
.sp-filling-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 3;
    padding: 4px 12px;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    backdrop-filter: blur(4px);
}

/* NEW badge on single product gallery */
.sp-badge-new {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    padding: 4px 14px;
    border-radius: var(--radius-btn);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    background: #43a047;
    color: #fff;
    letter-spacing: 0.5px;
}
/* Wishlist button on single product */
.sp-wishlist {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3;
    padding: 0;
}

.sp-wishlist:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

.sp-wishlist.is-active {
    color: var(--color-accent);
    fill: var(--color-accent);
}

.sp-wishlist.is-active svg {
    fill: var(--color-accent);
}

.sp-wishlist svg {
    width: 22px;
    height: 22px;
}
/* Product meta */
.sp-meta {
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    margin-top: 4px;
}

.sp-meta__row {
    display: flex;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 6px;
}

.sp-meta__row:last-child {
    margin-bottom: 0;
}

.sp-meta__label {
    color: var(--color-text-muted);
    min-width: 70px;
}

.sp-meta__value {
    color: var(--color-text);
}

.sp-meta__value a {
    color: var(--color-text);
    text-decoration: none;
}

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

/* Accordion */
.sp-accordion {
    border-top: 1px solid var(--color-border);
}

.sp-accordion__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
}

.sp-accordion__header svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.sp-accordion__header.is-open svg {
    transform: rotate(180deg);
}

.sp-accordion__body {
    display: none;
    padding-bottom: 20px;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.65;
}

.sp-accordion__body.is-open {
    display: block;
}

.sp-accordion__body p {
    margin-bottom: 12px;
}

.sp-accordion__body p:last-child {
    margin-bottom: 0;
}

.sp-details-table {
    width: 100%;
}

.sp-details-table th,
.sp-details-table td {
    padding: 6px 0;
    font-size: 13px;
    border: none;
    text-align: left;
}

.sp-details-table th {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-regular);
    width: 55%;
}

.sp-details-table td {
    color: var(--color-text);
}

/* Single product responsive */
@media (max-width: 768px) {
    .sp-product {
        grid-template-columns: 1fr;
        gap: var(--gap-lg);
    }

    .sp-gallery {
        position: static;
        flex-direction: column-reverse;
    }

    .sp-gallery__thumbs {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        width: 100%;
    }

    .sp-info__title {
        font-size: 22px;
    }

    .sp-info__price-current {
        font-size: 20px;
    }

    /* Tooltip below tag on mobile */
    .sp-tag[data-tooltip]::after {
        bottom: auto;
        top: calc(100% + 8px);
        left: 0;
        transform: none;
    }

    .sp-tag[data-tooltip]::before {
        bottom: auto;
        top: calc(100% + 2px);
        left: 50%;
        transform: translateX(-50%);
        border-top-color: transparent;
        border-bottom-color: var(--color-text, #1a1a1a);
    }
}

/* ==========================================================================
   27. WooCommerce Form & Cart Overrides
   ========================================================================== */

/* Default WooCommerce page wrapper for cart/checkout/account */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--header-height) + 24px) var(--container-padding) 60px;
}

/* Cart table */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
    border: none;
    font-size: 14px;
}

.woocommerce table.shop_table th {
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 8px;
    text-align: left;
}

.woocommerce table.shop_table td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: middle;
}

.woocommerce table.shop_table img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

/* Cart buttons */
.woocommerce .button,
.woocommerce input.button,
.woocommerce button.button {
    display: inline-block;
    padding: 10px 28px;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
}

.woocommerce .button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
    background: var(--color-accent);
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--color-accent-hover);
}

/* Form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    outline: none;
    border-color: var(--color-text);
}

.woocommerce form .form-row label {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 4px;
    display: block;
}

/* Quantity input */
.woocommerce .quantity .qty {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
}

/* Remove button */
.woocommerce a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--color-text-muted) !important;
    font-size: 18px;
    text-decoration: none;
}

.woocommerce a.remove:hover {
    color: var(--color-sale) !important;
    background: none;
}

/* Cart totals */
.woocommerce .cart_totals {
    float: right;
    width: 380px;
}

.woocommerce .cart_totals h2 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 16px;
}

.woocommerce .cart_totals table {
    border: none;
}

.woocommerce .cart_totals th,
.woocommerce .cart_totals td {
    padding: 10px 0;
    border-top: 1px solid var(--color-border-light);
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 28px;
    font-size: 14px;
}

/* Cart responsive */
@media (max-width: 768px) {
    .woocommerce .cart_totals {
        float: none;
        width: 100%;
    }
}

/* Page container (generic pages) */
.page-container {
    padding: 60px 20px;
}

/* Stores page */
.stores-header {
    text-align: center;
    padding: calc(var(--header-height) + 40px) 0 40px;
}

.stores-title {
    font-size: 36px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 8px;
}

.stores-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
}

.stores-country {
    margin-bottom: 48px;
}

.stores-country__title {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.store-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 24px;
    transition: box-shadow 0.2s ease;
}

.store-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.store-card__type {
    display: inline-block;
    font-size: 11px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.store-card__type--representative {
    background: var(--color-text);
    color: var(--color-white);
}

.store-card__type--outlet {
    background: var(--color-bg-alt, #f0f0f0);
    color: var(--color-text);
}

.store-card__name {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 16px;
}

.store-card__details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.store-card__row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.4;
}

.store-card__row svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--color-text-muted);
}

.store-card__row a {
    color: var(--color-text-light);
    text-decoration: none;
}

.store-card__row a:hover {
    color: var(--color-text);
}

.store-card__map-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
}

.store-card__map-link:hover {
    border-color: var(--color-text);
}

.store-card__map-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .stores-header {
        padding: calc(var(--header-height) + 24px) 0 24px;
    }

    .stores-title {
        font-size: 28px;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }
}

/* WooCommerce pages (checkout, cart, account) */
.wc-page-container {
    padding: var(--header-height) var(--container-padding) 60px;
}

.wc-page-container article,
.wc-page-container .entry-content,
.wc-page-container .entry-content > .woocommerce {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   28a. My Account
   ========================================================================== */

/* Account layout */
.account-wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--gap-xl);
    align-items: start;
    padding-top: 20px;
}

/* Sidebar */
.account-sidebar {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.account-user__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

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

.account-user__name {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-user__email {
    font-size: 12px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation */
.account-nav ul {
    margin: 0;
    padding: 8px 0;
}

.account-nav__item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.account-nav__item a:hover {
    background: var(--color-bg-alt, #f5f5f5);
    color: var(--color-text);
}

.account-nav__item.is-active a {
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
    background: var(--color-bg-alt, #f5f5f5);
    border-left: 3px solid var(--color-text);
    padding-left: 17px;
}

.account-nav__icon {
    display: flex;
    align-items: center;
}

.account-nav__icon svg {
    width: 18px;
    height: 18px;
}

/* Dashboard */
.account-welcome h2 {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 8px;
}

.account-welcome p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.account-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.account-card:hover {
    border-color: var(--color-text);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.account-card svg {
    width: 28px;
    height: 28px;
    color: var(--color-text);
    margin-bottom: 12px;
}

.account-card__title {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 4px;
}

.account-card__desc {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Recent orders on dashboard */
.account-recent-orders h3 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 16px;
}

.account-orders-table {
    overflow-x: auto;
}

.account-orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.account-orders-table th {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-border);
}

.account-orders-table td {
    font-size: 14px;
    padding: 12px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
    color: var(--color-text);
}

.order-status {
    display: inline-block;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--color-bg-alt, #f0f0f0);
    color: var(--color-text);
}

.order-status--completed { background: #e8f5e9; color: #2e7d32; }
.order-status--processing { background: #e3f2fd; color: #1565c0; }
.order-status--on-hold { background: #fff8e1; color: #f57f17; }
.order-status--cancelled,
.order-status--failed { background: #fce4ec; color: #c62828; }

.account-btn-sm {
    display: inline-block;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.account-btn-sm:hover {
    border-color: var(--color-text);
    background: var(--color-text);
    color: var(--color-white);
}

/* Disabled nav item (Loyalty Program) */
.account-nav__item.is-disabled .account-nav__link-disabled {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--color-text-muted);
    cursor: default;
    opacity: 0.6;
}

.account-nav__badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--color-accent);
    color: var(--color-white);
}

/* Loyalty Teaser on Dashboard */
.account-loyalty-teaser {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #1A1A1A 0%, #333 100%);
    border-radius: var(--radius-card);
    margin-bottom: 32px;
    overflow: hidden;
    color: var(--color-white);
}

.loyalty-teaser__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.loyalty-teaser__icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.loyalty-teaser__content h3 {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    margin: 0 0 6px;
    color: var(--color-white);
}

.loyalty-teaser__content p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 16px;
    line-height: 1.5;
    max-width: 400px;
}

.loyalty-teaser__stats {
    display: flex;
    gap: 32px;
}

.loyalty-teaser__stat {
    display: flex;
    flex-direction: column;
}

.loyalty-teaser__stat-value {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
}

.loyalty-teaser__stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.5);
}

.loyalty-teaser__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--color-accent);
    color: var(--color-white);
}

/* Account content — general headings */
.account-content h2,
.account-content h3 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 20px;
}

/* ---- Orders Page ---- */
.account-content .woocommerce-MyAccount-orders {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.account-content .woocommerce-MyAccount-orders thead th {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
}

.account-content .woocommerce-MyAccount-orders tbody td,
.account-content .woocommerce-MyAccount-orders tbody th {
    font-size: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
    color: var(--color-text);
    vertical-align: middle;
}

.account-content .woocommerce-MyAccount-orders tbody th a {
    color: var(--color-text);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
}

.account-content .woocommerce-MyAccount-orders tbody th a:hover {
    color: var(--color-accent);
}

.account-content .woocommerce-MyAccount-orders .button,
.account-content .woocommerce-MyAccount-orders .woocommerce-button {
    display: inline-block;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    text-decoration: none;
    background: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.account-content .woocommerce-MyAccount-orders .button:hover,
.account-content .woocommerce-MyAccount-orders .woocommerce-button:hover {
    border-color: var(--color-text);
    background: var(--color-text);
    color: var(--color-white);
}

/* Orders pagination */
.account-content .woocommerce-pagination {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.account-content .woocommerce-pagination .button {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-btn);
    text-decoration: none;
    background: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.account-content .woocommerce-pagination .button:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-white);
}

/* ---- Address Listing Page ---- */
.account-content .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-content .woocommerce-Address {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 20px;
}

.account-content .woocommerce-Address .woocommerce-Address-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.account-content .woocommerce-Address .woocommerce-Address-title h2 {
    font-size: 16px;
    margin: 0;
}

.account-content .woocommerce-Address .woocommerce-Address-title .edit {
    font-size: 13px;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.account-content .woocommerce-Address .woocommerce-Address-title .edit:hover {
    text-decoration: underline;
}

.account-content .woocommerce-Address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Description text before addresses */
.account-content > p:first-child,
.account-content .woocommerce-Addresses + p,
.account-content form > p:first-of-type:not(.form-row) {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* ---- Address Edit & Account Edit Forms ---- */
.account-content .woocommerce-address-fields,
.account-content .woocommerce-EditAccountForm {
    max-width: 560px;
}

.account-content .woocommerce-address-fields__field-wrapper,
.account-content .woocommerce-EditAccountForm {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.account-content .form-row-wide,
.account-content .woocommerce-form-row--wide {
    grid-column: 1 / -1;
}

.account-content .form-row-first,
.account-content .woocommerce-form-row--first {
    grid-column: 1;
}

.account-content .form-row-last,
.account-content .woocommerce-form-row--last {
    grid-column: 2;
}

.account-content .form-row {
    margin-bottom: 0;
}

.account-content .form-row label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 6px;
}

.account-content .form-row label .required {
    color: var(--color-sale);
}

.account-content .form-row label .optional {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: var(--font-weight-regular);
}

.account-content .form-row input.input-text,
.account-content .form-row input[type="text"],
.account-content .form-row input[type="email"],
.account-content .form-row input[type="password"],
.account-content .form-row textarea,
.account-content .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.account-content .form-row input:focus,
.account-content .form-row textarea:focus,
.account-content .form-row select:focus {
    outline: none;
    border-color: var(--color-text);
}

.account-content .form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Select2 in account forms */
.account-content .select2-container .select2-selection--single {
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.account-content .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-text);
}

.account-content .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 8px;
}

/* Fieldset (password change) */
.account-content fieldset {
    border: none;
    padding: 0;
    margin: 24px 0 0;
    grid-column: 1 / -1;
}

.account-content fieldset legend {
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
    width: 100%;
}

/* Display name description */
.account-content #account_display_name_description em {
    font-size: 12px;
    color: var(--color-text-muted);
    font-style: normal;
}

/* Clear divs */
.account-content .clear {
    display: none;
}

/* Submit buttons in account forms */
.account-content .woocommerce-address-fields > p:last-child,
.account-content .woocommerce-EditAccountForm > p:last-child {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.account-content .button,
.account-content button[type="submit"] {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
}

.account-content .button:hover,
.account-content button[type="submit"]:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ---- View Order Page ---- */
.account-content mark {
    background: none;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.account-content .woocommerce-OrderUpdates {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-content .woocommerce-OrderUpdate {
    padding: 16px;
    background: var(--color-white);
    border: 1px solid var(--color-border-light, #f0f0f0);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.account-content .woocommerce-OrderUpdate-meta {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0 0 6px;
}

.account-content .woocommerce-OrderUpdate-description p {
    font-size: 14px;
    color: var(--color-text);
    margin: 0;
}

/* Order details table (rendered by do_action) */
.account-content .woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
}

.account-content .woocommerce-table--order-details th,
.account-content .woocommerce-table--order-details td {
    padding: 12px 16px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.account-content .woocommerce-table--order-details thead th {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.account-content .woocommerce-table--order-details tfoot th {
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
}

.account-content .woocommerce-table--order-details tfoot tr:last-child th,
.account-content .woocommerce-table--order-details tfoot tr:last-child td {
    font-weight: var(--font-weight-bold);
    font-size: 16px;
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
}

.account-content .woocommerce-table--order-details .product-name a {
    color: var(--color-text);
    text-decoration: none;
}

.account-content .woocommerce-table--order-details .product-name a:hover {
    color: var(--color-accent);
}

/* Customer details after order */
.account-content .woocommerce-customer-details {
    margin-top: 24px;
}

.account-content .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.account-content .woocommerce-column--billing-address,
.account-content .woocommerce-column--shipping-address {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 20px;
}

.account-content .woocommerce-column--billing-address h2,
.account-content .woocommerce-column--shipping-address h2 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light, #f0f0f0);
}

.account-content .woocommerce-column--billing-address address,
.account-content .woocommerce-column--shipping-address address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* ---- Login / Register Form ---- */
.woocommerce-account:not(.logged-in) .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.woocommerce-account:not(.logged-in) #customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.woocommerce-account:not(.logged-in) #customer_login h2 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 20px;
}

.woocommerce-account:not(.logged-in) .form-row {
    margin-bottom: 16px;
}

.woocommerce-account:not(.logged-in) .form-row label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 6px;
}

.woocommerce-account:not(.logged-in) .form-row .required {
    color: var(--color-sale);
}

.woocommerce-account:not(.logged-in) .form-row input.input-text,
.woocommerce-account:not(.logged-in) .form-row input[type="text"],
.woocommerce-account:not(.logged-in) .form-row input[type="email"],
.woocommerce-account:not(.logged-in) .form-row input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.woocommerce-account:not(.logged-in) .form-row input:focus {
    outline: none;
    border-color: var(--color-text);
}

.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-light);
}

.woocommerce-account:not(.logged-in) .button {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
    margin-top: 8px;
}

.woocommerce-account:not(.logged-in) .button:hover {
    background: var(--color-accent);
}

.woocommerce-account:not(.logged-in) .lost_password {
    margin-top: 12px;
}

.woocommerce-account:not(.logged-in) .lost_password a {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: underline;
}

.woocommerce-account:not(.logged-in) .lost_password a:hover {
    color: var(--color-accent);
}

/* ---- WooCommerce Notices in Account ---- */
.account-content .woocommerce-message,
.account-content .woocommerce-error,
.account-content .woocommerce-info {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    list-style: none;
}

.account-content .woocommerce-message {
    background: #f0fdf4;
    border-left: 3px solid #16a34a;
    color: #166534;
}

.account-content .woocommerce-error {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    color: #991b1b;
}

.account-content .woocommerce-info {
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    color: #1e40af;
}

.account-content .woocommerce-message a,
.account-content .woocommerce-error a,
.account-content .woocommerce-info a {
    color: inherit;
    font-weight: var(--font-weight-medium);
    text-decoration: underline;
}

/* ---- Account Responsive ---- */
@media (max-width: 768px) {
    .account-wrapper {
        grid-template-columns: 1fr;
        gap: var(--gap-md);
    }

    .account-nav__item.is-active a {
        border-left: none;
        padding-left: 20px;
    }

    .account-content .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    .account-content .woocommerce-address-fields__field-wrapper,
    .account-content .woocommerce-EditAccountForm {
        grid-template-columns: 1fr;
    }

    .account-content .form-row-first,
    .account-content .woocommerce-form-row--first,
    .account-content .form-row-last,
    .account-content .woocommerce-form-row--last {
        grid-column: 1;
    }

    .account-content .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }

    .woocommerce-account:not(.logged-in) #customer_login {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .account-loyalty-teaser {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .loyalty-teaser__stats {
        justify-content: center;
    }

    .loyalty-teaser__content p {
        max-width: none;
    }

    /* Orders table responsive */
    .account-content .woocommerce-MyAccount-orders thead {
        display: none;
    }

    .account-content .woocommerce-MyAccount-orders tbody tr {
        display: block;
        background: var(--color-white);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-card);
        padding: 16px;
        margin-bottom: 12px;
    }

    .account-content .woocommerce-MyAccount-orders tbody td,
    .account-content .woocommerce-MyAccount-orders tbody th {
        display: flex;
        justify-content: space-between;
        padding: 4px 0;
        border: none;
    }

    .account-content .woocommerce-MyAccount-orders tbody td::before,
    .account-content .woocommerce-MyAccount-orders tbody th::before {
        content: attr(data-title);
        font-weight: var(--font-weight-medium);
        color: var(--color-text-muted);
        font-size: 12px;
        text-transform: uppercase;
    }
}

/* ==========================================================================
   28b. One-Page Checkout
   ========================================================================== */
.oc-wrapper {
    padding: 0 0 60px;
    background: var(--color-bg);
    min-height: 100vh;
}

.oc-title {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-top: 0;
    margin-bottom: 32px;
}

/* Empty cart */
.oc-empty {
    text-align: center;
    padding: 80px 0;
}

.oc-empty p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* Layout: 2 columns */
.oc-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--gap-xl);
    align-items: start;
}

.oc-sidebar__sticky {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

/* Section titles */
.oc-section-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

/* Buttons */
.oc-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
}

.oc-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.oc-btn--sm {
    padding: 8px 20px;
    font-size: 13px;
}

/* --- Cart Items --- */
.oc-cart {
    margin-bottom: 32px;
}

.oc-cart__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oc-cart__item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-white);
    border-radius: var(--radius-card);
}

.oc-cart__item-img {
    flex: 0 0 80px;
    width: 80px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg);
}

.oc-cart__item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oc-cart__item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.oc-cart__item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.oc-cart__item-name {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    line-height: 1.4;
    margin: 0;
}

.oc-cart__item-name a {
    color: inherit;
    text-decoration: none;
}

.oc-cart__item-name a:hover {
    color: var(--color-accent);
}

.oc-cart__item-remove {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-text-muted);
    text-decoration: none;
    line-height: 1;
    border-radius: 50%;
    transition: color 0.2s ease;
}

.oc-cart__item-remove:hover {
    color: var(--color-sale);
}

.oc-cart__item-info dl.variation {
    margin: 4px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.oc-cart__item-info dl.variation dt {
    font-weight: var(--font-weight-regular);
}

.oc-cart__item-info dl.variation dd {
    margin: 0;
}

.oc-cart__item-info dl.variation p {
    margin: 0;
}

.oc-cart__item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.oc-cart__item-qty {
    font-size: 13px;
    color: var(--color-text-muted);
}

.oc-cart__item-price {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.oc-cart__edit {
    margin-top: 12px;
    text-align: right;
}

.oc-cart__edit a {
    font-size: 13px;
    color: var(--color-text-muted);
    text-decoration: underline;
}

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

/* --- Coupon --- */
.oc-coupon {
    margin-bottom: 32px;
}

.oc-coupon__btn {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-family);
    font-size: 13px;
    color: var(--color-accent);
    cursor: pointer;
    text-decoration: underline;
}

.oc-coupon__form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.oc-coupon__input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
}

.oc-coupon__input:focus {
    outline: none;
    border-color: var(--color-text);
}

/* --- Billing / Shipping fields --- */
.oc-billing,
.oc-shipping {
    margin-bottom: 32px;
}

.oc-order-notes {
    margin-bottom: 32px;
    padding-top: 8px;
    border-top: 1px solid var(--color-border-light);
}

.oc-order-notes .form-row {
    margin: 0;
}

.oc-order-notes label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.oc-order-notes label .optional {
    font-weight: var(--font-weight-regular);
    color: var(--color-text-muted);
}

.oc-order-notes textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
    min-height: 72px;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.oc-order-notes textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.oc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.oc-fields .form-row-wide,
.oc-fields .form-row-last + .form-row-wide {
    grid-column: 1 / -1;
}

.oc-fields .form-row-first {
    grid-column: 1;
}

.oc-fields .form-row-last {
    grid-column: 2;
}

.oc-fields .form-row {
    margin-bottom: 0;
}

.oc-fields .form-row label {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    margin-bottom: 6px;
}

.oc-fields .form-row label .required {
    color: var(--color-sale);
}

.oc-fields .form-row label .optional {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: var(--font-weight-regular);
}

.oc-fields .form-row input.input-text,
.oc-fields .form-row textarea,
.oc-fields .form-row select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-family);
    font-size: 14px;
    background: var(--color-white);
    transition: border-color 0.2s ease;
}

.oc-fields .form-row input.input-text:focus,
.oc-fields .form-row textarea:focus,
.oc-fields .form-row select:focus {
    outline: none;
    border-color: var(--color-text);
}

.oc-fields .form-row textarea {
    min-height: 80px;
    resize: vertical;
}

.oc-fields .form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Select2 override (WooCommerce uses Select2 for country/state) */
.oc-fields .select2-container .select2-selection--single {
    height: 42px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.oc-fields .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 14px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-text);
}

.oc-fields .select2-container .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 8px;
}

/* --- Order Totals (sidebar) --- */
.oc-totals {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 20px;
}

.oc-totals .oc-section-title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.oc-totals__rows {
    border-top: 1px solid var(--color-border-light);
    padding-top: 12px;
}

.oc-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text-light);
    padding: 6px 0;
}

.oc-totals__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--color-border);
}

/* Shipping note (enter address / no options) */
.oc-totals__shipping-note {
    font-size: 12px;
    color: var(--color-text-muted);
    text-align: right;
    max-width: 180px;
    line-height: 1.3;
}

/* Montonio pickup point dropdown in sidebar */
.oc-sidebar #montonio-shipping-pickup-point-dropdown-wrapper {
    margin-top: 12px;
}

.oc-sidebar #montonio-shipping-pickup-point-dropdown-wrapper h2 {
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    margin: 0 0 8px;
}

.oc-sidebar .montonio-pickup-point__search-input {
    font-family: var(--font-family);
    border-radius: var(--radius-sm) !important;
}

/* --- Payment (sidebar) --- */
.oc-payment {
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px;
}

.oc-payment .woocommerce-checkout-payment {
    background: none !important;
}

.oc-payment #payment {
    background: none;
    border-radius: 0;
}

.oc-payment #payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    border: none;
}


/* --- Montonio: two blocks — bank grid + card form --- */

/* Hide all radio buttons (visually, keep functional) */
.oc-payment #payment ul.payment_methods li > input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Remove li default styling */
.oc-payment #payment ul.payment_methods li {
    padding: 0;
    border: none;
}

/* Force ALL payment_boxes always visible (both methods shown) */
.oc-payment #payment .payment_box {
    display: block !important;
    padding: 0 !important;
    background: none !important;
    color: inherit;
}

.oc-payment #payment .payment_box::before {
    display: none;
}

/* Hide test mode text / description text */
.oc-payment #payment .payment_box > strong,
.oc-payment #payment .payment_box > br {
    display: none;
}

/* --- Bank payments block --- */

/* Hide bank payment label (title is empty, logo not needed) */
.oc-payment .payment_method_wc_montonio_payments > label {
    display: none !important;
}

/* Bank grid: fit sidebar width */
.oc-payment .montonio-bank-payments-form .montonio-bank-items {
    gap: 8px;
}

.oc-payment .montonio-bank-payments-form .montonio-bank-item {
    width: calc(33.333% - 6px);
    height: 64px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.oc-payment .montonio-bank-payments-form .montonio-bank-item.active {
    border-color: var(--color-accent);
    background: rgba(0,0,0,0.02);
}

/* --- Card payment block --- */

/* Separator + spacing between bank and card blocks */
.oc-payment .payment_method_wc_montonio_card {
    margin-top: 20px;
    padding-top: 20px !important;
    border-top: 1px solid var(--color-border-light) !important;
}

/* Card label as section heading (hide logo, show title text) */
.oc-payment .payment_method_wc_montonio_card > label {
    display: block !important;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text);
    cursor: pointer;
    margin-bottom: 12px;
}

/* Hide the Montonio card icon from the label */
.oc-payment .payment_method_wc_montonio_card > label img {
    display: none;
}

/* Hide description text, show only embedded form */
.oc-payment .payment_method_wc_montonio_card .payment_box {
    font-size: 0;
    line-height: 0;
}

.oc-payment .payment_method_wc_montonio_card #montonio-card-form {
    font-size: 14px;
    line-height: 1.4;
}

.oc-payment #payment .place-order {
    padding: 0;
    margin: 0;
}

.oc-payment #payment #place_order {
    display: block;
    width: 100%;
    padding: 14px 28px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: background 0.25s ease;
}

.oc-payment #payment #place_order:hover {
    background: var(--color-accent-hover);
}

.oc-payment .woocommerce-terms-and-conditions-wrapper {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--color-text-light);
}

.oc-payment .woocommerce-privacy-policy-text {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Hide coupon toggle on checkout */
.woocommerce-form-coupon-toggle,
.checkout_coupon.woocommerce-form-coupon {
    display: none !important;
}

/* WC notices on checkout */
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    list-style: none;
}

.woocommerce-checkout .woocommerce-error {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    color: #991b1b;
}

.woocommerce-checkout .woocommerce-message {
    background: #f0fdf4;
    border-left: 3px solid #16a34a;
    color: #166534;
}

.woocommerce-checkout .woocommerce-info {
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    color: #1e40af;
}

/* --- 29. Thank You / Order Received --- */
.oc-thankyou {
    padding: 80px 0;
    text-align: center;
}

.oc-thankyou__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #16a34a;
}

.oc-thankyou__icon svg {
    width: 100%;
    height: 100%;
}

.oc-thankyou__icon--fail {
    color: #dc2626;
}

.oc-thankyou__title {
    font-family: var(--font-family);
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
    margin: 0 0 32px;
}

.oc-thankyou__text {
    font-size: 15px;
    color: var(--color-text-light);
    margin: -16px 0 32px;
}

.oc-thankyou__details {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    background: var(--color-white);
    border-radius: var(--radius-card);
    padding: 24px 40px;
    margin-bottom: 32px;
    min-width: 280px;
}

.oc-thankyou__row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    font-size: 15px;
}

.oc-thankyou__row span {
    color: var(--color-text-light);
}

.oc-thankyou__row strong {
    color: var(--color-text);
}

.oc-thankyou__actions {
    margin-top: 8px;
}

.oc-thankyou__actions .oc-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background 0.25s ease;
}

.oc-thankyou__actions .oc-btn:hover {
    background: var(--color-accent-hover);
}

@media (max-width: 768px) {
    .oc-thankyou {
        padding: 48px 0;
    }

    .oc-thankyou__title {
        font-size: 22px;
    }

    .oc-thankyou__details {
        padding: 20px 24px;
        min-width: 0;
        width: 100%;
    }
}

/* --- Checkout Responsive --- */
@media (max-width: 1024px) {
    .oc-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 768px) {
    .oc-layout {
        grid-template-columns: 1fr;
    }

    .oc-sidebar__sticky {
        position: static;
    }

    .oc-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .oc-fields {
        grid-template-columns: 1fr;
    }

    .oc-fields .form-row-first,
    .oc-fields .form-row-last {
        grid-column: 1;
    }

    .oc-cart__item-img {
        flex: 0 0 64px;
        width: 64px;
        height: 80px;
    }
}

/* ==========================================================================
   FILTER SLIDEOUT OVERLAY + FLOATING BUTTON + 4-COLUMN GRID
   ========================================================================== */

/* --- Floating filter button (right side) --- */
.filter-fab {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 990;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-text);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-btn);
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    transition: background 0.2s ease, transform 0.2s ease;
    letter-spacing: 0.3px;
}

.filter-fab:hover {
    background: #333;
}

.filter-fab svg {
    width: 18px;
    height: 18px;
}

/* --- Filter backdrop --- */
.filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.filter-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Sidebar as slideout panel --- */

.shop-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100vh;
    background: var(--color-white);
    z-index: 1001;
    overflow-y: auto;
    padding: 24px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: unset;
}

.shop-sidebar.is-open {
    right: 0;
    display: block;
}

/* Close button inside sidebar */
.filter-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.filter-close-title {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.3px;
}

.filter-close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

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

.filter-close-btn svg {
    width: 16px;
    height: 16px;
}

/* Hide the old toolbar Filter by button */
.shop-by-toggle {
    display: none !important;
}

/* --- 4-column grid (no sidebar in flow) --- */
.products-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .filter-fab {
        right: 16px;
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Mobile: 2 columns */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .shop-sidebar {
        width: 300px;
        right: -320px;
    }
    .filter-fab {
        right: 12px;
        top: auto;
        bottom: 24px;
        transform: none;
        padding: 12px 18px;
        border-radius: var(--radius-btn);
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .shop-sidebar {
        width: 85vw;
        right: -90vw;
    }
}


/* Wishlist badge in header */
.wishlist-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

/* Wishlist page in My Account */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.wishlist-item__img img {
    width: 100%;
    height: auto;
    display: block;
}

.wishlist-item__info {
    padding: 12px;
}

.wishlist-item__name {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 4px;
}

.wishlist-item__name:hover {
    color: var(--color-accent);
}

.wishlist-item__price {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.wishlist-item__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--color-text-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item__remove:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

/* ==========================================================================
   FIX: Prevent cropping heads/sleeves — shrink image inside container
   ========================================================================== */






/* Wishlist badge in header */
.wishlist-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    padding: 0 4px;
}

/* Wishlist page in My Account */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.wishlist-item {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.wishlist-item__img img {
    width: 100%;
    height: auto;
    display: block;
}

.wishlist-item__info {
    padding: 12px;
}

.wishlist-item__name {
    display: block;
    font-size: 13px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 4px;
}

.wishlist-item__name:hover {
    color: var(--color-accent);
}

.wishlist-item__price {
    font-size: 14px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text);
}

.wishlist-item__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--color-text-muted);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item__remove:hover {
    color: var(--color-accent);
    background: var(--color-white);
}

/* ==========================================================================
   FIX: Prevent cropping — full width, auto height within container
   ========================================================================== */
.product-card-image {
    background: var(--color-bg) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100% !important;
    height: auto !important;
    max-height: 100%;
    object-fit: contain !important;
    object-position: center center;
}

.sp-gallery__main {
    background: var(--color-bg) !important;
}

.sp-gallery__img {
    object-fit: contain !important;
    object-position: center center;
}


/* Newsletter in footer (under logo) */
.footer-newsletter {
    flex-shrink: 0;
    min-width: 220px;
    margin-top: 20px;
}

.newsletter-title {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-text-muted);
    margin: 0 0 8px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-wrap {
    display: flex;
    border-radius: var(--radius-btn);
    overflow: hidden;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--radius-btn) 0 0 var(--radius-btn);
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-family);
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: var(--color-text-muted);
}

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

.newsletter-btn {
    padding: 8px 16px;
    background: var(--color-text);
    color: var(--color-white);
    border: none;
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--color-accent);
}
/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-text);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--color-accent);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
}

/* Swatch collapse — hide extras, toggle */
.swatch-hidden {
    display: none !important;
}

.product-swatches.is-expanded .swatch-hidden {
    display: inline-block !important;
}

.swatch-toggle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-muted);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
    flex-shrink: 0;
}

.swatch-toggle:hover {
    border-color: var(--color-text);
    color: var(--color-text);
}

.product-swatches.is-expanded .swatch-toggle {
    display: none;
}
