/* ============================================================
   JOOKSUPOOD.EE — Running store
   Palette: deep navy → cyan · white · slate
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --c-primary:      #0891b2;
    --c-primary-dk:   #0e7490;
    --c-primary-lt:   #e0f2fe;
    --c-accent:       #06b6d4;
    --c-sky:          #38bdf8;
    --c-navy:         #0c4a6e;
    --c-text:         #0f172a;
    --c-muted:        #64748b;
    --c-border:       #e2e8f0;
    --c-bg:           #ffffff;
    --c-bg-alt:       #f8fafc;
    --c-success:      #16a34a;
    --c-danger:       #dc2626;

    --font: 'Inter', -apple-system, sans-serif;

    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    --sh-sm: 0 1px 3px rgba(8,145,178,.08);
    --sh-md: 0 4px 20px rgba(8,145,178,.14);
    --sh-lg: 0 12px 40px rgba(8,145,178,.2);

    --header-h: 68px;
    --container: 1280px;
    --sidebar-w: 270px;
}

/* ================================================================ RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--c-text); background: var(--c-bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
[hidden] { display: none !important; }

/* ================================================================ LAYOUT */
.container, .header-inner, .footer-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section--dark-alt { background: var(--c-bg-alt); }
@media (max-width: 768px) {
    .container, .header-inner, .footer-inner { padding: 0 1.25rem; }
    .section { padding: 3rem 0; }
}

/* ================================================================ HEADER */
.site-header {
    position: sticky; top: 0; z-index: 100;
    height: var(--header-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-logo { font-size: 1.25rem; font-weight: 900; color: var(--c-primary); letter-spacing: -.03em; }
.site-logo img { height: 36px; width: auto; }
.nav-main { display: flex; align-items: center; gap: 1.75rem; }
.nav-main a { font-size: .875rem; font-weight: 500; color: var(--c-muted); transition: color .2s; }
.nav-main a:hover { color: var(--c-primary); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.header-actions button, .header-actions a { color: var(--c-muted); font-size: .875rem; transition: color .2s; }
.header-actions button:hover, .header-actions a:hover { color: var(--c-primary); }
.cart-count {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px;
    background: var(--c-accent); color: #fff;
    border-radius: 50%; font-size: .65rem; font-weight: 700; margin-left: .25rem;
}
@media (max-width: 768px) { .nav-main { display: none; } .hamburger { display: flex; } }

/* ================================================================ HERO */
.hero--running {
    position: relative; min-height: 92vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #0891b2 75%, #06b6d4 100%);
    overflow: hidden;
}
.hero--running::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 55% 80% at 90% 50%, rgba(56,189,248,.22) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 5% 80%, rgba(6,182,212,.12) 0%, transparent 55%);
}
.hero__bg {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.035) 39px, rgba(255,255,255,.035) 40px),
        repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.035) 39px, rgba(255,255,255,.035) 40px);
}
/* Hero split layout */
.hero__split {
    position: relative; z-index: 2;
    width: 100%; max-width: var(--container);
    margin: 0 auto; padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .hero__split { grid-template-columns: 1fr; padding: 3.5rem 1.25rem; }
    .hero__product { display: none; }
}
.hero__content {
    position: relative; z-index: 2;
    width: 100%; max-width: var(--container);
    margin: 0 auto; padding: 5rem 2rem;
    text-align: left;
}
.hero__eyebrow {
    display: inline-block; margin-bottom: 1.25rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: var(--c-sky);
}
.hero__title {
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 900; line-height: .95; letter-spacing: -.04em;
    color: #fff; text-transform: uppercase;
    margin-bottom: 1.5rem; max-width: 720px;
}
.hero__subtitle {
    font-size: 1.05rem; color: rgba(255,255,255,.75);
    max-width: 440px; margin: 0 0 2.5rem;
    font-weight: 400; line-height: 1.75;
}
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-hero--primary {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .9rem 2rem; border-radius: var(--r-full);
    background: #fff; color: var(--c-navy);
    font-size: .9rem; font-weight: 700; border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
    transition: transform .2s, box-shadow .2s;
}
.btn-hero--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.btn-hero--ghost {
    display: inline-flex; align-items: center;
    padding: .9rem 2rem; border-radius: var(--r-full);
    background: rgba(255,255,255,.12); color: #fff;
    border: 1.5px solid rgba(255,255,255,.4);
    font-size: .9rem; font-weight: 600;
    backdrop-filter: blur(4px); transition: background .2s;
}
.btn-hero--ghost:hover { background: rgba(255,255,255,.22); }

.hero__stats {
    display: inline-flex; gap: 0;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--r-full); padding: .15rem;
}
.hero__stat {
    display: flex; align-items: center; gap: .5rem;
    padding: .7rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,.15);
}
.hero__stat:last-child { border-right: none; }
.hero__stat strong { font-size: 1.05rem; font-weight: 800; color: #fff; }
.hero__stat span { font-size: .75rem; color: rgba(255,255,255,.65); }
@media (max-width: 640px) {
    .hero__content { text-align: center; }
    .hero__actions { justify-content: center; }
    .hero__stats { flex-direction: column; border-radius: var(--r-lg); width: 100%; }
    .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); justify-content: center; }
    .hero__stat:last-child { border-bottom: none; }
}

/* ================================================================ SECTION HEADERS */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 2rem; gap: 1rem; }
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 800; color: var(--c-text); line-height: 1.15; letter-spacing: -.025em;
}
.section-title--line { border-left: 4px solid var(--c-primary); padding-left: .9rem; }
.section-eyebrow {
    display: block; font-size: .7rem; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .3rem;
}
.section-more {
    font-size: .8rem; font-weight: 700; color: var(--c-primary);
    white-space: nowrap; transition: color .2s;
}
.section-more:hover { color: var(--c-primary-dk); }
.section-more--arrow::after { content: ' →'; }

