/* Craftguru Resin — base layout + glass UI (motion.css adds animation layer) */

:root {
  --white: #ffffff;
  --ink: #12141a;
  --ink-soft: #2a303c;
  --mist-0: #f4f7fb;
  --mist-1: #e8eef6;
  --mist-2: #d8e3f0;
  --blue-veil: #a8c4e8;
  --accent: #3b6fd9;
  --glass-dark: rgba(16, 20, 32, 0.52);
  --stroke-soft: rgba(255, 255, 255, 0.12);
  --shadow-dock: 0 18px 50px rgba(15, 25, 45, 0.22);
  --shadow-float: 0 32px 80px rgba(20, 35, 60, 0.28), 0 12px 32px rgba(20, 35, 60, 0.14);
  --shadow-card: 0 20px 50px rgba(15, 30, 55, 0.18);
  --radius-pill: 999px;
  --radius-xl: 1.75rem;
  --radius-2xl: 2.25rem;
  --font-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Syne", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  background: linear-gradient(168deg, var(--mist-0) 0%, var(--mist-1) 22%, var(--mist-2) 48%, #c5d5e8 78%, #9eb4cf 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Storefront: brighter “gallery white” look (vendor portal keeps vendor-saas theme). */
body:not(.vendor-saas) {
  background: linear-gradient(168deg, #fdfefe 0%, #f6f7fa 35%, #eef1f6 70%, #e4e9f1 100%);
}

body:not(.vendor-saas) .mesh-gradient {
  opacity: 0.35;
}

body:not(.vendor-saas) .tone-shift {
  opacity: 0.25;
}

body:not(.vendor-saas) .animated-backdrop .orb {
  opacity: 0.14;
}

body:not(.vendor-saas) .grid-lines {
  opacity: 0.045;
}

body:not(.vendor-saas) .mist {
  opacity: 0.32;
}

body:not(.vendor-saas) .noise-overlay {
  opacity: 0.035;
}

body:not(.vendor-saas) .band-shop {
  background: linear-gradient(175deg, #ffffff 0%, #f7f8fb 40%, #eef1f6 100%);
  color: var(--ink);
  box-shadow: 0 -10px 48px rgba(20, 30, 45, 0.06);
}

body:not(.vendor-saas) .band-sub {
  color: rgba(15, 23, 42, 0.64);
}

body:not(.vendor-saas) .band-tagline {
  color: rgba(15, 23, 42, 0.52);
}

body:not(.vendor-saas) .band-empty {
  color: rgba(26, 32, 44, 0.45);
}

body:not(.vendor-saas) .band-shop .product-card {
  background: #ffffff;
  border: 1px solid rgba(26, 32, 44, 0.08);
  box-shadow: 0 14px 44px rgba(20, 30, 45, 0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:not(.vendor-saas) .band-shop .product-card-image {
  background: linear-gradient(160deg, #f0f3f8, #dde4ef);
}

body:not(.vendor-saas) .band-shop .product-card h3,
body:not(.vendor-saas) .band-shop .price {
  color: var(--ink);
}

body:not(.vendor-saas) .band-shop .price small,
body:not(.vendor-saas) .band-shop .product-card__from,
body:not(.vendor-saas) .band-shop .price-note {
  color: rgba(26, 32, 44, 0.48);
}

body:not(.vendor-saas) .band-shop .add-btn {
  border-color: rgba(26, 32, 44, 0.12);
  background: #111318;
  color: #ffffff;
}

body:not(.vendor-saas) .band-shop .add-btn:hover {
  background: #252a33;
}

body:not(.vendor-saas) .band-shop .product-badge {
  background: rgba(255, 255, 255, 0.92);
  color: #1a1f2e;
  border: 1px solid rgba(26, 32, 44, 0.1);
}

body:not(.vendor-saas) .band-shop .crumb {
  color: rgba(26, 32, 44, 0.48);
}

body:not(.vendor-saas) .band-shop .crumb a {
  color: rgba(26, 32, 44, 0.68);
}

body:not(.vendor-saas) .band-shop .crumb a:hover {
  color: var(--accent);
}

body:not(.vendor-saas) .band-shop .pagination {
  border-top-color: rgba(26, 32, 44, 0.08);
}

body:not(.vendor-saas) .band-shop .pager-btn {
  background: #ffffff;
  border: 1px solid rgba(26, 32, 44, 0.12);
  color: var(--ink);
}

body:not(.vendor-saas) .band-shop .pager-btn:hover {
  background: #f4f5f8;
}

body:not(.vendor-saas) .band-shop .pager-info {
  color: rgba(26, 32, 44, 0.48);
}

body:not(.vendor-saas) .band-shop .band-title {
  color: #0f1218;
}

body:not(.vendor-saas) .hero-atelier__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body:not(.vendor-saas) .hero-atelier__kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0d56a, #c9a227);
  flex-shrink: 0;
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mist {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.mist-a {
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(200, 220, 245, 0.4) 55%, transparent 70%);
}

.mist-b {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  top: 28%;
  right: -8%;
  background: radial-gradient(circle, rgba(230, 240, 255, 0.85), rgba(170, 200, 235, 0.35) 60%, transparent 72%);
}

.mist-c {
  width: min(100vw, 900px);
  height: 280px;
  bottom: -5%;
  left: 15%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.35), transparent 65%);
  opacity: 0.4;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Craftguru mark — barely visible behind orbs / mist (homepage only) */
.watermark-brand {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  width: min(28rem, 78vw);
  max-height: min(50vh, 420px);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.055;
  mix-blend-mode: multiply;
}

.watermark-brand__img {
  width: 100%;
  height: 100%;
  max-height: min(50vh, 420px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: saturate(0.9) contrast(0.92);
}

.site-top {
  position: relative;
  width: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem clamp(1rem, 3vw, 2rem);
  pointer-events: none;
}

.site-top > * {
  pointer-events: auto;
}

.site-top--fx {
  z-index: 3;
  transition:
    padding 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.site-top--fx::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(120, 180, 255, 0.45) 20%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(200, 160, 255, 0.4) 80%,
    transparent
  );
  opacity: 0.55;
  pointer-events: none;
}

.site-top--fx.is-scrolled {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(15, 35, 65, 0.1);
  border-radius: 0 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.brand__text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
}

.brand__tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.brand__logo-img {
  flex-shrink: 0;
  width: auto;
  height: 84px;
  max-width: min(400px, 72vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(35, 55, 110, 0.14);
}

/* Storefront: round mark, ~20% smaller, softer frame */
body:not(.vendor-saas) .brand__logo-img {
  height: 67px;
  max-width: min(320px, 68vw);
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.95),
    0 10px 28px rgba(25, 45, 90, 0.12);
}

@media (max-width: 520px) {
  .brand__logo-img {
    height: 56px;
    max-width: min(280px, 78vw);
  }

  body:not(.vendor-saas) .brand__logo-img {
    height: 45px;
    max-width: min(224px, 72vw);
  }
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0;
}

.nav-dock {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem 0.45rem;
  border-radius: var(--radius-pill);
  background: var(--glass-dark);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-dock);
}

.nav-dock-link {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-dock-link:hover,
.nav-dock-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.22);
}

.nav-dock-link.is-active,
.nav-dock-link.nav-dock-link--active {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.nav-dock-link.is-active:hover,
.nav-dock-link.is-active:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.brand--fx {
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
}

.brand--fx:hover,
.brand--fx:focus-visible {
  opacity: 0.95;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.btn-cart {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(20, 35, 55, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-cart:hover,
.btn-cart:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(20, 35, 55, 0.22);
  outline: none;
}

.btn-cart.is-active {
  background: #eef2ff;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.35), 0 12px 28px rgba(20, 35, 55, 0.18);
}

.btn-cart-label {
  opacity: 0.92;
}

.cart-count {
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding: 2.25rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-content: start;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    align-items: center;
    column-gap: 2rem;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .hero-stage {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .hero-tags {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

.hero-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 3.65rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.hero-title-line.accent {
  background: linear-gradient(120deg, var(--ink) 0%, #4a6aa8 45%, var(--blue-veil) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-deck {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(26, 32, 44, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.btn-glass-dome {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.65rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(230, 240, 255, 0.45));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(25, 45, 80, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn-glass-dome:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 55px rgba(25, 45, 80, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.btn-glass-dome-shine {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 48%);
  pointer-events: none;
}

.btn-text-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 32, 44, 0.2);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.btn-text-arrow:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: clamp(380px, 48vw, 560px);
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

@media (min-width: 960px) {
  .hero-stage {
    min-height: clamp(420px, 44vw, 580px);
  }
}

.hero-tilt {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Hero — split clock showcase (catalog left, web mood right) */
.hero-visual--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  max-width: min(100%, 760px);
  margin-inline: auto;
  align-items: stretch;
}

@media (min-width: 640px) {
  .hero-visual--split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.75rem, 2.5vw, 1.35rem);
    max-width: min(100%, 820px);
  }
}

.hero-visual__panel {
  position: relative;
  border-radius: clamp(1.35rem, 3vw, 2.25rem);
  isolation: isolate;
}

.hero-visual__frame {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  min-height: clamp(300px, 42vw, 480px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.4), rgba(216, 227, 240, 0.55));
  box-shadow:
    0 24px 60px rgba(20, 40, 70, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hero-visual__frame img {
  width: 100%;
  height: 100%;
  min-height: clamp(300px, 42vw, 480px);
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
  filter: saturate(1.06) contrast(1.03);
}

.hero-visual__feather {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
}

.hero-visual__feather--left {
  background: radial-gradient(
    ellipse 95% 85% at 55% 45%,
    transparent 0%,
    transparent 42%,
    rgba(244, 247, 251, 0.35) 72%,
    rgba(244, 247, 251, 0.92) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero-visual__feather--right {
  background: radial-gradient(
    ellipse 100% 90% at 40% 50%,
    transparent 0%,
    transparent 38%,
    rgba(232, 238, 246, 0.4) 70%,
    rgba(244, 247, 251, 0.88) 100%
  );
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.hero-visual__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.55), transparent 55%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero-visual__panel--catalog .hero-visual__frame {
  animation: hero-clock-drift 9s ease-in-out infinite;
}

.hero-visual__panel--web .hero-visual__frame--accent {
  box-shadow:
    0 28px 70px rgba(25, 45, 95, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-visual__web-img {
  object-position: 50% 35%;
}

.hero-visual__accent-bar {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 32px rgba(15, 30, 55, 0.12);
  z-index: 3;
}

.hero-visual__accent-eyebrow {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
  margin-bottom: 0.2rem;
}

.hero-visual__accent-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-visual__accent-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-visual__accent-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@keyframes hero-clock-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 959px) {
  .hero-stage {
    flex-direction: column;
  }
}

.hero-tags {
  padding-top: 0.5rem;
}

.hero-tags-label {
  margin: 0 0 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.55);
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 35, 55, 0.06);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.category-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.45);
}

.category-pill.is-active {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(59, 111, 217, 0.45);
  color: var(--accent);
  box-shadow: 0 12px 32px rgba(35, 60, 110, 0.12);
}

/* Header — global catalog search (futuristic dock) */
.global-find {
  position: relative;
  z-index: 8;
}

.global-find__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(18, 24, 36, 0.88);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(210, 228, 255, 0.35));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65),
    0 0 24px rgba(100, 160, 255, 0.35),
    0 10px 28px rgba(20, 40, 80, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    color 0.2s ease;
}

.global-find__trigger:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow:
    0 0 0 1px rgba(180, 210, 255, 0.9),
    0 0 32px rgba(90, 140, 255, 0.45),
    0 14px 36px rgba(20, 40, 80, 0.16);
  color: var(--accent);
}

.global-find__trigger[aria-expanded="true"] {
  color: var(--accent);
  box-shadow:
    0 0 0 2px rgba(59, 111, 217, 0.45),
    0 0 40px rgba(59, 111, 217, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.global-find__orbit {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(120, 170, 255, 0.45);
  box-shadow:
    0 0 16px rgba(100, 160, 255, 0.35),
    inset 0 0 12px rgba(255, 255, 255, 0.35);
  opacity: 0.75;
  pointer-events: none;
  animation: global-find-pulse 3.2s ease-in-out infinite;
}

@keyframes global-find-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .global-find__orbit {
    animation: none;
    opacity: 0.5;
  }
}

.global-find__glyph {
  position: relative;
  z-index: 1;
  display: block;
}

.global-find__popover {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  width: min(100vw - 2rem, 20rem);
  z-index: 20;
}

.global-find__panel {
  position: relative;
  padding: 1rem 1.05rem 0.95rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, rgba(232, 240, 255, 0.88) 100%);
  box-shadow:
    0 24px 60px rgba(15, 30, 55, 0.22),
    0 0 0 1px rgba(59, 111, 217, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  overflow: hidden;
}

.global-find__panel-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(120, 170, 255, 0.35), transparent 65%);
  pointer-events: none;
}

.global-find__kicker {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.42);
}

.global-find__sort-block {
  position: relative;
  margin-bottom: 0.6rem;
}

.global-find__filter-block {
  position: relative;
  margin-bottom: 0.6rem;
}

.global-find__mini-label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.global-find__select {
  width: 100%;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.42rem 0.55rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(59, 111, 217, 0.2);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.global-find__input {
  position: relative;
  width: 100%;
  font: inherit;
  font-size: 0.88rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: inset 0 2px 8px rgba(59, 111, 217, 0.06);
}

.global-find__input::placeholder {
  color: rgba(26, 32, 44, 0.38);
}

.global-find__input:focus {
  outline: none;
  border-color: rgba(59, 111, 217, 0.45);
  box-shadow:
    0 0 0 3px rgba(59, 111, 217, 0.15),
    inset 0 2px 8px rgba(59, 111, 217, 0.08);
}

.global-find__hint {
  position: relative;
  margin: 0.5rem 0 0;
  min-height: 1.1em;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(26, 32, 44, 0.48);
}

.site-top-end .global-find {
  flex-shrink: 0;
}

.is-catalog-hidden {
  display: none !important;
}

.checkout-line--dimmed,
.checkout-snip-wrap.checkout-line--dimmed {
  opacity: 0.32;
  transition: opacity 0.2s ease;
}

.band-shop {
  margin-top: 1rem;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  background: linear-gradient(175deg, #7d8fa5 0%, #5c6b82 18%, #3e4758 42%, #2a3140 72%, #1e2430 100%);
  color: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow: 0 -20px 60px rgba(20, 30, 45, 0.15);
}

.band-shop-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 720px) {
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }
}

.band-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.band-sub {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.band-tagline {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  max-width: 22ch;
  text-align: right;
}

@media (max-width: 719px) {
  .band-tagline {
    text-align: left;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (min-width: 540px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.band-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}

.product-card {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-xl);
  overflow: visible;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.product-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: linear-gradient(160deg, #5a6a82, #3d4658);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(12, 16, 24, 0.55);
  backdrop-filter: blur(8px);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.product-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

/* Listing grids: single CTA row (no share / tap hint) */
.product-meta.product-meta--cta {
  align-items: center;
  justify-content: flex-end;
  min-height: 2.75rem;
}

.price {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

.price small {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

.add-btn {
  position: relative;
  z-index: 3;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.add-btn--mini {
  font-size: 0.68rem;
  padding: 0.45rem 0.85rem;
}

.add-btn--mini--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.product-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-xl);
}

.product-card--out-of-stock .product-card__link {
  pointer-events: none;
  cursor: default;
}

.product-card--out-of-stock .product-card-share {
  pointer-events: none;
  opacity: 0.45;
}

.product-card-image,
.product-card-body {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.product-card .add-btn {
  pointer-events: auto;
}

.product-card__from {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.price-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.product-card__media {
  width: 100%;
  height: 100%;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grey the whole photo area (image + badge read as one muted block). */
.product-card--out-of-stock .product-card-image {
  filter: grayscale(1) brightness(0.65) contrast(0.95);
}

.product-card--out-of-stock .product-card__media img {
  filter: none;
  opacity: 0.92;
}

.product-card--out-of-stock .product-card-body {
  opacity: 0.9;
}

.product-card--out-of-stock .product-card__from {
  color: rgba(255, 255, 255, 0.42);
}

.product-card__oos-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem;
  text-align: center;
  pointer-events: auto;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.05), rgba(10, 14, 22, 0.62));
}

.product-card--out-of-stock .product-card-image::after {
  content: "OUT OF STOCK";
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.7rem, 2.4vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(-14deg);
  pointer-events: none;
}

.product-card__oos-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fecaca;
}

.product-card__oos-note {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  max-width: 14rem;
}

.product-card--out-of-stock .add-btn,
.product-card--out-of-stock .add-btn--mini {
  opacity: 0.4;
  pointer-events: none;
}

.product-oos-banner {
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(127, 29, 29, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.product-oos-banner__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-oos-banner__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

body.product-page--oos .size-dock--primary,
body.product-page--oos .qty-dock--under-photo {
  opacity: 0.45;
  pointer-events: none;
}

body.product-page--oos .btn-add-lg {
  opacity: 0.45;
  pointer-events: none;
}

.product-card__media--sub {
  min-height: 200px;
  background: rgba(255, 255, 255, 0.06);
}

.subcategory-card__ph {
  width: 100%;
  min-height: 200px;
  background: linear-gradient(145deg, rgba(200, 220, 255, 0.25), rgba(80, 120, 200, 0.15));
}

.section-about {
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.section-about--signal {
  max-width: min(1040px, 100%);
}

.about-glass {
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow-card);
}

.about-glass--signal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.52) 0%,
      rgba(236, 244, 255, 0.45) 42%,
      rgba(248, 242, 255, 0.4) 100%
    ),
    rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow:
    var(--shadow-card),
    0 0 0 1px rgba(59, 111, 217, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.about-glass--signal::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 55%;
  background: radial-gradient(
    ellipse 70% 55% at 50% 0%,
    rgba(120, 170, 255, 0.18),
    transparent 72%
  );
  pointer-events: none;
}

.about-signal-kicker {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.75);
}

.about-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.about-title--signal {
  position: relative;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, var(--ink) 0%, rgba(59, 111, 217, 0.92) 55%, rgba(100, 80, 180, 0.88) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-signal-lead {
  position: relative;
  margin: 0 0 1.35rem;
  font-size: clamp(0.9rem, 1.9vw, 1.02rem);
  line-height: 1.65;
  color: rgba(26, 32, 44, 0.78);
}

.about-signal-grid {
  position: relative;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .about-signal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.about-signal-card {
  margin: 0;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 28px rgba(20, 40, 80, 0.06);
}

.about-signal-card__h {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-signal-card__p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(26, 32, 44, 0.68);
}

.about-signal-foot {
  position: relative;
  margin: 0 0 0.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(26, 32, 44, 0.65);
}

.about-glass p:not(.about-signal-lead):not(.about-signal-foot):not(.about-more) {
  margin: 0;
  color: rgba(26, 32, 44, 0.75);
  font-size: 0.95rem;
}

.about-more {
  margin: 1rem 0 0;
}

.about-more a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.about-more a:hover {
  text-decoration: underline;
}

/* Testimonials */
.testimonials {
  position: relative;
  z-index: 1;
  padding: 3.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials-inner {
  text-align: center;
}

.testimonials-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.testimonials-sub {
  margin: 0 0 2rem;
  color: rgba(26, 32, 44, 0.55);
  font-size: 0.95rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: left;
}

@media (min-width: 900px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(20, 40, 70, 0.14);
}

.quote-card--accent {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.75), rgba(220, 235, 255, 0.5));
}

.quote-stars {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: #e8a838;
}

.quote-card blockquote {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(26, 32, 44, 0.85);
}

.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.quote-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #7cb9ff);
  color: var(--white);
}

.quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.8rem;
  color: rgba(26, 32, 44, 0.55);
}

.quote-meta strong {
  color: var(--ink);
  font-size: 0.88rem;
}

/* Connect — Instagram + YouTube + WhatsApp (homepage) */
.connect-strip {
  position: relative;
  z-index: 1;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 0.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.connect-strip__inner {
  border-radius: var(--radius-2xl);
  padding: 2rem clamp(1.25rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.connect-strip__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.connect-strip__lead {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  color: rgba(26, 32, 44, 0.58);
  line-height: 1.55;
  max-width: 52ch;
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 720px) {
  .connect-grid {
    gap: 2rem;
  }
}

.connect-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.connect-card__sub {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(26, 32, 44, 0.62);
  line-height: 1.45;
}

.connect-card__sub a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.connect-card__sub a:hover {
  text-decoration: underline;
}

.connect-qr-wrap {
  display: inline-block;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(40, 25, 55, 0.12);
  line-height: 0;
}

.connect-qr-wrap img {
  width: min(240px, 82vw);
  height: auto;
  display: block;
}

.connect-wa {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(26, 32, 44, 0.1);
  box-shadow: 0 10px 28px rgba(20, 90, 55, 0.08);
}

.connect-wa:hover {
  border-color: rgba(37, 160, 95, 0.45);
  color: #126b3d;
}

.connect-wa--yt:hover {
  border-color: rgba(179, 18, 23, 0.45);
  color: #b31217;
}

/* Social brand hits (YouTube / WhatsApp) — sized to read next to the Instagram QR card */
.connect-brand-hit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.75rem, 12vw, 6.25rem);
  height: clamp(4.75rem, 12vw, 6.25rem);
  border-radius: clamp(1.05rem, 2.5vw, 1.35rem);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 32, 44, 0.1);
  box-shadow: 0 10px 28px rgba(20, 90, 55, 0.08);
  color: #0f0f0f;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.connect-brand-hit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.connect-brand-hit--yt {
  color: #ff0000;
}

.connect-brand-hit--yt:hover {
  border-color: rgba(255, 0, 0, 0.35);
}

.connect-brand-hit--wa {
  color: #25d366;
}

.connect-brand-hit--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
}

.connect-brand-hit__svg {
  display: block;
  width: clamp(2.5rem, 6.5vw, 3.35rem);
  height: clamp(2.5rem, 6.5vw, 3.35rem);
  flex-shrink: 0;
}

/* Mega footer */
.site-footer--mega {
  text-align: left;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.footer-logo {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.footer-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(26, 32, 44, 0.55);
  max-width: 28ch;
  line-height: 1.5;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: rgba(26, 32, 44, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-faux {
  font-size: 0.85rem;
  color: rgba(26, 32, 44, 0.55);
}

.footer-copy {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.4);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Sitemap footer — same glass / mist theme as the rest of the site */
.site-footer--craftguru {
  margin-top: 2.5rem;
  max-width: none;
  text-align: left;
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem) 2.25rem;
  background: transparent;
  color: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-sitemap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.75rem clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
}

@media (min-width: 640px) {
  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-sitemap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }
}

.footer-sitemap__title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.footer-sitemap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-sitemap__list li {
  margin-bottom: 0.42rem;
}

.footer-sitemap__list a {
  color: rgba(26, 32, 44, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.footer-sitemap__list a:hover {
  color: var(--accent);
}

.footer-connect__line {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  color: rgba(26, 32, 44, 0.78);
}

.footer-connect__line a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.footer-connect__line a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-connect__muted {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  color: rgba(26, 32, 44, 0.52);
  line-height: 1.45;
}

.footer-connect__icon {
  margin-right: 0.25rem;
  opacity: 0.85;
}

.footer-newsletter {
  margin: 0;
}

.footer-newsletter__field {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 18px rgba(15, 35, 65, 0.06);
}

.footer-newsletter__input {
  flex: 1;
  border: none;
  padding: 0.62rem 0.75rem;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  min-width: 0;
  background: transparent;
}

.footer-newsletter__input:focus {
  outline: none;
}

.footer-newsletter__btn {
  border: none;
  border-left: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.65);
  color: rgba(26, 32, 44, 0.55);
  padding: 0 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.footer-newsletter__btn:hover {
  background: rgba(59, 111, 217, 0.1);
  color: var(--accent);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.footer-social__link {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: rgba(26, 32, 44, 0.65);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(26, 32, 44, 0.1);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.footer-social__link--wide {
  width: auto;
  min-width: 2.1rem;
  padding: 0 0.4rem;
  border-radius: 999px;
}

.footer-social__link:hover {
  background: linear-gradient(175deg, #3b6fd9, #284fa8);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.footer-copy--craftguru {
  max-width: 1180px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.42);
}

.site-footer--compact {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
}

.site-footer--compact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Subpages */
.sub-main {
  position: relative;
  z-index: 1;
  padding-top: 1.35rem;
  min-height: 60vh;
}

.band-shop--flush {
  margin-top: 0;
  border-radius: 0;
}

.crumb {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.25rem;
}

.crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
}

.crumb a:hover {
  color: var(--white);
}

.section-head--solo {
  margin-bottom: 1.75rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.pager-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.pager-info {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Product detail — Step 2: size dock is the default focal control */
.product-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 3rem;
}

.product-crumb,
.crumb.product-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(26, 32, 44, 0.45);
  margin: 0 0 0.75rem;
}

.product-crumb a,
.crumb.product-crumb a {
  color: rgba(26, 32, 44, 0.6);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.product-crumb a:hover {
  color: var(--accent);
}

.crumb-sep {
  opacity: 0.35;
}

.crumb-current {
  color: var(--ink);
  font-weight: 600;
  max-width: 100%;
}

.flow-step {
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(26, 32, 44, 0.45);
}

.flow-step--animate {
  animation: flow-fade 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.flow-step__n {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  margin-right: 0.35rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.15), rgba(200, 220, 255, 0.5));
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-step__muted {
  font-weight: 500;
  color: rgba(26, 32, 44, 0.35);
}

.flow-step--on-dark {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.flow-step--on-dark .flow-step__n {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.95);
}

@keyframes flow-fade {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.product-layout--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .product-layout--split {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 2.75rem;
    align-items: stretch;
  }

  .product-layout--split.product-layout--buy-tight {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, min(26.25rem, 100%));
    gap: 2rem;
    align-items: start;
  }
}

.product-detail--buy-column {
  width: 100%;
  max-width: min(26.25rem, 100%);
  box-sizing: border-box;
}

.product-overview--under-visual {
  margin-bottom: 0;
}

.product-visual--fx {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-catalog-gallery {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-catalog-gallery--multi {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: clamp(0.65rem, 1.5vw, 1.1rem);
  align-items: stretch;
}

.product-catalog-gallery__thumb-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(420px, 52vh);
  min-height: 0;
}

.product-catalog-gallery__track {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(12, 18, 34, 0.06);
}

.product-catalog-gallery__nav {
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(12, 18, 34, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: rgba(26, 32, 44, 0.55);
  font-size: 0.65rem;
  line-height: 1;
  padding: 0.28rem 0.15rem;
  cursor: pointer;
}

.product-catalog-gallery__nav:hover {
  border-color: rgba(91, 33, 182, 0.35);
  color: #5b21b6;
}

.product-catalog-gallery__nav[hidden] {
  display: none;
}

/* Vendor colour swatches on catalog PDP (same tokens as raw-material PDP) */
.page-product .pd-color-dock {
  margin-bottom: 0.85rem;
}

.page-product .pd-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.page-product .rm-color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, 0.12);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.page-product .rm-color-swatch:hover {
  transform: scale(1.08);
}

.page-product .rm-color-swatch.is-on {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #5b21b6;
}

.page-product .size-options .rm-opt-pill {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding: 0.55rem 1rem;
  cursor: pointer;
}

.page-product .size-options .rm-opt-pill.is-on {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(5, 150, 105, 0.12));
  border-color: rgba(5, 150, 105, 0.45);
  color: #064e3b;
}

.rm-pdp-thumb-nav[hidden] {
  display: none;
}

.product-catalog-gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(12, 18, 34, 0.05);
}

.product-catalog-gallery__thumb.is-active {
  border-color: #5b21b6;
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.14);
}

.product-catalog-gallery__thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

.product-catalog-gallery__hero {
  min-width: 0;
}

@media (max-width: 640px) {
  .product-catalog-gallery--multi {
    grid-template-columns: minmax(0, 1fr) 64px;
  }

  .product-catalog-gallery__thumb-col {
    max-height: min(320px, 45vh);
  }
}

.qty-dock--under-photo {
  width: 100%;
}

.product-hero-img--fx {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(160deg, #e8eef6, #cfd9e8);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.product-hero-img__glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 30%, rgba(120, 200, 255, 0.25), transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: img-glow-pulse 5s ease-in-out infinite;
}

@keyframes img-glow-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.product-hero-img--fx img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.product-detail--purchase {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.25rem 0;
}

.product-title--fx {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
}

.product-meta-line {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.4);
}

#productCategoryBadge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(59, 111, 217, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.product-meta-share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 1.25rem;
}

.product-meta-share-row .product-meta-line {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.product-meta-share-row .product-share-bar {
  margin: 0;
  flex: 0 0 auto;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 48px rgba(20, 40, 80, 0.08);
}

.size-dock--primary {
  border-radius: var(--radius-2xl);
  padding: 1.25rem 1.35rem 1.4rem;
  margin-bottom: 1.35rem;
  order: 0;
}

.size-dock__head {
  margin-bottom: 1rem;
}

.size-dock__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.size-dock__sub {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(26, 32, 44, 0.52);
}

.size-dock__sub strong {
  font-weight: 600;
  color: rgba(26, 32, 44, 0.72);
}

.size-dock__multi-hint {
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(15, 76, 117, 0.92);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(255, 255, 255, 0.65));
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: var(--radius-lg);
}

.size-dock__hint-sep {
  opacity: 0.45;
}

/* Relative scale meter (read-only, syncs with selection) */
.size-scale {
  margin: 0 0 1.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.06), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(59, 111, 217, 0.12);
}

.size-scale__labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.35);
  margin-bottom: 0.45rem;
}

.size-scale__labels span {
  flex: 1;
  text-align: center;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.size-scale[data-sel="s"] .size-scale__labels span[data-k="s"],
.size-scale[data-sel="m"] .size-scale__labels span[data-k="m"],
.size-scale[data-sel="l"] .size-scale__labels span[data-k="l"] {
  color: var(--accent);
  opacity: 1;
}

.size-scale__track {
  position: relative;
  height: 6px;
  border-radius: 99px;
  background: rgba(26, 32, 44, 0.08);
  overflow: hidden;
}

.size-scale__fill {
  display: block;
  height: 100%;
  width: 66.66%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7eb0ff, #3b6fd9 55%, #1e3a8a);
  box-shadow: 0 0 20px rgba(59, 111, 217, 0.35);
  transition: width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.size-scale[data-sel="s"] .size-scale__fill {
  width: 33.33%;
}

.size-scale[data-sel="m"] .size-scale__fill {
  width: 66.66%;
}

.size-scale[data-sel="l"] .size-scale__fill {
  width: 100%;
}

.size-scale.size-scale--compact {
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.5rem 0.4rem;
}

.size-scale.size-scale--compact .size-scale__labels {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.28rem;
}

.size-scale.size-scale--compact .size-scale__track {
  height: 4px;
}

.size-dock.size-dock--compact {
  padding: 0.85rem 1rem 1rem;
  margin-bottom: 1rem;
}

.size-dock.size-dock--compact .size-dock__head {
  margin-bottom: 0.55rem;
}

.size-dock.size-dock--compact .size-dock__title {
  margin: 0;
  font-size: 0.92rem;
}

.size-pick__dim:empty {
  display: none;
}

.page-product .size-pick {
  padding: 0.65rem 0.45rem 0.75rem;
  gap: 0.28rem;
}

.page-product .size-pick__figure {
  min-height: 72px;
  margin-bottom: 0;
}

.page-product .size-pick__svg {
  width: calc(52px * var(--viz));
}

/* Luxury size tiles — isometric figure + specs */
.size-options--lux {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .size-options--lux {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    align-items: stretch;
  }
}

.size-pick {
  --viz: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1rem 0.65rem 1.05rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.09);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(236, 244, 255, 0.55) 100%);
  cursor: pointer;
  font-family: inherit;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.3s ease,
    box-shadow 0.4s ease,
    background 0.35s ease;
}

.size-pick::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(120, 180, 255, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.size-pick:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 111, 217, 0.35);
  box-shadow: 0 18px 44px rgba(59, 111, 217, 0.14);
}

.size-pick:hover::before {
  opacity: 1;
}

.size-pick.is-selected {
  border-color: rgba(59, 111, 217, 0.55);
  background: linear-gradient(168deg, rgba(255, 255, 255, 1) 0%, rgba(220, 235, 255, 0.85) 100%);
  box-shadow:
    0 0 0 2px rgba(59, 111, 217, 0.28),
    0 22px 50px rgba(59, 111, 217, 0.18);
  transform: translateY(-3px) scale(1.02);
}

.size-pick.is-selected::before {
  opacity: 1;
}

.size-pick__figure {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 118px;
  margin-bottom: 0.15rem;
  perspective: 520px;
}

.size-pick__svg {
  width: calc(72px * var(--viz));
  height: auto;
  max-width: 100%;
  filter: drop-shadow(0 12px 20px rgba(59, 111, 217, 0.18));
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.4s ease;
}

.size-pick__iso {
  transform-origin: 50% 60%;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.size-pick:hover .size-pick__iso,
.size-pick.is-selected .size-pick__iso {
  transform: translateY(-3px) rotateX(4deg);
}

.size-pick.is-selected .size-pick__svg {
  filter: drop-shadow(0 16px 28px rgba(59, 111, 217, 0.28));
}

.size-pick__badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.size-pick__dim {
  font-size: 0.68rem;
  line-height: 1.35;
  color: rgba(26, 32, 44, 0.48);
  max-width: 100%;
}

.size-pick__pour {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.75);
}

.size-pick__price {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--accent);
  margin-top: 0.2rem;
  letter-spacing: -0.02em;
}

