/* ═══════════════════════════════════════════════════════════════════════════
   BRICKSL — Main Stylesheet
   Premium Minimalist LEGO Store
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────────────────────── */
:root {
    --color-white:       #FFFFFF;
    --color-bg:          #FCFCFC;
    --color-surface:     #F8FAFF;
    --color-surface-2:   #F0F4FF;
    --color-text:        #0D0D0D;
    --color-text-muted:  #6B7280;
    --color-text-light:  #9CA3AF;
    --color-primary:     #4B7BEC;
    --color-primary-dk:  #3563D4;
    --color-primary-lt:  #EEF2FF;
    --color-primary-mid: #DBEAFE;
    --color-navy:        #1A1A2E;
    --color-navy-light:  #2A2A45;
    --color-border:      #E5E7EB;
    --color-border-lt:   #F3F4F6;
    --color-success:     #10B981;
    --color-error:       #EF4444;
    --color-sale:        #F59E0B;

    --shadow-card:    0 2px 12px rgba(75, 123, 236, 0.08);
    --shadow-hover:   0 8px 30px rgba(75, 123, 236, 0.15);
    --shadow-modal:   0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-header:  0 1px 0 var(--color-border);

    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-2xl:  24px;
    --radius-full: 9999px;

    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    --container:     1280px;
    --gutter:        24px;
    --section-gap:   96px;

    --header-h:      72px;
    --topbar-h:      36px;

    --transition: 200ms ease-out;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ─── Container ──────────────────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
@media (max-width: 768px) { .container { padding: 0 16px; } }

/* ─── Material Symbols ────────────────────────────────────────────────────── */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--color-navy);
    color: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--gutter);
    gap: 16px;
}
.topbar span { white-space: nowrap; }
@media (max-width: 768px) {
    .topbar span:first-child, .topbar span:last-child { display: none; }
    .topbar { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 24px;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo a, .site-logo-text {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.site-logo img { height: 40px; width: auto; }

/* Primary nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; gap: 8px; align-items: center; }
.nav-menu li a {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
    color: var(--color-primary);
    background: var(--color-primary-lt);
}
.nav-menu li.current-menu-item > a {
    position: relative;
}
.nav-menu li.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }

.header-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    transition: color var(--transition), background var(--transition);
    position: relative;
}
.header-btn:hover { color: var(--color-primary); background: var(--color-primary-lt); }

.cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--color-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Search bar */
.search-bar {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 16px 0;
    animation: slideDown 0.2s ease;
}
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.search-bar .search-field {
    width: 100%;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 12px 16px;
    font-size: 16px;
    transition: border-color var(--transition);
    background: var(--color-white);
}
.search-bar .search-field:focus {
    outline: none;
    border-color: var(--color-primary);
}
.search-bar .search-submit { display: none; }

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-md);
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
    display: none;
    position: fixed;
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
    z-index: 99;
    animation: slideDown 0.2s ease;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .nav-menu { flex-direction: column; align-items: stretch; gap: 4px; }
.mobile-nav .nav-menu li a { display: block; padding: 12px 16px; }
.mobile-nav-footer {
    border-top: 1px solid var(--color-border);
    margin-top: 12px;
    padding-top: 12px;
    display: flex;
    gap: 16px;
}
.mobile-nav-footer a {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 500;
}

@media (max-width: 900px) {
    .primary-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1;
}
.btn .material-symbols-outlined { font-size: 18px; }

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
}
.btn--primary:hover {
    background: var(--color-primary-dk);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(75, 123, 236, 0.35);
}

.btn--outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary-lt); }

.btn--ghost {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text-muted);
}
.btn--ghost:hover { border-color: var(--color-text); color: var(--color-text); }

