/* ============================================================
   BIKER MOMMY - vintage moto shop, modern storefront
   ============================================================ */

:root {
  --cream:        #F4EFE6;
  --paper:        #FBF8F2;
  --paper-2:      #EFE8DB;
  --ink:          #1A1815;
  --ink-soft:     #4A453E;
  --muted:        #8A8175;
  --red:          #B4211E;
  --red-dark:     #8C1815;
  --line:         #DCD3C4;
  --line-strong:  #C6BBA7;

  --shadow-sm: 0 1px 2px rgba(26,24,21,.06), 0 2px 6px rgba(26,24,21,.05);
  --shadow-md: 0 6px 20px rgba(26,24,21,.10), 0 2px 6px rgba(26,24,21,.06);
  --shadow-lg: 0 24px 60px rgba(26,24,21,.22);

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-script:  'Caveat', cursive;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius:    14px;
  --radius-lg: 20px;
  --header-h:  68px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--cream);
  /* subtle paper grain */
  background-image:
    radial-gradient(circle at 20% 20%, rgba(0,0,0,.015) 0, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .95;
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.05rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 14px 30px;
  background: var(--paper);
  color: var(--ink);
  transition: transform .12s var(--ease), background .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  padding: 8px 16px;
  min-height: 32px;
}
.announcement span { transition: opacity .4s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(244,239,230,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.header-nav {
  display: flex; gap: 22px; margin: 0 auto;
  font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .04em;
}
.header-nav a { color: var(--ink-soft); position: relative; padding: 4px 0; }
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav a.is-active { color: var(--ink); }
.header-nav a.is-active::after { transform: scaleX(1); }

/* ---------- Contact page ---------- */
.contact { max-width: 720px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 20px 90px; text-align: center; }
.contact .section-title { font-size: clamp(2.6rem, 8vw, 4.6rem); }
.contact-script { font-family: var(--font-script); color: var(--red); font-size: clamp(1.5rem, 4vw, 2rem); transform: rotate(-2deg); margin: 4px 0 26px; }
.contact-lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 500px; margin: 0 auto 30px; }
.contact-cta { font-size: 1.2rem; padding: 16px 46px; }
.contact-email { margin: 20px 0 0; font-weight: 600; font-size: 1.05rem; }
.contact-email a { color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.contact-email a:hover { color: var(--red); }
.contact-socials { margin: 30px 0 0; display: flex; gap: 14px; justify-content: center; align-items: center; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; }
.contact-socials a { color: var(--ink-soft); }
.contact-socials a:hover { color: var(--red); }
.contact-socials span { color: var(--red); }
.contact-note { font-family: var(--font-script); color: var(--muted); font-size: 1.25rem; margin-top: 32px; }
.contact-back { display: inline-block; margin-top: 26px; font-weight: 600; font-size: .9rem; color: var(--ink-soft); }
.contact-back:hover { color: var(--red); }

.cart-btn {
  position: relative; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--paper); color: var(--ink);
  transition: transform .12s var(--ease), background .18s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); background: var(--cream); }
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 0%,100%{transform:scale(1)} 35%{transform:scale(1.18)} }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff; font-weight: 800; font-size: .68rem;
  border-radius: 999px; border: 2px solid var(--cream);
}
.cart-count[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 90px) 20px clamp(28px, 4vw, 46px);
  text-align: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(180,33,30,.06), transparent 70%),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(26,24,21,.012) 22px 44px);
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero-logo {
  width: min(560px, 88%); margin: 0 auto 6px;
  filter: drop-shadow(0 8px 20px rgba(26,24,21,.14));
}
.hero-tagline {
  font-family: var(--font-script); color: var(--red);
  font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1;
  margin: 4px 0 10px; transform: rotate(-2deg);
}
.hero-sub {
  color: var(--ink-soft); max-width: 460px; margin: 0 auto 26px;
  font-size: 1.02rem;
}
.hero-cta { font-size: 1.2rem; padding: 16px 42px; }