/* ================================================================ CATEGORY GRID */
.cat-icon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.cat-icon-card {
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    padding: 1.25rem .75rem; text-align: center;
    background: var(--c-bg-alt); border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cat-icon-card:hover { border-color: var(--c-primary-lt); box-shadow: var(--sh-md); transform: translateY(-4px); }
.cat-icon-card__img { width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden; background: var(--c-primary-lt); }
.cat-icon-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-icon-card__placeholder { font-size: 2.25rem; line-height: 72px; }
.cat-icon-card__name { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-text); }
@media (max-width: 900px) { .cat-icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cat-icon-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================ PROMO STRIP */
.promo-strip { background: var(--c-primary-lt); padding: 2.5rem 0; border-top: 1px solid rgba(8,145,178,.12); border-bottom: 1px solid rgba(8,145,178,.12); }
.promo-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.promo-strip__item { display: flex; align-items: center; gap: 1rem; padding: .75rem 2rem; border-right: 1px solid rgba(8,145,178,.18); }
.promo-strip__item:last-child { border-right: none; }
.promo-strip__icon {
    width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-md);
    background: rgba(8,145,178,.12);
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.promo-strip__item div { display: flex; flex-direction: column; gap: .1rem; }
.promo-strip__item strong { font-size: .875rem; font-weight: 700; color: var(--c-navy); }
.promo-strip__item span { font-size: .78rem; color: var(--c-muted); line-height: 1.4; }
@media (max-width: 900px) { .promo-strip__inner { grid-template-columns: repeat(2, 1fr); } .promo-strip__item:nth-child(2) { border-right: none; } }
@media (max-width: 560px) { .promo-strip__inner { grid-template-columns: 1fr; } .promo-strip__item { border-right: none; border-bottom: 1px solid rgba(8,145,178,.18); } .promo-strip__item:last-child { border-bottom: none; } }

/* ================================================================ PRODUCTS GRID */
.products-grid { display: grid; gap: 1.25rem; }
.products-grid--4 { grid-template-columns: repeat(4, 1fr); }
.products-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .products-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .products-grid--4, .products-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .products-grid--4, .products-grid--3 { grid-template-columns: 1fr; } }

/* ================================================================ PRODUCT CARD */
.product-card {
    position: relative; background: var(--c-bg);
    border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .3s, transform .3s, border-color .3s;
}
.product-card:hover { box-shadow: var(--sh-md); transform: translateY(-5px); border-color: var(--c-primary-lt); }
.product-card--out-of-stock { opacity: .7; }

/* image */
.product-card__image-wrap {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 1 / 1; background: var(--c-bg-alt);
}
.product-card__image-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.07); }
.product-card__no-image {
    width: 100%; height: 100%; background: var(--c-bg-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: var(--c-border);
}

/* badges */
.product-card__badge {
    position: absolute; top: .75rem; left: .75rem;
    padding: .25rem .6rem; border-radius: var(--r-full);
    font-size: .68rem; font-weight: 700; letter-spacing: .05em;
    text-transform: uppercase; color: #fff;
}
.product-card__badge--sale { background: var(--c-danger); }
.product-card__badge--new  { background: var(--c-primary); }

/* quick-add hover overlay */
.product-card__image-wrap::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(8,145,178,.06);
    opacity: 0; transition: opacity .3s;
}
.product-card:hover .product-card__image-wrap::after { opacity: 1; }

/* body */
.product-card__body { padding: .9rem 1.1rem .2rem; flex: 1; }
.product-card__brand {
    font-size: .68rem; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; color: var(--c-primary); margin-bottom: .2rem;
}
.product-card__name { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.product-card__name a { color: var(--c-text); transition: color .2s; }
.product-card__name a:hover { color: var(--c-primary); }
.product-card__pricing {
    display: flex; align-items: baseline; gap: .4rem; margin-top: .5rem;
    flex-wrap: wrap;
}
.product-card__price { font-size: 1.05rem; font-weight: 800; color: var(--c-text); }
.product-card__price--sale { color: var(--c-danger); }
.product-card__compare { font-size: .82rem; color: var(--c-muted); text-decoration: line-through; }
.product-card__stock--out { display: block; font-size: .75rem; color: var(--c-muted); margin-top: .35rem; }

/* add-to-cart button */
.product-card__add-btn {
    display: block; width: calc(100% - 2.2rem); margin: .75rem 1.1rem 1rem;
    padding: .65rem 1rem; border-radius: var(--r-full);
    background: var(--c-primary); color: #fff;
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; border: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    position: relative; overflow: hidden;
}
.product-card__add-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255,255,255,.12);
    transform: translateX(-100%);
    transition: transform .4s ease;
}
.product-card__add-btn:hover { background: var(--c-primary-dk); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(8,145,178,.3); }
.product-card__add-btn:hover::before { transform: translateX(0); }
.product-card__add-btn:active { transform: scale(.97); }

/* ================================================================ PRODUCT DETAIL */
.product-detail { padding: 1.5rem 0 4rem; max-width: var(--container); margin: 0 auto; padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 900px) { .product-detail { padding-left: 1.25rem; padding-right: 1.25rem; } }
.product-detail__inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: start; margin-bottom: 3rem;
}
@media (max-width: 900px) { .product-detail__inner { grid-template-columns: 1fr; gap: 2rem; } }

/* gallery */
.product-detail__main-image {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 1; background: var(--c-bg-alt); cursor: zoom-in;
}
.product-detail__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-detail__main-image:hover .product-detail__img { transform: scale(1.05); }
.product-detail__no-image {
    width: 100%; height: 100%; background: var(--c-bg-alt);
    display: flex; align-items: center; justify-content: center; font-size: 5rem; color: var(--c-border);
}
.product-detail__badge {
    position: absolute; top: 1rem; left: 1rem;
    padding: .3rem .75rem; border-radius: var(--r-full);
    font-size: .72rem; font-weight: 700; color: #fff; text-transform: uppercase;
}
.product-detail__badge--sale { background: var(--c-danger); }
.product-detail__badge--new  { background: var(--c-primary); }
.product-detail__thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.product-detail__thumb {
    width: 76px; height: 76px; border-radius: var(--r-md); overflow: hidden;
    border: 2px solid var(--c-border); cursor: pointer; padding: 0;
    transition: border-color .2s, transform .2s;
}
.product-detail__thumb:hover { border-color: var(--c-primary); transform: scale(1.05); }
.product-detail__thumb.is-active { border-color: var(--c-primary); }
.product-detail__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* info column */
.product-detail__brand {
    font-size: .72rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: var(--c-primary); margin-bottom: .4rem;
}
.product-detail__title {
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    font-weight: 900; line-height: 1.1; letter-spacing: -.03em; margin-bottom: .5rem;
}
.product-detail__sku { font-size: .75rem; color: var(--c-muted); margin-bottom: .4rem; }

