/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 *
 * ── Semantic class hooks (sa-*) ────────────────────────────────────────────
 * Every section, snippet and key element carries a stable `sa-` class you can
 * target with plain CSS — no Tailwind rebuild needed. These classes ship with
 * NO styles of their own; they exist purely as selectors for you to hook onto.
 *
 * Page scope   body.sa-tpl-<template>      e.g. .sa-tpl-product, .sa-tpl-shop
 *              body.sa-no-product-images / .sa-no-category-images when the
 *              matching theme setting is off
 * Chrome       .sa-header .sa-navbar .sa-footer
 *              .sa-navbar-link .sa-navbar-logo .sa-navbar-cart .sa-footer-link
 * Sections     .sa-<component>             e.g. .sa-hero, .sa-features, .sa-faq
 *   variant    .sa-<component>--<variant>  e.g. .sa-hero--split-media
 *   inner      .sa-<component>-title / -subtitle / -eyebrow / -media /
 *              -items / -item / -actions / -link / -price / -badge / -icon
 * Primitives   .sa-btn (+ .sa-btn--<variant>), .sa-section-header
 *              (.sa-section-title / -eyebrow / -subtitle),
 *              .sa-product-card (+ .sa-product-card--<style>,
 *              .sa-product-card-title / -price / -stock / -status / -badges),
 *              .sa-product-form + .sa-add-to-cart, .sa-product-gallery,
 *              .sa-cart-panel + .sa-cart-item, .sa-searchbar, .sa-pagination,
 *              .sa-breadcrumbs, .sa-toasts + .sa-toast, .sa-feedback-card
 *
 * Example — bigger hero heading only on the product page:
 *   .sa-tpl-product .sa-hero-title { font-size: 3rem; }
 * ───────────────────────────────────────────────────────────────────────────
*/

/* ── Accessly palette for Canvas built-in components ────────────────────────
   built.css consumes these tokens as RGB triplets inside rgba(). Without them
   the cart, drawer, toasts and modals fall back to currentColor (white) with
   transparent surfaces, which is what made /cart look broken. */
:root {
  --cl-background: 10, 8, 7;
  --cl-surface: 19, 16, 13;
  --cl-surface-raised: 26, 21, 16;
  --cl-border: 201, 160, 106;
  --cl-t-primary: 245, 236, 224;
  --cl-t-muted: 170, 150, 128;
  --cl-accent: 201, 160, 106;
  --cl-on-accent: 12, 9, 7;
  --cl-overlay: 6, 4, 3;
  --cl-success: 95, 191, 138;
  --cl-error: 229, 115, 95;
  --cl-warning: 240, 145, 60;

  --radius-card: 16px;
  --radius-btn: 999px;
  --radius-input: 10px;
  --radius-badge: 6px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 18px 44px rgba(0, 0, 0, .45);
  --shadow-modal: 0 30px 80px rgba(0, 0, 0, .6);
  --shadow-btn: 0 8px 26px rgba(240, 145, 60, .18);
}

/* Hairline bronze borders instead of the flat 1px white the unset token gave. */
.sa-page-cart .border-theme,
.sa-cart-panel .border-theme { border-color: rgba(var(--cl-border), .18); }

/* Cart page: match the storefront typography and spacing. */
.sa-page-cart { color: rgb(var(--cl-t-primary)); }
.sa-page-cart h1,
.sa-page-cart h2 { font-family: 'Playfair Display', Georgia, serif; letter-spacing: -.01em; }
.sa-page-cart h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; }
.sa-page-cart .sa-page-cart-item { padding: 18px 20px; transition: border-color .2s ease; }
.sa-page-cart .sa-page-cart-item:hover { border-color: rgba(var(--cl-border), .32); }
.sa-page-cart .sa-page-cart-title { font-size: 1.02rem; letter-spacing: -.01em; }
.sa-page-cart .sa-page-cart-price { font-variant-numeric: tabular-nums; }

