/* ============================================================
   PulseRecover — Global Styles
   Imports Design-System tokens + adds component overrides
   ============================================================ */

@import url('assets/fonts/figtree.css?v=2026-06-04-3');

:root {
  /* Foundation */
  --pr-bg-base: #FAF9F6;
  --pr-bg-secondary: #F5F2EC;
  --pr-bg-tertiary: #EDE8DE;
  --pr-text-primary: #1A1A1A;
  --pr-text-secondary: #5F5F60;
  --pr-text-tertiary: #8A8A8C;
  --pr-border: #E5E1DA;
  --pr-border-strong: #D6D0C4;

  /* Accent — Terracotta */
  --pr-accent-50: #FBF1ED;
  --pr-accent-100: #F5DDD2;
  --pr-accent-200: #ECBBA6;
  --pr-accent-300: #E29A79;
  --pr-accent-400: #D87856;
  --pr-accent-500: #C85A3A;
  --pr-accent-600: #A84629;
  --pr-accent-700: #8A3621;
  --pr-accent-800: #6B2918;
  --pr-accent-900: #4B1C11;

  /* Ink */
  --pr-ink-50: #F4F4F3;
  --pr-ink-100: #E5E4E2;
  --pr-ink-200: #C9C7C3;
  --pr-ink-300: #A6A4A0;
  --pr-ink-400: #7C7A77;
  --pr-ink-500: #5F5F60;
  --pr-ink-600: #404043;
  --pr-ink-700: #2A2A2D;
  --pr-ink-800: #1A1A1A;
  --pr-ink-900: #0E0E0F;

  /* Semantic */
  --pr-success: #2D6A4F;
  --pr-success-bg: #E4EFE8;
  --pr-warning: #B07A1E;
  --pr-warning-bg: #F6EEDB;
  --pr-error: #9D2933;
  --pr-error-bg: #F4DDDF;
  --pr-info: #2C5C7A;
  --pr-info-bg: #E1EBF1;

  /* Shadows */
  --pr-elev-1: 0 1px 2px rgba(36,24,12,0.04), 0 1px 1px rgba(36,24,12,0.03);
  --pr-elev-2: 0 4px 12px rgba(36,24,12,0.06), 0 1px 2px rgba(36,24,12,0.04);
  --pr-elev-3: 0 12px 32px rgba(36,24,12,0.10), 0 2px 6px rgba(36,24,12,0.05);

  --pr-focus-ring: 0 0 0 3px rgba(200,90,58,0.35);

  /* Motion */
  --pr-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --pr-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--pr-text-primary);
  background: var(--pr-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  /* Hard horizontal cut-off so the off-screen mobile drawer (parked at
     translateX(-100%)) and any other element that briefly sticks out
     during animations cannot drag the page sideways under iOS Safari's
     rubber-band scroll. overflow-x: clip is the modern way - it cuts
     the overflow without creating a scroll container (so position:
     sticky / fixed children still anchor correctly). overflow-x: hidden
     is the fallback for browsers that don't yet support clip. */
  overflow-x: hidden;
  overflow-x: clip;
  /* Belt-and-braces against off-screen siblings forcing horizontal scroll. */
  max-width: 100%;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; border: 0; background: none; padding: 0; color: inherit; cursor: pointer; }

img { max-width: 100%; display: block; }

/* ===================== TYPE HELPERS ===================== */
.pr-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pr-accent-600);
}
.pr-display { font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1.05; letter-spacing: -0.02em; }
.pr-h1 { font-weight: 700; font-size: clamp(36px, 4.5vw, 48px); line-height: 1.15; letter-spacing: -0.02em; }
.pr-h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.2; letter-spacing: -0.01em; }
.pr-h3 { font-weight: 600; font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.pr-h4 { font-weight: 600; font-size: 20px; line-height: 28px; }
.pr-body-lg { font-size: 18px; line-height: 28px; }
.pr-small { font-size: 14px; line-height: 20px; color: var(--pr-text-secondary); }
.pr-caption { font-size: 12px; line-height: 16px; color: var(--pr-text-tertiary); font-weight: 500; }

/* ===================== LAYOUT ===================== */
.pr-container { max-width: 1280px; margin: 0 auto; padding-left: clamp(20px, 4.5vw, 32px); padding-right: clamp(20px, 4.5vw, 32px); }

/* ===================== TOP-BAR ===================== */
.pr-topbar {
  background: var(--pr-ink-800);
  color: var(--pr-bg-base);
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  padding: 5px 16px;
  letter-spacing: 0.01em;
}
.pr-topbar .sep { color: var(--pr-ink-400); margin: 0 12px; }

/* ===================== HEADER ===================== */
.pr-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,246,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pr-border);
}
.pr-header-inner {
  height: 72px;
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 40px;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}
.pr-header-inner > .pr-logo-link { justify-self: start; }
.pr-header-inner > .pr-nav { justify-self: start; }
.pr-header-inner > .pr-header-actions { justify-self: end; }
.pr-logo { height: 44px; width: auto; display: block; }
/* Lotus logo lockup (mark + wordmark) */
.pr-logo-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.pr-logo-mark { height: 40px; width: auto; display: block; flex-shrink: 0; }
.pr-logo-word { font-family: 'Figtree', -apple-system, 'Segoe UI', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.015em; line-height: 1; color: var(--pr-text-primary); white-space: nowrap; }
.pr-logo-word-accent { color: var(--pr-accent-600); }
.pr-footer-logo-link .pr-logo-mark { height: 30px; }
.pr-footer-logo-link .pr-logo-word { font-size: 20px; color: #faf6f1; }
.pr-drawer-head .pr-logo-mark { height: 28px; }
.pr-drawer-head .pr-logo-word { font-size: 18px; }
/* Nav-bar logo ~30% larger */
.pr-header .pr-logo-mark { height: 52px; }
.pr-header .pr-logo-word { font-size: 28px; }
.pr-nav { display: flex; gap: 28px; justify-content: center; }
.pr-nav a {
  font-size: 15px; font-weight: 500; color: var(--pr-text-primary);
  display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
  padding: 12px 4px; position: relative; min-height: 44px;
}
.pr-nav a:hover { color: var(--pr-accent-600); text-decoration: none; }
.pr-nav a.active { color: var(--pr-accent-600); }
.pr-header-actions { display: flex; align-items: center; gap: 4px; }
.pr-icon-btn {
  width: 40px; height: 40px; border-radius: 8px; border: none; background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; cursor: pointer; color: var(--pr-text-primary);
  transition: background 120ms;
}
.pr-icon-btn:hover { background: var(--pr-bg-secondary); }
.pr-cart-badge {
  position: absolute; top: 6px; right: 6px;
  background: var(--pr-accent-500); color: white;
  font-size: 10px; font-weight: 700; line-height: 1;
  padding: 2px 5px; border-radius: 9999px; min-width: 16px; text-align: center;
}

/* mobile menu toggle */
.pr-mobile-toggle { display: none; }
@media (max-width: 1023px) {
  .pr-header-inner {
    height: 56px; gap: 8px; min-width: 0;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0 12px;
  }
  .pr-nav { display: none; }
  .pr-mobile-toggle { display: inline-flex; }
  .pr-logo { height: 36px; margin: 0 auto; }
  .pr-header-inner > .pr-logo-link { justify-self: center; min-width: 0; }
  .pr-header-actions { gap: 0; }
  .pr-header-actions .pr-lang { display: none; }
  .pr-header .pr-logo-mark { height: 34px; }
  .pr-header .pr-logo-word { font-size: 20px; }
}
/* Small phones: shrink the lockup + icons so the bar never overflows. */
@media (max-width: 420px) {
  .pr-header-inner { padding: 0 10px; }
  .pr-header .pr-logo-mark { height: 28px; }
  .pr-header .pr-logo-word { font-size: 16px; }
  .pr-logo-link { gap: 7px; }
  .pr-header-actions .pr-icon-btn { width: 36px; }
}

/* ===================== MEGA MENU ===================== */
.pr-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--pr-bg-base); border-bottom: 1px solid var(--pr-border);
  box-shadow: var(--pr-elev-2);
  padding: 32px 0;
  display: none;
}
.pr-mega.open { display: block; }
.pr-mega-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px);
  display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 48px;
}
.pr-mega h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pr-text-tertiary);
  margin: 0 0 16px;
}
.pr-mega ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-mega li a {
  font-size: 15px; color: var(--pr-text-primary); display: inline-flex; align-items: center; gap: 6px;
}
.pr-mega li a:hover { color: var(--pr-accent-600); text-decoration: none; }
.pr-mega-feature {
  background: var(--pr-bg-secondary); border-radius: 12px; padding: 20px;
  display: flex; gap: 16px; align-items: center;
}
.pr-mega-feature-img {
  width: 120px; height: 120px; border-radius: 8px;
  background: linear-gradient(135deg, #E29A79, #C85A3A);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 13px; font-weight: 600; text-align: center; padding: 8px;
}

/* ===================== MOBILE DRAWER ===================== */
.pr-drawer-overlay {
  position: fixed; inset: 0; background: rgba(26,26,26,0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 200ms;
}
.pr-drawer-overlay.open { opacity: 1; pointer-events: auto; }
.pr-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 90vw;
  background: var(--pr-bg-base); z-index: 100;
  transform: translateX(-100%);
  transition: transform 240ms var(--pr-ease-out);
  display: flex; flex-direction: column;
  box-shadow: var(--pr-elev-3);
}
.pr-drawer.open { transform: translateX(0); }
.pr-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--pr-border);
}
.pr-drawer-body { padding: 16px 8px; overflow-y: auto; flex: 1; }
.pr-drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 16px; font-weight: 600;
  color: var(--pr-text-primary); border-radius: 8px;
}
.pr-drawer-link:hover { background: var(--pr-bg-secondary); text-decoration: none; }
.pr-drawer-details > summary::-webkit-details-marker { display: none; }
.pr-drawer-details > summary { list-style: none; }
.pr-drawer-details[open] > summary .lucide-chevron-down { transform: rotate(180deg); }
.pr-drawer-details > summary i { transition: transform 180ms ease-out; }
.pr-drawer-sublink {
  display: block; padding: 10px 14px; font-size: 15px; font-weight: 500;
  color: var(--pr-text-secondary); border-radius: 8px;
}
.pr-drawer-sublink:hover { background: var(--pr-bg-secondary); color: var(--pr-text-primary); text-decoration: none; }

/* ===================== BUTTONS ===================== */
.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px;
  height: 44px; padding: 0 20px; border-radius: 8px; border: none;
  cursor: pointer; white-space: nowrap;
  transition: background 120ms, color 120ms, transform 120ms, box-shadow 120ms;
  text-decoration: none;
}
.pr-btn:hover { text-decoration: none; }
.pr-btn:active { transform: translateY(1px); }
.pr-btn:focus-visible { outline: none; box-shadow: var(--pr-focus-ring); }

.pr-btn-primary { background: var(--pr-accent-600); color: white; }
.pr-btn-primary:hover { background: var(--pr-accent-600); }
.pr-btn-primary:active { background: var(--pr-accent-700); }

.pr-btn-secondary { background: transparent; color: var(--pr-text-primary); border: 1px solid var(--pr-text-primary); }
.pr-btn-secondary:hover { background: var(--pr-text-primary); color: white; }

.pr-btn-ghost { background: transparent; color: var(--pr-accent-600); }
.pr-btn-ghost:hover { background: var(--pr-accent-50); }

.pr-btn-link { background: transparent; color: var(--pr-accent-600); padding: 8px 0; height: auto; min-height: 40px; }
.pr-btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.pr-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.pr-btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.pr-btn-full { width: 100%; }

/* ===================== BADGES ===================== */
.pr-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 4px 8px;
  border-radius: 4px; line-height: 1.3;
}
.pr-badge-dark { background: var(--pr-ink-800); color: white; }
.pr-badge-accent { background: var(--pr-accent-600); color: white; }
.pr-badge-sale { background: var(--pr-accent-50); color: var(--pr-accent-700); }
.pr-badge-eco { background: var(--pr-success-bg); color: var(--pr-success); }

/* ===================== PRODUCT CARD ===================== */
.pr-product-card {
  background: white; border-radius: 12px; overflow: hidden;
  box-shadow: var(--pr-elev-1);
  position: relative; cursor: pointer;
  transition: transform 200ms var(--pr-ease-out), box-shadow 200ms;
  display: flex; flex-direction: column;
}
.pr-product-card:hover {
  box-shadow: var(--pr-elev-2); text-decoration: none;
}
@media (hover: hover) {
  .pr-product-card:hover .pr-quick-add { opacity: 1; pointer-events: auto; }
  /* Lava-gradient overlay intentionally not revealed on hover - too loud. */
}
.pr-product-card-img {
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
  position: relative; overflow: hidden;
  background: var(--pr-bg-secondary);
}
.pr-product-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pr-img-fallback {
  background: var(--pr-bg-secondary);
}
.pr-product-img-alt {
  position: absolute; inset: 0; opacity: 0; transition: opacity 280ms var(--pr-ease-out);
  /* Warm "lava" gradient — terracotta wash that lights up the lifestyle caption */
  background:
    radial-gradient(ellipse 120% 80% at 20% 100%, rgba(255,170,120,0.45) 0%, transparent 60%),
    linear-gradient(165deg, rgba(216,120,86,0.25) 0%, rgba(168,70,41,0.55) 55%, rgba(110,42,25,0.78) 100%);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 14px;
  font-size: 12px; font-weight: 500; color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(60,20,10,0.5);
}
.pr-product-card-body { padding: 14px 16px 16px; }
.pr-swatches { display: flex; gap: 6px; margin-bottom: 8px; }
.pr-swatch {
  width: 14px; height: 14px; border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.08);
}
.pr-product-meta {
  font-size: 12px; color: var(--pr-text-secondary);
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.pr-product-meta b { color: var(--pr-text-primary); font-weight: 600; }
.pr-product-name { font-size: 15px; font-weight: 600; color: var(--pr-text-primary); line-height: 1.25; }
.pr-product-sub { font-size: 13px; color: var(--pr-text-secondary); margin-top: 2px; }
.pr-product-price { font-size: 16px; font-weight: 700; color: var(--pr-text-primary); margin-top: 10px; }
.pr-product-price s { color: var(--pr-text-tertiary); font-weight: 500; margin-left: 6px; }
.pr-product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
}
.pr-quick-add {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--pr-ink-800); color: white;
  font-size: 13px; font-weight: 600; padding: 10px 14px;
  min-height: 40px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity 200ms, transform 200ms, background 120ms;
  display: inline-flex; align-items: center; gap: 6px; border: none; cursor: pointer;
}
.pr-quick-add:hover { background: var(--pr-accent-600); transform: translateY(-2px); }
@media (hover: none) {
  .pr-quick-add { opacity: 1; pointer-events: auto; }
}