.size-pick__price .currency-tag {
  font-size: 0.62rem;
  font-weight: 600;
  opacity: 0.65;
}

/* Legacy class names kept for any older markup */
.size-options--cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .size-options--cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
  }
}

.size-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.25s ease,
    box-shadow 0.35s ease,
    background 0.25s ease;
}

.size-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 111, 217, 0.35);
  box-shadow: 0 12px 32px rgba(59, 111, 217, 0.12);
}

.size-card.is-selected {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(230, 242, 255, 0.95));
  box-shadow:
    0 0 0 2px rgba(59, 111, 217, 0.25),
    0 16px 40px rgba(59, 111, 217, 0.15);
  transform: translateY(-2px) scale(1.02);
}

.size-card__label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

.size-card__hint {
  font-size: 0.68rem;
  line-height: 1.3;
  color: rgba(26, 32, 44, 0.45);
}

.size-card__price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  margin-top: 0.15rem;
}

.size-card__price .currency-tag {
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.7;
}

.price-block--fx {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(125deg, rgba(248, 250, 252, 0.95), rgba(232, 240, 255, 0.65));
  border: 1px solid rgba(26, 32, 44, 0.06);
}

.price-block__eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.38);
  margin-bottom: 0.35rem;
}

.price-block__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.price-block__size {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.product-price-hero {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.product-price-hero strong {
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.product-price-hero .currency-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(26, 32, 44, 0.4);
}

.btn-add-lg {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}

.btn-add-lg--fx {
  position: relative;
  overflow: visible;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.btn-add-lg--fx::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transform: translateX(-100%) rotate(12deg);
  transition: transform 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.btn-add-lg--fx:hover::before {
  transform: translateX(100%) rotate(12deg);
}

.btn-add-premium.btn-add-lg--fx::before {
  display: none;
}

.btn-add-premium {
  position: relative;
  border-radius: var(--radius-pill);
  padding: 3px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(180, 210, 255, 0.75) 35%,
    rgba(59, 111, 217, 0.95) 55%,
    rgba(25, 45, 110, 0.98) 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 12px 32px rgba(59, 111, 217, 0.22),
    0 4px 0 rgba(30, 58, 130, 0.35);
}

.btn-add-premium:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 18px 44px rgba(59, 111, 217, 0.3),
    0 5px 0 rgba(30, 58, 130, 0.32);
}

.btn-add-premium:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 24px rgba(59, 111, 217, 0.22),
    0 2px 0 rgba(30, 58, 130, 0.4);
}

.btn-add-premium__glow {
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.55), transparent 52%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.btn-add-premium__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 1.05rem 1.5rem;
  border-radius: calc(var(--radius-pill) - 2px);
  background: linear-gradient(175deg, #5c8ef0 0%, #3b6fd9 38%, #2a5ab8 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-add-premium__inner::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 60%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-premium:hover .btn-add-premium__inner::after {
  transform: translateX(120%) skewX(-12deg);
}

.btn-add-premium__icon {
  display: flex;
  opacity: 0.95;
}

.btn-add-premium__chev {
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.85;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-add-premium:hover .btn-add-premium__chev {
  transform: translateX(4px);
}

.btn-add-lg--success.btn-add-premium {
  background: linear-gradient(145deg, #4ade80, #22c55e 50%, #15803d);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 12px 36px rgba(22, 163, 74, 0.4),
    0 4px 0 rgba(21, 128, 61, 0.45);
}

.btn-add-lg--success .btn-add-premium__inner {
  background: linear-gradient(175deg, #4ade80 0%, #22c55e 45%, #16a34a 100%);
}

.btn-add-lg--success .btn-add-premium__inner::after {
  opacity: 0;
}

.btn-add-lg--burst.btn-add-premium {
  animation: add-burst 520ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-add-lg--burst.btn-add-premium .btn-add-premium__glow {
  animation: add-burst-glow 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.btn-add-lg--burst.btn-add-premium .btn-add-premium__inner::after {
  animation: add-ripple 720ms ease-out both;
}

@keyframes add-burst {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(-1px) scale(1.015);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes add-burst-glow {
  0% {
    opacity: 0.2;
    transform: scale(1);
    filter: blur(10px);
  }
  55% {
    opacity: 0.95;
    transform: scale(1.18);
    filter: blur(14px);
  }
  100% {
    opacity: 0.2;
    transform: scale(1);
    filter: blur(10px);
  }
}

@keyframes add-ripple {
  0% {
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0.0;
  }
  15% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(120%) skewX(-12deg);
    opacity: 0;
  }
}

.product-note {
  margin: 1.15rem 0 0;
  font-size: 0.8rem;
  color: rgba(26, 32, 44, 0.42);
  line-height: 1.55;
}

.product-missing {
  text-align: center;
  padding: 4rem 1rem;
}

.product-missing h1 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.band-title--fx {
  background: linear-gradient(120deg, #ffffff 0%, #d4e8ff 45%, #ffffff 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* About page */
.about-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 3rem;
}

.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(26, 32, 44, 0.75);
  margin: 0 0 2rem;
}

.about-columns {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .about-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.about-columns h2 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
  margin: 0 0 0.5rem;
}

.about-columns p {
  margin: 0;
  color: rgba(26, 32, 44, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

.about-cta {
  margin: 2.5rem 0 0;
}

.about-cta--pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

/* About page — Craftguru story (motion + scroll reveals) */
.about-page--craftguru {
  max-width: min(880px, 100%);
}

.about-hero {
  margin-bottom: 2.25rem;
}

.about-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.8);
}

.about-hero-title--glint {
  background: linear-gradient(
    105deg,
    var(--ink) 0%,
    rgba(59, 111, 217, 0.95) 42%,
    rgba(120, 90, 200, 0.9) 78%,
    var(--ink) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: about-title-glint 10s ease-in-out infinite alternate;
}

@keyframes about-title-glint {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.about-hero .about-lead {
  margin-bottom: 1.5rem;
}

.about-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.65);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 18px rgba(20, 40, 80, 0.06);
  animation: about-pill-float 5s ease-in-out infinite;
  animation-delay: calc(var(--pill, 0) * 0.4s);
}

@keyframes about-pill-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.about-band {
  position: relative;
  margin: 0 0 1.75rem;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 40px rgba(15, 35, 55, 0.08);
  animation: about-band-glow 7s ease-in-out infinite alternate;
}

@keyframes about-band-glow {
  0% {
    box-shadow:
      0 12px 40px rgba(15, 35, 55, 0.08),
      0 0 0 1px rgba(59, 111, 217, 0.04);
  }
  100% {
    box-shadow:
      0 18px 48px rgba(20, 45, 90, 0.12),
      0 0 36px rgba(120, 170, 255, 0.1);
  }
}

.about-band h2 {
  position: relative;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-band p,
.about-band li {
  position: relative;
  color: rgba(26, 32, 44, 0.72);
  line-height: 1.62;
  font-size: 0.92rem;
}

.about-band p {
  margin: 0 0 0.75rem;
}

.about-band p:last-child {
  margin-bottom: 0;
}

.about-list {
  margin: 0;
  padding-left: 1.15rem;
}

.about-list li {
  margin-bottom: 0.45rem;
}

.about-list li:last-child {
  margin-bottom: 0;
}

.about-connect-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

@media (min-width: 560px) {
  .about-connect-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-connect-item {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  line-height: 1.5;
  transition:
    transform 0.35s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1)),
    box-shadow 0.35s ease;
}

.about-connect-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(20, 40, 80, 0.1);
}

.about-connect-item strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.85);
  margin-bottom: 0.25rem;
}

.about-connect-item a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.about-connect-item a:hover {
  text-decoration: underline;
}

.about-page--craftguru .about-columns {
  gap: 1.25rem;
}

.about-page--craftguru .about-columns section {
  padding: 1.15rem 1.2rem 1.2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
}

.about-page--craftguru .about-columns section:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(20, 40, 80, 0.1);
}

.about-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(5px);
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--about-d, 0s);
}

