/* ==========================================================================
   SWAMP LAUNCH — SHOP (shared layer)
   Loaded AFTER styles.css on merch.html. Everything here is page-specific:
   the product grid, product cards, cart drawer, product dialog and the
   nav cart button. Colors/type/rhythm all come from the :root tokens in
   styles.css so a retheme there carries through here untouched.
   Each iteration (merch-*.html) adds its own hero/backdrop styles on top.
   ========================================================================== */

/* ---- Nav additions: Shop is the active tab, plus a cart button ---- */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: 1.1rem;
  padding: .45rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(0,0,0,.35);
  transition: color .25s ease, border-color .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.nav-cart svg { width: 16px; height: 16px; }
.nav-cart:hover { color: var(--text); border-color: var(--chrome); }
.nav-cart .nav-cart-count {
  min-width: 1.35em;
  padding: 0 .35em;
  border-radius: 999px;
  background: var(--uf-orange);
  color: var(--black);
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: 0;
  text-align: center;
  line-height: 1.35em;
  font-variant-numeric: tabular-nums;
}
.nav-cart .nav-cart-count:empty { display: none; }
.nav-cart.is-bumping { animation: cart-bump .45s cubic-bezier(.2,.7,.2,1); }
@keyframes cart-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.12) rotate(-3deg); }
  100% { transform: scale(1); }
}

/* Page-level wrapper so every page's content sits above the fixed
   starfield / canvas layers (they're z-index 0 and 1). */
.shop-page { position: relative; z-index: 2; }