/* stars */
.stars { display: inline-flex; gap: 2px; margin-right: .3rem; }
.star { font-size: 1rem; line-height: 1; }
.star--full { color: #f59e0b; }
.star--empty { color: var(--c-border); }
.product-detail__rating { display: flex; align-items: center; margin-bottom: .75rem; }
.product-detail__review-count { font-size: .8rem; color: var(--c-muted); }

.product-detail__short-desc { font-size: .9rem; color: var(--c-muted); line-height: 1.75; margin-bottom: .75rem; }

/* price */
.product-detail__price-block { margin-bottom: 1rem; }
.product-detail__price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.product-detail__price-current { font-size: 2rem; font-weight: 900; color: var(--c-text); letter-spacing: -.02em; }
.product-detail__price-old { font-size: 1.1rem; color: var(--c-muted); text-decoration: line-through; }

/* variants */
.product-detail__variants { margin-bottom: 1rem; }
.product-detail__choose { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .6rem; }
.product-detail__variant-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-btn {
    padding: .5rem 1.1rem; border-radius: var(--r-full);
    border: 1.5px solid var(--c-border); font-size: .85rem; font-weight: 600;
    color: var(--c-text); background: var(--c-bg);
    transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.variant-btn:hover { border-color: var(--c-primary); color: var(--c-primary); transform: scale(1.04); }
.variant-btn.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.variant-btn--oos { opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.variant-btn--oos:hover { border-color: var(--c-border); color: var(--c-muted); transform: none; }

/* stock */
.product-detail__stock { margin-bottom: 1rem; }
.in-stock-badge { font-size: .82rem; font-weight: 600; color: var(--c-success); }
.oos-badge { font-size: .82rem; font-weight: 600; color: var(--c-danger); }

/* actions */
.product-detail__actions { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.25rem; }
.product-detail__qty-wrap {
    display: flex; align-items: center;
    border: 1.5px solid var(--c-border); border-radius: var(--r-full);
    overflow: hidden;
}
.qty-btn--minus, .qty-btn--plus {
    width: 42px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 700; color: var(--c-muted);
    background: none; border: none;
    transition: color .2s, background .2s;
}
.qty-btn--minus:hover, .qty-btn--plus:hover { color: var(--c-primary); background: var(--c-primary-lt); }
.qty-input {
    width: 52px; height: 50px; text-align: center;
    border: none; border-left: 1.5px solid var(--c-border); border-right: 1.5px solid var(--c-border);
    font-family: inherit; font-size: 1rem; font-weight: 700;
    outline: none; appearance: none; -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-detail-cart {
    flex: 1; padding: 0 1.75rem; height: 50px;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--c-primary); color: #fff;
    border-radius: var(--r-full); border: none;
    font-size: .9rem; font-weight: 700; letter-spacing: .03em;
    transition: background .2s, transform .2s, box-shadow .2s;
    position: relative; overflow: hidden;
}
.btn-detail-cart::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,.15);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s ease;
}
.btn-detail-cart:hover { background: var(--c-primary-dk); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(8,145,178,.35); }
.btn-detail-cart:hover::before { transform: scaleX(1); }
.btn-detail-cart:disabled { background: var(--c-muted); cursor: not-allowed; transform: none; box-shadow: none; }
.btn-icon { font-size: 1rem; }

/* attrs */
.product-detail__attrs { margin-bottom: 1rem; }
.attrs-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.attrs-table th, .attrs-table td { padding: .5rem .75rem; text-align: left; border-bottom: 1px solid var(--c-border); }
.attrs-table th { font-weight: 600; color: var(--c-muted); width: 40%; }
.attrs-table--full th { background: var(--c-bg-alt); }

/* tabs */
.product-detail__tabs { margin-top: 2.5rem; border-top: 1.5px solid var(--c-border); padding-top: 2rem; }
.tabs-nav { display: flex; gap: 0; border-bottom: 1.5px solid var(--c-border); margin-bottom: 1.5rem; }
.tab-btn {
    padding: .65rem 1.5rem; font-size: .85rem; font-weight: 600;
    color: var(--c-muted); border: none; background: none;
    border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
    transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--c-primary); }
.tab-btn.is-active { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.product-desc.prose { font-size: .92rem; line-height: 1.85; color: var(--c-muted); }
.product-desc.prose p { margin-bottom: 1rem; }
.product-desc.prose h2, .product-desc.prose h3 { font-weight: 800; margin: 1.5rem 0 .5rem; color: var(--c-text); }

/* reviews */
.reviews-empty { color: var(--c-muted); font-size: .9rem; padding: 1rem 0; }
.reviews-list { display: flex; flex-direction: column; gap: 1.25rem; }
.review-item { padding: 1.25rem; background: var(--c-bg-alt); border-radius: var(--r-md); }
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; flex-wrap: wrap; }
.review-author { font-weight: 700; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--c-muted); }
.review-stars { display: flex; gap: 2px; }
.review-body { font-size: .88rem; color: var(--c-muted); line-height: 1.65; }

/* related */
.product-detail__related { margin-top: 3.5rem; border-top: 1.5px solid var(--c-border); padding-top: 2.5rem; }

/* ================================================================ BUTTONS */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    padding: .75rem 1.75rem; border-radius: var(--r-full);
    font-size: .875rem; font-weight: 700; border: 2px solid transparent;
    transition: all .2s; cursor: pointer;
}
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-dk); border-color: var(--c-primary-dk); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(8,145,178,.3); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; transform: translateY(-1px); }
.btn-text { background: none; border: none; padding: 0; color: var(--c-primary); font-weight: 700; }

/* ================================================================ CART */
.cart-page { padding: 3rem 0 5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: .75rem 0; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); border-bottom: 2px solid var(--c-border); }
.cart-table td { padding: 1.25rem 0; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.cart-item__img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--r-md); }
.cart-item__name { font-size: .95rem; font-weight: 600; }
.cart-item__variant { font-size: .78rem; color: var(--c-muted); margin-top: .2rem; }
.cart-remove { color: var(--c-muted); font-size: .78rem; margin-top: .5rem; transition: color .2s; }
.cart-remove:hover { color: var(--c-danger); }
.cart-summary { padding: 2rem; background: var(--c-bg-alt); border: 2px solid var(--c-border); border-radius: var(--r-xl); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.cart-summary__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.5rem; }
.cart-summary__row { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .6rem; color: var(--c-muted); }
.cart-summary__row--total { font-weight: 700; font-size: 1rem; color: var(--c-text); margin-top: .75rem; padding-top: .75rem; border-top: 2px solid var(--c-border); }
.cart-checkout-btn { width: 100%; margin-top: 1.5rem; padding: 1rem; font-size: .9rem; }
.cart-empty { text-align: center; padding: 5rem 0; }
.cart-empty p { font-size: 1.2rem; color: var(--c-muted); margin-bottom: 1.5rem; }
@media (max-width: 768px) { .cart-layout { grid-template-columns: 1fr; } }