.pr-stars { display: inline-flex; color: var(--pr-accent-600); letter-spacing: 1px; font-size: 13px; line-height: 1; }
.pr-stars .empty { color: var(--pr-border); }

/* ===================== INPUTS ===================== */
.pr-input, .pr-select, .pr-textarea {
  width: 100%; font-family: inherit; font-size: 15px;
  height: 48px; padding: 0 16px;
  background: white; color: var(--pr-text-primary);
  border: 1px solid var(--pr-border); border-radius: 8px;
  outline: none; transition: border-color 120ms, box-shadow 120ms;
}
.pr-textarea { height: auto; min-height: 120px; padding: 12px 16px; line-height: 22px; }
.pr-input:focus, .pr-select:focus, .pr-textarea:focus {
  border-color: var(--pr-accent-500); box-shadow: var(--pr-focus-ring);
}
.pr-input::placeholder, .pr-textarea::placeholder { color: var(--pr-text-tertiary); }

.pr-label { font-size: 14px; font-weight: 500; color: var(--pr-text-primary); display: block; margin-bottom: 8px; }
.pr-helper { font-size: 13px; color: var(--pr-text-secondary); margin-top: 6px; }

.pr-checkbox { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 20px; color: var(--pr-text-primary); transition: opacity 120ms; }
.pr-checkbox input { width: 18px; height: 18px; accent-color: var(--pr-accent-500); margin-top: 1px; flex-shrink: 0; }
.pr-checkbox.is-disabled { opacity: 0.35; cursor: not-allowed; }
.pr-checkbox.is-disabled input { cursor: not-allowed; }

/* ===================== SECTIONS =====================
   Uses padding-block (not shorthand) so that horizontal padding from
   .pr-container survives when both classes sit on the same element.
   The old shorthand "padding: clamp(...) 0" wiped out the container's
   left/right padding on 75% of all sections. */
.pr-section { padding-block: clamp(36px, 6vw, 80px); }
.pr-section-sm { padding-block: clamp(20px, 3.5vw, 48px); }
.pr-section-lg { padding-block: clamp(48px, 8vw, 120px); }
@media (max-width: 767px) {
  .pr-section { padding-block: 36px; }
  .pr-section-sm { padding-block: 24px; }
  .pr-section-lg { padding-block: 48px; }
}
.pr-section-secondary { background: var(--pr-bg-secondary); }
.pr-section-tertiary { background: var(--pr-bg-tertiary); }
.pr-section-accent { background: var(--pr-accent-50); }
.pr-section-dark { background: var(--pr-ink-800); color: var(--pr-bg-secondary); }

.pr-section-head { text-align: center; margin-bottom: clamp(20px, 4vw, 40px); }
.pr-section-head .pr-eyebrow { margin-bottom: 8px; display: block; }
.pr-section-head h2 { margin: 0 auto 8px; max-width: 720px; }
.pr-section-head p { color: var(--pr-text-secondary); max-width: 600px; margin: 0 auto; font-size: 16px; line-height: 1.55; }

/* Section without container also needs minimum horizontal padding on mobile */
.pr-section:not(.pr-container) {
  padding-inline: 0;
}
/* Container that is NOT inside a pr-section keeps its full padding.
   Section that contains a .pr-container inside doesn't double-pad. */

/* ===================== GRIDS ===================== */
.pr-grid { display: grid; gap: 24px; }
.pr-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pr-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pr-grid-5 { grid-template-columns: repeat(5, 1fr); }
.pr-grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1023px) {
  .pr-grid-4, .pr-grid-5, .pr-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .pr-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  /* All multi-column grids collapse to single column on phones.
     2-col is too dense to read product cards, reviews, material cards. */
  .pr-grid-2, .pr-grid-3, .pr-grid-4, .pr-grid-5, .pr-grid-6 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================== FOOTER ===================== */
.pr-footer { background: var(--pr-ink-800); color: var(--pr-ink-300); padding: 64px 0 24px; margin-top: 64px; }
.pr-footer h4 {
  color: white; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 16px;
}
.pr-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.pr-footer li a {
  color: var(--pr-ink-300); font-size: 14px;
  display: inline-flex; align-items: center;
  min-height: 36px; padding: 6px 0;
}
.pr-footer li a:hover { color: white; text-decoration: none; }
/* ===================== Footer v2 (compact) =====================
   Three-region footer: brand+newsletter top, link columns middle,
   legal bottom strip. Mobile collapses link columns into
   <details> accordions and stacks the brand block above the newsletter. */
.pr-footer-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.7fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--pr-ink-700);
}
.pr-footer-brand { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pr-footer-logo-link { display: inline-flex; }
.pr-footer-logo { height: 32px; width: auto; display: block; }
.pr-footer-tagline {
  margin: 0; font-size: 15px; line-height: 1.5; color: var(--pr-ink-200);
  max-width: 380px;
}
.pr-footer-meta {
  margin: 0; font-size: 13px; line-height: 1.55; color: var(--pr-ink-300);
}
.pr-footer-meta strong { color: white; font-weight: 600; }
.pr-footer-meta a { color: var(--pr-ink-200); text-decoration: underline; text-underline-offset: 2px; }
.pr-footer-meta a:hover { color: white; }

.pr-footer-newsletter-compact { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pr-footer-newsletter-label {
  font-size: 13px; color: var(--pr-ink-200); font-weight: 500;
  letter-spacing: 0.2px;
}
.pr-footer-newsletter-row { display: flex; gap: 8px; min-width: 0; }
.pr-footer-newsletter-row input[type="email"] {
  flex: 1 1 0; min-width: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  color: white; height: 42px; padding: 0 14px; border-radius: 8px;
  font-family: inherit; font-size: 14px;
}
.pr-footer-newsletter-row input::placeholder { color: var(--pr-ink-400); }
.pr-footer-newsletter-row .pr-btn { height: 42px; padding: 0 16px; font-size: 14px; flex: 0 0 auto; }
.pr-footer-newsletter-consent {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 11px; color: var(--pr-ink-300); line-height: 1.4; cursor: pointer;
}
.pr-footer-newsletter-consent input {
  width: 14px; height: 14px; margin: 2px 0 0;
  flex-shrink: 0; accent-color: var(--pr-accent-500);
}
.pr-footer-newsletter-consent a { color: white; text-decoration: underline; }

/* Link columns (always expanded - balanced row) */
.pr-footer-col { min-width: 0; }
.pr-footer-col h4 {
  font-size: 13px; font-weight: 700; color: #ffffff; letter-spacing: 0.06em;
  text-transform: uppercase; margin: 0 0 14px;
}
.pr-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.pr-footer-col ul a {
  display: inline-flex; align-items: center;
  min-height: 30px;
  font-size: 14px; color: var(--pr-ink-200);
}
.pr-footer-col ul a:hover { color: #ffffff; text-decoration: none; }

/* Bottom strip */
.pr-footer-strip {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-top: 24px;
  font-size: 12px; color: var(--pr-ink-300);
}
.pr-footer-legal { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.pr-footer-legal a,
.pr-footer-legal .pr-footer-link-btn {
  color: var(--pr-ink-200);
  font-size: 12px; line-height: 1.4; padding: 4px 0;
}
.pr-footer-legal a:hover,
.pr-footer-legal .pr-footer-link-btn:hover { color: white; text-decoration: none; }

/* ===================== Tablet ===================== */
@media (max-width: 1023px) {
  .pr-footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 40px; padding-bottom: 32px;
  }
  .pr-footer-brand { grid-column: 1 / -1; }
  .pr-footer-newsletter-compact { grid-column: 1 / -1; max-width: 460px; }
}

/* ===================== Mobile ===================== */
@media (max-width: 639px) {
  .pr-footer { padding: 32px 0 24px; }
  .pr-footer-top { gap: 24px; padding-bottom: 20px; }
  .pr-footer-logo { height: 28px; }
  .pr-footer-tagline { font-size: 14px; max-width: none; }
  .pr-footer-meta { font-size: 12.5px; }
  /* Stack brand, link columns (2-up) and newsletter, all visible */
  .pr-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 26px 32px;
    padding-bottom: 24px;
  }
  .pr-footer-brand { grid-column: 1 / -1; }
  /* Centre the newsletter sign-up on phones (full-width row reads better centered). */
  .pr-footer-newsletter-compact {
    grid-column: 1 / -1;
    align-items: center; text-align: center;
    width: 100%; max-width: 400px; margin: 0 auto;
  }
  .pr-footer-newsletter-row { width: 100%; }
  .pr-footer-newsletter-consent { justify-content: center; text-align: left; }
  .pr-footer-col h4 { margin-bottom: 10px; }
  .pr-footer-col ul a { min-height: 34px; }

  .pr-footer-strip {
    flex-direction: column; align-items: flex-start; gap: 14px;
    padding-top: 20px;
  }
  .pr-footer-legal { gap: 10px 14px; }
  .pr-footer-legal a, .pr-footer-legal .pr-footer-link-btn { font-size: 11.5px; padding: 2px 0; }
}
.pr-footer-social { display: flex; gap: 12px; }
.pr-footer-social a {
  width: 44px; height: 44px; border-radius: 9999px;
  background: var(--pr-ink-700); display: inline-flex; align-items: center; justify-content: center;
  color: var(--pr-ink-200);
}
.pr-footer-social a:hover { background: var(--pr-accent-500); color: white; }

/* ===================== HERO ===================== */
.pr-hero {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 8vw, 96px);
}
@media (max-width: 1023px) {
  .pr-hero { grid-template-columns: 1fr; gap: 32px; }
  .pr-hero-img { order: -1; aspect-ratio: 1/1 !important; }
}
.pr-hero-img {
  aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; position: relative; display: block;
  background: linear-gradient(155deg, #E29A79 0%, #C85A3A 60%, #8A3621 100%);
  box-shadow: var(--pr-elev-3);
}
.pr-hero-img .img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 24px;
  color: rgba(255,255,255,0.95); font-size: 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 100%);
  text-shadow: 0 1px 3px rgba(0,0,0,0.55);
}
.pr-hero-img::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 28% 22%, rgba(255,255,255,0.30) 0%, transparent 50%);
}

/* ===================== CATEGORY TILE ===================== */
.pr-cat-tile {
  display: block; aspect-ratio: 1/1.1; border-radius: 16px; overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform 240ms var(--pr-ease-out), box-shadow 240ms;
  background: var(--pr-bg-secondary);
}
.pr-cat-tile:hover { box-shadow: var(--pr-elev-2); text-decoration: none; }
.pr-cat-tile-img {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500;
}
/* If a real background-image is set inline, hide the fallback text label
   (only the bottom gradient label should show the name). */
.pr-cat-tile-img[style*="background-image"] { font-size: 0 !important; }
.pr-cat-tile-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(26,26,26,0) 0%, rgba(26,26,26,0.45) 25%, rgba(26,26,26,0.85) 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  color: white; display: flex; justify-content: space-between; align-items: center;
}
.pr-cat-tile-label .name { font-size: 18px; font-weight: 600; }
.pr-cat-tile-label .count { font-size: 13px; opacity: 0.85; }

/* ===================== ACCORDION ===================== */
.pr-accordion { border: 1px solid var(--pr-border); border-radius: 12px; overflow: hidden; background: white; }
.pr-accordion-item { border-top: 1px solid var(--pr-border); }
.pr-accordion-item:first-child { border-top: none; }
.pr-accordion-trigger {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; font-size: 16px; font-weight: 500; color: var(--pr-text-primary);
  text-align: left; font-family: inherit;
}
.pr-accordion-trigger:hover { background: var(--pr-bg-base); }
.pr-accordion-trigger:focus-visible { outline: none; box-shadow: var(--pr-focus-ring) inset; }
.pr-accordion-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--pr-text-secondary); transition: transform 200ms; }
.pr-accordion-item.open .pr-accordion-icon { transform: rotate(45deg); }
.pr-accordion-panel {
  max-height: 0; overflow: hidden; transition: max-height 320ms var(--pr-ease-out);
}
.pr-accordion-item.open .pr-accordion-panel { max-height: 800px; }
.pr-accordion-panel-inner { padding: 0 20px 20px; font-size: 15px; line-height: 24px; color: var(--pr-ink-600); }