.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
.badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    line-height: 1;
}
.badge--new       { background: var(--color-primary-lt); color: var(--color-primary); }
.badge--sale      { background: #FEF3C7; color: #92400E; }
.badge--bestseller { background: var(--color-primary-lt); color: var(--color-primary); }
.badge--exclusive { background: var(--color-navy); color: var(--color-white); }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
    flex-wrap: wrap;
}
.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--color-text);
}
.section-subtitle {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 8px;
}
.section-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    transition: gap var(--transition);
}
.section-link:hover { gap: 8px; }
.section-link .material-symbols-outlined { font-size: 16px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.product-card__link, .product-card__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
}
.product-card__image-wrap {
    position: relative;
    background: var(--color-surface);
    aspect-ratio: 1;
    overflow: hidden;
}
.product-card__image-wrap .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
}
.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card__image { transform: scale(1.05); }
.product-card__info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-card__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.product-card__name {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin-top: 2px;
}
.product-card__meta {
    font-size: 12px;
    color: var(--color-text-light);
}
.product-card__price {
    margin-top: auto;
    padding-top: 8px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
}
.product-card__price .woocommerce-Price-amount { color: var(--color-text); }
.product-card__price del { color: var(--color-text-light); font-size: 13px; font-weight: 400; }
.product-card__price ins { text-decoration: none; }

.product-card__cart-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    opacity: 0;
    transform: scale(0.8);
    z-index: 2;
}
.product-card__cart-btn .material-symbols-outlined { font-size: 18px; }
.product-card:hover .product-card__cart-btn {
    opacity: 1;
    transform: scale(1);
}
.product-card__cart-btn:hover {
    background: var(--color-primary-dk);
    transform: scale(1.1) !important;
}
.product-card__cart-btn.loading {
    background: var(--color-text-light);
    pointer-events: none;
}
.product-card__cart-btn.added {
    background: var(--color-success);
}

/* Product grids */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.products-grid--4col { grid-template-columns: repeat(4, 1fr); }
.products-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1100px) {
    .products-grid--4col, .products-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .products-grid, .products-grid--4col, .products-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 480px) {
    .products-grid, .products-grid--4col, .products-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,10,20,0.75) 0%, rgba(10,10,20,0.3) 60%, transparent 100%);
}
.hero__content {
    position: relative;
    z-index: 1;
    padding: 80px var(--gutter);
}
.hero__text { max-width: 520px; }
.hero__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.hero__title {
    font-family: var(--font-head);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--color-white);
    margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__actions .btn--ghost { color: white; border-color: rgba(255,255,255,0.4); }
.hero__actions .btn--ghost:hover { border-color: white; background: rgba(255,255,255,0.1); }
.hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    animation: bounce 2s infinite;
    z-index: 1;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Trust Bar ─────────────────────────────────────────────────────────── */
.trust-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 0;
}
.trust-bar__inner {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-item .material-symbols-outlined {
    color: var(--color-primary);
    font-size: 24px;
    flex-shrink: 0;
}
.trust-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--color-text); }
.trust-item span   { font-size: 12px; color: var(--color-text-muted); }
@media (max-width: 640px) { .trust-item:nth-child(n+3) { display: none; } }

/* ─── Collections ────────────────────────────────────────────────────────── */
.collections { padding: var(--section-gap) 0; }
.collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.collection-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
    display: block;
}
.collection-card__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    background-color: var(--color-surface);
}
.collection-card:hover .collection-card__img { transform: scale(1.05); }
.collection-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,20,0.8) 0%, transparent 60%);
}
.collection-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 1;
}
.collection-card__title {
    font-family: var(--font-head);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}
.collection-card__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    transition: gap var(--transition);
}
.collection-card:hover .collection-card__link { gap: 8px; }
.collection-card__link .material-symbols-outlined { font-size: 16px; }
@media (max-width: 640px) { .collections-grid { grid-template-columns: 1fr; } }

/* ─── Bestsellers ────────────────────────────────────────────────────────── */
.bestsellers { padding: var(--section-gap) 0; background: var(--color-surface); }

/* ─── Promo Banner ───────────────────────────────────────────────────────── */
.promo-banner { padding: var(--section-gap) 0; }
.promo-banner__inner {
    background: linear-gradient(135deg, var(--color-navy) 0%, #2D3A8C 100%);
    border-radius: var(--radius-2xl);
    padding: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    overflow: hidden;
    position: relative;
}
.promo-banner__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: rgba(75,123,236,0.2);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 16px;
}
.promo-banner__title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.promo-banner__desc {
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}
.promo-banner__circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(75,123,236,0.3), transparent);
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .promo-banner__inner { padding: 40px 24px; flex-direction: column; }
    .promo-banner__circle { display: none; }
}