/* ---- Shop toolbar: category filter + a live count ---- */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.shop-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-filter {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1rem;
  color: var(--text-dim);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.shop-filter:hover { color: var(--text); border-color: var(--chrome); }
.shop-filter.is-active {
  color: var(--black);
  background: var(--text);
  border-color: var(--text);
}
.shop-filter:focus-visible, .shop-card:focus-visible, .btn-add:focus-visible,
.nav-cart:focus-visible, .cart-qty button:focus-visible, .size-chip:focus-visible {
  outline: 2px solid var(--uf-orange);
  outline-offset: 3px;
}
.shop-count {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ---- Product grid ----
   Not a wall of identical tiles: the featured item (the bomber) spans
   two columns and gets a wider art frame; everything else sits on a
   breakpoint-free auto-fit grid. */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .3s ease, transform .5s cubic-bezier(.2,.7,.2,1), opacity .4s ease;
}
.shop-card:hover { border-color: rgba(199,205,214,.35); transform: translateY(-4px); }
.shop-card.is-featured { grid-column: span 2; }
.shop-card.is-hidden { display: none; }
.shop-card-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 60% at 50% 60%, rgba(52,84,224,.18), transparent 70%),
    var(--bg-elevated-2);
  overflow: hidden;
}
.shop-card.is-featured .shop-card-art { aspect-ratio: 2 / 1; }
.shop-card-art svg {
  width: 70%;
  height: 70%;
  max-width: 340px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6));
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.shop-card:hover .shop-card-art svg { transform: translateY(-6px) scale(1.03); }
.shop-card-tag {
  position: absolute;
  top: .9rem;
  left: .9rem;
  padding: .3rem .6rem;
  border-radius: 4px;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--uf-orange);
  color: var(--black);
  font-weight: 600;
}
.shop-card-tag.is-quiet { background: rgba(255,255,255,.1); color: var(--text); }
.shop-card-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
}
.shop-card-name {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.35;
  text-wrap: balance;
}
.shop-card-meta {
  margin-top: .35rem;
  font-size: .8rem;
  color: var(--text-dim);
}
.shop-card-price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.shop-card:hover .shop-card-price { color: var(--uf-orange-light); }
.shop-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem 1rem;
  padding: 0 1.2rem 1.2rem;
  margin-top: auto;
}
.shop-sizes { display: flex; flex-wrap: wrap; gap: .3rem; }
.shop-card-foot .btn-add { flex: 0 0 auto; margin-left: auto; }
.shop-sizes span {
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--text-faint);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .15rem .35rem;
}
.btn-add {
  background: var(--uf-blue);
  border: 1px solid var(--uf-blue-light);
  color: var(--text);
  padding: .55rem 1.05rem;
  border-radius: 999px;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn-add:hover { background: var(--uf-blue-light); transform: translateY(-1px); }
.btn-add.is-done { background: var(--uf-orange); border-color: var(--uf-orange-light); color: var(--black); }
.btn-primary {
  display: inline-block;
  background: var(--uf-orange);
  color: var(--black);
  border: 1px solid var(--uf-orange-light);
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background .25s ease, transform .25s cubic-bezier(.2,.7,.2,1);
}
.btn-primary:hover { background: var(--uf-orange-light); transform: translateY(-1px); }

/* Staggered reveal on scroll — cards are fully visible by default; the
   .will-reveal class only ever subtracts, and is removed on entry, so a
   headless/hidden tab never ships an empty grid. */
.shop-card.will-reveal { opacity: 0; transform: translateY(18px); }
.shop-card.will-reveal.in-view { opacity: 1; transform: none; }

/* ---- Notes strip under the grid: sizing / pickup / payment ---- */
.shop-notes {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.shop-notes h3 {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--uf-orange);
  margin-bottom: .5rem;
}
.shop-notes p { color: var(--text-dim); font-size: .92rem; max-width: 40ch; }

/* ---- Product dialog (reuses the site's .modal-overlay / .modal) ---- */
.modal.modal-product {
  max-width: 880px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.product-art {
  display: grid;
  place-items: center;
  padding: 2rem;
  min-height: 360px;
  background:
    radial-gradient(60% 60% at 50% 60%, rgba(52,84,224,.22), transparent 70%),
    var(--bg-elevated-2);
}
.product-art svg { width: 82%; max-width: 380px; filter: drop-shadow(0 22px 36px rgba(0,0,0,.65)); }
.product-body { padding: 2.2rem 2.2rem 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.product-body h3 { margin-bottom: 0; font-size: 1.45rem; text-wrap: balance; }
.product-body .product-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--uf-orange-light);
  font-variant-numeric: tabular-nums;
}
.product-body p { color: var(--text-dim); font-size: .95rem; max-width: 42ch; }
.product-label {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: .5rem;
  display: block;
}
.size-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-chip {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 2.6rem;
  padding: .45rem .6rem;
  color: var(--text-dim);
  font-size: .82rem;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.size-chip:hover { color: var(--text); border-color: var(--chrome); }
.size-chip.is-selected { background: var(--text); color: var(--black); border-color: var(--text); }
.product-actions { display: flex; align-items: center; gap: 1rem; margin-top: auto; flex-wrap: wrap; }
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.cart-qty button {
  width: 2.2rem; height: 2.2rem;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.05rem;
  transition: color .2s ease, background .2s ease;
}
.cart-qty button:hover { color: var(--text); background: rgba(255,255,255,.06); }
.cart-qty output {
  min-width: 2rem; text-align: center;
  font-size: .9rem; font-variant-numeric: tabular-nums;
}
.product-specs { display: flex; flex-direction: column; gap: .35rem; font-size: .82rem; color: var(--text-dim); }
.product-specs li { display: flex; gap: .6rem; }
.product-specs li::before { content: "—"; color: var(--uf-orange); }

/* ---- Cart drawer ---- */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s linear 0s; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 220;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--font-display); font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.cart-head h3 small { color: var(--text-faint); font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-weight: 400; margin-left: .5rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; }
.cart-item-art { width: 64px; height: 64px; display: grid; place-items: center; background: var(--bg-elevated-2); border-radius: 8px; }
.cart-item-art svg { width: 80%; height: 80%; }
.cart-item-name { font-size: .9rem; font-weight: 500; }
.cart-item-sub { font-size: .78rem; color: var(--text-dim); margin-top: .15rem; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.cart-item-price { font-family: var(--font-display); font-size: .9rem; font-variant-numeric: tabular-nums; }
.cart-remove { background: none; border: none; color: var(--text-faint); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.cart-remove:hover { color: var(--uf-orange-light); }
.cart-empty { text-align: center; color: var(--text-dim); padding: 3rem 1rem; }
.cart-empty svg { width: 48px; height: 48px; color: var(--text-faint); margin: 0 auto 1rem; }
.cart-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.cart-total span:first-child { color: var(--text-dim); font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; align-self: center; }
.cart-foot .btn-primary { text-align: center; }
.cart-fine { font-size: .76rem; color: var(--text-faint); text-align: center; }

/* ---- Toast for "added to cart" ---- */
.shop-toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  z-index: 230;
  transform: translate(-50%, 20px);
  opacity: 0;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--black);
  font-size: .8rem;
  letter-spacing: .06em;
  pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.shop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .shop-card.is-featured { grid-column: span 1; }
  .shop-card.is-featured .shop-card-art { aspect-ratio: 1 / 1; }
  .modal.modal-product { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .product-art { min-height: 240px; }
}
@media (max-width: 1024px) {
  .nav-cart span.nav-cart-label { display: none; }
  .nav-cart { margin-right: .6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .shop-card, .shop-card-art svg, .cart-drawer, .shop-toast, .btn-add, .btn-primary { transition: none; }
  .shop-card.will-reveal { opacity: 1; transform: none; }
  .nav-cart.is-bumping { animation: none; }
}

/* ---- Shared hero type + collection header (all iterations) ---- */
.shop-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 8.5vw, 5.6rem);
  line-height: .98;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
  text-shadow: -1px 0 rgba(57,255,138,.28), 1px 0 rgba(250,70,22,.22);
}
.shop-kicker {
  display: block;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--uf-orange);
  margin-bottom: 1.2rem;
}
.shop-lede {
  text-wrap: pretty;
  margin-top: 1.4rem;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 44ch;
  line-height: 1.7;
}
.shop-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2.2rem; }
.shop-hero-note { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.shop-collection-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shop-collection-head .section-lede { margin-top: .2rem; }
.nav-right { display: flex; align-items: center; flex-shrink: 0; }
.shop-scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint);
}
.shop-scroll-cue i { width: 9px; height: 9px; border-right: 1.5px solid var(--text-faint); border-bottom: 1.5px solid var(--text-faint); transform: rotate(45deg); animation: bob 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .shop-scroll-cue i { animation: none; } }