/* scrolling strip */
.hero-strip {
  position: relative; z-index: 1;
  margin-top: clamp(28px, 4vw, 46px);
  background: var(--ink); color: var(--cream);
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  overflow: hidden; transform: rotate(-1deg) scale(1.03);
}
.hero-strip-track {
  display: inline-flex; align-items: center; gap: 34px;
  white-space: nowrap; padding: 10px 0;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .88rem;
  animation: marquee 22s linear infinite;
}
.hero-strip-track span:nth-child(even) { color: var(--red); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero-strip-track { animation: none; } }

/* ---------- Shop ---------- */
.shop {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px) 80px;
}
.shop-head { text-align: center; margin-bottom: 22px; }
.section-title { font-size: clamp(2.4rem, 7vw, 4rem); }
.section-sub {
  font-family: var(--font-script); color: var(--muted);
  font-size: 1.5rem; margin: 2px 0 0;
}

.filter-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 34px;
}
.pill {
  font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  padding: 9px 18px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink-soft);
  transition: all .16s var(--ease);
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

/* ---------- Product card ---------- */
.card {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card.hidden-by-filter { display: none; }

.card-media {
  position: relative; aspect-ratio: 1/1;
  background: var(--paper-2); cursor: pointer; overflow: hidden;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.card-media .img-alt { opacity: 0; }
.card:hover .card-media .img-main { opacity: 0; }
.card:hover .card-media .img-alt { opacity: 1; transform: scale(1.03); }

.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .68rem; padding: 5px 10px; border-radius: 6px;
  background: var(--red); color: #fff; box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
}
.card-badge.fire { background: var(--ink); }

.quick-view {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  padding: 11px; border-radius: 999px;
  background: var(--cream); border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .82rem;
  opacity: 0; transform: translateY(10px); transition: all .2s var(--ease);
}
.card:hover .quick-view { opacity: 1; transform: translateY(0); }
.quick-view:hover { background: var(--red); border-color: var(--red); color: #fff; }

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.card-name { font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.card-sub { font-family: var(--font-script); color: var(--muted); font-size: 1.15rem; line-height: 1; }
.card-price { font-family: var(--font-display); font-size: 1.15rem; margin-top: 6px; }

.card-swatches { display: flex; gap: 7px; margin-top: 10px; }
.swatch {
  width: 20px; height: 20px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--line-strong);
  transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 2px var(--ink); }

.coming-soon {
  text-align: center; margin-top: 56px;
  font-family: var(--font-script); font-size: 1.7rem; color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--cream);
  text-align: center; padding: 54px 20px 46px;
}
.footer-patch {
  display: inline-block; background: var(--cream);
  padding: 16px 26px; border-radius: 16px;
  border: 3px solid #000; box-shadow: var(--shadow-lg);
}
.footer-patch img { height: 74px; width: auto; }
.footer-line { font-family: var(--font-script); font-size: 1.5rem; margin: 22px 0 18px; color: #E9E1D2; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 22px; }
.footer-links a {
  font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--cream); opacity: .8; transition: opacity .16s, color .16s;
}
.footer-links a:hover { opacity: 1; color: var(--red); }
.footer-copy { font-size: .72rem; color: rgba(244,239,230,.45); letter-spacing: .02em; }

/* ---------- Product modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(20,18,16,.55); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal-card {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  width: min(940px, 100%); max-height: 90vh; overflow: hidden;
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  animation: pop .28s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 999px; border: none;
  background: rgba(244,239,230,.9); color: var(--ink); font-size: 1.5rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: transform .12s var(--ease);
}
.modal-close:hover { transform: rotate(90deg); }

.modal-gallery { background: var(--paper-2); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 1/1; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px; border: none;
  background: rgba(251,248,242,.92); color: var(--ink); font-size: 1.5rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: background .16s;
}
.gallery-arrow:hover { background: #fff; }
.gallery-prev { left: 10px; } .gallery-next { right: 10px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumbs img {
  width: 60px; height: 60px; flex: 0 0 auto; object-fit: cover;
  border-radius: 8px; border: 2px solid transparent; cursor: pointer; opacity: .7;
  transition: opacity .15s, border-color .15s;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--ink); }

.modal-info { padding: 32px 30px; overflow-y: auto; }
.modal-name { font-weight: 800; font-size: 1.7rem; line-height: 1.15; margin: 0 0 2px; }
.modal-sub { font-family: var(--font-script); color: var(--muted); font-size: 1.4rem; margin: 0 0 10px; }
.modal-price { font-family: var(--font-display); font-size: 1.6rem; margin: 0 0 20px; }
.modal-field { margin-bottom: 20px; }
.field-label { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 9px; }
.field-label span { color: var(--ink); }

.swatch-row { display: flex; gap: 10px; }
.swatch-row .swatch { width: 26px; height: 26px; }

.size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 46px; padding: 10px 12px; border-radius: 10px;
  border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink);
  font-weight: 600; transition: all .14s var(--ease);
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.size-btn.shake { animation: shake .4s; border-color: var(--red); }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 42px; border: none; background: transparent; font-size: 1.2rem; color: var(--ink); }
.qty-stepper button:hover { background: var(--cream); }
.qty-value { min-width: 42px; text-align: center; font-weight: 700; }

.btn-add { width: 100%; margin-top: 6px; }
.modal-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 12px 0 0; }

/* ---------- Cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(20,18,16,.5); backdrop-filter: blur(2px); animation: fade .25s var(--ease); }
.drawer-scrim[hidden] { display: none; }
.cart-drawer {
  position: fixed; top: 0; right: 0; z-index: 120;
  width: min(420px, 100%); height: 100dvh;
  background: var(--paper); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease);
}
.cart-drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; margin: 0; }
.drawer-close { width: 38px; height: 38px; border: none; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--ink); border-radius: 999px; }
.drawer-close:hover { background: var(--cream); }

.drawer-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-empty { flex: 1; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); }
.cart-drawer.empty .drawer-items,
.cart-drawer.empty .drawer-foot { display: none; }
.cart-drawer.empty .drawer-empty { display: flex; }

.cart-line { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line-img { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.cart-line-info { min-width: 0; }
.cart-line-name { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.cart-line-variant { color: var(--muted); font-size: .82rem; margin: 2px 0 8px; }
.cart-line-bottom { display: flex; align-items: center; gap: 12px; }
.cart-line .qty-stepper { border-radius: 8px; }
.cart-line .qty-stepper button { width: 30px; height: 32px; font-size: 1rem; }
.cart-line .qty-value { min-width: 30px; }
.cart-line-remove { background: none; border: none; color: var(--muted); font-size: .76rem; text-decoration: underline; padding: 0; }
.cart-line-remove:hover { color: var(--red); }
.cart-line-price { font-family: var(--font-display); font-size: 1.05rem; align-self: start; }

.drawer-foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.drawer-subtotal { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; margin-bottom: 4px; }
.drawer-subtotal span:last-child { font-family: var(--font-display); font-size: 1.4rem; }
.drawer-ship { text-align: center; color: var(--ink-soft); font-size: .82rem; margin: 4px 0 14px; }
.btn-checkout { width: 100%; }
.btn-checkout.loading { pointer-events: none; opacity: .7; }

/* ---------- On-site checkout modal ---------- */
.checkout-modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.checkout-modal[hidden] { display: none; }
.checkout-scrim { position: fixed; inset: 0; background: rgba(20,18,16,.55); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.checkout-card {
  position: relative; z-index: 1;
  width: min(560px, 100%);
  background: var(--cream); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-strong);
  padding: 0 0 6px; overflow: hidden;
  animation: pop .28s var(--ease);
}
.checkout-close {
  position: absolute; top: 12px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--paper); color: var(--ink); font-size: 1.4rem; line-height: 1;
  box-shadow: var(--shadow-sm); transition: transform .12s var(--ease);
}
.checkout-close:hover { transform: rotate(90deg); }