/* ─── New Arrivals ───────────────────────────────────────────────────────── */
.new-arrivals { padding: var(--section-gap) 0; background: var(--color-surface); }

/* ═══════════════════════════════════════════════════════════════════════════
   SHOP PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.shop-page { padding: 48px 0; min-height: 80vh; }
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

/* Sidebar */
.shop-sidebar {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    overflow: hidden;
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 24px);
}
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.sidebar-title {
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    flex: 1;
}
.sidebar-subtitle {
    width: 100%;
    font-size: 12px;
    color: var(--color-text-muted);
}
.sidebar-reset {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.sidebar-reset:hover { background: var(--color-primary-lt); }

.filter-group { border-bottom: 1px solid var(--color-border-lt); }
.filter-group__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    transition: background var(--transition);
    text-align: left;
}
.filter-group__toggle:hover { background: var(--color-surface); }
.filter-group__toggle .material-symbols-outlined { font-size: 20px; color: var(--color-text-muted); }
.filter-group__chevron { margin-left: auto; transition: transform var(--transition); }
.filter-group__toggle[aria-expanded="true"] .filter-group__chevron { transform: rotate(180deg); }
.filter-group__body { padding: 8px 20px 16px; display: flex; flex-direction: column; gap: 6px; }
.filter-group__body[hidden] { display: none; }

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-text-muted);
    transition: all var(--transition);
    border: 2px solid transparent;
}
.filter-option:hover { background: var(--color-surface); color: var(--color-text); }
.filter-option.active {
    background: var(--color-primary-lt);
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
}
.filter-option__count {
    font-size: 12px;
    background: var(--color-surface-2);
    padding: 2px 6px;
    border-radius: var(--radius-full);
}

.filter-checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--color-text-muted); cursor: pointer; padding: 4px 0; }
.filter-checkbox input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-primary); cursor: pointer; }
.filter-checkbox:hover span { color: var(--color-text); }

/* Price range */
.price-range { padding: 8px 0; }
.price-range__track { position: relative; height: 4px; background: var(--color-border); border-radius: 2px; margin: 20px 0; }
.price-range__fill { position: absolute; height: 100%; background: var(--color-primary); border-radius: 2px; left: 0; right: 0; }
.price-range__input { position: absolute; top: 50%; transform: translateY(-50%); width: 100%; height: 4px; background: transparent; outline: none; -webkit-appearance: none; pointer-events: none; }
.price-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 2px solid white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
    pointer-events: all;
    transition: transform var(--transition);
}
.price-range__input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.price-range__labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--color-text); }

.sidebar-apply { margin: 16px 20px 20px; display: none; }

/* Shop main */
.shop-header {
    margin-bottom: 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.shop-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.shop-desc { font-size: 16px; color: var(--color-text-muted); margin-top: 4px; }
.shop-header__controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.products-count { font-size: 14px; color: var(--color-text-muted); }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort-wrap label { color: var(--color-text-muted); font-weight: 500; }
.sort-wrap select, .woocommerce-ordering select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color var(--transition);
}
.sort-wrap select:focus, .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.mobile-filter-toggle { display: none; }
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 90; }

/* Pagination */
.shop-pagination { margin-top: 48px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all var(--transition);
}
.woocommerce-pagination ul li a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.woocommerce-pagination ul li span.current { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* No products */
.no-products {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-text-muted);
}
.no-products .material-symbols-outlined { font-size: 64px; margin-bottom: 16px; color: var(--color-border); }
.no-products h2 { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; }
.no-products p { margin-bottom: 24px; }

@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar {
        position: fixed;
        top: 0; bottom: 0; left: -100%;
        width: 300px;
        z-index: 100;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    .shop-sidebar.is-open { left: 0; }
    .sidebar-overlay.is-active { display: block; }
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 14px;
        font-weight: 600;
        padding: 8px 16px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius-md);
        color: var(--color-text);
    }
    .sidebar-apply { display: block; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE PRODUCT
   ═══════════════════════════════════════════════════════════════════════════ */
.product-page { padding: 32px 0 80px; }

/* Breadcrumb */
.bricksl-breadcrumb { margin-bottom: 32px; }
.bricksl-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}
.bricksl-breadcrumb ol li a:hover { color: var(--color-primary); }
.breadcrumb-sep { color: var(--color-border); }
.bricksl-breadcrumb ol li[aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* Product layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

/* Gallery */
.product-gallery { position: relative; }
.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: var(--color-navy);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}
.gallery-badge--new { background: var(--color-primary); }