/* Narrow nav: brand text + cart + donate + hamburger don't all fit at
   phone width, so the cart goes icon-only and the wordmark steps down
   (shop page only — the other pages don't carry a cart button). */
@media (max-width: 520px) {
  .shop-card-foot { flex-direction: column; align-items: stretch; }
  .shop-card-foot .btn-add { width: 100%; margin-left: 0; padding: .75rem 1rem; }
  .nav-brand span { font-size: .68rem; }
  .nav-cart { padding: .35rem .5rem; margin-right: .6rem; gap: .3rem; }
  .btn-donate img { height: 26px; }
}
@media (max-width: 400px) {
  .nav-brand span { display: none; }
}

/* ==========================================================================
   Product photos, statuses, stock
   ========================================================================== */
.product-photo {
  position: relative;
  width: 78%;
  height: 78%;
  max-width: 360px;
  display: grid;
  place-items: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.product-img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6));
  transition: opacity .45s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.product-img.is-alt { opacity: 0; }
/* teaser look: a softened photo (see blurPrimary / blurAlt in shop.js) */
.product-img.is-blurred { filter: blur(var(--blur, 9px)) drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
/* back → front: hover or keyboard focus on the card flips to the front */
.shop-card:hover .product-photo { transform: translateY(-6px) scale(1.03); }
.shop-card:hover .has-alt .is-alt, .shop-card:focus-visible .has-alt .is-alt,
.product-photo.show-alt .is-alt { opacity: 1; }
.shop-card:hover .has-alt .is-primary, .shop-card:focus-visible .has-alt .is-primary,
.product-photo.show-alt .is-primary { opacity: 0; }

.shop-card-hint {
  position: absolute;
  right: .9rem;
  bottom: .8rem;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-faint);
  opacity: 0;
  transition: opacity .3s ease;
}
.shop-card:hover .shop-card-hint { opacity: 1; }
@media (hover: none) { .shop-card-hint { display: none; } }