.about-reveal.is-inview {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-title--glint {
    animation: none;
    background: var(--ink);
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--ink);
  }

  .about-stat-pill {
    animation: none;
  }

  .about-band {
    animation: none;
  }
}

.site-footer {
  text-align: center;
  padding: 0 1rem 2.5rem;
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.45);
  position: relative;
  z-index: 1;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.45);
  backdrop-filter: blur(6px);
  z-index: 250;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.cart-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  z-index: 260;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cart-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.cart-drawer-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  background: linear-gradient(195deg, #f8fafc 0%, #eef2f8 55%, #e4eaf3 100%);
  box-shadow: -16px 0 60px rgba(15, 25, 45, 0.2);
  border-radius: var(--radius-2xl) 0 0 var(--radius-2xl);
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.9);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cart-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.icon-btn {
  position: relative;
  z-index: 5;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 18px rgba(20, 35, 55, 0.1);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.catalog-sync-btn:disabled {
  opacity: 0.45;
  cursor: wait;
}

.site-top-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-orders-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 32, 44, 0.14);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.header-orders-link:hover {
  border-color: rgba(59, 111, 217, 0.35);
  background: #fff;
}

.page-home .header-orders-link {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.page-home .header-orders-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.55);
}

.home-catalog-find-offscreen {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-exit.icon-btn {
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
}

.cart-item img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(20, 35, 55, 0.12);
}

