/* =========================================================
   Civic Proud — Merch Store Design System
   ========================================================= */

:root {
  /* Brand palette — civic-Americana / campaign-poster, not SaaS */
  --ink: #16233a;
  --ink-70: rgba(22, 35, 58, 0.7);
  --ink-45: rgba(22, 35, 58, 0.45);
  --ink-12: rgba(22, 35, 58, 0.12);
  --ink-06: rgba(22, 35, 58, 0.06);

  --paper: #f6f1e7;
  --paper-2: #efe6d3;
  --paper-3: #e7dbc0;

  --red: #b3312c;
  --red-dark: #8f2521;
  --gold: #d9a441;
  --gold-dark: #b8842c;
  --blue: #2e4c6d;

  --cream-ink: #16233a;
  --white: #fffdf8;

  --shadow-sm: 0 1px 2px rgba(22, 35, 58, 0.08);
  --shadow-md: 0 8px 24px rgba(22, 35, 58, 0.10);
  --shadow-lg: 0 24px 64px rgba(22, 35, 58, 0.16);

  --radius-sm: 4px;
  --radius-md: 10px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select { font: inherit; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow.on-dark { color: var(--gold); }

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.15;
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-70);
  max-width: 46ch;
  line-height: 1.6;
}
.mono-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--red); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-outline.on-dark { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn-outline.on-dark:hover { background: var(--paper); color: var(--ink); }
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; }
.btn-text {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-text:hover { gap: 10px; color: var(--red); }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
}
.announce span { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink-12);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand .seal { width: 34px; height: 34px; flex: none; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-top: 1px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-primary a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.3s var(--ease);
}
.nav-primary a:hover::after, .nav-primary a.active::after { right: 0; }
.nav-primary a.active { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.icon-btn { position: relative; display: inline-flex; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--red);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 26px var(--gutter);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .close-row { display: flex; justify-content: flex-end; }
.mobile-nav ul { margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(246,241,231,0.14);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero .container {
  padding-top: clamp(60px, 10vw, 120px);
  padding-bottom: clamp(60px, 8vw, 100px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero h1 { color: var(--paper); }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lede { color: rgba(246,241,231,0.72); margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stage {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-stage .stage-ring {
  position: absolute;
  inset: 4%;
  border: 1.5px dashed rgba(246,241,231,0.22);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-stage .stage-ring2 {
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(217,164,65,0.35);
  border-radius: 50%;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-stage .stage-art { width: 62%; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.35)); }

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-stage { max-width: 320px; margin: 0 auto; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  padding: 14px 34px;
  white-space: nowrap;
  border-right: 1px solid rgba(22,35,58,0.25);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
  flex-wrap: wrap;
}
.section-head h2 { max-width: 20ch; }
.section-tight { padding-top: 0; }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-paper2 { background: var(--paper-2); }
.bg-red { background: var(--red); color: var(--paper); }

/* ---------- Category tiles (home) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius-md);
  background: var(--paper-2);
  padding: 30px 22px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid var(--ink-12);
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-tile .cat-art { position: absolute; top: 14px; right: 10px; width: 58%; opacity: 0.92; transition: transform 0.5s var(--ease); }
.cat-tile:hover .cat-art { transform: translateY(-4px) rotate(-2deg) scale(1.04); }
.cat-tile h3 { position: relative; z-index: 2; }
.cat-tile span.count { position: relative; z-index: 2; font-size: 12px; color: var(--ink-45); margin-top: 4px; }

@media (max-width: 980px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

.product-card { display: block; }
.card-media {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ink-12);
}
.card-media .art {
  width: 78%;
  position: absolute;
  left: 50%; top: 52%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease);
}
.product-card:hover .card-media .art { transform: translate(-50%, -54%) scale(1.05); }
.card-media .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 3;
}
.card-media .tag.gold { background: var(--gold); color: var(--ink); }
.card-media .quickadd {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  transform: translateY(14px);
  opacity: 0;
  transition: all 0.3s var(--ease);
  z-index: 3;
}
.product-card:hover .card-media .quickadd { transform: translateY(0); opacity: 1; }
.card-info { padding: 14px 2px 0; }
.card-info .cat { font-size: 11px; color: var(--ink-45); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.card-info h3 { font-size: 1.05rem; margin-top: 4px; }
.card-info .price { margin-top: 6px; font-weight: 600; font-size: 14px; }
.card-info .price .was { color: var(--ink-45); text-decoration: line-through; font-weight: 400; margin-right: 6px; }
.swatches { display: flex; gap: 6px; margin-top: 10px; }
.swatch { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.6); box-shadow: 0 0 0 1px var(--ink-12); }

/* ---------- Filters / shop toolbar ---------- */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 34px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink-12);
}
.pill-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink-12);
  transition: all 0.25s var(--ease);
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort-select {
  border: none;
  border-bottom: 1.5px solid var(--ink);
  padding: 6px 22px 6px 2px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2316233a'/%3E%3C/svg%3E") right 4px center no-repeat;
  appearance: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.result-count { font-size: 12px; color: var(--ink-45); font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* ---------- Editorial / Journal ---------- */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.editorial-card { border-radius: var(--radius-md); overflow: hidden; background: var(--paper-2); border: 1px solid var(--ink-12); transition: transform 0.4s var(--ease); }
.editorial-card:hover { transform: translateY(-6px); }
.editorial-media { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; }
.editorial-body { padding: 22px 22px 26px; }
.editorial-body .mono-label { margin-bottom: 8px; }
.editorial-body p { color: var(--ink-70); margin-top: 10px; font-size: 14px; }
@media (max-width: 900px) { .editorial-grid { grid-template-columns: 1fr; } }

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.3;
  max-width: 22ch;
}

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split-art { display: flex; align-items: center; justify-content: center; }
.stat-row { display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.stat-row .stat b { font-family: var(--font-display); font-size: 2.2rem; display: block; }
.stat-row .stat span { font-size: 12px; color: var(--ink-45); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

/* ---------- Testimonial / badges strip ---------- */
.badge-strip {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  padding: 30px 0;
  border-top: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
}
.badge-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--ink-70); }
.badge-item svg { width: 26px; height: 26px; flex: none; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--red);
  color: var(--paper);
  border-radius: var(--radius-md);
  padding: clamp(36px, 6vw, 60px);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 800px) { .newsletter { grid-template-columns: 1fr; } }
.newsletter h2 { color: var(--paper); }
.newsletter form { display: flex; gap: 10px; }
.newsletter input[type="email"] {
  flex: 1;
  background: rgba(246,241,231,0.12);
  border: 1.5px solid rgba(246,241,231,0.4);
  border-radius: 999px;
  padding: 14px 20px;
  color: var(--paper);
}
.newsletter input::placeholder { color: rgba(246,241,231,0.6); }
.newsletter .btn-gold { flex: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246,241,231,0.14);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { color: var(--paper); }
.footer-brand p { margin-top: 14px; color: rgba(246,241,231,0.6); font-size: 14px; max-width: 32ch; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(246,241,231,0.78); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 12px;
  color: rgba(246,241,231,0.5);
  flex-wrap: wrap;
  gap: 10px;
}
.social-row { display: flex; gap: 14px; }
.social-row a svg { width: 18px; height: 18px; opacity: 0.7; transition: opacity 0.2s; }
.social-row a:hover svg { opacity: 1; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 12px; color: var(--ink-45); font-weight: 600; letter-spacing: 0.03em; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Product Detail Page ---------- */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
}
@media (max-width: 940px) { .pdp { grid-template-columns: 1fr; gap: 34px; } }
.pdp-gallery {
  position: sticky;
  top: 110px;
  align-self: start;
}
.pdp-media {
  aspect-ratio: 1/1;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pdp-media .art { width: 62%; filter: drop-shadow(0 22px 40px rgba(22,35,58,0.14)); }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.pdp-thumbs button {
  width: 66px; height: 66px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  border: 1.5px solid var(--ink-12);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.pdp-thumbs button.active { border-color: var(--ink); }

.pdp-info .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 8px; }
.pdp-price { font-size: 1.3rem; font-weight: 600; margin-top: 14px; }
.pdp-desc { margin-top: 20px; color: var(--ink-70); max-width: 52ch; }

.option-block { margin-top: 30px; }
.option-block .label-row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.option-block .label-row .mono-label { font-size: 12px; }
.size-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-chip {
  min-width: 46px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-12);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
}
.size-chip:hover { border-color: var(--ink); }
.size-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.color-row { display: flex; gap: 10px; }
.color-chip {
  width: 30px; height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--ink-12);
  border: 2px solid var(--paper);
  outline: 2px solid transparent;
  transition: outline-color 0.2s;
}
.color-chip.active { outline-color: var(--ink); }

.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.qty-stepper { display: flex; align-items: center; border: 1.5px solid var(--ink-12); border-radius: 999px; }
.qty-stepper button { width: 38px; height: 40px; font-size: 16px; }
.qty-stepper span { width: 30px; text-align: center; font-weight: 600; }

.pdp-actions { display: flex; gap: 12px; margin-top: 24px; }
.pdp-actions .btn-primary { flex: 1; }

.pdp-meta { margin-top: 40px; border-top: 1px solid var(--ink-12); }
.accordion-item { border-bottom: 1px solid var(--ink-12); }
.accordion-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 2px;
  font-weight: 600;
  font-size: 14px;
}
.accordion-item .chev { transition: transform 0.3s var(--ease); }
.accordion-item.open .chev { transform: rotate(45deg); }
.accordion-item .panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
  font-size: 14px;
  color: var(--ink-70);
}
.accordion-item.open .panel { max-height: 200px; padding-bottom: 18px; }

