/**
 * ShopifySys Ready themes, niche UI language for every section, card, link, CTA.
 * Design read: premium consumer fashion demos; Taste variance high; Emil micro-motion;
 * shadcn-inspired borders/radius tokens; no AI-purple / Inter-default / equal-card slop.
 */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --press: 0.97;
}

/* , ,  Shared interaction craft (Emil) , ,  */
body.atelier .an-btn,
body.atelier .ui-btn,
body.atelier .an-bag-cta,
body.atelier .an-product,
body.atelier .an-cats__tile,
body.atelier .an-nav a,
body.atelier .an-convert-dock a {
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 220ms var(--ease-out);
}
body.atelier .an-btn:active,
body.atelier .ui-btn:active,
body.atelier .an-bag-cta:active,
body.atelier .an-convert-dock__cta:active {
  transform: scale(var(--press));
}
body.atelier .an-product:active { transform: scale(0.985); }
body.atelier .an-nav a:hover { text-decoration: underline; text-underline-offset: 0.28em; }

/* =========================================================
   T1 Cinema Luxe, noir film, zero radius, cream on ink
   ========================================================= */
body.theme-t1 {
  --radius: 0;
  --niche-card-bg: color-mix(in srgb, var(--bg) 88%, var(--ink) 12%);
  --niche-card-line: var(--line);
}
body.theme-t1 .an-nav a { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
body.theme-t1 .an-product {
  background: var(--niche-card-bg);
  border: 1px solid var(--niche-card-line);
}
body.theme-t1 .an-product__media { border-radius: 0; }
body.theme-t1 .an-product__meta h3 {
  font-family: var(--display); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em;
}
body.theme-t1 .an-product__badge {
  border-radius: 0; letter-spacing: 0.14em; background: var(--sale);
}
body.theme-t1 .an-cats__tile { border-radius: 0; }
body.theme-t1 .an-cats__label { font-family: var(--display); font-size: 1.35rem; }
body.theme-t1 .an-review {
  background: transparent; border: 1px solid var(--niche-card-line); border-radius: 0;
}
body.theme-t1 .an-section .an-h2 { letter-spacing: -0.04em; }
body.theme-t1 .an-pain__levers li,
body.theme-t1 .an-trust-convert__row li {
  background: var(--niche-card-bg); border-color: var(--niche-card-line); border-radius: 0;
}
body.theme-t1 .an-footer a:hover { color: var(--moss); }
body.theme-t1 .an-btn { border-radius: 0; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; }

/* =========================================================
   T2 App Street, pills, soft elevation, thumb chrome
   ========================================================= */
body.theme-t2 {
  --radius: 18px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 96%, var(--ink) 4%);
  --niche-card-line: var(--line);
}
body.theme-t2 .an-nav a {
  border-radius: 999px; padding: 0.4rem 0.75rem;
  background: transparent;
}
body.theme-t2 .an-nav a:hover {
  background: #12100e; color: #fff7ef; -webkit-text-fill-color: #fff7ef;
  text-decoration: none;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--ink) 18%, transparent);
}
body.theme-t2 .an-product {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
body.theme-t2 .an-product__media { border-radius: var(--radius-media, 10px); }
body.theme-t2 .an-product__meta { /* padding owned by theme-type-space.css */ }
body.theme-t2 .an-product__meta h3 {
  font-family: var(--display); text-transform: uppercase; font-size: 0.92rem; letter-spacing: -0.01em;
}
body.theme-t2 .an-product__badge { border-radius: 999px; }
body.theme-t2 .an-btn, body.theme-t2 .ui-btn, body.theme-t2 .an-bag-cta {
  border-radius: 999px !important;
}
body.theme-t2 .an-cats__tile { border-radius: var(--radius-media, 10px); overflow: hidden; }
body.theme-t2 .an-review {
  border: 1px solid var(--niche-card-line); border-radius: var(--radius-media, 10px); background: transparent;
  box-shadow: none;
}
body.theme-t2 .an-rail-block {
  background: transparent; border-radius: 0; margin-inline: 0;
  padding: 0; border: 0; box-shadow: none;
}
body.theme-t2 .an-pain__levers li,
body.theme-t2 .an-trust-convert__row li {
  border-radius: 16px; background: var(--niche-card-bg); border-color: var(--niche-card-line);
}
body.theme-t2 .an-aov-nudge { border-radius: 20px; margin: 0.75rem max(var(--gutter), 5vw); border: 0; }
body.theme-t2 .an-footer a { font-weight: 650; }

/* =========================================================
   T3 Proof Archive, mint stamps, hard offset shadows
   ========================================================= */
body.theme-t3 {
  --radius: 8px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 94%, var(--moss) 6%);
  --niche-card-line: color-mix(in srgb, var(--moss) 45%, var(--ink));
  --cta-bg: var(--moss);
  --cta-fg: var(--on-accent, #fff);
  --cta-border: var(--moss);
}
body.theme-t3 .an-nav a { font-weight: 750; }
body.theme-t3 .an-product {
  background: var(--niche-card-bg);
  border: 2px solid var(--niche-card-line);
  border-radius: 8px;
  box-shadow: 3px 3px 0 var(--moss);
}
body.theme-t3 .an-product:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--moss); }
body.theme-t3 .an-product__meta h3 { font-family: var(--display); }
body.theme-t3 .an-product__badge {
  border-radius: 4px; border: 2px solid transparent; letter-spacing: 0.04em;
}
body.theme-t3 .an-cats__tile {
  border: 2px solid var(--moss); border-radius: 8px; box-shadow: 4px 4px 0 var(--moss);
}
body.theme-t3 .an-review {
  border: 2px solid var(--moss); border-radius: 8px; background: var(--niche-card-bg);
  box-shadow: 4px 4px 0 var(--moss);
}
body.theme-t3 .an-btn--solid {
  border-radius: 8px; box-shadow: 0 10px 24px color-mix(in srgb, var(--moss) 28%, transparent);
}
body.theme-t3 .an-pain__levers li,
body.theme-t3 .an-trust-convert__row li {
  border: 2px solid var(--moss); border-radius: 8px; background: var(--niche-card-bg);
  box-shadow: 3px 3px 0 var(--moss);
}
body.theme-t3 .an-global { background: color-mix(in srgb, var(--moss) 12%, var(--bg)); border-color: var(--niche-card-line); }
body.theme-t3 .an-footer a:hover { color: var(--moss); }