.product-gallery__main {
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 12px;
}
.product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform 0.4s ease;
    cursor: zoom-in;
}
.product-gallery__main:hover .product-gallery__main-img { transform: scale(1.03); }
.gallery-zoom-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}
.gallery-zoom-btn:hover { background: white; color: var(--color-primary); }

.product-gallery__thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.thumb {
    width: 72px; height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--color-border);
    cursor: pointer;
    transition: border-color var(--transition);
    background: var(--color-surface);
    flex-shrink: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb:hover { border-color: var(--color-text-muted); }
.thumb.active { border-color: var(--color-primary); }

/* Product details */
.product-meta-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-surface-2);
    border: 1px solid var(--color-border);
    padding: 5px 10px;
    border-radius: var(--radius-full);
}
.meta-badge .material-symbols-outlined { font-size: 14px; }

.product-category-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 8px;
}
.product-category-link:hover { text-decoration: underline; }

.product-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--color-text);
    margin-bottom: 16px;
}

/* Rating */
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.stars { display: flex; gap: 2px; }
.star { font-size: 18px; color: var(--color-border); font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.star--filled { color: #F59E0B; font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.rating-count { font-size: 14px; color: var(--color-primary); font-weight: 500; }
.rating-count:hover { text-decoration: underline; }

/* Price */
.product-price {
    font-family: var(--font-head);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.product-price .woocommerce-Price-amount { color: var(--color-text); }
.product-price del { font-size: 20px; color: var(--color-text-light); font-weight: 400; }
.product-price ins { text-decoration: none; }
.price-save {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--color-success);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
}

/* Short desc */
.product-short-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

/* WooCommerce add to cart */
.product-add-to-cart { margin-bottom: 12px; }
.woocommerce-variation-add-to-cart,
.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.quantity { display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.qty { width: 56px; text-align: center; font-size: 16px; font-weight: 600; border: none; outline: none; background: transparent; }
.woocommerce div.product .woocommerce-product-details__short-description { margin-bottom: 0; }
.single_add_to_cart_button {
    flex: 1;
    background: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--radius-lg) !important;
    padding: 14px 24px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all var(--transition) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}
.single_add_to_cart_button:hover {
    background: var(--color-primary-dk) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(75,123,236,0.35) !important;
}

/* Wishlist btn */
.product-wishlist { margin-bottom: 24px; }
.product-wishlist .btn { width: 100%; }

/* Trust rows */
.product-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
}
.trust-row { display: flex; align-items: flex-start; gap: 10px; }
.trust-row .material-symbols-outlined { font-size: 20px; color: var(--color-primary); flex-shrink: 0; margin-top: 2px; }
.trust-row strong { display: block; font-size: 13px; font-weight: 600; color: var(--color-text); }
.trust-row span { font-size: 12px; color: var(--color-text-muted); }

/* Tabs */
.product-tabs { margin-bottom: 64px; }
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--color-border);
    gap: 4px;
    margin-bottom: 40px;
}
.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}
.tab-btn:hover { color: var(--color-text); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab-count {
    background: var(--color-primary-lt);
    color: var(--color-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-full);
}
.tab-panel[hidden] { display: none; }
.product-description { font-size: 16px; line-height: 1.8; color: var(--color-text-muted); max-width: 800px; }
.product-description p { margin-bottom: 16px; }

/* Attributes table */
.attr-table { width: 100%; border-collapse: collapse; }
.attr-table tr { border-bottom: 1px solid var(--color-border); }
.attr-table th { text-align: left; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--color-text-muted); width: 40%; background: var(--color-surface); }
.attr-table td { padding: 14px 16px; font-size: 14px; color: var(--color-text); }

/* Related */
.related-products { }
.related-products .section-title { margin-bottom: 32px; }

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeIn 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__close {
    position: absolute;
    top: 20px; right: 20px;
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-lg); }

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

