/* Zohran Zaddies merch — shared styles for zz-hero + zz-product-grid */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* Motion (assets/zz-motion.js adds html.zz-motion; reduced-motion users never get it) */
.zz-motion [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.zz-motion [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes zz-bump { 0% { transform: scale(1); } 35% { transform: scale(1.12); } 100% { transform: scale(1); } }
.is-bump { animation: zz-bump .45s ease-out; }

/* Hover effects — only where hovering is a thing (not touch screens) */
@media (hover: hover) {
  .zz-card__media, .zz-hero__tag { transition: translate .3s ease, box-shadow .3s ease, border-color .3s ease; }
  .zz-card:hover .zz-card__media { translate: 0 -4px; box-shadow: 0 14px 28px -18px rgb(17 17 17 / .45); }
  .zz-hero__feature:hover .zz-hero__tag { translate: 0 -3px; border-color: var(--zz-blue); box-shadow: 4px 4px 0 var(--zz-blue); }
  .zz-tab { transition: background .15s, color .15s, border-color .15s, translate .2s ease; }
  .zz-tab:hover { translate: 0 -1px; }
}

/* Section divider: inset to the content edges (like the line under "Shop all") */
.zz-divider { position: relative; }
.zz-divider::before {
  content: ""; position: absolute; top: 0; left: var(--zz-gutter); right: var(--zz-gutter);
  border-top: 1px solid var(--zz-ink);
}
.zz {
  --zz-ink: #111111;
  --zz-bg: #f4f4f1;
  --zz-card: #e7e7e3;
  --zz-muted: #6f6f6a;
  --zz-line: #d6d6d0;
  --zz-accent: #ffac00;
  --zz-accent-2: #e81801;
  --zz-blue: #2719d2;
  --zz-gutter: clamp(16px, 4vw, 48px);
  font-family: var(--zz-font, inherit);
  color: var(--zz-ink);
  background: var(--zz-bg);
}
.zz *, .zz *::before, .zz *::after { box-sizing: border-box; }
.zz [hidden] { display: none !important; }
.zz img, .zz svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.zz a { color: inherit; text-decoration: none; }

.zz-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.zz-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--zz-accent); outline: 1px solid var(--zz-ink); }

.zz .zz-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border: 1px solid var(--zz-blue);
  background: var(--zz-blue); color: #fff;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.zz .zz-btn:hover:not(:disabled) { background: var(--zz-accent); border-color: var(--zz-accent); color: var(--zz-ink); }
.zz .zz-btn:disabled { background: var(--zz-card); color: var(--zz-muted); border-color: var(--zz-line); cursor: not-allowed; }
.zz-btn span { transition: transform .2s; }
.zz-btn:hover:not(:disabled) span { transform: translateX(4px); }

