/* Sequin Fight Club — shared tokens, nav, language toggle, merch cards, footer */

:root {
  --lilac: #d6c4de;
  --lilac-deep: #c9b2d3;
  --lilac-soft: #e3d6e9;
  --red: #d8262c;
  --red-deep: #a8151c;
  --ink: #1b0b10;

  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--lilac);
  color: var(--red);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }

::selection { background: var(--red); color: var(--lilac); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Film grain over everything — keeps flat colours from feeling digital */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* Duotone: shadows go red, highlights go lilac */
.duo { position: relative; overflow: hidden; background: #000; isolation: isolate; }
.duo > img { position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.2); }
.duo::before,
.duo::after { content: ""; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.7s var(--ease); }
.duo::before { z-index: 1; background: var(--red); mix-blend-mode: lighten; }
.duo::after { z-index: 2; background: var(--lilac); mix-blend-mode: multiply; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 0 var(--gutter);
  color: var(--lilac);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-solid {
  background: color-mix(in srgb, var(--lilac) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--red);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--red) 35%, transparent);
}
.nav-logo {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: clamp(14px, 2.4vw, 32px); margin-left: auto; }
.nav-links a {
  font-family: var(--f-display);
  font-size: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Language toggle ---------- */
.lang {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  height: 34px;
  padding: 3px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: transform 0.3s var(--ease);
}
.lang:hover { transform: scale(1.06); }
.lang span { position: relative; z-index: 1; width: 34px; text-align: center; line-height: 26px; transition: color 0.35s var(--ease); }
.lang-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 34px; height: 26px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.45s var(--ease);
}
.nav .lang span.is-active { color: var(--red); }
.nav.is-solid .lang span.is-active { color: var(--lilac); }
html[lang="pt"] .lang-knob { transform: translateX(34px); }

/* Text crossfade when the language flips */
.lang-swapping [data-i18n] { animation: lang-swap 0.45s var(--ease); }
@keyframes lang-swap {
  0% { opacity: 0; filter: blur(6px); transform: translateY(0.15em); }
  100% { opacity: 1; filter: none; transform: none; }
}

/* ---------- Merch card (shared look, carousel behaviour varies per option) ---------- */
.product {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--red);
  background: var(--lilac);
  scroll-snap-align: start;
  user-select: none;
  cursor: pointer;
}
.product-art { position: relative; aspect-ratio: 5 / 6; overflow: hidden; border-bottom: 2px solid var(--red); background: #efe6f2; }
.product-art .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply; /* white studio backgrounds melt into the lilac */
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease);
}
.product-art .ph-alt { opacity: 0; mix-blend-mode: normal; }
.product:hover .product-art .ph { transform: scale(1.05); }
.product:hover .product-art .ph-alt { opacity: 1; }
.product.is-soldout .product-art .ph:not(.ph-alt) { filter: grayscale(0.5); opacity: 0.75; }
.badge {
  display: inline-block;
  padding: 5px 10px 4px;
  background: var(--red);
  color: var(--lilac);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}
.product-art .badge { position: absolute; top: 12px; left: 12px; z-index: 1; transform: rotate(-4deg); }
.product-meta { padding: 14px 16px 18px; flex: 1; }
.product-kind { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-deep); }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; }
.product-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); line-height: 1; text-transform: uppercase; }
.product-price { font-family: var(--f-serif); font-style: italic; font-size: 22px; white-space: nowrap; }
.is-soldout .product-price { text-decoration: line-through; text-decoration-thickness: 1px; opacity: 0.7; }
.product-cta {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 46px;
  background: var(--red);
  color: var(--lilac);
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-soldout .product-cta { background: transparent; color: var(--red); border-top: 2px solid var(--red); }
.product-cta span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform 0.45s var(--ease); }
.product-cta span + span { transform: translateY(100%); }
.product:hover .product-cta span:first-child { transform: translateY(-100%); }
.product:hover .product-cta span + span { transform: none; }