.cart-item__ph {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.12), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 16px rgba(20, 35, 55, 0.1);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
}

.cart-item-info span {
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.5);
}

.cart-item-qty {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.cart-item__remove {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: rgba(26, 32, 44, 0.4);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 32, 44, 0.08);
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.cart-item__remove:hover {
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.95);
}

.cart-item__remove:active {
  transform: scale(0.92);
}

.cart-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: rgba(26, 32, 44, 0.45);
  font-size: 0.9rem;
}

.cart-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.cart-total-row strong {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.btn-checkout {
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(20, 25, 35, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(20, 25, 35, 0.32);
}

.cart-note {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: rgba(26, 32, 44, 0.45);
  text-align: center;
}

@media (max-width: 900px) {
  .site-top {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .brand {
    grid-column: 1;
  }

  .site-top-end--home,
  .site-top-end {
    grid-column: 2;
    justify-self: end;
  }

  .nav-dock {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: center;
    margin-top: 0.35rem;
  }

  .watermark-brand {
    top: 30%;
    opacity: 0.05;
  }
}

@media (max-width: 520px) {
  .nav-dock-link {
    padding: 0.4rem 0.65rem;
    font-size: 0.65rem;
  }
}

/* Checkout */
.checkout-page {
  max-width: min(1480px, 96vw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem) 3.5rem;
}

.checkout-page__head {
  margin-bottom: 2rem;
}

.checkout-page__head h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.checkout-page__lead {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(26, 32, 44, 0.52);
  max-width: 52ch;
}

.checkout-step-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(59, 111, 217, 0.1);
  border: 1px solid rgba(59, 111, 217, 0.2);
}

.checkout-intro h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.checkout-intro p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: rgba(26, 32, 44, 0.55);
  line-height: 1.55;
}

.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.checkout-back-link:hover {
  color: #284fa8;
}

.checkout-pay-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.checkout-actions-row {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
  margin-top: 0.35rem;
  align-items: stretch;
}

.checkout-actions-row__primary,
.checkout-actions-row__pay {
  width: 100%;
  text-align: center;
}

.checkout-actions-row__pay {
  box-shadow: 0 8px 28px rgba(59, 111, 217, 0.2);
}

@media (min-width: 640px) {
  .checkout-actions-row {
    flex-direction: row;
    align-items: stretch;
    gap: 0.85rem;
  }

  .checkout-actions-row__primary {
    flex: 1;
    min-width: 0;
  }

  .checkout-actions-row__pay {
    flex: 0 0 auto;
    min-width: 11.5rem;
    max-width: 15rem;
    width: auto;
  }
}

.checkout-address-panel {
  padding: 1.1rem 1.15rem 0.25rem;
  margin: 0 0 0.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 111, 217, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.75) 100%);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.checkout-address-panel__head {
  margin-bottom: 1rem;
}

.checkout-address-panel__pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a5f;
  background: rgba(59, 111, 217, 0.14);
  border: 1px solid rgba(59, 111, 217, 0.22);
}

.checkout-address-panel__title {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(15, 23, 42, 0.92);
}

.checkout-address-panel__lead {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.58);
}

.checkout-address-panel__lead code {
  font-size: 0.76em;
  padding: 0.08em 0.28em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.06);
}

.checkout-auth-details {
  margin: 0 0 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(59, 111, 217, 0.16);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.checkout-auth-details__summary {
  list-style: none;
  cursor: pointer;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(30, 58, 95, 0.92);
  line-height: 1.45;
}

.checkout-auth-details__summary::-webkit-details-marker {
  display: none;
}

.checkout-auth-details__body {
  padding: 0 0.75rem 0.85rem;
  border-top: 1px solid rgba(59, 111, 217, 0.1);
}

.checkout-auth-details .checkout-auth-sheet {
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0.35rem 0 0;
}

.checkout-address-msg {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-lg);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #14532d;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.checkout-address-msg[hidden] {
  display: none !important;
}

.checkout-pay-secondary {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(26, 32, 44, 0.15);
  background: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.65);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.checkout-pay-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59, 111, 217, 0.35);
}

.checkout-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.checkout-layout__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

@media (min-width: 860px) {
  .checkout-layout {
    grid-template-columns: minmax(340px, 1.55fr) minmax(280px, 1fr);
    gap: 2rem 2.75rem;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .checkout-layout {
    grid-template-columns: minmax(420px, 1.65fr) minmax(300px, 0.95fr);
    gap: 2.5rem 3rem;
  }
}

.checkout-panel {
  border-radius: var(--radius-2xl);
  padding: 1.35rem 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-card);
}

.checkout-panel--sticky {
  position: sticky;
  top: 1.25rem;
}

.checkout-auth-sheet {
  position: relative;
  margin-bottom: 1.35rem;
  max-width: min(40rem, 100%);
}

.checkout-auth-sheet__head {
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  margin-bottom: 0.35rem;
}

.checkout-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.checkout-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.checkout-line {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.07);
}

.checkout-line__link {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 1.1rem;
  padding: 0.25rem 0.35rem;
  margin: -0.25rem -0.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.checkout-line__link:hover {
  background: rgba(255, 255, 255, 0.55);
}

.checkout-line__link:active {
  transform: translateY(1px);
}

.checkout-line__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 111, 217, 0.18);
}

.checkout-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checkout-line img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(20, 35, 55, 0.12);
}

.checkout-line__ph {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.08), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 16px rgba(20, 35, 55, 0.1);
  position: relative;
  overflow: hidden;
}

.checkout-line__ph::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 55%);
  animation: checkout-ph 2.6s ease-in-out infinite;
}

@keyframes checkout-ph {
  0% {
    transform: translate(-12%, -12%);
    opacity: 0.55;
  }
  50% {
    transform: translate(10%, 10%);
    opacity: 0.85;
  }
  100% {
    transform: translate(-12%, -12%);
    opacity: 0.55;
  }
}

.checkout-line__body {
  flex: 1;
  min-width: 0;
}

.checkout-line__body strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.checkout-line__body span {
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.48);
}

.checkout-line__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  align-self: center;
}

.checkout-line__remove {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: rgba(26, 32, 44, 0.45);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 32, 44, 0.1);
  box-shadow: 0 4px 12px rgba(20, 35, 55, 0.08);
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.checkout-line__remove:hover {
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.95);
  border-color: rgba(185, 28, 28, 0.25);
}

.checkout-line__remove:active {
  transform: scale(0.94);
}

.checkout-snips {
  margin: 0 0 1.1rem;
  padding: 0.85rem 0.85rem 0.95rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.checkout-snips__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.checkout-snips__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.55);
}

.checkout-snips__hint {
  font-size: 0.75rem;
  color: rgba(26, 32, 44, 0.45);
  white-space: nowrap;
}

.checkout-cart-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.65rem;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.checkout-cart-tools__search {
  grid-column: 1 / -1;
  width: 100%;
  padding: 0.45rem 0.65rem;
  font-size: 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.checkout-cart-tools__search:focus {
  outline: none;
  border-color: rgba(59, 111, 217, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 111, 217, 0.12);
}

.checkout-cart-tools__sort {
  min-width: 8.5rem;
  padding: 0.42rem 0.55rem;
  font-size: 0.8rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
}

.checkout-cart-tools__hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: rgba(26, 32, 44, 0.48);
}

