/* ============================================================
   MANIVANTA design layer "Ink & Chrome" — loads after base/styles.css
   and a9/commerce-pages.css. All colors come from :root --ry-* vars
   (layout/theme.html), which read theme settings. Do not hardcode
   brand colors here except as var() fallbacks.

   PART 1 (this block, down to the "reviews section re-skin" marker)
   = shared primitives every ry-* section relies on: tokens, page
   width, type scale, eyebrow, buttons, badge, sticker, tape, chrome
   line, slider nav, product card. Mobile first: the base values are
   for phones, the >=750px block upgrades them for desktop.
   ============================================================ */

:root {
  /* surfaces: page / band / panel, plus the plate under images */
  --ry-bg-1: var(--paper, #F4F0E8);
  --ry-bg-2: var(--paper-soft, #EAE5DB);
  --ry-bg-3: var(--ry-cream, #FFFFFF);
  --ry-ink-rgb: var(--a9-ink-rgb, 23, 23, 25);
  --ry-text: rgba(var(--ry-ink-rgb), 0.78);        /* body copy = ink at 78% */
  --ry-text-dim: rgba(var(--ry-ink-rgb), 0.52);    /* captions, eyebrows, meta */
  --ry-hairline: rgba(var(--ry-ink-rgb), 0.14);    /* dividers, card borders */
  --ry-hairline-strong: rgba(var(--ry-ink-rgb), 0.32);
  --ry-on-accent: var(--a9-button-text-color, #F4F0E8);
  --ry-on-accent-hover: #F4F0E8;
  --ry-on-signal: #F4F0E8;                          /* text on rust badges, every scheme */
  --ry-badge-bg: var(--ry-signal, #B75432);
  --ry-sticker-bg: var(--ry-ink);                   /* stickers are ink on bone (brand: ink + bone core) */
  --ry-sticker-text: var(--ry-bg-1);
  --ry-tape: repeating-linear-gradient(45deg, var(--ry-neon, #D5FA65) 0 12px, #171719 12px 24px);
  /* layout */
  --ry-page-width: 1760px;
  --ry-gutter: 16px;
  --ry-grid-gap: 12px;
  /* type scale (px): phone values; desktop values are in the >=750 block */
  --ry-fs-display: 44px;
  --ry-fs-h1: 34px;
  --ry-fs-h2: 26px;
  --ry-fs-h3: 20px;
  --ry-fs-h4: 17px;
  --ry-fs-h5: 14px;
  --ry-fs-body: 16px;
  --ry-fs-small: 14px;
  --ry-fs-caption: 12px;
  --ry-fs-eyebrow: 11px;
  --ry-lh-heading: 1.05;
  --ry-lh-body: 1.6;
  --ry-ls-heading: -0.01em;
  --ry-ls-body: 0;
  --ry-ls-mono: 0.16em;
  /* buttons */
  --ry-btn-h: 50px;
  --ry-btn-radius: var(--a9-button-radius, 4px);
  --ry-btn-fs: 13px;
  --ry-btn-ls: 0.12em;
  --ry-btn-pad-x: 28px;
  --ry-radius-img: 6px;
  --ry-radius-ui: 4px;
}
@media (min-width: 750px) {
  :root {
    --ry-gutter: 48px;
    --ry-grid-gap: 32px;
    --ry-fs-display: 96px;
    --ry-fs-h1: 64px;
    --ry-fs-h2: 40px;
    --ry-fs-h3: 24px;
    --ry-fs-h4: 18px;
    --ry-fs-h5: 15px;
    --ry-fs-body: 17px;
    --ry-fs-caption: 13px;
    --ry-btn-h: 52px;
  }
}

body,
body.body0 {
  background: var(--ry-bg-1);
  color: var(--ry-text);
  font-family: var(--ry-font-sans);
  font-weight: 400;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ry-cobalt, #264CEB);
  color: #F4F0E8;
}

/* ---------- device visibility helpers ---------- */
@media (min-width: 750px) {
  .ry-only-mobile { display: none !important; }
}
@media (max-width: 749px) {
  .ry-only-desktop { display: none !important; }
}

/* ---------- scroll reveal (class added by the script in layout/theme.html) ---------- */
.ry-reveal {
  opacity: 0.01;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ry-ease), transform 0.9s var(--ry-ease);
}
.ry-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- surfaces / colour schemes ----------
   1 bone (page) · 2 concrete (band) · 3 white (panel) · 4 ink (dark band)
   · 5 signal red · 6 cobalt. 4–6 re-declare the whole derived token set
   because --ry-text etc. are resolved where they are declared (:root),
   so overriding --ry-ink-rgb alone would not propagate. */
.ry-scheme-1 { background: var(--ry-bg-1); }
.ry-scheme-2 { background: var(--ry-bg-2); }
.ry-scheme-3 { background: var(--ry-bg-3); }
.ry-scheme-4, .ry-scheme-dark,
.ry-scheme-5, .ry-scheme-street,
.ry-scheme-7, .ry-scheme-wild {
  --ry-ink: #F4F0E8;
  --ry-ink-rgb: 244, 240, 232;
  --ry-ink-soft: rgba(244, 240, 232, 0.6);
  --ry-text: rgba(244, 240, 232, 0.78);
  --ry-text-dim: rgba(244, 240, 232, 0.52);
  --ry-hairline: rgba(244, 240, 232, 0.14);
  --ry-hairline-strong: rgba(244, 240, 232, 0.32);
  --ry-accent: #F4F0E8;
  --ry-accent-dark: #264CEB;
  --ry-on-accent: #171719;
  --ry-on-accent-hover: #F4F0E8;
  --ry-sticker-bg: #F4F0E8;
  --ry-sticker-text: #171719;
  --ry-chrome: var(--ry-chrome-on-dark, linear-gradient(135deg, #F5F5F7 0%, #B9BBC2 35%, #F0F0F3 50%, #8E9097 72%, #D6D7DC 100%));
  --ry-overlay: rgba(0, 0, 0, 0.5);
  background: var(--ry-bg-1);
  color: var(--ry-text);
}
.ry-scheme-4, .ry-scheme-dark {
  --ry-bg-1: #171719;
  --ry-bg-2: #1F1F22;
  --ry-bg-3: #26262A;
  --ry-bg-img: #202023;
  --ry-tape: repeating-linear-gradient(45deg, var(--ry-neon, #D5FA65) 0 12px, #171719 12px 24px);
}
/* STREET: electric blue, bone type, neon yellow-green accents */
.ry-scheme-5, .ry-scheme-street {
  --ry-bg-1: #264CEB;
  --ry-bg-2: #1F3FC4;
  --ry-bg-3: #3559F2;
  --ry-bg-img: #1F3FC4;
  --ry-signal: #D5FA65;
  --ry-badge-bg: #D5FA65;
  --ry-on-signal: #171719;
  --ry-accent: #D5FA65;
  --ry-accent-dark: #F4F0E8;
  --ry-on-accent: #171719;
  --ry-on-accent-hover: #171719;
  --ry-sticker-bg: #D5FA65;
  --ry-sticker-text: #171719;
  --ry-tape: repeating-linear-gradient(45deg, #D5FA65 0 12px, #171719 12px 24px);
}
/* SWEET: soft pink, deep berry type */
.ry-scheme-6, .ry-scheme-sweet {
  --ry-ink: #6D283D;
  --ry-ink-rgb: 109, 40, 61;
  --ry-ink-soft: rgba(109, 40, 61, 0.6);
  --ry-text: rgba(109, 40, 61, 0.82);
  --ry-text-dim: rgba(109, 40, 61, 0.56);
  --ry-hairline: rgba(109, 40, 61, 0.16);
  --ry-hairline-strong: rgba(109, 40, 61, 0.34);
  --ry-bg-1: #F5B5C8;
  --ry-bg-2: #EFA6BC;
  --ry-bg-3: #FBD0DC;
  --ry-bg-img: #EFA6BC;
  --ry-signal: #6D283D;
  --ry-badge-bg: #6D283D;
  --ry-on-signal: #F4F0E8;
  --ry-accent: #6D283D;
  --ry-accent-dark: #171719;
  --ry-on-accent: #F4F0E8;
  --ry-on-accent-hover: #F4F0E8;
  --ry-sticker-bg: #6D283D;
  --ry-sticker-text: #F4F0E8;
  --ry-chrome: var(--ry-chrome-on-dark, linear-gradient(135deg, #F5F5F7 0%, #B9BBC2 35%, #F0F0F3 50%, #8E9097 72%, #D6D7DC 100%));
  --ry-overlay: rgba(109, 40, 61, 0.45);
  --ry-tape: repeating-linear-gradient(45deg, #6D283D 0 12px, #F5B5C8 12px 24px);
  background: var(--ry-bg-1);
  color: var(--ry-text);
}
/* WILD: rust red, bone type, ink accents */
.ry-scheme-7, .ry-scheme-wild {
  --ry-bg-1: #B75432;
  --ry-bg-2: #A54A2B;
  --ry-bg-3: #C4613D;
  --ry-bg-img: #A54A2B;
  --ry-signal: #171719;
  --ry-badge-bg: #171719;
  --ry-accent: #171719;
  --ry-accent-dark: #F4F0E8;
  --ry-on-accent: #F4F0E8;
  --ry-on-accent-hover: #171719;
  --ry-sticker-bg: #171719;
  --ry-sticker-text: #F4F0E8;
  --ry-tape: repeating-linear-gradient(45deg, #171719 0 12px, #B75432 12px 24px);
}

/* ---------- page width ---------- */
.ry-page-width {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--ry-page-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--ry-gutter);
  padding-right: var(--ry-gutter);
}

/* ---------- shared section shell ---------- */
.ry-section {
  padding-top: var(--ry-space-top, 0px);
  padding-bottom: var(--ry-space-bottom, 0px);
}

/* ---------- type scale ----------
   h1–h3 = display face (Syne), h4–h5 = text face (Space Grotesk). */
.ry-h1, .ry-h2, .ry-h3, .ry-h4, .ry-h5, .ry-display {
  margin: 0;
  max-width: none;
  font-style: normal;
  text-transform: none;
  color: var(--ry-heading-color, var(--ry-ink));
  word-break: break-word;
}
.ry-h1, .ry-h2, .ry-h3, .ry-display {
  font-family: var(--ry-font-serif);
  font-weight: 700;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
}
.ry-h1 { font-size: var(--ry-fs-h1); line-height: 1; }
.ry-h2 { font-size: var(--ry-fs-h2); }
.ry-h3 { font-size: var(--ry-fs-h3); font-weight: 600; line-height: 1.15; }
.ry-h4, .ry-h5 {
  font-family: var(--ry-font-sans);
  line-height: 1.3;
  letter-spacing: 0;
}
.ry-h4 { font-size: var(--ry-fs-h4); font-weight: 600; }
.ry-h5 { font-size: var(--ry-fs-h5); font-weight: 500; }
.ry-h1 strong, .ry-h2 strong, .ry-h3 strong, .ry-display strong { font-weight: 800; }
.ry-h4 strong, .ry-h5 strong { font-weight: 700; }
/* the loudest size: hero, marquee */
.ry-display {
  font-weight: 800;
  font-size: var(--ry-fs-display);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.ry-caps { text-transform: uppercase; }

.ry-body, .ry-rte {
  font-family: var(--ry-font-sans);
  font-weight: 400;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.ry-rte > :first-child { margin-top: 0; }
.ry-rte > :last-child { margin-bottom: 0; }
.ry-rte p { margin: 16px 0; }
.ry-rte ul, .ry-rte ol { margin: 16px 0; padding-left: 20px; }
.ry-rte strong { color: var(--ry-ink); font-weight: 600; }
.ry-rte a {
  color: var(--ry-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(var(--ry-ink-rgb), 0.4);
  transition: text-decoration-color 0.2s ease;
}
.ry-rte a:hover { color: var(--ry-ink); text-decoration-color: var(--ry-ink); }

.ry-small { font-size: var(--ry-fs-small); line-height: 1.45; letter-spacing: 0; }
.ry-caption { font-family: var(--ry-font-mono); font-size: var(--ry-fs-caption); line-height: 1.5; letter-spacing: 0.04em; }
/* mono label: numbers, tags, meta */
.ry-mono {
  font-family: var(--ry-font-mono);
  font-weight: 400;
  font-size: var(--ry-fs-caption);
  line-height: 1.4;
  letter-spacing: var(--ry-ls-mono);
  text-transform: uppercase;
}
/* eyebrow: mono, dim, with a small signal-red square in front */
.ry-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--ry-font-mono);
  font-weight: 400;
  font-size: var(--ry-fs-eyebrow);
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ry-text-dim);
}
.ry-eyebrow::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--ry-signal, #B75432);
}
.ry-eyebrow--medium { font-size: var(--ry-fs-caption); letter-spacing: 0.16em; }
.ry-eyebrow--plain::before { display: none; }
/* handwritten accent: one per screen, stickers only */
.ry-hand { font-family: var(--ry-font-hand); font-weight: 400; letter-spacing: 0; text-transform: none; }

/* section title: loud, uppercase — "BEST SELLERS" */
.ry-section-title {
  margin: 0 0 20px;
  max-width: none;
  text-align: var(--ry-title-align, left);
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: var(--ry-title-size, var(--ry-fs-h2));
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  text-transform: uppercase;
  color: var(--ry-heading-color, var(--ry-ink));
}
.ry-section-title a,
.ry-section-title--underline {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(var(--ry-ink-rgb), 0.35);
}
.ry-section-title a:hover { text-decoration-color: var(--ry-ink); }
@media (min-width: 750px) {
  .ry-section-title { margin-bottom: 28px; }
}

.ry-page-title {
  margin: 20px 0;
  max-width: none;
  text-align: left;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 700;
  font-size: var(--ry-fs-h1);
  line-height: 1;
  letter-spacing: var(--ry-ls-heading);
  text-transform: uppercase;
  color: var(--ry-ink);
}
@media (min-width: 750px) {
  .ry-page-title { margin: 28px 0; }
}

/* ---------- chrome line / sticker / tape ---------- */
.ry-chrome-line {
  display: block;
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--ry-chrome, #C8CACF);
  opacity: 0.75;
}
.ry-chrome-text {
  background: var(--ry-chrome, #C8CACF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ry-sticker {
  display: inline-block;
  padding: 4px 8px 3px;
  border-radius: 2px;
  background: var(--ry-sticker-bg, var(--ry-ink));
  color: var(--ry-sticker-text, var(--ry-bg-1));
  font-family: var(--ry-font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-2deg);
}
.ry-sticker--bone { background: var(--ry-bg-1); color: var(--ry-ink); box-shadow: inset 0 0 0 1px var(--ry-hairline-strong); }
.ry-sticker--signal { background: var(--ry-signal); color: var(--ry-on-signal); }
.ry-sticker--street { background: #264CEB; color: #F4F0E8; }
.ry-sticker--sweet { background: #F5B5C8; color: #6D283D; }
.ry-sticker--wild { background: #B75432; color: #F4F0E8; }
.ry-sticker--hand { font-family: var(--ry-font-hand); font-size: 15px; letter-spacing: 0; text-transform: none; }
.ry-tape {
  display: block;
  height: 10px;
  background: var(--ry-tape);
}

/* ---------- buttons: 4px radius, uppercase, 13/600 ---------- */
.ry-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: var(--ry-btn-h);
  min-width: 132px;
  padding: 0 var(--ry-btn-pad-x);
  border: 0;
  border-radius: var(--ry-btn-radius);
  font-family: var(--ry-font-sans);
  font-weight: 600;
  font-size: var(--ry-btn-fs);
  line-height: 1.2;
  letter-spacing: var(--ry-btn-ls);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: box-shadow 0.15s ease, background-color 0.25s var(--ry-ease), color 0.25s var(--ry-ease);
}
.ry-btn.ry-btn--primary {
  background: var(--ry-accent);
  color: var(--ry-on-accent);
  box-shadow: 0 0 0 1px var(--ry-accent);
}
.ry-btn.ry-btn--primary:hover {
  background: var(--ry-accent-dark, var(--ry-accent));
  color: var(--ry-on-accent-hover, var(--ry-on-accent));
  box-shadow: 0 0 0 1px var(--ry-accent-dark, var(--ry-accent));
}
.ry-btn.ry-btn--secondary {
  background: transparent;
  color: var(--ry-ink);
  box-shadow: 0 0 0 1px var(--ry-ink);
}
.ry-btn.ry-btn--secondary:hover {
  background: rgba(var(--ry-ink-rgb), 0.08);
  color: var(--ry-ink);
  box-shadow: 0 0 0 1px var(--ry-ink);
}
.ry-btn--pill { border-radius: 999px; }
.ry-btn--block { width: 100%; }
@media (max-width: 749px) {
  .ry-btn--mobile-block { width: 100%; }
}
.ry-btn:focus-visible {
  outline: 2px solid rgba(var(--ry-ink-rgb), 0.6);
  outline-offset: 3px;
}
.ry-btn[disabled], .ry-btn[aria-disabled="true"] { opacity: 0.4; cursor: not-allowed; }

/* ---------- badge: signal red sticker ---------- */
.ry-badge {
  display: inline-block;
  box-sizing: border-box;
  padding: 5px 8px 4px;
  border: 0;
  border-radius: 2px;
  background: var(--ry-badge-bg);
  color: var(--ry-on-signal, #F4F0E8);
  font-family: var(--ry-font-mono);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}
.ry-badge--soldout {
  background: var(--ry-bg-3);
  color: var(--ry-text);
  box-shadow: inset 0 0 0 1px var(--ry-hairline-strong);
}

/* ---------- slider nav: prev  1 / 5  next ---------- */
.ry-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ry-text);
}
.ry-slider-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ry-ink);
  cursor: pointer;
}
.ry-slider-nav__btn svg { width: 12px; height: 12px; transition: transform 0.2s var(--ry-ease); }
.ry-slider-nav__btn:not([disabled]):hover svg { transform: scale(1.2); }
.ry-slider-nav__btn[disabled] { color: rgba(var(--ry-ink-rgb), 0.25); cursor: default; }
.ry-slider-nav__count {
  min-width: 56px;
  text-align: center;
  font-family: var(--ry-font-mono);
  font-size: var(--ry-fs-caption);
  line-height: 1.4;
  letter-spacing: 0.1em;
}

/* ---------- MANIVANTA product card (components/ry-product-card) ----------
   Variables (set on any ancestor): --ry-card-ratio (default 4/5).
   The old .ry-card--arch modifier is kept for templates that still
   pass shape="arch" but now renders the same 6px plate. */
a.ry-card,
a.ry-card:hover,
.ry-card {
  position: relative;
  display: block;
  text-align: left;
  text-decoration: none;
  color: inherit;
}
.ry-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--ry-radius-img);
  background: var(--ry-bg-img, #E6E1D8);
  box-shadow: inset 0 0 0 1px var(--ry-hairline);
  aspect-ratio: var(--ry-card-ratio, 4 / 5);
}
.ry-card--arch .ry-card__media { border-radius: var(--ry-radius-img); }
.ry-card__media > img,
.ry-card__media > svg,
.ry-card__img-alt img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.ry-card__media > svg { background: var(--ry-bg-img, #E6E1D8); fill: rgba(var(--ry-ink-rgb), 0.18); }
.ry-card__media > img,
.ry-card__img-alt { transition: transform 0.9s var(--ry-ease), opacity 0.5s var(--ry-ease); }
.ry-card__img-alt { position: absolute; inset: 0; opacity: 0; }
/* chrome sheen on hover (fine pointers only) */
.ry-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(115deg, transparent 35%, rgba(var(--ry-ink-rgb), 0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .ry-card:hover .ry-card__media > img { transform: scale(1.04); }
  .ry-card:hover .ry-card__img-alt { opacity: 1; transform: scale(1.04); }
  .ry-card:hover .ry-card__media::after { transition: transform 0.9s var(--ry-ease); transform: translateX(120%); }
  .ry-card:hover .ry-card__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
@media (prefers-reduced-motion: reduce) {
  .ry-card__media > img, .ry-card__img-alt, .ry-card__media::after { transition: none; }
  .ry-card:hover .ry-card__media > img, .ry-card:hover .ry-card__img-alt { transform: none; }
}
/* mono micro label, top-left: "HAND-PAINTED" */
.ry-card__label {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 4px 7px 3px;
  border-radius: 2px;
  background: rgba(244, 240, 232, 0.82);
  background: color-mix(in srgb, var(--ry-bg-1) 82%, transparent);
  color: var(--ry-ink);
  font-family: var(--ry-font-mono);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ry-card__badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
}
.ry-card__info { padding: 12px 0 4px; }
.ry-card__name {
  margin: 0;
  max-width: none;
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: var(--ry-fs-h5);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ry-ink);
}
.ry-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 0;
  font-family: var(--ry-font-mono);
  font-weight: 400;
  font-size: var(--ry-fs-caption);
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--ry-ink);
}
.ry-card__price s {
  margin: 0;
  color: var(--ry-text-dim);
  text-decoration: line-through;
}
.ry-card__price .ry-card__sale { color: var(--ry-signal, #B75432); }
@media (min-width: 750px) {
  .ry-card__info { padding: 14px 0 6px; }
}

/* ---------- reviews section re-skin (a9-product-reviews + cards) ---------- */
/* ============================================================
   PART 2 — native commerce pages re-skinned to the MANIVANTA spec
   (风格规格.md §1 tokens, §3 pages, §4 interaction, §5 mobile).
   Structure, settings ids, data-* attributes and the reviews /
   size-chart pipelines are untouched: this is appearance only.

   Cascade notes (why some selectors look heavier than needed):
   - base/index.css, styles.css and a9/commerce-pages.css load BEFORE
     this file; equal specificity → this file wins.
   - component / section stylesheets (facets.css, detail.css,
     main-cart.css, cart-notification.css, product-image.css …) are
     linked inside <body>, i.e. AFTER this file; to beat them a rule
     here needs one more class than theirs.
   Colors: only --ry-* / --a9-* variables.
   ============================================================ */

/* ---------- 2.0 reviews section + size guide modal (re-skin only) ---------- */
.a9-product-reviews { font-family: var(--ry-font-sans); }
.a9-product-reviews__inner {
  padding: clamp(24px, 3vw, 36px) 0;
  border: 0;
  border-top: 1px solid var(--ry-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* head: left = rating summary, right = two pill actions; heading spans the row */
.a9-product-reviews__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 24px;
  text-align: left;
}
.a9-product-reviews__head .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 11px;
  text-align: center;
  font-size: var(--ry-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 1.43px;
  text-transform: uppercase;
  color: var(--ry-text);
}
.a9-product-reviews__head h2 {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--ry-font-serif) !important;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.a9-product-reviews__intro {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ry-text);
}
.a9-product-reviews__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  row-gap: 8px;
}
.a9-product-reviews__stars {
  order: -1;
  flex-basis: 100%;
  font-size: 15.4px;
  letter-spacing: 0.2em;
  color: var(--ry-ink) !important;
}
.a9-product-reviews__score {
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h4);
  color: var(--ry-ink);
}
.a9-product-reviews__score::after { content: " \2014"; color: var(--ry-text); }
.a9-product-reviews__count { font-size: var(--ry-fs-small); letter-spacing: var(--ry-ls-body); color: var(--ry-text); }

.a9-product-reviews .testimonial-card.review-snap-card {
  padding: 28px;
  border: 1px solid var(--ry-hairline);
  border-radius: 0;
  background: var(--ry-bg-3);
  box-shadow: none;
  text-align: left;
}
.a9-product-reviews .review-snap-card > span {
  display: block;
  font-size: var(--ry-fs-caption);
  letter-spacing: 0.2em;
  color: var(--ry-ink);
}
.a9-product-reviews .review-snap-card h3 {
  margin: 14px 0 6px;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 500;
  font-size: var(--ry-fs-h4);
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.a9-product-reviews .review-snap-card p {
  font-family: var(--ry-font-sans);
  font-style: normal;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.a9-product-reviews .review-snap-card p::before { content: "\201C"; }
.a9-product-reviews .review-snap-card p::after { content: "\201D"; }
.a9-product-reviews .review-snap-card__footer { justify-content: flex-start; gap: 6px; }
.a9-product-reviews .review-snap-card__footer,
.a9-product-reviews .review-snap-card__size,
.a9-product-reviews .review-snap-card__name {
  font-size: var(--ry-fs-caption);
  letter-spacing: 0.77px;
  text-transform: none;
  color: var(--ry-text);
}

/* review form: same fields + pill submit as the rest of the site */
.a9-product-reviews__form-wrap.ry-collapsed { display: none; }
.a9-product-reviews__form-wrap input[type="text"],
.a9-product-reviews__form-wrap input[type="email"],
.a9-product-reviews__form-wrap textarea,
.a9-product-reviews__form-wrap select {
  min-height: var(--ry-btn-h);
  border: 1px solid rgba(var(--ry-ink-rgb), 0.55);
  border-radius: 2px;
  background: var(--ry-bg-3);
  color: var(--ry-ink);
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-body);
}
.a9-product-reviews__form-wrap input:focus,
.a9-product-reviews__form-wrap textarea:focus,
.a9-product-reviews__form-wrap select:focus {
  border-color: var(--ry-ink);
  box-shadow: 0 0 0 1px var(--ry-ink);
  outline: none;
}
.a9-product-reviews .a9-product-reviews__submit {
  min-height: var(--ry-btn-h);
  padding: 0 var(--ry-btn-pad-x);
  border: 0 !important;
  border-radius: var(--ry-btn-radius) !important;
  background: var(--ry-accent) !important;
  color: var(--ry-on-accent) !important;
  box-shadow: 0 0 0 1px var(--ry-accent);
  transition: box-shadow 0.1s ease;
}
.a9-product-reviews .a9-product-reviews__submit:hover { box-shadow: 0 0 0 2px var(--ry-accent); }
/* "Write a review" / "Ask a question" pills injected by layout/theme.html */
.ry-review-actions { display: flex; flex-direction: column; gap: 11px; }
.ry-write-review,
.ry-ask-question {
  display: block;
  min-width: 218px;
  min-height: var(--ry-btn-h);
  padding: 0 var(--ry-btn-pad-x);
  border: 0;
  border-radius: var(--ry-btn-radius);
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: var(--ry-btn-fs);
  letter-spacing: var(--ry-btn-ls);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--ry-accent);
  transition: box-shadow 0.1s ease;
}
.ry-write-review { background: var(--ry-accent); color: var(--ry-on-accent); }
.ry-ask-question { background: transparent; color: var(--ry-accent); }
.ry-write-review:hover,
.ry-ask-question:hover { box-shadow: 0 0 0 2px var(--ry-accent); }
@media (max-width: 749px) {
  .a9-product-reviews__head { grid-template-columns: 1fr; row-gap: 20px; }
  .ry-review-actions { flex-direction: row; flex-wrap: wrap; }
  .ry-write-review, .ry-ask-question { min-width: 0; flex: 1 1 45%; padding: 0 18px; }
}

/* size guide modal (scsg-*): shopline-size-chart.js injects its own <style>
   after this file, so every override here needs !important. */
.scsg-modal {
  border: 1px solid var(--ry-hairline) !important;
  border-radius: 0 !important;
  background: var(--ry-bg-3) !important;
  box-shadow: 0 6px 25px rgba(var(--ry-ink-rgb), 0.12) !important;
  font-family: var(--ry-font-sans) !important;
}
.scsg-title {
  font-family: var(--ry-font-serif) !important;
  font-weight: 500 !important;
  font-size: var(--ry-fs-h2) !important;
  letter-spacing: var(--ry-ls-heading) !important;
  color: var(--ry-ink) !important;
}
.scsg-subtitle { font-weight: 500 !important; color: var(--ry-text) !important; }
.scsg-close {
  border: 1px solid rgba(var(--ry-ink-rgb), 0.2) !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: var(--ry-ink) !important;
}
.scsg-close:hover { border-color: var(--ry-ink) !important; background: var(--ry-bg-2) !important; }
.scsg-tab {
  border: 0 !important;
  border-radius: var(--ry-btn-radius) !important;
  background: transparent !important;
  color: var(--ry-accent) !important;
  font-weight: 500 !important;
  font-size: var(--ry-fs-small) !important;
  letter-spacing: var(--ry-btn-ls) !important;
  text-transform: none !important;
  box-shadow: 0 0 0 1px var(--ry-accent) !important;
}
.scsg-tab:hover:not(.active) { box-shadow: 0 0 0 2px var(--ry-accent) !important; }
.scsg-tab.active,
.scsg-tab.active:hover {
  background: var(--ry-accent) !important;
  color: var(--ry-on-accent) !important;
}
.scsg-unit {
  padding: 2px !important;
  border: 1px solid var(--ry-accent) !important;
  border-radius: var(--ry-btn-radius) !important;
  background: transparent !important;
}
.scsg-unit button { border-radius: var(--ry-btn-radius) !important; font-weight: 500 !important; letter-spacing: var(--ry-ls-body) !important; }
.scsg-unit button.active,
.scsg-unit button.active:hover {
  background: var(--ry-accent) !important;
  color: var(--ry-on-accent) !important;
  box-shadow: none !important;
}
.scsg-table thead th {
  font-weight: 500 !important;
  font-size: var(--ry-fs-eyebrow) !important;
  letter-spacing: 1.43px !important;
  text-transform: uppercase !important;
  color: var(--ry-text) !important;
}
.scsg-table th, .scsg-table td { border-bottom-color: var(--ry-hairline) !important; }
.scsg-size-pill {
  border-radius: 4px !important;
  background: var(--ry-accent) !important;
  color: var(--ry-on-accent) !important;
  font-weight: 500 !important;
  letter-spacing: var(--ry-btn-ls) !important;
}
.scsg-size-pill--country {
  border: 1px solid var(--ry-accent) !important;
  background: transparent !important;
  color: var(--ry-accent) !important;
}
.scsg-table tbody tr.scsg-recommended td { background: var(--ry-bg-2) !important; }
.scsg-calc, .scsg-measure { border-radius: 0 !important; background: var(--ry-bg-2) !important; }
.scsg-calc-input { border: 1px solid var(--ry-hairline) !important; border-radius: 2px !important; background: var(--ry-bg-3) !important; }
.scsg-calc-input:focus-within { box-shadow: 0 0 0 1px var(--ry-ink) !important; }
.scsg-calc-label, .scsg-calc-rec-label, .scsg-measure h4 {
  font-weight: 500 !important;
  font-size: var(--ry-fs-eyebrow) !important;
  letter-spacing: 1.43px !important;
  text-transform: uppercase !important;
  color: var(--ry-text) !important;
}
.scsg-measure-img, .scsg-measure svg { border-radius: 0 !important; }
.scsg-section-title {
  font-family: var(--ry-font-serif) !important;
  font-weight: 500 !important;
  color: var(--ry-ink) !important;
}
.scsg-trigger { font-weight: 500 !important; letter-spacing: var(--ry-ls-body) !important; color: var(--ry-accent) !important; }
.scsg-trigger:hover { text-decoration-thickness: 2px !important; }

/* ============================================================
   2.1 Global native controls
   ============================================================ */
:root {
  /* native .page-width uses the same gutter as .ry-page-width */
  --page-padding: var(--ry-gutter);
  /* native .titleN on phones: 48→36, 29→24, 24→20.4, 22→18 (spec §0 mobile scale) */
  --title1-font-size-mobile-ratio: 0.75;
  --title2-font-size-mobile-ratio: 0.8276;
  --title3-font-size-mobile-ratio: 0.85;
  --title4-font-size-mobile-ratio: 0.8182;
}
/* room under the sticky header for anchored scrolling */
html { scroll-padding-top: 140px; }
@media (max-width: 749px) {
  html { scroll-padding-top: 112px; }
}
/* (single class on purpose: base's .page-width--fluid / --thin and the
   commerce sections' own width setting must keep winning) */
.page-width { max-width: var(--ry-page-width); }

/* ----- buttons: pill, 52 high, 16.5/500, tracking 1.1, no uppercase.
   primary = solid accent, secondary = transparent + 1px ring; ring grows to 2px on hover.
   The ring is the native ::after (base/index.css) repainted with our colors.
   --ry-btn-bg / --ry-btn-fg let the commerce sections keep their own color settings. */
.button:not(.button--link):not(.button--text):not(.button--icon),
.shopline-element-buy-now {
  box-sizing: border-box;
  min-height: var(--ry-btn-h);
  padding: 0 var(--ry-btn-pad-x);
  border: 0;
  border-radius: var(--ry-btn-radius);
  background: var(--ry-btn-bg, var(--ry-accent));
  color: var(--ry-btn-fg, var(--ry-on-accent));
  box-shadow: none;
  font-family: var(--ry-font-sans);
  font-weight: 600;
  font-size: var(--ry-btn-fs);
  line-height: 1.2;
  letter-spacing: var(--ry-btn-ls);
  text-transform: uppercase;
  transition: background-color 0.25s var(--ry-ease), color 0.25s var(--ry-ease);
}
.button:not(.button--link):not(.button--text):not(.button--icon):hover,
.button:not(.button--link):not(.button--text):not(.button--icon):focus,
.button:not(.button--link):not(.button--text):not(.button--icon):active,
.shopline-element-buy-now:hover {
  border: 0;
  background: var(--ry-btn-bg-hover, var(--ry-accent-dark, var(--ry-accent)));
  color: var(--ry-btn-fg, var(--ry-on-accent));
  opacity: 1;
}
/* styles.css squares the drawer / notification buttons on hover, focus and press */
:is(.cart-drawer, .cart-notification) .button:not(.button--link):not(.button--text):not(.button--icon),
:is(.cart-drawer, .cart-notification) .button:not(.button--link):not(.button--text):not(.button--icon):hover,
:is(.cart-drawer, .cart-notification) .button:not(.button--link):not(.button--text):not(.button--icon):focus,
:is(.cart-drawer, .cart-notification) .button:not(.button--link):not(.button--text):not(.button--icon):active {
  border-radius: var(--ry-btn-radius);
}
.button:not(.button--link):not(.button--text):not(.button--icon)::after,
.shopline-element-buy-now::after {
  border-radius: inherit;
  box-shadow: 0 0 0 1px var(--ry-btn-bg, var(--ry-accent));
  transition: box-shadow 0.1s ease;
}
.button:not(.button--link):not(.button--text):not(.button--icon):not([disabled]):hover::after,
.shopline-element-buy-now:hover::after {
  box-shadow: 0 0 0 2px var(--ry-btn-bg, var(--ry-accent));
}
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon),
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon):hover,
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon):focus,
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon):active {
  background: transparent;
  color: var(--ry-ink);
}
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon)::after { box-shadow: 0 0 0 1px var(--ry-ink); }
.button.button--secondary:not(.button--link):not(.button--text):not(.button--icon):hover { background: rgba(var(--ry-ink-rgb), 0.08); }
.button:disabled,
.button.disabled { opacity: 0.5; }
.button.loading:not(.button--link):not(.button--text):not(.button--icon) { color: transparent !important; }
.button .button__spinner,
.button.loading .loading--rotator { color: var(--ry-btn-fg, var(--ry-on-accent)); }
.button.button--secondary .button__spinner,
.button.button--secondary.loading .loading--rotator { color: var(--ry-btn-bg, var(--ry-accent)); }
.button:focus-visible {
  outline: 2px solid rgba(var(--ry-ink-rgb), 0.5);
  outline-offset: 3px;
}
/* text / link / icon buttons must not inherit the pill */
.button.button--link,
.button.button--text,
.button.button--link:hover,
.button.button--text:hover {
  min-height: 0;
  padding: 0 1px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ry-ink);
  box-shadow: none;
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: var(--ry-fs-small);
  letter-spacing: var(--ry-ls-body);
  text-transform: none;
}
.button.button--link { text-underline-offset: 3px; text-decoration-thickness: 1px !important; }
.button.button--link:hover { text-decoration-thickness: 2px !important; }
.button.button--icon,
.button.button--icon:hover {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  letter-spacing: 0;
}

/* ----- form fields: 52 high, radius 2, 1px ink@55% (values come from theme
   settings via --input-*; here only height / type / color) */
.field { font-size: var(--ry-fs-body); background-color: transparent; }
.field__input {
  padding: 21px 16px 7px;
  font-family: var(--ry-font-sans);
  line-height: 24px;
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-ink);
}
.field--normal .field__input { padding: 14px 16px; }
.field__label { color: var(--ry-text); letter-spacing: var(--ry-ls-body); }
.field-checkbox .checkbox { border-color: rgba(var(--ry-ink-rgb), 0.55); border-radius: 2px; }

/* quantity stepper: 142 x 52, radius 2 */
theme-input-number {
  width: 142px;
  min-height: var(--ry-btn-h);
  color: var(--ry-ink);
  background: transparent;
}
theme-input-number button[name="minus"],
theme-input-number button[name="plus"] { width: 45px; }
theme-input-number input[type="number"] {
  min-height: 0;
  height: var(--ry-btn-h);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-ink);
}
theme-input-number input[type="number"]:focus { box-shadow: none; }

/* native dropdown (theme-select): 52 high, radius 2 */
theme-select { font-size: var(--ry-fs-body); color: var(--ry-ink); }
theme-select > select,
theme-select > .theme-select__placeholder {
  height: var(--ry-btn-h);
  min-height: var(--ry-btn-h);
  padding: 0 44px 0 16px;
  border: 0;
  border-radius: var(--input-border-radius);
  background: transparent;
  box-shadow: none;
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-ink);
}
theme-select .theme-select__arrow {
  inset-block-start: calc((var(--ry-btn-h) - var(--icon-size)) / 2);
  inset-inline-end: 17px;
}
theme-select .theme-select__content { background-color: var(--ry-bg-3); border: 1px solid var(--ry-hairline-strong); border-radius: 4px; }
theme-select .theme-select__option { padding: 11px 16px; font-size: var(--ry-fs-small); letter-spacing: var(--ry-ls-body); }
theme-select .theme-select__option:hover { background-color: rgba(var(--ry-ink-rgb), 0.04); }
theme-select .theme-select__option[selected] { background-color: rgba(var(--ry-ink-rgb), 0.08); }

/* ----- rich text: bold h2, 22px list indent, accent underlined links ----- */
.rte h1, .rte h2, .rte h3, .rte h4 {
  max-width: none;
  margin: 1.2em 0 0.5em;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 700;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.rte h1, .rte h2 { font-size: var(--ry-fs-h2); }
.rte h3 { font-size: var(--ry-fs-h3); }
.rte h4 { font-size: var(--ry-fs-h4); }
.rte > :first-child { margin-top: 0; }
.rte p { margin-block: 18px; }
.rte ul, .rte ol { margin: 18px 0; padding-left: 22px; }
.rte a,
.rte a:hover {
  color: var(--ry-accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.rte a:hover { text-decoration-thickness: 2px; }

/* ----- native price component: the current price is ink; it turns signal red only
   when a struck compare price (.product-price__origin) sits next to it ----- */
.product-price__sale { color: var(--ry-ink); }
.product-price:has(.product-price__origin) .product-price__sale { color: var(--ry-signal, #B75432); }
.product-price__origin { color: var(--ry-text-dim); }
.product-price .product-price__item.body-font-bold { font-weight: 500 !important; }

/* ----- pagination: plain arrows + underlined current page ----- */
.pagination-standard .pagination-standard__button {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background-color: transparent;
  color: var(--ry-ink);
}
.pagination-standard .pagination-standard__indicator,
.pagination-standard .pagination-standard__indicator a {
  font-size: var(--ry-fs-small);
  color: var(--ry-text);
}
.pagination-standard .pagination-standard__indicator.active {
  border-block-end: 1px solid var(--ry-ink);
  color: var(--ry-ink);
}
.pagination-standard .pagination-standard__indicator.active a { color: var(--ry-ink); }
/* simple.css paints the arrows with the button-text color (white) on a
   transparent chip; use the text color so they stay visible on paper. */
.pagination-simple .pagination-simple__button { color: rgb(var(--color-text)) !important; }

/* ----- breadcrumb: quiet caption, no uppercase ----- */
.breadcrumb, .breadcrumb a, .product-detail__breadcrumb-item {
  font-size: var(--ry-fs-caption);
  font-weight: 500;
  letter-spacing: 0.77px;
  text-transform: none;
  color: var(--ry-text);
}

/* ----- shared page-title treatment for native pages (48 desktop / 36 phone).
   Where the section has a typography select the size comes from the select
   (templates set title1); the hard-coded ones get the size here. */
.block-main-collection__heading,
.main-search__title,
.main-page__title,
.main-blog__title,
.main-article__title,
.section-main-not-found__title,
.section-main-collections-all > .block-heading,
.a9-commerce-page .a9-cart-intro__title,
.a9-commerce-page .customer__title,
.a9-commerce-page .customers-addresses__title,
.a9-commerce-page .customers-forgot-password__title,
.a9-commerce-page .customer-company__title {
  max-width: none;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 500 !important;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  text-transform: none;
  color: var(--ry-ink);
}
.main-search__title,
.section-main-not-found__title,
.a9-commerce-page .a9-cart-intro__title,
.a9-commerce-page .customer__title,
.a9-commerce-page .customers-addresses__title,
.a9-commerce-page .customers-forgot-password__title,
.a9-commerce-page .customer-company__title {
  font-size: var(--ry-fs-h1);
}

/* a collection title placed inside the optional image banner keeps the banner's own text color */
.block-main-collection__banner .block-main-collection__heading { color: inherit; }

/* ============================================================
   2.2 Collection page
   ============================================================ */
/* title band: --ry-bg-2, H1 left, 28px above and below */
.main-collection-cover { background: var(--ry-bg-2); }
.main-collection-cover > .block-main-collection__heading {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--ry-page-width);
  margin: 0 auto;
  padding: 28px var(--ry-gutter);
}
.main-collection-cover > .block-main-collection__description {
  margin-block: 0;
  padding-bottom: 28px;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.main-collection-container .main-collection { padding-block: 36px 60px; }
@media (max-width: 959px) {
  .main-collection-container .main-collection { padding-block: 16px 40px; }
}

/* toolbar: "Filter:" + dropdown filters on the left, "Sort by" + count on the right */
.main-collection-container .main-collection.facets-layout-horizontal { row-gap: 20px; }
:is(.main-collection, .main-search__results) .facets-filtering__filters { column-gap: 32px; row-gap: 4px; align-items: center; }
@media (min-width: 960px) {
  .facets-layout-horizontal .facets-filtering__filters:has(.facets-filtering__details)::before {
    content: var(--ry-filter-label, "Filter") ":";
    font-size: var(--ry-fs-small);
    letter-spacing: var(--ry-ls-body);
    color: var(--ry-ink);
  }
}
:is(.main-collection, .main-search__results) .facets-filtering__details { border: 0; }
:is(.main-collection, .main-search__results) .facets-filtering__summary,
:is(.main-collection, .main-search__results) .facets-sorting__summary {
  padding-inline: 0;
  font-size: var(--ry-fs-small);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
:is(.main-collection, .main-search__results) .facets-filtering__summary span,
:is(.main-collection, .main-search__results) .facets-sorting__summary span {
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-small);
  font-weight: 500 !important;
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
  border-block-end: 0;
}
:is(.main-collection, .main-search__results) .facets-filtering__summary:hover span,
:is(.main-collection, .main-search__results) .facets-sorting__summary:hover span,
:is(.main-collection, .main-search__results) [open] > .facets-filtering__summary span,
:is(.main-collection, .main-search__results) [open] > .facets-sorting__summary span {
  color: var(--ry-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
:is(.main-collection, .main-search__results).facets-layout-horizontal .facets-sorting-wrapper,
:is(.main-collection, .main-search__results) .facets-sorting-wrapper { gap: 32px; align-items: center; padding-block: 8px; }
:is(.main-collection, .main-search__results) .facets-count {
  font-size: var(--ry-fs-small);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
/* dropdown panels: 385 wide, paper, hairline frame, "0 selected / Reset" header */
@media (min-width: 960px) {
  .facets-layout-horizontal .facets-filtering .facets-filtering__content {
    gap: 0;
    width: 385px;
    padding: 0;
    border: 1px solid rgba(var(--ry-ink-rgb), 0.1);
    border-radius: 0;
    background-color: var(--ry-bg-3);
    box-shadow: 0 4px 5px rgba(var(--ry-ink-rgb), 0.05);
  }
  .facets-layout-horizontal .facets-filtering .facets-filtering__content.price-range { width: 385px; gap: 0; }
  .facets-layout-horizontal .facets-filtering .facets-filtering__content-header {
    align-items: center;
    padding: 16px 22px;
    border-block-end: 1px solid var(--ry-hairline);
    font-size: var(--ry-fs-small);
    color: var(--ry-text);
  }
  .facets-layout-horizontal .facets-filtering .facets-filtering__content-header ~ fieldset {
    padding: 6px 22px 16px;
    border-block-start: 0;
  }
  .facets-layout-horizontal .facets-filtering .price-range .facets-filtering__content-header ~ fieldset { padding: 22px; }
  :is(.main-collection, .main-search__results) .facets-sorting__content {
    width: auto;
    min-width: 264px;
    padding: 11px 22px;
    gap: 0;
    border: 1px solid rgba(var(--ry-ink-rgb), 0.1);
    border-radius: 0;
    background-color: var(--ry-bg-3);
    box-shadow: 0 4px 5px rgba(var(--ry-ink-rgb), 0.05);
  }
}
theme-facets-form .facets-filtering .facets-filtering__reset {
  height: auto;
  border-block-end: 0;
  color: var(--ry-accent);
  font-weight: 500 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
theme-facets-form .facets-filtering__list { gap: 0; }
theme-facets-form .facets-filtering__list > li { padding-block: 9px; }
theme-facets-form .facets-filtering__checkbox-wrapper {
  font-size: var(--ry-fs-small);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
theme-facets-form .facets-filtering__checkbox-wrapper:hover { color: var(--ry-ink); }
theme-facets-form .facets-filtering__checkbox-wrapper > span { font-size: var(--ry-fs-small); }
theme-facets-form .facets-filtering__checkbox-wrapper > span:nth-of-type(1)::before {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.55);
}
theme-facets-form .facets-filtering__checkbox-wrapper input:checked ~ span:nth-of-type(1)::before {
  border-color: var(--ry-ink);
  background: var(--ry-ink);
  box-shadow: inset 0 0 0 3px var(--ry-bg-3);
}
theme-facets-form .facets-sorting__content label { font-size: var(--ry-fs-small); color: var(--ry-text); }
theme-facets-form .facets-sorting__content input:checked ~ span { color: var(--ry-ink); border-block-end-color: var(--ry-ink); }
/* active filter chips + "clear all" */
theme-facets-form .facets-filtering__active-button {
  padding: 5px 14px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.55);
  border-radius: 26px;
  font-size: var(--ry-fs-caption);
}
theme-facets-form .facets-filtering__active-button-inner { color: var(--ry-ink); }
/* price range */
theme-price-range .price-range-slider .price-range-track { height: 2px; background-color: rgba(var(--ry-ink-rgb), 0.18); }
theme-price-range .price-range-slider .price-range-bar { background-color: var(--ry-ink); }
theme-price-range .price-range-slider .price-range-dot {
  border: 0;
  background-color: var(--ry-ink);
  box-shadow: none;
}
theme-price-range .price-range-input .field::after { border-color: rgba(var(--ry-ink-rgb), 0.55); border-radius: 2px; }
theme-price-range .price-range-input .line { background: rgba(var(--ry-ink-rgb), 0.55); }
/* phone: filter / sort bar + slide-in sheet */
theme-facets-form .facets-mobile__modals { border-block-end: 1px solid var(--ry-hairline); }
theme-facets-form .facets-mobile__modals > *:first-child { border-inline-end: 1px solid var(--ry-hairline); }
theme-facets-form .facets-mobile .facets-mobile__modals summary { font-size: var(--ry-fs-small); font-weight: 500 !important; color: var(--ry-ink); }
theme-facets-form .facets-mobile .facets-filtering__modal-content,
theme-facets-form .facets-mobile .facets-sorting__content { background-color: var(--ry-bg-3); border-radius: 0; }
theme-facets-form .facets-mobile .facets-filtering__details:not(:last-child) { border-block-end: 1px solid var(--ry-hairline); }
theme-facets-form .facets-mobile .facets-filtering__summary span { font-size: var(--ry-fs-body); font-weight: 500 !important; color: var(--ry-ink); }
theme-facets-form .facets-filtering__submenu-button-group { border-block-start: 1px solid var(--ry-hairline); }
.facets-loading-wrapper .facets-loading { border-radius: 0; background-color: var(--ry-bg-1); }

/* ----- native product card = the home .ry-card look -----
   image square-cornered, no shadow; badge = pill at the image's bottom-left;
   title + price centered (follows the title block's alignment setting);
   hover: image 1.03 + underlined title. */
.block-product-card .block-product-image__image-wrapper,
.block-product-card .block-product-card__image-wrapper {
  border-radius: 0;
  background-color: var(--ry-bg-2);
}
.block-product-card .block-product-image__image-wrapper > svg,
.block-product-card .block-product-card__image-wrapper > svg { fill: rgba(var(--ry-ink-rgb), 0.35); }
.block-product-card .block-product-image__image-wrapper > .block-product-image__image,
.block-product-card .block-product-card__image-wrapper > .block-product-card__image {
  transition: transform 0.5s ease, opacity 0.4s ease;
}
@media (hover: hover) {
  .block-product-card:hover .block-product-image__image-wrapper > .block-product-image__image,
  .block-product-card:hover .block-product-card__image-wrapper > .block-product-card__image { transform: scale(1.03); }
  .block-product-card:hover .block-product-title span { text-decoration: underline; text-underline-offset: 3px; }
}
.block-product-card .block-product-card__discount-tag,
.block-product-card .block-product-card__sold-out {
  position: absolute;
  left: 11px;
  bottom: 13px;
  z-index: 1;
  padding: 5px 8px 4px;
  border: 0;
  border-radius: 2px;
  background-color: var(--ry-badge-bg);
  color: var(--ry-on-signal);
  font-family: var(--ry-font-mono);
  text-transform: uppercase;
  font-size: var(--ry-fs-caption);
  font-weight: 500 !important;
  line-height: 1;
  letter-spacing: 1.1px;
  text-transform: none;
  white-space: nowrap;
}
.block-product-card .block-product-card__sold-out {
  background-color: var(--ry-bg-3);
  color: var(--ry-ink);
  box-shadow: inset 0 0 0 1px var(--ry-hairline);
}
.block-product-card .block-product-title {
  padding-inline-end: 0;
  font-family: var(--ry-font-serif);
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.block-product-card .block-product-price {
  font-family: var(--ry-font-sans);
  letter-spacing: 1.1px;
  color: var(--ry-ink);
}
.block-product-card-info:has(.block-product-title.text-center) .block-product-price { text-align: center; }
.block-product-card .product-price { gap: 4px 11px; align-items: baseline; }
.block-product-card .product-price__origin { order: -1; }

/* ============================================================
   2.3 Product page
   ============================================================ */
.a9-commerce-page {
  /* the commerce sections' own color settings keep driving the buttons */
  --ry-btn-bg: var(--a9-commerce-button-bg);
  --ry-btn-fg: var(--a9-commerce-button-text);
  --input-border-radius: 2px;
  --input-border-radius-outset: 3px;
  --button-border-radius: var(--ry-btn-radius);
  /* header (107) + breathing room; used by the sticky columns */
  --ry-sticky-top: calc(var(--ry-header-h, 107px) + 24px);
  font-family: var(--ry-font-sans);
}
.a9-commerce-page .page-width {
  width: 100%;
  max-width: var(--a9-commerce-width, var(--ry-page-width));
  padding-inline: var(--page-padding);
}
.a9-commerce-page .button:not(.button--link):not(.button--text):not(.button--icon) {
  border-radius: var(--a9-commerce-button-radius, var(--ry-btn-radius));
}
.a9-commerce-page .field::after {
  border-color: rgba(var(--ry-ink-rgb), 0.55);
  border-radius: 2px;
}
.a9-commerce-page .field__input:not(.textarea) {
  min-height: var(--ry-btn-h);
  padding: 21px 16px 7px;
  border-radius: 2px;
}
.a9-commerce-page .field--normal .field__input { padding: 14px 16px; }
/* the address form ships its own floating-label geometry (56px rows); keep it */
.a9-commerce-page .customers-addresses__main .field__input:not(.textarea) { padding: 29px 16px 5px; }
.a9-commerce-page .customers-addresses__main .field::after { border-color: rgba(var(--ry-ink-rgb), 0.55); }
.a9-commerce-page .customers-addresses__main .field--checkbox::after { display: none; }
.a9-commerce-page .field__input:focus { box-shadow: none; }
.a9-commerce-page .quantity-control,
.a9-commerce-page theme-input-number {
  --input-border-radius: 2px;
  --input-border-radius-outset: 3px;
}
.a9-commerce-page theme-input-number input[type="number"],
.a9-commerce-page theme-input-number input[type="number"]:focus {
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* :not(.x) only lifts specificity above commerce-pages.css' generic
   `.a9-commerce-page :is(input, select, …)` sizing rule */
.a9-commerce-page theme-select > select:not(.ry-never) {
  min-height: var(--ry-btn-h);
  padding: 0 44px 0 16px;
  border-radius: 2px;
}

/* styles.css still carries a legacy `.product-detail` grid from an older theme;
   keep the native flex layout in charge. Columns come from the block settings
   (media 45% / info 55%). */
.a9-commerce-page theme-product-detail.product-detail {
  display: flex;
  align-items: stretch;
  justify-items: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: none;
}
.a9-commerce-page theme-product-detail.product-detail[data-desktop-direction="column"] { flex-direction: column; }
.a9-commerce-page .product-detail__main { width: 100%; }

/* info column: flat, 88px from the gallery, content capped at 660.
   Frame / fill / radius stay with the section's own card settings
   (template: border 0, card color = page color). */
.a9-commerce-page .product-detail__info { box-shadow: none; }
@media (min-width: 761px) {
  .a9-commerce-page .product-detail__info { padding: 0; }
}
@media (min-width: 960px) {
  .a9-commerce-page .product-detail__main[data-desktop-direction="row"] .product-detail__info {
    padding-inline-start: clamp(32px, 5.3vw, 88px);
  }
  .a9-commerce-page .product-detail__info > * { max-width: 660px; }
  .a9-commerce-page .product-detail__main[data-desktop-direction="row"] .product-detail__media-group--sticky,
  .a9-commerce-page .product-detail__main[data-desktop-direction="row"] .product-detail__info--sticky {
    inset-block-start: var(--ry-sticky-top);
  }
}

/* gallery: one large image, thumbnails in a row underneath (4 across, 11px gap) */
@media (min-width: 960px) {
  .a9-commerce-page .product-detail__media-gallery { --gap: 11px; --thumbnail-gap: 11px; }
  /* a lone image needs no thumbnail strip */
  .a9-commerce-page .product-detail__media-gallery[data-media-total="1"] .media-gallery__thumbnails { display: none; }
}
.a9-commerce-page .product-detail__media-gallery .media-gallery__content { gap: 11px; }
.a9-commerce-page :is(.product-detail__media-gallery, .media-gallery) :is(img, video),
.a9-commerce-page .product-media-preview,
.a9-commerce-page .media-gallery__item,
.a9-commerce-page .media-gallery__thumbnail,
.a9-commerce-page .media-gallery__thumbnails { border-radius: 0; }
.a9-commerce-page .product-detail__media-gallery .media-gallery__media,
.a9-commerce-page .product-detail__media-gallery .media-gallery__placeholder,
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail { background-color: var(--ry-bg-2); }
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail { border: 0; }
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail:hover,
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail:focus,
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail.is-select { --border-thickness: 1px; }
.a9-commerce-page .product-detail__media-gallery .media-gallery__thumbnail::after {
  box-shadow: inset 0 0 0 var(--border-thickness, 0) var(--ry-ink);
}
@media (min-width: 960px) {
  .a9-commerce-page .product-detail__media-gallery[data-desktop-thumbnail-position="bottom"] .media-gallery__thumbnail {
    width: calc((100% - 33.5px) / 4);
  }
}
/* optional "stacked images" switch (main-product → ry_gallery_flatten, off by default):
   the script flips the gallery to the flatten layout on the client, where the server
   never rendered the pinned "current image" holder — keep the selected image in the
   stack so the first picture does not vanish. */
@media (min-width: 960px) {
  .a9-commerce-page .product-detail__media-gallery[data-ry-flatten][data-desktop-layout="flatten"] .media-gallery__list-wrapper:not(:has(> .media-gallery__sticky-wrapper)) .media-gallery__list .is-select {
    display: flex !important;
  }
}
.a9-commerce-page .product-detail__media-gallery .media-gallery__arrows {
  font-size: var(--ry-fs-caption);
  letter-spacing: 0.77px;
  color: var(--ry-text);
}
/* 20px arrows are too small to tap */
.a9-commerce-page .product-detail__media-gallery .media-gallery__arrow {
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
}
.a9-commerce-page .product-detail__media-gallery .media-gallery__arrows { gap: 2px; }

/* eyebrow: a text block placed above the product title */
.a9-commerce-page .product-detail__info > .block-text:has(~ .product-detail__title) {
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: var(--ry-fs-eyebrow);
  line-height: 1.2;
  letter-spacing: 1.43px;
  text-transform: uppercase;
  color: var(--ry-text);
}
.a9-commerce-page .product-detail__info > .block-text:has(~ .product-detail__title) p { margin: 0; }
.a9-commerce-page .product-detail__title {
  margin: 0;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: var(--ry-ls-heading);
  text-transform: uppercase !important;
  color: var(--ry-ink);
}

/* price row: struck compare price, current price, pill badge */
.a9-commerce-page .product-detail__price { color: var(--ry-text); }
.a9-commerce-page .product-detail__price .product-price { gap: 6px 11px; align-items: center; }
.a9-commerce-page .product-detail__price .product-price__sale {
  font-weight: 500;
  letter-spacing: 1.43px;
  color: var(--ry-ink);
}
.a9-commerce-page .product-detail__price .product-price:has(.product-price__origin) .product-price__sale { color: var(--ry-signal, #B75432); }
.a9-commerce-page .product-detail__price .product-price__origin {
  order: -1;
  letter-spacing: 1.1px;
  color: var(--ry-text-dim);
  opacity: 1;
}
.a9-commerce-page .product-detail__price .product-price__save--button-style {
  padding: 5px 8px 4px;
  border: 0;
  border-radius: 2px;
  background-color: var(--ry-badge-bg);
  color: var(--ry-on-signal);
  font-family: var(--ry-font-mono);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.12em;
}
.a9-commerce-page .product-detail__price .product-price__save--text-style { color: var(--ry-badge-bg); }

/* option + quantity labels: 14.3px, ink@75% */
.a9-commerce-page .variant-picker__group-label,
.a9-commerce-page .product-detail__quantity-selector .product-detail__row > .title-font-bold {
  font-family: var(--ry-font-sans);
  font-weight: 500 !important;
  letter-spacing: 0.44px;
  text-transform: none;
  color: var(--ry-text);
}
.a9-commerce-page .variant-picker__group { margin-block-end: 0; }
/* dropdown picker (theme-variant-select-picker): 52 high, up to 484 wide */
.a9-commerce-page .product-detail__variant-picker theme-select {
  display: block;
  width: 100%;
  max-width: 484px;
}
.a9-commerce-page .product-detail__variant-picker .variant-picker__select { min-width: 0; }
.a9-commerce-page .product-detail__variant-picker select {
  font-size: 13.2px;
  font-weight: 500;
  letter-spacing: 0.44px;
  color: var(--ry-text);
}
/* button picker (if the merchant switches the block back to "flatten"): pills */
.a9-commerce-page[data-a9-variant-layout] .variant-picker__button:not(.variant-picker__button--swatch):not(.variant-picker__button--image) {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.35);
  border-radius: 4px;
  background: transparent;
  color: var(--ry-ink);
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-small);
  font-weight: 500;
  letter-spacing: var(--ry-ls-body);
}
.a9-commerce-page[data-a9-variant-layout] .variant-picker__button:not(.variant-picker__button--swatch):not(.variant-picker__button--image):hover {
  border-color: var(--ry-ink);
  box-shadow: inset 0 0 0 1px var(--ry-ink);
}
.a9-commerce-page[data-a9-variant-layout] .variant-picker__option:has(input:checked) .variant-picker__button:not(.variant-picker__button--swatch):not(.variant-picker__button--image) {
  border-color: var(--ry-btn-bg, var(--ry-accent));
  background: var(--ry-btn-bg, var(--ry-accent));
  color: var(--ry-btn-fg, var(--ry-on-accent));
  box-shadow: none;
}
/* out of stock: native slash + ink at 35% */
.a9-commerce-page[data-a9-variant-layout] .variant-picker__option.disabled .variant-picker__button:not(.variant-picker__button--swatch):not(.variant-picker__button--image) {
  border-color: rgba(var(--ry-ink-rgb), 0.2);
  color: rgba(var(--ry-ink-rgb), 0.35);
}
.a9-commerce-page .variant-picker__button.variant-picker__button--image {
  border-color: rgba(var(--ry-ink-rgb), 0.2);
  border-radius: 0;
  background: var(--ry-bg-1);
}
.a9-commerce-page .variant-picker__option:has(input:checked) .variant-picker__button--swatch {
  outline: 1px solid var(--ry-ink);
  outline-offset: 2px;
}

/* quantity: 142 x 52 */
.a9-commerce-page .product-detail__quantity-selector .quantity-selector__input { width: 142px; }

/* buy buttons: add to cart = secondary, buy now / dynamic checkout = solid; both up to 484 wide */
.a9-commerce-page .product-detail__buy-buttons {
  gap: 11px;
  max-width: 484px;
  margin-block-start: 0;
}
.a9-commerce-page .product-detail__form,
.a9-commerce-page .product-detail__form .form__buttons { gap: 11px; }
.a9-commerce-page .product-detail__buy-buttons :is(.shopline-payment-button__button--unbranded, .shopline-payment-button__button:not([class*="branded"])) {
  min-height: var(--ry-btn-h);
  border: 0 !important;
  border-radius: var(--a9-commerce-button-radius, var(--ry-btn-radius)) !important;
  background: var(--ry-btn-bg, var(--ry-accent)) !important;
  color: var(--ry-btn-fg, var(--ry-on-accent)) !important;
  box-shadow: 0 0 0 1px var(--ry-btn-bg, var(--ry-accent));
  font-family: var(--ry-font-sans) !important;
  font-weight: 500 !important;
  font-size: var(--ry-btn-fs) !important;
  letter-spacing: var(--ry-btn-ls) !important;
  text-transform: none !important;
  transition: box-shadow 0.1s ease;
}
.a9-commerce-page .product-detail__buy-buttons :is(.shopline-payment-button__button--unbranded, .shopline-payment-button__button:not([class*="branded"])):hover {
  box-shadow: 0 0 0 2px var(--ry-btn-bg, var(--ry-accent));
}
@media (max-width: 959px) {
  .is-sticky > .product-detail__buy-buttons {
    max-width: none;
    border-block-start: 1px solid var(--ry-hairline);
    background-color: var(--ry-bg-3);
    box-shadow: 0 -1px 0 rgba(var(--ry-ink-rgb), 0.06);
  }
}

/* share row */
.a9-commerce-page .product-detail__info .social-media-share { justify-content: flex-start; gap: 8px 22px; }
.a9-commerce-page .product-detail__info .social-media-share__media {
  gap: 8px;
  font-size: var(--ry-fs-small);
  color: var(--ry-text);
}
.a9-commerce-page .product-detail__info .social-media-share__media span { font-size: var(--ry-fs-small); letter-spacing: var(--ry-ls-body); }
.a9-commerce-page .product-detail__info .social-media-share__media:hover { transform: none; color: var(--ry-ink); text-decoration: underline; text-underline-offset: 3px; }
.a9-commerce-page .product-detail__info .social-media-share__icon { width: 18px; height: 18px; }

/* description */
.a9-commerce-page .product-description {
  font-family: var(--ry-font-sans);
  font-weight: 500;
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}

/* accordions: hairline rows, 18px/500 title, chevron */
.a9-commerce-page .product-detail__additional {
  border-block-start: 1px solid var(--ry-hairline);
  border-block-end: 1px solid var(--ry-hairline);
}
.a9-commerce-page .product-detail__additional + .product-detail__additional { border-block-start: 0; }
.a9-commerce-page .product-detail__additional details { border: 0; border-radius: 0; }
.a9-commerce-page .product-detail__additional .additional__trigger { gap: 11px; padding: 17px 0; }
.a9-commerce-page .product-detail__additional .additional__title {
  font-family: var(--ry-font-serif);
  font-weight: 500 !important;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  text-transform: none;
  color: var(--ry-ink);
}
.a9-commerce-page .product-detail__additional .additional__arrow { width: 11px; color: var(--ry-ink); }
.a9-commerce-page .product-detail__additional .additional__content {
  padding: 0 7px;
  font-weight: 500;
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.a9-commerce-page .product-detail__additional .additional__content::after { height: 17px; }

/* trust rows (sell-info) */
.a9-commerce-page .product-detail__sell-info .sell-info { border-radius: 0; }
.a9-commerce-page .product-detail__sell-info .sell-info__icon { width: 24px; height: 24px; }
.a9-commerce-page .product-detail__sell-info .sell-info__text { font-size: var(--ry-fs-small); color: var(--ry-text); }

/* optional custom blocks: bundle card (_ry-bundle) + info row (_ry-info-row) */
.ry-bundle__heading {
  margin: 8px 0 14px;
  text-align: center;
  font-family: var(--ry-font-serif);
  font-weight: 500;
  font-size: var(--ry-fs-h3);
  color: var(--ry-ink);
}
.ry-bundle__card { background: var(--ry-bundle-bg, var(--ry-bg-2)); padding: 18px; }
.ry-bundle__row { display: flex; align-items: center; gap: 14px; }
.ry-bundle__thumb { width: 58px; height: 74px; object-fit: cover; flex: 0 0 auto; }
.ry-bundle__name { margin: 0 0 6px; font-weight: 500; font-size: var(--ry-fs-small); color: var(--ry-ink); }
.ry-bundle__sub { margin: 0; font-size: var(--ry-fs-caption); color: var(--ry-text); }
.ry-bundle__divider { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.ry-bundle__plus {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ry-ink); color: var(--ry-on-accent);
  font-size: 14px;
}
.ry-bundle__tag {
  padding: 5px 8px 4px;
  border-radius: 2px;
  font-family: var(--ry-font-mono);
  text-transform: uppercase;
  background: var(--ry-badge-bg); color: var(--ry-on-signal);
  font-size: var(--ry-fs-caption); letter-spacing: 1.1px; line-height: 1;
}
.ry-bundle__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.ry-bundle__prices { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ry-bundle__price { color: var(--ry-ink); font-size: var(--ry-fs-body); font-weight: 500; letter-spacing: 1.1px; }
.ry-bundle__compare { color: var(--ry-text); font-size: 14.3px; text-decoration: line-through; }
.ry-bundle__save {
  padding: 4px 10px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.2);
  border-radius: 4px;
  font-family: var(--ry-font-mono);
  font-size: var(--ry-fs-caption); color: var(--ry-text);
}
.ry-bundle__cta {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--ry-btn-radius);
  background: var(--ry-accent); color: var(--ry-on-accent);
  font-family: var(--ry-font-sans); font-weight: 500; font-size: var(--ry-fs-small); letter-spacing: var(--ry-btn-ls);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--ry-accent);
  transition: box-shadow 0.1s ease;
}
.ry-bundle__cta:hover { box-shadow: 0 0 0 2px var(--ry-accent); }
.ry-bundle__error { margin: 10px 0 0; color: var(--ry-badge-bg); font-size: var(--ry-fs-caption); }
.ry-bundle--empty {
  padding: 16px;
  border: 1px dashed rgba(var(--ry-ink-rgb), 0.2);
  color: var(--ry-text);
  font-size: var(--ry-fs-caption);
  text-align: center;
}
.ry-info-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 0;
  border-top: 1px solid var(--ry-hairline);
  color: inherit;
  text-decoration: none;
}
.ry-info-row--boxed { padding: 17px 16px; border: 0; background: var(--ry-bg-2); }
.ry-info-row__title { margin: 0; font-family: var(--ry-font-serif); font-size: var(--ry-fs-h4); font-weight: 500; color: var(--ry-ink); }
.ry-info-row__icon { margin-right: 7px; color: var(--ry-gold); }
.ry-info-row__sub { margin: 6px 0 0; font-size: var(--ry-fs-small); line-height: 1.6; color: var(--ry-text); }
.ry-info-row__side { flex: 0 0 auto; font-size: var(--ry-fs-small); color: var(--ry-text); }

/* ============================================================
   2.4 Cart: add-to-cart notification, cart page, drawer
   ============================================================ */
/* notification = small card at the top right (not a drawer) */
theme-cart-notification .cart-notification__body {
  position: fixed;
  inset: var(--ry-notify-top, 12px) var(--ry-gutter) auto auto;
  box-sizing: border-box;
  width: calc(100% - var(--ry-gutter) * 2);
  max-width: 405px;
  padding: 28px 33px 33px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.2);
  border-radius: 0;
  background-color: var(--ry-bg-3);
  box-shadow: none;
  color: var(--ry-text);
}
/* when the component is mounted inside the header it hangs under it */
:is(.ry-header, theme-sticky-header) theme-cart-notification .cart-notification__body {
  position: absolute;
  inset: 100% var(--ry-gutter) auto auto;
}
@media (max-width: 749px) {
  theme-cart-notification .cart-notification__body {
    inset: 0 0 auto 0;
    width: 100%;
    max-width: none;
    padding: 22px var(--ry-gutter) 28px;
    border-inline: 0;
  }
  :is(.ry-header, theme-sticky-header) theme-cart-notification .cart-notification__body {
    inset: 100% 0 auto 0;
  }
}
theme-cart-notification .cart-notification__tips {
  justify-content: flex-start;
  column-gap: 8px;
  padding-block-end: 22px;
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-small);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--ry-ls-body);
  text-transform: none;
  color: var(--ry-ink);
}
theme-cart-notification .cart-notification__hide {
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ry-ink);
}
theme-cart-notification .cart-item { padding-block-end: 0; }
theme-cart-notification .cart-item__product { column-gap: 16px; }
theme-cart-notification .cart-item__picture { width: 77px; }
theme-cart-notification .cart-item__title,
theme-cart-notification .cart-item__title a {
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h4);
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
theme-cart-notification .cart-item__option,
theme-cart-notification .cart-item__total { font-size: var(--ry-fs-small); color: var(--ry-text); }
theme-cart-notification .cart-item__option .font-bold { font-weight: 500; }
theme-cart-notification .cart-notification__subtotal { margin-block: 22px 16px; text-align: start; }
theme-cart-notification .cart-notification__subtotal i { font-size: var(--ry-fs-small); color: var(--ry-text); }
theme-cart-notification .cart-notification__subtotal span { font-size: var(--ry-fs-body); font-weight: 500; letter-spacing: 1.1px; color: var(--ry-ink); }
theme-cart-notification .cart-notification__buttons { flex-direction: column; row-gap: 11px; }
theme-cart-notification .cart-notification__loading { background-color: var(--ry-bg-3); }

/* cart page: H1 48, 11px uppercase table head, hairline rows, 21.6px total */
.a9-commerce-page .main-cart__container { background: var(--a9-commerce-page-bg, var(--ry-bg-1)); }
.a9-commerce-page .a9-cart-intro { margin-bottom: 0; }
.a9-commerce-page .a9-cart-intro__title { margin: 28px 0; }
.a9-commerce-page .a9-cart-intro__text { margin: -16px 0 28px; font-size: var(--ry-fs-body); line-height: var(--ry-lh-body); color: var(--ry-text); }
/* the page already has its H1; the header block keeps only "Continue shopping" */
.a9-commerce-page .main-cart-header > h2 { display: none; }
.a9-commerce-page .main-cart-header { justify-content: flex-end; }
@media (min-width: 750px) {
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  /* row 1 is reserved (promo bar, or this empty spacer) so auto-placed blocks
     start below the title row */
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width::before {
    content: "";
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width > * { grid-column: 1 / -1; }
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width > .a9-cart-promo { grid-row: 1; }
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width > .a9-cart-intro { grid-column: 1; grid-row: 2; }
  .a9-commerce-page .main-cart__container.cart-layout-stacked > .page-width > .main-cart-header {
    grid-column: 2;
    grid-row: 2;
    padding-block: 0;
  }
}
.a9-commerce-page .a9-cart-promo { border-radius: 0; font-size: var(--ry-fs-small); letter-spacing: var(--ry-ls-body); }
.a9-commerce-page .main-cart-items__container {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.a9-commerce-page .main-cart-items__header {
  padding-block-end: 16px;
  border-bottom: 1px solid var(--ry-hairline);
  font-size: var(--ry-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 1.43px;
  text-transform: uppercase;
  color: var(--ry-text);
}
.a9-commerce-page .main-cart-items__list .cart-item {
  padding-block: 36px;
  border-block-end: 1px solid var(--ry-hairline);
}
@media (max-width: 959px) {
  .a9-commerce-page .main-cart-items__list .cart-item { padding-block: 22px; }
  .a9-commerce-page .main-cart-items__list .cart-item:first-child { border-block-start: 1px solid var(--ry-hairline); }
}
.a9-commerce-page .cart-item__picture { width: 110px; }
@media (max-width: 959px) {
  .a9-commerce-page .cart-item__picture { width: 80px; }
}
.a9-commerce-page .cart-item__title,
.a9-commerce-page .cart-item__title a {
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h4);
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.a9-commerce-page .cart-item__title a:hover,
.a9-commerce-page .cart-item__title a:focus-visible { color: var(--ry-ink); }
.a9-commerce-page .cart-item__option,
.a9-commerce-page .cart-item__property { font-size: var(--ry-fs-small); color: var(--ry-text); }
.a9-commerce-page .cart-item__option .font-bold,
.a9-commerce-page .cart-item__property .font-bold { font-weight: 500; }
.a9-commerce-page .cart-item__total { font-size: var(--ry-fs-body); letter-spacing: 1.1px; color: var(--ry-ink); }
.a9-commerce-page .cart-item__total-final { font-weight: 500; color: var(--ry-ink); }
.a9-commerce-page .cart-item__total-original { color: var(--ry-text-dim); }
.a9-commerce-page .cart-item__discount { color: var(--ry-badge-bg); }
.a9-commerce-page .cart-item__discount > li svg { color: var(--ry-badge-bg); }
.a9-commerce-page .cart-item__remove { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ry-ink); }
.a9-commerce-page .cart-item__amount theme-input-number { width: 142px; }
.a9-commerce-page .main-cart-footer__payment-info {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--ry-hairline);
  border-radius: 0;
  background: var(--ry-bg-3);
}
.a9-commerce-page .cart-amount > li em { font-size: var(--ry-fs-body); letter-spacing: var(--ry-ls-body); color: var(--ry-text); }
.a9-commerce-page .cart-amount > li span { font-size: var(--ry-fs-body); font-weight: 500; letter-spacing: 1.1px; color: var(--ry-ink); }
.a9-commerce-page .cart-amount > li.cart-amount__total em { font-weight: 500; color: var(--ry-ink); }
.a9-commerce-page .cart-amount > li.cart-amount__total span { font-size: var(--ry-fs-h3); }
.a9-commerce-page .cart-amount .cart-amount__discount span { color: var(--ry-badge-bg); }
.a9-commerce-page .cart-taxes { font-size: var(--ry-fs-caption); letter-spacing: 0.77px; color: var(--ry-text); }
.a9-commerce-page .cart-coupon__list-item { border-radius: 4px; background-color: rgba(var(--ry-ink-rgb), 0.08); }
.a9-commerce-page .cart-coupon__list-warning { color: var(--ry-badge-bg); }
.a9-commerce-page .a9-cart-trust { border-top: 1px solid var(--ry-hairline); font-size: var(--ry-fs-small); color: var(--ry-text); }
.a9-commerce-page .a9-cart-trust span::before { background: var(--ry-accent); }
.a9-commerce-page .a9-cart-collapse-btn { border-radius: 0; font-size: var(--ry-fs-small); }
/* phone: fixed checkout bar */
.a9-commerce-page .cart-fixed-checkout__container {
  border-top: 1px solid var(--ry-hairline);
  background: var(--ry-bg-3);
  box-shadow: 0 -1px 0 rgba(var(--ry-ink-rgb), 0.06);
}
.a9-commerce-page .cart-fixed-checkout__main-info { border-block-start: 1px solid var(--ry-hairline); }
.a9-commerce-page .cart-fixed-checkout__total-saved { color: var(--ry-badge-bg); }

/* drawer (if the merchant switches "add to cart" back to drawer) */
theme-cart-drawer .cart-drawer__body {
  --color-background: var(--a9-paper-rgb);
  background-color: var(--ry-bg-1);
  color: var(--ry-text);
}
theme-cart-drawer .cart-drawer__header h2 {
  max-width: none;
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h2);
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
theme-cart-drawer .cart-drawer__close { color: var(--ry-ink); }
theme-cart-drawer .cart-item { border-color: var(--ry-hairline); }
theme-cart-drawer .cart-item__title,
theme-cart-drawer .cart-item__title a {
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h4);
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  color: var(--ry-ink);
}
theme-cart-drawer .cart-item__option { font-size: var(--ry-fs-small); color: var(--ry-text); }
theme-cart-drawer .cart-item__option .font-bold { font-weight: 500; }
theme-cart-drawer .cart-item__total { font-size: var(--ry-fs-body); letter-spacing: 1.1px; color: var(--ry-ink); }
theme-cart-drawer .cart-item__total-final { font-weight: 500; }
theme-cart-drawer .cart-drawer__payment,
theme-cart-drawer .cart-drawer__fixed-checkout {
  border-top: 1px solid var(--ry-hairline);
  background: var(--ry-bg-1);
}
theme-cart-drawer .cart-amount > li em { color: var(--ry-text); }
theme-cart-drawer .cart-amount > li span { font-weight: 500; color: var(--ry-ink); }
theme-cart-drawer .cart-fixed-checkout__main-info { border-block-start: 1px solid var(--ry-hairline); }
theme-cart-drawer .cart-empty__tips { font-size: var(--ry-fs-h3); color: var(--ry-ink); }

/* ============================================================
   2.5 Search / 404 / page / blog / article / all collections / forms
   ============================================================ */
.main-search .main-search__header { gap: 22px; padding: 36px 0 28px; }
.main-search .main-search__title { text-align: center; }
.main-search .main-search-box__form {
  box-sizing: border-box;
  max-width: 770px;
  min-height: var(--ry-btn-h);
  padding: 0 16px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.55);
  border-radius: 2px;
  background-color: transparent;
}
.main-search .main-search-box__form:focus-within { border-color: var(--ry-ink); box-shadow: 0 0 0 1px var(--ry-ink); }
.main-search .main-search-box .field__input { font-size: var(--ry-fs-body); color: var(--ry-ink); }
.main-search .main-search-box__icon { color: var(--ry-ink); }
.main-search .main-search-box__result {
  box-sizing: border-box;
  max-width: 770px;
  border: 1px solid rgba(var(--ry-ink-rgb), 0.1);
  border-radius: 0;
  background-color: var(--ry-bg-3);
}
.main-search .main-search__count { margin-block-end: 28px; }
.main-search .main-search__count > h4 {
  font-style: normal;
  font-weight: 500 !important;
  font-size: var(--ry-fs-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.main-search .main-search__count > p { font-size: var(--ry-fs-body); color: var(--ry-text); }
.main-search .main-search__body { padding-block: 0 60px; }
.main-search .main-search__page-card { border: 1px solid var(--ry-hairline); background-color: var(--ry-bg-2); }
.main-search .main-search__page-card-title-wrapper { background-color: var(--ry-bg-1); }

.section-main-not-found { padding: 100px 0; }
.section-main-not-found .section-main-not-found__title { margin: 0 auto 16px; }
.section-main-not-found .section-main-not-found__subtext {
  margin-block: 0 33px;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  color: var(--ry-text);
}
@media (max-width: 959px) {
  .section-main-not-found { padding: 60px 0; }
}

.main-page .main-page__title { margin-block-end: 28px; }
.main-page .main-page__content,
.main-article .main-article__content {
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: var(--ry-fs-body);
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.main-blog .main-blog__title { margin: 0; font-weight: 500 !important; }
.block-collection-card .block-collection-card__title {
  font-family: var(--ry-font-serif);
  font-weight: 500 !important;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
@media (hover: hover) {
  .block-collection-card .block-collection-card__image-wrapper img { transition: transform 0.5s ease; }
  .block-collection-card:hover .block-collection-card__image-wrapper img { transform: scale(1.03); }
}
.main-article .main-article__title { padding-block-end: 11px; }
.main-article .main-article__info {
  border-block-end: 1px solid var(--ry-hairline);
  font-size: var(--ry-fs-caption);
  letter-spacing: 0.77px;
  text-transform: uppercase;
  color: var(--ry-text);
}
.main-article .main-article__cover-image { border-radius: 0; }
.main-article .main-article__link { font-size: var(--ry-fs-small); color: var(--ry-accent); }
.main-article .main-article__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.main-article .main-article__comment-item { border: 1px solid var(--ry-hairline); border-radius: 0; }
.main-article .main-article__comment-dot { background-color: var(--ry-text); }
.block-article-card__extra-info { font-size: var(--ry-fs-caption); letter-spacing: 0.77px; text-transform: uppercase; color: var(--ry-text); }
/* reading width for pages and articles (same narrow column as the FAQ: ~800) */
.main-page,
.main-article-container .main-article > div {
  max-width: 800px;
  margin-inline: auto;
}
.main-page .main-page__title { text-align: left; }
/* blog / article cards */
.block-article-card .block-article-card__image-wrapper { border-radius: 0; background-color: var(--ry-bg-2); }
.block-article-card .block-article-card__image-wrapper img { transition: transform 0.5s ease; }
.block-article-card .block-article-card__title {
  max-width: none;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 500;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.block-article-card .block-article-card__excerpt {
  max-width: none;
  margin: 0;
  font-family: var(--ry-font-sans);
  font-weight: 500;
  line-height: var(--ry-lh-body);
  letter-spacing: var(--ry-ls-body);
  color: var(--ry-text);
}
.block-article-card .block-article-card__extra-info { color: var(--ry-text); }
@media (hover: hover) {
  .block-article-card:hover .block-article-card__image-wrapper img { transform: scale(1.03); }
  .block-article-card:hover .block-article-card__title { text-decoration: underline; text-underline-offset: 3px; }
}
.block-collection-card .block-collection-card__image-wrapper { background-color: var(--ry-bg-2); }
.block-collection-card .block-collection-card__image-wrapper svg { fill: rgba(var(--ry-ink-rgb), 0.35); }
/* "all collections": the heading block sits outside .page-width; line it up with the grid */
.section-main-collections-all > .block-heading {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--ry-page-width);
  margin-inline: auto;
  padding-inline: var(--ry-gutter);
}
.section-main-collections-all { gap: 28px; padding-block: 36px 60px; }
.contact-form .contact-form__title {
  max-width: none;
  font-family: var(--ry-font-serif);
  font-style: normal;
  font-weight: 500 !important;
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}

/* ============================================================
   2.6 Customer pages: paper background, hairline frames, boxed fields
   ============================================================ */
.a9-commerce-page.customer-container { background: var(--a9-commerce-page-bg, var(--ry-bg-1)); }
/* frame width / color / radius come from the section's card settings
   (templates: 1px hairline, square); here only the old drop shadow goes */
.a9-commerce-page :is(
    .customer-login__form,
    .customer-register__form,
    .customer-forgot-password__form,
    .customer-activate-account__form
  ) {
  box-shadow: none;
}
.a9-commerce-page .customer__title { margin: 0 0 22px; text-align: center; }
.a9-commerce-page .customer__title::after { display: none; }
.a9-commerce-page.customer-container :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
  border-radius: 2px;
  font-family: var(--ry-font-sans);
  font-size: var(--ry-fs-body);
  letter-spacing: var(--ry-ls-body);
}
.a9-commerce-page.customer-container :is(label, .field__label) {
  font-size: inherit;
  font-weight: 500;
  letter-spacing: var(--ry-ls-body);
  text-transform: none;
  color: var(--ry-text);
}
.a9-commerce-page .customer__tab { gap: 40px; }
.a9-commerce-page .customer__tab :is(span, a) {
  font-size: var(--ry-fs-small);
  letter-spacing: var(--ry-ls-body);
  text-transform: none;
}
.a9-commerce-page .customer__tab span.active { text-underline-offset: 3px; }
.a9-commerce-page .customer__submit { text-transform: none; }
.a9-commerce-page .customer-login__third-desc span { font-size: var(--ry-fs-caption); letter-spacing: 0.77px; text-transform: none; }
.a9-commerce-page .customer-login__third-container a { border-radius: 0; background: transparent; }
.a9-commerce-page .customer-login__third-container a:hover { border-color: var(--ry-ink); transform: none; }

/* account centre */
.a9-commerce-page .customer-navbar { border-bottom: 1px solid var(--ry-hairline); }
.a9-commerce-page .customer-navbar__menu-item {
  padding-bottom: 12px;
  font-family: var(--ry-font-sans) !important;
  font-size: var(--ry-fs-small) !important;
  font-weight: 500 !important;
  letter-spacing: var(--ry-ls-body);
  text-transform: none;
  color: var(--ry-text);
  opacity: 1;
}
.a9-commerce-page .customer-navbar__menu-item:is(.active, [aria-current], .is-active) {
  border-block-end: 0;
  color: var(--ry-ink);
  box-shadow: inset 0 -1px 0 var(--ry-ink);
}
.a9-commerce-page .a9-account-hero { border: 0; border-radius: 0; }
.a9-commerce-page .a9-account-hero__greeting {
  font-family: var(--ry-font-serif) !important;
  font-style: normal;
  font-weight: 500 !important;
  font-size: var(--ry-fs-h2);
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
}
.a9-commerce-page .a9-account-hero__sub { font-size: var(--ry-fs-body); opacity: 1; }
.a9-commerce-page .a9-account-hero__badge {
  padding: 5px 8px 4px;
  border-radius: 2px;
  color: var(--ry-on-signal);
  font-family: var(--ry-font-sans) !important;
  font-weight: 500 !important;
  font-size: var(--ry-fs-eyebrow) !important;
  line-height: 1;
  letter-spacing: 1.43px !important;
  text-transform: uppercase;
}
.a9-commerce-page .a9-account-hero__avatar { color: var(--ry-on-accent); }
.a9-commerce-page .a9-account-hero__avatar span { font-family: var(--ry-font-serif); font-weight: 500; }
.a9-commerce-page .a9-member-level { border: 1px solid var(--ry-hairline); border-radius: 0; }
.a9-commerce-page .a9-member-level__label { font-size: var(--ry-fs-eyebrow); letter-spacing: 1.43px; }
.a9-commerce-page .a9-member-level__track { background: rgba(var(--ry-ink-rgb), 0.08); }
.a9-commerce-page .a9-member-level__bar { background: var(--ry-accent) !important; }
.a9-commerce-page .customer-account .card__title,
.a9-commerce-page .customer-account .card__title-text {
  font-family: var(--ry-font-serif) !important;
  font-weight: 500 !important;
  font-size: var(--ry-fs-h3);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}
.a9-commerce-page .customer-account .card__detail,
.a9-commerce-page .customer-account .card__item-label { font-weight: 500; color: var(--ry-text); }
.a9-commerce-page .customer-account .button--link { color: var(--ry-accent); }
.a9-commerce-page.customers-addresses-section .customers-addresses__title { font-size: var(--ry-fs-h1); }
.a9-commerce-page.customers-addresses-section .customers-addresses__form { box-shadow: none; }
.a9-commerce-page .order-detail__panel .panel__title {
  font-family: var(--ry-font-serif);
  font-size: var(--ry-fs-h4);
  font-weight: 500;
  color: var(--ry-ink);
}
.a9-commerce-page .order-detail__product-table thead th {
  font-size: var(--ry-fs-eyebrow);
  font-weight: 500;
  letter-spacing: 1.43px;
  text-transform: uppercase;
  color: var(--ry-text);
}

/* ---------- phone details ---------- */
@media (max-width: 760px) {
  .a9-commerce-page .product-detail__additional .additional__trigger { padding: 17px 0; }
  .a9-commerce-page .product-detail__sell-info { border-top: 1px solid var(--ry-hairline); }
  .a9-commerce-page .product-detail__buy-buttons { max-width: none; }
  .a9-commerce-page .product-detail__variant-picker theme-select { max-width: none; }
}

/* ============================================================
   2.7 Real-device corrections (measured against the reference
   after the first upload).
   ============================================================ */

/* empty cart: the reference shows one centered 48px line + a button, no page header row.
   The "Cart" h1 stays in the DOM for assistive tech, just visually hidden. */
.main-cart__container:has(.cart-empty) .a9-cart-intro {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.main-cart__container:has(.cart-empty) .main-cart-header { display: none; }
.main-cart__container .cart-empty__body { padding: 77px 0 44px; }
.main-cart__container .cart-empty__tips {
  margin: 0 0 33px;
  font-family: var(--ry-font-serif);
  font-weight: 500;
  font-size: var(--ry-fs-h1);
  line-height: var(--ry-lh-heading);
  letter-spacing: var(--ry-ls-heading);
  color: var(--ry-ink);
}

/* search results: the reference title is an h2-sized line above an 815px box */
.main-search .main-search__title {
  margin: 19px 0;
  font-size: var(--ry-fs-h2);
}
.main-search .main-search__header { gap: 14px; }
.main-search .main-search-box__form { max-width: 815px; }

/* password show/hide toggle: 24px minimum touch target on phones */
.input-password__button {
  min-width: 28px;
  min-height: 28px;
}

/* headings inside product description / accordions keep the heading letter-spacing
   (commerce-pages.css zeroes it with a higher-ranked rule) */
.a9-commerce-page .rte :is(h1, h2, h3, h4) { letter-spacing: var(--ry-ls-heading); }

/* ============================================================
   PART 3 — personalization & cart properties
   Line-item properties written by blocks/product/_ry-personalize.html
   (text "Custom Nail Size", picture "Reference Images", or a link),
   as shown on the cart page, cart drawer, add-to-cart notification
   and the customer order detail. Picture thumbnails are <button>s;
   public/ry-personalize.js opens them in the .ry-zoom overlay.
   Append-only: nothing above this marker is changed.
   ============================================================ */

/* text values keep the customer's line breaks (L: … / R: …) */
.cart-item__property .cart-item__property-text,
.order-detail__content .product-property .product-property__text {
  white-space: pre-line;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.cart-item__properties .cart-item__property { align-items: flex-start; }

/* picture values: 56px square thumbnails on their own wrapping row */
.cart-item__property > .cart-item__property-images,
.order-detail__content .product-property > .product-property__value {
  flex-basis: 100%;
  gap: 6px;
  margin-block-start: 4px;
}
.ry-prop-thumb {
  display: block;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--ry-hairline);
  border-radius: 4px;
  overflow: hidden;
  background: var(--ry-bg-2);
  cursor: zoom-in;
}
.ry-prop-thumb:focus-visible { outline: 1px solid var(--ry-ink); outline-offset: 2px; }
.ry-prop-thumb .cart-item__property-image,
.order-detail__content .product-property .ry-prop-thumb .product-property__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

/* add-to-cart notification: text + "📎 × n" only */
theme-cart-notification .cart-item__property { font-size: var(--ry-fs-caption); color: var(--ry-text); margin-block-start: 4px; }
theme-cart-notification .cart-item__property .font-bold { font-weight: 500; }
theme-cart-notification .cart-item__property-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.ry-prop-count { white-space: nowrap; }

/* cart drawer keeps the same small type as the cart page */
theme-cart-drawer .cart-item__property { font-size: var(--ry-fs-caption); color: var(--ry-text); }
theme-cart-drawer .cart-item__property .font-bold { font-weight: 500; }

/* zoom overlay */
.ry-zoom {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
  background: rgba(var(--ry-ink-rgb), 0.82);
  cursor: zoom-out;
}
.ry-zoom[hidden] { display: none; }
.ry-zoom__img {
  display: block;
  max-width: min(100%, 1000px);
  max-height: 100%;
  object-fit: contain;
  background: var(--ry-bg-1);
  cursor: default;
}
.ry-zoom__close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ry-bg-1);
  color: var(--ry-ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
html.ry-zoom-open { overflow: hidden; }

/* ---------- phone sticky add-to-cart bar (public/ry-sticky-atc.js) ---------- */
.ry-satc {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ry-bg-3);
  border-top: 1px solid var(--ry-hairline);
  box-shadow: 0 -1px 0 rgba(var(--ry-ink-rgb), 0.06);
  transform: translateY(110%);
  transition: transform 0.45s var(--ry-ease);
}
.ry-satc.is-on { transform: none; }
.ry-satc__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ry-satc__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--ry-font-sans);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.3;
  color: var(--ry-ink);
}
.ry-satc__price {
  font-family: var(--ry-font-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--ry-text);
}
.ry-satc__btn {
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--ry-radius-ui);
  background: var(--ry-accent);
  color: var(--ry-on-accent);
  font-family: var(--ry-font-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ry-satc__btn.is-off { opacity: 0.5; }
body.ry-satc-open .cart-fixed-checkout { display: none; }
@media (min-width: 960px) { .ry-satc { display: none; } }
@media (prefers-reduced-motion: reduce) { .ry-satc { transition: none; } }
