/* ==========================================================================
   v3 visual system — loaded last on every page. Overrides + new homepage blocks.
   ========================================================================== */

/* ---------- Type ---------- */
body { color: var(--color-text); }
h1 { font-weight: 800; letter-spacing: -0.035em; }
h2 { font-weight: 700; letter-spacing: -0.028em; }
h3 { font-weight: 700; letter-spacing: -0.02em; }
.section-head p, .page-title p { color: var(--color-muted); }
.eyebrow { letter-spacing: 0.08em; }
.btn { font-weight: 600; letter-spacing: 0; border-radius: var(--radius-sm); }
.btn--lg { min-height: 50px; }
.link-arrow { color: var(--color-primary); }
.badge { border-radius: 6px; font-family: var(--font-body); font-weight: 700; }
.badge--sale { background: var(--color-accent); }
.badge--new { background: var(--color-primary); }
.badge--soft { background: var(--color-primary-tint); color: var(--color-primary-hover); }
.stock--in { color: var(--color-success); }
.stock--in::before { background: var(--color-success-dot); }
.stock--low { color: var(--color-warning); }
.stock--low::before { background: var(--color-warning-dot); }
.stars { color: #F79009; }
.rating__num { color: var(--color-text); font-weight: 600; }
.pill { background: var(--color-primary-tint); color: var(--color-primary-hover); }
.h3-label { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; background: var(--color-primary-tint); color: var(--color-primary-hover); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.h3-label--dark { background: rgba(255, 255, 255, 0.1); color: #DCC9FB; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--color-surface); color: var(--color-muted); border-bottom: 1px solid var(--color-border); font-size: 12.5px; }
.topbar__inner { min-height: 34px; }
.topbar__info svg { color: var(--color-primary); }
.topbar a { color: var(--color-body); font-weight: 500; }
.topbar a:hover { color: var(--color-primary); }
@media (min-width: 1024px) { .header__row { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 40px); } }
.search__form { height: 48px; border-radius: 12px; background: var(--color-soft); border-color: transparent; }
.search__form:focus-within { background: #fff; }
.search__cat { border-right-color: var(--color-border); }
.search__cat select { background-color: transparent; font-weight: 500; color: var(--color-body); }
.search__submit { border-radius: 10px; width: 42px; height: 38px; margin-right: 5px; }
.search__results { border-radius: 14px; padding: 8px; }
.haction { font-size: 11.5px; color: var(--color-body); }
.haction svg { color: var(--color-text); }
.haction:hover svg { color: var(--color-primary); }
.haction__count { background: var(--color-primary); }
.haction--cart .haction__count { background: var(--color-primary); }
.header.is-stuck .nav { display: none; }
.header.is-stuck .header__row { min-height: 64px; }
.header.is-stuck { box-shadow: 0 4px 20px rgba(22, 24, 43, 0.08); }

/* Nav + dropdown panels */
.nav__row { position: relative; min-height: 48px; gap: 8px; }
.nav__links { overflow: visible; gap: 2px; align-items: stretch; }
.cats__btn { min-width: 0; padding: 0 18px 0 0; margin-right: 10px; background: none; color: var(--color-text); border-right: 1px solid var(--color-border); gap: 8px; font-weight: 600; }
.cats__btn:hover { color: var(--color-primary); }
.cats__panel { border-radius: 0 0 12px 12px; }
.mega { border-radius: 0 12px 12px 0; }
.navitem { display: flex; align-items: stretch; }
.navitem > .nav__link { padding: 0 12px; gap: 4px; font-size: 14px; font-weight: 500; font-family: var(--font-body); }
.navitem > .nav__link::after { left: 12px; right: 12px; }
.navitem__chev { color: var(--color-subtle); transition: transform var(--dur) var(--ease); }
.nav__links > .nav__link { padding: 0 12px; }
.nav__links > .nav__link::after { left: 12px; right: 12px; }
.nav__link--deal { color: var(--color-accent-text); }
.navpanel { position: absolute; inset-inline: var(--container-pad); top: 100%; z-index: var(--z-dropdown); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding: 28px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur); }
.navpanel--dept { grid-template-columns: 200px minmax(0, 1fr) 260px; }
.navpanel__left { border-inline-end: 1px solid var(--color-border); padding-inline-end: 24px; }
.navpanel__left h4 { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 12px; }
.navpanel__left ul { list-style: none; display: grid; gap: 4px; }
.navpanel__left a { display: block; padding: 6px 8px; margin-inline-start: -8px; border-radius: 8px; color: var(--color-text); font-size: 14.5px; font-weight: 500; }
.navpanel__left a:hover { background: var(--color-primary-wash); color: var(--color-primary); }
.navpanel__center { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; align-content: start; }
.navitem:hover > .navpanel, .navitem:focus-within > .navpanel { opacity: 1; visibility: visible; transform: none; }
.navitem:hover .navitem__chev, .navitem:focus-within .navitem__chev { transform: rotate(180deg); }
.navpanel__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 28px; align-content: start; }
.navpanel .mega__col h4 { font-size: 12px; letter-spacing: 0.08em; color: var(--color-muted); }
.navpanel .mega__col a { color: var(--color-text); font-size: 14.5px; }
.navpanel .mega__col a:hover { color: var(--color-primary); }
.navpanel__promo { position: relative; display: block; border-radius: 12px; overflow: hidden; color: #fff; min-height: 220px; isolation: isolate; }
.navpanel__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 400ms var(--ease); }
.navpanel__promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 11, 34, 0) 35%, rgba(9, 11, 34, 0.8)); }
.navpanel__promo:hover img { transform: scale(1.03); }
.navpanel__promo span { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; }
.navpanel__promo small { font-size: 12px; color: #D0D5DD; }
.navpanel__promo strong { font-size: 1.0625rem; }
.navpanel__promo:hover { color: #fff; }
.navpanel--list { left: auto; right: var(--container-pad); width: 280px; display: block; padding: 8px; }
.navpanel--list ul { list-style: none; display: grid; }
.navpanel--list a { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 8px; color: var(--color-text); font-size: 14px; }
.navpanel--list a:hover { background: var(--color-surface); color: var(--color-primary); }
.navpanel--list a span { color: var(--color-subtle); font-size: 12px; }
.navitem--more > button { cursor: pointer; }
.more-dup { display: none; }
@media (max-width: 1239px) { .navitem--wide { display: none; } .more-dup { display: block; } }

/* Search suggestions (empty query) */
.search__group { padding: 6px 8px 10px; }
.search__group + .search__group { border-top: 1px solid var(--color-border); padding-top: 12px; }
.search__group h5 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted); margin: 0 0 8px; }
.search__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.search__chips a, .search__chips button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; background: var(--color-soft); color: var(--color-text); font-size: 13px; font-weight: 500; }
.search__chips a:hover, .search__chips button:hover { background: var(--color-primary-tint); color: var(--color-primary); }
.search__item-status { font-size: 11.5px; }