/* ---------- Product sheet ---------- */
html.pm-open { overflow: hidden; }
.pm {
  width: min(1120px, calc(100vw - 32px));
  height: min(760px, calc(100svh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 2px solid var(--red);
  background: var(--lilac);
  color: var(--red);
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
}
.pm[open] { display: grid; animation: pm-in 0.5s var(--ease); }
.pm::backdrop { background: rgba(27, 11, 16, 0.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes pm-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } }

.pm-gallery { position: relative; display: flex; flex-direction: column; min-height: 0; background: #fff; border-right: 2px solid var(--red); }
.pm-stage { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.pm-stage::-webkit-scrollbar { display: none; }
.pm-stage img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.pm-arrow {
  position: absolute;
  top: calc(50% - 40px);
  width: 44px; height: 44px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--lilac);
  display: grid;
  place-items: center;
  transition: opacity 0.3s, background-color 0.3s, color 0.3s;
}
.pm-arrow:hover:not(:disabled) { background: var(--red); color: var(--lilac); }
.pm-arrow:disabled { opacity: 0; pointer-events: none; }
.pm-arrow svg { width: 18px; height: 18px; }
.pm-prev { left: 14px; }
.pm-next { right: 14px; }
.pm.is-single .pm-arrow { display: none; }
.pm-thumbs { display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: none; border-top: 2px solid var(--red); background: var(--lilac); }
.pm-thumbs:empty { display: none; }
.pm-thumbs button { flex: 0 0 56px; height: 56px; border: 2px solid transparent; background: #fff; opacity: 0.55; transition: opacity 0.3s, border-color 0.3s; }
.pm-thumbs button.is-active { border-color: var(--red); opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pm-info { overflow-y: auto; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.pm-kind { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-deep); padding-right: 44px; }
.pm-name { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.6vw, 54px); line-height: 0.92; text-transform: uppercase; margin-top: -10px; padding-right: 44px; }
.pm-price { display: flex; align-items: center; gap: 12px; font-family: var(--f-serif); font-style: italic; font-size: 30px; line-height: 1; }
.pm.is-soldout .pm-price s { text-decoration-thickness: 1px; }
.pm-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.pm-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.pm-size { min-width: 48px; height: 40px; padding: 0 12px; border: 1.5px solid var(--red); font-family: var(--f-display); font-size: 15px; transition: background-color 0.25s, color 0.25s; }
.pm-size:hover:not(:disabled), .pm-size.is-picked { background: var(--red); color: var(--lilac); }
.pm-size:disabled { opacity: 0.35; text-decoration: line-through; cursor: not-allowed; }
.pm-desc { display: grid; gap: 10px; font-size: 15px; line-height: 1.55; }
.pm-details { margin: 0; border-top: 1.5px solid var(--red); }
.pm-details div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid color-mix(in srgb, var(--red) 35%, transparent); font-size: 14px; }
.pm-details dt { font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; }
.pm-details dd { margin: 0; }
.pm-chart summary { cursor: pointer; font-family: var(--f-display); text-transform: uppercase; letter-spacing: 0.04em; font-size: 15px; }
.pm-chart table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 14px; }
.pm-chart th, .pm-chart td { text-align: left; padding: 6px 0; border-bottom: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.pm-chart p { margin-top: 8px; font-size: 13px; font-style: italic; }
.pm-cta { width: 100%; min-height: 52px; background: var(--red); color: var(--lilac); font-family: var(--f-display); font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; cursor: default; }
.pm.is-soldout .pm-cta { background: transparent; color: var(--red); border: 2px solid var(--red); }
.pm-foot { font-size: 12px; opacity: 0.8; }
.pm-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  border: 2px solid var(--red);
  border-radius: 50%;
  background: var(--lilac);
  display: grid;
  place-items: center;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.pm-close:hover { background: var(--red); color: var(--lilac); transform: rotate(90deg); }
.pm-close svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .pm { width: 100vw; height: 100svh; border: 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .pm[open] { display: block; }
  .pm-gallery { border-right: 0; border-bottom: 2px solid var(--red); }
  .pm-stage { aspect-ratio: 1; flex: none; }
  .pm-info { overflow: visible; padding-bottom: 40px; }
}

/* Long-form blocks written in both languages (legal pages): show only the active one */
html[lang="en"] [data-lang-block="pt"],
html[lang="pt"] [data-lang-block="en"] { display: none; }

/* Carousel edge fades — toggled by SFC.carousel */
.fade-x {
  --fade-l: 0px;
  --fade-r: 18%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
  transition: --fade-l 0.3s, --fade-r 0.3s;
}
.fade-x.at-start { --fade-l: 0px; }
.fade-x:not(.at-start) { --fade-l: 8%; }
.fade-x.at-end { --fade-r: 0px; }

.arrow-btn {
  width: 52px; height: 52px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), opacity 0.3s;
}
.arrow-btn:hover:not(:disabled) { background: var(--red); color: var(--lilac); }
.arrow-btn:disabled { opacity: 0.3; cursor: default; }
.arrow-btn svg { width: 20px; height: 20px; }

/* ---------- Floating design switcher (preview only) ---------- */
.switcher {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: color-mix(in srgb, var(--lilac) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--red);
  border-radius: 999px;
  box-shadow: 0 12px 32px -12px rgba(27, 11, 16, 0.45);
  color: var(--red);
  transform: translate(-50%, 0);
  animation: switcher-in 0.8s var(--ease) 0.6s both;
}
@keyframes switcher-in { from { opacity: 0; transform: translate(-50%, 20px); } }
.switcher a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.switcher a:hover { background: color-mix(in srgb, var(--red) 12%, transparent); }
.switcher a[aria-current="page"] { background: var(--red); color: var(--lilac); }
.switcher b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 17px; }
.switcher span { font-family: var(--f-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.switcher .switcher-all { padding: 0 11px; }
.switcher .switcher-all svg { width: 15px; height: 15px; }
.switcher-sep { width: 1px; height: 20px; background: currentColor; opacity: 0.3; margin: 0 2px; }
@media (max-width: 640px) {
  .switcher span { display: none; }
  .switcher a { padding: 0 12px; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(40px, 6vw, 80px) var(--gutter) 32px;
  border-top: 2px solid var(--red);
}
.footer-logo { font-family: var(--f-serif); font-style: italic; font-size: clamp(36px, 6vw, 84px); line-height: 0.95; letter-spacing: -0.02em; }
.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 14px; }
.footer-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.footer-legal { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.footer-legal a { font-family: var(--f-display); font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }

@property --fade-l { syntax: "<length-percentage>"; inherits: false; initial-value: 0px; }
@property --fade-r { syntax: "<length-percentage>"; inherits: false; initial-value: 18%; }

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .nav-links a { font-size: 15px; }
  .nav-logo { font-size: 20px; }
  .footer-links { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Leave room so the switcher never covers the footer links */
body[data-option] .footer { padding-bottom: 96px; }


/* ---------- Red-on-lilac nav (main site) ---------- */
.nav--red { color: var(--red); }
.nav--red .lang span.is-active { color: var(--lilac); }
.nav-mark { --logo-stacked: clamp(110px, 11vw, 190px); --logo-line: 22px; position: fixed; left: var(--gutter); top: 18px; z-index: 2; display: block; color: var(--red); }
.nav-mark svg { display: block; fill: currentColor; }
.nav-mark g { transform-box: view-box; transform-origin: 0 0; will-change: transform; }
.nav--red .nav-links a { font-family: var(--f-body); font-weight: 800; font-size: 15px; letter-spacing: 0.01em; }
.bag-btn { position: relative; display: grid; place-items: center; width: 34px; height: 34px; }
.bag-btn[hidden] { display: none; }
.bag-btn svg { width: 24px; height: 24px; }
.bag-btn b { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--red); color: var(--lilac); font-family: var(--f-body); font-size: 10px; font-weight: 800; line-height: 18px; text-align: center; }
.nav:not(.is-solid):not(.nav--red) .bag-btn b { background: var(--lilac); color: var(--red); }

/* ---------- Product tile ---------- */
.tile { flex: 0 0 auto; scroll-snap-align: start; user-select: none; cursor: pointer; }
.tile-art { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; background: #efe6f2; }
.tile-art > img, .tile-art > video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.9s var(--ease); }
.tile:hover .tile-art > img, .tile:hover .tile-art > video { transform: scale(1.05); }
.tile.is-soldout .tile-art > img { filter: grayscale(0.5); opacity: 0.7; }
.tile-chip {
  position: absolute; top: 10px; left: 10px;
  padding: 6px 10px 5px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--red);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  transition: background-color 0.25s, color 0.25s;
}
button.tile-chip:hover { background: var(--red); color: var(--lilac); }
.tile.is-soldout .tile-chip { background: var(--red); color: var(--lilac); }
.tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.tile-meta h3 { font: inherit; }
.tile.is-soldout .tile-meta span { text-decoration: line-through; opacity: 0.7; }

/* ---------- Bag drawer ---------- */
.bag {
  width: min(420px, 100vw);
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  border-left: 2px solid var(--red);
  background: var(--lilac);
  color: var(--red);
  display: none;
  flex-direction: column;
}
.bag[open] { display: flex; animation: bag-in 0.45s var(--ease); }
.bag::backdrop { background: rgba(27, 11, 16, 0.45); }
@keyframes bag-in { from { transform: translateX(100%); } }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 2px solid var(--red); }
.bag-head h2 { font-family: var(--f-display); font-weight: 400; font-size: 32px; line-height: 1; text-transform: uppercase; }
.bag-close { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--red); border-radius: 50%; }
.bag-close:hover { background: var(--red); color: var(--lilac); }
.bag-close svg { width: 16px; height: 16px; }
.bag-lines { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-line { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--red) 35%, transparent); }
.bag-line > img, .bag-line > video { width: 84px; height: 105px; object-fit: cover; border-radius: 6px; background: #efe6f2; }
.bag-name { font-family: var(--f-display); font-size: 20px; line-height: 1; text-transform: uppercase; }
.bag-meta { font-size: 13px; margin-top: 6px; }
.bag-qty { display: inline-flex; align-items: center; margin-top: 12px; border: 1.5px solid var(--red); border-radius: 999px; }
.bag-qty button { width: 32px; height: 30px; font-size: 16px; }
.bag-qty button:disabled { opacity: 0.3; }
.bag-qty span { min-width: 20px; text-align: center; font-weight: 600; font-size: 14px; }
.bag-empty { padding: 32px 0; font-family: var(--f-serif); font-style: italic; font-size: 24px; }
.bag-foot { padding: 20px 24px 24px; border-top: 2px solid var(--red); display: grid; gap: 10px; }
.bag-foot:empty { display: none; }
.bag-total { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 24px; text-transform: uppercase; }
.bag-note { font-size: 12px; }
.bag-msg { padding: 10px 12px; background: var(--red); color: var(--lilac); font-size: 13px; }
.bag-checkout { min-height: 54px; background: var(--red); color: var(--lilac); font-family: var(--f-display); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }
.bag-checkout:disabled { opacity: 0.6; }
.pm-cta:not(:disabled) { cursor: pointer; }
.pm-cta:disabled { background: transparent; color: var(--red); border: 2px solid var(--red); }
.pm-sizes.is-nudged { animation: nudge 0.4s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.pm-stage video { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: start; }
.pm-thumbs video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Falling sequins ---------- */
@property --spin { syntax: "<angle>"; inherits: true; initial-value: 0deg; }
.sequins { position: fixed; inset: 0; z-index: 45; overflow: hidden; pointer-events: none; }
.sequin { position: absolute; top: 0; left: 0; will-change: transform; filter: drop-shadow(0 2px 2px rgba(27, 11, 16, 0.35)); }
.sequin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    /* a band of light that sweeps across when it flips */
    linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.8) 48%, transparent 60%) 100% 0 / 300% 100% no-repeat,
    /* pressed centre around the stitch hole */
    radial-gradient(circle, transparent 0 9%, #7d0a12 10% 13%, #f0434a 14% 19%, #c81c24 20% 27%, #8f0d14 28% 30%, transparent 31%),
    /* cupped facets, each catching the light differently */
    conic-gradient(from var(--spin),
      #ff8a86 0 9%, #c4161f 9% 19%, #8a0b12 19% 27%, #ef3b42 27% 38%, #ffc1bd 38% 44%,
      #d8262c 44% 55%, #9b0d15 55% 64%, #f2545a 64% 74%, #b8141c 74% 85%, #ff7a7a 85% 93%, #d8262c 93%);
  -webkit-mask: radial-gradient(circle, transparent 0 8.5%, #000 10%);
  mask: radial-gradient(circle, transparent 0 8.5%, #000 10%);
  box-shadow: inset 0 0 0 1px rgba(125, 10, 18, 0.6);
  animation: sequin-flip 9s ease-in-out infinite;
  animation-delay: inherit;
  animation-duration: inherit;
}
@keyframes sequin-flip {
  0%, 55%, 100% { transform: rotateX(0) rotateY(0); background-position: 100% 0, 0 0, 0 0; }
  68% { transform: rotateX(18deg) rotateY(58deg); background-position: 50% 0, 0 0, 0 0; }
  82% { transform: rotateX(-10deg) rotateY(-24deg); background-position: 0 0, 0 0, 0 0; }
}
@media (max-width: 860px) {
  .nav-mark { --logo-stacked: 86px; --logo-line: 18px; }
}