/* ================================================================ CHECKOUT */
.checkout-page { padding: 3rem 0 5rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; }
.checkout-title { font-size: 1.75rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 2rem; }
.checkout-section { margin-bottom: 2rem; }
.checkout-section h3 { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--c-border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-row--1 { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: .35rem; }
.form-group label { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); }
.form-group input, .form-group select, .form-group textarea { padding: .7rem .9rem; border: 2px solid var(--c-border); border-radius: var(--r-md); font-family: inherit; font-size: .9rem; background: var(--c-bg); transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-primary); }
.checkout-summary { padding: 2rem; background: var(--c-bg-alt); border: 2px solid var(--c-border); border-radius: var(--r-xl); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.checkout-summary__items { margin-bottom: 1.5rem; }
.checkout-summary__item { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--c-border); }
.checkout-summary__item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); }
.checkout-summary__item-name { font-size: .85rem; flex: 1; font-weight: 500; }
.checkout-summary__item-price { font-size: .88rem; font-weight: 800; }
.checkout-submit { width: 100%; margin-top: 1.5rem; padding: 1rem; font-size: .9rem; }
@media (max-width: 768px) { .checkout-layout { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ================================================================ SHOP LAYOUT */
.shop-layout { display: grid; grid-template-columns: var(--sidebar-w) 1fr; gap: 2.5rem; padding: 2rem 0 5rem; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
.shop-sidebar h3 { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .75rem; }
.filter-group { margin-bottom: 1.5rem; }
.filter-group__items { display: flex; flex-direction: column; gap: .4rem; }
.filter-item { display: flex; align-items: center; gap: .5rem; font-size: .875rem; }
.shop-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.shop-count { font-size: .82rem; color: var(--c-muted); }
.shop-empty { text-align: center; padding: 4rem; color: var(--c-muted); }
.shop-empty p { margin-bottom: 1.5rem; font-size: 1.1rem; }
@media (max-width: 900px) { .shop-layout { grid-template-columns: 1fr; } }
.category-page { padding-top: 2rem; padding-bottom: 5rem; }
.category-page__header { margin-bottom: 2rem; }

/* select */
select { appearance: none; padding: .6rem .9rem; border: 2px solid var(--c-border); border-radius: var(--r-md); font-family: inherit; font-size: .9rem; background: var(--c-bg); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.2rem; cursor: pointer; }
select:focus { outline: none; border-color: var(--c-primary); }

/* ================================================================ SEARCH OVERLAY */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay[hidden] { display: none !important; }
.search-box { width: 100%; max-width: 640px; padding: 0 1.5rem; }
.search-input { width: 100%; padding: 1rem 0; border: none; border-bottom: 2px solid var(--c-border); font-family: inherit; font-size: 2.25rem; font-weight: 800; background: transparent; outline: none; color: var(--c-text); letter-spacing: -.03em; }
.search-input::placeholder { color: var(--c-border); font-weight: 700; }
.search-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: var(--c-muted); }
.search-close:hover { color: var(--c-primary); }

/* ================================================================ BLOG */
.blog-grid { display: grid; gap: 1.25rem; }
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .blog-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid--3 { grid-template-columns: 1fr; } }
.blog-card--sport { background: var(--c-bg); border: 1.5px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.blog-card--sport:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.blog-card__img-link img { width: 100%; height: 210px; object-fit: cover; transition: transform .4s; display: block; }
.blog-card--sport:hover .blog-card__img-link img { transform: scale(1.05); }
.blog-card__body { padding: 1.25rem; }
.blog-card__date { font-size: .7rem; font-weight: 700; color: var(--c-primary); letter-spacing: .08em; text-transform: uppercase; }
.blog-card__title { font-size: 1rem; font-weight: 700; margin: .4rem 0 .5rem; line-height: 1.3; }
.blog-card__title a { color: var(--c-text); transition: color .2s; }
.blog-card__title a:hover { color: var(--c-primary); }
.blog-card__excerpt { font-size: .84rem; color: var(--c-muted); line-height: 1.6; }
.blog-card__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--c-primary); }
.blog-page { padding: 2rem 0 5rem; }
.blog-page__header { margin-bottom: 2.5rem; }
.blog-post { padding: 2rem 0 5rem; }
.blog-post__header { max-width: 760px; margin: 0 auto 2.5rem; }
.blog-post__title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.blog-post__meta { font-size: .8rem; color: var(--c-muted); margin-top: .75rem; font-weight: 600; }
.blog-post__img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 2.5rem; }
.blog-post__body { max-width: 760px; margin: 0 auto; font-size: .94rem; line-height: 1.85; color: var(--c-muted); }
.blog-post__body p { margin-bottom: 1.25rem; }
.blog-post__body h2, .blog-post__body h3 { font-weight: 900; color: var(--c-text); margin: 2rem 0 .75rem; }

/* ================================================================ BRAND PAGE */
.brand-page { padding: 2rem 0 5rem; }
.brand-page__header { margin-bottom: 2.5rem; }
.brand-page__logo { max-height: 80px; width: auto; margin-bottom: 1rem; }
.brand-page__title { font-size: 2.2rem; font-weight: 900; letter-spacing: -.03em; }
.brand-page__desc { font-size: .9rem; color: var(--c-muted); max-width: 580px; margin-top: .75rem; line-height: 1.8; }

/* ================================================================ PAGINATOR */
.paginator { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.paginator a, .paginator span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 2px solid var(--c-border); border-radius: var(--r-md); font-size: .875rem; font-weight: 600; color: var(--c-text); transition: all .2s; }
.paginator a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.paginator .active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* ================================================================ BREADCRUMBS */
.breadcrumbs { padding: .75rem 0; margin-bottom: 0; }
.breadcrumbs__list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; font-size: .76rem; font-weight: 500; color: var(--c-muted); gap: 0; }
.breadcrumbs__item { display: flex; align-items: center; }
.breadcrumbs__item:not(:last-child)::after { content: '/'; margin: 0 .45rem; opacity: .35; font-weight: 400; }
.breadcrumbs__link { color: var(--c-muted); text-decoration: none; transition: color .15s; }
.breadcrumbs__link:hover { color: var(--c-primary); }
.breadcrumbs__current { color: var(--c-text); }