/* status badges */
.shop-card-tag.is-sold-out { background: rgba(255,255,255,.14); color: var(--text); }
.shop-card-tag.is-coming-soon { background: var(--uf-blue); color: #fff; }
.shop-card-tag.is-launching {
  background: var(--uf-orange);
  color: var(--black);
  box-shadow: 0 0 0 0 rgba(211,57,1,.6);
  animation: launch-pulse 2.2s ease-out infinite;
}
@keyframes launch-pulse {
  0% { box-shadow: 0 0 0 0 rgba(211,57,1,.55); }
  70% { box-shadow: 0 0 0 10px rgba(211,57,1,0); }
  100% { box-shadow: 0 0 0 0 rgba(211,57,1,0); }
}
.shop-card-promo {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--swamp-green);
}

/* sold-out items: desaturated and dimmed. Coming-soon stays full color. */
.shop-card.is-sold-out .product-img { filter: grayscale(.9) brightness(.6) drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.shop-card.is-sold-out .shop-card-name, .shop-card.is-sold-out .shop-card-price { color: var(--text-dim); }
.shop-card.is-sold-out .shop-sizes span { opacity: .5; }
.btn-add[disabled] {
  background: transparent;
  border-color: var(--line);
  color: var(--text-faint);
  cursor: not-allowed;
}
.btn-add[disabled]:hover { transform: none; }
.product-art.is-sold-out .product-img { filter: grayscale(.85) brightness(.65) drop-shadow(0 22px 36px rgba(0,0,0,.65)); }
.product-add[disabled] { opacity: .45; cursor: not-allowed; }
.product-add[disabled]:hover { transform: none; }

/* dialog */
.product-art { position: relative; }
.product-art .product-photo { width: 86%; height: auto; aspect-ratio: 1 / 1; max-width: 400px; }
.view-toggle {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.45);
}
.view-toggle button {
  background: none;
  border: 0;
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.view-toggle button.is-active { background: var(--text); color: var(--black); }
.product-promo { display: block; font: 500 .72rem/1.4 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--swamp-green); margin-top: .2rem; }
.size-chip.is-static { cursor: default; display: inline-flex; gap: .4rem; align-items: baseline; }
.size-chip.is-static em { font-style: normal; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.size-chip.is-static.is-off { opacity: .5; text-decoration: line-through; }
.size-chip[disabled] { opacity: .4; cursor: not-allowed; }
.product-stock { font-size: .78rem; color: var(--uf-orange-light); margin-top: -.4rem; }
.cart-item.is-free .cart-item-price { color: var(--swamp-green); }
.cart-item-art .product-photo { width: 100%; height: 100%; }
.cart-item-art .product-img { filter: none; }

@media (prefers-reduced-motion: reduce) {
  .product-img, .product-photo { transition: none; }
  .shop-card-tag.is-launching { animation: none; }
}
.cart-checkout.is-busy { opacity: .7; pointer-events: none; }
.cart-fulfil { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1rem; }
.cart-fulfil label { cursor: pointer; }
.cart-fulfil input { position: absolute; opacity: 0; pointer-events: none; }
.cart-fulfil span { display: flex; flex-direction: column; gap: .1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s ease, background .2s ease; }
.cart-fulfil b { font-family: var(--font-display); font-size: .78rem; letter-spacing: .06em; color: var(--text); }
.cart-fulfil small { font-size: .72rem; color: var(--text-dim); }
.cart-fulfil input:checked + span { border-color: var(--uf-orange); background: rgba(211,57,1,.1); }
.cart-fulfil input:focus-visible + span { outline: 2px solid var(--uf-orange); outline-offset: 2px; }

/* close-up that pops up after resting on the O&E shirt's patch (shop.js initReveal) */
.patch-peek {
  position: fixed;
  z-index: 400;
  width: 250px;
  padding: 14px 14px 12px;
  background: rgba(8, 10, 14, .94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .75);
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px) scale(.94);
  transition: opacity .25s ease, transform .25s ease;
}
.patch-peek.is-on { opacity: 1; transform: none; }
.patch-peek img { display: block; width: 100%; height: auto; }
.patch-peek span {
  display: block;
  margin-top: .55rem;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
/* drop-window countdown under the hero strip */
.drop-clock {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.2rem);
  margin-top: 2.2rem;
}
.drop-clock-patch {
  flex: 0 0 auto;
  width: clamp(84px, 14vw, 150px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(255, 106, 46, .35));
}
.drop-clock-label {
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.drop-clock-time {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: .15rem clamp(.4rem, 1.2vw, .9rem);
  font-family: var(--font-display);
  color: var(--uf-orange-light);
  text-shadow: 0 0 28px rgba(255, 106, 46, .45);
}
.drop-clock-t {
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--uf-orange);
}
.dc-unit { display: grid; justify-items: center; gap: .2rem; }
.dc-unit b {
  font-size: clamp(2.3rem, 7.4vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dc-unit i {
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-shadow: none;
}
.dc-sep {
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 1.1;
  opacity: .55;
}
.drop-clock.is-closed .drop-clock-time { color: var(--text-dim); text-shadow: none; }
@media (max-width: 560px) {
  .drop-clock { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .drop-clock-patch { width: 96px; }
  .drop-clock-t { display: none; }
  .drop-clock-time { flex-wrap: nowrap; gap: .2rem .4rem; }
  .dc-unit b { font-size: clamp(2.1rem, 11vw, 3rem); }
  .dc-sep { font-size: clamp(1.6rem, 8vw, 2.4rem); }
}
/* small countdown on the O&E shirt tile and in its dialog */
.shop-card-clock {
  position: absolute;
  left: .9rem;
  bottom: .8rem;
  z-index: 2;
  padding: .3rem .65rem;
  border: 1px solid rgba(255, 106, 46, .5);
  border-radius: 999px;
  background: rgba(0, 0, 0, .6);
  font-family: var(--font-display);
  font-size: .64rem;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  color: var(--uf-orange-light);
  pointer-events: none;
}
.product-clock {
  align-self: flex-start;
  margin: -.2rem 0 .2rem;
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .1em;
  font-variant-numeric: tabular-nums;
  color: var(--uf-orange-light);
}
/* O&E back view in the dialog: hover to zoom in on the spot under the pointer */
.modal-product .product-photo[data-zoomback] { overflow: hidden; border-radius: 14px; cursor: zoom-in; }
.modal-product .product-photo[data-zoomback] .is-primary {
  transition: transform .3s ease-out, transform-origin .12s linear, opacity .45s ease;
}
/* countdown tucked under the shirt picture; the Back/Front switch moves up to make room */
.product-clock-under {
  position: absolute;
  left: 0;
  right: 0;
  bottom: .95rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  color: var(--uf-orange-light);
}
.product-art.has-clock .view-toggle { bottom: 2.9rem; }
/* inventory: sizes that are used up */
.shop-sizes span.is-out { text-decoration: line-through; opacity: .4; }
.size-chip.is-off[disabled] { text-decoration: line-through; }
.product-stock:empty { display: none; }