/* ---------- Hero ---------- */
.zz-hero__inner {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--zz-gutter);
  align-items: end; padding: clamp(32px, 6vw, 80px) var(--zz-gutter);
  max-width: 1440px; margin: 0 auto;
}
.zz-hero__title {
  margin: 20px 0 16px; font-size: clamp(56px, 10vw, 152px); line-height: .86;
  font-weight: 900; letter-spacing: -.045em; text-transform: uppercase;
}
.zz-hero__logo { width: min(100%, 560px); height: auto; margin: 20px 0 24px; }
.zz-hero__logo img { height: auto; object-fit: contain; }
.zz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zz-hero__sub { max-width: 38ch; margin: 0 0 32px; font-size: 17px; line-height: 1.5; color: var(--zz-muted); }
.zz-hero__feature { position: relative; display: block; }
.zz-hero__media { aspect-ratio: 4 / 5; background: var(--zz-card); overflow: hidden; }
.zz-hero__media img { transition: transform .6s ease; }
/* Product shots on white: multiply blends the white into the card color; contain keeps sleeves in frame */
.zz-hero__media img, .zz-card__media img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.zz-hero__feature:hover .zz-hero__media img { transform: scale(1.03); }
.zz-hero__tag {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: var(--zz-bg); border: 1px solid var(--zz-ink);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.zz-hero__tag small { display: block; font-size: 11px; font-weight: 600; color: var(--zz-muted); letter-spacing: .12em; }

.zz-marquee { overflow: hidden; border-block: 1px solid var(--zz-ink); background: var(--zz-accent); }
.zz-marquee__track {
  display: flex; width: max-content; animation: zz-scroll 28s linear infinite;
  font-size: 14px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.zz-marquee__track span { padding: 12px 20px; white-space: nowrap; }
.zz-marquee__track span::after { content: "✦"; margin-left: 40px; }
@keyframes zz-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .zz-marquee__track { animation: none; } }

/* ---------- Product grid ---------- */
.zz-grid { padding: clamp(40px, 6vw, 88px) var(--zz-gutter); max-width: 1440px; margin: 0 auto; }
.zz-grid__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px;
  padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid var(--zz-ink);
}
.zz-grid__title { margin: 0; font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; letter-spacing: -.015em; word-spacing: .08em; text-transform: uppercase; line-height: 1; }
.zz-grid__title sup { font-size: .35em; letter-spacing: 0; vertical-align: top; margin-left: 6px; color: var(--zz-muted); }
.zz-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.zz-tab {
  padding: 10px 18px; border: 1px solid var(--zz-ink); border-radius: 999px; background: transparent;
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--zz-ink); cursor: pointer; transition: background .15s, color .15s;
}
.zz-tab:hover { background: var(--zz-card); }
.zz-tab[aria-pressed="true"] { background: var(--zz-blue); border-color: var(--zz-blue); color: #fff; }

.zz-grid__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(var(--zz-cols, 4), minmax(0, 1fr)); gap: 40px 20px;
}
.zz-card { display: flex; flex-direction: column; gap: 14px; }
.zz-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--zz-card); overflow: hidden; }
.zz-card__media { display: block; cursor: pointer; }
.zz-card__media > img, .zz-card__media > svg { position: absolute; inset: 0; transition: transform .4s ease; }
.zz-card:hover .zz-card__media > img { transform: scale(1.03); }
.zz-card__row { cursor: pointer; }
.zz-badge {
  position: absolute; inset: 12px auto auto 12px; width: auto; height: auto;
  padding: 6px 10px; background: var(--zz-bg); border: 1px solid var(--zz-ink);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; z-index: 1;
}
.zz-badge--new { background: var(--zz-accent); }
.zz-badge--limited { background: var(--zz-blue); color: var(--zz-accent); border-color: var(--zz-blue); }
.zz-lb__note { font-size: 13px; font-weight: 700; color: #c25e00; }
.zz-lb__note { margin: -4px 0 0; padding: 10px 12px; border-left: 3px solid var(--zz-accent); background: #fff7e6; }
.zz-card__row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.zz-card__title { margin: 0; font-size: inherit; font-weight: inherit; }
.zz-card:hover .zz-card__title { text-decoration: underline; text-underline-offset: 3px; }
.zz-card__price { white-space: nowrap; }
.zz-card__price s { margin-right: 6px; color: var(--zz-muted); font-weight: 500; }
.zz-card__type { margin-top: -10px; font-size: 13px; color: var(--zz-muted); }
.zz-sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.zz-sizes span {
  min-width: 30px; padding: 4px 6px; border: 1px solid var(--zz-line); text-align: center;
  font-size: 11px; font-weight: 600; color: var(--zz-ink);
}
.zz-sizes span.is-out { color: var(--zz-muted); text-decoration: line-through; }

.zz-empty { padding: 48px 0; color: var(--zz-muted); text-align: center; }

/* ---------- Quick-view lightbox ---------- */
html:has(.zz-lb[open]) { overflow: hidden; }
.zz-lb {
  width: min(980px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid var(--zz-ink); overflow: auto;
  background: var(--zz-bg); color: var(--zz-ink);
}
.zz-lb[open] { animation: zz-lb-in .22s ease-out; }
.zz-lb::backdrop { background: rgb(17 17 17 / .55); backdrop-filter: blur(3px); }
@keyframes zz-lb-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .zz-lb[open] { animation: none; } }
.zz-lb__inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.zz-lb__gallery { background: var(--zz-card); display: flex; flex-direction: column; min-width: 0; }
.zz-lb__main { position: relative; aspect-ratio: 1; overflow: hidden; }
.zz-lb__main img { position: absolute; inset: 0; width: 100%; height: 100%; }
.zz-lb__thumbs { display: flex; gap: 8px; padding: 0 16px 16px; overflow-x: auto; }
.zz-lb__thumbs button {
  flex: none; width: 64px; height: 64px; padding: 0; border: 1px solid transparent; background: var(--zz-bg); cursor: pointer;
}
.zz-lb__thumbs button[aria-pressed="true"] { border-color: var(--zz-ink); }
.zz-lb__thumbs img, .zz-lb__main img { object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.zz-lb__main img { padding: 8%; }
.zz-lb__info { display: flex; flex-direction: column; gap: 18px; padding: 48px 36px 36px; }
.zz-lb__type { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--zz-muted); }
.zz-lb__title { margin: -8px 0 0; font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.zz-lb__price { margin: 0; font-size: 20px; font-weight: 700; }
.zz-lb__options { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.zz-lb__option { margin: 0; padding: 0; border: 0; min-width: 0; }
.zz-lb__option legend { margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.zz-lb__option legend span { color: var(--zz-muted); font-weight: 600; letter-spacing: .06em; }
.zz-lb__option > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.zz-lb__option--wide > div { display: flex; flex-wrap: wrap; }
.zz-lb__option button {
  height: 48px; padding: 0 14px; border: 1px solid var(--zz-line); background: transparent; color: var(--zz-ink);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s;
}
.zz-lb__option--wide button { height: 40px; font-size: 13px; }
.zz-lb__option button:hover:not(:disabled) { border-color: var(--zz-ink); }
.zz-lb__option button[aria-pressed="true"] { background: var(--zz-blue); border-color: var(--zz-blue); color: #fff; }
.zz-lb__option button:disabled { color: var(--zz-muted); text-decoration: line-through; cursor: not-allowed; }
.zz .zz-lb__add { justify-content: center; width: 100%; margin-top: 4px; }
.zz .zz-lb__add.is-added { background: var(--zz-accent); border-color: var(--zz-ink); color: var(--zz-ink); cursor: default; }
.zz-lb__status { min-height: 1.4em; margin: -6px 0 0; font-size: 14px; }
.zz-lb__status a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
/* Size guide · Fabric & fit · Care */
.zz-lb__info-panels { border-top: 1px solid var(--zz-line); }
.zz-lb__panel { border-bottom: 1px solid var(--zz-line); }
.zz-lb__panel summary {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.zz-lb__panel summary::-webkit-details-marker { display: none; }
.zz-lb__panel summary::after { content: "+"; font-size: 18px; font-weight: 600; line-height: 1; transition: transform .2s ease; }
.zz-lb__panel[open] summary::after { transform: rotate(45deg); }
.zz-lb__panel summary:hover { color: var(--zz-blue); }
.zz-lb__panel-body { padding: 0 0 16px; font-size: 14px; }
.zz-lb__units { display: inline-flex; margin-bottom: 10px; border: 1px solid var(--zz-ink); border-radius: 999px; overflow: hidden; }
.zz-lb__units button { padding: 5px 12px; border: 0; background: transparent; color: var(--zz-ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.zz-lb__units button[aria-pressed="true"] { background: var(--zz-blue); color: #fff; }
.zz-lb__table-wrap { overflow-x: auto; }
.zz-lb__table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.zz-lb__table th, .zz-lb__table td { padding: 7px 8px; border-bottom: 1px solid var(--zz-line); text-align: center; white-space: nowrap; }
.zz-lb__table thead th { font-size: 12px; font-weight: 800; }
.zz-lb__table tbody th { text-align: left; font-weight: 600; color: var(--zz-muted); padding-left: 0; }
.zz-lb__fine { margin: 10px 0 0; font-size: 12px; color: var(--zz-muted); }
.zz-lb__specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.zz-lb__specs div { display: contents; }
.zz-lb__specs dt { color: var(--zz-muted); font-weight: 600; }
.zz-lb__specs dd { margin: 0; font-weight: 600; }
.zz-lb__care { margin: 0; padding-left: 18px; line-height: 1.7; }

.zz-lb__details { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.zz-lb__details:hover { text-decoration: underline; text-underline-offset: 3px; }
.zz-lb__close {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px;
  border: 1px solid var(--zz-ink); background: var(--zz-bg); color: var(--zz-ink);
  font-size: 16px; cursor: pointer;
}
.zz-lb__close:hover { background: var(--zz-accent); }

@media (max-width: 989px) {
  .zz-grid__list { --zz-cols: 3; }
}
@media (max-width: 749px) {
  .zz-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .zz-grid__list { --zz-cols: 2; gap: 28px 12px; }
  .zz-card__row { flex-direction: column; gap: 4px; font-size: 13px; }
  .zz-sizes { display: none; }
  .zz-lb { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-width: 1px 0 0; }
  .zz-lb__inner { grid-template-columns: 1fr; }
  .zz-lb__main { aspect-ratio: 5 / 4; }
  .zz-lb__info { padding: 24px 16px 28px; }
}
