/* gem-product-page-edits.css: hand-written additions to the generated
   gem-product-page.css (V216). Loads right after it on product pages. */

/* V216's cool off-white ground from 72px above the FAQ down to the footer.
   The review copy drew it as a measured layer behind the page; here the
   wrapper paints it from 72px above the FAQ card (whose top margin is
   88px + --r6-more), and the footer's shadow fills its top margin
   (96px + --r6-more) with the same color. */
html.gem-pdp6 .gem-ground { background: linear-gradient(transparent calc(16px + var(--r6-more, 32px)), #FAFBFC 0); }
html.gem-pdp6 .gem-ground > .r4-rv-shell:first-child { background: #FAFBFC; }
html.gem-pdp6 footer.foot { box-shadow: 0 calc(-96px - var(--r6-more, 32px)) 0 #FAFBFC; }

/* Blocksy's own price line rides the CTA hook; the card already shows it.
   (The old inline rule only caught it as a direct child of .rail.) */
.rail .k-cta > p.price { display: none !important; }

/* V216 kept the vault's (empty) guarantee row as a hairline above the
   reassurance dropdowns; the trust pills it held are filtered out now
   (inc/gem-pdp.php), so the line is drawn here. */
html.gem-pdp6 .rail .gav-match-actions ~ .r6-drops { margin-top: 16px; border-top: .5px solid #e2e2ec; }

/* V216's product rail sat after the page's main container, below its 60px
   bottom padding; here it is the last block inside it. */
html.gem-pdp6 .ct-container-full[data-vertical-spacing] { padding-bottom: 0; }
html.gem-pdp6 .r5-suggest-shell { padding-top: var(--theme-content-vertical-spacing, 60px); }

/* Products still on their A+ partials: V216 recolors the page's base text,
   which their sections inherit; give them back the color they were built on. */
html.gem-pdp6 .gem-aplus-legacy { color: var(--navy); }

/* Feature points sit near the details they describe. */
.gem-feature-pins { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.gem-feature-pins .v166-pin {
  position: absolute; display: grid; place-items: center;
  width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; pointer-events: auto;
}
.gem-feature-pins .v166-pin::before { content: ""; position: absolute; inset: -8px; }
.gem-feature-pins .v166-pin span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: #450910; color: #fff; font: 800 .8rem/1 "Quasimoda", sans-serif;
  box-shadow: 0 0 0 3px #fff;
}
.gem-feature-pins .v166-pin:hover span { background: #8A0F1A; }
.gem-feature-pins .v166-pin.is-on { z-index: 1; }
.gem-feature-pins .v166-pin.is-on span {
  transform: scale(1.22); background: #8A0F1A;
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(138, 15, 26, .18);
}
.gem-feature-pins .v166-pin:focus-visible { outline: 2px solid #8A0F1A; outline-offset: 6px; }
.v166-an-tag[data-flip].is-back .v166-pin:not(.is-on) { visibility: hidden; }

.gem-feature-pins .v166-pin[data-pos] {
  left: var(--pin-l, auto); right: var(--pin-r, auto);
  top: var(--pin-t, auto); bottom: var(--pin-b, auto);
}
/* Full Color Name Tags uses the original photo, width ruler and marker positions. */
.gem-feature-pins .v166-p1:not([data-pos]) { left: 15%; top: 18px; }
.gem-feature-pins .v166-p2:not([data-pos]) { right: 0; top: 34%; }
.gem-feature-pins .v166-p3:not([data-pos]) { left: 62%; top: 18px; }
.gem-feature-pins .v166-p4:not([data-pos]) { left: 36%; bottom: 18px; }
.gem-feature-pins .v166-p5:not([data-pos]) { right: calc(8% + 38px); bottom: 0; }
@media (max-width: 760px) {
  .gem-feature-pins .v166-pin[data-pos] {
    left: var(--pin-l-m, var(--pin-l, auto)); right: var(--pin-r-m, var(--pin-r, auto));
    top: var(--pin-t-m, var(--pin-t, auto)); bottom: var(--pin-b-m, var(--pin-b, auto));
  }
}
@media (max-width: 600px) {
  .gem-feature-pins .v166-p2:not([data-pos]) { top: 10px; right: -4px; }
  .gem-feature-pins .v166-p4:not([data-pos]) { left: 28%; }
}
html.gem-pdp6 .r6-an .r6-back[style*="--gem-back"] { background-image: var(--gem-back) !important; }

/* Studio photos blend into the frame like catalog cards. A drop shadow on
   the opaque photo would outline its entire rectangular background. */
html.gem-pdp6 .r3-g3 .g3-t > img { filter: none; }
html.gem-pdp6 .r3-g3 .g3-hero.g3-resin.g3-cutout img { mix-blend-mode: normal; height: 80% !important; }

/* ---- V216 layout on other products (inc/gem-pdp-products.php) ---- */

/* swatch dots for the other materials */
.r3-sw-dots .r3-black { background: #01010c; }
.r3-sw-window { flex: 0 0 55px; overflow: hidden; }
.r3-sw-track { display: flex; flex: none; gap: 5px; }
.r3-sw-track i { flex: none; background: linear-gradient(135deg, var(--r3-swatch-base) 50%, var(--r3-swatch-engraving) 50%); }
.r3-sw-dots .r3-rose-gold { background: linear-gradient(135deg, #efbea2, #c78767 55%, #e3a989); }
.r3-sw-dots .r3-antique-gold { background: #aa8648; }
.r3-sw-dots .r3-antique-bronze { background: #94633d; }
.r3-sw-dots .r3-pewter { background: #707e87; }
.r3-sw-dots .r3-clear { background: linear-gradient(135deg, #fff, #dce8ed 58%, #f6fbff); }
.r3-sw-dots .r3-blue { background: #1b47a2; }
.r3-sw-dots .r3-jade { background: #94b8ae; }
.r3-sw-dots .r3-red { background: #853e36; }
.r3-sw-dots .r3-art-red { background: #bd302c; }
.r3-sw-dots .r3-orange { background: #dd752e; }
.r3-sw-dots .r3-green { background: #418257; }
.r3-sw-dots .r3-pink { background: #d489ac; }
.r3-sw-dots .r3-purple { background: #50368a; }
.r3-sw-dots .r3-rainbow { background: linear-gradient(135deg, #bd302c, #dd752e 24%, #e3bb3c 40%, #418257 55%, #1b47a2 73%, #50368a); }
.r3-sw-dots .r3-b { background: linear-gradient(135deg, #E3B48C, #A76A3A 55%, #D49A6B); }
.r3-sw-dots .r3-brass { background: linear-gradient(135deg, #F6E3A1, #C9A23E 55%, #EBD27E); }
.r3-sw-dots .r3-wal { background: linear-gradient(135deg, #8A5A3B, #4E2E1B 60%, #6E452B); }

/* Moments with product photos ("product tiles", Treyson 10-29): a studio
   cutout sits whole on a light ground above the caption fade instead of
   being cropped like a lifestyle photo. */
html.gem-pdp6 .r5-v85 ul.r5-mtrack > .r3-m-tile.is-cut figure { background: radial-gradient(120% 90% at 50% 35%, #FFFFFF 0%, #EEEEF2 70%, #E2E2E8 100%); }
html.gem-pdp6 .r5-v85 ul.r5-mtrack .r3-m-tile.is-cut .r3-m-ph img { object-fit: contain; padding: 8% 10% 36%; box-sizing: border-box; }
html.gem-pdp6 .r5-v85 ul.r5-mtrack .r3-m-tile.is-cut:hover .r3-m-ph img { transform: scale(1.04); }
/* fewer than four tiles fill the row instead of leaving gaps */
@media (min-width: 761px) {
  html.gem-pdp6 .r5-mend ul.r5-mtrack[data-count="3"] > .r3-m-tile { flex-basis: calc((100% - 40px) / 3); }
  html.gem-pdp6 .r5-mend ul.r5-mtrack[data-count="2"] > .r3-m-tile { flex-basis: calc((100% - 20px) / 2); }
}

/* Anatomy framing around a whole product photo. */
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] { width: 100%; max-width: var(--an-w, 360px); margin: 0 auto; padding: 0; align-self: center; }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] .v166-jw { aspect-ratio: var(--an-ratio, 1); overflow: visible; border-radius: 0; box-shadow: none; }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] .v166-jw img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: contain; left: 0; top: 0; filter: drop-shadow(0 18px 20px rgba(1, 1, 12, .18)); }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape="photo"] .v166-jw { overflow: hidden; border-radius: 14px; box-shadow: 0 22px 34px -18px rgba(1, 1, 12, .35); }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape="photo"] .v166-jw img { object-fit: cover; filter: none; }
/* Trace the real product in its catalog photo. Shadow the visible silhouette. */
html.gem-pdp6 .r6-an .gem-an-clip { position: absolute; pointer-events: none; }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape]:has(.gem-an-cutout) {
  max-width: min(var(--an-w, 360px), calc(clamp(360px, 64vh, 520px) * var(--an-ratio, 1)));
}
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] .gem-an-cutout {
  overflow: hidden;
  filter: drop-shadow(0 12px 13px rgba(1, 1, 12, .16));
}
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] .gem-an-cutout img {
  inset: var(--an-photo-y, 0%) auto auto var(--an-photo-x, 0%);
  width: var(--an-photo-w, 100%);
  height: var(--an-photo-h, 100%);
  object-fit: fill;
  filter: none;
}
/* Give the top of a photographed ribbon more room. The lower layer keeps
   the medal and connector at their original proportions. */
html.gem-pdp6 .r6-an .v166-an-tag[data-ribbon][data-shape]:has(.gem-an-cutout) {
  max-width: min(var(--an-w), calc(clamp(420px, 78vh, 620px) * var(--an-ratio)));
  margin-top: 32px;
}
html.gem-pdp6 .r6-an .v166-an-tag[data-ribbon-fit][data-shape]:has(.gem-an-cutout) { margin-top: 60px; }
/* Centers a medal whose photo sits off to one side under the titles; pins move with it. */
html.gem-pdp6 .r6-an .v166-an-tag[style*="--an-shift"] { transform: translateX(var(--an-shift)); }
html.gem-pdp6 .r6-an .v166-an-tag[data-ribbon][data-shape] .gem-an-cutout {
  --an-ribbon-split: 15%;
  overflow: visible;
}
.gem-an-medal-face, .gem-an-medal-ribbon { position: absolute; inset: 0; }
.gem-an-medal-face {
  clip-path: inset(var(--an-ribbon-split) 0 0);
}
.gem-an-medal-ribbon {
  clip-path: inset(0 0 calc(99.9% - var(--an-ribbon-split)));
  transform: var(--an-ribbon-transform, scaleY(1.42));
  transform-origin: var(--an-ribbon-x, center) var(--an-ribbon-split);
}
html.gem-pdp6 .r6-an .v166-an-tag[data-shape] .r6-back[style*="--gem-back"] { border-radius: 0 !important; background-color: transparent !important; background-size: var(--gem-back-size, contain) !important; background-repeat: no-repeat !important; background-position: var(--gem-back-pos, center) !important; }

/* a review with no name shown keeps an empty avatar */
html.gem-pdp6 .rv-card .rv-av:empty::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .35; }
html.gem-pdp6 .r6-an .v166-an-tag[data-shape="cutout"] .r6-back { box-shadow: none !important; filter: drop-shadow(0 18px 20px rgba(1, 1, 12, .18)); }

/* ---- V216 edits of 2026-10-30 (name tag page) ---- */

/* The swatch line stays on one line on phones only where the profile says it
   fits (swatch 'one_line', class r6-sw-one: the name tag's text, V216's
   scaling). Longer swatch lines on other products keep the 10-29 two-line
   phone layout. */
@media (min-width: 350px) and (max-width: 760px) {
  html.gem-pdp6.gem-pdp6 .rail .r3-sw:not(.r6-sw-one) { flex-wrap: wrap; row-gap: 4px; white-space: normal; font-size: .9rem; }
  html.gem-pdp6.gem-pdp6 .rail .r3-sw:not(.r6-sw-one) > span:last-child { display: contents; }
  html.gem-pdp6.gem-pdp6 .rail .r3-sw:not(.r6-sw-one) .r6-sw-sep { display: none; }
  html.gem-pdp6.gem-pdp6 .rail .r3-sw:not(.r6-sw-one) .r6-sw2 { flex: 0 0 100%; }
  html.gem-pdp6.gem-pdp6 .rail .r3-sw:not(.r6-sw-one) .r6-sw2::first-letter { text-transform: uppercase; }
}

/* Product features options (anatomy pins[].opts). V216's rules for states
   that appear only after a click (the generator keeps what renders at load). */
html.gem-pdp6 .r6-an .v166-c .r6-opts { display: none; flex-wrap: wrap; gap: 6px; margin-top: 10px; grid-column: 2; }
html.gem-pdp6 .r6-an .v166-c.is-on .r6-opts { display: flex; }
@media (min-width: 761px) { html.gem-pdp6 .r6-an :is(.v166-c1, .v166-c2) .r6-opts { justify-content: flex-end; grid-column: 1; } }
html.gem-pdp6 .r6-an .r6-opts button { padding: 5px 12px; border-radius: 999px; border: 1px solid #EBEBED; background: #fff; color: #01010C; font: 600 .8rem/1.2 "Quasimoda", system-ui, sans-serif; cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s; }
html.gem-pdp6 .r6-an .r6-opts button:hover { border-color: #D39700; }
html.gem-pdp6 .r6-an .r6-opts button[aria-pressed="true"] { background: #FBF3DF; border-color: #D39700; color: #8A6200; }
html.gem-pdp6 .r6-an .r6-opts button:focus-visible { outline: 2px solid #3762B7; outline-offset: 2px; }
/* sizes: the tag fills the preview at its exact proportions, with the
   height line on the right (the 3 in line underneath shows the width) */
html.gem-pdp6 .r6-an .v166-jw.r6-sized { box-shadow: none; overflow: visible; }
html.gem-pdp6 .r6-an .v166-jw.r6-sized img { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; object-fit: fill; }
@media (min-width: 761px) {
  html.gem-pdp6 .r6-an .v166-an-tag:has(.r6-size) { padding-left: 34px; padding-right: 34px; }
  html.gem-pdp6 .r6-an .v166-an-tag:has(.r6-size) .v166-ruler { left: 34px; right: 34px; }
}
html.gem-pdp6 .r6-an .v166-an-tag:has(.r6-size) .r6-vruler { opacity: 1; }
html.gem-pdp6 .r6-an .v166-an-tag:has(.r6-size) .v166-ruler { opacity: 1 !important; }

/* review filter: the no-card note's link */
html.gem-pdp6 #reviews .r7-none a { color: #090960; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* V216 phones (Treyson 10-30): tighter price leading */
@media (max-width: 760px) {
  html.gem-pdp6 .rail .price-line b { line-height: 1.1; }
  html.gem-pdp6 .rail .price-line span { margin-top: 2px; }
  html.gem-pdp6 .rail .mem-line { margin-top: 12px !important; }
}

/* V216 (Treyson 10-30): less room around "More from Gem Awards" and between
   the saved designs box and the FAQ. V216's own rules target its page
   wrapper (main .ct-container-full padding-bottom 32/24px, footer margin
   96/88px); here the rail sits inside the wrapper, so its shell's top
   padding stands in for that wrapper padding. The selectors repeat the root
   class to outrank the generated !important spacing rules. */
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .r5-suggest { padding-top: 40px !important; padding-bottom: 48px !important; }
html.gem-pdp6 .r5-suggest-shell { padding-top: 32px; }
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 footer.foot { margin-top: 96px !important; box-shadow: 0 -96px 0 #FAFBFC; }
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .v185-save.r5-save-red { margin-bottom: 72px !important; }
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .pflow > .faq-split { margin-top: 88px !important; }
html.gem-pdp6 .gem-ground { background: linear-gradient(transparent 16px, #FAFBFC 0); }   /* the ground still starts 72px above the FAQ card */
@media (max-width: 760px) {
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .r5-suggest { padding-top: 28px !important; padding-bottom: 36px !important; }
  html.gem-pdp6 .r5-suggest-shell { padding-top: 24px; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 footer.foot { margin-top: 88px !important; box-shadow: 0 -88px 0 #FAFBFC; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .v185-save.r5-save-red { margin-bottom: 64px !important; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .pflow > .faq-split { margin-top: 80px !important; }
  html.gem-pdp6 .gem-ground { background: linear-gradient(transparent 8px, #FAFBFC 0); }
}
/* phones and tablets swipe the rail (it scrolls with snap); no arrows */
@media (max-width: 1040px) { html.gem-pdp6 .r5-suggest .bs-nav { display: none !important; } }
/* V216 phones (Treyson 10-30, "still a bit much"): tighter gaps under the
   buy box and around More from Gem Awards (supersedes the phone values
   above). Targets at ~390px: buy box -> "Worn everywhere" ~104px; View
   more -> Keep browsing ~72px. V216's wrapper padding-bottom 0 is the rail
   shell's top padding here. */
@media (max-width: 760px) {
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .pdp { padding-bottom: 24px !important; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .shell:has(> .pdp) { padding-bottom: 16px !important; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .r3-moments.r5-mend { margin-top: 16px !important; padding-top: 48px !important; }
  html.gem-pdp6 .r5-suggest-shell { padding-top: 0; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .r5-suggest { margin-top: 0 !important; padding-top: 24px !important; padding-bottom: 24px !important; }
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 footer.foot { margin-top: 48px !important; box-shadow: 0 -48px 0 #FAFBFC; }
}
/* The generated file now carries V216's wrapper padding (main
   .ct-container-full padding-bottom 32px !important); here the rail sits
   inside that wrapper and its shell's top padding already stands in for it. */
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 main .ct-container-full { padding-bottom: 0 !important; }

/* V216 (Treyson 11-02): the product video in the gallery (profile gallery
   'video'); it plays in the photo carousel (gem-product-page.js). */
html.gem-pdp6 .r3-g3 .r6-vid { position: relative; padding: 0 !important; overflow: hidden; background: #0b0b2a; cursor: pointer; }
html.gem-pdp6 .r3-g3 .r6-vid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.gem-pdp6 .r3-g3 .r6-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,1,12,0) 45%, rgba(1,1,12,.55)); }
html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255,255,255,.94); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(1,1,12,.45); transition: transform .2s; }
html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-play svg { width: 26px; height: 26px; margin-left: 3px; fill: #450910; }
html.gem-pdp6 .r3-g3 .r6-vid:hover .r6-vid-play { transform: scale(1.07); }
html.gem-pdp6 .r3-g3 .r6-vid:focus-visible { outline: 3px solid #EAC66E; outline-offset: -3px; }
html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-cap { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: flex; gap: 8px; align-items: baseline; white-space: nowrap; color: #fff; font: 700 .9rem/1.2 "Quasimoda", system-ui, sans-serif; }
html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-cap b { font-weight: 600; opacity: .8; }
@media (max-width: 1040px) {   /* phones + tablets: the video in the small row; the in-hand photo waits behind View all */
  html.gem-pdp6.gem-pdp6 .r3-g3:not(.is-expanded) .g3-pie { display: none !important; }
  html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-play svg { width: 17px; height: 17px; margin-left: 2px; }
  html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-cap { left: 8px; bottom: 7px; font-size: .68rem; }
  html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-cap b { display: none; }
}
@media (max-width: 760px) { html.gem-pdp6 .r3-g3 .r6-vid .r6-vid-cap { display: none; } }   /* phones: just the play button */
/* the video slide in the carousel: a 16:9 player instead of the photo */
.glb-stage.r6-is-vid { position: relative; width: min(1100px, 100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; padding: 0; background: #000; display: block; }
.glb-stage.r6-is-vid img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.glb-stage .r6-vid-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .glb-stage.r6-is-vid { padding: 0; width: 100%; } }

/* V216 (Treyson 11-02): the Product Features Design button in the gold
   outline style (like Shop now); gold fill with white text on hover/focus.
   Same size as the filled button. */
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 body:not(#r4-ink) .v166-an-sec .r4-btn { background: transparent !important; border: 1.5px solid #D39700 !important; color: #8A6200 !important; text-shadow: none !important; padding: 14.5px 26.5px !important; box-shadow: none !important; transition: background .2s, color .2s, border-color .2s, box-shadow .2s; }
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 body:not(#r4-ink) .v166-an-sec .r4-btn:is(:hover, :focus-visible) { background: linear-gradient(180deg, #EAC66E, #D39700) border-box !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 10px 22px -10px rgba(211, 151, 0, .7) !important; }

/* Live reviews (Treyson 11-02): topic chips (styled as the rating chips by
   .r7-filter), their counts, the search box and the no-match line. */
html.gem-pdp6 #reviews .r7-topics { margin-top: -8px; }
html.gem-pdp6 #reviews .r7-filter .r7-n { font-weight: 500; color: #61616B; font-variant-numeric: tabular-nums; }
html.gem-pdp6 #reviews .r7-filter button[aria-pressed="true"] .r7-n { color: inherit; }
html.gem-pdp6 #reviews .r7-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; }
html.gem-pdp6 #reviews .r7-search input { flex: 0 1 320px; min-width: 0; width: 100%; box-sizing: border-box; padding: 9px 16px; border: 1px solid #EBEBED; border-radius: 999px; background: #fff; color: #01010C; font: 400 .92rem/1.3 "Quasimoda", system-ui, sans-serif; }
html.gem-pdp6 #reviews .r7-search input:focus-visible { outline: 2px solid #3762B7; outline-offset: 2px; border-color: #D39700; }
html.gem-pdp6 #reviews .r7-count { margin: 0; font-size: .86rem; color: #61616B; }
html.gem-pdp6 #reviews .r7-count:empty { display: none; }
html.gem-pdp6 #reviews .r7-nomatch { margin: 4px 0 24px; padding: 18px 20px; border: 1px solid #EBEBED; border-radius: 16px; background: #fff; color: #61616B; }
html.gem-pdp6 #reviews .r7-clear { all: unset; cursor: pointer; color: #090960; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
html.gem-pdp6 #reviews .r7-clear:focus-visible { outline: 2px solid #3762B7; outline-offset: 2px; }
html.gem-pdp6 #reviews .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { html.gem-pdp6 #reviews .r7-search input { flex-basis: 100%; } }
html.gem-pdp6 #reviews .rv-cards.is-filtered { grid-auto-flow: dense; }
html.gem-pdp6 #reviews mark.r7-hit { background: #FBE7A6; color: inherit; border-radius: 3px; padding: 0 1px; }
/* Live reviews: what Trustindex says about each one (Treyson 11-02). The
   verified label keeps the old "Verified buyer" look plus a check; the
   platform ("· Etsy", "Google review") and "via Trustindex" use the date's
   muted style. */
html.gem-pdp6 #reviews .rv-meta .r7-tiv { display: inline-flex; align-items: center; gap: 3px; }
html.gem-pdp6 #reviews .rv-meta .r7-chk { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
html.gem-pdp6 #reviews .rv-meta .rv-src { color: inherit; text-decoration: none; }
html.gem-pdp6.gem-pdp6 body:not(#r4-ink) #reviews .rv-card .rv-meta a.rv-via:hover { text-decoration: underline !important; text-underline-offset: 2px; }
/* Review cards (Treyson 11-02): more room between the script name and the "via Trustindex" line under it,
   so descenders like the y in Tammy clear the label */
html.gem-pdp6.gem-pdp6 body:not(#r4-ink) .rv-card .rv-meta:where(:not(.gem-aplus-legacy, .gem-aplus-legacy *)) { row-gap: 14px !important; }

/* Review photos (live reviews, Treyson 11-02): thumbnails on the cards, the
   clickable "Customer photos" strip and the review dialog they open. */
html.gem-pdp6 #reviews .r7-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
html.gem-pdp6 #reviews .r7-th,
html.gem-pdp6 #reviews .r7-strip .r7-ph { position: relative; display: block; padding: 0; border: 0; background: #EEEEF2; border-radius: 12px; overflow: hidden; cursor: zoom-in; }
html.gem-pdp6 #reviews .r7-th { width: 72px; height: 72px; flex: none; }
html.gem-pdp6 #reviews .r7-th img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
html.gem-pdp6 #reviews .r7-strip .r7-ph img { display: block; transition: transform .25s; }
html.gem-pdp6 #reviews :is(.r7-th, .r7-ph):hover img { transform: scale(1.05); }
html.gem-pdp6 #reviews :is(.r7-th, .r7-ph):focus-visible { outline: 2px solid #3762B7; outline-offset: 2px; }
html.gem-pdp6 #reviews .r7-th-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(1, 1, 12, .55); color: #fff; font: 700 1rem/1 "Quasimoda", system-ui, sans-serif; }
html.r7-lb-on, html.r7-lb-on body { overflow: hidden; }
.r7-lb { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 24px; }
.r7-lb[hidden] { display: none; }
.r7-lb-scrim { position: absolute; inset: 0; background: rgba(1, 1, 12, .72); }
.r7-lb-box { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); width: min(1040px, 100%); max-height: calc(100vh - 48px); background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(1, 1, 12, .55); opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.r7-lb.is-in .r7-lb-box { opacity: 1; transform: none; }
.r7-lb-ph { position: relative; margin: 0; background: #0b0b14; display: grid; place-items: center; min-height: 320px; }
.r7-lb-ph img { display: block; max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.r7-lb-n { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(1, 1, 12, .6); color: #fff; font: 600 .8rem/1.2 "Quasimoda", system-ui, sans-serif; }
.r7-lb-n:empty { display: none; }
.r7-lb-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #01010C; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(1, 1, 12, .5); }
.r7-lb-nav[hidden] { display: none; }
.r7-lb-prev { left: 12px; } .r7-lb-next { right: 12px; }
.r7-lb-nav svg, .r7-lb-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.r7-lb-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #01010C; display: grid; place-items: center; cursor: pointer; }
.r7-lb :is(.r7-lb-nav, .r7-lb-x):focus-visible { outline: 2px solid #EAC66E; outline-offset: 2px; }
.r7-lb-rv { padding: 56px 32px 32px; overflow-y: auto; font-family: "Quasimoda", system-ui, sans-serif; color: #01010C; }
.r7-lb-stars { display: flex; gap: 2px; }
/* the script name gets its own line box: room for its swashes and descenders
   (the y in Scotty reaches ~.42em below the baseline), then a clear gap
   before the label/date line, scaled to the bigger name (cards use 14px) */
.r7-lb-name { margin: 15px 0 12px; font: 400 2rem/1.3 "above-the-beyond", "AboveTheBeyond", cursive; color: #01010C; }   /* the name splits the space between the stars and the label (Treyson 11-02): the script's tall letters reach above its box, so the top margin is the larger one */
.r7-lb-when::before { content: "·"; margin-right: 8px; color: #B8B8BF; }
.r7-lb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 16px; font-size: .74rem; color: #8A8A93; }
.r7-lb-meta .rv-verif { display: inline-flex; align-items: center; gap: 3px; color: #8A6200; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem; text-decoration: none; }
.r7-lb-meta .r7-chk { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.r7-lb-text { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #2A2A33; }
@media (max-width: 760px) {
  .r7-lb { padding: 0; place-items: stretch; }
  .r7-lb-box { grid-template-columns: 1fr; grid-template-rows: auto 1fr; width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .r7-lb-ph { min-height: 0; height: min(56vh, 100vw); overflow: hidden; }
  .r7-lb-ph img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
  .r7-lb-rv { padding: 20px 20px 28px; }
  .r7-lb-name { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { .r7-lb-box, html.gem-pdp6 #reviews :is(.r7-th, .r7-ph) img { transition: none; } }
/* Selected filter chips show a small x (Treyson 11-02); it grows in from
   zero width so the row shifts smoothly instead of jumping. The whole chip
   is the button, so the tap area is the chip. */
html.gem-pdp6 #reviews .r7-filter .r7-x { display: inline-grid; place-items: center; width: 0; height: 16px; margin-left: 0; overflow: hidden; opacity: 0; transition: width .18s ease, margin-left .18s ease, opacity .18s ease; }
html.gem-pdp6 #reviews .r7-filter .r7-x svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
html.gem-pdp6 #reviews .r7-filter button[aria-pressed="true"] .r7-x { width: 16px; margin-left: 6.5px; opacity: 1; }
html.gem-pdp6 #reviews .r7-filter button[aria-pressed="true"]:has(.r7-x) { padding-right: 9.5px; }   /* the × sits evenly between the words and the pill's edge (Treyson 11-02) */
@media (max-width: 760px) { html.gem-pdp6 #reviews .r7-filter button { min-height: 36px; } }
@media (prefers-reduced-motion: reduce) { html.gem-pdp6 #reviews .r7-filter .r7-x { transition: none; } }
/* Rating bars (Treyson 11-02): the count is underlined so the row reads as clickable */
html.gem-pdp6 #reviews .r7-row-btn b { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: rgba(1, 1, 12, .3); transition: text-decoration-color .2s; }
html.gem-pdp6 #reviews .r7-row-btn:is(:hover, :focus-visible, .is-on) b { text-decoration-color: currentColor; }
html.gem-pdp6 #reviews .r7-showing { margin: 0 0 12px; font-size: .86rem; font-weight: 600; color: #61616B; }
/* Steps (Treyson 11-04): the line under each step title runs the column's width, so "Upload high resolution file" fits one line */
html.gem-pdp6 .rail .r5-steps li > span:last-of-type { max-width: none; }
/* Reviews summary (Treyson 11-02): the store rating line under the big number is centered, like the number and stars */
html.gem-pdp6 #reviews .rv-score > span { display: block; text-align: center; text-wrap: balance; }
/* Reviews summary (Treyson 11-04): room between the section edge and the 4.7 block; "Based on N reviews" stays one line (the <br> still breaks) */
html.gem-pdp6 #reviews .rv-score { padding-left: 24px; }
html.gem-pdp6 #reviews .rv-score > span { text-wrap-mode: nowrap; }
@media (max-width: 760px) { html.gem-pdp6 #reviews .rv-score { padding-left: 0; } }
/* The source row was cut (Treyson 11-04): a grey line under the summary in its place, and its Trustindex link moved into the "Showing" line */
html.gem-pdp6 #reviews .r7-showing { max-width: none; padding-top: 16px; border-top: 1px solid var(--line, #EBEBED); }
html.gem-pdp6 #reviews .r7-showing a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
/* Review cards (Treyson 11-02): long script names that wrap to two lines (Michelle / Pennington) get room between the lines */
html.gem-pdp6.gem-pdp6 body:not(#r4-ink) .rv-card .rv-meta .rv-name { line-height: 1.4 !important; }
/* Review cards with photos (Treyson 11-02): the photos sit above the stars, so the room goes under them, not over */
html.gem-pdp6 #reviews .rv-card .r7-thumbs { margin: 0 0 16px; }
html.gem-pdp6.gem-pdp6 body:not(#r4-ink) .rv-card .rv-meta .rv-name.r7-name-2l { line-height: 1.75 !important; }   /* two-line names (set by gem-product-page.js) */
/* Moments "try now" (Treyson 11-02): the arrow a little closer to the button on desktop */
@media (min-width: 761px) { html.gem-pdp6.gem-pdp6 .r5-mend .r3-m-cue .r3-arrow { transform: translate(5px, 4px) rotate(-5deg) !important; } }
/* FAQ answers (Treyson 11-02): gray like V216 (#61616B), not the navy blend the theme's paragraph rule gives them */
html.gem-pdp6 .faq-split .faq3 :is(p, li) { color: #61616B !important; }

/* V216 (Treyson 11-02): desktop, still too much room around "More from Gem
   Awards". ~96px from the reviews above and to the footer below (was ~152 /
   ~144); phones keep their 72px. */
@media (min-width: 761px) {
  html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 .r5-suggest { padding-top: 0 !important; padding-bottom: 0 !important; }
  html.gem-pdp6 .r5-suggest-shell { padding-top: 16px; }
}
/* Custom medal badges (Treyson 11-04): one row inside the card on phones. Two badges: no wrap between 381px and 760px (380px and under already holds them).
   The Arrow's three: tighter than the name tag's r6-best row, since the medal card is narrower on phones. */
@media (min-width: 381px) and (max-width: 760px) {
  html.gem-pdp6 .rail .r6-pills:has(.r6-medal):not(:has(.r6-best)) { flex-wrap: nowrap; }
  html.gem-pdp6 .rail .r6-pills:has(.r6-medal):not(:has(.r6-best)) .r5-sold { font-size: clamp(10px, calc((100vw - 147px) / 21), 12.8px) !important; }
}
@media (max-width: 760px) {
  html.gem-pdp6 .rail .r6-pills:has(.r6-medal):has(.r6-best) { gap: 3px; }
  html.gem-pdp6 .rail .r6-pills:has(.r6-medal):has(.r6-best) .r5-sold { padding: 7px 6px !important; font-size: clamp(8.5px, calc((100vw - 119px) / 25.6), 11.5px) !important; }
}
/* Hero photo background to the frame's edges (Treyson 11-04; profile 'hero_bleed', one crystal first): the photo
   is a copy with its plain backdrop extended from its own edge pixels (tools/extend-bg.py, no generated content).
   It is centered and sized so its original part sits exactly where the usual photo does: (frame height - the
   24px padding top and bottom) x k, with the usual 1.57% nudge rescaled to the bigger image (1.57% / k). No
   multiply blend (it is for white photos on the grey frame) and no drop shadow: the photo is the whole frame. */
html.gem-pdp6 .r3-g3 .g3-hero.g3-bleed { position: relative !important; background: #000 !important; }
html.gem-pdp6 .r3-g3 .g3-hero.g3-bleed img { position: absolute !important; left: 50% !important; top: 50% !important; width: auto !important; height: calc((100% - 48px) * var(--g3-k, 1.7)) !important; max-width: none !important; max-height: none !important; mix-blend-mode: normal !important; filter: none !important; transform: translate(calc(-50% + 1.57% / var(--g3-k, 1.7)), calc(-50% + 1.57% / var(--g3-k, 1.7))) !important; }
/* Keep the neutral background on the frame so white pixels in a studio
   photo can blend into it without showing the outline of the image. */
html.gem-pdp6 .r5-suggest .rel.bs-card .rel-media {
  position: relative; display: block; isolation: isolate;
  grid-column: 1 / -1; align-self: stretch; margin: 0; aspect-ratio: 5 / 4;
  padding: 14px; border-radius: var(--r4-rs, 10px); overflow: hidden;
  background: linear-gradient(160deg, #F5F5F8, #EDEDF3);
}
html.gem-pdp6 .r5-suggest .rel.bs-card .rel-media > img {
  display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: auto;
  padding: 0; margin: 0; background: transparent; object-fit: contain; mix-blend-mode: multiply;
}
/* The extended crystal and glass backdrops fill the full frame at any width. */
html.gem-pdp6 .r5-suggest .rel.bs-card .rel-bleed { padding: 0; background: #000; }
html.gem-pdp6 .r5-suggest .rel.bs-card .rel-bleed > img {
  position: absolute; left: 50%; top: 50%; width: auto;
  height: calc((100% - 28px) * var(--card-photo-scale, 1.7));
  min-width: 100%; min-height: 100%; border-radius: 0 !important;
  object-fit: cover; mix-blend-mode: normal; transform: translate(-50%, -50%);
}

/* Storefront promos sit behind an open designer so checkout stays reachable. */
body:has(.gnd-modal.is-open) .gapop-teaser { visibility: hidden; }

/* Both medal previews need room above the pinned checkout bar. */
#gnd-medal-modal .gnd-modal__dialog {
  --medal-dialog-gutter: clamp(8px, 2dvh, 24px);
  width: calc(100% - 2 * var(--medal-dialog-gutter));
  margin: var(--medal-dialog-gutter) auto;
  max-height: calc(100dvh - 2 * var(--medal-dialog-gutter));
}
#gnd-medal-modal .gnd-stage__hint,
#gnd-medal-modal .gnd-stage__bottom { flex: none; max-width: 100%; }
#gnd-medal-modal .gnd-medal-info {
  grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  gap: clamp(10px, 2vw, 20px);
}
#gnd-medal-modal .gnd-qty-input { width: 4.5rem; padding-inline: 4px; }
/* The collapsed label can wrap after the script has measured its height. */
#gnd-medal-modal .gnd-block.gnd-step-collapsed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  grid-auto-rows: 0;
  max-height: none !important;
}

@media (min-width: 821px) {
  #gnd-medal-modal .gnd-stage {
    /* Keep the start of the preview reachable even in a very short window. */
    justify-content: flex-start;
    justify-content: safe center;
    overflow-y: auto;
    padding-block: clamp(10px, 2dvh, 28px);
    gap: clamp(8px, 1.5dvh, 16px);
  }
  #gnd-medal-modal .gnd-canvas-wrap {
    flex: 0 1 auto;
    min-height: 140px;
    max-width: 540px;
    aspect-ratio: 540 / 500;
    padding: 0;
    container-type: size;
  }
  /* Both Fabric layers scale through their wrapper, preserving pointer alignment. */
  #gnd-medal-modal .gnd-canvas-wrap .canvas-container {
    width: min(100%, 108cqh) !important;
  }
  #gnd-medal-modal .gnd-stage__bottom { margin-top: 0; }
  #gnd-medal-modal .gnd-medal-info {
    grid-template-columns: minmax(0, min(36%, 21dvh)) minmax(0, 1fr);
  }
}

@media (max-height: 500px) {
  #gnd-medal-modal .gnd-modal__header { padding-block: 14px 10px; }
  #gnd-medal-modal .gnd-modal__footer { padding-block: 8px; }
  #gnd-medal-modal .gnd-modal__close,
  #gnd-medal-modal .gnd-startover-btn { top: 10px; }
}

@media (max-width: 820px) {
  #gnd-medal-modal .gnd-modal__dialog {
    width: 100%;
    margin: 0;
    max-height: 100dvh;
  }
  #gnd-medal-modal .gnd-canvas-wrap { max-width: min(100%, 41dvh, 540px); }
  #gnd-medal-modal .gnd-medal-info { padding: 12px; }
  #gnd-medal-modal .gnd-medal-info__disc { margin: 0; }
}

@media (max-width: 480px) {
  #gnd-medal-modal .gnd-modal__header { padding: 14px 136px 12px 14px; }
  #gnd-medal-modal .gnd-modal__title { font-size: 19px; }
  #gnd-medal-modal .gnd-startover-btn { top: 12px; right: 54px; padding-inline: 9px; }
  #gnd-medal-modal .gnd-modal__close { top: 12px; right: 12px; }
  #gnd-medal-modal .gnd-modal__footer {
    padding: 8px 12px max(8px, env(safe-area-inset-bottom));
  }
  #gnd-medal-modal .gnd-foot { gap: 6px; }
  #gnd-medal-modal .gnd-foot__right,
  #gnd-medal-modal .gnd-foot-qty { gap: 8px; }
  #gnd-medal-modal .gnd-foot__right { margin-left: 0; flex-wrap: wrap; }
  #gnd-medal-modal .gnd-qty-input { width: 3rem; min-height: 44px; }
  #gnd-medal-modal .gnd-btn--add { padding: 8px 10px; min-height: 44px; }
}

/* Native purchase forms in the product rail: WooCommerce and both add-on
   plugins still own the fields, validation, uploads and cart submission. */
html.gem-pdp6 .rail .k-cta form.cart {
  --gem-form-edge: #a19490;
  --gem-form-fill: #fcfaf7;
  --gem-form-alert: #8a0f1a;
  --theme-form-text-initial-color: var(--k-ink);
  --theme-form-text-focus-color: var(--k-ink);
  --theme-form-field-border-focus-color: var(--k-maroon);
  --theme-form-selection-field-initial-color: var(--gem-form-edge);
  --theme-form-selection-field-active-color: var(--k-maroon);
  color: var(--k-ink-2);
  font-family: "Quasimoda", system-ui, sans-serif;
}

html.gem-pdp6 .rail .k-cta form.cart :is(.wapf, .product-addon, table.variations) {
  max-width: 100%;
}

html.gem-pdp6 .rail .k-cta form.cart .wapf {
  --apf-margin-bottom: 18px;
  --apf-label-color: var(--k-maroon-deep);
  --apf-label-weight: 700;
  --apf-error-color: var(--gem-form-alert);
  --apf-is-border: 1px solid var(--gem-form-edge);
  --apf-is-radius: 12px;
  --apf-is-inner-radius: 7px;
  --apf-is-padding: 4px;
  --apf-is-bg: var(--gem-form-fill);
  --apf-is-bg-hov: var(--k-cream);
  --apf-is-border-color-hov: var(--k-maroon);
  --apf-is-bg-sel: var(--k-cream);
  --apf-is-border-color-sel: var(--k-maroon);
  --apf-is-color-sel: var(--k-maroon-deep);
  --apf-cs-border-color-sel: var(--k-maroon);
  --apf-ts-border-color-sel: var(--k-maroon);
  --apf-ts-bg-sel: var(--k-cream);
  --apf-ts-color-sel: var(--k-maroon-deep);
}

html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-field-label label, .product-addon .addon-name, .variations th.label label) {
  color: var(--k-maroon-deep);
  font: 700 .96rem/1.35 "Quasimoda", system-ui, sans-serif;
}

html.gem-pdp6 .rail .k-cta form.cart .wapf .wapf-wrapper {
  width: auto;
  margin-inline: -5px;
}

html.gem-pdp6 .rail .k-cta form.cart .label-above .wapf-field-label { margin-bottom: 7px; }
html.gem-pdp6 .rail .k-cta form.cart .product-addon .addon-name { margin: 0 0 8px; }
html.gem-pdp6 .rail .k-cta form.cart .product-addon .form-row { margin-bottom: 12px; }

html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-field-description, .addon-description, .product-addon small, .chars_remaining) {
  color: var(--k-slate);
  font-size: .86rem;
  line-height: 1.45;
  opacity: 1;
}

html.gem-pdp6 .rail .k-cta form.cart :is(abbr.required, .wapf-required > .wapf-field-label .wapf-asterisk) {
  color: var(--gem-form-alert);
  text-decoration: none;
}

html.gem-pdp6 .rail .k-cta form.cart :is(select, textarea, input:is([type="text"], [type="email"], [type="url"], [type="tel"], [type="number"], [type="date"], [type="search"], [type="file"])):not([data-is-file], .qty, .select2-search__field) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--gem-form-edge);
  border-radius: 10px;
  padding-inline: 12px;
  background-color: var(--gem-form-fill);
  color: var(--k-ink);
  caret-color: var(--k-maroon);
  font: 500 1rem/1.35 "Quasimoda", system-ui, sans-serif;
}

html.gem-pdp6 .rail .k-cta form.cart select { padding-inline-end: 32px; }
html.gem-pdp6 .rail .k-cta form.cart textarea { min-height: 96px; padding-block: 10px; resize: vertical; }
html.gem-pdp6 .rail .k-cta form.cart input[type="file"] { padding-block: 6px; }
html.gem-pdp6 .rail .k-cta form.cart input[type="file"]::file-selector-button {
  margin-inline-end: 10px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--k-cream);
  color: var(--k-maroon-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html.gem-pdp6 .rail .k-cta form.cart :is(input[type="radio"], input[type="checkbox"]) {
  accent-color: var(--k-maroon);
}
html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-field-checkboxes .wapf-field-input label, .wapf-field-radio .wapf-field-input label, .product-addon .form-row label) {
  color: var(--k-ink-2);
  line-height: 1.4;
}

html.gem-pdp6 .rail .k-cta form.cart .variations {
  table-layout: fixed;
  margin-bottom: 14px;
}
html.gem-pdp6 .rail .k-cta form.cart .variations :is(th, td) { padding-block: 5px; }
html.gem-pdp6 .rail .k-cta form.cart .variations .reset_variations { color: var(--k-maroon); text-underline-offset: 3px; }

html.gem-pdp6 .rail .k-cta form.cart .wapf-swatch--image img {
  display: block;
  width: 100%;
  height: clamp(52px, 11vw, 96px);
  object-fit: contain;
}

html.gem-pdp6 .rail .k-cta form.cart .wapf-swatch:has(:focus-visible) :is(.apf-pick-box, .wapf-color),
html.gem-pdp6 .rail .k-cta form.cart .wapf-swatch.apf-pick-box:has(:focus-visible),
html.gem-pdp6 .rail .k-cta form.cart .dzone:has(+ input[data-is-file]:focus),
html.gem-pdp6 .rail .k-cta form.cart :is(input, select, textarea, button, a, .dz-remove):focus-visible {
  outline: 2px solid var(--k-maroon);
  outline-offset: 2px;
}

html.gem-pdp6 .rail .k-cta form.cart .dzone {
  min-height: 80px;
  padding: 12px 14px;
  border: 1px dashed var(--gem-form-edge);
  border-radius: 12px;
  background: var(--gem-form-fill);
}

html.gem-pdp6 .rail .k-cta form.cart .dzone:not(.dz-started) {
  align-content: center;
}

html.gem-pdp6 .rail .k-cta form.cart .dzone:is(:hover, :focus-within, .dz-drag-hover) {
  border-color: var(--k-maroon);
  background: var(--k-cream);
}

html.gem-pdp6 .rail .k-cta form.cart .dz-message {
  color: var(--k-slate);
  line-height: 1.5;
}

html.gem-pdp6 .rail .k-cta form.cart .dz-message :is(span, .gem-upload-browse) {
  color: var(--k-maroon-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.gem-pdp6 .rail .k-cta form.cart .gem-upload-browse {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html.gem-pdp6 .rail .k-cta form.cart .dz-filename { min-width: 0; overflow-wrap: anywhere; }
html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-dz-error, .wapf-error, .addon-alert) {
  color: var(--gem-form-alert);
}
html.gem-pdp6 .rail .k-cta form.cart :is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--gem-form-alert);
}

html.gem-pdp6 .rail .k-cta form.cart .ct-cart-actions {
  --theme-button-min-height: 48px;
  gap: 10px;
  margin-block: 12px 0;
}

html.gem-pdp6 .rail .k-cta form.cart .ct-cart-actions .quantity {
  --quantity-width: 108px;
  --theme-form-field-border-radius: 999px;
  --quantity-hover-color: var(--k-cream);
}

html.gem-pdp6 .rail .k-cta form.cart .quantity :is(.ct-increase, .ct-decrease) {
  color: var(--k-maroon-deep);
}

html.gem-pdp6 .rail .k-cta form.cart .quantity input.qty {
  border: 1px solid var(--gem-form-edge);
  border-radius: 999px;
  background: var(--gem-form-fill);
  color: var(--k-ink);
  font: 700 1rem/1 "Quasimoda", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}

html.gem-pdp6 .rail .k-cta form.cart .single_add_to_cart_button {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--k-gold-grad);
  color: #fff; /* white text (Treyson 11-11; was maroon) */
  font: 700 1rem/1.2 "Quasimoda", system-ui, sans-serif;
}

html.gem-pdp6 .rail .k-cta form.cart .single_add_to_cart_button:not(:disabled, .disabled, .loading):hover {
  background: var(--k-gold-light);
  color: #fff;
}

html.gem-pdp6 .rail .k-cta form.cart .single_add_to_cart_button:is(:disabled, .disabled) {
  background: var(--k-cream);
  color: var(--k-slate);
  opacity: 1;
}

@media (max-width: 420px) {
  html.gem-pdp6 .rail .k-cta form.cart .variations :is(th.label, td.value) {
    display: block;
    width: 100%;
  }
}
/* 2026-11-11 Treyson: gold outline buttons, the text the same gold as the border */
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 body:not(#r4-ink) .v166-an-sec .r4-btn { color: #D39700 !important; }
/* review filter chips: gray text, not gold (Treyson 11-12); the selected chip keeps its cream fill and gold border */
body .r7-filter button, body .r7-filter button * { color: #61616B !important; }
body .r7-filter button:hover { color: #01010C !important; }
html.gem-pdp6.gem-pdp6.gem-pdp6.gem-pdp6 body:not(#r4-ink) .v166-an-sec .r4-btn:is(:hover, :focus-visible) { color: #fff !important; }

/* 2026-11-11 Treyson: "More from Gem Awards" arrows like the homepage best sellers: bare navy chevrons on either
   side of the row, in the page gutters, faded until hovered */
html.gem-pdp6 .r5-suggest .bs-railwrap { position: relative; }
html.gem-pdp6 .r5-suggest .bs-railwrap .bs-nav { position: absolute; inset: 0; z-index: 5; display: block; margin: 0; pointer-events: none; }
html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0 !important; border-radius: 0; background: transparent !important; box-shadow: none !important; color: #090960 !important; opacity: .5; pointer-events: auto; transition: opacity .25s, color .25s; }
html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow::after { content: none !important; }
html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow svg { width: 26px; height: 26px; stroke-width: 1.8; transition: transform .25s; }
html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow:is(:hover, :focus-visible):not(:disabled) { opacity: 1; color: #3762B7 !important; transform: none; }
html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow:disabled { opacity: .18; }
html.gem-pdp6 .r5-suggest .bs-railwrap #bsPrev { left: -56px; }
html.gem-pdp6 .r5-suggest .bs-railwrap #bsNext { right: -56px; }
html.gem-pdp6 .r5-suggest .bs-railwrap #bsPrev:is(:hover, :focus-visible):not(:disabled) svg { transform: translateX(-3px); }
html.gem-pdp6 .r5-suggest .bs-railwrap #bsNext:is(:hover, :focus-visible):not(:disabled) svg { transform: translateX(3px); }
@media (max-width: 1100px) { html.gem-pdp6 .r5-suggest .bs-railwrap #bsPrev { left: -44px; } html.gem-pdp6 .r5-suggest .bs-railwrap #bsNext { right: -44px; } html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow { width: 40px; height: 40px; margin-top: -20px; } }
@media (max-width: 760px) { html.gem-pdp6 .r5-suggest .bs-railwrap #bsPrev { left: -24px; } html.gem-pdp6 .r5-suggest .bs-railwrap #bsNext { right: -24px; } html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow { width: 28px; height: 40px; } html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow svg { width: 20px; height: 20px; } }
@media (prefers-reduced-motion: reduce) { html.gem-pdp6.gem-pdp6 .r5-suggest .bs-railwrap .bs-arrow svg { transition: none; } }

/* 2026-11-11 Treyson's standard: underlined text links on white or off-white are gray, with a gray underline (no navy) */
html.gem-pdp6.gem-pdp6 body :is(a.r6-learn, button.r7-more) { color: #61616B !important; border-color: #61616B !important; text-decoration-color: #61616B !important; }
html.gem-pdp6.gem-pdp6 body :is(a.r6-learn, button.r7-more)::after { background: #61616B !important; border-color: #61616B !important; }
html.gem-pdp6.gem-pdp6 body :is(a.r6-learn, button.r7-more):is(:hover, :focus-visible) { color: #01010C !important; border-color: #01010C !important; text-decoration-color: #01010C !important; }
html.gem-pdp6.gem-pdp6 body #reviews.r7-ti :is(.r7-more, .r7-readall) { color: #61616B !important; text-decoration-color: #61616B !important; }   /* gray links standard (11-11) */
html.gem-pdp6.gem-pdp6 body #reviews.r7-ti :is(.r7-more, .r7-readall):is(:hover, :focus-visible) { color: #01010C !important; text-decoration-color: #01010C !important; }

/* Form text is black or gray only (Treyson 11-11: "for the forms will you
   make all the text either black or gray"). Labels, typed values, choices
   and totals are ink #01010C; hints, placeholders, the required asterisk and
   the per-line totals are gray #61616B. --k-ink is redefined as navy later in
   the cascade, so the colors are literal here. Field borders and the focus
   ring keep their colors (not text); validation errors keep their red. */
html.gem-pdp6 .rail .k-cta form.cart {
  --theme-form-text-initial-color: #01010C;
  --theme-form-text-focus-color: #01010C;
  color: #61616B;
}
html.gem-pdp6 .rail .k-cta form.cart .wapf {
  --apf-label-color: #01010C;
  --apf-is-color-sel: #01010C;
  --apf-ts-color-sel: #01010C;
  --apf-input-color: #01010C;
}
html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-field-label, .wapf-field-label label, .wapf-field-label span:not(.wapf-asterisk), .product-addon .addon-name, .variations th.label label, legend, .wapf-swatch-label, .wapf-label-text) { color: #01010C; }
html.gem-pdp6 .rail .k-cta form.cart :is(select, textarea, input, .quantity input.qty) { color: #01010C; }
html.gem-pdp6 .rail .k-cta form.cart :is(textarea, input)::placeholder { color: #61616B; opacity: 1; }
html.gem-pdp6 .rail .k-cta form.cart :is(abbr.required, .wapf-required > .wapf-field-label .wapf-asterisk) { color: #61616B; }
html.gem-pdp6 .rail .k-cta form.cart :is(.wapf-field-description, .addon-description, .product-addon small, .chars_remaining) { color: #61616B; }
html.gem-pdp6 .rail .k-cta :is(.wapf-product-totals, .product-addon-totals) { color: #01010C; }
html.gem-pdp6 .rail .k-cta :is(.wapf-product-totals, .product-addon-totals) :is(span, strong, li, dt, dd, .wapf-total) { color: #61616B; }
html.gem-pdp6 .rail .k-cta :is(.wapf-product-totals, .product-addon-totals) :is(span:not(.wapf-total), dt, strong:not(.amount)) { color: #01010C; }
html.gem-pdp6 .rail .k-cta .wapf-product-totals .wapf-grand-total { color: #01010C; font-weight: 700; }