.added-toast {
  position: fixed;
  bottom: 26px; right: 26px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
  z-index: 400;
  font-size: 14px;
}
.added-toast.show { transform: translateY(0); }
.added-toast strong { color: var(--gold); }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 50px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink-12);
}
.cart-line .thumb { width: 90px; height: 90px; background: var(--paper-2); border-radius: var(--radius-sm); border: 1px solid var(--ink-12); display: flex; align-items: center; justify-content: center; }
.cart-line .thumb .art { width: 68%; }
.cart-line h4 { font-size: 1rem; }
.cart-line .opts { font-size: 12px; color: var(--ink-45); margin-top: 4px; }
.cart-line .line-price { font-weight: 600; }
.cart-line .row-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; }
.cart-line .remove-btn { font-size: 12px; color: var(--ink-45); text-decoration: underline; }
.cart-line .remove-btn:hover { color: var(--red); }

.summary-card {
  background: var(--paper-2);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: 110px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--ink-70); }
.summary-row.total { font-weight: 700; font-size: 16px; color: var(--ink); border-top: 1px solid var(--ink-12); padding-top: 14px; margin-top: 14px; }
.empty-cart { text-align: center; padding: 80px 0; }
.empty-cart .art { width: 160px; margin: 0 auto 26px; opacity: 0.8; }

/* ---------- Checkout (placeholder) ---------- */
.checkout-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper-2);
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-md);
  padding: clamp(30px, 5vw, 50px);
  text-align: center;
}
.checkout-panel .seal { width: 70px; margin: 0 auto 22px; }
.checkout-form { margin-top: 28px; text-align: left; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink-70); }
.field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--ink-12);
  background: var(--white);
}
.field input:focus { outline: none; border-color: var(--ink); }
.checkout-success { display: none; }
.checkout-success.show { display: block; }
.checkout-success .art { width: 90px; margin: 0 auto 20px; }

/* ---------- About page ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 20px; }
.timeline-item { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--ink-12); }
.timeline-item:last-child { border-bottom: 1px solid var(--ink-12); }
.timeline-item b { font-family: var(--font-display); font-size: 1.3rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .values-grid { grid-template-columns: 1fr; } }
.value-card { padding: 30px; background: var(--paper-2); border-radius: var(--radius-md); border: 1px solid var(--ink-12); }
.value-card svg { width: 32px; height: 32px; margin-bottom: 18px; }

/* ---------- Utility ---------- */
.center { text-align: center; margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0 !important; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