/* ===================== FEATURE STRIP ===================== */
.pr-feature-strip {
  background: var(--pr-bg-secondary);
  border-top: 1px solid var(--pr-border); border-bottom: 1px solid var(--pr-border);
}
.pr-feature-strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding: 32px clamp(24px, 4.5vw, 32px);
}
@media (max-width: 1023px) { .pr-feature-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 639px) {
  .pr-feature-strip-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px clamp(24px, 5vw, 32px); }
  /* On mobile each trust card lays out as a 2-column grid:
     icon spans both rows on the left, h5 + p stack on the right.
     Switching from flex-row to grid here so h5 and p stay in the same column
     instead of becoming sibling flex items (which produced 3 horizontal cols). */
  .pr-feature-strip-item {
    display: grid !important;
    grid-template-columns: 28px 1fr;
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
    text-align: left;
  }
  .pr-feature-strip-item .icon {
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 2px;
    width: 28px;
    height: 28px;
  }
  .pr-feature-strip-item h5 { grid-column: 2; font-size: 14px; }
  .pr-feature-strip-item p { grid-column: 2; font-size: 12.5px; }
}
.pr-feature-strip-item { display: flex; flex-direction: column; gap: 10px; }
.pr-feature-strip-item .icon { color: var(--pr-accent-600); }
.pr-feature-strip-item h5 { margin: 0; font-size: 15px; font-weight: 700; color: var(--pr-text-primary); }
.pr-feature-strip-item p { margin: 0; font-size: 13px; color: var(--pr-text-secondary); line-height: 1.45; }

/* ===================== BREADCRUMB ===================== */
.pr-breadcrumb { font-size: 13px; color: var(--pr-text-secondary); padding: 16px 0; display: flex; gap: 6px; flex-wrap: wrap; }
.pr-breadcrumb a { color: var(--pr-text-secondary); }
.pr-breadcrumb a:hover { color: var(--pr-accent-600); }
.pr-breadcrumb .sep { color: var(--pr-text-tertiary); }
.pr-breadcrumb .current { color: var(--pr-text-primary); font-weight: 500; }

/* ===================== TRUST BADGES ===================== */
.pr-trust-row {
  display: flex; flex-direction: column; gap: 12px;
  padding: 16px; background: var(--pr-bg-secondary); border-radius: 8px;
}
.pr-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--pr-text-primary);
}
.pr-trust-item .icon { color: var(--pr-accent-600); flex-shrink: 0; }

/* ===================== REVIEW DISTRIBUTION ===================== */
.pr-review-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  padding: 24px; background: var(--pr-bg-secondary); border-radius: 12px;
}
@media (max-width: 767px) { .pr-review-summary { grid-template-columns: 1fr; gap: 16px; } }
.pr-review-bar { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pr-text-secondary); margin-bottom: 6px; }
.pr-review-bar .track { flex: 1; height: 6px; background: var(--pr-border); border-radius: 9999px; overflow: hidden; }
.pr-review-bar .fill { height: 100%; background: var(--pr-accent-500); border-radius: 9999px; }

/* ===================== REVIEW CARD ===================== */
.pr-review {
  background: white; border: 1px solid var(--pr-border); border-radius: 12px;
  padding: 20px;
}
.pr-review-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.pr-review-avatar {
  width: 40px; height: 40px; border-radius: 9999px;
  background: var(--pr-accent-100); color: var(--pr-accent-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.pr-verified {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--pr-success-bg); color: var(--pr-success);
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 9999px;
}

/* ===================== STEP INDICATOR ===================== */
.pr-steps { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; font-size: 14px; }
.pr-steps .step { display: flex; align-items: center; gap: 8px; color: var(--pr-text-tertiary); }
.pr-steps .step .num {
  width: 28px; height: 28px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pr-bg-secondary); color: var(--pr-text-secondary); font-weight: 600; font-size: 13px;
}
.pr-steps .step.active { color: var(--pr-text-primary); font-weight: 600; }
.pr-steps .step.active .num { background: var(--pr-accent-500); color: white; }
.pr-steps .step.done .num { background: var(--pr-success); color: white; }
.pr-steps .arrow { color: var(--pr-text-tertiary); }

/* ===================== STICKY ATC (Mobile) ===================== */
.pr-sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--pr-bg-base); border-top: 1px solid var(--pr-border);
  padding: 10px 16px; display: none; align-items: center; gap: 12px;
  box-shadow: var(--pr-elev-3);
}
@media (max-width: 1023px) { .pr-sticky-atc.visible { display: flex; } }
.pr-sticky-atc .thumb { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.pr-sticky-atc .name { font-size: 14px; font-weight: 600; line-height: 1.2; }
.pr-sticky-atc .price { font-size: 12px; color: var(--pr-text-secondary); }

/* ===================== SKIP LINK ===================== */
.pr-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pr-ink-800); color: white;
  padding: 10px 16px; font-weight: 600;
  border-radius: 0 0 8px 0;
}
.pr-skip-link:focus { left: 0; }

/* ===================== UTILITIES ===================== */
.pr-divider { height: 1px; background: var(--pr-border); border: none; margin: 24px 0; }
.pr-tag {
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: var(--pr-bg-secondary); color: var(--pr-text-secondary);
  border-radius: 9999px; font-size: 12px; font-weight: 500;
}
.pr-tag-accent { background: var(--pr-accent-50); color: var(--pr-accent-700); }