/* =========================================================
   T4 Modern Gallery, hairlines, huge type, no shadow
   ========================================================= */
body.theme-t4 {
  --radius: 0;
  --niche-card-bg: var(--bg);
  --niche-card-line: var(--ink);
}
body.theme-t4 .an-nav a {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
body.theme-t4 .an-product {
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; padding-bottom: 0.85rem;
}
body.theme-t4 .an-product__media { border: 1px solid var(--ink); border-radius: 0; }
body.theme-t4 .an-product__meta h3 {
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em;
}
body.theme-t4 .an-product__badge {
  border-radius: 0; background: var(--ink); color: var(--on-ink, #fff); letter-spacing: 0.12em;
}
body.theme-t4 .an-grid { gap: 1.75rem 1.25rem; }
body.theme-t4 .an-cats__tile { border: 1px solid var(--ink); border-radius: 0; }
body.theme-t4 .an-review { border: 1px solid var(--ink); border-radius: 0; background: var(--bg); box-shadow: none; }
body.theme-t4 .an-btn {
  border-radius: 0 !important; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.7rem; font-weight: 800;
}
body.theme-t4 .an-h2 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); letter-spacing: -0.035em; }
body.theme-t4 .an-pain__levers li,
body.theme-t4 .an-trust-convert__row li {
  border: 1px solid var(--ink); border-radius: 0; background: var(--bg);
}
body.theme-t4 .an-section { border-top: 1px solid var(--line); }
body.theme-t4 .an-footer a { letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }

/* =========================================================
   T5 Utility Catalog, dense, utility borders, tabular meta
   ========================================================= */