.checkout-header {
  text-align: center; padding: 22px 20px 16px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(180,33,30,.07), transparent 72%);
  border-bottom: 2px dashed var(--line-strong);
}
.checkout-logo { height: 46px; width: auto; margin: 0 auto 4px; filter: drop-shadow(0 4px 10px rgba(26,24,21,.12)); }
.checkout-tagline { font-family: var(--font-script); color: var(--red); font-size: 1.5rem; margin: 2px 0 0; transform: rotate(-1.5deg); }

.checkout-loading { text-align: center; color: var(--muted); padding: 32px 0; font-weight: 600; }
#embedded-checkout:not(:empty) {
  background: #fff; margin: 14px clamp(10px, 3vw, 16px) 0;
  border-radius: var(--radius); border: 1px solid var(--line);
  padding: 6px; overflow: hidden;
}
.checkout-footer { text-align: center; color: var(--muted); font-size: .78rem; padding: 12px 16px 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  z-index: 200; background: var(--ink); color: var(--cream);
  padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-weight: 600; font-size: .9rem; opacity: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast[hidden] { display: none; }

/* ---------- Sparkle easter egg ---------- */
#sparkle-layer { position: fixed; inset: 0; pointer-events: none; z-index: 300; }
.sparkle { position: fixed; font-size: 20px; will-change: transform, opacity; }
@keyframes sparkle-fly { to { transform: translate(var(--dx), var(--dy)) scale(.3) rotate(var(--rot)); opacity: 0; } }

.rev { animation: rev .55s var(--ease); }
@keyframes rev {
  0%,100% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-5deg) scale(1.06); }
  45% { transform: rotate(4deg) scale(1.06); }
  70% { transform: rotate(-2deg) scale(1.03); }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .modal-card { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal-gallery { padding: 16px; }
  .header-nav { display: none; }
}
@media (max-width: 520px) {
  .brand-logo { height: 34px; }
  .hero-cta { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-name { font-size: .9rem; }
  .quick-view { font-size: .72rem; padding: 9px; }
  .modal-info { padding: 22px 20px; }
}

/* ============================================================
   EMAIL / SMS CAPTURE POPUP
   ============================================================ */
.signup-modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; padding: 20px; }
.signup-modal[hidden] { display: none; }
.signup-scrim { position: fixed; inset: 0; background: rgba(20,18,16,.6); backdrop-filter: blur(3px); animation: fade .25s var(--ease); }
.signup-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 34px 30px 26px;
  text-align: center;
  animation: signup-pop .35s var(--ease);
}
@keyframes signup-pop { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.signup-close {
  position: absolute; top: 10px; right: 14px; z-index: 3;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; line-height: 1; color: var(--muted);
}
.signup-close:hover { color: var(--ink); }
.signup-kicker { font-family: var(--font-script); font-size: 1.35rem; color: var(--red); margin: 0 0 2px; }
.signup-title { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.02; letter-spacing: .5px; color: var(--ink); margin: 0 0 10px; }
.signup-sub { font-size: .92rem; color: var(--ink-soft); margin: 0 auto 18px; max-width: 340px; }
.signup-form { display: flex; flex-direction: column; gap: 10px; }
.signup-input {
  width: 100%; padding: 13px 14px;
  font-family: var(--font-body); font-size: .95rem;
  color: var(--ink); background: var(--cream);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .15s var(--ease);
}
.signup-input:focus { outline: none; border-color: var(--ink); }
.signup-input::placeholder { color: var(--muted); }
.signup-error { color: var(--red-dark); font-size: .82rem; font-weight: 600; margin: 0; }
.signup-submit { width: 100%; margin-top: 4px; }
.signup-decline {
  display: block; margin: 14px auto 0;
  background: none; border: none; cursor: pointer;
  font-size: .78rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px;
}
.signup-decline:hover { color: var(--ink-soft); }
.signup-submit.loading { opacity: .7; pointer-events: none; }

/* success state */
.signup-code {
  display: inline-block; margin: 6px auto 4px;
  font-family: var(--font-display); font-size: 1.9rem; letter-spacing: 2px;
  color: var(--red); background: var(--cream);
  border: 2px dashed var(--red); border-radius: var(--radius);
  padding: 12px 24px; cursor: pointer;
}
.signup-code:hover { background: #fff; }
.signup-code-hint { font-size: .74rem; color: var(--muted); margin: 4px 0 18px; }

@media (max-width: 480px) {
  .signup-card { padding: 28px 20px 22px; }
  .signup-title { font-size: 1.8rem; }
}