/* ═══════════════════════════════════════════════════════════════════════════
   CART PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.cart-page { padding: 48px 0 80px; }
.page-title {
    font-family: var(--font-head);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
}
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 80px 24px;
}
.cart-empty__icon .material-symbols-outlined {
    font-size: 80px;
    color: var(--color-border);
    margin-bottom: 24px;
    display: block;
}
.cart-empty h2 { font-family: var(--font-head); font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cart-empty p { color: var(--color-text-muted); margin-bottom: 32px; }

/* Cart items */
.cart-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}
.cart-item__image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.cart-item__image img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.cart-item__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cart-item__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-lt);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
}
.cart-item__name {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
}
.cart-item__name a { color: inherit; }
.cart-item__name a:hover { color: var(--color-primary); }
.cart-item__meta { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.cart-item__remove {
    color: var(--color-text-light);
    padding: 6px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    flex-shrink: 0;
}
.cart-item__remove:hover { color: var(--color-error); background: #FEE2E2; }
.cart-item__footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.cart-item__price {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
}

/* Qty control */
.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    height: 44px;
}
.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition);
    flex-shrink: 0;
}
.qty-btn:hover { color: var(--color-primary); background: var(--color-primary-lt); }
.qty-btn .material-symbols-outlined { font-size: 18px; }
.qty-input {
    width: 48px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    outline: none;
    color: var(--color-text);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Cart actions */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    flex-wrap: wrap;
}
.coupon-wrap { display: flex; gap: 8px; flex: 1; min-width: 240px; }
.coupon-input {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 10px 16px;
    font-size: 14px;
    color: var(--color-text);
    transition: border-color var(--transition);
}
.coupon-input:focus { outline: none; border-color: var(--color-primary); }
.update-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-muted);
    transition: all var(--transition);
}
.update-cart:hover { border-color: var(--color-text); color: var(--color-text); }

/* Cart summary */
.cart-summary {
    position: sticky;
    top: calc(var(--topbar-h) + var(--header-h) + 24px);
}
.cart-summary__inner {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    padding: 28px;
}
.cart-summary__title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}
.cart-summary__rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; font-size: 15px; }
.summary-row span:first-child { color: var(--color-text-muted); }
.summary-row--discount span:last-child { color: var(--color-success); font-weight: 600; }
.free-ship { color: var(--color-success); font-weight: 600; }
.cart-summary__divider { height: 1px; background: var(--color-border); margin-bottom: 20px; }
.cart-summary__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--color-text-muted);
}
.total-price {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
}
.total-price .woocommerce-Price-amount { font: inherit; color: inherit; }
.checkout-btn { font-size: 16px; padding: 16px; }
.cart-summary__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 12px;
    text-align: center;
}
.cart-summary__secure .material-symbols-outlined { font-size: 14px; }
.cart-summary__payments {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Payment badges */
.payment-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

/* Continue link */
.cart-continue { margin-top: 32px; }
.continue-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--transition);
}
.continue-link:hover { color: var(--color-primary); }

@media (max-width: 768px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { flex-direction: column; }
    .cart-item__image { width: 100%; height: 200px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.7);
    margin-top: var(--section-gap);
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px var(--gutter) 48px;
}
.footer-brand .site-logo-text, .footer-brand a { color: white; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 12px; line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: all var(--transition);
}
.social-link:hover { background: var(--color-primary); color: white; }

.footer-col__title {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: white;
    margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--gutter);
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: var(--color-text);
    color: white;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: toastIn 0.3s ease;
    max-width: 320px;
}
.toast--success { background: var(--color-success); }
.toast--error   { background: var(--color-error); }
.toast .material-symbols-outlined { font-size: 20px; flex-shrink: 0; }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } }

/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    background: var(--color-primary-lt);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 14px;
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.woocommerce-notices-wrapper .woocommerce-error { border-color: var(--color-error); background: #FEE2E2; }

/* Hide storefront defaults we don't want */
.site-header-cart, .storefront-handheld-footer-bar { display: none !important; }
.storefront-primary-navigation { display: none !important; }
.site-branding { display: none !important; }