/* Thumbnail tile: dark bronze plate so brand art reads on the card. */
.sa-page-cart .size-16,
.sa-page-cart .size-20,
.sa-cart-panel .size-14 {
  background: radial-gradient(circle at 30% 20%, rgba(240, 145, 60, .16), transparent 65%), #14100c;
  border-radius: 12px;
}
.sa-page-cart .size-16 img,
.sa-page-cart .size-20 img,
.sa-cart-panel .size-14 img { padding: 10px; object-fit: contain; }

/* Quantity stepper */
.sa-page-cart .input-stepper {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(var(--cl-border), .22);
  border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .02);
}
.sa-page-cart .input-stepper button {
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  color: rgb(var(--cl-t-muted)); background: transparent; border: 0; cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.sa-page-cart .input-stepper button:hover { color: rgb(var(--cl-t-primary)); background: rgba(var(--cl-accent), .12); }
.sa-page-cart .input-stepper span { font-variant-numeric: tabular-nums; }

/* Buttons */
.sa-page-cart button[class*="bg-accent-500"],
.sa-cart-panel button[class*="bg-accent-500"],
.sa-page-cart a[class*="bg-accent-500"] {
  border-radius: 999px;
  background-image: linear-gradient(135deg, #f0913c, #ffb061);
  color: #120c07;
  font-weight: 600;
  letter-spacing: -.01em;
  box-shadow: 0 10px 30px rgba(240, 145, 60, .22);
}
.sa-page-cart button[class*="bg-accent-500"]:hover,
.sa-cart-panel button[class*="bg-accent-500"]:hover { filter: brightness(1.06); }

/* Spacing / radius / shadow tokens the Canvas build expects but that a
   hand-built layout never emitted. Without --card-pad the cart summary card
   had zero padding, which is why its heading sat on the border. */
:root {
  --card-pad: 20px;
  --section-py: 64px;
  --section-gap: 40px;
  --radius-button: 999px;
  --shadow-button: 0 10px 30px rgba(240, 145, 60, .22);
  --shadow-nav: 0 1px 0 rgba(201, 160, 106, .12);
  --announcement-duration: 20s;
  --product-card-image-aspect-ratio: 16 / 10;
  --group-card-image-aspect-ratio: 16 / 10;
  --blog-card-image-aspect-ratio: 16 / 10;
  --pswp-transition-duration: .28s;
}

/* Discord ticket notice (product + cart) */
.ticket-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 16px; padding: 14px 16px;
  border: 1px solid rgba(201, 160, 106, .26);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 145, 60, .10), rgba(201, 160, 106, .04));
  color: var(--ink2, #d8cdbf);
  font-size: 13.5px; line-height: 1.55;
}
.ticket-note svg { flex: 0 0 auto; margin-top: 2px; color: var(--amber, #f0913c); }
.ticket-note b { color: var(--ink, #f5ece0); font-weight: 600; }
.ticket-note a { color: var(--amber, #f0913c); text-decoration: underline; text-underline-offset: 2px; }
.ticket-note p { margin: 0; }
.ticket-note--sm { font-size: 12.5px; padding: 12px 14px; background: rgba(240, 145, 60, .06); }

/* The site stylesheet uppercases every <b>; the ticket notice reads as a sentence. */
.ticket-note b { text-transform: none; letter-spacing: 0; }

/* Site CSS marks up <b> as a tracked uppercase eyebrow; the notice is prose. */
.ticket-note b {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: inherit !important;
}
.ticket-note p { flex: 1 1 auto; min-width: 0; }

/* ── Compact product page ───────────────────────────────────────────────────
   Prices, stock and options only; the long storefront copy is gone. */
.pdp-slim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: 64px;
}
.pdp-slim-art { position: sticky; top: 96px; }
.pdp-slim-art .pdp-art { margin: 0; }
.pdp-slim-main { min-width: 0; }
.pdp-slim-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 10px 0 6px;
}
.pdp-slim-tag {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 16px;
}
.pdp-slim-desc { color: var(--ink2); font-size: 15px; line-height: 1.6; margin: 0 0 20px; max-width: 46ch; }

.pdp-slim-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.pdp-slim-amount { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); color: var(--ink); line-height: 1; }
.stock-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid rgba(95, 191, 138, .35); color: #6fca9a;
  background: rgba(95, 191, 138, .08);
}
.stock-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.stock-pill--out { border-color: rgba(229, 115, 95, .4); color: #e08675; background: rgba(229, 115, 95, .08); }

.opt-list { border-top: 1px solid var(--line2); margin-bottom: 18px; }
.opt-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--line2);
}
.opt-label { min-width: 0; }
.opt-name { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.opt-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.opt-price { font-family: var(--serif); font-size: 18px; color: var(--ink); white-space: nowrap; }
.opt-row .btn { min-width: 84px; justify-content: center; }

.pdp-slim-delivery { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }

@media (max-width: 820px) {
  .pdp-slim { grid-template-columns: 1fr; }
  .pdp-slim-art { position: static; order: -1; max-width: 340px; }
}

/* Mobile: name, price and options come first; the artwork follows. */
@media (max-width: 820px) {
  .pdp-slim-art { order: 2; max-width: 260px; margin-top: 24px; }
}

/* Keep the ticket notice left-aligned inside the product column (the old
   product layout right-aligned its own paragraphs). */
.ticket-note, .ticket-note p { text-align: left; }
.ticket-note { gap: 10px; }

/* The notice is a block, not a flex row: guaranteed text start at the left edge
   inside both the product column and the cart summary. */
.ticket-note { display: block !important; text-align: left; }
.ticket-note svg { float: left; margin: 2px 10px 0 0; }
.ticket-note p { display: block; margin: 0; text-align: left; }
.ticket-note::after { content: ""; display: block; clear: both; }

/* option hit shown on a catalogue card when the query matched an option row */
.hit-opt{font-size:12px;line-height:1.45;letter-spacing:.02em;color:#e6a15a;margin:4px 0 8px;font-weight:500}
.hit-opt b{color:var(--ink,#f4efe6);font-weight:600}

/* composed product tile as the card / product-page artwork */
.art--photo{position:relative;overflow:hidden;border-radius:inherit;padding:0}
.art--photo .cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* square composed tiles: fit inside wide card art instead of cropping the ring */
.art--photo .cover{object-fit:contain;background:#14100c}

/* Homepage spotlight — GTA VI and the new arrivals */
.spotlight{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:22px 26px;border:1px solid rgba(20,20,20,.14);border-radius:18px;background:linear-gradient(120deg,rgba(255,176,32,.14),rgba(255,255,255,0) 65%);color:inherit;text-decoration:none;transition:border-color .2s ease,transform .2s ease}
.spotlight:hover{border-color:var(--amber2);transform:translateY(-2px)}
.spotlight-art{width:64px;height:64px;border-radius:14px;display:grid;place-items:center;font-family:var(--serif);font-size:26px;font-weight:700;color:#fff;background:linear-gradient(135deg,#ff5f6d,#ffc371)}
.spotlight-tag{display:inline-block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--amber2)}
.spotlight-copy h2{font-family:var(--serif);font-size:clamp(20px,2.4vw,28px);margin:8px 0 6px}
.spotlight-copy p{margin:0;color:var(--ink2);font-size:14.5px;line-height:1.6;max-width:62ch}
.spotlight-cta{text-align:right;white-space:nowrap}
.spotlight-cta b{display:block;font-family:var(--serif);font-size:26px}
.spotlight-cta span{font-size:12px;color:var(--ink2)}
.spotlight-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.promo-chip{font-size:12px;padding:6px 11px;border-radius:999px;border:1px solid rgba(20,20,20,.14);color:var(--ink2)}
@media(max-width:720px){.spotlight{grid-template-columns:auto 1fr;gap:14px}.spotlight-cta{grid-column:1/-1;text-align:left}}