/* GeekZone discovery components — tokens in variables.css (--gz-*). */

[data-gz-section][hidden] { display: none !important; }

/* ---------- section shell ---------- */
.gz-section { padding: var(--gz-section-gap) 0; background: var(--gz-surface); overflow-x: clip; }
.gz-section--alt { background: var(--gz-surface-alt); }
.gz-section--stage {
    color: #fff;
    background:
        radial-gradient(900px 420px at 50% 18%, rgba(0, 98, 189, 0.22), transparent 70%),
        radial-gradient(700px 300px at 85% 100%, rgba(254, 215, 0, 0.06), transparent 70%),
        linear-gradient(180deg, var(--gz-stage-2), var(--gz-stage));
    overflow: hidden;
}

.gz-section__head {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.gz-section__head > :first-child { flex: 1 1 auto; min-width: 0; }
.gz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gz-muted);
    margin-bottom: 0.35rem;
}
.gz-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gz-accent); }
.gz-section--stage .gz-eyebrow { color: var(--gz-muted-dark); }
.gz-section__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111;
}
.gz-section--stage .gz-section__title { color: #fff; }
.gz-section__sub { margin: 0.35rem 0 0; color: var(--gz-muted); font-size: 0.95rem; }
.gz-section--stage .gz-section__sub { color: var(--gz-muted-dark); }
.gz-link-more { font-weight: 600; color: var(--gz-link); text-decoration: none; white-space: nowrap; }
.gz-link-more:hover { text-decoration: underline; }
.gz-section--stage .gz-link-more { color: #fff; }

/* ---------- buttons ---------- */
.gz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0 1.1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--gz-dur-fast) ease, color var(--gz-dur-fast) ease, border-color var(--gz-dur-fast) ease, transform var(--gz-dur-fast) ease;
}
.gz-btn--primary { background: var(--gz-ink); color: #fff; }
.gz-btn--primary:hover:not(:disabled) { background: var(--gz-ink-strong); color: #fff; }
.gz-btn--ghost { background: transparent; border-color: currentColor; color: var(--gz-ink); }
.gz-btn--ghost:hover { background: var(--gz-ink); border-color: var(--gz-ink); color: #fff; }
.gz-btn:disabled { background: #e9ecef; color: #6c757d; cursor: not-allowed; border-color: transparent; }
.gz-btn:focus-visible, .gz-icon-btn:focus-visible, .gz-nav__btn:focus-visible, .gz-cat:focus-visible,
.gz-cf:focus-visible, .gz-v3:focus-visible, .gz-hs__track:focus-visible, .gz-vs__track:focus-visible {
    outline: 3px solid var(--gz-link);
    outline-offset: 2px;
}

.gz-add.is-loading, .gz-icon-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.gz-add.is-loading::after, .gz-icon-btn.is-loading::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 50%;
    width: 18px; height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gz-spin 0.7s linear infinite;
}
.gz-icon-btn.is-loading::after { border-color: rgba(0, 0, 0, 0.2); border-top-color: var(--gz-ink); }
.gz-add.is-done { background: var(--gz-promo) !important; }
@keyframes gz-spin { to { transform: rotate(360deg); } }

.gz-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gz-line);
    background: #fff;
    color: var(--gz-ink);
    cursor: pointer;
    transition: background var(--gz-dur-fast) ease, color var(--gz-dur-fast) ease, border-color var(--gz-dur-fast) ease;
}
.gz-icon-btn:hover { border-color: var(--gz-ink); }
.gz-icon-btn.active { background: var(--gz-price); border-color: var(--gz-price); color: #fff; }

.gz-nav { display: inline-flex; gap: 0.5rem; }
.gz-nav.is-idle { visibility: hidden; }
.gz-nav__btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--gz-line);
    background: #fff;
    color: var(--gz-ink);
    cursor: pointer;
    transition: background var(--gz-dur-fast) ease, color var(--gz-dur-fast) ease;
}
.gz-nav__btn:hover:not(:disabled) { background: var(--gz-ink); color: #fff; border-color: var(--gz-ink); }
.gz-nav__btn:disabled { opacity: 0.35; cursor: default; }
.gz-section--stage .gz-nav__btn { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: var(--gz-line-dark); }

/* ---------- price / stock / badges ---------- */
.gz-price { color: var(--gz-price); font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.gz-price-old { color: var(--gz-muted); text-decoration: line-through; font-size: 0.85rem; margin-inline-start: 0.4rem; white-space: nowrap; }
.gz-stock { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; }
.gz-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gz-stock.is-in { color: var(--gz-promo); }
.gz-stock.is-low { color: #b45309; }
.gz-stock.is-out { color: var(--gz-price); }
.gz-badge { display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px; font-size: 0.72rem; font-weight: 800; color: #fff; line-height: 1.3; }
.gz-badge--promo { background: var(--gz-promo); }
.gz-badge--out { background: #4b5563; }

/* ---------- product card (horizontal slider) ---------- */
.gz-hs__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--gz-card-w, var(--gz-card-w-md));
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 4px 2px 14px;
    scrollbar-width: thin;
    cursor: grab;
}
.gz-hs[data-size="sm"] { --gz-card-w: var(--gz-card-w-sm); }
.gz-hs[data-size="lg"] { --gz-card-w: var(--gz-card-w-lg); }
.gz-hs__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gz-hs__track > * { scroll-snap-align: start; }

.gz-pcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gz-line);
    border-radius: var(--gz-radius-card);
    overflow: hidden;
    transition: box-shadow var(--gz-dur) var(--gz-ease), transform var(--gz-dur) var(--gz-ease), border-color var(--gz-dur) ease;
}
.gz-pcard:hover { box-shadow: var(--gz-shadow-hover); border-color: transparent; transform: translateY(-3px); }
.gz-pcard__media { position: relative; aspect-ratio: 1; background: #fff; }
.gz-pcard__img { display: block; width: 100%; height: 100%; padding: 0.75rem; }
.gz-pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform var(--gz-dur-slow) var(--gz-ease); }
.gz-pcard:hover .gz-pcard__img img { transform: scale(1.05); }
.gz-pcard.is-out .gz-pcard__img img { filter: grayscale(0.7); opacity: 0.7; }
.gz-pcard__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; }
.gz-pcard__tools {
    position: absolute; top: 10px; right: 10px;
    display: flex; flex-direction: column; gap: 6px;
    opacity: 0; transform: translateX(6px);
    transition: opacity var(--gz-dur) ease, transform var(--gz-dur) var(--gz-ease);
}
.gz-pcard:hover .gz-pcard__tools, .gz-pcard:focus-within .gz-pcard__tools { opacity: 1; transform: none; }
@media (hover: none) { .gz-pcard__tools { opacity: 1; transform: none; } }
.gz-pcard__body { display: flex; flex-direction: column; gap: 0.4rem; padding: 0.85rem; flex: 1; }
.gz-pcard__cat { font-size: 0.72rem; color: var(--gz-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.gz-pcard__title { margin: 0; font-size: 0.92rem; font-weight: 600; line-height: 1.35; min-height: 2.7em; }
.gz-pcard__title a {
    color: var(--gz-link); text-decoration: none;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gz-pcard__title a:hover { text-decoration: underline; }
.gz-pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; }
.gz-pcard .gz-add { margin-top: auto; width: 100%; }

/* ---------- vertical 2D slider ---------- */
.gz-vs__track {
    display: flex; flex-direction: column; gap: 0.6rem;
    max-height: var(--gz-vs-max, 452px);
    overflow-y: auto;
    scroll-snap-type: y proximity;
    padding: 2px 4px 2px 2px;
    scrollbar-width: thin;
}
.gz-vs__track.is-dragging { scroll-snap-type: none; user-select: none; }
.gz-vrow {
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem;
    background: #fff;
    border: 1px solid var(--gz-line);
    border-radius: var(--gz-radius-card);
    transition: border-color var(--gz-dur-fast) ease, box-shadow var(--gz-dur) var(--gz-ease);
}
.gz-vrow:hover { border-color: var(--gz-ink); box-shadow: var(--gz-shadow-card); }
.gz-vrow__thumb { position: relative; display: block; width: 88px; height: 88px; }
.gz-vrow__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gz-vrow__thumb .gz-badge { position: absolute; top: 0; left: 0; }
.gz-vrow.is-out .gz-vrow__thumb img { filter: grayscale(0.7); opacity: 0.7; }
.gz-vrow__info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.gz-vrow__name {
    color: var(--gz-link); font-weight: 600; font-size: 0.88rem; text-decoration: none; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gz-vrow__name:hover { text-decoration: underline; }
.gz-vrow__price { display: flex; align-items: baseline; flex-wrap: wrap; }
.gz-vrow__acts { display: flex; flex-direction: column; gap: 0.4rem; }
.gz-add--icon { width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
.gz-vs__more { display: none; width: 100%; margin-top: 0.75rem; }

/* ---------- 3D coverflow ---------- */
.gz-cf { position: relative; outline: none; }
.gz-cf__stage {
    position: relative;
    height: clamp(300px, 38vw, 440px);
    perspective: 1400px;
    perspective-origin: 50% 40%;
    touch-action: pan-y;
    user-select: none;
}
.gz-cf__glow {
    position: absolute; left: 50%; top: 52%;
    width: min(560px, 80%); height: 60%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 255, 255, 0.16), transparent);
    filter: blur(10px);
    pointer-events: none;
}
/* Items sit behind the ring's plane (negative translateZ), so the ring must not take their clicks. */
.gz-cf__ring { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; pointer-events: none; }
.gz-cf__item {
    pointer-events: auto;
    position: absolute; left: 50%; top: 50%;
    width: clamp(190px, 26vw, 330px);
    aspect-ratio: 1;
    margin: 0;
    translate: -50% -52%;
    transform-style: preserve-3d;
    transition: transform var(--gz-dur-slow) var(--gz-ease), opacity var(--gz-dur-slow) var(--gz-ease);
    will-change: transform;
}
.gz-cf__card {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    padding: 1.1rem;
    border: 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--gz-shadow-stage);
    cursor: pointer;
    -webkit-box-reflect: below 10px linear-gradient(transparent 72%, rgba(255, 255, 255, 0.16));
}
.gz-cf__card img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.gz-cf__card .gz-badge { position: absolute; top: 12px; left: 12px; }
.gz-cf__item:not(.is-active) .gz-badge { visibility: hidden; }
.gz-cf__item.is-active .gz-cf__card { outline: 3px solid var(--gz-accent); outline-offset: 4px; }
.gz-cf__floor {
    position: absolute; left: 0; right: 0; bottom: -10%; height: 45%;
    background: radial-gradient(60% 70% at 50% 100%, rgba(0, 0, 0, 0.6), transparent 75%);
    pointer-events: none;
}
.gz-cf__arrow {
    position: absolute; top: 50%; z-index: 60;
    width: 48px; height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    border: 1px solid var(--gz-line-dark);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
}
.gz-cf__arrow:hover { background: #fff; color: #000; }
.gz-cf__arrow--prev { left: 0.5rem; }
.gz-cf__arrow--next { right: 0.5rem; }
.gz-cf__panel { display: flex; justify-content: center; margin-top: 1.5rem; min-height: 188px; }
.gz-cf__dots { display: flex; justify-content: center; margin-top: 0.75rem; }
.gz-cf__dot { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; transition: width var(--gz-dur) var(--gz-ease); }
.gz-cf__dot::before {
    content: ""; position: absolute; left: 50%; top: 50%;
    width: 10px; height: 10px; border-radius: 5px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    transition: width var(--gz-dur) var(--gz-ease), background var(--gz-dur) ease;
}
.gz-cf__dot[aria-current="true"] { width: 36px; }
.gz-cf__dot[aria-current="true"]::before { width: 28px; background: var(--gz-accent); }

/* ---------- action panel (shared by 3D sliders) ---------- */
.gz-ap { text-align: center; max-width: 560px; animation: gz-fade-up var(--gz-dur) var(--gz-ease); }
.gz-ap__cat { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gz-muted); }
.gz-ap__title { margin: 0.3rem 0 0.4rem; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 700; line-height: 1.25; }
.gz-ap__title a { color: inherit; text-decoration: none; }
.gz-ap__title a:hover { text-decoration: underline; }
.gz-ap__price { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.gz-ap__price .gz-price { font-size: 1.35rem; }
.gz-ap__price .gz-price-old { margin: 0; }
.gz-ap__actions { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.85rem; flex-wrap: wrap; }
.gz-ap__actions .gz-add { min-width: 200px; }
.gz-ap__more { display: inline-flex; gap: 0.35rem; align-items: center; margin-top: 0.75rem; font-weight: 600; color: var(--gz-link); text-decoration: none; }
.gz-ap__more:hover { text-decoration: underline; }
.gz-section--stage .gz-ap__cat { color: var(--gz-muted-dark); }
.gz-section--stage .gz-ap__title { color: #fff; }
.gz-section--stage .gz-ap__price .gz-price { color: #ff6b6b; }
.gz-section--stage .gz-price-old { color: var(--gz-muted-dark); }
.gz-section--stage .gz-stock.is-in { color: #4ade80; }
.gz-section--stage .gz-stock.is-low { color: #fbbf24; }
.gz-section--stage .gz-stock.is-out { color: #f87171; }
.gz-section--stage .gz-ap__more { color: #fff; }
.gz-section--stage .gz-btn--primary { background: #fff; color: #000; }
.gz-section--stage .gz-btn--primary:hover:not(:disabled) { background: var(--gz-accent); color: #000; }
.gz-section--stage .gz-add.is-loading::after { border-color: rgba(0, 0, 0, 0.2); border-top-color: #000; }
.gz-section--stage .gz-icon-btn { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: var(--gz-line-dark); }
.gz-section--stage .gz-icon-btn.active { background: var(--gz-price); border-color: var(--gz-price); }
@keyframes gz-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- vertical 3D showcase ---------- */
.gz-v3 { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); gap: 2rem; align-items: center; outline: none; }
.gz-v3__stage {
    position: relative;
    height: 460px;
    perspective: 900px;
    touch-action: pan-x;
    user-select: none;
}
@media (pointer: coarse) {
    .gz-v3__stage { touch-action: pan-y; }
}
.gz-v3__stack { position: absolute; inset: 56px 0; margin: 0; padding: 0; list-style: none; transform-style: preserve-3d; pointer-events: none; }
.gz-v3__item {
    pointer-events: auto;
    position: absolute; left: 0; right: 0; top: 50%;
    translate: 0 -50%;
    transition: transform var(--gz-dur-slow) var(--gz-ease), opacity var(--gz-dur-slow) var(--gz-ease);
    will-change: transform;
}
.gz-v3__card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    padding: 0.6rem 0.9rem 0.6rem 0.6rem;
    border: 1px solid var(--gz-line-dark);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-align: start;
    cursor: pointer;
    transition: background var(--gz-dur) ease, border-color var(--gz-dur) ease;
}
.gz-v3__card img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.gz-v3__meta { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.gz-v3__name { font-weight: 600; font-size: 0.88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gz-v3__price { color: #ff8a8a; font-weight: 800; font-size: 0.9rem; }
.gz-v3__item.is-active .gz-v3__card { background: #fff; color: #111; border-color: var(--gz-accent); box-shadow: 0 0 0 2px var(--gz-accent), var(--gz-shadow-stage); }
.gz-v3__item.is-active .gz-v3__price { color: var(--gz-price); }
.gz-v3__arrow {
    position: absolute; left: 50%; z-index: 30;
    width: 44px; height: 44px; margin-left: -22px;
    border-radius: 50%;
    border: 1px solid var(--gz-line-dark);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}
.gz-v3__arrow:hover:not(:disabled) { background: #fff; color: #000; }
.gz-v3__arrow:disabled { opacity: 0.3; cursor: default; }
.gz-v3__arrow--up { top: 0; }
.gz-v3__arrow--down { bottom: 0; }
.gz-v3__count { position: absolute; right: 0; bottom: 10px; font-size: 0.8rem; color: var(--gz-muted-dark); font-variant-numeric: tabular-nums; }
.gz-v3__detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.gz-v3__hero {
    display: block;
    aspect-ratio: 1;
    padding: 1.25rem;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--gz-shadow-stage);
}
.gz-v3__hero img { width: 100%; height: 100%; object-fit: contain; }
.gz-v3__panel .gz-ap { text-align: start; }
.gz-v3__panel .gz-ap__price, .gz-v3__panel .gz-ap__actions { justify-content: flex-start; }

/* ---------- category slider ---------- */
.gz-cats__track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding: 4px 2px 12px;
    scrollbar-width: thin;
}
.gz-cat {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: grid;
    grid-template-columns: 56px auto;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: center;
    min-width: 200px;
    padding: 0.6rem 1rem 0.6rem 0.6rem;
    border: 1px solid var(--gz-line);
    border-radius: 14px;
    background: #fff;
    color: var(--gz-ink);
    text-align: start;
    cursor: pointer;
    transition: border-color var(--gz-dur-fast) ease, box-shadow var(--gz-dur) var(--gz-ease), background var(--gz-dur-fast) ease;
}
.gz-cat:hover { border-color: var(--gz-ink); box-shadow: var(--gz-shadow-card); }
.gz-cat.is-active { background: #000; border-color: #000; color: #fff; }
.gz-cat__img {
    grid-row: span 2;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.gz-cat__img img { width: 100%; height: 100%; object-fit: contain; }
.gz-cat__img--all { background: var(--gz-surface-alt); color: var(--gz-ink); font-size: 1.4rem; }
.gz-cat__name { font-weight: 700; font-size: 0.92rem; }
.gz-cat__count { font-size: 0.78rem; color: var(--gz-muted); }
.gz-cat.is-active .gz-cat__count { color: #c7cdd3; }
.gz-cats__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0.75rem 0; }
.gz-cats__status { margin: 0; font-weight: 600; color: var(--gz-ink); }

/* ---------- promotional slider ---------- */
.gz-promo { overflow: hidden; }
.gz-promo__slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 220px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(120deg, #111 0%, #262d36 100%);
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}
.gz-promo__media { order: 2; display: flex; align-items: center; justify-content: center; height: 100%; padding: 1rem; }
.gz-promo__media img, .gz-promo__media video { width: 100%; max-height: 200px; object-fit: contain; transition: transform var(--gz-dur-slow) var(--gz-ease); }
.gz-promo__slide:hover .gz-promo__media img { transform: scale(1.05) rotate(-1deg); }
.gz-promo__copy { order: 1; display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; }
.gz-promo__eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gz-muted-dark); }
.gz-promo__title { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.3; }
.gz-promo__cta {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-weight: 700;
    font-size: 0.85rem;
}
.gz-promo__slide:hover .gz-promo__cta { background: var(--gz-accent); }
.gz-promo__slide:focus-visible { outline: 3px solid var(--gz-link); outline-offset: 3px; }
.gz-promo__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1rem; }
.gz-promo__dots.swiper-pagination { position: static; width: auto; }
.gz-promo__dots .swiper-pagination-bullet { background: #9aa4ae; opacity: 1; }
.gz-promo__dots .swiper-pagination-bullet-active { background: var(--gz-accent); width: 22px; border-radius: 4px; }

/* ---------- trust strip ---------- */
.gz-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gz-trust__item {
    display: flex; gap: 0.85rem; align-items: flex-start;
    padding: 1.1rem;
    border: 1px solid var(--gz-line);
    border-radius: var(--gz-radius-card);
    background: #fff;
}
.gz-trust__item > i { font-size: 1.6rem; color: var(--gz-ink); line-height: 1; }
.gz-trust__item strong { display: block; color: #111; font-size: 0.95rem; }
.gz-trust__item span { color: var(--gz-muted); font-size: 0.85rem; }
.gz-trust__item a { color: var(--gz-link); font-weight: 600; }

/* ---------- split layout (vertical list + promo) ---------- */
.gz-split-2 { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.gz-split-2 > * { min-width: 0; }
.gz-panel {
    padding: 1.1rem;
    border: 1px solid var(--gz-line);
    border-radius: 14px;
    background: #fff;
}
.gz-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.85rem; }
.gz-panel__title { margin: 0; font-size: 1.1rem; font-weight: 700; color: #111; }

/* ---------- deal timer (only when a real promo end date exists) ---------- */
.gz-countdown { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.85rem; border-radius: 999px; background: #000; color: #fff; font-weight: 700; font-size: 0.85rem; font-variant-numeric: tabular-nums; }

/* ---------- states ---------- */
.gz-state {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    padding: 2rem 1rem;
    border: 1px dashed var(--gz-line);
    border-radius: 14px;
    text-align: center;
    color: var(--gz-muted);
}
.gz-state > i { font-size: 2rem; }
.gz-state p { margin: 0; }
.gz-section--stage .gz-state { border-color: var(--gz-line-dark); color: var(--gz-muted-dark); }
.gz-section--stage .gz-state .gz-btn--ghost { color: #fff; }

.gz-skel { display: grid; gap: 1rem; }
.gz-skel--cards { grid-auto-flow: column; grid-auto-columns: var(--gz-card-w-md); overflow: hidden; }
.gz-skel--rows { grid-template-columns: 1fr; }
.gz-skel--chips { grid-auto-flow: column; grid-auto-columns: 200px; overflow: hidden; }
.gz-skel__card, .gz-skel__row, .gz-skel__chip, .gz-skel__hero {
    border-radius: 12px;
    background: linear-gradient(90deg, #eef0f2 25%, #f7f8f9 50%, #eef0f2 75%);
    background-size: 200% 100%;
    animation: gz-shimmer 1.3s linear infinite;
}
.gz-skel__card { height: 360px; }
.gz-skel__row { height: 104px; }
.gz-skel__chip { height: 72px; }
.gz-skel__hero { height: 340px; }
.gz-section--stage .gz-skel__hero { background: linear-gradient(90deg, #1b2129 25%, #242b35 50%, #1b2129 75%); background-size: 200% 100%; }
@keyframes gz-shimmer { to { background-position: -200% 0; } }

/* ---------- quick view ---------- */
.gz-qv-loading { padding: 4rem 0; }
.gz-qv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.75rem; padding: 0.5rem; }
.gz-qv__main { position: relative; aspect-ratio: 1; border: 1px solid var(--gz-line); border-radius: 14px; padding: 1rem; background: #fff; }
.gz-qv__main img { width: 100%; height: 100%; object-fit: contain; }
.gz-qv__badge { position: absolute; top: 12px; left: 12px; }
.gz-qv__thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.gz-qv__thumb { width: 64px; height: 64px; padding: 4px; border: 1px solid var(--gz-line); border-radius: 8px; background: #fff; cursor: pointer; }
.gz-qv__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gz-qv__thumb.is-active { border-color: var(--gz-ink); box-shadow: 0 0 0 1px var(--gz-ink); }
.gz-qv__info { display: flex; flex-direction: column; gap: 0.55rem; }
.gz-qv__category { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gz-muted); }
.gz-qv__title { margin: 0; font-size: 1.35rem; font-weight: 700; color: #111; padding-right: 2rem; }
.gz-qv__sku { font-size: 0.8rem; color: var(--gz-muted); }
.gz-qv__price { display: flex; align-items: baseline; gap: 0.25rem; }
.gz-qv__price .gz-price { font-size: 1.6rem; }
.gz-qv__desc { color: #4b5563; font-size: 0.9rem; line-height: 1.6; margin: 0; }
.gz-qv__label { font-weight: 600; font-size: 0.85rem; }
.gz-qv__buy { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.4rem; }
.gz-qv__add { flex: 1 1 180px; }
.gz-qv__limit { font-size: 0.78rem; color: var(--gz-muted); }
.gz-qv__specs { margin: 0; border-top: 1px solid var(--gz-line); font-size: 0.85rem; }
.gz-qv__specs > div { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--gz-line); }
.gz-qv__specs dt { color: var(--gz-muted); font-weight: 500; }
.gz-qv__specs dd { margin: 0; color: var(--gz-ink); font-weight: 600; overflow-wrap: anywhere; }
.gz-qv__details { align-self: flex-start; }
.gz-qty { display: inline-flex; align-items: center; border: 1px solid var(--gz-line); border-radius: 8px; overflow: hidden; height: 44px; }
.gz-qty button { width: 40px; height: 100%; border: 0; background: var(--gz-surface-alt); color: var(--gz-ink); cursor: pointer; }
.gz-qty button:disabled { cursor: not-allowed; opacity: 0.5; }
.gz-qty input { width: 52px; height: 100%; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.gz-qty input::-webkit-outer-spin-button, .gz-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .gz-v3 { grid-template-columns: 1fr; }
    .gz-v3__stage { height: 380px; max-width: 460px; width: 100%; margin: 0 auto; }
    .gz-split-2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .gz-hs { --gz-card-w: 72vw; }
    .gz-hs[data-size="sm"] { --gz-card-w: 58vw; }
    .gz-hs__track { cursor: auto; }
    .gz-section__head .gz-nav { display: none; }
    .gz-vs__track { max-height: none; overflow: visible; scroll-snap-type: none; }
    .gz-vs:not(.is-expanded) .gz-vrow:nth-child(n + 5) { display: none; }
    .gz-vs__more { display: inline-flex; }
    .gz-panel__head .gz-nav { display: none; }
    .gz-cf__arrow { width: 40px; height: 40px; margin-top: -20px; }
    .gz-cf__card { -webkit-box-reflect: unset; padding: 0.75rem; }
    .gz-cf__item { width: min(62vw, 260px); }
    .gz-ap__actions .gz-add { flex: 1 1 100%; min-width: 0; min-height: 48px; }
    .gz-v3__stage { height: 340px; }
    .gz-v3__detail { grid-template-columns: 1fr; }
    .gz-v3__hero { max-width: 300px; margin: 0 auto; width: 100%; }
    .gz-v3__panel .gz-ap { text-align: center; }
    .gz-v3__panel .gz-ap__price, .gz-v3__panel .gz-ap__actions { justify-content: center; }
    .gz-promo__slide { grid-template-columns: 1fr; min-height: 0; }
    .gz-promo__media { order: 1; padding: 1rem 1rem 0; }
    .gz-promo__media img { max-height: 150px; }
    .gz-promo__copy { order: 2; padding: 1rem 1.25rem 1.25rem; }
    .gz-qv { grid-template-columns: 1fr; gap: 1rem; padding: 0; }
    .gz-qv__main { max-width: 320px; margin: 0 auto; width: 100%; }
    .gz-cat { min-width: 170px; }
}

@media (prefers-reduced-motion: reduce) {
    .gz-cf__item, .gz-v3__item, .gz-pcard, .gz-pcard__img img, .gz-ap { transition: none !important; animation: none !important; }
    .gz-skel__card, .gz-skel__row, .gz-skel__chip, .gz-skel__hero { animation: none; }
}