@media (min-width: 520px) {
  .checkout-cart-tools {
    grid-template-columns: 1fr minmax(9rem, auto);
  }

  .checkout-cart-tools__search {
    grid-column: 1;
  }

  .checkout-cart-tools__sort {
    grid-column: 2;
  }

  .checkout-cart-tools__hint {
    grid-column: 1 / -1;
  }
}

.checkout-snips__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.checkout-snip-wrap {
  position: relative;
}

.checkout-snip {
  display: grid;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  padding: 0.55rem 0.55rem 0.6rem;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 26px rgba(20, 35, 55, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.checkout-snip:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(20, 35, 55, 0.16);
}

.checkout-snip:active {
  transform: translateY(0px);
}

.checkout-snip img {
  width: 100%;
  height: 84px;
  border-radius: 1rem;
  object-fit: cover;
  background: rgba(16, 20, 32, 0.06);
}

.checkout-snip__ph {
  width: 100%;
  height: 84px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.1), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.checkout-snip__remove {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 1.65rem;
  height: 1.65rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: rgba(26, 32, 44, 0.55);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 32, 44, 0.1);
  box-shadow: 0 6px 14px rgba(20, 35, 55, 0.15);
  z-index: 2;
  transition:
    color 0.2s,
    transform 0.2s;
}

.checkout-snip__remove:hover {
  color: #b91c1c;
  transform: scale(1.06);
}

.checkout-snip__meta {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: rgba(26, 32, 44, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-totals {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(26, 32, 44, 0.55);
}

.checkout-total-row--grand {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(26, 32, 44, 0.12);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.checkout-total-row--grand span:last-child {
  font-size: 1.35rem;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.checkout-form-grid {
  display: grid;
  gap: 1.15rem;
}

.checkout-fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

.checkout-fieldset legend {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.4);
  margin-bottom: 0.75rem;
}

.checkout-row2 {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 520px) {
  .checkout-row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.checkout-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(26, 32, 44, 0.55);
  margin-bottom: 0.35rem;
}

.checkout-input,
.checkout-select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-input:focus,
.checkout-select:focus {
  outline: none;
  border-color: rgba(59, 111, 217, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 111, 217, 0.12);
}

.checkout-input::placeholder {
  color: rgba(26, 32, 44, 0.35);
}

.checkout-submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(175deg, #3b6fd9, #284fa8);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(59, 111, 217, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.checkout-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(59, 111, 217, 0.38);
}

.checkout-note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: rgba(26, 32, 44, 0.42);
  line-height: 1.45;
}

.checkout-fieldset--upi-teaser {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.checkout-upi-teaser__text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.58);
}

.checkout-pay-row--split {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

@media (min-width: 480px) {
  .checkout-pay-row--split {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .checkout-pay-row--split .checkout-submit,
  .checkout-pay-row--split .checkout-pay-secondary {
    margin-top: 0;
  }
}

.checkout-pay-secondary--primary {
  border-color: rgba(59, 111, 217, 0.35);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.88);
}

.checkout-pay-secondary--primary:hover {
  border-color: rgba(59, 111, 217, 0.55);
  background: #fff;
}

/* Razorpay pay modal — summary + premium CTA panel */
.checkout-pay-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.checkout-pay-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.checkout-pay-modal__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(12, 18, 32, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.checkout-pay-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 255, 0.94) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 4px 0 rgba(59, 111, 217, 0.06),
    0 32px 80px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(59, 111, 217, 0.08);
}

.checkout-pay-modal__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem 1.05rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent);
}

.checkout-pay-modal__head-text {
  min-width: 0;
}

.checkout-pay-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.85);
}

.checkout-pay-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}

.checkout-pay-modal__x {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: rgba(26, 32, 44, 0.55);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.checkout-pay-modal__x:hover {
  background: rgba(59, 111, 217, 0.12);
  color: var(--accent);
}

.checkout-pay-modal__body-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.checkout-pay-modal__verify {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.checkout-pay-modal__verify.is-hidden {
  display: none;
}

.checkout-verify-inner {
  text-align: center;
  max-width: 22rem;
}

.checkout-verify-ringwrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
}

.checkout-verify-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.checkout-verify-svg__track {
  fill: none;
  stroke: rgba(26, 32, 44, 0.1);
  stroke-width: 8;
}

.checkout-verify-svg__bar {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 0.35s linear;
}

.checkout-verify-count {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--accent);
}

.checkout-verify-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.checkout-verify-sub {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(26, 32, 44, 0.55);
  line-height: 1.45;
}

.checkout-pay-modal__body {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .checkout-pay-modal__body {
    grid-template-columns: 1fr minmax(280px, 1.05fr);
    align-items: stretch;
  }
}

.checkout-pay-modal__col--summary {
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.35rem 1.4rem;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(248, 250, 252, 0.9) 100%);
}

@media (min-width: 720px) {
  .checkout-pay-modal__col--summary {
    border-bottom: none;
    border-right: 1px solid rgba(26, 32, 44, 0.08);
  }
}

.checkout-pay-modal__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.checkout-pay-modal__lines {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  font-size: 0.84rem;
  color: rgba(26, 32, 44, 0.72);
}

.checkout-pay-modal__lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(26, 32, 44, 0.06);
}

.checkout-pay-modal__lines--grand {
  margin-top: 0.25rem;
  padding-top: 0.5rem !important;
  border-bottom: none !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.checkout-pay-modal__lines--grand span:last-child {
  font-size: 1.25rem;
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.checkout-pay-modal__payee {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: rgba(26, 32, 44, 0.55);
}

.checkout-payment-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 32, 44, 0.08);
  margin-bottom: 0.85rem;
}

.checkout-payment-status[data-state="success"] {
  border-color: rgba(34, 160, 95, 0.35);
  background: rgba(34, 160, 95, 0.08);
}

.checkout-payment-status[data-state="fail"] {
  border-color: rgba(210, 90, 70, 0.35);
  background: rgba(210, 90, 70, 0.07);
}

.checkout-payment-status__label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.checkout-payment-status[data-state="success"] .checkout-payment-status__label {
  color: #1a6b45;
}

.checkout-payment-status[data-state="fail"] .checkout-payment-status__label {
  color: #a33d2d;
}

.checkout-payment-status__msg {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.72);
}

.checkout-payment-status[data-state="success"] .checkout-payment-status__msg {
  color: #1d4d36;
}

.checkout-payment-status[data-state="fail"] .checkout-payment-status__msg {
  color: #6b2e24;
}

.checkout-pay-modal__choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.checkout-pay-modal__choices.is-hidden,
.checkout-pay-modal__retry.is-hidden {
  display: none;
}

.checkout-pay-modal__retry {
  margin-bottom: 0.75rem;
}

.checkout-payment-btn {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.12);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.checkout-payment-btn--ok {
  background: linear-gradient(175deg, #2a9d6a, #1f7a52);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(34, 160, 95, 0.25);
}

.checkout-payment-btn--bad {
  background: rgba(255, 255, 255, 0.75);
  color: rgba(26, 32, 44, 0.75);
}

.checkout-payment-btn:hover {
  transform: translateY(-1px);
}

.checkout-pay-modal__fine {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.42);
}

.checkout-pay-modal__col--razor {
  position: relative;
  padding: 1.25rem 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(26, 32, 44, 0.08);
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(59, 111, 217, 0.14), transparent 55%),
    linear-gradient(180deg, #0f172a 0%, #151b2e 48%, #1a2236 100%);
}

@media (min-width: 720px) {
  .checkout-pay-modal__col--razor {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.35rem 1.65rem;
  }
}

.checkout-razor-panel {
  position: relative;
  width: 100%;
  max-width: 340px;
}

.checkout-razor-panel__glow {
  position: absolute;
  inset: -20% -15% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(59, 111, 217, 0.45) 0%, transparent 70%);
  filter: blur(36px);
  opacity: 0.75;
  pointer-events: none;
}

.checkout-razor-panel__inner {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 1.15rem;
  text-align: center;
  background: linear-gradient(165deg, rgba(30, 41, 59, 0.92) 0%, rgba(15, 23, 42, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(59, 111, 217, 0.15),
    0 24px 56px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.checkout-razor-panel__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin-bottom: 0.65rem;
}

.checkout-razor-panel__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, rgba(59, 111, 217, 0.95), rgba(37, 99, 235, 0.75));
  color: #fff;
  box-shadow: 0 8px 20px rgba(59, 111, 217, 0.4);
}

.checkout-razor-panel__mark svg {
  width: 1.1rem;
  height: 1.1rem;
}

.checkout-razor-panel__brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  font-family: "Inter", system-ui, sans-serif;
}

.checkout-razor-panel__badge {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius-pill);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.checkout-razor-panel__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.checkout-razor-panel__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
  line-height: 1.2;
}

.checkout-razor-panel__lead {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(203, 213, 225, 0.92);
}

.checkout-razor-panel__pills {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.checkout-razor-panel__pills li {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-pill);
  color: rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-razor-panel__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #3b6fd9 0%, #2563eb 45%, #1d4ed8 100%);
  box-shadow:
    0 4px 0 rgba(15, 23, 42, 0.35),
    0 16px 40px rgba(59, 111, 217, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.checkout-razor-panel__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 6px 0 rgba(15, 23, 42, 0.3),
    0 22px 48px rgba(59, 111, 217, 0.5);
}

.checkout-razor-panel__cta:active {
  transform: translateY(0);
}

.checkout-razor-panel__cta-text {
  flex: 1;
  text-align: center;
}

.checkout-razor-panel__cta-icon {
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.95;
}

.checkout-razor-panel__fine {
  margin: 0.55rem 0 0;
  font-size: 0.65rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.88);
  text-align: center;
}

.checkout-razor-panel__fine code {
  font-size: 0.62em;
  word-break: break-all;
}

.checkout-razor-panel__trust {
  margin: 0.75rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(148, 163, 184, 0.9);
}

.checkout-razor-panel__ghost {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.checkout-razor-panel__ghost:hover {
  color: #e2e8f0;
}

.checkout-pay-modal__fine--razor {
  margin-top: 0.85rem;
  color: rgba(26, 32, 44, 0.48);
}

.checkout-pay-modal__col--qr {
  padding: 1.15rem 1.25rem 1.35rem;
  background: linear-gradient(165deg, #12121a 0%, #1a1a24 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.checkout-pay-modal__qr-hint {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 245, 250, 0.65);
}

.checkout-pay-modal__qr-frame {
  padding: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-pay-modal__qr-frame img {
  width: min(220px, 70vw);
  height: auto;
  display: block;
  border-radius: 0.35rem;
}

.checkout-pay-modal__qr-link {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #c4b5fd;
  text-decoration: none;
}

.checkout-pay-modal__qr-link:hover {
  text-decoration: underline;
}

.checkout-qr-hero {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.checkout-qr-hero__badge {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(90deg, #7c3aed, #3b6fd9);
  box-shadow: 0 8px 24px rgba(59, 111, 217, 0.45);
  margin-bottom: 0.65rem;
}

.checkout-qr-hero__title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.checkout-qr-hero__apps {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(245, 245, 250, 0.55);
  letter-spacing: 0.04em;
}

.checkout-qr-hero__glow {
  position: absolute;
  width: min(280px, 85vw);
  height: min(280px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45) 0%, transparent 68%);
  filter: blur(32px);
  opacity: 0.85;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  animation: qr-glow-pulse 3.2s ease-in-out infinite;
}

@keyframes qr-glow-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.checkout-pay-modal__qr-frame--punchy {
  position: relative;
  padding: 0.55rem;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.5));
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 24px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  animation: qr-frame-float 4s ease-in-out infinite;
}

.checkout-pay-modal__qr-frame--punchy::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 1.45rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.9), rgba(59, 111, 217, 0.85), rgba(34, 197, 160, 0.65));
  z-index: -1;
  opacity: 0.95;
}

