/* =====================================================================
   SIDE EYE SERIES — shared stylesheet
   Greeting cards for the socially tired.
   ---------------------------------------------------------------------
   Sections:
     1. Fonts (self-hosted)
     2. Design tokens (CSS custom properties)
     3. Reset / base defaults
     4. Typography
     5. Layout helpers (wrap, bands, dot grid)
     6. Buttons & links
     7. Header / navigation
     8. Hero
     9. Feature strip & product cards (grid)
    10. Collection filters
    11. Product page (media, gallery, info, purchase block, facts)
    12. Policy / info / response pages
    13. Forms
    14. Cart drawer & cart line items
    15. Footer
    16. Utilities
    17. Responsive media queries
    18. Accessibility helpers & reduced motion
    19. Print basics
   ===================================================================== */

/* 1. FONTS ----------------------------------------------------------- */
@font-face {
  font-family: 'Archivo Black';
  src: url('assets/fonts/archivo-black.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* 2. DESIGN TOKENS --------------------------------------------------- */
:root {
  /* Core palette */
  --ink: #141414;
  --paper: #faf9f6;
  --white: #ffffff;

  /* Brand accents */
  --cyan: #00e0ec;     /* slightly deepened from #00f5ff for better contrast */
  --pink: #ff5ba8;
  --yellow: #ffd400;
  --matcha: #a8b58e;
  --mint: #e2ede9;

  /* Per-page accent (overridden inline on product pages) */
  --accent: var(--cyan);

  /* Typography */
  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Space Grotesk', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Type scale (fluid) */
  --step--1: clamp(0.78rem, 0.74rem + 0.2vw, 0.86rem);
  --step-0:  clamp(0.96rem, 0.92rem + 0.25vw, 1.06rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.6rem, 1.35rem + 1.1vw, 2.3rem);
  --step-3:  clamp(2.2rem, 1.7rem + 2.3vw, 3.6rem);
  --step-4:  clamp(2.8rem, 2rem + 3.6vw, 5rem);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.85rem;
  --space-3: 1.25rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;

  /* Structure */
  --wrap: 1180px;
  --border: 4px;
  --border-thin: 3px;
  --radius: 12px;
  --shadow: 8px 8px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --shadow-accent: 8px 8px 0 var(--accent);
  --t-fast: 0.16s ease;
  --t-med: 0.28s ease;
}

/* 3. RESET / BASE ---------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.drawer-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

button { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* 4. TYPOGRAPHY ------------------------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 0;
}
.display--italic { font-style: italic; }

h1, h2, h3 { margin: 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 var(--space-2);
}
.eyebrow--accent { color: var(--accent); }

.lead {
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.25;
}

.muted { color: #555; }

/* 5. LAYOUT HELPERS -------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}

.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band--tight { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.band--paper { background: var(--paper); }
.band--white { background: var(--white); }
.band--matcha { background: var(--matcha); }
.band--mint { background: var(--mint); }
.band--ink { background: var(--ink); color: var(--white); }
.band--line { border-bottom: var(--border) solid var(--ink); }
.band--line-top { border-top: var(--border) solid var(--ink); }

.dot-grid {
  background-image: radial-gradient(var(--matcha) 1.4px, transparent 1.4px);
  background-size: 22px 22px;
}
.dot-grid--ink {
  background-image: radial-gradient(rgba(20,20,20,0.18) 1.4px, transparent 1.4px);
  background-size: 20px 20px;
}

.stack > * + * { margin-top: var(--space-3); }

/* 6. BUTTONS & LINKS ------------------------------------------------- */
.no-underline { text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  border: var(--border) solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  font-weight: 800;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.btn:hover,
.btn:focus-visible { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

.btn--ghost { background: var(--white); color: var(--ink); }
.btn--accent { box-shadow: 5px 5px 0 var(--accent); }
.btn--accent:hover,
.btn--accent:focus-visible { box-shadow: 7px 7px 0 var(--accent); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.15rem 1.6rem; font-size: var(--step-0); }

/* 7. HEADER / NAVIGATION -------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.9rem, 2.5vw, 1.5rem);
  background: var(--white);
  border-bottom: var(--border) solid var(--ink);
}

.nav-btn {
  border: var(--border-thin) solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1.1rem;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 5px 5px 0 var(--yellow);
}
.nav-btn--cart { box-shadow: 5px 5px 0 var(--cyan); }
.nav-btn:hover,
.nav-btn:focus-visible { transform: translate(-2px, -2px); }

.logo-lockup {
  display: inline-block;
  border: var(--border) solid var(--ink);
  background: var(--white);
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
  text-align: center;
}
.logo-lockup a {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 1.6vw, 1.9rem);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

/* 8. HERO ------------------------------------------------------------ */
.hero { overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 920px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero h1 { font-size: var(--step-4); margin-bottom: var(--space-3); }
.hero__sub { font-size: var(--step-1); font-weight: 700; line-height: 1.2; margin-bottom: var(--space-4); max-width: 34ch; }

.hero__stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}
.hero__stack .card-frame { position: absolute; width: min(58%, 250px); }
.hero__stack .card-frame:nth-child(1) { transform: rotate(-9deg) translate(-42%, 6%); z-index: 1; }
.hero__stack .card-frame:nth-child(2) { transform: rotate(5deg) translate(40%, -4%); z-index: 1; }
.hero__stack .card-frame:nth-child(3) { transform: rotate(-2deg); z-index: 2; box-shadow: 16px 16px 0 var(--ink); }

.card-frame {
  border: var(--border) solid var(--ink);
  background: var(--white);
  padding: 10px;
  box-shadow: 12px 12px 0 var(--ink);
}
.card-frame img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* 9. FEATURE STRIP & PRODUCT CARDS ---------------------------------- */
.facts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.facts-strip span {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--step--1);
}
.facts-strip span + span::before {
  content: "·";
  margin-right: 1.5rem;
  color: var(--accent);
}

.section-head { margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.section-head h2 { font-size: var(--step-3); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.5rem, 4vw, 2.75rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  border: var(--border-thin) solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  height: 100%;
}
.card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: var(--border) solid var(--ink);
  min-height: 300px;
  background: var(--paper);
  background-image: radial-gradient(rgba(20,20,20,0.12) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.card-media .card-frame {
  width: 100%;
  max-width: 210px;
  transform: rotate(-2deg);
  transition: transform var(--t-med);
}
.product-card:hover .card-media .card-frame { transform: rotate(0) scale(1.03); }

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem;
  flex: 1;
}
.card-body h3 { font-size: var(--step-2); }
.card-body h3 a { text-decoration: none; }
.card-desc { font-weight: 600; line-height: 1.35; }

.price-pill {
  align-self: flex-start;
  border: var(--border) solid var(--ink);
  background: var(--yellow);
  padding: 0.5rem 0.9rem;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}

.card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.card-actions .btn { flex: 1 1 auto; }

/* 10. COLLECTION FILTERS -------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.filter-btn {
  border: var(--border-thin) solid var(--ink);
  background: var(--white);
  padding: 0.7rem 1.05rem;
  font-size: var(--step--1);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.filter-btn:hover,
.filter-btn:focus-visible { transform: translate(-2px, -2px); box-shadow: var(--shadow-sm); }
.filter-btn.is-active { background: var(--ink); color: var(--white); }

/* 11. PRODUCT PAGE -------------------------------------------------- */
.product-shell {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1120px;
  margin-inline: auto;
  border: var(--border) solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .product-shell { grid-template-columns: 1fr 1fr; }
}

.product-media {
  padding: clamp(1.75rem, 5vw, 3.25rem);
  background: var(--paper);
  background-image: radial-gradient(rgba(20,20,20,0.13) 1.3px, transparent 1.3px);
  background-size: 20px 20px;
  border-bottom: var(--border) solid var(--ink);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 860px) {
  .product-media { border-bottom: none; border-right: var(--border) solid var(--ink); }
}

.gallery { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gallery .card-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  transform: rotate(-2deg);
  box-shadow: 15px 15px 0 var(--ink);
  transition: transform var(--t-med);
}
.gallery .card-frame:hover { transform: rotate(0) scale(1.02); }
.gallery img { width: 100%; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-thin) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-nav[hidden], .gallery-dots[hidden] { display: none; }
.gallery-dots { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.gallery-dot {
  width: 14px; height: 14px; padding: 0;
  border: var(--border-thin) solid var(--ink);
  background: var(--white); cursor: pointer;
}
.gallery-dot.is-active { background: var(--accent); }

.product-info {
  padding: clamp(1.75rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
}
.product-title {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  line-height: 0.85;
  margin: 0 0 0.6rem;
}
.product-summary { font-weight: 800; font-size: var(--step-0); margin: 0 0 1.4rem; }

.purchase-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  border: var(--border) solid var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-accent);
  margin-bottom: 1.75rem;
}
.price-tag {
  border: var(--border) solid var(--ink);
  background: var(--yellow);
  padding: 0.55rem 1.1rem;
  font-weight: 900;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.buy-button {
  flex: 1 1 200px;
  border: var(--border) solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 1.1rem 1.2rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--step-1);
  cursor: pointer;
  box-shadow: 8px 8px 0 var(--accent);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.buy-button:hover,
.buy-button:focus-visible { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--accent); }

.product-pitch { font-weight: 900; text-transform: uppercase; font-size: var(--step-1); line-height: 1.1; margin: 0 0 1.1rem; }
.product-clarity { font-weight: 600; line-height: 1.6; margin: 0 0 1rem; }
.product-detail { font-size: var(--step-0); line-height: 1.65; margin: 0 0 1.75rem; }

.product-facts {
  border: var(--border) solid var(--ink);
  background: var(--paper);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-accent);
}
.product-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.45rem 1rem; }
.product-facts dt { font-weight: 900; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.8rem; }
.product-facts dd { margin: 0; font-weight: 600; font-size: 0.9rem; }

.product-back { margin-top: 1.5rem; }
.product-back a { font-weight: 800; text-transform: uppercase; font-size: var(--step--1); letter-spacing: 0.05em; }

/* 12. POLICY / INFO / RESPONSE -------------------------------------- */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}
@media (min-width: 860px) { .split--2 { grid-template-columns: 1fr 1fr; } }

.info-card,
.policy-card,
.card {
  border: var(--border) solid var(--ink);
  background: var(--white);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  height: 100%;
}
.policy-card { position: relative; }
.policy-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  margin: 0.5rem 0 1rem;
  color: var(--accent);
}
.section-tag {
  display: inline-block;
  border: var(--border) solid var(--ink);
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.bg-cyan { background: var(--cyan); }
.bg-pink { background: var(--pink); }
.bg-yellow { background: var(--yellow); }
.bg-mint { background: var(--mint); }

.prose p { line-height: 1.65; }
.prose p + p { margin-top: 1rem; }

/* Server-rendered confirmation pages (contact-submit.php, subscribe.php).
   These PHP scripts emit minimal HTML that links only to styles.css, so the
   classes below must remain self-sufficient and not depend on header/footer. */
.response-wrap { max-width: 720px; margin-inline: auto; padding: clamp(2rem, 6vw, 3.5rem) 1.25rem; }
.response-card { border: var(--border) solid var(--ink); background: var(--white); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.25rem); }
.heading-font { font-family: var(--font-display); }
.response-title { margin: 0 0 1rem; font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.05; text-transform: uppercase; }
.response-copy { line-height: 1.6; margin: 0 0 1rem; }
.response-copy a { color: var(--ink); text-underline-offset: 3px; }
.response-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.response-button {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: var(--border) solid var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.response-button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.response-button--secondary { background: var(--white); color: var(--ink); }

/* 13. FORMS --------------------------------------------------------- */
.field { display: block; margin-bottom: 1.1rem; }
.label {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}
.input, .select, .textarea {
  width: 100%;
  border: var(--border) solid var(--ink);
  background: var(--white);
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.input:focus, .select:focus, .textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 0;
  background: var(--paper);
}
.textarea { resize: vertical; min-height: 120px; }
.input::placeholder, .textarea::placeholder { color: #777; }
.form-note { font-size: var(--step--1); font-weight: 600; }

/* 14. CART DRAWER & ITEMS ------------------------------------------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 100; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--white);
  border-left: var(--border) solid var(--ink);
  z-index: 110;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform var(--t-med);
}
/* utility hooks used by cart.js */
.translate-x-full { transform: translateX(100%); }
.hidden { display: none !important; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: var(--border) solid var(--ink);
  background: var(--cyan);
}
.cart-head h2 { font-family: var(--font-display); font-style: italic; font-size: 1.7rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; background: var(--paper); }
.cart-foot { border-top: var(--border) solid var(--ink); padding: 1rem; background: var(--white); }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-weight: 900; font-size: 1.1rem; margin-bottom: 1rem; }

.cart-empty-card { border: var(--border) solid var(--ink); background: var(--white); padding: 1rem; }
.cart-empty-title { margin: 0 0 0.5rem; font-size: 1.4rem; font-weight: 900; }
.cart-empty-copy { margin: 0; font-weight: 600; }

.cart-item-card { border: var(--border) solid var(--ink); background: var(--white); padding: 1rem; }
.cart-item-row { display: flex; gap: 0.75rem; align-items: flex-start; }
.cart-item-thumb { width: 80px; height: 80px; object-fit: contain; border: var(--border-thin) solid var(--ink); background: var(--paper); flex: 0 0 auto; }
.cart-item-body { flex: 1; }
.cart-item-title { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 800; line-height: 1.2; }
.cart-item-price { margin: 0 0 0.75rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.cart-qty-controls { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty-btn, .cart-remove-btn { border: var(--border-thin) solid var(--ink); background: var(--white); font-weight: 800; cursor: pointer; }
.cart-qty-btn { padding: 0.25rem 0.75rem; font-size: 1rem; }
.cart-qty-value { min-width: 24px; text-align: center; font-weight: 800; }
.cart-remove-btn { padding: 0.45rem 0.75rem; text-transform: uppercase; font-size: 0.7rem; }

/* 15. FOOTER -------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: 2.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr 1.2fr; } }
.footer-col h2 { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; text-decoration: none; color: var(--white); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--cyan); text-decoration: underline; }
.footer-heading-cyan { color: var(--cyan); }
.footer-heading-pink { color: var(--pink); }

.subscribe {
  border: var(--border) solid var(--white);
  background: var(--white);
  color: var(--ink);
  padding: 1.25rem;
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 var(--pink);
}
.subscribe p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin: 0 0 0.9rem; }
.subscribe input {
  width: 100%; background: transparent; border: none; border-bottom: 3px solid var(--ink);
  padding: 0.5rem 0.25rem; font-family: inherit; font-weight: 800; letter-spacing: 0.08em; color: var(--ink);
}
.subscribe input:focus { outline: none; border-bottom-color: var(--pink); }
.subscribe button { width: 100%; margin-top: 1.1rem; border: none; background: var(--ink); color: var(--white); padding: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; cursor: pointer; }
.subscribe button:hover { background: #000; }

.footer-base { border-top: 4px solid rgba(255,255,255,0.2); padding-top: 1.75rem; text-align: center; }
.footer-base p { font-weight: 800; text-transform: uppercase; letter-spacing: 0.4em; font-size: 0.6rem; margin: 0; }

/* 16. UTILITIES ----------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex-wrap-gap { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.skip-link {
  position: absolute;
  left: 0.5rem; top: -3rem;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0.5rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* 17. RESPONSIVE ---------------------------------------------------- */
@media (max-width: 560px) {
  .logo-lockup { padding: 0.6rem 1rem; }
  .nav-btn { padding: 0.6rem 0.8rem; }
  .cart-item-row { flex-direction: column; }
  .cart-item-thumb { width: 100%; height: auto; max-height: 220px; }
  .response-actions .btn,
  .response-actions .response-button { width: 100%; text-align: center; }
  .purchase-block { flex-direction: column; align-items: stretch; }
  .price-tag { text-align: center; }
}

/* 18. ACCESSIBILITY & REDUCED MOTION -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .product-card:hover .card-media .card-frame,
  .gallery .card-frame:hover,
  .btn:hover, .nav-btn:hover, .buy-button:hover { transform: none; }
}

/* 19. PRINT --------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cart-drawer, .cart-overlay, .skip-link, .filters, .card-actions, .purchase-block { display: none !important; }
  body { background: #fff; color: #000; }
  .product-shell, .card, .info-card, .policy-card { box-shadow: none; border: 1px solid #000; }
  a { text-decoration: underline; }
}

/* =====================================================================
   20. POLISH PASS — Bold Pop theme
   This layer keeps the comic-card energy, but reins in the layout so the
   package feels intentional, sale-ready, and easier to reuse.
   ===================================================================== */
:root {
  --paper: #f6efdf;
  --white: #fffdf7;
  --ink: #171313;
  --cyan: #00d8e7;
  --pink: #ff579b;
  --yellow: #ffdc35;
  --matcha: #b8c39c;
  --mint: #dfeee7;
  --lavender: #c3b1ff;
  --red: #ee5946;
  --shadow: 10px 10px 0 var(--ink);
  --shadow-sm: 5px 5px 0 var(--ink);
  --shadow-accent: 8px 8px 0 var(--accent);
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 220, 53, 0.18), transparent 30rem),
    radial-gradient(circle at 85% 8%, rgba(255, 87, 155, 0.12), transparent 26rem),
    var(--paper);
}

.site-header {
  position: relative;
  top: auto;
  z-index: 20;
  background: var(--paper);
  border-bottom: var(--border) solid var(--ink);
  padding: clamp(0.85rem, 2vw, 1.25rem) clamp(0.9rem, 3.5vw, 2rem);
}
.logo-lockup {
  background: var(--white);
  transform: rotate(-1.2deg);
  box-shadow: 6px 6px 0 var(--pink), 12px 12px 0 var(--ink);
}
.logo-lockup:hover { transform: rotate(0deg) translate(-1px, -1px); }

.hero {
  min-height: auto;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.hero__grid { align-items: center; }
.hero h1 { max-width: 10ch; text-wrap: balance; }
.hero__sub { max-width: 32ch; }
.hero__stack {
  min-height: clamp(320px, 43vw, 540px);
  isolation: isolate;
}
.hero__stack .card-frame { width: min(54%, 285px); }
.hero__stack .card-frame:nth-child(1) { transform: rotate(-10deg) translate(-44%, 7%); }
.hero__stack .card-frame:nth-child(2) { transform: rotate(7deg) translate(42%, -4%); }
.hero__stack .card-frame:nth-child(3) { transform: rotate(-2deg); box-shadow: 18px 18px 0 var(--ink); }

.card-frame,
.product-card,
.info-card,
.policy-card,
.card,
.response-card,
.product-shell,
.purchase-block,
.product-facts {
  border-radius: 10px;
}
.card-frame { background: #fffef8; }

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  align-items: stretch;
}
.product-card {
  box-shadow: 0 0 0 0 var(--ink);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.product-card:hover,
.product-card:focus-within {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--ink);
}
.card-media {
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: clamp(1rem, 4vw, 1.75rem);
  background-color: #fff7df;
  background-image:
    radial-gradient(rgba(20, 20, 20, 0.16) 1.25px, transparent 1.25px),
    linear-gradient(135deg, rgba(255, 220, 53, 0.36), rgba(255, 91, 168, 0.12));
  background-size: 18px 18px, 100% 100%;
}
.card-media .card-frame {
  max-width: min(78%, 230px);
  padding: clamp(7px, 1.2vw, 10px);
  box-shadow: 9px 9px 0 var(--ink);
}
.card-body { padding: clamp(1rem, 2.6vw, 1.45rem); }
.card-desc { color: #3b3530; }
.price-pill { background: var(--yellow); }
.card-actions .btn { min-width: 9rem; }

.facts-strip { justify-content: center; }
.facts-strip span { text-wrap: balance; }

.product-shell {
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--accent), 20px 20px 0 var(--ink);
}
.product-media {
  align-items: center;
  min-height: min(560px, calc(100svh - 120px));
  background-color: #fff7df;
  background-image:
    radial-gradient(rgba(20, 20, 20, 0.14) 1.25px, transparent 1.25px),
    linear-gradient(135deg, rgba(255, 220, 53, 0.33), rgba(0, 216, 231, 0.14));
}
.gallery { justify-content: center; }
.gallery .card-frame {
  max-width: min(430px, 84vw);
  transform: rotate(-1.5deg);
}
.product-info { justify-content: center; }
.product-title { max-width: 10ch; text-wrap: balance; }
.product-summary,
.product-clarity,
.product-detail { max-width: 58ch; }
.purchase-block { background: var(--white); }
.product-facts { background: #fff9e8; }

.filter-btn.is-active { box-shadow: var(--shadow-sm); }

.site-footer { margin-top: 0; }
.footer-grid { align-items: start; }
.subscribe input,
.subscribe button { border-radius: 8px; }

@media (max-width: 859px) {
  .product-media { min-height: auto; border-right: 0; }
  .product-shell { box-shadow: 9px 9px 0 var(--accent); }
  .gallery .card-frame { max-width: min(360px, 82vw); }
}
@media (max-width: 620px) {
  .site-header { gap: 0.55rem; }
  .logo-lockup { box-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--ink); }
  .logo-lockup a { font-size: clamp(0.95rem, 4.5vw, 1.2rem); white-space: normal; }
  .nav-btn { padding: 0.55rem 0.7rem; font-size: 0.58rem; box-shadow: 3px 3px 0 var(--yellow); }
  .nav-btn--cart { box-shadow: 3px 3px 0 var(--cyan); }
  .hero__stack { min-height: 305px; }
  .hero__stack .card-frame { width: min(62%, 210px); }
  .hero__stack .card-frame:nth-child(1) { transform: rotate(-8deg) translate(-34%, 5%); }
  .hero__stack .card-frame:nth-child(2) { transform: rotate(6deg) translate(34%, 0); }
  .hero__stack .card-frame:nth-child(3) { box-shadow: 12px 12px 0 var(--ink); }
  .facts-strip { justify-content: flex-start; text-align: left; }
  .facts-strip span + span::before { display: none; }
  .card-media .card-frame { max-width: min(72%, 220px); }
  .card-actions .btn { width: 100%; }
}

/* --- size/qty chooser --- */
.variant-row { display:grid; grid-template-columns: 1fr 110px; gap: 0.9rem; margin-bottom: 0.9rem; max-width: 420px; }
.variant-label { display:block; font-size: 0.62rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 0.4rem; }
.size-select, .qty-input { width:100%; border: 3px solid var(--ink, #101010); background:#fff; padding: 0.8rem 0.9rem; font: inherit; font-weight: 800; }
.qty-input { text-align:center; }
.size-select:focus-visible, .qty-input:focus-visible { outline: 3px solid var(--yellow, #FFD400); outline-offset: 2px; }

/* --- mobile rhythm: less vertical stretch, tighter header --- */
@media (max-width: 760px) {
  .hero, [class*="hero"] { min-height: 0; }
  .logo-lockup { padding: 0.45rem 0.8rem; }
  .logo-lockup a { font-size: 1rem; letter-spacing: 0.02em; }
  .site-header { padding: 0.6rem 0.9rem; gap: 0.5rem; }
  section { padding-top: clamp(2.2rem, 7vw, 3.5rem); padding-bottom: clamp(2.2rem, 7vw, 3.5rem); }
  h1, .hero-title { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .variant-row { grid-template-columns: 1fr 90px; }
}