/* ---------- Product card ---------- */
.pcard { border-radius: 14px; border-color: var(--color-border); box-shadow: none; }
.pcard:hover { transform: translateY(-3px); border-color: var(--color-border-strong); box-shadow: var(--shadow-lg); }
.pcard__media { background: var(--color-surface); }
.pcard__meta { font-size: 11.5px; letter-spacing: 0.04em; color: var(--color-muted); }
.pcard__title { font-size: 14.5px; font-weight: 500; }
.pcard .price__now { font-size: 1.1875rem; font-weight: 700; font-family: var(--font-body); letter-spacing: -0.02em; }
.pcard .btn { border-radius: 10px; }
.pcard .btn.is-added, .btn.is-added { background: var(--color-success-dot); color: #fff; box-shadow: none; }
.pcard__actions .icon-btn { border-radius: 10px; border-color: transparent; background: rgba(255, 255, 255, 0.95); }
@media (hover: hover) and (min-width: 1024px) {
  .pcard__actions .icon-btn:first-child { opacity: 1 !important; transform: none !important; }
}

/* ---------- Tabs ---------- */
.tab { border-radius: 999px; height: 36px; font-weight: 600; transition: background var(--dur), color var(--dur); }
.tab[aria-selected="true"] { background: var(--color-text); color: #fff; }
.h3-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.h3-tabs::-webkit-scrollbar { display: none; }
.h3-tabs .tab { white-space: nowrap; }
.h3-popular { transition: opacity 120ms var(--ease); }
.h3-popular.is-swapping { opacity: 0.35; }

/* ---------- Homepage ---------- */
.h3-top { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; padding-top: 20px; }
.h3-hero-section { padding-top: 20px; }

/* Premium full-bleed hero.
   The old 45/55 split left a large empty white panel below the copy.
   Keep the same structure/content, but let the approved artwork fill the banner
   and use a controlled light gradient to protect text readability. */
.h3-hero--full {
  display: block;
  padding: 0;
  background: #f8f5ff;
  isolation: isolate;
}
.h3-hero--full::before,
.h3-hero--full::after { content: none; }
.h3-hero--full .h3-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  z-index: -2;
  mix-blend-mode: normal;
}
.h3-hero--full::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.92) 28%,
      rgba(255,255,255,.68) 43%,
      rgba(255,255,255,.16) 61%,
      rgba(255,255,255,0) 76%
    );
}
.h3-hero--full .h3-hero__copy {
  position: absolute;
  left: clamp(28px, 4.2vw, 64px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 500px;
}
.promo-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promo-strip__card { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.promo-strip__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 400ms var(--ease); }
.promo-strip__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 11, 34, 0) 45%, rgba(9, 11, 34, 0.78) 100%); }
.promo-strip__card span { display: flex; align-items: center; gap: 6px; padding: 16px; font-weight: 700; font-size: 15px; }
.promo-strip__card:hover img { transform: scale(1.04); }
.promo-strip__card:hover { color: #fff; }
@media (max-width: 1023px) and (min-width: 768px) {
  .h3-hero--full { display: block; padding: 0; }
  .h3-hero--full .h3-hero__copy { max-width: 440px; }
  .h3-hero--full .h3-hero__bg { object-position: 72% center; }
  .h3-hero--full::after {
    display: block;
    background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 45%, rgba(255,255,255,.12) 75%, rgba(255,255,255,0) 100%);
  }
}
@media (max-width: 767px) { .promo-strip { grid-template-columns: 1fr; gap: 10px; } }
.h3-hero__mobile-copy { display: none; }
.h3-hero { position: relative; overflow: hidden; display: block; min-height: clamp(450px, 36vw, 525px); border-radius: 26px; isolation: isolate; }
.h3-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; }
.h3-hero::after { content: none; }
.h3-hero__copy { position: absolute; left: clamp(24px, 4vw, 64px); top: 50%; transform: translateY(-50%); display: grid; gap: 16px; max-width: 460px; }
.h3-hero h1 { margin: 0; color: var(--color-text); line-height: 1; letter-spacing: -0.03em; }
.h3-hl { color: var(--color-primary); }
.h3-hero p { color: var(--color-body); font-size: 1.0625rem; max-width: 38ch; }
.h3-hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.h3-supports { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.h3-support { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 42%; align-items: center; gap: 8px; padding: 26px; border-radius: 24px; background: var(--color-soft); color: var(--color-text); transition: box-shadow var(--dur), transform var(--dur); }
.h3-support:nth-child(2) { background: var(--color-dark-deep); color: #fff; }
.h3-support:nth-child(2) h2 { color: #fff; }
.h3-support:nth-child(2) p { color: var(--color-on-dark-muted); }
.h3-support:nth-child(2) .link-arrow { color: #DCC9FB; }
.h3-support:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); color: inherit; }
.h3-support h2 { font-size: 1.25rem; margin-bottom: 6px; }
.h3-support p { color: var(--color-body); font-size: var(--fs-sm); margin-bottom: 14px; }
.h3-support p b { color: var(--color-accent-text); }
.h3-support:nth-child(2) p b { color: #FFC49A; }
.h3-support img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; transition: transform 400ms var(--ease); }
.h3-support:hover img { transform: scale(1.03); }

.h3-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.h3-cat { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate; transition: transform var(--dur), box-shadow var(--dur); }
.h3-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 400ms var(--ease); }
.h3-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 40, 0) 40%, rgba(16, 24, 40, 0.78) 100%); }
.h3-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.h3-cat:hover img { transform: scale(1.06); }
.h3-cat__body { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; color: #fff; }
.h3-cat__text { display: grid; gap: 2px; }
.h3-cat__name { font-size: 15px; font-weight: 700; line-height: 1.25; }
.h3-cat__count { font-size: 12px; color: rgba(255, 255, 255, 0.78); }
.h3-cat__arrow { flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; transition: background var(--dur), transform var(--dur); }
.h3-cat:hover .h3-cat__arrow { background: var(--color-primary); transform: translateX(2px); }

.h3-deals { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: linear-gradient(180deg, var(--color-primary-wash), #fff 70%); border: 1px solid var(--color-primary-line); }
.h3-deals__title { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.countdown--light { margin: 0; gap: 6px; }
.countdown--light div { min-width: 46px; padding: 6px 6px; background: var(--color-text); border: 0; border-radius: 8px; color: #fff; }
.countdown--light b { font-size: 1.0625rem; font-variant-numeric: tabular-nums; }
.countdown--light small { color: #AAB4C5; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; }

.h3-collections { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.h3-coll { position: relative; overflow: hidden; min-height: 380px; border-radius: 20px; color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.h3-coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms var(--ease); }
.h3-coll::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 11, 34, 0.05) 30%, rgba(9, 11, 34, 0.85)); }
.h3-coll:hover img { transform: scale(1.03); }
.h3-coll > div { padding: 26px; display: grid; gap: 10px; justify-items: start; }
.h3-coll .h3-label { background: rgba(255, 255, 255, 0.16); color: #fff; }
.h3-coll h3 { color: #fff; font-size: 1.5rem; }
.h3-coll ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--fs-sm); color: #D0D5DD; }
.h3-coll:hover { color: #fff; }

.h3-dark { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 32px; padding: clamp(28px, 4vw, 56px); border-radius: 20px; background: var(--color-dark-deep); color: #fff; overflow: hidden; }
.h3-dark > div { display: grid; gap: 16px; justify-items: start; }
.h3-dark h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); max-width: 16ch; }
.h3-dark img { width: 100%; border-radius: 16px; background: #fff; }
.h3-dark p { color: var(--color-on-dark-muted); max-width: 32ch; }

/* Brand/category spotlight — banner column + a real product rail (not a single static image).
   Dark variant reuses .h3-dark's text styling; light is the same shape on a white/soft ground. */
.h3-dark:has(.h3-dark__rail), .h3-spot { grid-template-columns: 280px minmax(360px, 1fr); align-items: stretch; gap: 28px; }
.h3-spot { background: var(--color-surface); color: var(--color-text); border-radius: 20px; padding: clamp(28px, 4vw, 44px); overflow: hidden; }
.h3-spot > div { display: grid; gap: 14px; justify-items: start; align-content: center; }
.h3-spot h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); }
.h3-spot p { color: var(--color-body); max-width: 30ch; margin-bottom: 4px; }
.h3-spot__cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; width: fit-content; border-radius: 10px; background: var(--color-primary-tint); color: var(--color-primary-hover); border: 1px solid var(--color-primary-line); font-size: 14px; font-weight: 700; transition: background 180ms ease, color 180ms ease, transform 180ms ease; }
.h3-spot__cta:hover { background: var(--color-primary); color: #fff; transform: translateY(-1px); }
.h3-spot__cta-arrow { display: inline-flex; transition: transform 180ms ease; }
.h3-spot__cta:hover .h3-spot__cta-arrow { transform: translateX(3px); }
.h3-dark__rail, .h3-spot__rail { min-width: 0; align-self: center; width: 100%; margin-top: 10px; }
.h3-dark__rail .rail, .h3-spot__rail .rail { min-width: 0; width: 100%; }
.h3-dark__rail .rail__track, .h3-spot__rail .rail__track { display: flex; grid-template-columns: unset; grid-auto-columns: unset; }
.h3-dark__rail .pcard, .h3-spot__rail .pcard { flex: 0 0 220px; background: #fff; }
.h3-dark .btn--light { height: 46px; padding-inline: 22px; }

.h3-brands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.h3-brand { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; height: 112px; padding: 12px; border: 1px solid #E7E7ED; border-radius: 18px; background: #fff; color: var(--color-body); text-align: center; transition: border-color 200ms, box-shadow 200ms, transform 200ms; }
.h3-brand__logo { display: flex; align-items: center; justify-content: center; height: 42px; }
.h3-brand__logo img { max-width: 110px; max-height: 42px; width: auto; height: auto; object-fit: contain; object-position: center; transition: transform 220ms ease; }
.h3-brand__word { font-size: 15px; font-weight: 800; letter-spacing: -0.015em; color: #344054; line-height: 1.15; }
.h3-brand small { font-size: 12.5px; color: var(--color-subtle); }
.h3-brand__go { position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; color: var(--color-primary); opacity: 0; transform: translateX(-4px); transition: opacity 200ms, transform 200ms; }
.h3-brand:hover { border-color: rgba(121, 60, 243, 0.35); box-shadow: 0 10px 24px rgba(121, 60, 243, 0.12); transform: translateY(-3px); }
.h3-brand:hover .h3-brand__logo img { transform: scale(1.03); }
.h3-brand:hover .h3-brand__word { color: var(--color-primary); }
.h3-brand:hover .h3-brand__go { opacity: 1; transform: translateX(0); }

.dotd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); padding: clamp(16px, 3vw, 32px); border: 1px solid var(--color-border); border-radius: 20px; align-items: center; }
.dotd__media { border-radius: 16px; overflow: hidden; background: var(--color-surface); aspect-ratio: 1; max-height: 520px; padding: 24px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.dotd__media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.dotd__body { display: grid; gap: 14px; justify-items: start; }
.dotd__body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.dotd__body h2 a { color: var(--color-text); }
.dotd__body p { color: var(--color-body); max-width: 50ch; }
.dotd__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.dotd__price strong { font-size: 2rem; letter-spacing: -0.03em; }
.dotd__price s { color: var(--color-subtle); }
.dotd__stock { width: 100%; max-width: 420px; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--color-muted); }
.dotd__stock > div:first-child { display: flex; justify-content: space-between; }
.dotd__stock b { color: var(--color-text); }
.dotd__bar { height: 8px; border-radius: 4px; background: var(--color-soft); overflow: hidden; }
.dotd__bar span { display: block; height: 100%; border-radius: 4px; background: var(--color-accent); }
.dotd__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

.h3-why { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--color-border); }
.h3-why li { display: flex; align-items: center; gap: 12px; padding: 22px 18px; }
.h3-why li + li { border-left: 1px solid var(--color-border); }
.h3-why svg { color: var(--color-primary); flex: none; }
.h3-why strong { display: block; font-size: 14px; }
.h3-why span { font-size: 12.5px; color: var(--color-muted); }
.h3-blog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bcard { border-radius: 16px; }
.bcard__img { aspect-ratio: 16 / 10; }

.h3-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); border-radius: 20px; background: var(--color-dark-deep); color: #fff; }
.h3-news h2 { color: #fff; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); margin-bottom: 6px; }
.h3-news p { color: var(--color-on-dark-muted); }
.newsletter__form { display: grid; gap: 8px; }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row .input { min-height: 50px; }
.newsletter__row .btn { min-height: 50px; }
@media (max-width: 767px) { .newsletter__row { flex-direction: column; } }
.h3-news .input { background: #fff; border-color: transparent; }
.h3-news .form-status { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--color-dark-deep); }
.footer__logo { display: block; margin-bottom: 16px; }

/* ---------- Shop ---------- */
details.fgroup > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 14px; padding: 2px 0; }
details.fgroup > summary::-webkit-details-marker { display: none; }
details.fgroup > summary svg { color: var(--color-muted); transition: transform var(--dur) var(--ease); }
details.fgroup[open] > summary svg { transform: rotate(180deg); }
details.fgroup[open] > summary { margin-bottom: 10px; }
.toolbar { border-radius: 12px; }
.toolbar__sort-btn { display: none; }
.chip.is-active { background: var(--color-text); border-color: var(--color-text); }
.chip--remove { background: var(--color-primary-tint); color: var(--color-primary-hover); }
@media (max-width: 1023px) {
  .toolbar__sort-btn { display: inline-flex; }
}
@media (max-width: 1023px) { .toolbar__tools #t-sort { display: none; } }
@media (max-width: 767px) {
  .filters__panel { top: auto; left: 0; right: 0; width: 100%; height: 88vh; border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .filters.is-open .filters__panel { transform: none; }
  .filters__head::before { content: ""; position: absolute; left: 50%; top: 6px; width: 40px; height: 4px; border-radius: 2px; background: var(--color-border-strong); transform: translateX(-50%); }
  .filters__head { position: relative; padding-top: 18px; }
  .filters__foot .btn { min-height: 50px; }
  .toolbar__tools #t-sort { display: none; }
  .toolbar__tools .toolbar__sort-btn { flex: 1; }
  .toolbar__filter-btn { flex: 1; }
  .toolbar { gap: 8px; }
}
.sort-sheet .drawer { top: auto; left: 0; right: 0; width: 100%; height: auto; border-radius: 20px 20px 0 0; transform: translateY(100%); }
.sort-sheet.is-open .drawer { transform: none; }
.sort-sheet .drawer__body { padding: 8px; }
.sort-sheet button.sort-opt { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; font-size: var(--fs-md); text-align: left; }
.sort-sheet button.sort-opt[aria-checked="true"] { color: var(--color-primary); font-weight: 600; background: var(--color-primary-wash); }

/* ---------- Product page ---------- */
.gallery__main { border-radius: 20px; }
.gallery__thumb { border-radius: 12px; }
.pinfo__brand { color: var(--color-primary); }
.pinfo__price { border: 0; padding: 4px 0; }
.pinfo__price .price__now { font-size: 2.125rem; font-family: var(--font-body); letter-spacing: -0.03em; }
.pinfo__save { color: var(--color-accent-text); }
.pinfo__pay { font-size: var(--fs-sm); color: var(--color-muted); }
.vopt { border-radius: 10px; min-height: 42px; }
.vopt[aria-checked="true"] { border-color: var(--color-primary); background: var(--color-primary-wash); color: var(--color-primary-hover); }
.vopt__sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(22, 24, 43, 0.15); flex: none; }
.vopt--swatch { display: inline-flex; align-items: center; gap: 8px; padding-left: 10px; }
.services { border-radius: 14px; background: var(--color-surface); border-color: transparent; }
.service { border-color: var(--color-border) !important; }
.pbar { position: fixed; z-index: calc(var(--z-header) - 1); left: 0; right: 0; background: #fff; border-color: var(--color-border); border-style: solid; border-width: 0; box-shadow: 0 -4px 20px rgba(22, 24, 43, 0.08); transform: translateY(110%); transition: transform var(--dur) var(--ease); bottom: 0; border-top-width: 1px; }
.pbar.is-visible { transform: none; }
.pbar__inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.pbar img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.pbar__title { flex: 1; min-width: 0; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pbar__price { font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.pbar .btn { min-width: 160px; }
@media (max-width: 1023px) {
  .pbar { bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); }
  .pbar img, .pbar__title { display: none; }
  .pbar__inner { gap: 12px; min-height: 62px; }
  .pbar__price { flex: 1; }
  .pbar .btn { flex: 1.4; min-width: 0; }
  body.has-pbar .wa-float { bottom: calc(var(--bottom-nav-h) + 78px + env(safe-area-inset-bottom)); }
  body.has-pbar .toasts { bottom: calc(var(--bottom-nav-h) + 76px + env(safe-area-inset-bottom)); }
}

/* ---------- Drawer / modal ---------- */
.drawer--right { width: min(440px, 100vw); }
@media (max-width: 767px) { .drawer--right { width: 100vw; } }
.mcart__continue { text-align: center; font-size: var(--fs-sm); font-weight: 500; }
.modal { border-radius: 20px; }

/* ---------- Cart / checkout ---------- */
.summary { border-radius: 16px; box-shadow: none; background: var(--color-surface); border-color: transparent; }
.cart__list { border-radius: 16px; }
.checkout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.checkout__block { border: 0; background: #fff; padding: 0 0 28px; border-bottom: 1px solid var(--color-border); border-radius: 0; }
.checkout__block + .checkout__block { margin-top: 28px; }
.checkout__step { background: var(--color-text); color: #fff; }
.checkout .input, .checkout .select, .checkout .textarea { min-height: 50px; background: #fff; }
.paymethod { border-radius: 12px; }
@media (max-width: 1023px) { .checkout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Responsive homepage ---------- */
@media (max-width: 1279px) {
  .h3-top { grid-template-columns: minmax(0, 1fr) 320px; }
  .h3-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h3-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h3-why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h3-why li:nth-child(4) { border-left: 0; }
  .h3-why li:nth-child(n+4) { border-top: 1px solid var(--color-border); }
}
@media (max-width: 1023px) {
  .h3-top { grid-template-columns: minmax(0, 1fr); }
  .h3-supports { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .h3-collections { grid-template-columns: 1fr 1fr; }
  .h3-coll--lg { grid-column: 1 / -1; }
  .h3-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h3-blog > :nth-child(3) { display: none; }
}
@media (max-width: 767px) {
  .h3-hero-section { padding-top: 12px; }
  .h3-hero--full { display: block; padding: 0; background: #f8f5ff; }
  .h3-hero { min-height: 0; aspect-ratio: 16 / 10; border-radius: 20px; }
  .h3-hero__bg,
  .h3-hero--full .h3-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% center;
  }
  .h3-hero--full::after,
  .h3-hero::after { content: none; display: none; }
  .h3-hero__copy { display: none; }
  .h3-hero__mobile-copy { display: grid; gap: 10px; padding: 18px 2px 0; }
  .h3-hero__mobile-copy .h3-label { justify-self: start; }
  .h3-hero__mobile-copy h1, .h3-hero__mobile-title { font-size: clamp(2rem, 8.5vw, 2.5rem); line-height: 1.02; color: var(--color-text); margin: 0; letter-spacing: -0.03em; font-weight: 800; font-family: var(--font-heading, inherit); }
  .h3-hero__mobile-copy p { color: var(--color-body); font-size: var(--fs-base); line-height: 1.6; margin: 0; }
}
@media (min-width: 768px) {
  .h3-hero__mobile-copy { display: none; }
}
@media (max-width: 767px) {
  .h3-hero__ctas { width: 100%; gap: 10px; }
  .h3-hero__ctas .btn { flex: 1; height: 47px; }
  .h3-supports { grid-template-columns: minmax(0, 1fr); }
  .h3-support { padding: 18px; grid-template-columns: minmax(0, 1fr) 34%; }
  .h3-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .h3-cat { min-width: 0; border-radius: 16px; }
  .h3-deals { padding: 16px; margin-inline: calc(var(--container-pad) * -1); border-radius: 0; border-inline: 0; }
  .h3-collections { grid-template-columns: minmax(0, 1fr); }
  .h3-coll { min-height: 260px; }
  .h3-dark { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .h3-dark img { order: -1; }
  .h3-dark:has(.h3-dark__rail) { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 18px; border-radius: 20px; }
  .h3-dark:has(.h3-dark__rail) > div { gap: 10px; }
  .h3-spot { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; gap: 18px; border-radius: 20px; }
  .h3-spot > div { gap: 10px; }
  .h3-spot__cta { margin-top: 4px; }
  .h3-brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .h3-brand { height: 96px; padding: 10px; gap: 3px; border-radius: 12px; }
  .h3-brand__logo { height: 32px; }
  .h3-brand__logo img { max-width: 76px; max-height: 32px; }
  .h3-brand__word { font-size: 14.5px; }
  .h3-brand small { font-size: 11.5px; }
  .h3-brand__go { right: 12px; bottom: 10px; }
  .dotd { grid-template-columns: minmax(0, 1fr); }
  .dotd__media { max-height: 300px; aspect-ratio: auto; }
  .dotd__price strong { font-size: 1.625rem; }
  .dotd__ctas { width: 100%; }
  .dotd__ctas .btn { flex: 1; }
  .h3-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h3-why li { padding: 16px 10px; border-left: 0 !important; border-top: 0 !important; }
  .h3-blog { grid-template-columns: minmax(0, 1fr); }
  .h3-blog > :nth-child(3) { display: flex; }
  .h3-news { grid-template-columns: minmax(0, 1fr); }
  .section-head { align-items: flex-start; }
}
@media (max-width: 374px) {
  .h3-hero__ctas { flex-direction: column; }
}


/* Premium scroll reveal — progressive enhancement only. Content is visible until JS opts in. */
@media (prefers-reduced-motion: no-preference) {
  .ggu-reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1), transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ggu-reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
  @media (hover: hover) and (min-width: 1024px) {
    .h3-cat, .h3-brand, .promo-strip__card { transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease; }
    .h3-cat:hover, .h3-brand:hover, .promo-strip__card:hover { transform: translateY(-3px); }
    .h3-cat:hover img { transform: scale(1.03); }
    .btn:hover { transform: translateY(-1px); }
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .ggu-reveal-ready [data-reveal] { transform: translateY(10px); transition-duration: 320ms; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