/* placeholder image bg variations */
.bg-img-1 { background: linear-gradient(135deg, #B6BFA8 0%, #8A9479 100%); }
.bg-img-2 { background: linear-gradient(135deg, #C85A3A 0%, #8A3621 100%); }
.bg-img-3 { background: linear-gradient(135deg, #5F5F60 0%, #2A2A2D 100%); }
.bg-img-4 { background: linear-gradient(135deg, #A6A4A0 0%, #7C7A77 100%); }
.bg-img-5 { background: linear-gradient(135deg, #EDE8DE 0%, #D6D0C4 100%); color: #5F5F60 !important; }
.bg-img-6 { background: linear-gradient(135deg, #1A1A1A 0%, #404043 100%); }
.bg-img-7 { background: linear-gradient(135deg, #D87856 0%, #C85A3A 100%); }
.bg-img-8 { background: linear-gradient(135deg, #D6A56A 0%, #A68142 100%); }
.bg-img-9 { background: linear-gradient(135deg, #F5DDD2 0%, #E29A79 100%); color: #6B2918 !important; }
.bg-img-10 { background: linear-gradient(135deg, #B6BFA8 0%, #5F5F60 100%); }

/* ===================== QUANTITY STEPPER ===================== */
.pr-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--pr-border); border-radius: 8px; overflow: hidden;
  background: white; height: 48px;
}
.pr-qty button {
  width: 44px; height: 100%; border: none; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: var(--pr-text-primary);
  transition: background 120ms;
}
.pr-qty button:hover { background: var(--pr-bg-secondary); }
.pr-qty input {
  width: 44px; height: 100%; border: none; background: transparent;
  text-align: center; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--pr-text-primary);
  outline: none; padding: 0;
}
.pr-qty input:focus { background: var(--pr-bg-secondary); }
.pr-qty-sm { height: 36px; }
.pr-qty-sm button { width: 32px; }
.pr-qty-sm input { width: 36px; font-size: 14px; }

.pr-variant-swatch {
  width: 44px; height: 44px; border-radius: 9999px; border: 2px solid transparent;
  cursor: pointer; padding: 0; transition: border-color 120ms, box-shadow 120ms;
  outline: 2px solid var(--pr-border); outline-offset: -2px;
}
.pr-variant-swatch.active { outline-color: var(--pr-accent-500); outline-width: 2px; outline-offset: 2px; }
.pr-variant-swatch:hover { transform: scale(1.06); }

.pr-variant-pill {
  height: 44px; padding: 0 16px; border-radius: 8px;
  border: 1px solid var(--pr-border-strong); background: white; color: var(--pr-text-primary);
  font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 120ms;
}
.pr-variant-pill:hover { border-color: var(--pr-text-primary); }
.pr-variant-pill.active { background: var(--pr-text-primary); color: white; border-color: var(--pr-text-primary); }

/* ===================== PDP — Gallery + Buybox ===================== */
.pr-pdp-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 1023px) { .pr-pdp-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Long product description inside the buybox - fills the empty column on
   desktop and shows the full text on phones (not just the short sub-line). */
.pr-buybox-about { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--pr-border); }
.pr-buybox-about p { margin: 0; color: var(--pr-text-secondary); font-size: 15px; line-height: 1.6; }

/* Specs render as their own clean, constrained block below the buy area. */
.pr-pdp-specs-block { max-width: 640px; }

/* Keep the quantity stepper the same height as the large add-to-cart button
   so their edges line up in the buybox action row. */
.pr-buybox .pr-qty { height: 52px; }

.pr-gallery { position: sticky; top: 96px; }
.pr-gallery-main {
  position: relative; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 20px;
  color: rgba(255,255,255,0.85); font-size: 13px;
  background: var(--pr-bg-secondary);
}
.pr-gallery-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pr-mega-feature-img { position: relative; overflow: hidden; }
.pr-mega-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pr-hero-image-fill {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.pr-gallery-zoom, .pr-gallery-fav {
  position: absolute; right: 16px; width: 44px; height: 44px;
  background: rgba(255,255,255,0.92); border: none; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--pr-text-primary); transition: background 120ms;
}
.pr-gallery-zoom { top: 16px; }
.pr-gallery-fav { top: 68px; }
.pr-gallery-zoom:hover, .pr-gallery-fav:hover { background: white; }
.pr-gallery-fav.active { background: var(--pr-accent-600); color: white; }
.pr-gallery-fav.active i { fill: currentColor; }

/* ----- Lightbox / image zoom ----- */
.pr-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  animation: pr-fade 180ms ease-out both;
}
.pr-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}
.pr-lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border: 0; border-radius: 9999px;
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.pr-lightbox-close:hover { background: rgba(255,255,255,0.22); }
.pr-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.pr-gallery-thumb {
  aspect-ratio: 1/1; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 12px; font-weight: 500;
  transition: border-color 120ms;
}
.pr-gallery-thumb.active { border-color: var(--pr-accent-500); }

.pr-buybox { padding-top: 4px; }
.pr-trust-list { list-style: none; padding: 16px 0 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-trust-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--pr-text-primary); }
.pr-trust-list li i { color: var(--pr-accent-600); flex-shrink: 0; width: 18px; height: 18px; }

/* ===================== Trust Cards ===================== */
.pr-trust-card {
  background: var(--pr-bg-secondary); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.pr-trust-card > i { width: 32px; height: 32px; color: var(--pr-accent-600); }
.pr-trust-card h4 { margin: 0; font-size: 17px; font-weight: 700; }
.pr-trust-card p { margin: 0; font-size: 14px; line-height: 22px; color: var(--pr-text-secondary); }

.pr-benefit-card {
  background: white; border: 1px solid var(--pr-border); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.pr-benefit-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--pr-accent-50); color: var(--pr-accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.pr-benefit-card h4 { margin: 0; font-size: 16px; font-weight: 700; }
.pr-benefit-card p { margin: 0; font-size: 14px; line-height: 22px; color: var(--pr-text-secondary); }

/* ===================== Use Case ===================== */
.pr-usecase { background: white; border-radius: 14px; overflow: hidden; box-shadow: var(--pr-elev-1); }
.pr-usecase-img {
  aspect-ratio: 16/10; position: relative; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.95); font-size: 13px;
}
.pr-usecase-img .play {
  width: 54px; height: 54px; border-radius: 9999px;
  background: rgba(255,255,255,0.94); color: var(--pr-text-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.pr-usecase-img .dur {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,0.65); color: white; padding: 2px 8px; border-radius: 4px; font-size: 12px;
}
.pr-usecase h4 { margin: 16px 20px 6px; font-size: 16px; font-weight: 700; }
.pr-usecase p { margin: 0 20px 20px; font-size: 14px; line-height: 22px; color: var(--pr-text-secondary); }

/* ===================== Specs Table ===================== */
.pr-specs { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; }
.pr-specs th, .pr-specs td { text-align: left; padding: 14px 20px; font-size: 15px; border-bottom: 1px solid var(--pr-border); }
.pr-specs th { font-weight: 600; color: var(--pr-text-primary); width: 30%; background: var(--pr-bg-secondary); }
.pr-specs td { color: var(--pr-text-secondary); line-height: 22px; }
.pr-specs tr:last-child th, .pr-specs tr:last-child td { border-bottom: none; }

/* ===================== Mag Cross-link ===================== */
.pr-magcross {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; border-radius: 16px; overflow: hidden;
  background: var(--pr-accent-50); transition: transform 200ms, box-shadow 200ms;
}
.pr-magcross:hover { transform: translateY(-3px); box-shadow: var(--pr-elev-2); text-decoration: none; }
.pr-magcross .img { aspect-ratio: 4/3; }
.pr-magcross .body { padding: 28px 32px; align-self: center; }
@media (max-width: 767px) { .pr-magcross { grid-template-columns: 1fr; } }

/* ===================== Review Bars ===================== */
.pr-reviews-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 767px) { .pr-reviews-head { grid-template-columns: 1fr; } }
.pr-rating-bars { display: flex; flex-direction: column; gap: 8px; }
.pr-rating-bars .bar-row { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.pr-rating-bars .lbl { width: 32px; color: var(--pr-text-secondary); }
.pr-rating-bars .bar { flex: 1; height: 8px; background: white; border-radius: 9999px; overflow: hidden; }
.pr-rating-bars .bar span { display: block; height: 100%; background: var(--pr-accent-500); border-radius: 9999px; }
.pr-rating-bars .pct { width: 40px; text-align: right; color: var(--pr-text-secondary); font-weight: 600; }

/* ===================== Shop Toolbar / Filter ===================== */
.pr-shop-toolbar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 12px 16px; background: var(--pr-bg-secondary); border-radius: 10px;
}
.pr-filter-group h5 {
  margin: 0 0 12px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--pr-text-primary);
}
.pr-filter-group { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 1023px) {
  .pr-filter-side { display: none; }
}
@media (min-width: 1024px) {
  /* Desktop: sticky sidebar - the inline style that used to live in shop.html
     was overriding the mobile position: fixed on the drawer. */
  .pr-filter-side { position: sticky; top: 120px; }
  .pr-pdp-grid + .pr-shop-toolbar { display: none; }
}

/* ===================== CART (Warenkorb) ===================== */
.pr-cart-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}
@media (max-width: 1023px) { .pr-cart-grid { grid-template-columns: 1fr; gap: 24px; } }

.pr-cart-item {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center;
  padding: 20px; background: white; border: 1px solid var(--pr-border); border-radius: 12px;
}
.pr-cart-thumb {
  width: 96px; height: 96px; border-radius: 10px;
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 8px;
  color: rgba(255,255,255,0.85); font-size: 11px; font-weight: 500;
}
.pr-cart-thumb:hover { text-decoration: none; }
.pr-cart-name {
  font-size: 16px; font-weight: 600; color: var(--pr-text-primary); line-height: 1.3;
  display: block;
}
.pr-cart-name:hover { color: var(--pr-accent-600); text-decoration: none; }
.pr-cart-sub { font-size: 13px; color: var(--pr-text-secondary); margin: 4px 0 12px; }
.pr-cart-mobile-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.pr-cart-remove { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pr-cart-price { font-size: 17px; font-weight: 700; color: var(--pr-text-primary); white-space: nowrap; }

@media (max-width: 639px) {
  .pr-cart-item { grid-template-columns: 64px 1fr; gap: 12px; padding: 14px; }
  .pr-cart-thumb { width: 64px; height: 64px; }
  .pr-cart-price { grid-column: 1 / -1; text-align: right; }
}

.pr-summary-card {
  background: var(--pr-bg-secondary); border-radius: 14px; padding: 24px;
  position: sticky; top: 96px;
}
.pr-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 15px; padding: 6px 0; color: var(--pr-text-primary); }
.pr-summary-row span:last-child { font-weight: 600; }
.pr-summary-total { font-size: 20px; font-weight: 700; padding: 8px 0; }
.pr-summary-total span:last-child { font-weight: 800; }

.pr-shipping-progress { padding: 8px 0 4px; }
.pr-shipping-bar { width: 100%; height: 6px; background: var(--pr-border); border-radius: 9999px; overflow: hidden; }
.pr-shipping-bar span { display: block; height: 100%; background: var(--pr-accent-500); border-radius: 9999px; transition: width 240ms; }

/* Cart row actions: Save for later + Remove */
.pr-cart-row-actions { display: inline-flex; gap: 12px; align-items: center; }
.pr-cart-save { color: var(--pr-text-secondary); }
.pr-cart-save:hover { color: var(--pr-accent-700); }

/* Promo code disclosure inside summary */
.pr-promo-disclosure {
  margin: 8px 0;
  padding: 10px 12px;
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  background: var(--pr-bg-secondary);
}
.pr-promo-disclosure summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--pr-accent-700);
  list-style: none;
  display: flex; align-items: center; gap: 8px;
}
.pr-promo-disclosure summary::-webkit-details-marker { display: none; }
.pr-promo-disclosure summary::before {
  content: '+';
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: white; border: 1px solid var(--pr-border);
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px; line-height: 1;
}
.pr-promo-disclosure[open] summary::before { content: '−'; }
.pr-promo-inner {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px;
}
.pr-promo-inner .pr-input { flex: 1; min-width: 120px; }
.pr-promo-inner .pr-btn { flex-shrink: 0; }
.pr-promo-disclosure code {
  background: white; padding: 1px 6px; border-radius: 4px;
  font-size: 12px;
}

/* Delivery estimate card */
.pr-cart-etd {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px;
  background: var(--pr-bg-secondary);
  border-radius: 10px;
  margin: 6px 0 0;
}
.pr-cart-etd strong { display: block; font-size: 14px; }

/* Empty cart popular-items suggestion */
.pr-empty-suggest { margin-top: 24px; text-align: left; }

/* Sticky bottom CTA for mobile cart */
.pr-cart-sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: white;
  border-top: 1px solid var(--pr-border);
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  display: none;
}
.pr-cart-sticky-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  max-width: 1200px; margin: 0 auto;
}
.pr-cart-sticky-inner > div:first-child { line-height: 1.1; }
.pr-cart-sticky-inner strong { font-size: 18px; }
@media (max-width: 1023px) {
  .pr-cart-sticky:not([hidden]) { display: block; }
}

/* Hide cart-bottom-bar on PDPs where sticky-ATC already sits there */
body:has(.pr-sticky-atc.visible) .pr-cart-sticky { display: none; }

/* Discount row colour */
.pr-summary-discount { color: var(--pr-accent-700); }

.pr-coupon { display: flex; gap: 8px; }
.pr-coupon input { height: 40px; font-size: 14px; padding: 0 12px; }

.pr-empty-state {
  text-align: center; padding: 80px 24px;
  background: white; border: 1px solid var(--pr-border); border-radius: 16px;
}
.pr-empty-icon {
  width: 80px; height: 80px; border-radius: 9999px;
  background: var(--pr-accent-50); color: var(--pr-accent-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.pr-empty-icon i { width: 36px; height: 36px; }

/* ===================== CHECKOUT ===================== */
.pr-checkout-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start;
  padding: 32px 0 64px;
}
@media (max-width: 1023px) { .pr-checkout-grid { grid-template-columns: 1fr; gap: 24px; } }

.pr-checkout-main {
  background: white; border: 1px solid var(--pr-border); border-radius: 14px;
  padding: 32px;
}
@media (max-width: 639px) { .pr-checkout-main { padding: 20px; border-radius: 10px; } }

.pr-checkout-summary {
  background: var(--pr-bg-secondary); border-radius: 14px; padding: 24px;
  position: sticky; top: 96px;
}
.pr-summary-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.pr-summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.pr-summary-item-thumb {
  width: 56px; height: 56px; border-radius: 8px; position: relative;
}
.pr-summary-item-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--pr-ink-800); color: white; font-size: 11px; font-weight: 700;
  width: 22px; height: 22px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--pr-bg-secondary);
}
.pr-summary-item-name { font-size: 14px; font-weight: 600; color: var(--pr-text-primary); line-height: 1.3; }
.pr-summary-item-sub { font-size: 12px; color: var(--pr-text-secondary); margin-top: 2px; }
.pr-summary-item-price { font-size: 14px; font-weight: 700; color: var(--pr-text-primary); white-space: nowrap; }

.pr-form-row { display: flex; flex-direction: column; margin-bottom: 16px; }
.pr-form-grid { display: flex; gap: 16px; }
@media (max-width: 639px) { .pr-form-grid { flex-direction: column; gap: 0; } }
.pr-input.error, .pr-select.error { border-color: var(--pr-error); box-shadow: 0 0 0 3px rgba(157,41,51,0.18); }

.pr-radio-cards { display: flex; flex-direction: column; gap: 10px; }
.pr-radio-card {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; background: white; border: 1.5px solid var(--pr-border);
  border-radius: 12px; cursor: pointer; transition: all 160ms;
}
.pr-radio-card:hover { border-color: var(--pr-border-strong); background: var(--pr-bg-base); }
.pr-radio-card.active { border-color: var(--pr-accent-500); background: var(--pr-accent-50); box-shadow: 0 0 0 3px rgba(200,90,58,0.12); }
.pr-radio-card input[type=radio] { display: none; }
.pr-radio-card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--pr-bg-secondary); color: var(--pr-text-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.pr-radio-card.active .pr-radio-card-icon { background: var(--pr-accent-100); color: var(--pr-accent-700); }
.pr-radio-card-title { font-size: 15px; font-weight: 600; color: var(--pr-text-primary); }
.pr-radio-card-desc { font-size: 13px; color: var(--pr-text-secondary); margin-top: 2px; }
.pr-radio-card-price { font-size: 15px; font-weight: 700; color: var(--pr-text-primary); white-space: nowrap; }
.pr-radio-card-sm { grid-template-columns: 1fr; }

.pr-checkout-actions {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--pr-border);
}
@media (max-width: 639px) { .pr-checkout-actions { flex-direction: column-reverse; } .pr-checkout-actions > * { width: 100%; } }

.pr-checkout-legal {
  background: var(--pr-bg-secondary); border-radius: 12px;
  padding: 20px; margin-top: 24px;
}
.pr-helper-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--pr-info-bg); color: var(--pr-info);
  padding: 14px 16px; border-radius: 10px; font-size: 14px; line-height: 22px;
  margin-top: 16px;
}
.pr-helper-box b { color: var(--pr-info); }

/* Step indicator override for checkout */
#checkout-root .pr-steps { margin-bottom: 32px; }

/* ===================== CONFIRMATION ===================== */
.pr-confirmation { text-align: center; padding: 24px 0 32px; }
.pr-confirmation-icon {
  width: 88px; height: 88px; border-radius: 9999px;
  background: var(--pr-success-bg); color: var(--pr-success);
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.pr-order-no {
  display: inline-block; background: var(--pr-bg-secondary);
  padding: 8px 16px; border-radius: 9999px; font-size: 14px; color: var(--pr-text-secondary);
  margin-bottom: 32px;
}
.pr-order-no b { color: var(--pr-text-primary); font-weight: 700; }
.pr-confirmation-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 0 auto 16px; text-align: left;
}
@media (max-width: 767px) { .pr-confirmation-grid { grid-template-columns: 1fr; } }
.pr-confirmation-card {
  background: white; border: 1px solid var(--pr-border); border-radius: 12px;
  padding: 20px;
}
.pr-confirmation-card h4 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pr-text-tertiary); }
.pr-confirmation-card p { margin: 0; font-size: 15px; line-height: 22px; color: var(--pr-text-primary); }

.pr-next-steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; text-align: left; }
.pr-next-steps li {
  counter-increment: step;
  padding: 14px 20px 14px 56px; background: var(--pr-bg-secondary); border-radius: 10px;
  position: relative; margin-bottom: 10px; font-size: 15px; line-height: 22px; color: var(--pr-text-primary);
}
.pr-next-steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px;
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--pr-accent-500); color: white; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* a11y motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS — robuste Version mit !important auf .is-visible
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal="up"], [data-reveal=""], [data-reveal]:not([data-reveal=*]) { transform: translateY(32px); }
[data-reveal="down"] { transform: translateY(-32px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="zoom-out"] { transform: scale(1.06); }
[data-reveal="rotate"] { transform: rotate(-3deg) translateY(20px); }
[data-reveal="fade"] { transform: none; }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(16px); }
[data-reveal].is-visible {
  opacity: 1 !important;
  transform: translate3d(0,0,0) scale(1) rotate(0) !important;
  filter: blur(0) !important;
}
[data-reveal-delay="100"].is-visible { transition-delay: 100ms; }
[data-reveal-delay="200"].is-visible { transition-delay: 200ms; }
[data-reveal-delay="300"].is-visible { transition-delay: 300ms; }
[data-reveal-delay="400"].is-visible { transition-delay: 400ms; }
[data-reveal-delay="500"].is-visible { transition-delay: 500ms; }
[data-reveal-delay="700"].is-visible { transition-delay: 700ms; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-stagger].is-visible > * { opacity: 1 !important; transform: none !important; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 280ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 350ms; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: 420ms; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: 490ms; }
[data-stagger].is-visible > *:nth-child(n+9) { transition-delay: 560ms; }

/* abwechslungsreichere stagger-varianten */
[data-stagger="scale"] > * { transform: translateY(20px) scale(0.94); }
[data-stagger="left"] > * { transform: translateX(-32px); }
[data-stagger="right"] > * { transform: translateX(32px); }

/* split-text headline reveal (per-word) */
.pr-split-line { display: inline-block; overflow: hidden; vertical-align: top; }
.pr-split-word {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .pr-split-word { transform: translateY(0); }

/* count-up stat */
.pr-stat-num { font-variant-numeric: tabular-nums; display: inline-block; }

/* magnetic-card subtle tilt */
.pr-magnet {
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}

/* parallax wrapper */
.pr-parallax {
  will-change: transform;
  transition: transform 80ms linear;
}

/* marquee for studio-logos */
.pr-marquee {
  overflow: hidden; position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.pr-marquee-track {
  display: flex; gap: 32px;
  width: max-content;
  animation: prMarquee 38s linear infinite;
}
.pr-marquee:hover .pr-marquee-track { animation-play-state: paused; }
@keyframes prMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* page transition on click */
body.pr-leaving main { opacity: 0; transform: translateY(8px); transition: opacity 220ms, transform 220ms; }

/* scroll-progress bar (top) */
.pr-scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--pr-accent-400), var(--pr-accent-700));
  z-index: 100; transition: width 80ms linear;
  pointer-events: none;
}

/* hero text initial entrance — skip h1 if it has data-split (handled per-word) */
.pr-hero .pr-eyebrow, .pr-hero p, .pr-hero > div > div {
  animation: prRise 800ms var(--pr-ease-out) both;
}
.pr-hero h1:not([data-split]) {
  animation: prRise 800ms var(--pr-ease-out) both;
  animation-delay: 140ms;
}
.pr-hero .pr-eyebrow { animation-delay: 60ms; }
.pr-hero p { animation-delay: 320ms; }
.pr-hero > div > div:last-child:not(.pr-hero-img) { animation-delay: 480ms; }
@keyframes prRise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pr-hero-img {
  animation: prImgIn 1000ms var(--pr-ease-out) both;
  animation-delay: 100ms;
}
@keyframes prImgIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

/* Category tile and product card hover effects intentionally kept minimal:
   no shimmer sweep, no image scale, no terracotta lava overlay - the elevation
   change on the card itself is enough of a hover affordance. */