/* ================================================================ FOOTER */
.site-footer { background: #0c1929; padding: 4rem 0 2rem; color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .site-logo { color: #fff; margin-bottom: .75rem; }
.footer-brand p { line-height: 1.7; color: rgba(255,255,255,.4); }
.footer-col h4 { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .9rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .4rem; }
.footer-col ul a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul a:hover { color: var(--c-sky); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-size: .75rem; flex-wrap: wrap; gap: .5rem; color: rgba(255,255,255,.3); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ================================================================ FLASH */
.flash { padding: 1rem 1.5rem; border-radius: var(--r-md); margin-bottom: 1rem; font-size: .88rem; font-weight: 500; }
.flash--success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.flash--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash--info    { background: var(--c-primary-lt); color: var(--c-primary-dk); border: 1px solid rgba(8,145,178,.25); }

/* ================================================================ MOBILE NAV / MINI CART */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: .25rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all .3s; }
.mobile-nav { position: fixed; inset: 0; z-index: 150; background: var(--c-bg); padding: calc(var(--header-h) + 2rem) 2rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; transform: translateX(100%); transition: transform .3s ease; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-size: 1.2rem; font-weight: 700; color: var(--c-text); }
.mini-cart { position: fixed; top: 0; right: 0; z-index: 200; width: 380px; height: 100vh; background: var(--c-bg); border-left: 2px solid var(--c-border); padding: 2rem; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; }
.mini-cart.open { transform: translateX(0); }
.mini-cart__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.mini-cart__title { font-size: 1.2rem; font-weight: 800; }
.mini-cart__close { font-size: 1.3rem; color: var(--c-muted); }
.mini-cart__empty { text-align: center; padding: 3rem 0; color: var(--c-muted); }
.mini-cart__items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.mini-cart__item { display: flex; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border); }
.mini-cart__item img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-md); flex-shrink: 0; }
.mini-cart__item-info { flex: 1; font-size: .85rem; }
.mini-cart__item-name { font-weight: 600; }
.mini-cart__item-price { color: var(--c-primary); font-weight: 700; margin-top: .2rem; }
.mini-cart__footer { border-top: 2px solid var(--c-border); padding-top: 1.25rem; }
.mini-cart__total { display: flex; justify-content: space-between; font-weight: 800; margin-bottom: 1rem; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 149; display: none; }
.overlay.open { display: block; }

/* ================================================================ MISC */
.page-content { padding: 3rem 0 5rem; max-width: 760px; }
.page-content h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.page-content p { margin-bottom: 1.25rem; color: var(--c-muted); line-height: 1.85; }
.contact-form { max-width: 560px; display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.order-success { text-align: center; padding: 5rem 0; }
.order-success__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.order-success h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 1rem; }
.order-success p { color: var(--c-muted); max-width: 480px; margin: 0 auto; }

/* ================================================================ NAV CORRECTIONS */
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav__list { display: flex; align-items: center; gap: 0; list-style: none; }
.site-nav__list > li { position: relative; }
.site-nav__link { display: block; padding: .5rem .75rem; font-size: .875rem; font-weight: 500; color: var(--c-muted); transition: color .2s; }
.site-nav__link:hover { color: var(--c-primary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + .5rem); left: 0;
    min-width: 210px; background: #fff;
    border: 1.5px solid var(--c-border); border-radius: var(--r-lg);
    box-shadow: var(--sh-md); padding: .4rem 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    z-index: 50; list-style: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: .55rem 1.1rem; font-size: .84rem; color: var(--c-muted); transition: color .2s, background .2s; }
.dropdown li a:hover { color: var(--c-primary); background: var(--c-bg-alt); }
@media (max-width: 768px) { .site-nav { display: none; } }

/* Header action buttons */
.header-actions__btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--r-md); color: var(--c-muted); position: relative; transition: color .2s, background .2s; }
.header-actions__btn:hover { color: var(--c-primary); background: var(--c-bg-alt); }
.cart-toggle__count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; background: var(--c-accent); color: #fff; border-radius: 50%; font-size: .62rem; font-weight: 700; position: absolute; top: 2px; right: 2px; pointer-events: none; }
.lang-switcher { display: flex; align-items: center; gap: .35rem; }
.lang-switcher__link { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); padding: .25rem .35rem; transition: color .2s; }
.lang-switcher__link:hover { color: var(--c-primary); }

/* Mobile menu toggle (hamburger) */
.mobile-menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; padding: .4rem; }
.mobile-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.mobile-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) { .mobile-menu-toggle { display: flex; } }