@keyframes qr-frame-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.checkout-pay-modal__qr-frame--punchy img {
  width: min(232px, 74vw);
  border-radius: 0.85rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.checkout-result-popup {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.checkout-result-popup:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.checkout-result-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.checkout-result-popup__card {
  position: relative;
  z-index: 1;
  width: min(380px, 100%);
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-2xl);
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-float);
  animation: result-pop 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes result-pop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.checkout-result-popup__icon {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(165deg, #22c55e, #15803d);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.35);
}

.checkout-result-popup--fail .checkout-result-popup__icon {
  background: linear-gradient(165deg, #f97316, #c2410c);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.3);
}

.checkout-result-popup__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.checkout-result-popup__msg {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.58);
}

.checkout-result-popup__ok {
  margin-top: 0;
}

/* Homepage auth (index only) */
.site-top-end--home {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-auth-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-auth-btn {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(26, 32, 44, 0.78);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.65rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

a.home-auth-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
}

.home-auth-btn:hover {
  border-color: rgba(59, 111, 217, 0.45);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.home-auth-btn--soft {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.home-auth-user {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(26, 32, 44, 0.65);
  padding-right: 0.25rem;
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.is-hidden {
  display: none !important;
}

/* Force-hide: author `.auth-modal { display: flex }` can otherwise beat the `hidden` attribute in some engines */
.auth-modal[hidden] {
  display: none !important;
  pointer-events: none !important;
}

.auth-modal {
  position: fixed;
  inset: 0;
  /* Well above cart (260), checkout pay (200), result (240), and stray layers */
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(12, 18, 32, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.auth-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: var(--radius-2xl);
  padding: 1.35rem 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-float);
}

.auth-modal__head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.auth-modal__x {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: rgba(26, 32, 44, 0.5);
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.auth-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.auth-tab {
  flex: 1;
  padding: 0.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.1);
  background: rgba(255, 255, 255, 0.5);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: rgba(26, 32, 44, 0.55);
}

.auth-tab.is-active {
  border-color: rgba(59, 111, 217, 0.45);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
}

.auth-field {
  margin-bottom: 0.85rem;
}

.auth-field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
  margin-bottom: 0.35rem;
}

.auth-field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(26, 32, 44, 0.12);
  font-family: inherit;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
}

.auth-msg {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #b91c1c;
}

.auth-msg.auth-msg--ok {
  color: rgba(22, 101, 52, 0.92);
}

.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(175deg, #3b6fd9, #284fa8);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.auth-progress-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  font-size: 0.82rem;
  color: rgba(26, 32, 44, 0.72);
}

.auth-progress-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(26, 32, 44, 0.06);
}

.checkout-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.checkout-success h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.checkout-success p {
  margin: 0 0 1.5rem;
  color: rgba(26, 32, 44, 0.55);
  font-size: 0.95rem;
}

.checkout-success__order {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(59, 111, 217, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.checkout-hidden {
  display: none !important;
}

/* -------------------------------------------------------------------------
   Homepage landing — split hero + single hero product (index.html)
   ------------------------------------------------------------------------- */

@media (min-width: 960px) {
  .hero.hero--landing {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 0;
  }

  .hero.hero--landing .hero-tags {
    grid-column: 1;
    grid-row: 2;
  }
}

.hero.hero--landing {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  padding-top: 1.35rem;
  padding-bottom: 1.5rem;
  /* Let the document scroll normally instead of locking the first screen to ~100vh */
  min-height: auto;
  overflow: hidden;
}

.hero--landing {
  overflow: hidden;
}

.hero-atelier {
  position: relative;
  width: 100%;
  max-width: min(1200px, 100%);
  margin-inline: auto;
  padding: 0.75rem clamp(0.75rem, 3vw, 1.5rem) 0.25rem;
}

.hero-atelier__builtin-wrap {
  width: 100%;
}

.hero-atelier__shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(72vh, 640px);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(15, 20, 35, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

/* Vendor-published hero: replaces the entire split hero (copy + ring) with full-width images */
.hero-promo-carousel {
  display: none;
  width: 100%;
  max-width: min(1200px, 100%);
  margin-inline: auto;
  padding: 0;
  box-sizing: border-box;
}

.hero-atelier--promo .hero-atelier__builtin-wrap {
  display: none;
}

.hero-atelier--promo .hero-promo-carousel {
  display: flex;
  flex-direction: column;
}

.hero-promo-carousel__frame {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  /* Locked max height + width; image uses object-fit: contain so uploads are never cropped */
  height: min(72vh, 640px);
  min-height: min(72vh, 640px);
  max-height: min(72vh, 640px);
  border-radius: clamp(1.5rem, 4vw, 2.75rem);
  overflow: hidden;
  background: #0f1218;
  box-shadow:
    0 24px 80px rgba(15, 20, 35, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

@media (min-width: 900px) {
  .hero-promo-carousel__frame {
    height: min(68vh, 600px);
    min-height: min(68vh, 600px);
    max-height: min(68vh, 600px);
  }
}

.hero-promo-carousel__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transform: translateX(0);
  opacity: 1;
}

.hero-promo-carousel--slide .hero-promo-carousel__img {
  transition: transform 0.95s cubic-bezier(0.28, 0.65, 0.12, 1), opacity 0.55s ease;
}

.hero-promo-carousel__img.hero-promo-carousel__img--leave {
  transform: translateX(-105%);
  opacity: 0.25;
}

.hero-promo-carousel__img.hero-promo-carousel__img--enter-start {
  transform: translateX(105%);
  opacity: 0.92;
  transition: none !important;
}

.hero-promo-carousel__img.hero-promo-carousel__img--enter-run {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.95s cubic-bezier(0.28, 0.65, 0.12, 1), opacity 0.55s ease;
}

@media (min-width: 900px) {
  .hero-atelier__shell {
    grid-template-columns: 1fr 1fr;
    min-height: min(68vh, 600px);
  }
}

.hero-atelier__light {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(165deg, #ffffff 0%, #f7f8fb 55%, #f0f2f7 100%);
}

.hero-atelier__kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.38);
}

.hero-atelier__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #0f1218;
}

.hero-atelier__title span {
  display: block;
  color: #1a1f2e;
  font-weight: 600;
  background: linear-gradient(120deg, #c9a227 0%, #e8c547 45%, #9a7b18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-atelier__deck {
  margin: 0;
  max-width: 32rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(26, 32, 44, 0.55);
}

.hero-atelier__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.hero-atelier__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.hero-atelier__btn--primary {
  background: #111318;
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.hero-atelier__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-atelier__btn--ghost {
  background: rgba(255, 255, 255, 0.85);
  color: #1a1f2e;
  border: 1px solid rgba(26, 32, 44, 0.1);
}

.hero-atelier__btn--ghost:hover {
  border-color: rgba(201, 162, 39, 0.45);
}

.hero-atelier__stage {
  position: relative;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  background: linear-gradient(180deg, #fbfbfc 0%, #e8eaef 100%);
}

@media (min-width: 900px) {
  .hero-atelier__stage {
    grid-column: 2;
    grid-row: 1;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: radial-gradient(ellipse 120% 100% at 40% 35%, #3a414c 0%, #16181c 55%, #0b0c0f 100%);
  }
}

.hero-atelier__glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 65%);
  filter: blur(32px);
  pointer-events: none;
}

.hero-atelier__photo-ring {
  position: relative;
  z-index: 2;
  width: min(92vw, 500px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(230, 232, 238, 0.9));
  box-shadow:
    0 28px 70px rgba(25, 35, 55, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 0 0 12px rgba(255, 255, 255, 0.35);
}

@media (min-width: 900px) {
  .hero-atelier__photo-ring {
    width: min(48vw, 540px);
    transform: translate(-4%, 2%);
  }
}

.hero-atelier__photo-disc {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #0f1419, #1e2635);
}

.hero-atelier__photo-disc img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 42%;
  position: relative;
  z-index: 1;
}

.hero-atelier__photo-ring > img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 42%;
  position: relative;
  z-index: 1;
}

.hero-atelier__photo-ring--showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 -24px 48px rgba(12, 18, 32, 0.18),
    inset 0 12px 36px rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-atelier__photo-ring--showcase .hero-atelier__photo-img {
    animation: hero-photo-drift 22s ease-in-out infinite alternate;
  }
}

@keyframes hero-photo-drift {
  0% {
    transform: translate(-1.2%, -0.8%) scale(1.05);
  }
  100% {
    transform: translate(1.4%, 1%) scale(1.1);
  }
}

/* API hero: horizontal slide only (current leaves left, next enters from right) */
@media (prefers-reduced-motion: no-preference) {
  .hero-atelier__photo-ring--slide-hero.hero-atelier__photo-ring--showcase .hero-atelier__photo-img,
  .hero-atelier__photo-ring--slide-hero .hero-atelier__photo-img {
    animation: none;
  }
}

.hero-atelier__photo-ring--slide-hero .hero-atelier__photo-disc {
  overflow: hidden;
}

.hero-atelier__photo-ring--slide-hero .hero-atelier__photo-img {
  transition: transform 0.52s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.38s ease;
  transform: translateX(0);
  opacity: 1;
}

.hero-atelier__photo-img.hero-atelier__photo-img--hero-leave {
  transform: translateX(-108%);
  opacity: 0.35;
}

.hero-atelier__photo-img.hero-atelier__photo-img--hero-enter-start {
  transform: translateX(108%);
  opacity: 0.96;
  transition: none !important;
}

.hero-atelier__photo-img.hero-atelier__photo-img--hero-enter-run {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.52s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.38s ease;
}

.hero-atelier__ring-pulse {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 0 48px rgba(59, 130, 246, 0.12);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-atelier__ring-pulse {
    animation: hero-ring-pulse 5s ease-in-out infinite;
  }
}

@keyframes hero-ring-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.12;
  }
}

/* Homepage hero — ambient floatscape (sizes · MRP · catalog polaroids) */
.hero-floatscape {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-floatscape__aurora {
  position: absolute;
  inset: -25%;
  opacity: 0.85;
  background:
    radial-gradient(ellipse 52% 42% at 14% 68%, rgba(59, 130, 246, 0.2), transparent 58%),
    radial-gradient(ellipse 48% 40% at 92% 22%, rgba(234, 179, 8, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(255, 255, 255, 0.35), transparent 60%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-floatscape__aurora {
    animation: hero-aurora-shift 16s ease-in-out infinite alternate;
  }
}

@keyframes hero-aurora-shift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  100% {
    transform: translate(-3%, -2%) scale(1.05);
    opacity: 1;
  }
}

.hero-floatscape__grid {
  position: absolute;
  inset: 0;
  opacity: 0.055;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.5) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 88% 78% at 50% 42%, #000 18%, transparent 72%);
}

.hero-floatscape__chips {
  position: absolute;
  inset: 0;
  /* Hide marketing chips (₹·S·M·↻) — default hero highlights the main resin clock only */
  display: none;
}

.hero-float-chip {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.08rem;
  max-width: 9.5rem;
  padding: 0.38rem 0.65rem 0.42rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.88);
  line-height: 1.15;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow:
    0 14px 38px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(59, 130, 246, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-float-chip--wide {
  max-width: 11rem;
}

.hero-float-chip--gold {
  border-color: rgba(234, 179, 8, 0.35);
  box-shadow:
    0 14px 38px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(234, 179, 8, 0.12);
}

.hero-float-chip--teal {
  border-color: rgba(45, 212, 191, 0.35);
  color: rgba(15, 118, 110, 0.95);
}

.hero-float-chip__k {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.hero-float-chip__t {
  font-weight: 500;
  font-size: 0.56rem;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(15, 23, 42, 0.52);
}

.hero-floatscape__chips .hero-float-chip:nth-child(1) {
  left: 5%;
  top: 10%;
}

.hero-floatscape__chips .hero-float-chip:nth-child(2) {
  left: 4%;
  bottom: 22%;
}

.hero-floatscape__chips .hero-float-chip:nth-child(3) {
  right: 6%;
  top: 16%;
}

.hero-floatscape__chips .hero-float-chip:nth-child(4) {
  right: 8%;
  bottom: 28%;
}

.hero-floatscape__chips .hero-float-chip:nth-child(5) {
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-float-chip {
    animation: hero-chip-drift 10s ease-in-out infinite;
    animation-delay: var(--d, 0s);
  }

  .hero-floatscape__chips .hero-float-chip:nth-child(5) {
    animation-name: hero-chip-drift-center;
  }
}

@keyframes hero-chip-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.5deg);
  }
  50% {
    transform: translate3d(6px, -16px, 0) rotate(2deg);
  }
}

@keyframes hero-chip-drift-center {
  0%,
  100% {
    transform: translate3d(-50%, 0, 0) rotate(-1deg);
  }
  50% {
    transform: translate3d(-50%, -12px, 0) rotate(1.5deg);
  }
}

.hero-float-polaroids {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-float-polar {
  position: absolute;
  margin: 0;
  padding: 0.32rem 0.32rem 0.48rem;
  background: linear-gradient(168deg, #ffffff 0%, #f1f5f9 100%);
  border-radius: 11px;
  box-shadow:
    0 20px 44px rgba(15, 23, 42, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.hero-float-polar img {
  display: block;
  width: clamp(56px, 11vw, 86px);
  height: clamp(56px, 11vw, 86px);
  object-fit: cover;
  border-radius: 7px;
  background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
}

.hero-float-polar--one {
  right: 4%;
  top: 38%;
  --r: 10deg;
}

.hero-float-polar--two {
  left: 6%;
  top: 36%;
  --r: -11deg;
}

.hero-float-polar--three {
  right: 10%;
  bottom: 12%;
  --r: -7deg;
}

.hero-float-polar--four {
  left: 10%;
  bottom: 14%;
  --r: 8deg;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-float-polar {
    animation: hero-polar-drift 13s ease-in-out infinite;
    animation-delay: var(--d, 0s);
  }
}

@keyframes hero-polar-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--r, 0deg));
  }
  33% {
    transform: translate3d(4px, -10px, 0) rotate(calc(var(--r, 0deg) + 2deg));
  }
  66% {
    transform: translate3d(-5px, 6px, 0) rotate(calc(var(--r, 0deg) - 2deg));
  }
}

@media (max-width: 899px) {
  .hero-float-chip:nth-child(3),
  .hero-float-chip:nth-child(4) {
    display: none;
  }

  .hero-float-polar--three,
  .hero-float-polar--four {
    display: none;
  }

  .hero-floatscape__chips .hero-float-chip:nth-child(5) {
    top: auto;
    bottom: 8%;
    left: 50%;
  }
}

.hero--landing .hero-tags {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  padding-top: 0.25rem;
}

/* Homepage only — tighter hero → featured flow, modern band header */
.page-home .hero.hero--landing {
  padding-bottom: 2rem;
  min-height: auto;
}

.home-landing-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.home-landing-main {
  width: 100%;
  min-width: 0;
}

@media (max-width: 959px) {
  /* Hero first on small screens; category strip follows */
  .home-landing-main {
    order: -1;
  }
}

@media (min-width: 960px) {
  .home-landing-layout {
    display: grid;
    grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
    align-items: stretch;
    column-gap: clamp(1rem, 2.5vw, 1.85rem);
    row-gap: 0;
  }

  .home-landing-main {
    order: unset;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    min-height: 100%;
  }

  .page-home .home-landing-main .hero-atelier {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .page-home .home-landing-main .hero-atelier__shell {
    flex: 1 1 auto;
    min-height: min(64vh, 640px);
  }

  .page-home .home-landing-main .hero-atelier--promo .hero-promo-carousel {
    flex: 0 0 auto;
    min-height: 0;
    max-width: 100%;
    padding-bottom: 0.25rem;
  }

  .page-home .home-landing-main .hero-atelier--promo .hero-promo-carousel__frame {
    flex: 0 0 auto;
    height: min(64vh, 640px);
    min-height: min(64vh, 640px);
    max-height: min(64vh, 640px);
  }

  .page-home .home-landing-main .hero-spotlight {
    max-width: 100%;
    margin-inline: 0;
    flex-shrink: 0;
  }

  /* Hero photo sits in a narrower column — keep it visually centered without drifting off-column */
  .page-home .home-landing-main .hero-atelier__photo-ring {
    transform: translate(0, 1%);
  }
}

.home-category-rail {
  position: relative;
  border-radius: clamp(1.25rem, 3vw, 2rem);
  padding: 1rem 1rem 1.15rem;
  background: linear-gradient(168deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 246, 255, 0.9) 48%, rgba(248, 250, 252, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 56px rgba(15, 25, 45, 0.08),
    0 0 0 1px rgba(59, 111, 217, 0.07) inset;
  overflow: hidden;
}

/* Left column on wide viewports — stretches with hero for aligned columns */
.home-category-rail--split {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

@media (min-width: 960px) {
  .home-category-rail--split {
    min-height: 100%;
  }

  .home-category-rail--split .category-grid--rail {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding-right: 0.15rem;
    scrollbar-width: thin;
  }
}

.home-category-rail::before {
  content: "";
  position: absolute;
  inset: -35% -50% auto -20%;
  height: 55%;
  background: radial-gradient(ellipse 90% 90% at 15% 0%, rgba(120, 175, 255, 0.28), transparent 72%);
  pointer-events: none;
}

.home-category-rail::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -40%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle at 70% 70%, rgba(201, 162, 39, 0.12), transparent 65%);
  pointer-events: none;
}

.home-category-rail__label {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.category-grid--rail {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.55rem;
}

.page-home .category-grid--rail .category-pill {
  justify-content: center;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.page-home .category-grid--rail .category-pill::before {
  display: none;
}

.page-home .category-grid--rail .category-pill:hover,
.page-home .category-grid--rail .category-pill:focus-visible {
  border-color: rgba(59, 111, 217, 0.35);
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 60, 110, 0.1);
  outline: none;
}

.page-home .category-grid--rail .category-pill.is-active {
  border-color: rgba(59, 111, 217, 0.45);
  color: var(--accent, #2563eb);
  background: #fff;
  box-shadow: 0 8px 22px rgba(35, 60, 110, 0.12);
}

/* Rail: not using .reveal-pill (see app.js) — keep full opacity */
.page-home .category-grid--rail .category-pill--rail {
  opacity: 1;
  transform: none;
}

@media (min-width: 960px) {
  .home-category-rail--split .category-grid--rail {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.42rem;
  }

  .page-home .home-category-rail--split .category-grid--rail .category-pill {
    justify-content: flex-start;
    text-align: left;
    padding: 0.68rem 0.95rem 0.68rem 1.05rem;
    border-radius: 0.88rem;
  }

  .page-home .home-category-rail--split .category-grid--rail .category-pill::before {
    display: block;
  }
}

@media (max-width: 959px) {
  .home-category-rail--split {
    padding: 0.85rem 0.95rem 1rem;
  }

  .category-grid--rail {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .page-home .category-grid--rail .category-pill {
    flex: 0 0 auto;
  }
}

.page-home .hero-atelier {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

.page-home .hero-atelier__shell {
  min-height: min(58vh, 560px);
  border-radius: clamp(1.75rem, 4.5vw, 3rem);
  overflow: visible;
  box-shadow:
    0 40px 100px rgba(15, 23, 42, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
}

.page-home .hero-atelier__light {
  background: linear-gradient(168deg, #ffffff 0%, #fafbfd 48%, #f3f5f9 100%);
}

.page-home .hero-atelier__title {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  letter-spacing: -0.035em;
}

.page-home .hero-atelier__deck {
  font-size: 1rem;
  color: rgba(15, 23, 42, 0.62);
  max-width: 34rem;
}

.page-home .hero-atelier__stage {
  position: relative;
  background: linear-gradient(125deg, #f6f9ff 0%, #eef4ff 45%, #e6eefc 100%);
  background-size: 200% 200%;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-atelier__stage {
    animation: page-home-stage-flow 16s ease-in-out infinite alternate;
  }
}

@keyframes page-home-stage-flow {
  0% {
    background-position: 0% 30%;
  }
  100% {
    background-position: 100% 70%;
  }
}

@media (min-width: 900px) {
  .page-home .hero-atelier__stage {
    background: linear-gradient(135deg, #f2f6ff 0%, #e9f1ff 38%, #e2ecfd 68%, #dee8fa 100%);
    background-size: 220% 220%;
  }

  .page-home .hero-atelier__photo-ring--showcase {
    box-shadow:
      0 36px 90px rgba(45, 75, 160, 0.22),
      0 0 0 1px rgba(255, 255, 255, 0.92) inset,
      0 0 0 11px rgba(255, 255, 255, 0.5),
      0 0 100px rgba(59, 111, 217, 0.2),
      0 0 1px rgba(201, 162, 39, 0.35);
    filter: saturate(1.06) contrast(1.02);
  }
}

/* Homepage — spotlight strip under hero */
.hero-spotlight {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-inline: auto;
  padding: 0.35rem 0 0.5rem;
}

.hero-spotlight[hidden] {
  display: none !important;
}

.hero-spotlight__kicker {
  margin: 0 0 0.8rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.42);
}

.hero-spotlight__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.75rem 0.85rem;
}

@media (min-width: 1100px) {
  .hero-spotlight__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.hero-spot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 40px rgba(15, 25, 45, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.hero-spot-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 111, 217, 0.35);
  box-shadow: 0 22px 50px rgba(59, 111, 217, 0.14);
}

.hero-spot-card__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(120, 175, 255, 0.2), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.hero-spot-card:hover .hero-spot-card__glow {
  opacity: 1;
}

.hero-spot-card__media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(155deg, #eef2f9, #dce4f2);
  overflow: hidden;
}

.hero-spot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-spot-card:hover .hero-spot-card__media img {
  transform: scale(1.06);
}

.hero-spot-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.65rem 0.65rem;
}

.hero-spot-card__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #0f1218;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-spot-card__hint {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.9);
}

.page-home .hero-tags-label {
  color: rgba(15, 23, 42, 0.5);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
}

.page-home .category-pill {
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.page-home .category-pill:hover {
  background: #f8fafc;
  border-color: rgba(59, 111, 217, 0.25);
}

.page-home .category-pill.is-active {
  background: linear-gradient(135deg, rgba(59, 111, 217, 0.1), rgba(255, 255, 255, 0.95));
  border-color: rgba(59, 111, 217, 0.35);
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .featured-cat-card:hover .featured-cat-card__shine {
    animation: page-home-card-shine 2.8s ease-in-out infinite;
  }
}

@keyframes page-home-card-shine {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.88;
  }
}

.page-home .band-shop--home {
  margin-top: 0.5rem;
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(180deg, #fafbfd 0%, #f3f5f9 42%, #eceff5 100%);
  border-radius: clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem) 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.9);
}

.page-home .band-shop-inner--home {
  max-width: 1180px;
}

.page-home .section-head--featured {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  gap: 1rem 2rem;
}

.page-home .featured-eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(59, 111, 217, 0.85);
}

.page-home .section-head__lead .band-title {
  margin: 0;
}

.page-home .section-head__lead .band-sub {
  margin-top: 0.55rem;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.62);
}

.page-home .band-shop--home .band-tagline {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.45);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.07);
  align-self: start;
}

@media (min-width: 720px) {
  .page-home .band-shop--home .band-tagline {
    align-self: end;
    text-align: right;
  }
}

.hero-title .reveal-line {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

.hero-title .reveal-line.is-inview {
  opacity: 1;
  transform: none;
}

.reveal-pill:not(.is-inview) {
  opacity: 0;
  transform: translateY(10px);
}

.reveal-pill.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.product-card.reveal-tile:not(.is-inview),
.featured-cat-card.reveal-tile:not(.is-inview) {
  opacity: 0;
  transform: translateY(18px);
}

.product-card.reveal-tile.is-inview,
.featured-cat-card.reveal-tile.is-inview {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 0.05s);
}

/* Catalog grids: no staggered fade — avoids blink on navigation and catalog merge */
.band-shop .product-grid .product-card.reveal-tile,
.featured-cat-grid .featured-cat-card.reveal-tile {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Homepage featured — category hub (light cards; matches storefront band-shop) */
.featured-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

@media (min-width: 540px) {
  .featured-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .featured-cat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 1100px) {
  .featured-cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.featured-cat-card {
  position: relative;
  border-radius: calc(var(--radius-xl) + 2px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.featured-cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 111, 217, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 28px 64px rgba(15, 23, 42, 0.1);
}

.featured-cat-card__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, transparent 38%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

.featured-cat-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(165deg, #eef2f9 0%, #e2e8f2 55%, #d5dee9 100%);
}

.featured-cat-card__media--empty {
  min-height: 8rem;
}

.featured-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-cat-card:hover .featured-cat-card__media img {
  transform: scale(1.045);
}

.featured-cat-card__body {
  padding: 1.2rem 1.25rem 1.35rem;
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.featured-cat-card__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: #0f1218;
}

.featured-cat-card__body h3 a {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.featured-cat-card__body h3 a:hover {
  color: var(--accent);
}

.featured-cat-card__body p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.58);
}

.featured-cat-card__media-hit {
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  color: inherit;
}

.featured-cat-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 0.75rem;
  margin-top: 0.85rem;
}

.featured-cat-card__cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  z-index: 4;
}

.featured-cat-card__cta:hover {
  text-decoration: underline;
}

.featured-cat-card__quick-add {
  position: relative;
  z-index: 4;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.52rem 1rem;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(165deg, #111318, #2a303c);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-cat-card__quick-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.22);
}

.product-cta-early {
  margin: 0 0 1.15rem;
}

.product-cta-early .btn-add-lg {
  width: 100%;
  max-width: 22rem;
}

.product-cta-early__hint {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.5);
}

@media (min-width: 900px) {
  .product-cta-early {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }

  .product-cta-early .btn-add-lg {
    max-width: 100%;
    width: auto;
    min-width: min(100%, 16rem);
  }

  .product-cta-early__hint {
    max-width: 22rem;
  }
}

/* Product page — details before size picker */
.product-overview {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-xl);
}

.product-overview__h {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.product-overview__copy {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(26, 32, 44, 0.72);
}

.product-overview__hint {
  margin: 0;
  font-size: 0.82rem;
}

.overview-jump {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.overview-jump:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.overview-jump-sep {
  color: rgba(26, 32, 44, 0.35);
  font-weight: 500;
}

.product-section-h {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-section-lead {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: rgba(26, 32, 44, 0.55);
  line-height: 1.45;
}

/* Product page — quantity under photo (left column) */
.qty-dock {
  border-radius: var(--radius-2xl);
  padding: 1.15rem 1.2rem 1.15rem;
  display: flex;
  flex-direction: column;
}

.qty-dock__head {
  margin-bottom: 0.85rem;
}

.qty-dock__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.qty-dock__sub {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.52);
}

.qty-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.qty-pick {
  border: 1px solid rgba(26, 32, 44, 0.1);
  border-radius: var(--radius-xl);
  padding: 0.7rem 0.4rem;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.qty-pick:hover {
  border-color: rgba(59, 111, 217, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(35, 55, 110, 0.1);
}

.qty-pick.is-selected {
  border-color: rgba(59, 111, 217, 0.55);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(230, 242, 255, 0.88));
  box-shadow:
    0 0 0 2px rgba(59, 111, 217, 0.2),
    0 12px 32px rgba(59, 111, 217, 0.12);
}

.qty-pick__n {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.qty-pick__lbl {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
  text-align: center;
}

.qty-pick.is-selected .qty-pick__lbl {
  color: var(--accent);
}

.qty-bulk-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.5);
}

.qty-bulk-note a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.qty-bulk-note a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

@keyframes qty-dock-nudge {
  0%,
  100% {
    box-shadow: 0 16px 48px rgba(20, 40, 80, 0.08);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(59, 111, 217, 0.18),
      0 16px 48px rgba(20, 40, 80, 0.1);
  }
}

.qty-dock--pulse {
  animation: qty-dock-nudge 0.45s ease;
}

.price-block__breakdown {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(26, 32, 44, 0.55);
}

.price-block__save {
  font-weight: 600;
  color: var(--accent);
}

/* —— Studio vendor gate (About) + vendor portal —— */
.about-studio-gate-wrap {
  text-align: center;
  margin: 1.5rem 0 0;
}

.about-studio-gate {
  font: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.22);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.about-studio-gate:hover,
.about-studio-gate:focus-visible {
  color: rgba(26, 32, 44, 0.48);
  outline: none;
}

.vendor-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.vendor-gate-modal[hidden] {
  display: none !important;
}

.vendor-gate-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 14, 22, 0.55);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.vendor-gate-modal__card {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
  border: 1px solid rgba(26, 32, 44, 0.08);
  box-shadow: 0 24px 64px rgba(20, 40, 80, 0.18);
}

.vendor-gate-modal__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a202c;
}

.vendor-gate-modal__hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.55);
}