/* button shine */
.pr-btn-primary { position: relative; overflow: hidden; }
.pr-btn-primary::before {
  content: ""; position: absolute; top: 0; left: -100%; height: 100%; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 600ms var(--pr-ease-out);
}
.pr-btn-primary:hover::before { left: 100%; }

/* link underline animation */
.pr-btn-link {
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 280ms var(--pr-ease-out);
}
.pr-btn-link:hover { background-size: 100% 1px; text-decoration: none; }

/* nav underline */
.pr-nav a::after {
  content: "";
  position: absolute; bottom: 4px; left: 0; right: 0; height: 2px;
  background: var(--pr-accent-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--pr-ease-out);
}
.pr-nav a:hover::after, .pr-nav a.active::after { transform: scaleX(1); }

/* body-map hot-spot pulse */
@keyframes prPulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.18); }
}
svg [fill="var(--pr-accent-500)"] {
  transform-origin: center; transform-box: fill-box;
  animation: prPulse 2.4s ease-in-out infinite;
  cursor: pointer;
  transition: transform 200ms;
}
svg [fill="var(--pr-accent-500)"]:hover { animation-play-state: paused; transform: scale(1.3); }
svg [fill="var(--pr-accent-500)"]:nth-of-type(2) { animation-delay: 0.3s; }
svg [fill="var(--pr-accent-500)"]:nth-of-type(3) { animation-delay: 0.6s; }
svg [fill="var(--pr-accent-500)"]:nth-of-type(4) { animation-delay: 0.9s; }
svg [fill="var(--pr-accent-500)"]:nth-of-type(5) { animation-delay: 1.2s; }
svg [fill="var(--pr-accent-500)"]:nth-of-type(6) { animation-delay: 1.5s; }
svg [fill="var(--pr-accent-500)"]:nth-of-type(7) { animation-delay: 1.8s; }

/* studio-logo hover */
.studio-logo { transition: transform 200ms var(--pr-ease-out), border-color 200ms, background 200ms; }
.studio-logo:hover { transform: translateY(-3px); border-color: var(--pr-accent-400); background: white; }

/* hero gradient breathe */
.pr-hero-img::after {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background: radial-gradient(circle at 70% 80%, rgba(216,120,86,0.45) 0%, transparent 55%);
  animation: prBreathe 8s ease-in-out infinite;
}
@keyframes prBreathe {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%      { opacity: 0.7; transform: scale(1.08); }
}

/* toast fade in/out (refined) */
#pr-toast { font-family: 'Figtree', system-ui, sans-serif !important; }

/* page-loader bar */
.pr-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200;
  background: transparent; pointer-events: none;
}
.pr-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--pr-accent-400), var(--pr-accent-600));
  transition: width 180ms var(--pr-ease-out);
}

/* sub-page hero block */
.pr-page-hero {
  background: var(--pr-bg-secondary);
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--pr-border);
  position: relative; overflow: hidden;
}
.pr-page-hero::before {
  content: ""; position: absolute; top: -120px; right: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,120,86,0.20) 0%, transparent 70%);
  animation: prBreathe 10s ease-in-out infinite;
}
.pr-page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.pr-page-hero h1 { margin: 16px 0 16px; }
.pr-page-hero p { font-size: 19px; line-height: 30px; color: var(--pr-text-secondary); margin: 0; max-width: 620px; }

/* prose block for content pages */
.pr-prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 28px; color: var(--pr-text-primary); }
.pr-prose h2 { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 48px 0 16px; letter-spacing: -0.01em; }
.pr-prose h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin: 32px 0 12px; }
.pr-prose p { margin: 0 0 18px; }
.pr-prose ul, .pr-prose ol { padding-left: 22px; margin: 0 0 18px; }
.pr-prose li { margin-bottom: 8px; }
.pr-prose strong { font-weight: 600; }
.pr-prose a { color: var(--pr-accent-600); text-decoration: underline; text-underline-offset: 3px; }
.pr-prose hr { border: none; border-top: 1px solid var(--pr-border); margin: 40px 0; }
/* Legal-page tables: scroll horizontally on small screens instead of overflowing the viewport */
.pr-prose table { max-width: 100%; }
@media (max-width: 639px) {
  .pr-prose table { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pr-prose table th, .pr-prose table td { white-space: nowrap; }
}
.pr-prose blockquote {
  border-left: 3px solid var(--pr-accent-500);
  padding: 8px 0 8px 20px; margin: 24px 0;
  font-size: 19px; line-height: 28px; color: var(--pr-text-primary); font-style: italic;
}
.pr-prose code {
  background: var(--pr-bg-secondary); padding: 2px 6px; border-radius: 4px;
  font-family: 'SFMono-Regular', Consolas, monospace; font-size: 14px;
}

/* card with hover lift (generic) */
.pr-lift {
  transition: transform 220ms var(--pr-ease-out), box-shadow 220ms;
}
.pr-lift:hover { transform: translateY(-4px); box-shadow: var(--pr-elev-2); }

/* fancy 404 numeral */
.pr-404 {
  font-size: clamp(120px, 22vw, 240px); font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--pr-accent-400) 0%, var(--pr-accent-700) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
  animation: pr404 6s ease-in-out infinite;
}
@keyframes pr404 {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* team / values cards */
.pr-value-card {
  background: white; border: 1px solid var(--pr-border); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 220ms var(--pr-ease-out), box-shadow 220ms, border-color 220ms;
}
.pr-value-card:hover { transform: translateY(-4px); border-color: var(--pr-accent-200); box-shadow: var(--pr-elev-2); }
.pr-value-card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--pr-accent-50); color: var(--pr-accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}

.pr-team-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--pr-elev-1); transition: transform 220ms, box-shadow 220ms; }
.pr-team-card:hover { transform: translateY(-4px); box-shadow: var(--pr-elev-2); }
.pr-team-img { aspect-ratio: 4/5; display:flex; align-items:flex-end; padding: 16px; color: rgba(255,255,255,0.85); font-size: 12px; }
.pr-team-body { padding: 20px 22px 24px; }
.pr-team-name { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.pr-team-role { font-size: 14px; color: var(--pr-text-secondary); margin: 0 0 10px; }

/* contact card */
.pr-contact-card {
  background: white; border: 1px solid var(--pr-border); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 220ms, box-shadow 220ms, border-color 220ms;
}
.pr-contact-card:hover { transform: translateY(-4px); border-color: var(--pr-accent-200); box-shadow: var(--pr-elev-2); text-decoration: none; }
.pr-contact-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--pr-accent-50); color: var(--pr-accent-700);
  display: inline-flex; align-items: center; justify-content: center;
}

/* magazine article card large */
.pr-article-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px;
  background: white; border-radius: 20px; overflow: hidden; box-shadow: var(--pr-elev-1);
  transition: transform 220ms, box-shadow 220ms;
}
.pr-article-feature:hover { transform: translateY(-4px); box-shadow: var(--pr-elev-2); text-decoration: none; }
.pr-article-feature .img { aspect-ratio: 4/3; overflow: hidden; background: var(--pr-bg-secondary); color: rgba(255,255,255,0.85); font-size: 12px; }
.pr-article-feature .img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-article-feature .body { padding: 36px 40px; align-self: center; }
@media (max-width: 1023px) {
  .pr-article-feature { grid-template-columns: 1fr; }
  .pr-article-feature .body { padding: 28px; }
}

/* tip box for magazine articles */
.pr-tip-box {
  background: var(--pr-accent-50);
  border-left: 3px solid var(--pr-accent-500);
  padding: 18px 22px; margin: 24px 0;
  border-radius: 8px;
  font-size: 15px; line-height: 24px;
}
.pr-tip-box b { color: var(--pr-accent-700); }

/* =================================================================
   NAVBAR AUTO-HIDE on scroll
   ================================================================= */
.pr-header { transition: transform 240ms var(--pr-ease-out); }
.pr-header.nav-hidden { transform: translateY(-100%); }

/* =================================================================
   SEARCH MODAL
   ================================================================= */
.pr-search-modal { position: fixed; inset: 0; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 200ms; }
.pr-search-modal.open { opacity: 1; pointer-events: auto; }
.pr-search-overlay { position: absolute; inset: 0; background: rgba(26,26,26,0.55); backdrop-filter: blur(4px); }
.pr-search-panel { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(680px, 100%); max-height: 80vh; background: var(--pr-bg-base); border-radius: 0 0 16px 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--pr-elev-3); }
.pr-search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--pr-border); }
.pr-search-input { flex: 1; height: 32px; border: none; outline: none; background: transparent; font-family: inherit; font-size: 18px; color: var(--pr-text-primary); }
.pr-search-input::placeholder { color: var(--pr-text-tertiary); }
.pr-search-close { width: 36px; height: 36px; border-radius: 8px; border: none; background: var(--pr-bg-secondary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pr-search-close:hover { background: var(--pr-bg-tertiary); }
.pr-search-results { padding: 12px; overflow-y: auto; }
.pr-search-empty { padding: 24px 12px; }
.pr-search-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pr-search-pill { padding: 8px 14px; border-radius: 999px; background: var(--pr-bg-secondary); color: var(--pr-text-primary); font-size: 13px; font-weight: 500; }
.pr-search-pill:hover { background: var(--pr-bg-tertiary); text-decoration: none; }
.pr-search-result { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--pr-text-primary); }
.pr-search-result:hover { background: var(--pr-bg-secondary); text-decoration: none; }
.pr-search-result-img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--pr-bg-secondary); }
.pr-search-result-ico { display: inline-flex; align-items: center; justify-content: center; color: var(--pr-text-tertiary); }
.pr-search-result-body { flex: 1; min-width: 0; }
.pr-search-result-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.pr-search-result-sub { font-size: 12px; color: var(--pr-text-tertiary); margin-top: 2px; }
@media (max-width: 639px) {
  .pr-search-panel { border-radius: 0; }
  .pr-search-input { font-size: 16px; }
}

/* =================================================================
   GALLERY THUMB active state (PDP)
   ================================================================= */
.pr-gallery-thumb {
  cursor: pointer; border: 2px solid transparent;
  border-radius: 10px;
  transition: border-color 160ms, transform 160ms;
}
.pr-gallery-thumb:hover { transform: translateY(-2px); }
.pr-gallery-thumb.active { border-color: var(--pr-accent-600); }

/* image fallback emoji helper */
.pr-emoji-tile {
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(64px, 14vw, 128px); line-height: 1;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.18));
}