/* Mobile menu panel */
.mobile-menu {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
    width: min(85vw, 360px); background: var(--c-bg);
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    overflow-y: auto; transform: translateX(100%);
    transition: transform .35s cubic-bezier(.25,.46,.45,.94);
    border-left: 1.5px solid var(--c-border);
    box-shadow: -10px 0 40px rgba(0,0,0,.12);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu nav > ul { list-style: none; display: flex; flex-direction: column; }
.mobile-menu nav > ul > li > a {
    display: block; padding: .85rem 0;
    font-size: 1rem; font-weight: 700; color: var(--c-text);
    border-bottom: 1px solid var(--c-border); transition: color .2s;
}
.mobile-menu nav > ul > li > a:hover { color: var(--c-primary); }
.mobile-menu nav > ul > li > ul { list-style: none; padding-left: 1rem; margin-bottom: .25rem; }
.mobile-menu nav > ul > li > ul a { display: block; padding: .45rem 0; font-size: .88rem; color: var(--c-muted); transition: color .2s; }
.mobile-menu nav > ul > li > ul a:hover { color: var(--c-primary); }

/* Overlay behind mobile menu */
.mobile-overlay { position: fixed; inset: 0; z-index: 140; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.mobile-overlay.is-open { opacity: 1; visibility: visible; }

/* Search overlay corrections */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay[hidden] { display: none !important; }
.search-form { width: 100%; max-width: 640px; padding: 0 1.5rem; display: flex; align-items: center; gap: .75rem; border-bottom: 2px solid var(--c-border); }
.search-form input[type=search] { flex: 1; padding: 1rem 0; border: none; font-family: inherit; font-size: 2rem; font-weight: 800; background: transparent; outline: none; color: var(--c-text); letter-spacing: -.03em; }
.search-form input[type=search]::placeholder { color: var(--c-border); }
.search-form button[type=submit] { flex-shrink: 0; color: var(--c-muted); padding: .5rem; transition: color .2s; }
.search-form button[type=submit]:hover { color: var(--c-primary); }
.search-overlay__close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 1.5rem; color: var(--c-muted); transition: color .2s; }
.search-overlay__close:hover { color: var(--c-primary); }

/* ================================================================ FOOTER CORRECTIONS */
.footer-cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-col h3 { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: .9rem; }
.footer-col--brand .footer-brand { display: block; font-size: 1.35rem; font-weight: 900; color: #fff; letter-spacing: -.03em; margin-bottom: .6rem; }
.footer-tagline { color: rgba(255,255,255,.4); line-height: 1.7; margin-top: .25rem; }
.footer-reg { font-size: .7rem; color: rgba(255,255,255,.2); margin-top: .25rem; }
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-social a:hover { color: var(--c-sky); }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cols { grid-template-columns: 1fr; } }

/* ================================================================ SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ================================================================ PRODUCT SLIDER (homepage) */
.products-slider { position: relative; overflow: hidden; padding: 0 2px; }
.products-slider__track { display: flex; gap: 1.25rem; transition: transform .45s cubic-bezier(.25,.46,.45,.94); will-change: transform; }
.products-slider__item { flex: 0 0 calc(25% - 1rem); min-width: 0; }
@media (max-width: 1024px) { .products-slider__item { flex: 0 0 calc(33.333% - .9rem); } }
@media (max-width: 768px) { .products-slider__item { flex: 0 0 calc(50% - .65rem); } .slider-btn { display: none; } }

/* ================================================================ CART SIDEBAR */
.cart-sidebar { position: fixed; inset: 0; z-index: 200; }
.cart-sidebar__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.4); cursor: pointer; }
.cart-sidebar__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 420px); background: var(--c-bg); display: flex; flex-direction: column; overflow: hidden; box-shadow: -12px 0 40px rgba(0,0,0,.18); }
.cart-sidebar__header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 2px solid var(--c-border); }
.cart-sidebar__header h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; }
.cart-sidebar__close { font-size: 1.3rem; color: var(--c-muted); transition: color .2s; padding: .25rem; }
.cart-sidebar__close:hover { color: var(--c-danger); }
.cart-sidebar__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: flex; gap: .9rem; align-items: flex-start; padding-bottom: 1rem; border-bottom: 1px solid var(--c-border); }
.cart-item:last-child { border-bottom: none; }
.cart-item__image { width: 68px; height: 68px; object-fit: cover; border-radius: var(--r-md); flex-shrink: 0; background: var(--c-bg-alt); }
.cart-item > div:nth-child(2) { flex: 1; min-width: 0; }
.cart-item__name { font-size: .88rem; font-weight: 600; line-height: 1.35; margin-bottom: .15rem; }
.cart-item__variant { font-size: .75rem; color: var(--c-muted); margin-bottom: .4rem; }
.cart-item__qty { display: flex; align-items: center; gap: .5rem; }
.cart-qty-minus, .cart-qty-plus { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--c-border); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--c-muted); transition: border-color .2s, color .2s; }
.cart-qty-minus:hover, .cart-qty-plus:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cart-item__qty span { font-size: .9rem; font-weight: 700; min-width: 22px; text-align: center; }
.cart-item > div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; flex-shrink: 0; }
.cart-item__price { font-size: .95rem; font-weight: 800; color: var(--c-text); white-space: nowrap; }
.cart-item__remove { font-size: .8rem; color: var(--c-muted); transition: color .2s; }
.cart-item__remove:hover { color: var(--c-danger); }
.cart-sidebar__footer { border-top: 2px solid var(--c-border); padding: 1.25rem 1.5rem; background: var(--c-bg-alt); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; font-size: .88rem; }
.cart-subtotal strong { font-size: 1.1rem; font-weight: 900; color: var(--c-text); }
.cart-shipping-note { font-size: .72rem; color: var(--c-muted); margin-bottom: 1rem; line-height: 1.5; }
.btn--primary { display: block; width: 100%; padding: .9rem 1.5rem; text-align: center; background: var(--c-primary); color: #fff; border-radius: var(--r-full); font-size: .88rem; font-weight: 700; letter-spacing: .04em; transition: background .2s, transform .15s; }
.btn--primary:hover { background: var(--c-primary-dk); transform: translateY(-1px); }
.btn--full { display: block; width: 100%; }
.btn--outline { display: block; width: 100%; padding: .75rem 1.5rem; text-align: center; border: 2px solid var(--c-border); color: var(--c-muted); border-radius: var(--r-full); font-size: .82rem; font-weight: 600; margin-top: .5rem; transition: border-color .2s, color .2s; }
.btn--outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.cart-empty { text-align: center; padding: 3rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cart-empty svg { color: var(--c-border); }
.cart-empty p { color: var(--c-muted); font-size: .9rem; }
.btn--ghost { display: inline-flex; align-items: center; padding: .65rem 1.5rem; border: 2px solid var(--c-border); color: var(--c-muted); border-radius: var(--r-full); font-size: .82rem; font-weight: 600; transition: border-color .2s, color .2s; }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--sm { font-size: .78rem; padding: .45rem 1rem; }

/* ================================================================ CART PAGE */
.cart-page__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 2rem; }
.cart-page__layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
@media (max-width: 900px) { .cart-page__layout { grid-template-columns: 1fr; } }
.cart-page__summary { background: var(--c-bg-alt); border: 2px solid var(--c-border); border-radius: var(--r-xl); padding: 1.75rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.cart-page__summary h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.25rem; letter-spacing: -.02em; }
.summary-row { display: flex; justify-content: space-between; font-size: .875rem; color: var(--c-muted); padding: .4rem 0; }
.summary-row--total { font-weight: 800; font-size: 1rem; color: var(--c-text); padding-top: .75rem; margin-top: .5rem; border-top: 2px solid var(--c-border); }
.cart-table__product { display: flex; align-items: center; gap: .75rem; }
.cart-table__product img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-md); flex-shrink: 0; }
.cart-table__name { font-weight: 600; font-size: .9rem; }
.qty-wrap { display: inline-flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--r-full); overflow: hidden; }
.qty-wrap .qty-btn { width: 34px; height: 34px; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; color: var(--c-muted); transition: color .2s, background .2s; }
.qty-wrap .qty-btn:hover { color: var(--c-primary); background: var(--c-primary-lt); }
.qty-wrap .qty-input { width: 44px; height: 34px; text-align: center; border: none; border-left: 1.5px solid var(--c-border); border-right: 1.5px solid var(--c-border); font-family: inherit; font-size: .9rem; font-weight: 700; outline: none; -moz-appearance: textfield; }
.qty-wrap .qty-input::-webkit-outer-spin-button, .qty-wrap .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-loading { padding: 2rem; text-align: center; color: var(--c-muted); font-size: .9rem; }
.cart-empty-note { font-size: .88rem; color: var(--c-muted); text-align: center; padding: 1rem 0; }