.vendor-gate-modal__label {
  display: block;
  margin: 0.65rem 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.45);
}

.vendor-gate-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 32, 44, 0.12);
  font-size: 0.95rem;
  background: #fff;
}

.vendor-gate-modal__err {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #b42318;
}

.vendor-gate-modal__primary {
  width: 100%;
  margin-top: 1rem;
}

.vendor-gate-modal__ghost {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  padding: 0.5rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  color: rgba(26, 32, 44, 0.45);
  cursor: pointer;
}

.vendor-gate-modal__ghost:hover {
  color: rgba(26, 32, 44, 0.7);
}

.page-vendor-portal .vendor-portal-main {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.vendor-portal-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vendor-portal-hero {
  margin-bottom: 1.75rem;
}

.vendor-portal-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.4);
}

.vendor-portal-h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  color: #1a202c;
}

.vendor-portal-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(26, 32, 44, 0.58);
}

.vendor-portal-card {
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(26, 32, 44, 0.08);
  box-shadow: 0 12px 40px rgba(20, 40, 80, 0.06);
}

.vendor-portal-card--desk {
  margin-top: 1.25rem;
}

.vendor-portal-h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
}

.vendor-portal-muted {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(26, 32, 44, 0.5);
}

.vendor-portal-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.vendor-portal-desk-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.vendor-portal-desk-actions {
  display: flex;
  gap: 0.5rem;
}