/* smooth-scroll polyfill */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* =================================================================
   TWO-COL UTILITY (becomes single column on mobile)
   ================================================================= */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 767px) {
  .two-col-section {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

/* =================================================================
   GLOBAL MOBILE-COLLAPSE FOR INLINE GRIDS
   Any inline grid-template-columns with two-or-more columns collapses
   to single column under 768px. Otherwise on mobile the inline style
   beats every media query and breaks every layout.
   ================================================================= */
@media (max-width: 767px) {
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns:1fr 1.2fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: 1fr 1.2fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns:1.2fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: 1.2fr 1fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns:1.4fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns: 1.4fr"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  [style*="grid-template-columns:1fr 2fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 1fr 2fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:2fr 1fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 2fr 1fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:1fr 3fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:96px 1fr auto"] { grid-template-columns: 80px 1fr !important; gap: 12px !important; }
  [style*="grid-template-columns: 96px 1fr auto"] { grid-template-columns: 80px 1fr !important; gap: 12px !important; }
  /* Fixed-width sidebar layouts collapse to single column */
  [style*="grid-template-columns:240px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 240px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:280px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 280px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:320px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 320px"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(2"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: repeat(4"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(5"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: repeat(5"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:repeat(6"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: repeat(6"] { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: 1fr auto"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns:auto 1fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  [style*="grid-template-columns: auto 1fr"] { grid-template-columns: 1fr !important; gap: 16px !important; }
  /* Inline flex with fixed widths under 320 needs to wrap */
  [style*="display:flex"][style*="gap"], [style*="display: flex"][style*="gap"] {
    flex-wrap: wrap;
  }
  /* Inline padding too generous on tiny screens — clamp it */
  [style*="padding:24px"], [style*="padding: 24px"] { padding: 18px !important; }
  [style*="padding:28px"], [style*="padding: 28px"] { padding: 18px !important; }
  [style*="padding:32px"], [style*="padding: 32px"] { padding: 20px !important; }
  [style*="padding:48px"], [style*="padding: 48px"] { padding: 24px !important; }
  [style*="padding:64px"], [style*="padding: 64px"] { padding: 32px !important; }
}

/* =================================================================
   MOBILE / TOUCH DEFENSE LAYER
   ================================================================= */

/* iOS Safari auto-zoom suppressor: inputs must be >=16px font on touch */
@media (max-width: 768px) {
  .pr-input, .pr-select, .pr-textarea,
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="search"], input[type="password"],
  select, textarea {
    font-size: 16px !important;
  }
}

/* ===================================================================
   TOUCH DEVICES: kill every :hover effect.
   On touch devices the first tap activates :hover, the second one
   activates the link. Make sure no hover-style applies on touch input
   so a single tap navigates immediately, and nothing stays "stuck" in
   hover state after tap-release.
   =================================================================== */
@media (hover: none), (pointer: coarse) {
  /* Cards & tiles: no lift, no shadow change, no scale */
  .pr-product-card,
  .pr-cat-tile,
  .pr-team-card,
  .pr-value-card,
  .pr-review,
  .article-card,
  .pr-article-feature,
  .bp-tile,
  .pr-exercise-card,
  .pr-studio-mark,
  .bundle-card,
  .pr-contact-card,
  .pr-trust-card {
    transform: none !important;
  }
  .pr-product-card:hover,
  .pr-cat-tile:hover,
  .pr-team-card:hover,
  .pr-value-card:hover,
  .pr-review:hover,
  .article-card:hover,
  .pr-article-feature:hover,
  .bp-tile:hover,
  .bundle-card:hover {
    transform: none !important;
    box-shadow: var(--pr-elev-1) !important;
    border-color: var(--pr-border) !important;
    text-decoration: none !important;
  }
  /* Card image effects: no scale, no overlay fade on hover */
  .pr-cat-tile:hover .pr-cat-tile-img,
  .pr-product-card:hover .pr-product-card-img,
  .pr-product-card:hover .pr-product-img,
  .article-card:hover .article-img > *,
  .pr-article-feature:hover .img > img {
    transform: none !important;
  }
  .pr-product-card:hover .pr-product-img-alt { opacity: 0 !important; }
  /* Shimmer sweeps: off on touch */
  .pr-cat-tile::after,
  .pr-btn-primary::before,
  .pr-final-cta-glow { display: none !important; }
  /* Buttons: no hover lift, no underline expansion, no color change */
  .pr-btn:hover,
  .pr-btn-primary:hover,
  .pr-btn-secondary:hover,
  .pr-btn-ghost:hover,
  .pr-btn-link:hover,
  .pr-btn-ghost-light:hover,
  .pr-icon-btn:hover,
  .pr-search-close:hover,
  .pr-summary-qty-btn:hover {
    transform: none !important;
    background: revert !important;
    color: revert !important;
    text-decoration: none !important;
    box-shadow: none !important;
  }
  .pr-btn-primary:hover { background: var(--pr-accent-600) !important; color: white !important; }
  .pr-btn-secondary:hover { background: transparent !important; color: var(--pr-text-primary) !important; }
  /* Studio logo opacity stays at rest state */
  .pr-studio-mark:hover img { opacity: 0.55 !important; }
  /* Nav underline animation: off */
  .pr-nav a:hover::after { transform: scaleX(0) !important; }
  .pr-nav a:hover { color: var(--pr-text-primary) !important; }
  /* Quick-add stays accessible on touch */
  .pr-quick-add { opacity: 1 !important; pointer-events: auto !important; }
  /* Touch-affordance: stronger card border so cards still feel tappable */
  .pr-product-card { border-color: var(--pr-border-strong); }
}

/* Mobile-spezifisches Layout */
@media (max-width: 768px) {
  /* All header icon buttons 44x44 (Apple HIG min on touch) */
  .pr-icon-btn { width: 44px; min-width: 44px; height: 44px; flex-shrink: 0; }
  .pr-icon-btn.pr-mobile-toggle { width: 44px; min-width: 44px; height: 44px; flex-shrink: 0; }
  /* Filter-Button Mobile-Hit-Area */
  #shop-mobile-filter, [data-mobile-filter] {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 16px !important;
  }

  /* PDP-Gallery nicht sticky auf Mobile - frisst Hoehe */
  .pr-gallery { position: static; top: auto; }

  /* Footer-Newsletter und kleine Inputs: groesserer Tap-Bereich */
  .pr-footer-newsletter .pr-input,
  .pr-footer .pr-input { min-height: 48px; }

  /* Breadcrumb-Links mit groesserer Hit-Area */
  .pr-breadcrumb a { padding: 6px 4px; margin: -6px -4px; display: inline-block; }
  .pr-breadcrumb { padding: 12px 0; }

  /* Pagination-Buttons mind. 44x44 */
  .pr-pagination button, .pr-pagination a {
    min-width: 44px; min-height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* Quick-Add as a full-width block under price (no more absolute overlap) */
  .pr-quick-add {
    position: static !important;
    opacity: 1 !important; pointer-events: auto !important;
    width: 100%; margin-top: 12px;
    min-height: 44px; padding: 12px 16px;
    justify-content: center;
  }
  .pr-product-card-body { padding-bottom: 14px; }

  /* Tap targets >=44px on touch */
  .pr-btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
  .pr-variant-pill { height: 44px; padding: 0 18px; }
  .pr-checkbox { min-height: 44px; align-items: center; }
  .pr-checkbox input { width: 22px; height: 22px; margin-top: 0; }

  /* Cart-Steps compact on mobile (was wrapping to 2 lines) */
  .pr-steps { font-size: 12px; gap: 4px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .pr-steps .step { white-space: nowrap; padding: 6px 8px; }
  .pr-steps .arrow { font-size: 11px; }

  /* Sticky-ATC: Body-Padding-Bottom damit Content nicht verdeckt wird */
  body:has(.pr-sticky-atc.visible) { padding-bottom: 80px; }
}

/* Mobile Filter-Drawer fuer Shop/Kategorie-Seiten */
.pr-filter-toggle-btn { display: none; }
@media (max-width: 1023px) {
  .pr-filter-toggle-btn {
    display: inline-flex; align-items: center; gap: 8px;
    height: 44px; padding: 0 16px; border-radius: 8px;
    background: var(--pr-bg-base); border: 1px solid var(--pr-border-strong);
    font-family: inherit; font-size: 14px; font-weight: 600;
    color: var(--pr-text-primary); cursor: pointer;
    margin-bottom: 16px;
  }
  .pr-filter-toggle-btn:hover { border-color: var(--pr-text-primary); }
  .pr-filter-toggle-btn .badge {
    background: var(--pr-accent-500); color: white;
    font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 9999px; line-height: 1.4;
  }

  /* Filter drawer when open. Full-height flex column with three regions:
     fixed header, scrollable content, fixed footer. Avoids the sticky-vs-
     overflow gotcha that previously made the drawer body un-scrollable. */
  .pr-filter-side.mobile-open {
    display: flex !important;
    flex-direction: column;
    /* Anchor to the viewport. top + bottom = 0 pins both edges so the panel
       always fills the visible viewport on iOS Safari, regardless of the
       URL-bar height. Fallback height for browsers that ignore bottom: 0 on
       fixed elements. */
    position: fixed; top: 0; right: 0; bottom: 0;
    /* Height fallback cascade in the CORRECT order (research-agent finding).
       Earlier order had 100vh last which would always win on modern Safari -
       wrong, vh = largest viewport. We want the smallest safe height first
       and let dvh override on browsers that support it. */
    height: 100vh;   /* legacy fallback */
    height: 100svh;  /* small viewport - never too big */
    height: 100dvh;  /* dynamic - tracks the URL bar, wins on modern Safari */
    width: 92vw; max-width: 420px; z-index: 105;
    background: var(--pr-bg-base);
    padding: 0;
    overflow: hidden;  /* container does not scroll - inner body does */
    box-shadow: var(--pr-elev-3);
    animation: slideInFilter 240ms var(--pr-ease-out);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .pr-filter-side.mobile-open .pr-filter-drawer-head {
    position: static; margin: 0;  /* override the desktop sticky/margin trick */
    flex: 0 0 auto;
    padding: 16px 20px;
    border-bottom: 1px solid var(--pr-border);
    background: white;
  }
  .pr-filter-side.mobile-open .pr-filter-drawer-foot {
    position: static; margin: 0;
    flex: 0 0 auto;
    padding: 14px 20px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--pr-border);
    background: white;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
  }
  /* Inner-content rules: filter groups inside the scroll body do not flex.
     Removed the previous > :not(head):not(foot) catch-all because it was
     winning the specificity race against the drawer-body flex rule. */
  .pr-filter-side.mobile-open .pr-filter-group,
  .pr-filter-side.mobile-open hr.pr-divider,
  .pr-filter-side.mobile-open #shop-reset {
    flex: 0 0 auto;
  }
  /* The scrollable middle region. Selector raised to match the specificity of
     the .mobile-open > :not(...) rule above so flex-grow: 1 actually wins
     instead of being clobbered back to 0. */
  .pr-filter-side.mobile-open > .pr-filter-drawer-body {
    flex: 1 1 0%;
    /* Flex children default to min-height: auto which prevents shrinking below
       content size. min-height: 0 lets the body shrink so overflow-y actually
       clips, and the inner content scrolls. Classic flexbox gotcha. */
    min-height: 0;
    /* overflow-y: scroll (not auto). iOS Safari occasionally refuses to
       activate touch-scrolling on an inner container with overflow-y: auto
       inside a fixed-positioned ancestor. Forcing the scroll value gives
       the engine a definite scroll context to attach touch handling to.
       Visually identical (no scrollbar reserved on iOS).
       Plus translateZ(0) promotes the body to its own compositing layer -
       the second well-known iOS hint that makes inner touch-scroll inside
       a fixed parent actually fire. */
    overflow-y: scroll;
    transform: translateZ(0);
    overscroll-behavior: contain;
    padding: 16px 20px 20px;
  }

  .pr-filter-overlay.open {
    position: fixed; inset: 0; z-index: 104;
    background: rgba(26,26,26,0.55);
    backdrop-filter: blur(2px);
  }
  /* iOS 26 adaptive UI bars - solid body background while drawer is open
     keeps the safe-area math stable (research-agent finding, WebKit #297779). */
  body[data-pr-drawer-open] { background: var(--pr-bg-base); }
  /* Round close button in the drawer head, not the absolute-positioned one. */
  .pr-filter-side .pr-filter-close {
    position: static;
    width: 36px; height: 36px; border-radius: 8px;
    background: none; border: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pr-text-primary);
  }
  .pr-filter-side .pr-filter-close:hover { background: var(--pr-bg-secondary); }
}
@keyframes slideInFilter {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* =================================================================
   CHECKOUT v2 — single-page, 2026 best practices
   ================================================================= */

/* Header */
.pr-checkout-page main { background: var(--pr-bg-base); }
.pr-checkout-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 12px 0 8px; flex-wrap: wrap;
}
.pr-checkout-title { margin: 0; }
.pr-checkout-sub { margin: 6px 0 0; color: var(--pr-text-secondary); font-size: 15px; max-width: 540px; }
.pr-checkout-trust-inline {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.pr-trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: white; border: 1px solid var(--pr-border);
  border-radius: 9999px; padding: 7px 12px;
  font-size: 12px; font-weight: 600; color: var(--pr-text-primary);
  white-space: nowrap;
}
.pr-trust-chip i { width: 14px; height: 14px; color: var(--pr-success); }

/* Grid: 2-column on desktop, 1 on mobile. mobile-summary visible only on mobile. */
.pr-checkout-grid { padding-top: 16px; }
.pr-summary-mobile { display: none; }
.pr-summary-desktop { display: block; }
@media (max-width: 1023px) {
  .pr-summary-mobile { display: block; order: -1; margin-bottom: 16px; }
  .pr-summary-desktop { display: none; }
}

/* Main form sections */
.pr-checkout-section { padding: 28px 0; border-top: 1px solid var(--pr-border); }
.pr-checkout-section:first-of-type { border-top: none; padding-top: 0; }
.pr-checkout-section-head {
  display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
}
.pr-section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 9999px;
  background: var(--pr-accent-500); color: white; font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.pr-section-title { margin: 0; font-size: 20px; font-weight: 700; }
.pr-section-status {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--pr-success);
  background: var(--pr-success-bg); padding: 4px 10px; border-radius: 9999px;
}

.pr-form-grid-3 { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
@media (max-width: 639px) {
  .pr-form-grid-3 { grid-template-columns: 1fr; gap: 0; }
}

.pr-req { color: var(--pr-error); }
.pr-optional { color: var(--pr-text-tertiary); font-size: 12px; font-weight: 400; }

.pr-field-err {
  margin-top: 6px; font-size: 13px; color: var(--pr-error); line-height: 18px; min-height: 0;
}
.pr-field-err:not(:empty) { min-height: 18px; }
.pr-field-err:not(:empty)::before {
  content: '⚠ '; font-weight: 700;
}

.pr-input-wrap { position: relative; }
.pr-input-wrap .pr-input { padding-right: 44px; }
.pr-input-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--pr-text-tertiary); pointer-events: none;
}

.pr-checkbox-card {
  padding: 14px 16px; background: var(--pr-bg-secondary); border-radius: 10px;
  width: 100%; align-items: flex-start;
}
.pr-checkbox-card .pr-caption { color: var(--pr-text-secondary); font-size: 12px; font-weight: 400; }

.pr-billing-block {
  padding: 18px; background: var(--pr-bg-secondary); border-radius: 12px;
  border: 1px dashed var(--pr-border);
}

/* Static studio partner row (homepage + mission) */
.pr-studio-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(32px, 6vw, 72px);
  margin: 0 auto; max-width: 1100px;
}
.pr-studio-mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.pr-studio-mark img {
  height: 76px; width: auto; display: block;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 220ms ease;
}
.pr-studio-mark:hover img { opacity: 0.9; }
@media (max-width: 767px) {
  .pr-studio-row { gap: 24px 32px; }
  .pr-studio-mark img { height: 56px; }
}

/* Founder letter (mission page) */
.pr-letter {
  max-width: 680px; margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--pr-text-primary);
}
.pr-letter h2 { font-family: var(--pr-font-sans, inherit); }
.pr-letter > p {
  font-size: 18px; line-height: 30px; margin: 0 0 18px;
  color: var(--pr-text-secondary);
}
.pr-letter .pr-letter-greeting { font-size: 19px; color: var(--pr-text-primary); margin-bottom: 22px; }
.pr-letter blockquote {
  font-size: 22px; line-height: 32px;
  font-style: italic; color: var(--pr-text-primary);
  border-left: 3px solid var(--pr-accent-500);
  padding: 6px 0 6px 24px; margin: 28px 0;
}
.pr-letter .pr-letter-signoff-line {
  margin-top: 32px; margin-bottom: 4px; color: var(--pr-text-primary);
}
.pr-letter-signature {
  display: flex; align-items: center; gap: 14px; margin-top: 18px;
}
.pr-letter-name { font-family: var(--pr-font-sans, inherit); font-weight: 700; font-size: 15px; color: var(--pr-text-primary); }
.pr-founder-avatar,
.pr-brand-monogram {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(140deg, var(--pr-accent-500) 0%, var(--pr-accent-700) 100%);
  color: white; font-family: Georgia, serif; font-weight: 700; font-size: 22px; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--pr-elev-1);
}
.pr-brand-monogram {
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.04em;
}