/* ================================================================ CHECKOUT */
.checkout-page__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: 2rem; }
.checkout-section__title { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.25rem; padding-bottom: .6rem; border-bottom: 2px solid var(--c-border); }
.req { color: var(--c-danger); }
.form-label { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .3rem; display: block; }
.form-input { width: 100%; padding: .75rem 1rem; border: 2px solid var(--c-border); border-radius: var(--r-md); font-family: inherit; font-size: .9rem; background: var(--c-bg); transition: border-color .2s, box-shadow .2s; outline: none; }
.form-input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(8,145,178,.12); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { display: block; font-size: .75rem; color: var(--c-danger); margin-top: .25rem; min-height: 1em; }
.has-error .form-input { border-color: var(--c-danger); }
.delivery-methods { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1rem; }
.delivery-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 2px solid var(--c-border); border-radius: var(--r-lg); cursor: pointer; transition: border-color .2s, background .2s; }
.delivery-method.is-active { border-color: var(--c-primary); background: var(--c-primary-lt); }
.delivery-method input[type=radio] { width: 18px; height: 18px; accent-color: var(--c-primary); flex-shrink: 0; }
.delivery-method__logo img { height: 28px; width: auto; }
.delivery-method__info { flex: 1; }
.delivery-method__info strong { display: block; font-size: .88rem; font-weight: 700; }
.delivery-method__info span { font-size: .75rem; color: var(--c-muted); }
.delivery-method__price { font-size: .9rem; font-weight: 800; color: var(--c-primary); white-space: nowrap; }
.parcel-selector { margin-top: .75rem; }
.parcel-search-wrap { position: relative; margin-bottom: .5rem; }
.parcel-search-clear { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); font-size: 1.1rem; }
.parcel-list { max-height: 220px; overflow-y: auto; border: 2px solid var(--c-border); border-radius: var(--r-md); }
.parcel-item { padding: .65rem 1rem; cursor: pointer; transition: background .15s; border-bottom: 1px solid var(--c-border); }
.parcel-item:last-child { border-bottom: none; }
.parcel-item:hover, .parcel-item.is-selected { background: var(--c-primary-lt); }
.parcel-item.is-selected { color: var(--c-primary); font-weight: 600; }
.parcel-item__name { display: block; font-size: .85rem; font-weight: 500; }
.parcel-item__addr { display: block; font-size: .75rem; color: var(--c-muted); }
.parcel-loading, .parcel-empty, .parcel-error { padding: 1rem; text-align: center; font-size: .82rem; color: var(--c-muted); }
.payment-methods { display: flex; flex-direction: column; gap: .6rem; }
.payment-method { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 2px solid var(--c-border); border-radius: var(--r-lg); cursor: pointer; transition: border-color .2s, background .2s; }
.payment-method.is-active { border-color: var(--c-primary); background: var(--c-primary-lt); }
.payment-method input[type=radio] { width: 18px; height: 18px; accent-color: var(--c-primary); flex-shrink: 0; }
.payment-method__icon { font-size: 1.5rem; flex-shrink: 0; }
.payment-method__info strong { display: block; font-size: .88rem; font-weight: 700; }
.payment-method__info span { font-size: .75rem; color: var(--c-muted); }
.coupon-row { display: flex; gap: .6rem; }
.coupon-row .form-input { flex: 1; }
.coupon-feedback { font-size: .8rem; margin-top: .4rem; min-height: 1.2em; }
.coupon-feedback.error { color: var(--c-danger); }
.coupon-feedback.success { color: var(--c-success); }
.checkout-terms { margin: 1rem 0; }
.checkbox-label { display: flex; align-items: flex-start; gap: .6rem; font-size: .875rem; cursor: pointer; line-height: 1.5; }
.checkbox-label input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--c-primary); margin-top: 2px; }
.btn-checkout { width: 100%; padding: 1rem; font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: .5rem; }
.checkout-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: .9rem 1.1rem; border-radius: var(--r-md); margin-top: .75rem; font-size: .88rem; }
.summary-item { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--c-border); }
.summary-item img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--r-sm); flex-shrink: 0; background: var(--c-bg-alt); }
.summary-item__info { flex: 1; min-width: 0; }
.summary-item__name { font-size: .85rem; font-weight: 600; display: block; }
.summary-item__variant { font-size: .72rem; color: var(--c-muted); display: block; }
.summary-item__qty { font-size: .72rem; color: var(--c-muted); }
.summary-item__price { font-size: .9rem; font-weight: 800; white-space: nowrap; flex-shrink: 0; }
.checkout-summary__totals { padding-top: .5rem; }
.summary-vat { font-size: .72rem; color: var(--c-muted); text-align: right; margin-top: .4rem; }
.summary-row--discount { color: var(--c-success); }