body.theme-t5 {
  --radius: 6px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 96%, var(--ink) 4%);
  --niche-card-line: var(--line);
}
body.theme-t5 .an-nav a { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; }
body.theme-t5 .an-product {
  background: var(--niche-card-bg);
  border: 1px solid var(--niche-card-line);
  border-radius: 6px;
}
body.theme-t5 .an-product__meta h3 { font-size: 0.88rem; font-weight: 650; }
body.theme-t5 .an-price { font-variant-numeric: tabular-nums; font-size: 0.82rem; }
@media (min-width: 900px) {
  body.theme-t5 .an-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
body.theme-t5 .an-product__badge {
  border-radius: 4px; font-size: 0.62rem; background: #dc2626;
}
body.theme-t5 .an-cats__tile { border-radius: 6px; border: 1px solid var(--line); }
body.theme-t5 .an-review { border: 1px solid var(--line); border-radius: 6px; background: var(--niche-card-bg); }
body.theme-t5 .an-btn { border-radius: 6px !important; font-family: var(--sans); }
body.theme-t5 .an-pain__levers li,
body.theme-t5 .an-trust-convert__row li {
  border-radius: 6px; border-color: var(--line); background: var(--niche-card-bg);
}
body.theme-t5 .an-global__pill { border-radius: 4px; font-family: ui-monospace, monospace; }
body.theme-t5 .an-header { border-bottom: 2px solid var(--ink); }

/* =========================================================
   T6 Soft Romance, rounded soft cards, rose accents
   ========================================================= */
body.theme-t6 {
  --radius: 8px;
  --radius-media: 10px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 92%, var(--sale) 8%);
  --niche-card-line: color-mix(in srgb, var(--sale) 35%, var(--line));
  --cta-bg: var(--sale);
  --cta-fg: var(--on-sale, #fff);
  --cta-border: var(--sale);
}
body.theme-t6 .an-nav a { font-weight: 650; }
body.theme-t6 .an-product {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
body.theme-t6 .an-product__media { border-radius: var(--radius-media, 10px); }
body.theme-t6 .an-product__meta h3 {
  font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.1rem;
}
body.theme-t6 .an-product__badge { border-radius: 999px; background: #e11d48; }
body.theme-t6 .an-cats__tile { border-radius: var(--radius-media, 10px); overflow: hidden; }
body.theme-t6 .an-review {
  border: 1px solid var(--niche-card-line); border-radius: var(--radius-media, 10px); background: transparent;
}
body.theme-t6 .an-btn--solid { border-radius: 999px !important; }
body.theme-t6 .an-btn--ghost-dark { border-radius: 999px !important; }
body.theme-t6 .an-pain__levers li,
body.theme-t6 .an-trust-convert__row li {
  border-radius: 18px; background: var(--niche-card-bg); border-color: var(--niche-card-line);
}
body.theme-t6 .an-manifesto {
  border-radius: 0; margin-inline: 0; border: 0;
  background: #3b1c14;
  color: #fff7f5;
}
body.theme-t6 .an-manifesto blockquote,
body.theme-t6 .an-manifesto p,
body.theme-t6 .an-manifesto__text {
  color: #fff7f5;
}
body.theme-t6 .an-ugc figure { border-radius: 50%; }
body.theme-t6 .an-footer a:hover { color: var(--sale); }

/* =========================================================
   T7 Travel Linen, ticket dashes, cool navy accents
   ========================================================= */
body.theme-t7 {
  --radius: 12px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 94%, var(--moss) 6%);
  --niche-card-line: var(--moss);
  --cta-bg: var(--moss);
  --cta-fg: var(--on-accent, #fff);
  --cta-border: var(--moss);
}
body.theme-t7 .an-nav a { font-weight: 700; letter-spacing: 0.04em; }
body.theme-t7 .an-product {
  background: var(--niche-card-bg);
  border: 1px dashed color-mix(in srgb, var(--moss) 55%, transparent);
  border-radius: 14px;
}
body.theme-t7 .an-product__meta h3 { font-family: var(--display); letter-spacing: -0.02em; }
body.theme-t7 .an-product__badge { border-radius: 6px; background: var(--sale); color: var(--on-sale, #fff); }
body.theme-t7 .an-cats__tile {
  border: 1px dashed var(--moss); border-radius: 14px;
}
body.theme-t7 .an-review {
  border: 1px solid var(--moss); border-radius: 14px; background: var(--niche-card-bg);
}
body.theme-t7 .an-btn--solid { border-radius: 12px !important; }
body.theme-t7 .an-rail-block {
  background: color-mix(in srgb, var(--moss) 7%, transparent);
  border-radius: 16px; margin-inline: max(var(--gutter), 5vw); padding: 1rem;
}
body.theme-t7 .an-pain__levers li,
body.theme-t7 .an-trust-convert__row li {
  border: 1px dashed var(--moss); border-radius: 12px; background: var(--niche-card-bg);
}
body.theme-t7 .an-global { background: color-mix(in srgb, var(--moss) 10%, var(--bg)); }
body.theme-t7 .an-aov-nudge { border-style: dashed; border-color: var(--moss); }

/* =========================================================
   T8 Craft Workwear, stamped borders, mono specs
   ========================================================= */
body.theme-t8 {
  --radius: 0;
  --niche-card-bg: color-mix(in srgb, var(--bg) 92%, var(--moss) 8%);
  --niche-card-line: var(--ink);
  --cta-bg: var(--moss);
  --cta-fg: var(--on-accent, #fff);
  --cta-border: var(--ink);
}
body.theme-t8 .an-nav a {
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem;
}
body.theme-t8 .an-product {
  background: var(--niche-card-bg);
  border: 2px solid var(--niche-card-line);
  border-radius: 0;
}
body.theme-t8 .an-product__meta h3 { font-family: var(--display); font-size: 1.05rem; }
body.theme-t8 .an-product__badge {
  border-radius: 0; border: 2px solid var(--ink); background: var(--moss); color: var(--on-accent, #fff); letter-spacing: 0.1em;
}
body.theme-t8 .an-cats__tile { border: 3px solid var(--ink); border-radius: 0; }
body.theme-t8 .an-review {
  border: 2px solid var(--ink); border-radius: 0; background: var(--niche-card-bg);
}
body.theme-t8 .an-btn {
  border-radius: 0 !important; border-width: 2px !important;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; font-weight: 800;
}
body.theme-t8 .an-pain__levers li,
body.theme-t8 .an-trust-convert__row li {
  border: 2px solid var(--ink); border-radius: 0; background: var(--niche-card-bg);
}
body.theme-t8 .an-pain__levers strong {
  font-family: ui-monospace, monospace; letter-spacing: 0.14em;
}
body.theme-t8 .an-craft { border-block: 4px solid var(--moss); background: var(--niche-card-bg); }

/* =========================================================
   T9 Noir Column, high contrast columns, museum quiet
   ========================================================= */
body.theme-t9 {
  --radius: 0;
  --niche-card-bg: color-mix(in srgb, var(--bg) 90%, var(--ink) 10%);
  --niche-card-line: var(--line);
}
body.theme-t9 .an-nav a {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
body.theme-t9 .an-product {
  background: transparent; border: 0;
}
body.theme-t9 .an-product__media {
  border: 1px solid var(--niche-card-line); border-radius: 0;
}
body.theme-t9 .an-product__meta h3 {
  font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.04em;
}
body.theme-t9 .an-grid { gap: 1.75rem; }
@media (min-width: 900px) {
  body.theme-t9 .an-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.theme-t9 .an-cats__tile {
  background: var(--niche-card-bg); border: 1px solid var(--line); border-radius: 0;
}
body.theme-t9 .an-review {
  background: transparent; border: 1px solid var(--niche-card-line); border-radius: 0;
}
body.theme-t9 .an-btn {
  border-radius: 0 !important; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem;
}
body.theme-t9 .an-pain__levers li,
body.theme-t9 .an-trust-convert__row li {
  background: var(--niche-card-bg); border: 1px solid var(--niche-card-line); border-radius: 0;
}
body.theme-t9 .an-footer a:hover { color: var(--moss); }

/* =========================================================
   T10 Fast Lane, loud sale, cyan rails, warehouse clarity
   ========================================================= */
body.theme-t10 {
  --radius: 8px;
  --niche-card-bg: color-mix(in srgb, var(--bg) 96%, var(--moss) 4%);
  --niche-card-line: var(--line);
  --cta-bg: var(--moss);
  --cta-fg: var(--on-accent, #fff);
  --cta-border: var(--moss);
}
body.theme-t10 .an-nav a { font-weight: 800; text-transform: uppercase; font-size: 0.75rem; }
body.theme-t10 .an-nav__sale {
  background: var(--sale); color: #fff !important; border-radius: 4px; padding: 0.35rem 0.55rem !important;
}
body.theme-t10 .an-product {
  background: var(--niche-card-bg);
  border: 1px solid var(--niche-card-line);
  border-radius: 8px;
}
body.theme-t10 .an-product__meta h3 {
  font-family: var(--display); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.02em;
}
body.theme-t10 .an-product__badge {
  border-radius: 4px; background: var(--sale); color: var(--on-sale, #fff); font-weight: 800;
}
body.theme-t10 .an-cats__tile { border-radius: 8px; }
body.theme-t10 .an-review {
  border: 1px solid var(--moss); border-radius: 8px; background: var(--niche-card-bg);
}
body.theme-t10 .an-btn--solid {
  border-radius: 8px !important; text-transform: uppercase; font-weight: 800;
}
body.theme-t10 .an-btn--sale { border-radius: 8px !important; }
body.theme-t10 .an-marquee { background: var(--moss); color: #fff; }
body.theme-t10 .an-sale-banner { background: var(--sale); color: #fff; border: 0; }
body.theme-t10 .an-sale-banner .an-btn--ghost-dark {
  color: #fff !important; border-color: rgba(255, 255, 255, 0.65) !important;
}
body.theme-t10 .an-sale-banner .an-btn--ghost-dark .an-btn__label { color: #fff !important; }
body.theme-t10 .an-pain__levers li,
body.theme-t10 .an-trust-convert__row li {
  border-radius: 8px; border-color: color-mix(in srgb, var(--moss) 35%, var(--line));
  background: color-mix(in srgb, var(--moss) 10%, var(--bg));
}
body.theme-t10 .an-aov-nudge {
  background: color-mix(in srgb, var(--moss) 12%, var(--bg)); border-color: color-mix(in srgb, var(--moss) 40%, var(--line));
}
body.theme-t10 .an-convert-dock__cta {
  background: var(--sale) !important; color: #fff !important; border-color: var(--sale) !important;
}

/* , ,  PDP FOMO, 10 unique niche layouts (not the same bar restyled) , ,  */

/* T1 Cinema, end-credit reel strip */
body.theme-t1 .an-pdp-fomo--cinema {
  display: grid; grid-template-columns: 0.7rem 1fr; gap: 0.9rem;
  border-radius: 0; border: 0; padding: 0;
  background: #0e0d0c; color: #f4efe6;
}
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__reel {
  background:
    repeating-linear-gradient(180deg, #1a1816 0 10px, #0e0d0c 10px 18px);
  border-right: 1px solid rgba(244,239,230,.2);
}
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__body { padding: 0.95rem 1rem 1rem 0; }
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__kicker { color: #e8a598; }
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__title,
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__help { color: #f4efe6; }
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__title {
  font-family: var(--display); font-weight: 400; font-size: 1.15rem; letter-spacing: -.02em;
  margin-bottom: 0.45rem;
}
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__clock {
  --fomo-clock-bg: #f4efe6;
  --fomo-clock-fg: #0e0d0c;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(14, 13, 12, 0.12);
  background: #f4efe6 !important;
  color: #0e0d0c !important;
  -webkit-text-fill-color: #0e0d0c !important;
}
body.theme-t1 .an-pdp-fomo--cinema .an-pdp-fomo__clock :is(b, small, .an-pdp-fomo__sep, .an-pdp-fomo__unit) {
  color: #0e0d0c !important;
  -webkit-text-fill-color: #0e0d0c !important;
}
/* Footer cinema, title/help stay readable; clock sits under copy (not a crushed 0.7rem column) */
body.theme-t1 .an-footer-cta__fomo.an-pdp-fomo--cinema .an-footer-cta__title {
  max-width: min(100%, 28ch);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.15;
  white-space: normal;
}
body.theme-t1 .an-footer-cta__fomo.an-pdp-fomo--cinema .an-footer-cta__help,
body.theme-t1 .an-footer-cta__fomo.an-pdp-fomo--cinema .an-footer-cta__trust {
  color: #f4efe6 !important;
  max-width: 46ch;
}
body.theme-t1 .an-footer-cta__fomo.an-pdp-fomo--cinema .an-footer-cta__clock {
  margin-top: 0.85rem;
  justify-self: start;
}

/* T2 Street, app push card */
body.theme-t2 .an-pdp-fomo--push {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
  border-radius: 22px; border: 0;
  background: #fff; box-shadow: 0 14px 34px color-mix(in srgb, var(--ink) 14%, transparent);
  padding: 0.9rem 1rem;
}
body.theme-t2 .an-pdp-fomo--push .an-pdp-fomo__dot {
  width: 0.7rem; height: 0.7rem; border-radius: 999px; background: #16a34a;
  box-shadow: 0 0 0 4px color-mix(in srgb, #16a34a 22%, transparent);
}
body.theme-t2 .an-pdp-fomo--push .an-pdp-fomo__app { color: #16a34a; margin-bottom: 0.15rem; }
body.theme-t2 .an-pdp-fomo--push .an-pdp-fomo__title { margin: 0; font-size: 0.98rem; }
body.theme-t2 .an-pdp-fomo--push .an-pdp-fomo__help { margin: 0.25rem 0 0; font-size: 0.8rem; }
body.theme-t2 .an-pdp-fomo--push .an-pdp-fomo__clock {
  --fomo-clock-bg: var(--moss);
  --fomo-clock-fg: #fff;
}

/* T3 Proof, mint stamp card */
body.theme-t3 .an-pdp-fomo--proof {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; align-items: start;
  border: 2px solid #047857; border-radius: 8px;
  background: #ecfdf5; box-shadow: 4px 4px 0 #047857;
}
body.theme-t3 .an-pdp-fomo--proof .an-pdp-fomo__stamp {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: #047857; border-right: 2px dashed #047857; padding: 0.2rem 0.45rem;
}
body.theme-t3 .an-pdp-fomo--proof .an-pdp-fomo__kicker { color: #047857; }
body.theme-t3 .an-pdp-fomo--proof .an-pdp-fomo__clock {
  --fomo-clock-bg: #047857;
  --fomo-clock-fg: #ecfdf5;
  border-radius: 6px;
}

/* T4 Gallery, museum plaque */
body.theme-t4 .an-pdp-fomo--plaque {
  border-radius: 0; border: 1px solid var(--ink); background: #f5f5f4;
  text-align: center; padding: 1.15rem 1.25rem;
}
body.theme-t4 .an-pdp-fomo--plaque .an-pdp-fomo__kicker { color: var(--ink); }
body.theme-t4 .an-pdp-fomo--plaque .an-pdp-fomo__title {
  font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -.03em;
}
body.theme-t4 .an-pdp-fomo--plaque .an-pdp-fomo__clock {
  --fomo-clock-bg: var(--ink);
  --fomo-clock-fg: #fff;
  border-radius: 0;
  margin: 0.4rem auto 0.15rem;
}
body.theme-t4 .an-pdp-fomo--plaque .an-pdp-fomo__help { margin-inline: auto; }
body.theme-t4 .an-pdp-fomo--plaque .an-pdp-fomo__meta {
  margin-top: 0.75rem; color: var(--ink); border-top: 1px solid var(--ink); padding-top: 0.55rem;
}

/* T5 Catalog, SKU / warehouse ticket */
body.theme-t5 .an-pdp-fomo--sku {
  border-radius: 10px; border: 1px dashed color-mix(in srgb, var(--ink) 35%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, #cbd5e1 12%);
  font-family: var(--sans);
}
body.theme-t5 .an-pdp-fomo--sku .an-pdp-fomo__skurow {
  display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem;
}
body.theme-t5 .an-pdp-fomo--sku .an-pdp-fomo__sku {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; color: var(--ink);
  font-family: ui-monospace, monospace;
}
body.theme-t5 .an-pdp-fomo--sku .an-pdp-fomo__title {
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.88rem; font-weight: 800;
}
body.theme-t5 .an-pdp-fomo--sku .an-pdp-fomo__clock {
  --fomo-clock-bg: var(--ink);
  --fomo-clock-fg: #fff;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* T6 Bloom, soft ribbon */
body.theme-t6 .an-pdp-fomo--ribbon {
  border-radius: 18px; border: 0; padding: 0.75rem 1rem;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(254,205,211,.55), transparent 55%),
    linear-gradient(135deg, #fff1f2, #ffe4e6 60%, #fff7ed);
}
body.theme-t6 .an-pdp-fomo--ribbon .an-pdp-fomo__kicker { color: #be123c; }
body.theme-t6 .an-pdp-fomo--ribbon .an-pdp-fomo__title {
  font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.1rem;
}
body.theme-t6 .an-pdp-fomo--ribbon .an-pdp-fomo__help { margin-top: 0.3rem; }
body.theme-t6 .an-pdp-fomo--ribbon .an-pdp-fomo__clock {
  --fomo-clock-bg: #be123c;
  --fomo-clock-fg: #fff;
}

/* T7 Travel, departure board */
body.theme-t7 .an-pdp-fomo--boarding {
  border-radius: 12px; border: 0; padding: 0; overflow: hidden;
  background: #0b1f33; color: #e8f1ff;
}
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__boardhead {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0.95rem; background: #1d4e89;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
}
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__boardrow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.85rem 0.95rem 0.35rem;
}
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__title,
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__help { color: #e8f1ff; margin: 0; }
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__help { padding: 0 0.95rem 0.95rem; opacity: 0.92; }
body.theme-t7 .an-pdp-fomo--boarding .an-pdp-fomo__clock {
  --fomo-clock-bg: #38bdf8;
  --fomo-clock-fg: #0b1f33;
  border-radius: 4px;
  box-shadow: none;
}

/* T8 Craft, cut sheet / workshop */
body.theme-t8 .an-pdp-fomo--cutsheet {
  border-radius: 0; border: 2px solid var(--ink); background: #f5f0e6;
  background-image: repeating-linear-gradient(
    0deg, transparent, transparent 27px, color-mix(in srgb, var(--ink) 10%, transparent) 28px
  );
}
body.theme-t8 .an-pdp-fomo--cutsheet .an-pdp-fomo__sheethead {
  display: flex; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.35rem;
}
body.theme-t8 .an-pdp-fomo--cutsheet .an-pdp-fomo__meta { color: var(--ink); }
/* Solid ochre stamp, never washed/gray type on the fill */
body.theme-t8 .an-pdp-fomo--cutsheet .an-pdp-fomo__kicker {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.28rem 0.55rem;
  background: var(--moss) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 2px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1 !important;
}
body.theme-t8 .an-pdp-fomo--cutsheet .an-pdp-fomo__title {
  font-family: var(--display); font-weight: 500; text-transform: none;
  letter-spacing: -0.03em; font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  color: var(--ink) !important;
  margin-bottom: 0.45rem;
}
body.theme-t8 .an-pdp-fomo--cutsheet .an-pdp-fomo__clock {
  --fomo-clock-bg: var(--ink);
  --fomo-clock-fg: #fff;
  border-radius: 0;
  box-shadow: inset 0 0 0 2px var(--ink);
}

/* T8 last-chance footer, stamp + headline + timer, no orphan orange bricks */
body.theme-t8 .an-footer-cta {
  text-align: center;
  border-top: 3px solid var(--ink);
  background: #f5f0e6;
}
body.theme-t8 .an-footer-cta__in {
  justify-items: center;
  max-width: min(40rem, 100%);
}
body.theme-t8 .an-footer-cta__fomo {
  width: 100%;
  text-align: center;
  border: 2px solid var(--ink);
  padding: 1.35rem 1.25rem 1.2rem;
}
body.theme-t8 .an-footer-cta__fomo-copy { text-align: center; }
body.theme-t8 .an-footer-cta__title {
  margin-inline: auto !important;
  text-align: center !important;
  max-width: 18ch;
}
body.theme-t8 .an-footer-cta__help,
body.theme-t8 .an-footer-cta__trust {
  margin-inline: auto;
  max-width: 40ch;
}
body.theme-t8 .an-footer-cta__clock {
  justify-content: center;
  margin-top: 1rem;
}
body.theme-t8 .an-footer-cta__actions { justify-content: center; }

/* T9 Noir, quiet archival still */
body.theme-t9 .an-pdp-fomo--still {
  border-radius: 0; border: 0; border-block: 1px solid var(--ink);
  background: transparent; padding: 0.85rem 0;
}
body.theme-t9 .an-pdp-fomo--still .an-pdp-fomo__kicker { color: var(--ink); letter-spacing: 0.18em; }
body.theme-t9 .an-pdp-fomo--still .an-pdp-fomo__stillrow {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem;
}
body.theme-t9 .an-pdp-fomo--still .an-pdp-fomo__title {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: -.03em; margin: 0.2rem 0 0;
}
body.theme-t9 .an-pdp-fomo--still .an-pdp-fomo__clock {
  /* Hard pair, never var(--ink)/var(--bg) (ink is page type = white on noir) */
  --fomo-clock-bg: #f4efe6;
  --fomo-clock-fg: #0a0908;
  border-radius: 0;
}
body.theme-t9 .an-pdp-fomo--still .an-pdp-fomo__help { max-width: 36ch; }

/* T10 Flash, progress lane */
body.theme-t10 .an-pdp-fomo--flash {
  border-radius: 16px; border: 0; overflow: hidden; padding: 0.95rem 1rem 1rem;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827); color: #fff;
}
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__flashbar {
  height: 0.35rem; border-radius: 999px; background: rgba(255,255,255,.14); margin-bottom: 0.75rem; overflow: hidden;
}
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__flashbar i {
  display: block; height: 100%; width: 62%;
  background: linear-gradient(90deg, var(--sale), #fb7185);
  animation: an-fomo-flash 2.4s ease-in-out infinite alternate;
}
@keyframes an-fomo-flash { from { width: 48%; } to { width: 78%; } }
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__kicker { color: #fda4af; }
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__title,
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__help { color: #fff; }
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__title {
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; font-weight: 800; margin: 0.15rem 0 0;
}
body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__clock {
  --fomo-clock-bg: var(--sale);
  --fomo-clock-fg: #fff;
}

@media (prefers-reduced-motion: reduce) {
  body.theme-t10 .an-pdp-fomo--flash .an-pdp-fomo__flashbar i { animation: none; width: 62%; }
}

/* , ,  PDP feature badges + trust (every Ready theme) , ,  */
body.atelier .an-feature-badges { margin-bottom: 0.85rem; }
body.atelier .an-feature-badge {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
  background: color-mix(in srgb, var(--bg) 90%, var(--moss) 10%);
}
/* Icon uses cta-bg (always contrast-safe), moss can be near-white (T9) */
body.atelier .an-feature-badge .an-icon { color: var(--cta-bg, var(--ink)); }
body.atelier .an-trust { color: var(--ink); }
body.atelier .an-trust span { color: var(--ink); opacity: 1; }
body.atelier .an-trust .an-icon { color: var(--moss); }

body.theme-t1 .an-feature-badge { border-radius: 0; background: color-mix(in srgb, var(--bg) 86%, var(--ink) 14%); }
body.theme-t1 .an-trust { letter-spacing: 0.02em; }

body.theme-t2 .an-feature-badge { border-radius: 999px; box-shadow: 0 6px 16px color-mix(in srgb, var(--ink) 8%, transparent); }
body.theme-t2 .an-trust li { gap: 0.65rem; }

body.theme-t3 .an-feature-badge {
  border-radius: 6px; border-width: 2px; border-color: var(--moss);
  box-shadow: 2px 2px 0 var(--moss);
}
body.theme-t3 .an-trust .an-icon { color: #047857; }

body.theme-t4 .an-feature-badge { border-radius: 0; border-color: var(--ink); background: var(--bg); }
body.theme-t4 .an-trust { font-weight: 550; }

body.theme-t5 .an-feature-badge { border-radius: 8px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }
body.theme-t5 .an-trust { font-size: 0.88rem; }

body.theme-t6 .an-feature-badge {
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, #fecdd3 12%);
  border-color: color-mix(in srgb, #fda4af 40%, var(--line));
}

body.theme-t7 .an-feature-badge {
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 90%, #1d4e89 10%);
}
body.theme-t7 .an-trust .an-icon { color: #1d4e89; }

body.theme-t8 .an-feature-badge {
  border-radius: 4px; border-width: 2px; border-color: var(--ink);
  background: #f5f0e6;
}

body.theme-t9 .an-feature-badge { border-radius: 0; background: color-mix(in srgb, var(--bg) 92%, var(--ink) 8%); }
body.theme-t9 .an-trust { letter-spacing: 0.01em; }

body.theme-t10 .an-feature-badge {
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 88%, var(--sale) 12%);
  border-color: color-mix(in srgb, var(--sale) 35%, var(--line));
}
body.theme-t10 .an-trust .an-icon { color: var(--sale); }

/* , ,  Prefer-reduced-motion , ,  */
@media (prefers-reduced-motion: reduce) {
  body.atelier .an-btn,
  body.atelier .ui-btn,
  body.atelier .an-product,
  body.atelier .an-nav a {
    transition: none;
  }
  body.atelier .an-btn:active,
  body.atelier .ui-btn:active,
  body.atelier .an-product:active {
    transform: none;
  }
}