.vendor-portal-ghost {
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.6);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  color: rgba(26, 32, 44, 0.65);
}

.vendor-portal-ghost:hover {
  border-color: rgba(26, 32, 44, 0.22);
}

.vendor-portal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vendor-portal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26, 32, 44, 0.08);
}

.vendor-portal-row:last-child {
  border-bottom: 0;
}

.vendor-portal-row__main {
  flex: 1;
  min-width: 200px;
}

.vendor-portal-row__id {
  margin: 0 0 0.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a202c;
}

.vendor-portal-row__meta {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.45);
}

.vendor-portal-row__who {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(26, 32, 44, 0.55);
}

.vendor-portal-print {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

.vendor-portal-empty {
  margin-top: 0.5rem;
}

.vendor-portal-footer {
  padding: 1.5rem 1rem 2rem;
}

.vendor-portal-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.vendor-inline-preview {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.9);
}

.vendor-inline-preview[hidden] {
  display: none !important;
}

.vendor-inline-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.vendor-inline-preview__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.vendor-inline-preview__close {
  border: 0;
  background: rgba(26, 32, 44, 0.06);
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
}

.vendor-inline-preview__body {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #1a202c;
}

.vendor-inline-tag {
  padding: 1rem;
  border: 2px solid #1a202c;
  margin-bottom: 1rem;
}

.vendor-inline-tag__k {
  margin: 0 0 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(26, 32, 44, 0.55);
}

.vendor-inline-tag__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.vendor-inline-bill h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
}

.vendor-inline-bill__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 0.75rem;
  font-size: 0.82rem;
}

.vendor-inline-bill__table th,
.vendor-inline-bill__table td {
  border: 1px solid rgba(26, 32, 44, 0.15);
  padding: 0.35rem 0.45rem;
  text-align: left;
}

.vendor-inline-bill__table th {
  background: rgba(26, 32, 44, 0.05);
}

.vendor-inline-bill__sum {
  font-size: 0.86rem;
  line-height: 1.55;
}

/* --- Vendor orders desk (/vendororder) --- */
.page-vendor-order .vendor-order-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.vendor-order-chart {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 32, 44, 0.08);
  border-radius: var(--radius-xl);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card);
}

.vendor-order-chart__label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 32, 44, 0.5);
}

.vendor-order-chart__val {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
}

.vendor-order-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  height: 120px;
}

.vendor-order-bar {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, var(--accent) 0%, #2563eb 100%);
  border-radius: 0.35rem 0.35rem 0 0;
  position: relative;
  transition: opacity 0.15s ease;
}

.vendor-order-bar:hover {
  opacity: 0.88;
}

.vendor-order-bar__tip {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%) translateY(-4px);
  font-size: 0.62rem;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  opacity: 0;
  pointer-events: none;
}

.vendor-order-bar:hover .vendor-order-bar__tip {
  opacity: 1;
}

.vendor-order-list-meta {
  font-size: 0.78rem;
  color: rgba(26, 32, 44, 0.55);
}

.vendor-order-pay-pill {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 600;
  background: rgba(59, 111, 217, 0.12);
  color: #1d4ed8;
}

.vendor-order-pay-pill--pending {
  background: rgba(234, 179, 8, 0.15);
  color: #a16207;
}

/* ——— Product buy rail (pill sizes + single CTA) ——— */
.page-product .pd-buy-rail {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.35rem;
}

.page-product .pd-buy-rail__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.page-product .pd-buy-rail__price {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.1rem);
}

.page-product .pd-stock-hint {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-product .pd-stock-hint[hidden] {
  display: none !important;
}

.page-product .pd-stock-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #2563eb;
  flex-shrink: 0;
}

.page-product .pd-buy-rail__breakdown {
  margin: -0.35rem 0 0;
  font-size: 0.82rem;
  color: rgba(15, 23, 42, 0.5);
}

.page-product .pd-buy-rail__size-line {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.45);
}

.page-product .pd-buy-rail__sizes.size-dock {
  padding: 0.85rem 1rem 1rem;
}

.page-product .size-dock__head--inline {
  margin-bottom: 0.5rem;
}

.page-product .size-dock__head--inline .size-dock__title {
  margin: 0;
  font-size: 0.82rem;
}

.page-product .size-options--pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.page-product .size-pick--pill {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.2rem;
  min-width: 5.5rem;
  padding: 0.55rem 0.85rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  box-shadow: none;
  text-align: left;
}

.page-product .size-pick--pill::before {
  display: none;
}

.page-product .size-pick--pill .size-pill__main {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.page-product .size-pick--pill .size-pill__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.page-product .size-pick--pill .size-pill__dim {
  font-size: 0.68rem;
  color: rgba(15, 23, 42, 0.45);
  line-height: 1.2;
}

.page-product .size-pick--pill .size-pill__dim:empty {
  display: none;
}

.page-product .size-pick--pill .size-pill__price {
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.65);
}

.page-product .size-pick--pill.is-selected {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.page-product .size-pick--pill.is-selected .size-pill__label,
.page-product .size-pick--pill.is-selected .size-pill__price,
.page-product .size-pick--pill.is-selected .size-pill__dim {
  color: #fff;
}

.page-product .size-pick--pill.is-selected .size-pill__price .currency-tag {
  opacity: 0.85;
}

.page-product .pd-qty-dock {
  padding: 0.85rem 1rem;
}

.page-product .product-qty-stepper--pill {
  border-radius: 999px;
  padding: 0.2rem 0.35rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.page-product .pd-buy-rail__cta {
  width: 100%;
  justify-content: center;
  border-radius: 0.85rem;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.page-product .pd-buy-rail__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32);
}

.page-product .pd-buy-rail .product-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.48);
}

/* ——— Checkout store reflow (shipping left · summary right) ——— */
.page-checkout--store .sub-main {
  background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 40%, #f1f5f9 100%);
}

.checkout-layout--reflow {
  align-items: start;
}

@media (min-width: 900px) {
  .checkout-layout--reflow {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 2rem 2.5rem;
  }
}

.checkout-panel--shipping {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.checkout-breadcrumb {
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #2563eb;
}

.checkout-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.checkout-breadcrumb a:hover {
  text-decoration: underline;
}

.checkout-breadcrumb__sep {
  margin: 0 0.35rem;
  color: rgba(15, 23, 42, 0.35);
}

.checkout-breadcrumb__current {
  color: rgba(15, 23, 42, 0.55);
  font-weight: 500;
}

.checkout-addr-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.checkout-addr-type__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
}

.checkout-addr-type__opt:has(input:checked) {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
}

.checkout-summary-rail {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.checkout-summary-pay {
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.75rem;
  border: none;
  font: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: #0f172a;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.checkout-summary-pay:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.checkout-summary-pay-hint {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(15, 23, 42, 0.45);
}

.checkout-line {
  flex-wrap: wrap;
  align-items: flex-start;
}

.checkout-line__link {
  flex: 1 1 12rem;
  min-width: 0;
}

.checkout-line__tail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.checkout-line__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.checkout-line__later {
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  color: rgba(15, 23, 42, 0.65);
}

.checkout-line__later:hover {
  border-color: rgba(59, 111, 217, 0.35);
  color: #1d4ed8;
}

.checkout-snip {
  position: relative;
}

.checkout-snip__badge {
  position: absolute;
  left: 0.65rem;
  bottom: 2.5rem;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.checkout-snip__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
}

.checkout-snip__actions .checkout-snip__remove {
  position: static;
  width: 1.65rem;
  height: 1.65rem;
}

.checkout-snip__later {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 32, 44, 0.12);
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(59, 111, 217, 0.85);
  box-shadow: 0 4px 12px rgba(20, 35, 55, 0.1);
}

.checkout-snip__later:hover {
  color: #1d4ed8;
}

/* ——— Category page: sort + price range toolbar ——— */
.category-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.25rem;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-xl, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.category-toolbar__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.category-toolbar__group--range {
  flex: 1 1 14rem;
}

.category-toolbar__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.category-toolbar__select {
  font: inherit;
  font-size: 0.88rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.35);
  color: #f8fafc;
  min-width: 12rem;
  max-width: 100%;
}

.category-toolbar__range {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.category-toolbar__input {
  width: 6.5rem;
  max-width: 42vw;
  font: inherit;
  font-size: 0.88rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.35);
  color: #f8fafc;
}

.category-toolbar__input::placeholder {
  color: rgba(248, 250, 252, 0.45);
}

.category-toolbar__dash {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.category-toolbar__clear {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  margin-left: auto;
}

.category-toolbar__clear:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .category-toolbar__clear {
    margin-left: 0;
    width: 100%;
  }
}