/* ================================================================ SHOP LISTING */
.shop-filters { border-right: 2px solid var(--c-border); padding-right: 1.5rem; }
.shop-filters__title { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 1.25rem; }
.filter-group { margin-bottom: 1.75rem; }
.filter-group__title { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .75rem; }
.filter-option { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; font-size: .875rem; cursor: pointer; transition: color .2s; }
.filter-option:hover { color: var(--c-primary); }
.filter-option input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--c-primary); flex-shrink: 0; }
.price-range { display: flex; align-items: center; gap: .5rem; }
.price-range input { width: 80px; padding: .5rem .65rem; border: 2px solid var(--c-border); border-radius: var(--r-md); font-family: inherit; font-size: .85rem; outline: none; transition: border-color .2s; }
.price-range input:focus { border-color: var(--c-primary); }
.price-range span { color: var(--c-muted); }
.shop-main { min-width: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.content-banner { border-radius: var(--r-lg); overflow: hidden; }
.form-row--2 { grid-template-columns: 1fr 1fr !important; }
@media (max-width: 640px) { .form-row--2 { grid-template-columns: 1fr !important; } }

/* ================================================================ LOGO TEXT */
.site-logo__text { font-size: 1.35rem; font-weight: 900; letter-spacing: -.04em; color: var(--c-primary); }

/* ================================================================ HERO BUTTON GLOW */
.btn.btn-hero { box-shadow: 0 4px 20px rgba(8,145,178,.25); }
.btn.btn-hero:hover { box-shadow: 0 8px 28px rgba(8,145,178,.4); transform: translateY(-2px); }

/* ================================================================ ERROR PAGES */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 4rem 2rem; }
.error-page__inner { text-align: center; max-width: 560px; }
.error-page__code { font-size: clamp(5rem, 15vw, 9rem); font-weight: 900; color: var(--c-primary-lt); line-height: 1; margin-bottom: .5rem; letter-spacing: -.05em; }
.error-page--404 .error-page__code { color: var(--c-primary-lt); }
.error-page--500 .error-page__code { color: #fee2e2; }
.error-page__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.03em; margin-bottom: .75rem; }
.error-page__text { color: var(--c-muted); line-height: 1.75; margin-bottom: 2rem; }
.error-page__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.error-page__search { display: flex; justify-content: center; }
.error-page__search form { display: flex; gap: .5rem; width: 100%; max-width: 380px; }
.error-page__search-input { flex: 1; padding: .7rem 1rem; border: 2px solid var(--c-border); border-radius: var(--r-full); font-family: inherit; font-size: .9rem; outline: none; transition: border-color .2s; }
.error-page__search-input:focus { border-color: var(--c-primary); }

/* ================================================================ RESPONSIVE FIXES (shared) */
.product-grid > *, .products-grid > *, .products-grid--4 > *, .products-grid--3 > * { min-width: 0; }

.product-card__image-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 1/1; background: var(--c-bg-alt); }
.product-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
@supports not (aspect-ratio: 1) {
    .product-card__image-wrap { padding-bottom: 100%; height: 0; }
    .product-card__image-wrap img, .product-card__no-image { position: absolute; inset: 0; width: 100%; height: 100%; }
}
.product-card__no-image { min-height: 160px; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--c-border); background: var(--c-bg-deep); }

nav.breadcrumbs.container { margin-bottom: 0; }

.category-page.container { padding-top: 0; }
.blog-page.container { padding-top: 1.5rem; padding-bottom: 4rem; }
.blog-post-page.container { padding-top: 1.5rem; padding-bottom: 4rem; }

/* ================================================================ PROSE (blog post body) */
.prose { max-width: 740px; margin: 2rem auto 0; font-size: 1rem; line-height: 1.8; color: var(--c-text); }
.prose h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; line-height: 1.3; }
.prose h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--c-primary); text-decoration: underline; }
.prose a:hover { opacity: .8; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose blockquote { border-left: 3px solid var(--c-primary); padding: .75rem 1.25rem; margin: 1.5rem 0; background: var(--c-bg-alt); border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; color: var(--c-muted); }
.prose img { max-width: 100%; height: auto; border-radius: var(--r-md); margin: 1.5rem 0; }
.prose hr { border: none; border-top: 1px solid var(--c-border); margin: 2rem 0; }
.prose pre { background: var(--c-bg-deep); padding: 1rem 1.25rem; border-radius: var(--r-md); overflow-x: auto; font-size: .875rem; margin-bottom: 1.2em; }
.prose code { background: var(--c-bg-alt); padding: .1em .35em; border-radius: 3px; font-size: .9em; }
.subcategory-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.subcategory-card { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: 1rem; border: 1px solid var(--c-border); border-radius: var(--r-md); text-align: center; font-size: .85rem; transition: border-color .2s; }
.subcategory-card:hover { border-color: var(--c-primary); }
.subcategory-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }

.shop-filter-bar { display: none; }
.shop-filter-toggle { display: flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; border: 1px solid var(--c-border); border-radius: 999px; font-size: .78rem; color: var(--c-muted); background: var(--c-bg); transition: border-color .2s, color .2s; }
.shop-filter-toggle:hover, .shop-filter-toggle.is-active { border-color: var(--c-primary); color: var(--c-primary); }

@media (max-width: 900px) {
    .shop-filter-bar { display: flex; padding: .75rem 0 0; }
    .shop-layout { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 1rem; }
    .shop-filters { display: none; border-right: none; padding-right: 0; padding: 1rem; background: var(--c-bg-alt); border: 1px solid var(--c-border); border-radius: 8px; margin-bottom: .5rem; }
    .shop-filters.is-open { display: block; }
    .shop-sidebar { position: static; }
}
@media (max-width: 540px) {
    .products-grid--4, .products-grid--3, .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .product-card__body { padding: .75rem .85rem .1rem; }
    .product-card__add-btn { margin: .5rem .85rem .75rem; width: calc(100% - 1.7rem); padding: .55rem; font-size: .72rem; }
    .header-inner { gap: .75rem; }
    .section-header { flex-direction: column; align-items: flex-start; }
    /* product detail mobile */
    .product-detail__actions { flex-wrap: wrap; }
    .btn-detail-cart { flex: 1 1 100%; }
    .tabs-nav { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .tab-btn { white-space: nowrap; padding: .6rem 1rem; }
}
@media (max-width: 360px) {
    .products-grid--4, .products-grid--3, .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .cart-page__layout, .checkout-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* ================================================================ HERO PRODUCT CARD */
.hero-product-card {
    display: block; background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.18);
    border-radius: var(--r-xl, 1.25rem);
    overflow: hidden; backdrop-filter: blur(8px);
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.hero-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.35); }
.hero-product-card__badge {
    position: absolute; top: .75rem; left: .75rem; z-index: 2;
    background: var(--c-primary); color: #fff;
    font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: .3rem .7rem; border-radius: var(--r-full);
}
.hero-product-card__img {
    aspect-ratio: 1; overflow: hidden; background: rgba(255,255,255,.05);
}
.hero-product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hero-product-card__body {
    padding: 1rem 1.25rem 1.25rem;
}
.hero-product-card__name {
    font-size: .88rem; font-weight: 600; color: #fff;
    margin-bottom: .4rem; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-product-card__price { display: flex; align-items: center; gap: .6rem; }
.hero-product-card__price strong { font-size: 1.15rem; font-weight: 800; color: #fff; }
.hero-product-card__old { font-size: .85rem; color: rgba(255,255,255,.5); }