/* Final CTA card on the homepage */
.pr-final-cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 380px;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
  color: white;
  isolation: isolate;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(216,120,86,0.25) 0%, transparent 60%),
    linear-gradient(135deg, #1A0F0A 0%, #2A1610 35%, #4B1C11 75%, #6E2A19 100%);
  box-shadow: var(--pr-elev-2), inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
}
.pr-final-cta-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 640px; margin: 0 auto;
}
.pr-final-cta-inner h2 { letter-spacing: -0.5px; }
.pr-final-cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.pr-final-cta-meta {
  display: flex; gap: 24px; flex-wrap: wrap; justify-content: center;
  margin-top: 28px;
  font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.02em;
}
.pr-final-cta-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pr-final-cta-meta i { color: var(--pr-accent-300); }
.pr-btn-ghost-light {
  background: rgba(255,255,255,0.06); color: white;
  border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(4px);
}
.pr-btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }

/* Glow layers (radial pools) */
.pr-final-cta-glow {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: 0.55;
  pointer-events: none; z-index: 0;
}
.pr-final-cta-glow-1 {
  width: 460px; height: 460px; top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(216,120,86,0.45) 0%, transparent 70%);
}
.pr-final-cta-glow-2 {
  width: 520px; height: 520px; bottom: -180px; right: -120px;
  background: radial-gradient(circle, rgba(168,70,41,0.55) 0%, transparent 70%);
}
.pr-final-cta-glow-3 {
  width: 380px; height: 380px; top: 30%; right: -100px;
  background: radial-gradient(circle, rgba(255,180,140,0.18) 0%, transparent 70%);
  opacity: 0.4;
}
/* SVG grain overlay for texture (no external asset) */
.pr-final-cta-grain {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.pr-final-cta-ring {
  position: absolute; inset: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  pointer-events: none; z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .pr-final-cta-glow { opacity: 0.4; }
}

/* Legal + Place order */
.pr-checkout-legal-section { padding-top: 28px; }
.pr-place-order-btn {
  width: 100%; margin-top: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 24px;
  font-size: 17px; font-weight: 700;
  min-height: 56px;
}
.pr-place-order-amount {
  margin-left: 4px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.3);
  font-weight: 700;
}

.pr-back-cart-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 14px; color: var(--pr-text-secondary); justify-content: center; width: 100%;
}

/* ===== ORDER SUMMARY v2 ===== */
.pr-checkout-summary { padding: 24px; background: var(--pr-bg-secondary); border-radius: 14px; }
.pr-summary-head { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.pr-summary-count { color: var(--pr-text-secondary); font-weight: 500; }

.pr-summary-item { grid-template-columns: 64px 1fr auto; gap: 14px; padding: 12px 0; align-items: start; }
.pr-summary-item + .pr-summary-item { border-top: 1px solid var(--pr-border); }
.pr-summary-item-thumb {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden; position: relative;
  background-color: var(--pr-bg-tertiary);
}
.pr-summary-item-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.pr-summary-item-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--pr-ink-800); color: white; font-size: 11px; font-weight: 700;
  width: 22px; height: 22px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--pr-bg-secondary);
}
.pr-summary-item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-summary-item-controls {
  display: flex; align-items: center; gap: 12px; margin-top: 6px;
}
.pr-summary-qty {
  display: inline-flex; align-items: center; gap: 0;
  background: white; border: 1px solid var(--pr-border); border-radius: 8px; overflow: hidden;
}
.pr-summary-qty-btn {
  width: 28px; height: 28px;
  background: white; border: none; cursor: pointer;
  font-size: 16px; line-height: 1; color: var(--pr-text-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.pr-summary-qty-btn:hover { background: var(--pr-bg-base); }
.pr-summary-qty-val { min-width: 24px; text-align: center; font-size: 13px; font-weight: 600; padding: 0 4px; }
.pr-summary-remove {
  background: none; border: none; cursor: pointer;
  color: var(--pr-text-tertiary); font-size: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px;
}
.pr-summary-remove:hover { color: var(--pr-error); }

.pr-summary-row {
  display: flex; justify-content: space-between; padding: 4px 0;
  font-size: 14px; color: var(--pr-text-primary);
}
.pr-summary-total { font-size: 16px; font-weight: 700; padding-top: 6px; }
.pr-summary-discount { color: var(--pr-success); font-weight: 600; }

.pr-summary-trust {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--pr-border);
}
.pr-summary-trust-item {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 600; color: var(--pr-text-secondary);
  background: white; padding: 4px 8px; border-radius: 9999px; border: 1px solid var(--pr-border);
}
.pr-summary-trust-item i { color: var(--pr-success); }

/* Promo code (details/summary collapsed by default) */
.pr-promo { margin: 8px 0 0; }
.pr-promo[open] .pr-promo-chev { transform: rotate(180deg); }
.pr-promo-summary {
  list-style: none; cursor: pointer; padding: 10px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 600; color: var(--pr-text-secondary);
}
.pr-promo-summary::-webkit-details-marker { display: none; }
.pr-promo-chev { transition: transform 160ms; color: var(--pr-text-tertiary); }
.pr-promo-body { padding: 6px 0 8px; }
.pr-promo-input-row {
  display: flex; gap: 8px; align-items: stretch;
}
.pr-promo-input-row .pr-input { flex: 1; height: 44px; font-size: 14px; }
.pr-promo-input-row .pr-btn { height: 44px; padding: 0 18px; font-size: 14px; flex-shrink: 0; }
.pr-promo-msg {
  margin-top: 8px; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 8px;
}
.pr-promo-msg.success { background: var(--pr-success-bg); color: var(--pr-success); }

/* Collapsible mobile summary */
.pr-checkout-summary.is-collapsible {
  padding: 0; overflow: hidden; position: relative; top: 0;
}
.pr-summary-toggle {
  width: 100%; padding: 14px 18px;
  background: white; border: 1px solid var(--pr-border); border-radius: 14px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; font-family: inherit; font-size: 14px; color: var(--pr-text-primary);
  min-height: 56px;
}
.pr-summary-toggle.open { border-radius: 14px 14px 0 0; border-bottom: none; }
.pr-summary-toggle-left { display: inline-flex; align-items: center; gap: 8px; }
.pr-summary-toggle-label { font-weight: 600; }
.pr-summary-toggle-count { color: var(--pr-text-secondary); font-weight: 400; font-size: 13px; }
.pr-summary-toggle-right { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.pr-summary-toggle-chev { width: 16px; height: 16px; transition: transform 160ms; }
.pr-summary-toggle.open .pr-summary-toggle-chev { transform: rotate(180deg); }
.pr-checkout-summary.is-collapsible .pr-summary-body {
  display: none;
  padding: 16px 18px;
  background: var(--pr-bg-secondary);
  border-radius: 0 0 14px 14px;
  border: 1px solid var(--pr-border);
  border-top: none;
  animation: pr-summary-fade 240ms ease both;
}
.pr-checkout-summary.is-collapsible .pr-summary-body.open {
  display: block;
}
@keyframes pr-summary-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* When the desktop summary is shown, keep it sticky just below the page header */
.pr-summary-desktop > .pr-checkout-summary { position: sticky; top: 96px; }

/* Touch defense */
@media (max-width: 768px) {
  .pr-section-title { font-size: 18px; }
  .pr-checkout-trust-inline { width: 100%; }
  .pr-summary-qty-btn { width: 36px; height: 36px; font-size: 18px; }
  .pr-summary-qty-val { min-width: 28px; font-size: 15px; }
  .pr-summary-remove { padding: 8px; min-height: 36px; }
  .pr-place-order-btn { min-height: 60px; font-size: 16px; }
  /* On mobile, prevent the desktop summary from rendering at all */
  .pr-summary-desktop { display: none !important; }
  .pr-summary-mobile { display: block !important; }
}

@media (min-width: 1024px) {
  /* Show mobile summary only on small viewports */
  .pr-summary-mobile { display: none !important; }
  .pr-summary-desktop { display: block !important; }
}


/* =================================================================
   COOKIE CONSENT BANNER
   =================================================================*/
.pr-cookies-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  background: var(--pr-ink-800);
  color: var(--pr-bg);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--pr-elev-3);
  z-index: 180;
  animation: pr-cookies-slide 320ms cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes pr-cookies-slide {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.pr-cookies-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  max-width: 1100px; margin: 0 auto;
}
.pr-cookies-text {
  flex: 1; min-width: 260px;
  font-size: 14px; line-height: 1.5; margin: 0;
  color: var(--pr-ink-300);
}
.pr-cookies-text a { color: white; text-decoration: underline; }
.pr-cookies-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pr-cookies-actions .pr-btn-secondary {
  background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3);
}
.pr-cookies-actions .pr-btn-secondary:hover { background: rgba(255,255,255,0.08); }
.pr-cookies-body { flex: 1; min-width: 260px; }
.pr-cookies-title { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: white; }
@media (max-width: 639px) {
  .pr-cookies-banner { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; border-radius: 12px; }
  .pr-cookies-actions { width: 100%; }
  .pr-cookies-actions .pr-btn { flex: 1; }
}

/* Cookie customise modal */
.pr-cookies-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: pr-fade 220ms ease-out both;
}
/* `display: flex` above overrides the browser default for [hidden] (display:none),
   so the modal never went away when JS set .hidden=true. Force it back. */
.pr-cookies-modal[hidden] { display: none; }
@keyframes pr-fade { from { opacity: 0 } to { opacity: 1 } }
.pr-cookies-modal-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 15, 15, 0.55);
  backdrop-filter: blur(2px);
}
.pr-cookies-modal-card {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  display: flex; flex-direction: column;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  animation: pr-modal-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pr-modal-in { from { transform: translateY(20px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.pr-cookies-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--pr-border);
}
.pr-cookies-modal-close {
  background: none; border: 0; padding: 6px; cursor: pointer;
  color: var(--pr-text-tertiary); border-radius: 8px;
}
.pr-cookies-modal-close:hover { background: var(--pr-bg-secondary); color: var(--pr-text-primary); }
.pr-cookies-modal-body {
  padding: 8px 24px 16px;
  overflow-y: auto;
}
.pr-cookies-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pr-border-light, var(--pr-border));
  cursor: pointer;
}
.pr-cookies-row:last-child { border-bottom: 0; }
.pr-cookies-row > div { flex: 1; }
.pr-cookies-row strong { display: block; font-size: 14px; color: var(--pr-text-primary); }
.pr-cookies-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--pr-text-secondary); }
.pr-cookies-row input[type=checkbox] {
  width: 20px; height: 20px; flex: 0 0 auto;
  accent-color: var(--pr-accent-600);
}
.pr-cookies-row input[type=checkbox]:disabled { opacity: 0.5; cursor: not-allowed; }
.pr-cookies-modal-foot {
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--pr-border);
}

/* Footer text-button used for "Cookie settings" link in the bottom row */
.pr-footer-link-btn {
  background: none; border: 0; padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.pr-footer-link-btn:hover { color: white; }

/* =================================================================
   QA-PASS 2 FIXES (2026-05-16)
   =================================================================*/

/* FAQ tabs: panels show/hide via .active class */
[data-tab-panel] { display: none; }
[data-tab-panel].active { display: block; }

/* Mobile inputs at 16px to suppress iOS zoom-on-focus */
@media (max-width: 1023px) {
  .pr-input,
  .pr-select,
  input.pr-input[type="email"],
  input.pr-input[type="text"],
  input.pr-input[type="tel"],
  input.pr-input[type="number"],
  textarea.pr-input {
    font-size: 16px !important;
  }
}

/* Cookie banner uses correct token + sits BELOW sticky ATC so it does not cover Add-to-cart */
.pr-cookies-banner {
  background: var(--pr-ink-800);
  z-index: 55;
}

/* Top-bar message strip must wrap on narrow viewports so it does not overflow at 320px */
.pr-topbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 12px;
  row-gap: 4px;
}
.pr-topbar .sep { margin: 0; }

/* Gallery: hide the .img-label overlay that was meant only for the hero */
.pr-gallery-main .img-label,
.pr-gallery-thumb .img-label,
.pr-gallery .img-label {
  display: none !important;
}

/* Mobile drawer details chevron rotation: cover both pre-hydrate <i> and post-hydrate <svg> */
.pr-drawer-details[open] > summary i,
.pr-drawer-details[open] > summary svg[data-lucide="chevron-down"],
.pr-drawer-details[open] > summary .lucide-chevron-down {
  transform: rotate(180deg);
}

/* Back-to-top floater */
.pr-back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--pr-border);
  background: rgba(250,249,246,0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--pr-text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pr-elev-2);
  cursor: pointer;
  z-index: 50;
  transition: opacity 180ms ease-out, transform 180ms ease-out;
  opacity: 0;
  transform: translateY(8px);
}
.pr-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.pr-back-to-top:hover {
  background: var(--pr-bg-base);
  border-color: var(--pr-border-strong);
}
.pr-back-to-top:focus-visible {
  outline: none;
  box-shadow: var(--pr-focus-ring);
}
/* Stay clear of the sticky add-to-cart bar on PDPs */
body:has(.pr-sticky-atc.visible) .pr-back-to-top {
  bottom: 92px;
}

/* =================================================================
   ACCOUNT PAGE  (guest + dashboard)
   =================================================================*/

/* Guest auth panel */
.pr-account-auth { max-width: 480px; margin: 0 auto; }
.pr-account-auth-card {
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--pr-elev-1);
}
.pr-account-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  color: var(--pr-text-tertiary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pr-account-divider::before, .pr-account-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--pr-border);
}
.pr-social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 6px;
  font-weight: 700; font-size: 13px;
  margin-right: 6px;
}
.pr-account-guest-note {
  display: flex; gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--pr-bg-secondary);
  border-radius: 12px;
  font-size: 14px; line-height: 1.5;
}
.pr-account-guest-note a { color: var(--pr-accent-700); font-weight: 600; }

/* Dashboard shell */
.pr-account-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 899px) {
  .pr-account-shell { grid-template-columns: 1fr; }
}

/* Sidebar */
.pr-account-sidebar {
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 16px;
  padding: 20px;
  position: sticky;
  top: 96px;
}
.pr-account-greet {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--pr-border);
  margin-bottom: 16px;
}
.pr-account-avatar {
  width: 44px; height: 44px;
  border-radius: 9999px;
  background: var(--pr-accent-600);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}
.pr-account-nav {
  display: flex; flex-direction: column; gap: 4px;
}
.pr-account-tab {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: none; border: 0;
  border-radius: 10px;
  text-align: left;
  font-size: 14px;
  color: var(--pr-text-secondary);
  cursor: pointer;
  transition: background 120ms;
}
.pr-account-tab:hover { background: var(--pr-bg-secondary); color: var(--pr-text-primary); }
.pr-account-tab.active {
  background: var(--pr-accent-50);
  color: var(--pr-accent-800);
  font-weight: 600;
}
.pr-account-tab-count {
  margin-left: auto;
  background: var(--pr-bg-secondary);
  color: var(--pr-text-secondary);
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}
.pr-account-tab.active .pr-account-tab-count {
  background: var(--pr-accent-100);
  color: var(--pr-accent-800);
}

/* Main panels */
.pr-account-main { min-width: 0; }
.pr-account-panel { animation: pr-fade 200ms ease-out both; }

/* Overview stats */
.pr-account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 639px) {
  .pr-account-stats { grid-template-columns: 1fr; }
}
.pr-account-stat {
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  padding: 18px 20px;
}
.pr-account-stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pr-text-tertiary);
  margin-bottom: 6px;
}
.pr-account-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--pr-text-primary);
  line-height: 1;
}
.pr-account-stat-sub {
  font-size: 13px;
  color: var(--pr-text-secondary);
  margin-top: 6px;
}

/* Generic account card */
.pr-account-card {
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  padding: 20px;
}

/* Order card */
.pr-order-card {
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.pr-order-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--pr-border);
}
.pr-order-items { display: flex; flex-direction: column; gap: 12px; }
.pr-order-item {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
}
.pr-order-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--pr-bg-secondary);
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.pr-order-item-body { flex: 1; min-width: 0; }
.pr-order-item-price { font-weight: 600; color: var(--pr-text-primary); }
.pr-order-tracking {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--pr-accent-50);
  border-radius: 10px;
  font-size: 13px;
}
.pr-order-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--pr-border);
}

/* Status pills */
.pr-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pr-status::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
}
.pr-status-amber { background: #FEF3C7; color: #92400E; }
.pr-status-amber::before { background: #D97706; }
.pr-status-blue  { background: #DBEAFE; color: #1E40AF; }
.pr-status-blue::before  { background: #2563EB; }
.pr-status-green { background: #DCFCE7; color: #166534; }
.pr-status-green::before { background: #16A34A; }
.pr-status-gray  { background: #F1F5F9; color: #475569; }
.pr-status-gray::before  { background: #64748B; }

/* Addresses */
.pr-account-addresses {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.pr-address-card {
  position: relative;
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  padding: 20px;
}
.pr-address-card.is-default { border-color: var(--pr-accent-300); }
.pr-address-actions {
  display: flex; gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pr-border);
  font-size: 13px;
}

/* Wishlist (uses existing product-card with a wrapper) */
.pr-wishlist-card { box-shadow: var(--pr-elev-1); }

/* Email preferences */
.pr-account-prefs { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.pr-prefs-row {
  display: flex; align-items: center; gap: 16px;
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
}
.pr-prefs-row > div { flex: 1; }
.pr-prefs-row strong { display: block; font-size: 14px; }
.pr-prefs-row p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--pr-text-secondary); }
.pr-prefs-row input[type=checkbox] {
  width: 22px; height: 22px;
  accent-color: var(--pr-accent-600);
}

/* Shortcuts on Overview */
.pr-account-shortcuts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.pr-account-shortcut {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 160ms, box-shadow 160ms, border-color 160ms;
}
.pr-account-shortcut:hover {
  border-color: var(--pr-accent-300);
  box-shadow: var(--pr-elev-1);
  transform: translateY(-1px);
}
.pr-account-shortcut i { color: var(--pr-accent-700); width: 22px; height: 22px; flex-shrink: 0; }
.pr-account-shortcut strong { display: block; font-size: 14px; }
.pr-account-shortcut span { display: block; font-size: 13px; color: var(--pr-text-secondary); }

/* Reset hover-state for touch */
@media (hover: none), (pointer: coarse) {
  .pr-account-shortcut:hover { transform: none; box-shadow: none; border-color: var(--pr-border); }
  .pr-account-tab:hover { background: transparent; }
}

/* =================================================================
   MOBILE QA-PASS qa24 - tighten everything for 360-640px
   Driven by the mobile UX audit on 2026-05-19.
   ================================================================= */

/* Desktop: filter-drawer-body wrapper is a no-op (no extra padding/box).
   Scoped to >=1024px so it cannot overrule the mobile scrollable rule. */
@media (min-width: 1024px) {
  .pr-filter-drawer-body { padding: 0; overflow: visible; }
}

/* ---- Mobile filter trigger (own row, prominent, full-width) ---- */
.pr-shop-filter-trigger {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  margin: 0 0 12px;
  background: white;
  border: 1px solid var(--pr-border-strong);
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--pr-text-primary);
  cursor: pointer;
  text-align: left;
}
.pr-shop-filter-trigger[hidden] { display: none; }
.pr-shop-filter-trigger:hover { background: var(--pr-bg-secondary); }
.pr-shop-filter-trigger .badge {
  margin-left: auto;
  background: var(--pr-accent-600);
  color: white;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}
@media (max-width: 1023px) {
  .pr-shop-filter-trigger:not([hidden]) { display: inline-flex; }
}
@media (min-width: 1024px) {
  .pr-shop-filter-trigger { display: none !important; }
}

/* ---- Filter drawer chrome (sticky head + foot) ---- */
.pr-filter-drawer-head,
.pr-filter-drawer-foot {
  display: none;  /* desktop sidebar: hide */
}
@media (max-width: 1023px) {
  .pr-filter-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 2;
    background: white;
    padding: 16px 20px;
    margin: -20px -20px 12px;
    border-bottom: 1px solid var(--pr-border);
  }
  .pr-filter-drawer-head strong { font-size: 17px; }
  .pr-filter-drawer-head .pr-filter-close {
    position: static; width: 36px; height: 36px;
    background: none; border: 0; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--pr-text-primary); border-radius: 8px;
  }
  .pr-filter-drawer-head .pr-filter-close:hover { background: var(--pr-bg-secondary); }
  .pr-filter-drawer-foot {
    display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
    position: sticky; bottom: 0;
    background: white;
    padding: 14px 20px;
    margin: 12px -20px -20px;
    border-top: 1px solid var(--pr-border);
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }
}

/* ---- Hero on small phones ---- */
@media (max-width: 480px) {
  .pr-display { font-size: 36px !important; line-height: 1.1; }
  .pr-h1 { font-size: 30px !important; }
  .pr-hero p.pr-body-lg { font-size: 16px; line-height: 24px; }
}

/* ---- Trust strip 2x2 on mobile ---- */
@media (max-width: 639px) {
  .pr-feature-strip-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px;
    padding: 18px 16px;
  }
  .pr-feature-strip-item {
    text-align: left;
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 10px;
    align-items: start;
  }
  .pr-feature-strip-item .icon {
    grid-row: 1 / span 2;
    margin-top: 2px;
    width: 22px !important; height: 22px !important;
  }
  .pr-feature-strip-item h5 { font-size: 13px; margin: 0; }
  .pr-feature-strip-item p { font-size: 12px; line-height: 1.35; margin: 2px 0 0; }
}
@media (max-width: 360px) {
  .pr-feature-strip-inner { grid-template-columns: 1fr !important; }
}

/* ---- Body-map hotspots: larger tap target ---- */
.body-hotspots a circle { r: 14; }
.body-hotspots a circle.hotspot-hit {
  fill: transparent;
}
@media (hover: hover) {
  .body-hotspots a:hover circle:not(.hotspot-hit) { r: 17; }
}

/* ---- Body-part 5-tile grid: horizontal scroll on mobile ---- */
@media (max-width: 639px) {
  div[style*="grid-template-columns: repeat(5"] {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 4px;
    grid-template-columns: none !important;
  }
  div[style*="grid-template-columns: repeat(5"] > * {
    flex: 0 0 60vw;
    scroll-snap-align: start;
  }
  div[style*="grid-template-columns: repeat(5"]::-webkit-scrollbar { display: none; }
}

/* ---- Workshop image: lower aspect on mobile so it doesn't eat half the screen ---- */
@media (max-width: 767px) {
  .pr-hero-img[style*="aspect-ratio:4/5"],
  .pr-hero-img[style*="aspect-ratio: 4/5"] {
    aspect-ratio: 4/3 !important;
  }
}

/* ---- Founder letter blockquote: smaller on mobile ---- */
@media (max-width: 767px) {
  .pr-letter blockquote {
    font-size: 18px;
    line-height: 26px;
    padding-left: 16px;
    margin: 20px 0;
  }
}

/* ---- PDP gallery: 1:1 on mobile ---- */
@media (max-width: 767px) {
  .pr-gallery-main { aspect-ratio: 1/1 !important; }
  .pr-gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
}

/* Legacy footer-newsletter/trust/grid mobile overrides removed - footer v2
   handles its own responsive behaviour in the main footer block above. */

/* ---- Cart sticky-bottom-CTA: keep back-to-top above it ---- */
body:has(.pr-cart-sticky:not([hidden])) .pr-back-to-top { bottom: 92px; }

/* ---- Cookie banner: tighten on very small screens ---- */
@media (max-width: 360px) {
  .pr-cookies-actions .pr-btn { font-size: 12px; padding: 0 8px; }
  [data-cookies-customize] { order: 99; flex-basis: 100%; }
}

/* ---- Hero CTA wrap: prevent ugly half-overlap below 480px ---- */
@media (max-width: 480px) {
  .pr-hero > div > div[style*="display: flex"] { gap: 8px; }
  .pr-hero .pr-btn-lg { padding: 0 18px; }
}

/* =================================================================
   PRICE FILTER - dual-range slider + side-by-side min/max inputs
   ================================================================= */
.pr-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
.pr-price-input {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pr-price-input-row {
  position: relative;
  display: flex;
  align-items: center;
}
.pr-price-input-row .pr-input {
  width: 100%;
  padding: 8px 26px 8px 10px;
  font-size: 14px;
  -moz-appearance: textfield;  /* hide native spinners on Firefox */
}
.pr-price-input-row .pr-input::-webkit-outer-spin-button,
.pr-price-input-row .pr-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.pr-price-unit {
  position: absolute;
  right: 8px;
  font-size: 13px;
  color: var(--pr-text-tertiary);
  pointer-events: none;
}
/* Dual-range slider chrome.
   Two <input type="range"> stacked exactly on top of each other. CSS
   thumbs are visible, the rest of each range is invisible. The track and
   the highlighted fill are separate elements painted underneath. */
.pr-price-slider {
  position: relative;
  height: 32px;
  margin-top: 16px;
  --pr-price-thumb: 20px;
}
.pr-price-track,
.pr-price-track-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  border-radius: 999px;
  transform: translateY(-50%);
  pointer-events: none;
}
.pr-price-track {
  left: 0; right: 0;
  background: var(--pr-border);
}
.pr-price-track-fill {
  left: 0; right: 0;
  background: var(--pr-accent-500);
}
.pr-price-slider input[type="range"] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0; right: 0; width: 100%;
  height: var(--pr-price-thumb);
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;  /* re-enable on the thumb below */
}
.pr-price-slider input[type="range"]::-webkit-slider-runnable-track {
  height: var(--pr-price-thumb);
  background: transparent;
  border: none;
}
.pr-price-slider input[type="range"]::-moz-range-track {
  height: var(--pr-price-thumb);
  background: transparent;
  border: none;
}
.pr-price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: var(--pr-price-thumb);
  height: var(--pr-price-thumb);
  border-radius: 50%;
  background: white;
  border: 2px solid var(--pr-accent-500);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  cursor: pointer;
  pointer-events: auto;  /* only the thumb is interactive */
  margin-top: 0;
  position: relative;
  z-index: 2;
}
.pr-price-slider input[type="range"]::-moz-range-thumb {
  width: var(--pr-price-thumb);
  height: var(--pr-price-thumb);
  border-radius: 50%;
  background: white;
  border: 2px solid var(--pr-accent-500);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  cursor: pointer;
  pointer-events: auto;
}
/* The "max" thumb gets stacked above the "min" thumb so when they meet
   the user can still grab the max one and drag it back. */
.pr-price-slider #price-range-max::-webkit-slider-thumb { z-index: 3; }
.pr-price-slider #price-range-max::-moz-range-thumb { z-index: 3; }
