/*
 * Star Registration product page styles. Later sections override earlier ones, so keep the order.
 *
 * Sections:
 *   1. Base: page, overlay, toast
 *   2. Form: first pass (controls, sections, rows)
 *   3. Form: second pass (builder sections, choices, add-ons, summary)
 *   4. Form: third pass (spacing, focus, errors)
 *   5. Form: headings, labels, brightness rows
 *   6. Design system: tokens, rows, selected state
 *   7. Design system: images, errors, panels
 *   8. Design system: slide-outs, section cards
 *   9. Design system: checkboxes, date field, quantity pills
 *   10. Design system: slide-out width, brightness rows
 *   11. Badges, poster preview, AI writer buttons (the writer is css/modules/ai-writer.css)
 *   12. Brightness guide: shared parts (the slide-out is css/modules/brightness.css)
 *   13. Night Sky Poster editor, AI writer layout
 *   14. "What's included": shared parts (the slide-out is css/modules/included.css)
 *   15. Gallery zoom, full-size gallery
 *   16. Greeting card row and shared drawer parts (the editor is css/modules/greeting-card.css)
 *   17. Digital / Physical gift tabs, shared drawer parts (price details: css/modules/price-details.css)
 *   18. Brightness tiles
 *   19. Desktop page layout
 *   20. Framed certificate in the gallery
 *   21. Product heading and delivery card
 *   22. Product story: container and shared parts (the rest is css/modules/story.css)
 *   23. Constellation warning
 *   24. Product story: shared review parts (the rest is css/modules/story.css)
 *   25. Desktop layout (template t-v1-pdp-d)
 *   26. Phone layout (template t-v1-pdp-m)
 *   27. Template styles (the wireframe's inline styles, as classes w-<part>-<n>)
 *
 * The modules' styles are in css/modules/<name>.css and load with them (js/core.js section 23).
 */
/* ============================================================ 1. Base: page, overlay, toast */
:root {
  --navy: #1c2040;
}
html,
body {
  margin: 0;
}
body {
  background: #dcdde5;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--navy);
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 6px;
  background: #fff;
  color: #17213b;
  padding: 10px 14px;
  font:
    700 14px/1.2 Arial,
    sans-serif;
  box-shadow: 0 3px 14px rgba(16, 18, 40, 0.25);
  text-decoration: none;
}
.skip-link:focus {
  transform: none;
  outline: 3px solid #1f6e9c;
  outline-offset: 2px;
}
#stage {
  margin: 0 auto;
  background: #fff;
}
#stage.dev-d {
  width: 1440px;
  transform-origin: top left;
}
#stage.dev-m {
  width: 390px;
  box-shadow:
    0 0 0 1px #c9cbd6,
    0 10px 40px rgba(16, 18, 40, 0.18);
}
body.phone #stage.dev-m {
  width: 100%;
  box-shadow: none;
}
.scr-root > div {
  max-width: 100%;
}
#stage.dev-m .scr-root > div {
  width: 100%;
  height: auto;
  overflow: visible;
}
button,
a,
label,
[data-opt],
[data-act] {
  cursor: pointer;
}
input.inp {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}
input.inp:focus {
  outline: 2px solid #1f6e9c;
  outline-offset: 1px;
  border-color: #1f6e9c;
}
input.inp::placeholder {
  color: #6b7089;
}
.inp-wrap {
  position: relative;
}
.inp-wrap .inp {
  padding-right: 58px;
}
.b-count,
.b-ncount {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: #6b7089;
  pointer-events: none;
}
.inp.is-err {
  border-color: #c83a31;
  box-shadow: 0 0 0 1px #c83a31;
}
.err {
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
  margin-top: 5px;
}
.err:empty {
  display: none;
}
.is-faded {
  opacity: 0.55;
}
.pv-loading img {
  animation: pvload 0.35s ease;
}
@keyframes pvload {
  from {
    opacity: 0.35;
    filter: blur(2px);
  }
  to {
    opacity: 1;
    filter: none;
  }
}
.chkb {
  position: absolute;
  z-index: 2;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}
.xfield {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.xfield[hidden] {
  display: none;
}
.btn-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  box-sizing: border-box;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  padding: 0 16px;
  font:
    700 13px 'Helvetica Neue',
    Arial,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
/* overlay */
#ovl {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 14, 38, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#ovl[hidden] {
  display: none;
}
body.m-ovl #ovl {
  align-items: flex-end;
  padding: 0;
}
/* toast */
#toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%);
  background: #1c2040;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font:
    14px 'Helvetica Neue',
    Arial,
    sans-serif;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  max-width: 90vw;
  text-align: center;
}
#toast.on {
  opacity: 1;
}

#stage main {
  overflow: clip !important;
}
[data-opt]:focus-visible,
[data-act]:focus-visible,
#stage a:focus-visible,
#stage button:focus-visible {
  outline: 3px solid #1f6e9c !important;
  outline-offset: 3px !important;
}
body.m-ovl #toast {
  bottom: 130px;
}
#stage button[data-opt^='design:'] {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}
/* mobile: a small preview that stays in view while typing */

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

/* ============================================================ 2. Form: first pass (controls, sections, rows) */
/* Shared site chrome locked to the supplied production references. */
#stage.dev-d {
  width: 100%;
  max-width: none;
  min-width: 0;
  zoom: 1 !important;
  margin: 0;
}
#stage.dev-d > .scr-root,
#stage.dev-d > .scr-root > div,
#stage.dev-d .sky {
  width: 100%;
  max-width: none;
}
/* Clear eight-step configurator flow. */
#stage.dev-d .sky > main:has(.v1n-grid) {
  width: calc(100% - 48px);
  max-width: 1360px;
  margin: 0 auto 64px;
  border-radius: 0;
}
#stage .v1n .ds-badge {
  display: none;
}
#stage.dev-d .v1n-grid {
  grid-template-columns: minmax(540px, 46%) minmax(0, 1fr);
}
#stage.dev-d .v1n-left {
  top: 16px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  scrollbar-width: none;
  padding-left: 32px;
  padding-right: 28px;
}
#stage.dev-d .v1n-left::-webkit-scrollbar {
  display: none;
}
#stage.dev-d .v1n-right {
  padding: 32px 48px 24px;
}
#stage.dev-d .v1n-right > .st {
  max-width: 680px;
  margin-left: auto !important;
  margin-right: auto !important;
}
#stage.dev-d .sr-mini-step {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  padding-top: 24px;
  border-top: 1px solid #e6e7ee;
  font-family: Montserrat, sans-serif;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  color: #1c2040;
}
#stage.dev-d .sr-mini-step:first-child {
  padding-top: 0;
  border-top: 0;
}
#stage.dev-d .sr-mini-step span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c2040;
  color: #fff;
  border: 2px solid #1c2040;
  box-sizing: border-box;
  font:
    800 17px/1 Montserrat,
    sans-serif;
}
#stage.dev-d .st-h {
  gap: 14px;
  margin-bottom: 20px;
}
#stage.dev-d .st-n {
  flex-basis: 38px;
  width: 38px;
  height: 38px;
  font-size: 17px;
  background: #1c2040;
  border-color: #1c2040;
  color: #fff;
}
#stage.dev-d .st-t {
  font-size: 21px;
  line-height: 1.2;
}
@media (max-width: 1120px) {
  #stage.dev-d .v1n-grid {
    grid-template-columns: minmax(480px, 48%) minmax(0, 1fr);
  }
  #stage.dev-d .v1n-right {
    padding-left: 32px;
    padding-right: 32px;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  #stage.dev-d .sky > main:has(.v1n-grid) {
    width: calc(100% - 32px) !important;
  }
  #stage.dev-d .v1n-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }
  #stage.dev-d .v1n-left {
    padding-left: 16px;
    padding-right: 16px;
  }
  #stage.dev-d .v1n-right {
    padding: 28px 24px 24px !important;
  }
  #stage.dev-d #v1-s2 .v1n-bright [role='radiogroup'] > label {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  #stage.dev-d #v1-s2 .v1n-bright [role='radiogroup'] > label > span > .sr-bright-badge {
    font-size: 10.5px !important;
    padding: 2px 6px !important;
  }
}
/* Form controls based on the supplied checkout references. */
#stage .v1n-right .lbl {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #14213d;
}
#stage .v1n-right .inp {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 1px solid #c8d0dc;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  color: #14213d;
  font:
    500 15px/1.35 'Helvetica Neue',
    Arial,
    sans-serif !important;
  box-shadow: none;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
#stage .v1n-right .inp:hover {
  border-color: #929dad !important;
}
#stage .v1n-right .inp:focus {
  outline: 0;
  border-color: #14213d;
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.1);
}
#stage .v1n-right .inp::placeholder {
  color: #7c8699;
  opacity: 1;
}
#stage .v1n-right input[type='radio'],
#stage .v1n-right input[type='checkbox'] {
  accent-color: #14213d;
}
#stage #v1-s2 .opt2 {
  min-height: 64px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #fff;
  outline: 0 !important;
  align-items: center;
}
#stage #v1-s2 .opt2:has(input) {
  display: flex;
}
#stage #v1-s2 [role='radiogroup']:has(.opt2) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #d8dee7;
  border-bottom: 1px solid #d8dee7;
}
#stage #v1-s2 [role='radiogroup']:has(.opt2) > .opt2 {
  border-bottom: 1px solid #d8dee7 !important;
}
#stage #v1-s2 .opt2[aria-checked='true'] {
  background: #f7f9fa;
  box-shadow: inset 2px 0 #168a51;
}
#stage #v1-s2 .opt2[aria-checked='false'] {
  background: #fff;
  box-shadow: none;
}
#stage #v1-s2 .sr-constellation-choice-wrap {
  min-width: 0;
  background: #fff;
}
#stage #v1-s2 .sr-constellation-choice-wrap:has(.opt2[aria-checked='true']) {
  background: #f7f9fa;
  box-shadow: none;
}
#stage #v1-s2 .sr-constellation-choice-wrap .opt2 {
  flex-wrap: wrap;
  background: #fff;
  box-shadow: none;
}
#stage #v1-s2 .sr-constellation-choice-wrap .opt2 > input {
  margin-top: 1px;
}
#stage #v1-s2 .sr-constellation-choice-wrap .opt2 > .opt2-p {
  align-self: flex-start;
  margin-top: 0;
  line-height: 1.3;
}
#stage #v1-s2 .opt2 > .chkb {
  display: none;
}
#stage #v1-s2 .chkb {
  display: none;
}
#stage #v1-s2 .sr-constellation-choice-wrap .b-constel {
  display: none;
  gap: 12px;
  margin: 0;
  padding: 15px 16px 16px 52px;
  border: 0;
  border-top: 1px solid #d8dee7;
  border-radius: 0;
  background: #f7f9fa;
}
#stage #v1-s2 .sr-constellation-choice-wrap:has(.opt2[aria-checked='true']) .b-constel {
  display: grid !important;
}
#stage #v1-s2 .sr-constellation-form-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#stage #v1-s2 .sr-constellation-hint {
  display: none !important;
}
#stage #v1-s2 .sr-place-status-copy {
  font-weight: 500;
}
#stage .sr-constellation-select {
  position: relative;
  z-index: 4;
}
#stage #v1-s2 .sr-constellation-options {
  position: relative;
  z-index: auto;
  overflow: hidden !important;
}
#stage #v1-s2 .sr-constellation-options > .opt2:first-child {
  border-radius: 10px 10px 0 0 !important;
}
#stage #v1-s2 .sr-constellation-options > .sr-constellation-choice-wrap {
  border-radius: 0 0 10px 10px;
}
#stage #v1-s2 .v1n-bright {
  position: relative;
  z-index: 1;
}
#stage .sr-native-constellation {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
  padding: 0;
}
#stage .sr-constellation-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 52px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  color: #14213d;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
#stage .sr-constellation-trigger:focus-visible,
#stage .sr-constellation-select.is-open .sr-constellation-trigger {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(20, 33, 61, 0.1);
}
#stage .sr-constellation-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#stage .sr-constellation-chevron {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #556176;
  border-bottom: 1.5px solid #556176;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s;
}
.sr-constellation-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  isolation: isolate;
}
.sr-constellation-drawer[hidden] {
  display: none !important;
}
.sr-constellation-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(12, 20, 36, 0.46);
  opacity: 0;
  cursor: default;
  transition: opacity 0.18s ease;
}
.sr-constellation-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(520px, calc(100vw - 24px));
  height: 100%;
  box-sizing: border-box;
  background: #fff;
  box-shadow: -18px 0 44px rgba(15, 27, 48, 0.24);
  transform: translateX(100%);
  transition: transform 0.18s ease;
}
.sr-constellation-drawer.is-open .sr-constellation-backdrop {
  opacity: 1;
}
.sr-constellation-drawer.is-open .sr-constellation-drawer-panel {
  transform: translateX(0);
}
.sr-constellation-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid #dfe4eb;
  background: #fff;
}
.sr-constellation-drawer-header h2 {
  margin: 0;
  color: #1e293b;
  font:
    400 20px/1.3 proxima-nova,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
.sr-constellation-drawer-header p {
  margin: 3px 0 0;
  color: #596176;
  font:
    400 13px/1.4 Arial,
    sans-serif;
}
.sr-constellation-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #c8d0dc;
  border-radius: 8px;
  background: #fff;
  color: #273149;
  font:
    400 27px/1 Arial,
    sans-serif;
  cursor: pointer;
}
.sr-constellation-close:hover {
  background: #f3f5f8;
}
.sr-constellation-close:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.22);
  outline-offset: 2px;
}
.sr-constellation-menu {
  position: static;
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fff;
  overscroll-behavior: contain;
}
.sr-constellation-drawer .sr-constellation-group-label {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 7px 14px;
  border-bottom: 1px solid #e2e6ec;
  background: #f5f7f9;
  color: #647084;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sr-constellation-drawer .sr-constellation-option {
  display: grid;
  grid-template-columns: 20px 52px minmax(110px, 1fr) minmax(145px, auto);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 8px 14px;
  border: 0;
  border-bottom: 1px solid #e2e6ec;
  background: #fff;
  color: #14213d;
  font:
    400 14px/1.3 'Helvetica Neue',
    Arial,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.sr-constellation-drawer .sr-constellation-option:hover {
  background: #f4f7fa;
}
.sr-constellation-drawer .sr-constellation-option:focus-visible {
  outline: 0;
  background: #f4f7fa;
  box-shadow: none;
}
.sr-constellation-drawer .sr-constellation-option:focus-visible .sr-option-radio {
  outline: 2px solid #4e5d73;
  outline-offset: 2px;
}
.sr-constellation-drawer .sr-constellation-option.is-selected {
  background: #eef3f7;
}
.sr-constellation-drawer .sr-option-radio {
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1px solid #9aa7b8;
  border-radius: 50%;
  background: #fff;
}
.sr-constellation-drawer .sr-constellation-option.is-selected .sr-option-radio {
  border: 5px solid #14213d;
}
.sr-constellation-drawer .sr-option-art {
  display: block;
  width: 50px;
  height: 34px;
  color: #647793;
}
.sr-constellation-drawer .sr-option-art svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sr-constellation-drawer .sr-option-art line {
  stroke: currentColor;
  stroke-width: 0.65;
  opacity: 0.75;
}
.sr-constellation-drawer .sr-option-art circle {
  fill: currentColor;
}
.sr-constellation-drawer .sr-option-name {
  font-weight: 500;
}
.sr-constellation-drawer .sr-option-status {
  justify-self: end;
  color: #486789;
  font-size: 13px;
  text-align: right;
}
.sr-constellation-drawer .sr-constellation-option.is-all .sr-option-status {
  color: #167348;
}
.sr-constellation-drawer .sr-constellation-option.is-limited .sr-option-status {
  color: #9a4c44;
}
#stage #v1-s2 .opt2 input {
  position: static;
  opacity: 1;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
#stage #v1-s2 .opt2 span:first-of-type {
  flex: 1;
}
#stage #v1-s2 .opt2-s {
  color: #515c70;
}
#stage #v1-s2 .opt2-p {
  margin-left: auto;
  font-weight: 700;
}
#stage #v1-s2 .opt2 {
  border-left: 0;
  border-right: 0;
}
@media (max-width: 700px) {
  #stage #v1-s2 .sr-constellation-choice-wrap .b-constel {
    margin: 0;
    padding: 14px 12px 16px;
  }
}
@media (max-width: 700px) {
  .sr-constellation-drawer-panel {
    width: min(420px, calc(100vw - 16px));
  }
  .sr-constellation-drawer-header {
    padding: 18px 16px 14px;
  }
  .sr-constellation-drawer .sr-constellation-option {
    grid-template-columns: 20px 44px minmax(0, 1fr);
    gap: 8px;
    padding: 8px 11px;
  }
  .sr-constellation-drawer .sr-option-art {
    width: 42px;
  }
  .sr-constellation-drawer .sr-option-status {
    grid-column: 3;
    justify-self: start;
    margin-top: -4px;
    font-size: 12px;
    text-align: left;
  }
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] {
  gap: 0;
  border-top: 1px solid #d8dee7;
  border-bottom: 1px solid #d8dee7;
}
#stage #v1-s2 .v1n-bright {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label {
  border: 0;
  border-radius: 0;
  outline: 0;
  padding: 12px 10px;
  background: transparent;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  border-left: 1px solid #d8dee7;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked) {
  background: #f7f9fa;
  box-shadow: inset 0 -2px #168a51;
}
@media (max-width: 900px) {
  #stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
    border-left: 0;
    border-top: 1px solid #d8dee7;
  }
}

/* ============================================================ 3. Form: second pass (builder sections, choices, add-ons, summary) */
/* CRO rebuild: linear choices with no paid defaults. */
#stage .sr-cro-section {
  margin: 0 0 34px;
  padding: 0 0 34px;
  border-bottom: 1px solid #e2e6ed;
}
#stage .sr-cro-section:last-child {
  border-bottom: 0;
}
#stage .sr-cro-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  font:
    800 21px/1.2 Montserrat,
    sans-serif;
  color: #1c2040;
}
#stage .sr-cro-heading > span {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c2040;
  color: #fff;
  font:
    800 17px/1 Montserrat,
    sans-serif;
}
#stage .sr-choice-list {
  border: 0;
  border-top: 1px solid #d8dee7;
  border-bottom: 1px solid #d8dee7;
  border-radius: 0;
  overflow: visible;
  background: #fff;
}
#stage .sr-choice {
  position: relative;
  display: grid;
  grid-template-columns: 22px 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px 4px;
  border: 0;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
}
#stage .sr-choice + .sr-choice {
  border-top: 1px solid #d8dee7;
}
#stage .sr-choice:has(input:checked) {
  background: #f7f9fa;
  box-shadow: none;
}
#stage .sr-choice > input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #168a51 !important;
}
#stage .sr-choice-img {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f7;
  display: grid;
  place-items: center;
}
#stage .sr-choice-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
#stage .sr-choice-copy {
  min-width: 0;
}
#stage .sr-choice-title {
  display: block;
  margin-bottom: 3px;
  color: #273149;
  font-size: 15px;
  font-weight: 500;
}
#stage .sr-choice-desc {
  display: block;
  color: #596176;
  font-size: 13px;
  line-height: 1.4;
}
#stage .sr-choice-price {
  color: #273149;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
#stage .sr-choice-price.free {
  color: #16713a;
}
#stage .sr-choice:is(.sr-poster-choice, .sr-card-choice) {
  display: block;
  min-height: 0;
  padding: 0;
  cursor: default;
  background: #fff;
}
#stage :is(.sr-poster-choice, .sr-card-choice) > .sr-choice-main {
  display: grid;
  grid-template-columns: 22px 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 88px;
  padding: 14px 16px;
  box-sizing: border-box;
  cursor: pointer;
}
#stage :is(.sr-poster-choice, .sr-card-choice) > .sr-choice-main > input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #17213b;
}
#stage .sr-choice:is(.sr-poster-choice, .sr-card-choice):has(> .sr-choice-main input:checked) {
  background: #f3f5f8 !important;
  box-shadow: none;
}
#stage :is(.sr-poster-open, .sr-card-open) {
  display: none;
  width: calc(100% - 32px);
  min-height: 42px;
  margin: 0 16px 16px;
  border: 1px solid #17213b;
  border-radius: 8px;
  background: #fff;
  color: #17213b;
  font:
    600 14px/1 Arial,
    sans-serif;
  cursor: pointer;
}
#stage
  :is(.sr-poster-choice, .sr-card-choice):has(> .sr-choice-main input:checked)
  :is(.sr-poster-open, .sr-card-open) {
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
#stage :is(.sr-poster-open, .sr-card-open):hover {
  background: #f3f5f8;
}
#stage .sr-gallery-poster-preview {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #f1f0ed;
  box-sizing: border-box;
}
#stage .pv.is-poster-preview .sr-gallery-poster-preview {
  display: flex;
}
#stage .sr-gallery-poster-paper {
  height: 100%;
  max-width: 100%;
  aspect-ratio: 210/297;
  transition:
    padding 0.16s,
    background 0.16s;
}
#stage .sr-gallery-poster-paper > svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
}
#stage .sr-gallery-poster-preview.is-framed {
  padding: 20px;
  background: #ece9e4;
}
#stage .sr-gallery-poster-preview.is-framed .sr-gallery-poster-paper {
  height: calc(100% - 4px);
  padding: 10px;
  background: #15171b;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(17, 22, 31, 0.25);
}
#stage .sr-poster-thumb {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: inherit;
  font-size: 11px;
  color: #1c2040;
  text-align: center;
  align-items: center;
  cursor: pointer;
}
#stage .sr-poster-thumb-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid #d9dbe4;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f4f7;
  box-sizing: border-box;
}
#stage .sr-poster-thumb-media > svg {
  display: block;
  width: auto !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: contain;
  background: #000;
  box-shadow: none !important;
}
#stage .sr-poster-thumb[aria-pressed='true'] .sr-poster-thumb-media {
  outline: 2px solid #1c2040;
  outline-offset: 2px;
}
#stage .sr-poster-active > button:not(.sr-poster-thumb) > span {
  outline: 0 !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  isolation: isolate;
}
:is(.sr-poster-drawer, .sr-card-drawer)[hidden] {
  display: none !important;
}
.sr-poster-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(12, 20, 36, 0.52);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.sr-poster-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(1040px, calc(100vw - 24px));
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: -18px 0 44px rgba(15, 27, 48, 0.28);
  transform: translateX(100%);
  transition: transform 0.18s ease;
}
:is(.sr-poster-drawer, .sr-card-drawer).is-open .sr-poster-drawer-backdrop {
  opacity: 1;
}
:is(.sr-poster-drawer, .sr-card-drawer).is-open .sr-poster-drawer-panel {
  transform: translateX(0);
}
.sr-poster-preview-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 34px;
  background: #f1efea;
  box-sizing: border-box;
}
.sr-live-preview-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 18px;
  background: #fff;
  color: #273149;
  font:
    500 12px/1 Arial,
    sans-serif;
  box-shadow: 0 1px 4px rgba(23, 33, 59, 0.16);
}
.sr-live-preview-badge::first-letter {
  color: #168a51;
}
.sr-poster-drawer-preview {
  display: grid;
  place-items: center;
  width: min(390px, 100%);
  max-height: calc(100vh - 110px);
  aspect-ratio: 210/297;
  background: #000;
  box-shadow: 0 12px 28px rgba(15, 20, 30, 0.22);
}
.sr-poster-drawer-preview > svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
}
.sr-poster-preview-pane > small {
  color: #687286;
  font:
    400 12px/1.4 Arial,
    sans-serif;
}
.sr-poster-editor {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  background: #fff;
}
.sr-poster-editor > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 36px 20px;
  border-bottom: 1px solid #e2e6ed;
}
.sr-poster-editor > header h2 {
  margin: 0;
  color: #1e293b;
  font:
    600 24px/1.25 proxima-nova,
    'Helvetica Neue',
    Arial,
    sans-serif;
}
.sr-poster-editor > header p {
  margin: 5px 0 0;
  color: #596176;
  font:
    400 14px/1.4 Arial,
    sans-serif;
}
.sr-poster-drawer-close {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #273149;
  font:
    400 28px/1 Arial,
    sans-serif;
  cursor: pointer;
}
.sr-poster-drawer-close:hover {
  background: #f3f5f8;
}
.sr-poster-editor-fields {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 26px 36px;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-mini-label {
  display: block;
  margin-bottom: 6px;
  color: #39445a;
  font:
    500 13px/1.35 Arial,
    sans-serif;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-cro-input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #c8d0dc;
  border-radius: 9px;
  background: #fff;
  color: #17213b;
  font:
    500 14px Arial,
    sans-serif;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-cro-input:focus {
  outline: 0;
  border-color: #17213b;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.1);
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 0;
  color: #273149;
  cursor: pointer;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle input,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice input {
  appearance: none;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #9eabba;
  border-radius: 5px;
  background: #fff;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle input:checked,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice input:checked {
  border-color: #17213b;
  background: #17213b;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle input:checked::after,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice input:checked::after {
  content: '\2713';
  color: #fff;
  font:
    700 14px/1 Arial,
    sans-serif;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle b,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle small {
  display: block;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle b {
  font-size: 14px;
  font-weight: 600;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle small {
  margin-top: 2px;
  color: #667085;
  font-size: 12px;
  font-weight: 400;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-field {
  display: none;
  padding: 0;
}
:is(.sr-poster-drawer, .sr-card-drawer)
  .sr-poster-editor-fields:has([data-cro-poster-message-toggle]:checked)
  .sr-poster-message-field {
  display: block;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice {
  display: grid;
  grid-template-columns: 22px 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 13px 14px;
  border: 1px solid #eadfb9;
  border-radius: 9px;
  background: #fff7df;
  color: #273149;
  cursor: pointer;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice[hidden] {
  display: none !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-art {
  display: grid;
  place-items: center;
  width: 36px;
  height: 48px;
  padding: 3px;
  background: #1d2026;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(23, 33, 59, 0.2);
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-art > span {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid #d9dde3;
  background: #fff;
  box-sizing: border-box;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-copy b,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-copy small {
  display: block;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-copy b {
  font-size: 14px;
  font-weight: 600;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-copy small {
  margin-top: 2px;
  color: #786843;
  font-size: 12px;
  font-weight: 400;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice > strong {
  color: #16713a;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.sr-poster-editor > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 36px;
  border-top: 1px solid #e2e6ed;
  background: #fff;
}
.sr-poster-save,
.sr-poster-next {
  min-width: 220px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font:
    700 14px/1 Arial,
    sans-serif;
  cursor: pointer;
}
#stage.dev-m .v1m-thumbs [aria-label='Choose what the large picture shows'] {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px !important;
}
@media (max-width: 760px) {
  .sr-poster-drawer-panel {
    width: 100vw;
  }
  .sr-poster-drawer-preview {
    width: auto;
    height: 100%;
    max-height: none;
  }
  .sr-poster-editor > header {
    padding: 18px 16px 14px;
  }
  .sr-poster-editor > header h2 {
    font-size: 20px;
  }
  .sr-poster-editor-fields {
    padding: 18px 16px;
  }
  .sr-poster-editor > footer {
    padding: 14px 16px;
  }
  .sr-poster-save,
.sr-poster-next {
    min-width: 0;
    flex: 1;
  }
  .sr-live-preview-badge {
    top: 10px;
    left: 10px;
  }
}
#stage .sr-cro-select {
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  border: 1px solid #c8d0dc;
  border-radius: 9px;
  background: #fff;
  padding: 11px 13px;
  color: #17213b;
  font:
    500 14px Arial,
    sans-serif;
}
#stage .sr-cro-select:focus {
  outline: 0;
  border-color: #17213b;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.1);
}
#stage .sr-addon-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #d8dee7;
  border-bottom: 1px solid #d8dee7;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}
#stage .sr-addon {
  display: grid;
  grid-template-columns: 22px 100px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 14px 4px;
  border: 0;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  box-sizing: border-box;
}
#stage .sr-addon + .sr-addon {
  border-top: 1px solid #d8dee7;
}
#stage .sr-addon:has(input:checked) {
  border-color: #d8dee7;
  background: #f7f9fa;
  box-shadow: none;
}
#stage .sr-addon > input {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: #168a51 !important;
}
#stage .sr-addon-img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f7;
}
#stage .sr-addon-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#stage .sr-addon-select {
  display: none;
  grid-column: 3 / 5;
  margin-top: 2px;
}
#stage .sr-addon:has(input:checked) .sr-addon-select {
  display: block;
}
#stage .sr-order-summary {
  margin-top: 10px;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid #c8d0dc;
  border-radius: 0;
  background: transparent;
}
#stage .sr-summary-lines {
  display: grid;
  gap: 9px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d8dee7;
  color: #4e586d;
  font-size: 14px;
}
#stage .sr-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-variant-numeric: tabular-nums;
}
#stage .sr-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 16px 0;
  color: #17213b;
  font-weight: 800;
}
#stage .sr-summary-total strong {
  font:
    800 28px Montserrat,
    sans-serif;
  font-variant-numeric: tabular-nums;
}
#stage .sr-cro-cta {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: #cd3732;
  color: #fff;
  font:
    800 15px Montserrat,
    sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}
#stage .sr-cro-cta:hover {
  background: #b92f2a;
}
#stage .sr-cro-cta:active {
  transform: translateY(1px);
}
#stage .sr-cro-trust {
  margin: 10px 0 0;
  text-align: center;
  color: #566076;
  font-size: 12px;
}
#stage #v1-s3,
#stage #v1-s4,
#stage #v1-s5 {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
@media (max-width: 900px) {
  #stage .sr-choice {
    grid-template-columns: 22px 58px minmax(0, 1fr);
  }
  #stage .sr-choice-price {
    grid-column: 3;
    text-align: left;
  }
}
#stage.dev-m,
#stage.dev-m .scr-root,
#stage.dev-m .scr-root > div {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}
#stage.dev-m .v1m {
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  overflow-x: hidden;
}
#stage.dev-m .v1m-land {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
#stage.dev-m .v1m-cfg {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
#stage.dev-m .st-h,
#stage.dev-m .st-t {
  min-width: 0;
  white-space: normal;
}
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] {
  grid-template-columns: 1fr;
}
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label {
  min-width: 0;
}
#stage.dev-m .sr-cro-form,
#stage.dev-m .sr-cro-section,
#stage.dev-m .sr-choice-list,
#stage.dev-m .sr-addon-list {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}
#stage.dev-m .sr-cro-heading {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
#stage.dev-m .sr-choice {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  grid-template-columns: 22px 52px minmax(0, 1fr);
  padding: 12px;
}
#stage.dev-m .sr-choice-img {
  width: 52px;
  height: 52px;
}
#stage.dev-m .sr-choice-copy {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
#stage.dev-m .sr-choice-price {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  text-align: left;
}
#stage.dev-m .sr-summary-total {
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}
#stage.dev-m .sr-summary-total strong {
  font-size: 24px;
}

/* ============================================================ 4. Form: third pass (spacing, focus, errors) */
/* Focused CRO pass: make the builder itself carry the decision support. */
#stage .sr-step-flag {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #596176;
  font:
    400 12px/1.2 Arial,
    sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
#stage .sr-cro-heading .sr-step-flag {
  margin-left: auto;
}
#stage .sr-choice,
#stage .sr-addon {
  transition:
    border-color 0.16s ease,
    background-color 0.16s ease,
    box-shadow 0.16s ease;
}
#stage .sr-choice:hover,
#stage .sr-addon:hover {
  background: #f8f9fb;
}
#stage .sr-choice:has(input:checked),
#stage .sr-addon:has(input:checked) {
  background: #f7f9fa;
  box-shadow: none;
}
#stage .sr-choice input:focus-visible,
#stage .sr-addon input:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.24);
  outline-offset: 3px;
}
#stage .sr-choice-badge {
  display: inline-block;
  margin: 0 0 5px;
  padding: 3px 7px;
  border-radius: 4px;
  background: #f4e4b7;
  color: #5b4614;
  font-size: 11px;
  font-weight: 800;
}
#stage .sr-physical-options {
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #e2e6ed;
  border-radius: 0;
  background: transparent;
}
#stage .sr-physical-options[hidden],
#stage .sr-wrap-section[hidden],
#stage .sr-addon-section[hidden] {
  display: none;
}
#stage .sr-physical-options .sr-choice-list {
  background: #fff;
}
#stage .sr-wrap-section .sr-choice-img img {
  object-fit: cover;
}
#stage .sr-field-error {
  min-height: 18px;
  margin: 6px 0 0;
  color: #a12622;
  font-size: 12px;
  font-weight: 700;
}
#stage .sr-builder-only {
  margin-bottom: 0;
  padding-bottom: 54px;
}
#stage .sr-design-field,
#stage .sr-design-field > div,
#stage .sr-design-field .v1m-design,
#stage .sr-design-field .v1m-design > div {
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
#stage .sr-design-field > .lbl,
#stage [data-sr-design-caption] {
  display: none !important;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] {
  display: grid;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  overflow: visible;
  padding: 4px 3px 12px;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list]::-webkit-scrollbar {
  display: none;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] {
  width: 100%;
  min-width: 0;
  font-size: 0;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option][data-sr-landscape='true'] {
  display: none !important;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] > span {
  display: none;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 92/130;
  object-fit: cover;
  border-radius: 6px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option]:hover img {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 33, 59, 0.12);
}
#stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option][data-sr-family-active='true'] img {
  border-color: #17213b;
  outline: 2px solid #17213b !important;
  outline-offset: 2px !important;
}
#stage .sr-orientation {
  margin-top: 8px;
  padding: 10px 0;
  border: 0;
  background: transparent;
}
#stage .sr-orientation[hidden] {
  display: none !important;
}
#stage .sr-orientation-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #273149;
  font:
    400 13px/1.4 Arial,
    sans-serif;
  cursor: pointer;
}
#stage .sr-orientation-toggle input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid #9aa7b8;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.14s ease,
    background-color 0.14s ease,
    box-shadow 0.14s ease;
}
#stage .sr-orientation-toggle:hover input {
  border-color: #607087;
}
#stage .sr-orientation-toggle input:checked {
  border-color: #168a51;
  background-color: #168a51;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.2 5.6 10.3 11.5 3.8' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px 14px;
}
#stage .sr-orientation-toggle input:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.22);
  outline-offset: 2px;
}
#stage .sr-accordion-card {
  margin: 0;
  padding: 28px 0 30px;
  border: 0;
  border-top: 1px solid #dfe4eb;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-sizing: border-box;
}
#stage .sr-accordion-card > .sr-accordion-head {
  display: flex;
  gap: 5px !important;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent;
  box-sizing: border-box;
  cursor: default;
}
#stage .sr-accordion-card > .sr-accordion-head.sr-cro-heading {
  margin-bottom: 6px !important;
}
#stage .sr-accordion-card .st-n,
#stage .sr-accordion-card .sr-mini-step > span:first-child,
#stage .sr-accordion-card .sr-cro-heading > span:first-child {
  display: none;
}
#stage .sr-accordion-card .st-t,
#stage .sr-accordion-card > .sr-mini-step,
#stage .sr-accordion-card > .sr-cro-heading {
  font-family: proxima-nova, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: normal;
  font-size: 20px;
  font-size-adjust: 0.533;
  font-variation-settings: normal;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: -0.3px;
  color: #1e293b;
}
#stage .sr-accordion-card > .sr-accordion-body {
  display: block;
  padding: 0;
  box-sizing: border-box;
}
#stage .sr-accordion-card .sr-step-flag {
  margin-left: 0;
}
#stage .v1n-bright b,
#stage
  .v1n-bright
  :is(
    [style*='font-weight: 700'],
    .w-bright-17,
    .w-bright-22,
    .w-design-6,
    .w-designs-1,
    .w-left-5,
    .w-views-1,
    .w-views-8
  ) {
  font-weight: 500;
}
#stage .sr-accordion-body .lbl,
#stage .sr-accordion-body label:not(.sr-choice):not(.sr-addon) {
  font-weight: 500 !important;
}
#stage .sr-accordion-body b,
#stage .sr-accordion-body strong {
  font-weight: 600 !important;
}
#stage .sr-accordion-card > .sr-accordion-body > .sr-choice-list:last-child,
#stage .sr-accordion-card > .sr-accordion-body > .sr-addon-list:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  #stage .sr-step-flag {
    font-size: 11px;
    padding: 0;
  }
  #stage .sr-cro-heading .sr-step-flag {
    margin-left: auto;
  }
  #stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }
  #stage :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] {
    width: 100%;
    min-width: 0;
  }
  #stage .sr-accordion-card > .sr-accordion-head {
    gap: 5px;
    padding: 0;
  }
  #stage .sr-accordion-card > .sr-accordion-body {
    padding: 0;
  }
  #stage .sr-addon {
    grid-template-columns: 22px 80px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }
  #stage .sr-addon-img {
    width: 78px;
    height: 78px;
  }
  #stage .sr-addon .sr-choice-price {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }
  #stage .sr-addon-select {
    grid-column: 3 / 4;
  }
}
#stage.dev-m .sr-mini-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-top: 22px;
  border-top: 1px solid #e6e7ee;
  font:
    800 19px/1.2 Montserrat,
    sans-serif;
  color: #1c2040;
}
#stage.dev-m .sr-mini-step span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c2040;
  color: #fff;
  font:
    800 15px/1 Montserrat,
    sans-serif;
}
#stage.dev-m .sr-cro-heading {
  font-size: 19px;
}
#stage.dev-m .sr-cro-heading > span {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 15px;
}
#stage.dev-m .sr-addon {
  grid-template-columns: 22px 80px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}
#stage.dev-m .sr-addon-img {
  width: 78px;
  height: 78px;
}
#stage.dev-m .sr-addon .sr-choice-price {
  grid-column: 3;
  grid-row: 2;
  justify-self: start;
  text-align: left;
}
#stage.dev-m .sr-addon-select {
  grid-column: 3 / 4;
}
#stage.dev-m .sr-design-field {
  width: calc(100vw - 32px);
  max-width: calc(100vw - 32px);
}
#stage.dev-m .sr-orientation {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ============================================================ 5. Form: headings, labels, brightness rows */
/* Shared form language from the supplied checkout references. */
#stage .sr-orientation {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #d8dee7;
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}
#stage .sr-choice-list {
  border: 1px solid #c7d0dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
#stage .sr-choice {
  padding: 14px 16px;
  border: 0;
  background: #fff;
}
#stage .sr-choice > input[type='radio'] {
  accent-color: #17213b;
}
#stage .sr-choice + .sr-choice {
  border-top: 1px solid #d8dee7;
}
#stage .sr-choice:has(input:checked) {
  background: #f3f5f8;
  box-shadow: none;
}
#stage #v1-s2 [role='radiogroup']:has(.opt2) {
  border: 1px solid #c7d0dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
#stage #v1-s2 .opt2,
#stage #v1-s2 .opt2:first-child,
#stage #v1-s2 .opt2:last-child {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#stage #v1-s2 .opt2 + .opt2 {
  border-top: 1px solid #d8dee7 !important;
}
#stage #v1-s2 .opt2[aria-checked='true'] {
  background: #f3f5f8;
  box-shadow: none;
}
#stage #v1-s2 .sr-constellation-choice-wrap .opt2[aria-checked='true'] {
  background: #fff;
}
#stage .sr-addon-list {
  gap: 0;
  border: 1px solid #c7d0dc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
#stage .sr-addon {
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
#stage .sr-addon + .sr-addon {
  border-top: 1px solid #d8dee7;
}
#stage .sr-addon:has(input:checked) {
  background: #fff;
  box-shadow: none;
}
#stage .sr-addon > input[type='checkbox'] {
  appearance: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #aab5c5;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
#stage .sr-addon > input[type='checkbox']:checked {
  border-color: #168a51;
  background: #168a51;
}
#stage .sr-addon > input[type='checkbox']:checked::after {
  content: '\2713';
  color: #fff;
  font:
    700 14px/1 Arial,
    sans-serif;
}
#stage .sr-more-addons-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 50px;
  margin: 4px 0 0;
  padding: 10px 2px;
  border: 0;
  background: transparent;
  color: #3f4a60;
  font:
    400 14px/1.35 Arial,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
#stage .sr-more-addons-toggle:hover {
  color: #17213b;
}
#stage .sr-more-addons-toggle:focus-visible {
  outline: 2px solid #4e5d73;
  outline-offset: 3px;
}
#stage .sr-more-addons-toggle strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #17213b;
  font-weight: 500;
  white-space: nowrap;
}
#stage .sr-more-addons-toggle strong::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.16s ease;
}
#stage .sr-more-addons-toggle[aria-expanded='true'] strong::after {
  transform: translateY(2px) rotate(225deg);
}
#stage .sr-more-addons {
  margin-top: 0;
}
#stage .sr-more-addons[hidden] {
  display: none;
}
#stage .sr-float-field {
  position: relative;
  display: block;
}
#stage .sr-float-field .sr-floating-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 14px;
  max-width: calc(100% - 28px);
  margin: 0 !important;
  color: #737b89 !important;
  font:
    400 16px/1.2 Arial,
    sans-serif !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left top;
  transition:
    top 0.14s ease,
    transform 0.14s ease,
    font-size 0.14s ease,
    color 0.14s ease;
}
#stage .sr-float-field .sr-floating-input {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #c7d0dc !important;
  border-radius: 10px;
  background: #fff;
  color: #17213b !important;
  font:
    400 16px/1.2 Arial,
    sans-serif !important;
  box-shadow: none;
}
#stage .sr-float-field:focus-within .sr-floating-label,
#stage .sr-float-field.has-value .sr-floating-label {
  top: 7px;
  color: #687286 !important;
  font-size: 12px !important;
  transform: none;
}
#stage .sr-float-field:focus-within .sr-floating-input,
#stage .sr-float-field.has-value .sr-floating-input {
  padding-top: 20px !important;
  padding-bottom: 7px !important;
}
#stage .sr-float-field .sr-floating-input:focus {
  outline: 0;
  border-color: #4e5d73 !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #4e5d73 !important;
}
#stage .sr-float-field .b-count {
  transition: opacity 0.14s ease;
}
#stage .sr-float-field:not(.has-value):not(:focus-within) .b-count {
  opacity: 0;
}
#stage .sr-place-block {
  position: relative;
  min-width: 0;
}
#stage .sr-place-field {
  position: relative;
  z-index: 5;
  min-width: 0;
}
#stage .sr-place-block:focus-within .sr-place-field {
  z-index: 30;
}
#stage .sr-place-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  max-height: 300px;
  overflow: hidden;
  border: 1px solid #c7d0dc;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 33, 59, 0.15);
}
#stage .sr-place-options[hidden] {
  display: none;
}
#stage .sr-place-rows {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
#stage .sr-place-credit {
  flex: none;
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px 6px;
  border-top: 1px solid #e2e7ee;
  background: #fff;
}
#stage .sr-place-credit[hidden] {
  display: none;
}
#stage .sr-place-credit img {
  display: block;
  width: auto;
  height: 16px;
}
#stage .sr-place-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #e2e7ee;
  background: #fff;
  color: #17213b;
  font:
    400 15px/1.35 Arial,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
#stage .sr-place-option:last-child {
  border-bottom: 0;
}
#stage .sr-place-option:hover,
#stage .sr-place-option.is-active {
  background: #f3f6f8;
}
#stage .sr-place-option:focus-visible {
  outline: 0;
  box-shadow: inset 3px 0 #17213b;
}
#stage .sr-place-pin {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1.5px solid #607089;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
#stage .sr-place-pin::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #607089;
}
#stage .sr-place-empty {
  padding: 12px 14px;
  color: #687286;
  font:
    400 14px/1.4 Arial,
    sans-serif;
}
#stage .sr-message-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 8px;
}
#stage .sr-message-section-label {
  color: #1e293b;
  font:
    500 14px/1.3 Arial,
    sans-serif;
}
#stage .sr-message-entry {
  position: relative;
  min-width: 0;
}
#stage .sr-message-suggestion {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #314a70;
  font:
    500 14px/1.3 Arial,
    sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
#stage .sr-message-suggestion:hover {
  color: #17213b;
}
#stage .sr-message-suggestion:focus-visible {
  outline: 2px solid #4e5d73;
  outline-offset: 3px;
  border-radius: 2px;
}
#stage .v1n-ml {
  margin-top: 10px;
}
#stage .v1n-mlr {
  align-items: center;
}
#stage .v1n-mlr > .inp-wrap {
  position: relative;
  min-width: 0;
}
#stage .v1n-mlr > .btn-o {
  border: 0;
  background: transparent;
  color: #596176;
  font-size: 20px;
  font-weight: 400;
}
#stage .v1n-mlr > [data-v1mlrm='0'] {
  display: none;
}

/* Match the checkout section-heading typography used in the supplied reference. */
#stage .v1n-right .st-t,
#stage .v1n-right .sr-mini-step,
#stage .v1n-right .sr-cro-heading,
#stage .v1m-cfg .st-t,
#stage .v1m-cfg .sr-mini-step,
#stage .v1m-cfg .sr-cro-heading {
  color: #1e293b;
  font-family: proxima-nova, sans-serif !important;
  font-feature-settings: normal;
  font-size: 20px;
  font-size-adjust: 0.533;
  font-variation-settings: normal;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: -0.3px;
}
#stage .sr-float-field .inp-wrap {
  position: static;
}
#stage .sr-float-field .b-ncount {
  top: 50%;
  transform: translateY(-50%);
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: 12px;
  row-gap: 18px;
  align-items: start;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-name-field {
  grid-column: 1;
  min-width: 0;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-date-field {
  grid-column: 2;
  min-width: 0;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-message-field {
  grid-column: 1 / -1;
  min-width: 0;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-date-field .sr-floating-input {
  width: 100%;
  max-width: none;
}

/* Brightness stays side by side, with the same clear checked-state language as other choices. */
#stage #v1-s2 .v1n-bright-h {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
#stage #v1-s2 .v1n-bright-h .lbl {
  margin: 0 !important;
  color: #1e293b;
  font:
    500 15px/1.35 Arial,
    sans-serif !important;
}
#stage #v1-s2 .v1n-bright-s {
  margin: 0;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  overflow: visible;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  box-shadow: none;
  overflow: visible;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label::before {
  content: '';
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked) {
  border-color: #9fcbb4;
  background: #f5faf7;
  box-shadow: inset 0 0 0 1px rgba(22, 138, 81, 0.12);
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked)::before {
  content: '';
  border-color: #168a51;
  background: #168a51;
  box-shadow: inset 0 0 0 5px #fff;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.15) !important;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] input:focus-visible {
  outline: 0 !important;
}
@media (max-width: 700px) {
  #stage .sr-message-heading {
    gap: 12px;
  }
  #stage .sr-message-suggestion {
    font-size: 13px;
  }
  #stage #v1-s2 .v1n-bright [role='radiogroup'],
  #stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  #stage #v1-s2 .v1n-bright [role='radiogroup'] > label,
  #stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
    gap: 6px;
    padding: 7px;
  }
  #stage #v1-s2 .v1n-bright [role='radiogroup'] > label::before {
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    font-size: 12px;
  }
}
@media (max-width: 900px) {
  #stage .sr-choice,
  #stage.dev-m .sr-choice {
    padding: 12px;
  }
  #stage .sr-addon,
  #stage.dev-m .sr-addon {
    padding: 12px;
  }
  #stage .sr-orientation-toggle {
    align-items: flex-start;
  }
  #stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  #stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-name-field,
  #stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > .sr-date-field {
    grid-column: 1;
  }
}

/* ============================================================ 6. Design system: tokens, rows, selected state */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --sr-ink: #17213b; /* titles, prices, selected outlines, radios */
  --sr-muted: #596176; /* help text and descriptions */
  --sr-green: #16713a; /* "Included" / "Free" prices */
  --sr-error: #a12622;
  --sr-error-border: #b33a3a;
  --sr-error-bg: #fdf1f0;
  --sr-border: #c7d0dc; /* field and card borders */
  --sr-hairline: #e3e7ee; /* image frames */
  --sr-selected: #f3f5f8; /* selected row / card fill */
  --sr-badge-bg: #f4e4b7;
  --sr-badge-ink: #5b4614;
  --sr-canvas: #eef0f4; /* page background around the product block */

  --sr-font-heading: proxima-nova, 'Helvetica Neue', Arial, sans-serif;
  --sr-font-ui: Arial, sans-serif;

  --sr-gap-head: 6px; /* section heading -> help line */
  --sr-gap-help: 16px; /* help line -> content */
  --sr-gap-substep: 24px; /* space above a sub-step heading */
  --sr-row-pad: 14px 16px;
  --sr-row-gap: 14px;
  --sr-thumb: 76px; /* every option-row image: same box, picture fills it */
  --sr-control: 24px; /* radios and checkboxes in option rows */
  --sr-form-bg: #f4f6f9; /* form column behind the section cards */
  --sr-card-pad: 24px;
  --sr-card-gap: 16px;
  --sr-card-radius: 14px;
  --sr-row-pad-x: 16px;
  --sr-label: #687286;
  /* where option text starts inside a row: padding + control + gap (+ image + gap) */
  --sr-text-indent-noimg: calc(var(--sr-row-pad-x) + var(--sr-control) + var(--sr-row-gap));
  --sr-text-indent: calc(var(--sr-row-pad-x) + var(--sr-control) + var(--sr-row-gap) * 2 + var(--sr-thumb));
}
@media (max-width: 520px) {
  :root {
    --sr-row-pad: 12px;
    --sr-row-gap: 10px;
    --sr-thumb: 60px;
    --sr-card-pad: 16px 12px;
    --sr-card-gap: 12px;
    --sr-row-pad-x: 12px;
  }
}

/* 2. Page canvas ------------------------------------------------------------ */
body,
#stage.dev-d,
#stage.dev-d .sky {
  background: var(--sr-canvas);
}
#stage.dev-d .sky > main.v1n {
  margin: 32px auto !important;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.05),
    0 12px 32px rgba(16, 24, 40, 0.06);
}
#stage.dev-m .scr-root > div {
  background: #fff;
}
/* every section: heading -> 6px -> one help line -> 16px -> content */
#stage .sr-accordion-card > .sr-accordion-head {
  margin: 0 0 var(--sr-gap-head) !important;
}
#stage .v1m-design {
  margin-top: 0;
}
/* required star sits right after the title; "Optional" is a small pill */
#stage .sr-cro-heading .sr-step-flag,
#stage .sr-accordion-card .sr-step-flag {
  margin-left: 6px;
  align-self: center;
}
#stage .sr-step-flag:not(.required) {
  padding: 2px 7px;
  border-radius: 99px;
  background: #eef1f5;
  color: var(--sr-muted);
  font: 600 11px/1.3 var(--sr-font-ui);
}
/* sub-steps inside a section (constellation, brightness, physical gift): smaller heading, no divider */
#stage #v1-s2 .v1n-bright-h .lbl,
#stage #v1-s2 .sr-constellation-field > .lbl {
  display: block;
  font: 600 16px/1.3 var(--sr-font-heading) !important;
  color: var(--sr-ink) !important;
}
#stage #v1-s2 .sr-constellation-field > .lbl {
  margin: var(--sr-gap-substep) 0 12px !important;
}
#stage #v1-s2 .v1n-bright {
  margin-top: var(--sr-gap-substep) !important;
}
#stage #v1-s2 .v1n-bright-h {
  gap: 4px;
  margin: 0 0 12px !important;
}
#stage #v1-s2 .v1n-bright-s {
  margin: 0 0 12px;
  color: var(--sr-muted) !important;
  font: 400 13px/1.4 var(--sr-font-ui) !important;
}
#stage #v1-s2 .v1n-bright-s {
  margin: 0;
}
#stage .sr-physical-options {
  padding-top: 0;
  border-top: 0;
}
/* one grid everywhere: control | image | text | price */
#stage .sr-choice,
#stage.dev-m .sr-choice,
#stage :is(.sr-poster-choice, .sr-card-choice) > .sr-choice-main,
#stage .sr-addon,
#stage.dev-m .sr-addon {
  grid-template-columns: var(--sr-control) var(--sr-thumb) minmax(0, 1fr) auto !important;
  gap: var(--sr-row-gap) !important;
  min-height: 0;
  padding: var(--sr-row-pad) !important;
  align-items: center;
}
#stage .sr-choice:is(.sr-poster-choice, .sr-card-choice),
#stage.dev-m .sr-choice:is(.sr-poster-choice, .sr-card-choice) {
  padding: 0 !important;
}
#stage #v1-s2 .opt2 {
  padding: var(--sr-row-pad) !important;
  gap: var(--sr-row-gap) !important;
}
#stage #v1-s2 .opt2 input {
  margin: 0;
}
#stage .sr-choice-copy,
#stage.dev-m .sr-choice-copy {
  grid-column: 3;
  grid-row: 1;
}
#stage .sr-choice-price,
#stage.dev-m .sr-choice-price,
#stage .sr-addon .sr-choice-price,
#stage.dev-m .sr-addon .sr-choice-price {
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}
#stage .sr-addon-select,
#stage.dev-m .sr-addon-select {
  grid-column: 3 / 5;
}
/* text styles shared by every row */
#stage .sr-choice-title,
#stage #v1-s2 .opt2 > span:first-of-type > b {
  color: var(--sr-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
#stage .sr-choice-desc,
#stage #v1-s2 .opt2-s {
  color: var(--sr-muted) !important;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
#stage .sr-choice-price,
#stage #v1-s2 .opt2-p {
  color: var(--sr-ink);
  font-size: 15px;
  font-weight: 600 !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#stage .sr-choice-price.free,
#stage #v1-s2 .opt2-p:is(.w-bright-17, .w-opt2-2, .w-s2-1) {
  color: var(--sr-green) !important;
}
@media (max-width: 520px) {
  #stage .sr-choice-price,
  #stage #v1-s2 .opt2-p {
    font-size: 14px !important;
  }
}
/* controls: navy, 20px, same position in every row */
#stage .v1n-right input[type='radio'],
#stage .v1m-cfg input[type='radio'],
#stage #v1-s2 .opt2 input,
#stage .sr-orientation input {
  accent-color: var(--sr-ink) !important;
}
#stage .sr-addon > input[type='checkbox'],
#stage .sr-choice > input[type='checkbox'] {
  width: 20px;
  height: 20px;
}
#stage .sr-addon > input[type='checkbox']:checked,
#stage .sr-choice > input[type='checkbox']:checked {
  border-color: var(--sr-ink);
  background: var(--sr-ink);
}

/* 5. Brightness cards: same radio, title, price, description as the rows ----- */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label {
  background: #fff;
  border: 1px solid var(--sr-border);
  box-shadow: none;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked)::before,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true']::before {
  border-color: var(--sr-ink);
  box-shadow: inset 0 0 0 5px #fff;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b {
  font-size: 15px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span {
  font-variant-numeric: tabular-nums;
}
#stage
  #v1-s2
  .v1n-bright
  [role='radiogroup']
  > label
  > span:is(
    .w-bright-18,
    .w-design-10,
    .w-design-4,
    .w-design-6,
    .w-design-8,
    .w-designs-1,
    .w-designs-3,
    .w-designs-5,
    .w-left-5,
    .w-views-1,
    .w-views-4
  ) {
  color: var(--sr-muted);
  font-size: 13px;
}

/* 6. Selected state: light fill for rows; cards also get a navy outline -------- */
#stage .sr-choice:has(input:checked),
#stage :is(.sr-poster-choice, .sr-card-choice):has(> .sr-choice-main input:checked),
#stage .sr-addon:has(input:checked),
#stage #v1-s2 .opt2[aria-checked='true'],
#stage #v1-s2 .sr-constellation-choice-wrap:has(.opt2[aria-checked='true']),
#stage #v1-s2 .sr-constellation-choice-wrap .opt2[aria-checked='true'],
#stage #v1-s2 .sr-constellation-choice-wrap .b-constel {
  background: var(--sr-selected) !important;
  box-shadow: none;
}

/* ============================================================ 7. Design system: images, errors, panels */
/* every row image fills the same rounded box (like the brightness skies), inside a hairline frame */
#stage .sr-choice-img,
#stage.dev-m .sr-choice-img,
#stage .sr-addon-img,
#stage.dev-m .sr-addon-img {
  box-sizing: border-box;
  width: var(--sr-thumb);
  height: var(--sr-thumb);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sr-hairline);
  border-radius: 8px;
  background: #fff;
}
#stage .sr-choice-img img,
#stage .sr-addon-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border-radius: 0;
}
/* one badge: Recommended, Most popular, Best for gifting */
#stage .sr-choice-badge {
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--sr-badge-bg);
  color: var(--sr-badge-ink);
  font: 700 11px/1.4 var(--sr-font-ui) !important;
  letter-spacing: 0;
  text-transform: none;
}
/* the constellation picker looks like every other field */
#stage .sr-constellation-trigger {
  min-height: 52px;
  border-color: var(--sr-border);
  font-size: 16px;
}
#stage .sr-constellation-trigger:hover {
  border-color: #8a97aa !important;
}
#stage .sr-constellation-trigger:focus-visible,
#stage .sr-constellation-select.is-open .sr-constellation-trigger {
  border-color: var(--sr-ink) !important;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12);
}
/* inputs with a character counter keep text clear of it */
#stage .inp-wrap:has(.b-count) > .inp {
  padding-right: 58px !important;
}

/* 9. Errors + summary ------------------------------------------------------------------ */
#stage .sr-field-error:empty,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-field-error:empty {
  display: none;
}
#stage .sr-field-error,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-field-error {
  min-height: 0;
  margin: 6px 0 0;
  color: var(--sr-error);
  font-size: 12px;
  font-weight: 700;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-cro-input[aria-invalid='true'],
#stage .inp.is-err,
#stage .sr-constellation-trigger.is-err {
  border-color: var(--sr-error-border);
}
#stage .sr-cta-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--sr-error-bg);
  color: var(--sr-error);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
#stage .sr-cta-error[hidden],
#stage .sr-more-addons-toggle [data-cro-more-count][hidden] {
  display: none;
}
#stage .sr-summary-line.is-free b {
  color: var(--sr-green);
}

/* constellation: one panel, no divider or second tone, aligned with the option text */
#stage #v1-s2 .sr-constellation-choice-wrap .b-constel {
  margin: 0;
  padding: 0 var(--sr-row-pad-x) var(--sr-row-pad-x) var(--sr-text-indent-noimg);
  border: 0;
}
#stage .sr-constellation-form-card,
#stage .sr-constellation-form-card > div {
  display: grid;
  gap: 12px;
}
/* floating-label fields that are buttons or selects look exactly like the text inputs */
#stage .sr-constellation-trigger {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  min-height: 52px;
  margin: 0;
  padding: 20px 40px 7px 14px !important;
  border: 1px solid var(--sr-border) !important;
  border-radius: 10px;
  background-color: #fff;
  color: var(--sr-ink);
  font: 400 16px/1.2 var(--sr-font-ui) !important;
  text-align: left;
}
#stage .sr-constellation-trigger .sr-field-label {
  position: absolute;
  top: 7px;
  left: 14px;
  color: var(--sr-label);
  font: 400 12px/1.2 var(--sr-font-ui);
  pointer-events: none;
  z-index: 1;
  transition:
    top 0.15s,
    font-size 0.15s;
}
/* empty picker: the label sits in the middle at full size, like an empty text field */
#stage .sr-constellation-select:not(.has-value) .sr-field-label {
  top: 16px;
  font-size: 16px;
}
#stage .sr-constellation-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* one chevron for both pickers: thin, muted, pointing down (up while the picker is open) */
#stage .sr-constellation-chevron {
  position: absolute;
  top: 50%;
  right: 18px;
  margin-top: -6px;
  transform: rotate(45deg);
}
#stage .sr-constellation-select.is-open .sr-constellation-chevron {
  margin-top: -2px;
  transform: rotate(225deg) !important;
}
#stage #v1-s2 .b-constel .err:empty {
  display: none;
}

/* poster: the selected row shows the entered details and an edit link in its text column */
#stage :is(.sr-poster-choice, .sr-card-choice) :is(.sr-poster-open, .sr-card-open) {
  display: none;
}
#stage
  :is(.sr-poster-choice, .sr-card-choice):has(> .sr-choice-main input:checked)
  :is(.sr-poster-open, .sr-card-open) {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  width: auto;
  min-height: 0;
  margin: calc(var(--sr-row-gap) * -1 + 4px) var(--sr-row-pad-x) 0 var(--sr-text-indent);
  padding: 0 0 var(--sr-row-pad-x);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sr-ink);
  font: 400 13px/1.4 var(--sr-font-ui);
  text-align: left;
  cursor: pointer;
}
#stage .sr-poster-summary {
  color: var(--sr-muted);
}
#stage .sr-poster-summary:empty {
  display: none;
}
#stage .sr-poster-edit {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
#stage :is(.sr-poster-open, .sr-card-open):hover .sr-poster-edit {
  text-decoration-thickness: 2px;
}
#stage :is(.sr-poster-open, .sr-card-open):focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
}
#stage .sr-poster-error {
  margin: 0 var(--sr-row-pad-x) var(--sr-row-pad-x) var(--sr-text-indent) !important;
}

/* gallery: the Poster thumbnail behaves like the other thumbnails */
#stage.dev-m .sr-poster-thumb {
  align-items: stretch;
}
#stage.dev-m .sr-poster-thumb-label {
  text-align: left;
}
#stage .sr-poster-thumb[aria-pressed='true'] .sr-poster-thumb-label {
  font-weight: 700 !important;
}
#stage .sr-poster-thumb[hidden] {
  display: none;
}

/* Gallery thumbnails (certificate views + Night Sky Poster): one portrait box for all, and the active one
   gets the same navy frame drawn inside its own edge, so it is never clipped and never changes size */
#stage [data-opt^='view:'] > span:first-child,
#stage .sr-poster-thumb-media {
  aspect-ratio: 3 / 4;
  height: auto;
  box-sizing: border-box;
  border: 1px solid #e6e7ee;
  outline: 0 !important;
  box-shadow: none;
}
#stage [data-opt^='view:'] > span:first-child > img {
  width: 100% !important;
  height: 100% !important;
}
#stage [data-opt^='view:'][aria-pressed='true'] > span:first-child,
#stage .sr-poster-thumb[aria-pressed='true'] .sr-poster-thumb-media {
  border-color: var(--sr-ink, #1c2040);
  box-shadow: inset 0 0 0 1px var(--sr-ink, #1c2040) !important;
}
/* the poster picture keeps the poster on top: the frame stays above it */
#stage .sr-poster-thumb-media::after,
#stage [data-opt^='view:'] > span:first-child::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
#stage [data-opt^='view:'][aria-pressed='true'] > span:first-child::after,
#stage .sr-poster-thumb[aria-pressed='true'] .sr-poster-thumb-media::after {
  box-shadow: inset 0 0 0 2px var(--sr-ink, #1c2040);
}
/* desktop: a narrower thumbnail column, so the portrait thumbnails are smaller (was 104px) */
#stage.dev-d .v1n-left {
  grid-template-columns: 80px minmax(0, 1fr);
}
/* desktop, landscape certificate: the thumbnails move into a row under the picture, so the wide
   picture gets the full column width */
#stage.dev-d .v1n-left:has(> .pv:is([style*='297 / 210'], .w-designs-6)) {
  grid-template-columns: minmax(0, 1fr) !important;
}
#stage.dev-d .v1n-left:has(> .pv:is([style*='297 / 210'], .w-designs-6)) > * {
  grid-column: 1 !important;
}
#stage.dev-d .v1n-left > .pv:is([style*='297 / 210'], .w-designs-6) {
  grid-row: 1 !important;
  width: min(100%, calc((100vh - 300px) * 297 / 210)) !important;
}
#stage.dev-d
  .v1n-left:has(> .pv:is([style*='297 / 210'], .w-designs-6))
  > [aria-label='Choose what the large picture shows'] {
  grid-row: 2 !important;
  flex-direction: row !important;
  justify-content: center;
  gap: 10px !important;
  max-height: none !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
#stage.dev-d
  .v1n-left:has(> .pv:is([style*='297 / 210'], .w-designs-6))
  > [aria-label='Choose what the large picture shows']
  > button {
  flex: 0 0 64px;
  width: 64px;
}

/* One invalid style for every field: text inputs, selects, textareas, the date picker button and the
   constellation trigger, on the page and in the slide-outs. Red border at rest, on hover and while focused
   (with a soft red focus ring), so an error never turns back into the navy focus style. "html body" lifts it
   over the older hover/focus rules (sections 1 and 2). */
html
  body
  :is(#stage, .sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer)
  :is(
    input:not([type='checkbox']):not([type='radio']),
    select,
    textarea,
    .sr-date-trigger,
    .sr-constellation-trigger
  ):is([aria-invalid='true'], .is-err),
html
  body
  :is(#stage, .sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer)
  :is(
    input:not([type='checkbox']):not([type='radio']),
    select,
    textarea,
    .sr-date-trigger,
    .sr-constellation-trigger
  ):is([aria-invalid='true'], .is-err):hover {
  border-color: var(--sr-error-border);
}
html
  body
  :is(#stage, .sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer)
  :is(
    input:not([type='checkbox']):not([type='radio']),
    select,
    textarea,
    .sr-date-trigger,
    .sr-constellation-trigger
  ):is([aria-invalid='true'], .is-err):is(:focus, :focus-visible),
html body .sr-date-enhanced.is-open .sr-date-trigger.is-err {
  outline: 0;
  border-color: var(--sr-error-border);
  box-shadow: 0 0 0 3px rgba(179, 58, 58, 0.16) !important;
}

/* Personalization: name and date side by side, each error message under its own field */
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > :is(.sr-name-field, .sr-date-field) {
  grid-row: 1;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > :is(#err-name, #err-date) {
  grid-row: 2;
  margin-top: -12px;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > #err-name {
  grid-column: 1;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > #err-date {
  grid-column: 2;
}
#stage .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body > :is(#err-name, #err-date):empty {
  display: none;
}
@media (max-width: 900px) {
  #stage
    .sr-accordion-card[data-sr-step='2']
    > .sr-accordion-body
    > :is(.sr-name-field, .sr-date-field, #err-name, #err-date) {
    grid-row: auto;
    grid-column: 1;
  }
}
#stage.dev-m
  .sr-accordion-card[data-sr-step='2']
  > .sr-accordion-body
  > :is(.sr-name-field, .sr-date-field, #err-name, #err-date) {
  grid-row: auto;
  grid-column: 1;
}
/* mobile in a wide window (Portal): one full-width column, not the desktop name + 260px date grid */
#stage.dev-m .sr-accordion-card[data-sr-step='2'] > .sr-accordion-body {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 14px;
}
/* the template's .err messages look like every other field error */
#stage .err[id^='err-'] {
  margin: 6px 0 0;
  color: var(--sr-error);
  font-size: 12px;
  font-weight: 700;
}

/* ============================================================ 8. Design system: slide-outs, section cards */

/* the page behind blurs while a slide-out is open */
.sr-poster-drawer-backdrop,
.sr-constellation-backdrop {
  background: rgba(15, 22, 40, 0.28);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    backdrop-filter 0.2s ease,
    -webkit-backdrop-filter 0.2s ease,
    opacity 0.2s ease !important;
}
:is(.sr-poster-drawer, .sr-card-drawer).is-open .sr-poster-drawer-backdrop,
.sr-constellation-drawer:not([hidden]) .sr-constellation-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* header: title with the price on the right, like an option row */
.sr-poster-editor > header {
  align-items: flex-start;
}
.sr-poster-head-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.sr-poster-editor > header > div {
  flex: 1;
  min-width: 0;
}
.sr-poster-editor-fields {
  display: grid;
  gap: 12px;
}

/* fields: identical to the floating-label inputs in the form */
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field {
  position: relative;
  display: block;
  margin: 0;
}
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field .sr-floating-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 14px;
  max-width: calc(100% - 28px);
  margin: 0;
  color: #737b89;
  font: 400 16px/1.2 var(--sr-font-ui) !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transform: translateY(-50%);
  transition:
    top 0.14s ease,
    transform 0.14s ease,
    font-size 0.14s ease;
}
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field .sr-floating-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  height: 52px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 400 16px/1.2 var(--sr-font-ui) !important;
  box-shadow: none;
}
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field:focus-within .sr-floating-label,
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field.has-value .sr-floating-label {
  top: 7px;
  color: var(--sr-label) !important;
  font-size: 12px !important;
  transform: none;
}
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field:focus-within .sr-floating-input,
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field.has-value .sr-floating-input {
  padding-top: 20px !important;
  padding-bottom: 7px !important;
}
:is(.sr-poster-drawer, .sr-card-drawer, .sr-ai-drawer) .sr-float-field .sr-floating-input:focus {
  outline: 0;
  border-color: #4e5d73 !important;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 4px #4e5d73 !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-cro-input[aria-invalid='true'] {
  border-color: var(--sr-error-border) !important;
}

/* checkbox rows: same checkbox, title and description as the add-on rows */
.sr-poster-message-toggle,
.sr-poster-frame-choice {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--sr-hairline);
  cursor: pointer;
}
.sr-poster-frame-choice {
  grid-template-columns: 20px 44px minmax(0, 1fr) auto;
}
.sr-poster-frame-choice[hidden] {
  display: none !important;
}
.sr-poster-message-toggle input,
.sr-poster-frame-choice input {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1px solid #aab5c5;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}
.sr-poster-message-toggle input:checked,
.sr-poster-frame-choice input:checked {
  border-color: var(--sr-ink);
  background: var(--sr-ink);
}
.sr-poster-message-toggle input:checked::after,
.sr-poster-frame-choice input:checked::after {
  content: '¹3';
  color: #fff;
  font:
    700 14px/1 Arial,
    sans-serif;
}
.sr-poster-message-toggle input:focus-visible,
.sr-poster-frame-choice input:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.24);
  outline-offset: 3px;
}
.sr-poster-message-toggle b,
.sr-poster-frame-copy b {
  display: block;
  color: var(--sr-ink);
  font: 600 15px/1.3 var(--sr-font-ui);
}
.sr-poster-message-toggle small,
.sr-poster-frame-copy small {
  display: block;
  margin-top: 2px;
  font: 400 13px/1.4 var(--sr-font-ui);
}
.sr-poster-frame-choice > strong {
  font: 600 15px/1.2 var(--sr-font-ui);
  font-variant-numeric: tabular-nums;
}
/* the message field appears only when "Add a personal message" is ticked */
.sr-poster-message-field {
  display: none;
}
.sr-poster-message-toggle:has(input:checked) + .sr-poster-message-field {
  display: block;
}

/* footer: one primary action in the brand navy */
.sr-poster-editor > footer {
  display: block;
}
.sr-poster-save,
.sr-poster-next {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--sr-ink) !important;
  color: #fff;
  font: 700 16px/1 var(--sr-font-ui);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.sr-poster-save:hover,
.sr-poster-next:hover {
  background: #24304f !important;
}
.sr-poster-save:focus-visible,
.sr-poster-next:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 3px;
}
.sr-poster-editor-fields {
  align-content: start;
  grid-auto-rows: max-content;
}
.sr-poster-frame-choice {
  min-height: 0;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--sr-hairline);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.sr-poster-frame-choice > strong {
  color: var(--sr-ink) !important;
}
/* Every step is its own white card on a tinted form column, numbered in order of what is shown. */
#stage .v1n-right,
#stage .v1m-cfg {
  counter-reset: sr-step;
}
#stage .v1n-right {
  background: var(--sr-form-bg);
  border-left: 1px solid #e6e9ef;
}
#stage.dev-m .v1n.v1m {
  background: var(--sr-form-bg);
}
#stage .sr-accordion-card,
#stage .sr-order-summary {
  box-sizing: border-box;
  margin: 0 0 var(--sr-card-gap);
  padding: var(--sr-card-pad) !important;
  border: 1px solid #e3e7ee !important;
  border-radius: var(--sr-card-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
#stage .sr-accordion-card[hidden],
#stage .sr-wrap-section[hidden],
#stage .sr-addon-section[hidden] {
  display: none;
}
#stage .sr-order-summary {
  margin-bottom: 0 !important;
}
/* containers that only group cards add no spacing of their own */
#stage .v1n-right > .sr-cro-form,
#stage .v1m-cfg > .sr-cro-form,
#stage #v1-s4,
#stage #v1-s5 {
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
}
/* step number before each section title */
#stage .sr-accordion-card {
  counter-increment: sr-step;
}
#stage .sr-accordion-card > .sr-accordion-head {
  display: flex;
  align-items: center !important;
}
#stage .sr-accordion-card > .sr-accordion-head::before {
  content: counter(sr-step);
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--sr-ink);
  color: #fff;
  font: 700 14px/1 var(--sr-font-ui);
}
/* blocks that used to span the full mobile width now fit inside their card */
#stage .sr-accordion-body > .sr-design-field,
#stage .sr-design-field div {
  box-sizing: border-box;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
#stage .sr-design-field [data-sr-design-list] {
  width: 100%;
}
/* add-on variant selects (Gold / Silver, sign, model) use the shared field look */
#stage .sr-addon-select select {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23556176' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat calc(100% - 16px) 50% / 12px 8px !important;
  color: var(--sr-ink);
  font: 400 15px/1.2 var(--sr-font-ui) !important;
  cursor: pointer;
}
#stage .sr-addon-select select:focus-visible {
  outline: 0;
  border-color: var(--sr-ink) !important;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12) !important;
}

/* the constellation option's description sits right under its title, like every other option */
#stage #v1-s2 .sr-constellation-choice-wrap .opt2 {
  row-gap: 0 !important;
}
/* phone: all 6 designs on one row, 4 in view, swipe for the rest (beats the 3-column grid in section 4) */
#stage.dev-m :is(#v1-s1, .sr-m-designs) [data-sr-design-list] {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding: 4px 3px 8px !important;
}
#stage.dev-m :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] {
  flex: 0 0 calc((100% - 24px) / 4);
  width: auto !important;
  scroll-snap-align: start;
}

/* ============================================================ 9. Design system: checkboxes, date field, quantity pills */
/* 14. Checkboxes + date picker ------------------------------------------------------------------ */
:root {
  --sr-check: #23804f; /* filled checkbox */
  --sr-check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.4l2.9 2.9 6.1-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* one checkbox everywhere: rounded square, filled green with a white tick when checked */
#stage .sr-check-row > input[type='checkbox'],
#stage .sr-addon > input[type='checkbox'],
#stage .sr-choice > input[type='checkbox'],
.sr-poster-message-toggle input[type='checkbox'],
.sr-poster-frame-choice input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 24px;
  width: 24px !important;
  height: 24px !important;
  margin: 0;
  border: 1.5px solid #aab5c5;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
#stage .sr-check-row > input[type='checkbox']:checked,
#stage .sr-addon > input[type='checkbox']:checked,
#stage .sr-choice > input[type='checkbox']:checked,
.sr-poster-message-toggle input[type='checkbox']:checked,
.sr-poster-frame-choice input[type='checkbox']:checked {
  border-color: var(--sr-check);
  background: var(--sr-check) var(--sr-check-icon) center / 14px 14px no-repeat !important;
}
#stage .sr-check-row > input[type='checkbox']:checked::after,
#stage .sr-addon > input[type='checkbox']:checked::after,
#stage .sr-choice > input[type='checkbox']:checked::after,
.sr-poster-message-toggle input[type='checkbox']:checked::after,
.sr-poster-frame-choice input[type='checkbox']:checked::after {
  content: none;
}
#stage .sr-check-row > input[type='checkbox']:focus-visible,
#stage .sr-addon > input[type='checkbox']:focus-visible,
#stage .sr-choice > input[type='checkbox']:focus-visible,
.sr-poster-message-toggle input[type='checkbox']:focus-visible,
.sr-poster-frame-choice input[type='checkbox']:focus-visible {
  outline: 3px solid rgba(35, 128, 79, 0.28) !important;
  outline-offset: 2px;
}
#stage .sr-addon,
#stage.dev-m .sr-addon {
  grid-template-columns: var(--sr-control) var(--sr-thumb) minmax(0, 1fr) auto;
}
.sr-poster-message-toggle {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}
.sr-poster-frame-choice {
  grid-template-columns: 24px 44px minmax(0, 1fr) auto;
}

/* landscape orientation: a bordered checkbox row with title and description */
#stage .sr-orientation {
  margin: 4px 0 0; /* close under the design thumbnails */
  padding: 14px 16px !important;
  border: 1px solid var(--sr-border) !important;
  border-radius: 10px;
  background: #fff;
}
#stage .sr-orientation:has(input:checked) {
  background: var(--sr-selected) !important;
}
#stage .sr-check-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}
#stage .sr-check-copy b {
  display: block;
  color: var(--sr-ink);
  font: 600 15px/1.3 var(--sr-font-ui);
}
#stage .sr-check-copy small {
  display: block;
  margin-top: 2px;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}

/* date field: looks like every other field; the native input stays hidden and holds the value */
.sr-date-native {
  display: none;
}
.sr-date-enhanced {
  position: relative;
}
.sr-date-trigger {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 20px 44px 7px 14px;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 400 16px/1.2 var(--sr-font-ui);
  text-align: left;
  cursor: pointer;
}
.sr-date-enhanced:not(.has-value) .sr-date-trigger {
  padding-top: 12px;
  padding-bottom: 12px;
}
.sr-date-trigger:hover {
  border-color: #8a97aa;
}
.sr-date-trigger:focus-visible,
.sr-date-enhanced.is-open .sr-date-trigger {
  outline: 0;
  border-color: var(--sr-ink);
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12);
}
.sr-date-trigger.is-err {
  border-color: var(--sr-error-border);
}
.sr-date-icon {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #556176;
  transform: translateY(-50%);
}
.sr-date-enhanced .sr-floating-label {
  z-index: 3;
}

/* calendar popover */
.sr-datepicker {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  box-sizing: border-box;
  width: 316px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border: 1px solid var(--sr-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.16);
  color: var(--sr-ink);
  font-family: var(--sr-font-ui);
}
.sr-datepicker[hidden] {
  display: none;
}
.sr-dp-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sr-dp-nav {
  position: relative;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.sr-dp-nav:hover:not(:disabled) {
  background: var(--sr-selected);
}
.sr-dp-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.sr-dp-nav span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -2px;
  border-bottom: 1.8px solid var(--sr-ink);
  border-left: 1.8px solid var(--sr-ink);
  transform: rotate(45deg);
}
.sr-dp-nav.is-next span {
  margin-left: -6px;
  transform: rotate(-135deg);
}
.sr-dp-select {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--sr-border);
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23556176' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat calc(100% - 10px) 50% / 10px 6px;
  color: var(--sr-ink);
  font: 600 14px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-dp-select.is-year {
  flex: 0 0 84px;
}
.sr-dp-select:focus-visible,
.sr-dp-nav:focus-visible,
.sr-dp-today:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 1px;
}
.sr-dp-week,
.sr-dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.sr-dp-week {
  margin: 12px 0 4px;
}
.sr-dp-week span {
  color: var(--sr-muted);
  font: 600 12px/24px var(--sr-font-ui);
  text-align: center;
}
.sr-dp-day {
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--sr-ink);
  font: 400 14px/1 var(--sr-font-ui);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.sr-dp-day:hover:not(:disabled) {
  background: var(--sr-selected);
}
.sr-dp-day.is-today {
  box-shadow: inset 0 0 0 1px var(--sr-border);
  font-weight: 700;
}
.sr-dp-day[aria-pressed='true'] {
  background: var(--sr-ink) !important;
  color: #fff;
  font-weight: 700;
}
.sr-dp-day:disabled {
  color: #c3c9d3;
  cursor: default;
}
.sr-dp-day:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 1px;
}
.sr-dp-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sr-hairline);
}
.sr-dp-today {
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--sr-ink);
  font: 700 13px/1 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* old step summaries ("their chosen place · …") are not part of the card design */
#stage .st-sum {
  display: none;
}
/* the registration date sits in the right half on desktop: open the calendar towards the left */
#stage.dev-d .sr-date-field .sr-datepicker {
  left: auto;
  right: 0;
}
#stage.dev-m .sr-date-field .sr-datepicker {
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
}
@media (max-width: 760px) {
  .sr-poster-drawer .sr-datepicker {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
}
@media (max-width: 600px) {
  .sr-date-field .sr-datepicker {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
}

/* radios in option rows are the same size as the checkboxes */
#stage .sr-choice > input[type='radio'],
#stage .sr-choice-main > input[type='radio'],
#stage #v1-s2 .opt2 > input[type='radio'] {
  flex: 0 0 var(--sr-control);
  width: var(--sr-control) !important;
  height: var(--sr-control) !important;
  margin: 0;
}

/* 15. Quantity stepper on add-ons (gift sets, frames, gift boxes) -------------------------------- */
#stage .sr-addon-qty {
  grid-column: 3 / 5;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}
#stage .sr-addon:not(:has(> input:checked)) .sr-addon-qty {
  display: none;
}
#stage .sr-qty-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 600 18px/1 var(--sr-font-ui);
  cursor: pointer;
}
#stage .sr-qty-btn:hover:not(:disabled) {
  border-color: #8a97aa;
}
#stage .sr-qty-btn:disabled {
  color: #b9c0cb;
  cursor: default;
}
#stage .sr-qty-btn:focus-visible {
  outline: 0;
  border-color: var(--sr-ink);
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12);
}
#stage .sr-qty-value {
  min-width: 22px;
  color: var(--sr-ink);
  font: 700 16px/1 var(--sr-font-ui);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

/* poster checkbox rows: descriptions use the shared muted colour (beats the older brown) */
.sr-poster-message-toggle small,
.sr-poster-frame-copy small {
  color: var(--sr-muted) !important;
}

/* Make it special on a digital order (lockAddons in core.js): only the first two
   add-ons show, faded, under an overlay with the upgrade button; the rest of the list and "Show more" are hidden */
#stage .sr-addon-section.is-locked .sr-addon-list:not(.sr-more-addons) {
  position: relative;
}
#stage
  .sr-addon-section.is-locked
  .sr-addon-list:not(.sr-more-addons)
  > .sr-addon:nth-child(n + 3 of .sr-addon),
#stage .sr-addon-section.is-locked .sr-more-addons,
#stage .sr-addon-section.is-locked [data-cro-show-more] {
  display: none;
}
#stage .sr-addon-section.is-locked .sr-addon {
  filter: grayscale(0.4);
  opacity: 0.75;
}
#stage .sr-addon-section:not(.is-locked) .sr-addon-lock {
  display: none;
}
#stage .sr-addon-lock {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(1.5px);
  text-align: center;
}
#stage .sr-addon-lock-t {
  margin: 0;
  color: var(--sr-ink, #1c2040);
  font: 700 15px/1.35 var(--sr-font-ui, inherit);
}
#stage .sr-addon-lock-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--sr-ink, #1c2040);
  color: #fff;
  font: 700 14px/1.2 var(--sr-font-ui, inherit);
  cursor: pointer;
}
#stage .sr-addon-lock-btn span {
  opacity: 0.8;
  font-weight: 600;
}
#stage .sr-addon-lock-btn:hover {
  background: #2c3260;
}
#stage .sr-addon-lock-btn:focus-visible {
  outline: 3px solid rgba(28, 32, 64, 0.35);
  outline-offset: 2px;
}

/* the Night Sky Poster and greeting card rows wrap their checkbox in a <label class="sr-choice-main">:
   same green checkbox as every other row */
#stage .sr-choice-main > input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid #aab5c5;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}
#stage .sr-choice-main > input[type='checkbox']:checked {
  border-color: var(--sr-check);
  background: var(--sr-check) var(--sr-check-icon) center / 14px 14px no-repeat !important;
}
#stage .sr-choice-main > input[type='checkbox']:checked::after {
  content: none;
}
#stage .sr-choice-main > input[type='checkbox']:focus-visible {
  outline: 3px solid rgba(35, 128, 79, 0.28) !important;
  outline-offset: 2px;
}
/* Night Sky Poster has no help line: its box keeps the same 16px from the title as the other sections */
#stage .sr-accordion-body > .sr-map-block {
  margin-top: 16px;
}

/* ============================================================ 10. Design system: slide-out width, brightness rows */
/* both slide-outs are a compact two-column panel: preview on the left, controls on the right */
.sr-constellation-drawer-panel {
  display: grid;
  grid-template-columns: 360px minmax(0, 460px);
  grid-template-rows: auto minmax(0, 1fr);
  width: min(820px, calc(100vw - 24px));
}
.sr-constellation-drawer-panel > .sr-cp-preview {
  grid-column: 1;
  grid-row: 1 / 3;
}
.sr-constellation-drawer-panel > .sr-constellation-drawer-header,
.sr-constellation-drawer-panel > .sr-constellation-menu {
  grid-column: 2;
  min-width: 0;
}
/* fixed two-column poster editor only where it fits; phones keep the stacked layout (preview above the form) */
@media (min-width: 761px) {
  .sr-poster-drawer-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    width: min(1060px, calc(100vw - 24px));
  }
}

/* the night-sky preview */
.sr-cp-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  min-height: 0;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.45) 0 1px, transparent 1.6px),
    radial-gradient(circle at 64% 42%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 24% 58%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.6px),
    radial-gradient(circle at 88% 66%, rgba(255, 255, 255, 0.35) 0 1px, transparent 1.6px),
    radial-gradient(circle at 40% 8%, rgba(255, 255, 255, 0.3) 0 0.8px, transparent 1.4px),
    radial-gradient(ellipse at 50% 38%, #2a3470 0%, #121a44 55%, #0a0f2c 100%);
  color: #fff;
}
.sr-cp-sky {
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 0;
  color: #fff;
}
.sr-cp-sky svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(160, 190, 255, 0.55));
}
.sr-cp-sky line {
  stroke: rgba(205, 220, 255, 0.75);
  stroke-width: 0.45;
}
.sr-cp-sky circle {
  fill: #fff;
}
.sr-cp-sky.is-empty {
  opacity: 0.35;
}
.sr-cp-info {
  display: grid;
  gap: 6px;
}
.sr-cp-kicker {
  color: rgba(214, 222, 245, 0.8);
  font: 700 11px/1.3 var(--sr-font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sr-cp-info h3 {
  margin: 0;
  color: #fff;
  font: 600 26px/1.15 var(--sr-font-heading);
}
.sr-cp-vis {
  margin: 0;
  color: #fff;
  font: 600 14px/1.4 var(--sr-font-ui);
}
.sr-cp-vis.is-all {
  color: #8fe0b0;
}
.sr-cp-detail {
  margin: 0;
  color: rgba(214, 222, 245, 0.85);
  font: 400 13px/1.45 var(--sr-font-ui);
}

/* phones: the preview becomes a short sky strip above the list */
@media (max-width: 760px) {
  .sr-constellation-drawer-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    width: 100vw !important;
  }
  .sr-constellation-drawer-panel > .sr-cp-preview {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
  }
  .sr-constellation-drawer-panel > .sr-constellation-drawer-header {
    grid-row: 2;
    grid-column: 1;
  }
  .sr-constellation-drawer-panel > .sr-constellation-menu {
    grid-row: 3;
    grid-column: 1;
  }
  .sr-cp-sky {
    flex: 0 0 104px;
    height: 72px;
  }
  .sr-cp-info h3 {
    font-size: 20px;
  }
  .sr-cp-detail {
    display: none;
  }
}

/* one header + close button for every slide-out */
.sr-constellation-drawer-header,
.sr-poster-editor > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--sr-hairline);
}
.sr-constellation-drawer-header h2,
.sr-poster-editor > header h2 {
  margin: 0;
  color: var(--sr-ink);
  font: 600 22px/1.25 var(--sr-font-heading) !important;
  letter-spacing: 0;
}
.sr-constellation-drawer-header p,
.sr-poster-editor > header p {
  margin: 4px 0 0;
  color: var(--sr-muted);
  font: 400 14px/1.4 var(--sr-font-ui) !important;
}
.sr-constellation-close,
.sr-poster-drawer-close {
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 400 24px/1 var(--sr-font-ui) !important;
  cursor: pointer;
}
.sr-constellation-close:hover,
.sr-poster-drawer-close:hover {
  border-color: #8a97aa !important;
}
.sr-constellation-close:focus-visible,
.sr-poster-drawer-close:focus-visible {
  outline: 0;
  border-color: var(--sr-ink) !important;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12);
}
@media (max-width: 760px) {
  .sr-constellation-drawer-header,
  .sr-poster-editor > header {
    padding: 16px 16px 14px !important;
  }
  .sr-constellation-drawer-header h2,
  .sr-poster-editor > header h2 {
    font-size: 20px !important;
  }
}
/* brightness: the same list rows as every other choice, with the sky as the row image */
#stage #v1-s2 .v1n-bright [role='radiogroup'],
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] {
  display: grid;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  position: relative;
  display: grid;
  grid-template-columns: var(--sr-control) var(--sr-thumb) minmax(0, 1fr) auto;
  grid-template-areas:
    'ctl img badge price'
    'ctl img title price'
    'ctl img desc price';
  grid-template-rows: auto auto auto;
  align-content: center;
  row-gap: 0;
  min-width: 0;
  box-shadow: none;
  cursor: pointer;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  border-top: 1px solid #d8dee7;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true'],
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked) {
  background: var(--sr-selected) !important;
  box-shadow: none !important;
}
/* the radio (drawn as ::before) sits in the control column like a real radio */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label::before {
  position: static;
  grid-area: ctl;
  align-self: center;
  width: var(--sr-control);
  height: var(--sr-control);
  border: 1.5px solid #8a97aa !important;
  background: #fff;
  box-shadow: none;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked)::before,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true']::before {
  border-color: var(--sr-ink);
  background: var(--sr-ink) !important;
  box-shadow: inset 0 0 0 5px #fff;
}
/* the night sky becomes the row thumbnail */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] {
  grid-area: img;
  align-self: center;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span:has(> b) {
  display: contents;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b {
  grid-area: title;
  align-self: end;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span {
  grid-area: price;
  align-self: center;
  justify-self: end;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span:last-child {
  grid-area: desc;
  align-self: start;
  margin-top: 2px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > .sr-bright-badge {
  position: static !important;
  grid-area: badge;
  justify-self: start;
  margin: 0 0 5px !important;
}

/* sale price tags: struck-through "was" price above the current price */
#stage .has-was,
:is(.sr-poster-drawer, .sr-card-drawer) .has-was {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  line-height: 1.15;
}
#stage .sr-was,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-was {
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}
/* summary: was-price before each line price, savings line, struck-through total */
#stage .sr-summary-line b .sr-was {
  margin-right: 6px;
}
#stage .sr-summary-saving {
  display: flex;
  justify-content: space-between;
  margin: 2px 0 10px;
  color: var(--sr-green);
  font: 700 14px/1.3 var(--sr-font-ui);
}
#stage .sr-summary-saving span {
  font-weight: 600;
}
#stage .sr-summary-saving[hidden] {
  display: none;
}
#stage .sr-summary-total {
  align-items: baseline;
}
#stage .sr-summary-total .sr-total-was {
  margin-left: auto;
  margin-right: 10px;
  font-size: 16px;
}
#stage .sr-summary-total .sr-total-was:empty {
  display: none;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true'],
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked) {
  border-color: #d8dee7 !important;
}

/* 20. Keyboard focus on custom radio rows (constellation choice, brightness) ------------------------ */
#stage #v1-s2 .opt2[role='radio']:focus-visible,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[role='radio']:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.35) !important;
  outline-offset: -3px !important;
}
/* brightness: the list clips its rows to the rounded corners; badge beside the title, so rows never jump */
#stage #v1-s2 .v1n-bright [role='radiogroup'] {
  overflow: hidden;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  grid-template-columns: var(--sr-control) var(--sr-thumb) max-content minmax(0, 1fr) auto;
  grid-template-areas:
    'ctl img title badge price'
    'ctl img desc desc price';
  grid-template-rows: auto auto;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > .sr-bright-badge {
  grid-area: badge;
  justify-self: start;
  align-self: end; /* same row line as the title, whatever the row height */
  margin: 0 0 1px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > .sr-bright-desc {
  grid-area: desc;
  align-self: start;
  margin-top: 2px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > .chkb {
  display: none;
}

/* constellation option: radio, title and the two-line sale price share one centre line */
#stage #v1-s2 .sr-constellation-choice-wrap .opt2 {
  align-items: center !important;
}

/* poster slide-out: message and frame are bordered checkbox cards, like "Landscape version" */
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle,
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice {
  margin: 4px 0 0;
  padding: 14px 16px !important;
  border: 1px solid var(--sr-border) !important;
  border-radius: 10px !important;
  background: #fff !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-toggle:has(input:checked),
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-frame-choice:has(input:checked) {
  background: var(--sr-selected) !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-field {
  margin-top: 4px;
}

/* "New" label on the landscape option */
#stage .sr-new-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--sr-badge-bg);
  color: var(--sr-badge-ink);
  font: 700 11px/1.4 var(--sr-font-ui);
  vertical-align: 2px;
}

/* quantity: one pill  − 1 +  the same height as the dropdowns (48px) */
#stage .sr-addon-qty {
  grid-row: 2;
  display: flex;
}
#stage .sr-qty-pill {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  height: 48px;
  box-sizing: border-box;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
}
#stage .sr-qty-pill .sr-qty-btn {
  width: 44px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sr-ink);
  font: 500 20px/1 var(--sr-font-ui);
}
#stage .sr-qty-pill .sr-qty-btn:hover:not(:disabled) {
  background: #f1f3f7;
}
#stage .sr-qty-pill .sr-qty-btn:disabled {
  color: #b9c0cb;
}
#stage .sr-qty-pill .sr-qty-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.16);
}
#stage .sr-qty-pill .sr-qty-value {
  min-width: 28px;
  font: 600 16px/1 var(--sr-font-ui);
}

/* variant add-ons: one line per variant: [dropdown][quantity][remove], then "+ Add another" */
#stage .sr-addon:has(> input:checked) .sr-addon-select {
  display: grid !important;
  grid-row: 2;
  gap: 8px;
}
#stage .sr-variant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 40px;
  align-items: center;
  gap: 8px;
}
#stage .sr-variant select {
  min-width: 0;
}
#stage .sr-variant-remove {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sr-muted);
  font: 400 24px/1 var(--sr-font-ui);
  cursor: pointer;
}
#stage .sr-variant-remove:hover {
  background: #f1f3f7;
  color: var(--sr-ink);
}
#stage .sr-variant-remove[hidden] {
  display: grid;
  visibility: hidden;
}
#stage .sr-variant-add {
  justify-self: start;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 14px/1.3 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#stage .sr-variant-add[hidden] {
  display: none !important;
}
#stage .sr-variant-remove:focus-visible,
#stage .sr-variant-add:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
}

/* 22. No product title, price or rating bar above the gallery ------------------------------------------ */
#stage .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
/* 23. Place status line: icon and text share one centre line (the 8px gap belongs to the row, not the text) */
#stage .sr-place-status-copy {
  margin-top: 0 !important;
  line-height: 16px;
}

/* ============================================================ 11. Badges, poster preview, AI writer buttons (the writer is css/modules/ai-writer.css) */
/* AI message writer slide-out, lives outside #stage, same look as the poster editor */
/* header, steps, scrolling body, footer */
/* occasions: two-column tiles */
/* chips: who, tone, length */
/* text fields */
/* step 3: summary, ideas, tweaks */
@keyframes sr-ai-shimmer {
  to {
    background-position: -200% 0;
  }
}
/* footer: secondary Back, primary navy action */
/* phones: one column, the ideas themselves show the text */

/* "Write it with AI" link above the message field */
#stage .sr-message-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sr-ink);
  font-weight: 600;
}
#stage .sr-message-suggestion svg {
  color: #b8860b;
}

/* the poster photo has wide white margins of its own: zoom it so the poster fills the box like the others */
#stage .sr-poster-choice .sr-choice-img img {
  transform: scale(1.45);
}
/* the greeting card photo is already cut to the card on white: show it whole, not zoomed */
#stage .sr-card-choice .sr-choice-img img {
  object-fit: contain !important;
  transform: none;
}
/* popular = green, rare = purple, value = blue, premium = navy + gold, new = yellow */
#stage .sr-choice-badge.is-popular {
  background: #e3f1e8 !important;
  color: #1e6b3e !important;
}
#stage .sr-choice-badge.is-rare {
  background: #ece6fa;
  color: #5536a0;
}
#stage .sr-choice-badge.is-premium {
  background: var(--sr-ink) !important;
  color: #f4d27a !important;
}
#stage .sr-new-badge {
  background: #fbe7a1;
  color: #6b4e00;
}
/* phones: variant lines and the stepper use the full row width under the image */
@media (max-width: 520px) {
  #stage .sr-addon .sr-addon-select,
  #stage.dev-m .sr-addon .sr-addon-select,
  #stage .sr-addon .sr-addon-qty,
  #stage.dev-m .sr-addon .sr-addon-qty {
    grid-column: 1 / -1 !important;
  }
  #stage .sr-qty-pill .sr-qty-btn {
    width: 40px;
  }
}

/* Poster editor preview: as large as the pane allows (height-led, keeps the A4 shape), and framed when the
   frame is chosen: a black wooden frame round the print, like the one that ships. */
.sr-poster-preview-pane {
  padding: 56px 32px 24px;
}
.sr-poster-drawer-preview {
  width: auto;
  height: min(calc(100vh - 120px), 760px);
  max-width: 100%;
  max-height: none;
  transition:
    padding 0.18s ease,
    box-shadow 0.18s ease;
}
.sr-poster-drawer-preview.is-framed {
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #2a2c31 0%, #111216 45%, #1d1f24 100%);
}
@media (max-width: 760px) {
  .sr-poster-drawer-preview {
    height: 100%;
  }
  .sr-poster-drawer-preview.is-framed {
    padding: 9px;
  }
}

/* 26. Add-on quantity lines: tighter, controls sit close under the title, 44px high */
#stage .sr-addon:has(> input:checked),
#stage.dev-m .sr-addon:has(> input:checked) {
  row-gap: 8px !important;
}
#stage .sr-addon:has(> input:checked) .sr-addon-select {
  gap: 6px;
}
#stage .sr-addon-select select {
  height: 44px;
}
#stage .sr-qty-pill {
  height: 44px;
}
#stage .sr-qty-pill .sr-qty-btn {
  width: 40px;
  height: 42px;
}
#stage .sr-variant {
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto 32px;
}
#stage .sr-variant-remove {
  width: 32px;
  height: 32px;
}
#stage .sr-variant-add {
  min-height: 24px;
  font-size: 13px;
}
#stage .sr-addon-qty {
  margin-top: 0;
}

/* 27. Poster drawer preview: fills its pane at the A4 shape; the frame is a white mat inside a black wooden
   frame drawn round the print (shadows, so the print itself never changes size or shape). */
.sr-poster-drawer-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42%) !important;
}
.sr-poster-preview-pane {
  container-type: size;
  gap: 12px;
  padding: 52px 20px 16px;
  --sr-frame: 0px;
}
.sr-poster-preview-pane:has(.sr-poster-drawer-preview.is-framed) {
  --sr-mat: 26px;
  --sr-wood: 14px;
  --sr-frame: calc(var(--sr-mat) + var(--sr-wood));
}
.sr-poster-drawer-preview,
.sr-poster-drawer-preview.is-framed {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: min(
    calc(100cqw - 2 * var(--sr-frame)),
    calc((100cqh - 32px - 2 * var(--sr-frame)) * 210 / 297)
  ) !important;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 210 / 297;
  margin: var(--sr-frame) 0;
  padding: 0;
  background: #000;
  transition:
    margin 0.18s ease,
    width 0.18s ease,
    box-shadow 0.18s ease;
}
.sr-poster-drawer-preview.is-framed {
  box-shadow:
    0 0 0 var(--sr-mat) #fbfaf7,
    0 0 0 calc(var(--sr-mat) + 1px) #d9d6cf,
    0 0 0 var(--sr-frame) #17181b,
    0 calc(var(--sr-frame) * 0.5) calc(var(--sr-frame) + 24px) rgba(15, 20, 30, 0.35) !important;
}
.sr-poster-drawer-preview.is-framed > svg {
  box-shadow: none !important;
}
@media (max-width: 760px) {
  .sr-poster-drawer-panel {
    grid-template-columns: 1fr !important;
    grid-template-rows: minmax(300px, 52vh) minmax(0, 1fr) !important;
  }
  .sr-poster-preview-pane {
    padding: 44px 16px 10px !important;
  }
  .sr-poster-preview-pane:has(.sr-poster-drawer-preview.is-framed) {
    --sr-mat: 12px;
    --sr-wood: 8px;
  }
}

/* the poster thumbnail: a small framed poster on a soft wall, in the same square slot as every other row */
#stage .sr-poster-choice .sr-poster-wall {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f4efe7 0%, #e2d8c8 100%) !important;
}
#stage .sr-poster-choice .sr-poster-mini {
  display: block;
  box-sizing: border-box;
  height: 80%;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  border: 2px solid #1c1c1f;
  border-radius: 1px;
  background: #000;
  box-shadow:
    0 1px 2px rgba(40, 30, 20, 0.25),
    0 5px 12px rgba(40, 30, 20, 0.28);
}
#stage .sr-poster-choice .sr-poster-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
}
/* the "New" flag on a section heading looks like the yellow "New" label on the landscape option */
#stage .sr-step-flag.is-new {
  padding: 1px 6px !important;
  border-radius: 4px;
  background: #fbe7a1 !important;
  color: #6b4e00 !important;
  font: 700 11px/1.4 var(--sr-font-ui) !important;
}

/* ============================================================ 12. Brightness guide: shared parts (the slide-out is css/modules/brightness.css) */
/* Brightness guide: "How brightness works" link + slide-out */
#stage .v1n-bright .sr-bright-help {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
  vertical-align: bottom;
  white-space: nowrap;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 13px/1.3 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#stage .v1n-bright .sr-bright-help svg {
  width: 14px;
  height: 14px;
}
#stage .v1n-bright .sr-bright-help:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}
/* the three options: sky picture + facts; picking one here chooses it in the form */
/* where they look from x option */

/* Brightness recommendation for the chosen city */
#stage .sr-choice-badge.is-recommended {
  white-space: normal;
}

/* "A brighter star is easier to find together… How brightness works" sits under the brightness options
   (moved there by init()) */
#stage #v1-s2 .v1n-bright > .v1n-bright-s,
#stage .v1n-bright > .v1n-bright-s {
  display: block;
  margin: 10px 0 0 !important;
}

/* ============================================================ 13. Night Sky Poster editor, AI writer layout */
/* 30. Poster drawer preview: "A4 format" above, 21 cm along the bottom and 29.7 cm up the left side,
   drawn as dimension lines just outside the print (outside the frame too when it is framed) */
.sr-poster-preview-pane {
  --sr-dim: 30px;
}
.sr-poster-sized {
  position: relative;
  flex: 0 0 auto;
  margin: calc(var(--sr-frame) + var(--sr-dim)) calc(var(--sr-frame) + var(--sr-dim));
  transition: margin 0.18s ease;
}
.sr-poster-sized > .sr-poster-drawer-preview,
.sr-poster-sized > .sr-poster-drawer-preview.is-framed {
  width: min(
    calc(100cqw - 2 * var(--sr-frame) - 2 * var(--sr-dim)),
    calc((100cqh - 32px - 2 * var(--sr-frame) - 2 * var(--sr-dim)) * 210 / 297)
  ) !important;
  margin: 0;
}
.sr-size-top {
  position: absolute;
  bottom: calc(100% + var(--sr-frame) + 8px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--sr-ink);
  font: 700 12px/1 var(--sr-font-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.sr-size-w,
.sr-size-h {
  position: absolute;
  display: grid;
  place-items: center;
  border-color: #8a93a5;
  border-style: solid;
  border-width: 0;
  pointer-events: none;
}
/* bottom: a line with end ticks, the width written on it */
.sr-size-w {
  top: calc(100% + var(--sr-frame) + 14px);
  left: 0;
  right: 0;
  height: 0;
  border-top-width: 1px;
}
.sr-size-w::before,
.sr-size-w::after,
.sr-size-h::before,
.sr-size-h::after {
  content: '';
  position: absolute;
  background: #8a93a5;
}
.sr-size-w::before,
.sr-size-w::after {
  top: -5px;
  width: 1px;
  height: 9px;
}
.sr-size-w::before {
  left: 0;
}
.sr-size-w::after {
  right: 0;
}
/* left: the same, running up the side */
.sr-size-h {
  right: calc(100% + var(--sr-frame) + 14px);
  top: 0;
  bottom: 0;
  width: 0;
  border-left-width: 1px;
}
.sr-size-h::before,
.sr-size-h::after {
  left: -5px;
  width: 9px;
  height: 1px;
}
.sr-size-h::before {
  top: 0;
}
.sr-size-h::after {
  bottom: 0;
}
.sr-size-w > span,
.sr-size-h > span {
  padding: 2px 6px;
  background: #f1efea;
  color: #4a5368;
  font: 600 12px/1 var(--sr-font-ui);
  white-space: nowrap;
}
.sr-size-w > span {
  transform: translateY(-50%);
}
.sr-size-h > span {
  transform: translateX(-50%) rotate(-90deg);
  margin-left: 1px;
}
@media (max-width: 760px) {
  .sr-poster-preview-pane {
    --sr-dim: 24px;
  }
  .sr-size-w {
    top: calc(100% + var(--sr-frame) + 11px);
  }
  .sr-size-h {
    right: calc(100% + var(--sr-frame) + 11px);
  }
  .sr-size-w > span,
  .sr-size-h > span {
    font-size: 11px;
  }
}

/* 31. Poster drawer: sections (place and date / personal message / frame), message lines, AI writer link */
.sr-poster-editor-fields {
  gap: 0;
}
.sr-poster-sec {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--sr-hairline);
}
.sr-poster-sec:first-child {
  padding-top: 0;
  border-top: 0;
}
.sr-poster-sec:last-child {
  padding-bottom: 4px;
}
.sr-poster-sec:has(.sr-poster-frame-choice[hidden]) {
  display: none !important;
}
.sr-poster-sec > .sr-field-error:empty {
  display: none;
}
.sr-poster-sec-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: var(--sr-ink);
  font: 700 17px/1.3 var(--sr-font-heading);
}
.sr-poster-sec-h small {
  color: var(--sr-muted);
  font: 400 13px/1.3 var(--sr-font-ui);
}
.sr-poster-sec-s {
  margin: -8px 0 2px;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}
.sr-poster-sec .sr-poster-message-toggle,
.sr-poster-sec .sr-poster-frame-choice {
  margin: 0 !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-message-field {
  gap: 10px;
}
:is(.sr-poster-drawer, .sr-card-drawer)
  .sr-poster-editor-fields:has([data-cro-poster-message-toggle]:checked)
  .sr-poster-message-field {
  display: grid;
}
.sr-poster-msg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}
.sr-poster-msg-head > span {
  color: var(--sr-ink);
  font: 500 14px/1.3 var(--sr-font-ui);
}
.sr-poster-ai {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 14px/1.3 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
.sr-poster-ai svg {
  color: #b8860b;
}
.sr-poster-lines {
  display: grid;
  gap: 8px;
}
/* every line is full width; the remove × sits inside the field, right of the character count */
.sr-poster-line {
  position: relative;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-line .sr-floating-input {
  padding-right: 58px !important;
}
:is(.sr-poster-drawer, .sr-card-drawer) .sr-poster-line:has(.sr-poster-line-remove) .sr-floating-input {
  padding-right: 96px !important;
}
.sr-poster-line:has(.sr-poster-line-remove) .sr-poster-count {
  right: 50px;
}
.sr-poster-count {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--sr-label);
  font: 400 12px/1 var(--sr-font-ui);
  transform: translateY(-50%);
  pointer-events: none;
}
.sr-poster-line-remove {
  position: absolute;
  top: 50%;
  right: 8px;
  z-index: 3;
  transform: translateY(-50%);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sr-muted);
  font: 400 24px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-poster-line-remove:hover {
  background: #f1f3f7;
  color: var(--sr-ink);
}
.sr-poster-add-line {
  justify-self: start;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 14px/1.3 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sr-poster-copy {
  margin: 4px 0 14px;
}
.sr-poster-copy[hidden] {
  display: none !important;
}
.sr-poster-copy > span {
  min-width: 0;
}
.sr-poster-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sr-poster-add-line[hidden] {
  display: none;
}
.sr-poster-ai:focus-visible,
.sr-poster-add-line:focus-visible,
.sr-poster-line-remove:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 32. AI writer: versions on the left, steps + fine-tune on the right (phones: versions inside step 3) */
/* fine-tune: the selected version as editable text */

/* AI writer: a hairline under the header, as in the other slide-outs */
/* no versions yet: no "Your versions" column, the panel is just the steps (the writer sets .has-versions).
   When the first versions arrive the panel widens to the left, so the column slides out from behind the
   editor, and its content fades in just after. */
@media (min-width: 761px) {
  /* the column keeps its own width while it opens, so the cards don't squeeze and reflow */
}
/* "Use certificate date": shown under the poster date once the customer picked a date of their own */
.sr-poster-date-link {
  justify-self: start;
  margin: -6px 0 0;
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--sr-navy, #1d2b4f);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sr-poster-date-link[hidden] {
  display: none;
}
/* where the poster's place and date come from (syncPosterSource) */
.sr-poster-drawer .sr-float-field:has(> .sr-poster-custom) {
  position: relative;
}
.sr-poster-custom {
  position: absolute;
  top: -9px;
  right: 12px;
  z-index: 2;
  padding: 1px 8px;
  pointer-events: none;
  border-radius: 999px;
  background: #fff4d6;
  color: #7a5200;
  font: 600 11px/1.5 var(--sr-font-ui);
  letter-spacing: 0.02em;
}
.sr-poster-custom[hidden] {
  display: none;
}
.sr-poster-change {
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-navy, #1d2b4f);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ============================================================ 14. "What's included": shared parts (the slide-out is css/modules/included.css) */
/* "What's included" slide-out + the clickable row pictures that open it */
#stage .sr-choice-img[data-included] {
  position: relative;
  cursor: zoom-in;
  transition: box-shadow 0.15s ease;
}
#stage .sr-choice-img[data-included]::after {
  content: 'i';
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 3px rgba(15, 20, 30, 0.3);
  color: var(--sr-ink);
  font:
    italic 700 11px/1 Georgia,
    serif;
}
#stage .sr-choice-img[data-included]:hover {
  box-shadow: 0 0 0 2px var(--sr-ink);
}
#stage .sr-choice-img[data-included]:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.35);
  outline-offset: 2px;
}
/* only a title (no eyebrow, no price): it sits on the close button's centre line */
.sr-inc-close {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 400 24px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-inc-close:hover {
  border-color: #8a97aa;
}
.sr-inc-close:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
}

/* 34. Add-on + gift-wrap pictures open their details; "Star visibility guarantee"; tighter add-on rows */
#stage .sr-addon-img[data-included] {
  position: relative;
  cursor: zoom-in;
  transition: box-shadow 0.15s ease;
}
#stage .sr-addon-img[data-included]::after {
  content: 'i';
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 3px rgba(15, 20, 30, 0.3);
  color: var(--sr-ink);
  font:
    italic 700 11px/1 Georgia,
    serif;
}
#stage .sr-addon-img[data-included]:hover {
  box-shadow: 0 0 0 2px var(--sr-ink);
}
#stage .sr-addon-img[data-included]:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.35);
  outline-offset: 2px;
}
/* a ticked add-on: the picture spans the title and the controls, so the controls sit right under the text */
#stage .sr-addon:has(> input:checked):has(.sr-addon-select, .sr-addon-qty) .sr-addon-img,
#stage.dev-m .sr-addon:has(> input:checked):has(.sr-addon-select, .sr-addon-qty) .sr-addon-img {
  grid-column: 2 !important;
  grid-row: 1 / 3 !important;
  align-self: start;
}
#stage.dev-m .sr-addon:has(> input:checked):has(.sr-addon-select, .sr-addon-qty) .sr-addon-img {
  grid-row: 1 !important;
}
#stage .sr-addon > input,
#stage.dev-m .sr-addon > input {
  grid-column: 1;
  grid-row: 1;
}
#stage .sr-addon:has(> input:checked):has(.sr-addon-select, .sr-addon-qty),
#stage.dev-m .sr-addon:has(> input:checked):has(.sr-addon-select, .sr-addon-qty) {
  align-items: start !important;
  row-gap: 8px !important;
}
#stage .sr-addon:has(> input:checked) > input {
  margin-top: 10px !important;
}
#stage .sr-addon:has(> input:checked) .sr-choice-copy {
  align-self: start;
  padding-top: 4px;
}
#stage .sr-addon:has(> input:checked) .sr-choice-price {
  align-self: start;
  padding-top: 4px;
}
#stage .sr-addon .sr-addon-qty,
#stage .sr-addon:has(> input:checked) .sr-addon-select {
  align-self: end;
}

/* "Star visibility guarantee" under the place field */
#stage .sr-place-status-copy .sr-visibility-help {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: #1e6b3e;
  font: 600 13px/16px var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  cursor: pointer;
}
#stage .sr-place-status-copy .sr-visibility-help:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

/* panel parts used by add-ons and the guarantee */

/* no intro line above the list: start it right under the header */

/* visibility guarantee: one column (no gallery), the sky diagram on top, then the text and what is not covered */

/* model cards with selling points (the telescopes): what it is best for, then three ticks */

/* ============================================================ 15. Gallery zoom, full-size gallery */
/* 35. "What's included" gallery: big photos on the left, the info on the right (phones: gallery on top) */
.sr-inc-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 24px;
  background: #f1efea;
}
.sr-inc-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}
.sr-inc-stage img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  object-fit: contain;
}
.sr-inc-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid var(--sr-border);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--sr-ink);
  font: 400 30px/1 var(--sr-font-ui);
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 20, 30, 0.12);
}
.sr-inc-nav.is-prev {
  left: 12px;
}
.sr-inc-nav.is-next {
  right: 12px;
}
.sr-inc-nav:hover {
  border-color: #8a97aa;
}
.sr-inc-caption {
  margin: 0;
  color: var(--sr-ink);
  font: 600 14px/1.3 var(--sr-font-ui);
  text-align: center;
}
.sr-inc-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: thin;
}
.sr-inc-thumbs button {
  flex: 0 0 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sr-hairline);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.sr-inc-thumbs button[aria-current='true'] {
  border-color: var(--sr-ink);
  box-shadow: 0 0 0 1px var(--sr-ink);
}
.sr-inc-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sr-inc-gallery.is-single .sr-inc-nav,
.sr-inc-gallery.is-single .sr-inc-thumbs {
  display: none;
}
.sr-inc-nav:focus-visible,
.sr-inc-thumbs button:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.35);
  outline-offset: 2px;
}
/* list items and variants show their photo in the gallery */
@media (max-width: 860px) {
  .sr-inc-gallery {
    gap: 8px;
    padding: 12px 12px 10px;
  }
  .sr-inc-stage img {
    padding: 10px;
  }
  .sr-inc-caption {
    display: none;
  }
  .sr-inc-thumbs button {
    flex-basis: 48px;
    height: 48px;
  }
  .sr-inc-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}

/* 36. Constellation picker: "Visibility guarantee" badge on constellations covered for the entered place */
.sr-constellation-drawer .sr-option-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.sr-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  background: #e3f1e8;
  color: #1e6b3e;
  font: 700 11px/1.4 var(--sr-font-ui);
  white-space: nowrap;
}
.sr-cp-guarantee {
  display: flex;
  width: fit-content;
  align-items: flex-start; /* a long place name wraps under the text, the shield stays on the first line */
  gap: 8px;
  margin: 8px 0 12px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(227, 241, 232, 0.95);
  color: #1e6b3e;
  font: 700 12px/1.4 var(--sr-font-ui);
}
.sr-cp-guarantee svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* 37. Gallery pictures can be drawn artwork (the zodiac pendants); swipe on the big picture; 12-sign grid */
.sr-inc-stage {
  touch-action: pan-y;
  user-select: none;
}
/* the big picture fills the stage exactly (the stage's own height is set by the panel, not by the picture),
   so wide and tall pictures stay centred and whole on every screen */
.sr-inc-main {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template: 100% / 100%;
  place-items: center;
  container-type: size;
}
.sr-inc-main > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  object-fit: contain;
  pointer-events: none;
}
/* the drawn pendant is square: size it by the shorter side of the stage */
/* many variants (the 12 signs): a compact grid */

/* 38. Gallery zoom (click / tap the big picture, the zoomed picture follows the pointer) + model cards fit */
.sr-inc-stage {
  cursor: zoom-in;
}
.sr-inc-stage.is-zoomed {
  cursor: zoom-out;
}
.sr-inc-main {
  transition: transform 0.2s ease;
}
.sr-inc-stage.is-zoomed .sr-inc-main {
  transform: scale(2.4);
}
.sr-inc-stage.is-zoomed .sr-inc-nav {
  opacity: 0;
  pointer-events: none;
}
/* model / variant cards: the picture always stays inside its card */

/* Full-screen product gallery (openFull): the "What's included"
   gallery above (sr-inc-* classes, same arrows, zoom, caption and thumbnails), full screen, no info side;
   all white, thumbnails in a column on the left (phones: a row at the bottom), arrows beside the picture */
#stage .pv {
  cursor: zoom-in;
}
#ovl.is-lbx {
  z-index: 2147483600; /* over the price bar */
  padding: 0;
  background: #fff;
}
.lbx {
  position: fixed;
  inset: 0;
  display: flex;
}
.lbx .sr-inc-gallery {
  flex: 1;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto auto;
  grid-template-areas: 'thumbs stage' 'thumbs hint' 'thumbs caption';
  gap: 8px 24px;
  background: #fff;
}
.lbx .sr-inc-stage {
  grid-area: stage;
  border-radius: 0;
}
.lbx .sr-inc-caption {
  grid-area: caption;
}
.lbx .sr-inc-nav {
  border-color: var(--sr-border);
  box-shadow: 0 2px 10px rgba(15, 20, 30, 0.16);
}
.lbx .sr-inc-main {
  transition: transform 0.2s ease;
}
.lbx .sr-inc-stage.is-zoomed .sr-inc-main {
  transform: scale(var(--lbx-z, 2.4));
}
.lbx .sr-inc-stage {
  touch-action: none;
}
.lbx .sr-inc-stage.is-pinching .sr-inc-main {
  transition: none;
}
.lbx-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
}
.lbx-pv {
  position: relative;
  flex: none;
  overflow: hidden;
  pointer-events: none;
}
.lbx-pv > img.pv-img {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff !important;
}
.lbx .sr-inc-stage .lbx-pv img {
  padding: 0;
}
/* the slide-outs hide their strip (section 50); here it is the navigation, centred at the bottom */
.lbx .sr-inc-thumbs {
  grid-area: thumbs;
  display: flex !important;
  flex-direction: column;
  justify-content: safe center;
  overflow: hidden auto;
}
.lbx .sr-inc-thumbs button {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-color: var(--sr-border);
}
.lbx .sr-inc-thumbs button {
  position: relative;
}
.lbx .sr-inc-thumbs .th-cert {
  display: none;
}
.lbx .sr-inc-gallery.is-single .sr-inc-thumbs {
  display: none !important;
}
.lbx .sr-inc-gallery.is-single {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'stage' 'hint' 'caption';
}
@media (max-width: 860px) {
  .lbx .sr-inc-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    grid-template-areas: 'stage' 'hint' 'caption' 'thumbs';
    padding-bottom: 12px;
  }
  .lbx .sr-inc-thumbs {
    flex-direction: row;
    justify-content: safe center;
    overflow: auto hidden;
  }
  .lbx .sr-inc-thumbs button {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
  }
}

/* more than one photo of the shown item: small dots under the big picture */

/* ============================================================ 16. Greeting card row and shared drawer parts (the editor is css/modules/greeting-card.css) */
/* Greeting card: row checkbox, edit link, slide-out preview and fields */
#stage .sr-card-choice > .sr-choice-main > input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid #aab5c5;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
#stage .sr-card-choice > .sr-choice-main > input[type='checkbox']:checked {
  border-color: var(--sr-check) !important;
  background: var(--sr-check) var(--sr-check-icon) center / 14px 14px no-repeat !important;
}
#stage .sr-card-choice > .sr-choice-main > input[type='checkbox']:focus-visible {
  outline: 3px solid rgba(35, 128, 79, 0.28) !important;
  outline-offset: 2px;
}
#stage .sr-card-open.is-missing .sr-poster-edit::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #c2410c;
  vertical-align: 1px;
}
/* the printed card: A6 landscape, black with a soft light from below, gold sans-serif lettering */
/* the back: the photo of the gold star chart, cropped to the card */
/* fields: the form's floating-label fields (section above), plus the "characters left" count on the right */
:is(.sr-card-drawer, .sr-ai-drawer) .sr-float-field.is-textarea .sr-floating-input {
  display: block;
  height: auto;
  min-height: 140px !important;
  padding-top: 26px !important;
  padding-bottom: 30px !important;
  line-height: 1.45 !important;
  resize: none;
}
:is(.sr-card-drawer, .sr-ai-drawer) .sr-float-field.is-textarea .sr-floating-label {
  top: 16px;
  transform: none;
}
:is(.sr-card-drawer, .sr-ai-drawer) .sr-float-field.is-textarea:focus-within .sr-floating-label,
:is(.sr-card-drawer, .sr-ai-drawer) .sr-float-field.is-textarea.has-value .sr-floating-label {
  top: 8px;
}

/* 41. AI writer details: floating-label fields in a row, 12px apart like the form */

/* 42. AI writer, lighter: group headings like the form's "Personal message", light chips and tiles */
/* chips: thin grey outline; chosen = light tint with a dark outline (no solid fill) */
/* occasion tiles: regular weight, chosen = tint + outline, icon stays light */
/* chosen occasion on step 2: a quiet line with a link, not a pill */
/* version cards: white with dark lettering; the chosen one is tinted and outlined, with the green tick */
/* occasions: compact tiles (same 48px as the chips' rhythm), plain icon without its grey square */

/* Quantity in the poster and greeting card slide-outs: [Quantity − 1 +] next to the Save button.
   The slide-outs sit outside #stage, so the pill is styled here. */
.sr-poster-editor > footer:has(.sr-drawer-qty) {
  display: flex !important;
  align-items: center;
  gap: 16px;
}
.sr-poster-editor > footer:has(.sr-drawer-qty) .sr-poster-save,
.sr-poster-editor > footer:has(.sr-drawer-qty) .sr-poster-next {
  flex: 1;
  width: auto;
  min-width: 0;
}
.sr-drawer-qty {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}
.sr-drawer-qty-label {
  color: var(--sr-ink);
  font: 600 14px/1 var(--sr-font-ui);
}
.sr-drawer-qty .sr-qty-pill {
  display: inline-flex;
  align-items: center;
  height: 52px;
  box-sizing: border-box;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
}
.sr-drawer-qty .sr-qty-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sr-ink);
  font: 500 20px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-drawer-qty .sr-qty-btn:hover:not(:disabled) {
  background: #f1f3f7;
}
.sr-drawer-qty .sr-qty-btn:disabled {
  color: #b9c0cb;
  cursor: default;
}
.sr-drawer-qty .sr-qty-btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.16);
}
.sr-drawer-qty .sr-qty-value {
  min-width: 28px;
  color: var(--sr-ink);
  font: 600 16px/1 var(--sr-font-ui);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
@media (max-width: 420px) {
  .sr-drawer-qty-label {
    display: none;
  }
}

/* greeting card: "Use the message from the certificate" (only when the certificate has a message) */
/* poster editor footer: [Quantity − 1 +]  ...  Cancel, then the full-width "Add poster · +$9.90" */
.sr-poster-editor > footer:has(.sr-poster-cancel) {
  flex-wrap: wrap;
  row-gap: 12px;
}
.sr-poster-editor > footer:has(.sr-poster-cancel) .sr-poster-save,
.sr-poster-editor > footer:has(.sr-poster-cancel) .sr-poster-next {
  flex: 1 0 100%;
}
.sr-poster-cancel {
  margin-left: auto;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 15px/1 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sr-poster-cancel:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================ 17. Digital / Physical gift tabs, shared drawer parts (price details: css/modules/price-details.css) */
/* Price details slide-out */

/* the slide-out, same frame as the other side panels */
.sr-pd-drawer {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  isolation: isolate;
  font-family: var(--sr-font-ui);
  color: var(--sr-ink);
}
.sr-pd-drawer[hidden] {
  display: none !important;
}
.sr-pd-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(12, 20, 36, 0.52);
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: default;
}
.sr-pd-drawer.is-open .sr-pd-backdrop {
  opacity: 1;
}
.sr-pd-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(460px, calc(100vw - 40px)); /* always a side panel: on phones the page shows beside it */
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 44px rgba(15, 27, 48, 0.28);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}
.sr-pd-drawer.is-open .sr-pd-panel {
  transform: translateX(0);
}
.sr-pd-panel > header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--sr-hairline);
}
.sr-pd-panel > header > div {
  flex: 1;
  min-width: 0;
}
.sr-pd-panel h2 {
  margin: 0;
  font: 700 20px/1.25 var(--sr-font-heading);
}
.sr-pd-panel header p {
  margin: 3px 0 0;
  color: var(--sr-muted);
  font: 400 14px/1.4 var(--sr-font-ui);
}
.sr-pd-close {
  display: grid;
  flex: 0 0 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff;
  color: var(--sr-ink);
  font: 400 24px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-pd-close:hover {
  border-color: #8a97aa;
}
.sr-pd-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 24px 24px;
}

/* 44. While any slide-out is open the page behind it stays put: only the panel scrolls. Only the root is
   locked: overflow on body would make it a scroll box and the sticky gallery would jump out of view. */
html:has(
  :is(
    .sr-pd-drawer,
    .sr-card-drawer,
    .sr-poster-drawer,
    .sr-ai-drawer,
    .sr-bg-drawer,
    .sr-inc-drawer,
    .sr-constellation-drawer
  ):not([hidden])
) {
  overflow: hidden !important;
  overscroll-behavior: none;
}
:is(.sr-pd-drawer, .sr-card-drawer, .sr-poster-drawer, .sr-ai-drawer, .sr-bg-drawer, .sr-inc-drawer) * {
  overscroll-behavior: contain;
}

/* 45. Order summary at the end: total and saving only, the line by line breakdown is in the slide-out */
#stage .sr-order-summary .sr-summary-lines[hidden] {
  display: none;
}
#stage .sr-order-summary .sr-summary-total {
  margin-bottom: 8px;
}
#stage .sr-summary-details {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 600 14px/1.2 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
#stage .sr-summary-details:hover {
  text-decoration-thickness: 2px;
}
#stage .sr-summary-details:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
}

/* 46. Steps without a help line ("Your certificate", "Personalization", "Digital or physical"):
   heading -> 16px -> content (data-sr-step is the card's build order, not the number shown),
   the same space as help line -> content */
#stage
  .sr-accordion-card:is([data-sr-step='1'], [data-sr-step='2'], [data-sr-step='5'])
  > .sr-accordion-head {
  margin-bottom: var(--sr-gap-help) !important;
}

/* 47. Registration date: "Today" right under the days, the note about the date below it */
.sr-dp-note {
  margin: 10px 0 0;
  padding: 10px 2px 0;
  border-top: 1px solid var(--sr-hairline);
  color: var(--sr-muted);
  font: 400 12.5px/1.45 var(--sr-font-ui);
}
.sr-dp-note b {
  color: var(--sr-ink);
  font-weight: 600;
}
.sr-dp-foot:has(+ .sr-dp-note) {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}

/* 48. AI writer step 3 has no summary line on top: "Selected version" starts where step 2's first heading
   does (the versions slot before it is empty on wide screens) */

/* 49. AI writer step 3: the selected version and the "What should change?" box are floating-label fields
   like the rest of the form; the request field fills the row beside its button */

/* 50. "What's included" panels: title only (no eyebrow, no price), no thumbnail strip under the photo */
.sr-inc-thumbs {
  display: none;
}

/* Digital / Physical gift as two tabs (a segmented control); the Physical tab shows the
   packages right under it (no "Physical gift set" row, no "Choose your physical gift" heading), the Digital
   tab a short card of what it includes */
#stage .sr-tab-digital[hidden] {
  display: none;
}
#stage .sr-format-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #eef1f5;
}
#stage .sr-format-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 60px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--sr-muted);
  text-align: center;
  cursor: pointer;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
#stage .sr-format-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
#stage .sr-format-tab:hover {
  color: var(--sr-ink);
}
#stage .sr-format-tab:has(input:checked) {
  background: #fff;
  color: var(--sr-ink);
  box-shadow:
    0 0 0 1px var(--sr-ink),
    0 2px 6px rgba(15, 27, 48, 0.1);
}
#stage .sr-format-tab:has(input:focus-visible) {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
}
#stage .sr-format-tab-title {
  font: 700 16px/1.2 var(--sr-font-ui);
}
#stage .sr-format-tab-price {
  font: 700 14px/1.2 var(--sr-font-ui);
  font-variant-numeric: tabular-nums;
}
#stage .sr-format-tab-price.is-free {
  color: var(--sr-green);
}
#stage .sr-format-tab-price .sr-was {
  margin-right: 4px;
}
/* Digital tab: the picture and one line of what arrives, under the tabs */
#stage .sr-tab-digital {
  display: flex;
  align-items: center;
  gap: var(--sr-row-gap);
  margin-top: 12px;
  padding: var(--sr-row-pad);
  border: 1px solid var(--sr-border);
  border-radius: 10px;
}
#stage .sr-tab-digital .sr-choice-note {
  display: block;
  margin-top: 2px;
  font-size: 13px; /* same as the description line above (.sr-choice-desc) */
  line-height: 1.4;
  color: var(--sr-muted, #6b6f86);
}
#stage .sr-tab-digital .sr-choice-img {
  flex: 0 0 var(--sr-thumb);
}
/* Physical tab: the packages sit right under the tabs, with their help line */
#stage .sr-physical-options {
  margin-top: 12px !important;
}
/* at the end of the description, in its text */
#stage .sr-inc-link {
  display: inline;
  color: var(--sr-muted);
  font: inherit;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: #b5bdca;
  text-underline-offset: 3px;
  cursor: pointer;
}
#stage .sr-inc-link:hover {
  color: var(--sr-ink);
  text-decoration-color: currentColor;
}
#stage .sr-inc-link:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
  border-radius: 3px;
}
/* Price details: "Edit" after each line (editLine) */
/* the part of the form an "Edit" jumped to: a highlight ring that pulses twice, then fades.
   Nothing moves, so it never slides out of its list or over the next row. Rows and cards have their
   own box, so the ring sits on their edge; open sections (no box of their own) get it 10px outside,
   so it does not touch their heading or text. */
@keyframes sr-attn-pulse {
  0% {
    opacity: 0;
  }
  12%,
  38% {
    opacity: 1;
  }
  25% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.35;
  }
  62%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ============================================================ 18. Brightness tiles */
/* Brightness as picture tiles: each option IS its night sky, edge to edge.
   Name and price sit inside the picture (white, over a darker bottom fade), the badge in its top corner.
   No radio and no description: the chosen tile gets a navy outline and a check on its corner. */

#stage #v1-s2 .v1n-bright [role='radiogroup'],
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0;
  padding: 10px 10px 5px 5px; /* room for the chosen tile's outline and its check */
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: none !important;
}
/* mobile: the tiles line up with the boxes above; the outline and check use the page's side padding */
#stage#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] {
  padding: 10px 0 5px !important;
}

/* the tile */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  position: relative;
  display: grid;
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    'badge badge'
    '. .'
    'title price';
  align-items: end;
  column-gap: 8px !important;
  row-gap: 0;
  min-height: 116px;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 10px !important;
  outline: 3px solid transparent !important;
  outline-offset: 2px !important;
  background: #0b0e26 !important;
  box-shadow: none;
  overflow: visible; /* the check sits on the corner; the sky clips itself */
  cursor: pointer;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label::before {
  display: none;
}

/* the night sky fills the whole tile */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  border-radius: inherit !important;
  overflow: hidden;
  z-index: 0;
}
/* darker fade at the bottom so the white text always reads; the selected frame is drawn on it too */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 8, 26, 0) 35%, rgba(6, 8, 26, 0.88) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  transition: box-shadow 0.15s ease;
}
/* chosen: the same navy outline as the chosen certificate design, plus a check in the corner */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true'],
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:has(input:checked) {
  outline-color: var(--sr-ink, #1c2040) !important;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[aria-checked='true'] > .chkb {
  display: grid !important;
  position: absolute;
  top: -9px !important;
  right: -9px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 3;
  width: 22px !important;
  height: 22px !important;
  place-items: center;
  margin: 0;
  border: 0;
  border-radius: 50% !important;
  background: #fff;
  color: var(--sr-ink, #1c2040);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow:
    0 0 0 2px #fff,
    0 1px 4px rgba(0, 0, 0, 0.35) !important;
  background: var(--sr-ink, #1c2040) !important;
  color: #fff !important;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:not([aria-checked='true']):hover::after {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

/* text inside the picture */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span:has(> b) {
  display: contents;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b {
  position: relative;
  z-index: 2;
  grid-area: title;
  align-self: end;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700 !important;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span {
  position: relative;
  z-index: 2;
  grid-area: price;
  align-self: end;
  justify-self: end;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span:is(.w-bright-17, .w-opt2-2, .w-s2-1) {
  color: #9fe3b5 !important;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span.has-was {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label .sr-was {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 500;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > .sr-bright-desc,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:not([aria-checked='true']) > .chkb {
  display: none;
}

/* badge: inside the picture, top left */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > .sr-bright-badge {
  position: relative !important;
  z-index: 2;
  grid-area: badge;
  align-self: start;
  justify-self: start;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  max-width: 100%;
  margin: 0 !important;
  padding: 2px 8px !important;
  border-radius: 6px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stage #v1-s2 .v1n-bright .sr-bright-badge.is-popular {
  background: #1e6b3e !important;
  color: #fff !important;
}
#stage #v1-s2 .v1n-bright .sr-bright-badge.is-rare {
  background: #6a48c4 !important;
  color: #fff !important;
}

/* keyboard focus */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label[role='radio']:focus-visible {
  outline: 3px solid #f3c969 !important;
  outline-offset: -3px !important;
}

/* phones: narrow tiles, so the price goes under the name */
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label,
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label + label {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas:
    'badge'
    '.'
    'title'
    'price';
  min-height: 112px;
  padding: 8px 9px !important;
}
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b {
  font-size: 14px !important;
}
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span {
  justify-self: start;
  font-size: 13px !important;
}
/* the old price goes on its own line under the price, so both fit the narrow tile */
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b + span.has-was {
  flex-direction: column;
  align-items: flex-start !important;
  gap: 0;
}
/* a long badge ("Best for Los Angeles") wraps onto a second line instead of being cut off */
#stage.dev-m #v1-s2 .v1n-bright [role='radiogroup'] > label > span > .sr-bright-badge {
  font-size: 10.5px !important;
  padding: 2px 6px !important;
}

/* The star itself: a small white core with four long rays and four short diagonal ones, in a cool glow,
   so it reads as a star (the round warm glow from the markup looked like a sun or a moon).
   The "How brightness works" guide copies the same markup into .sr-bg-sky, so it gets the same star.
   The markup draws it as the last two spans of the sky: [glow][core]. Sizes grow with the brightness. */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label {
  --star-core: 4px;
  --star-ray: 26px;
  --star-diag: 9px;
  --star-glow: 16px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:nth-child(2) {
  --star-core: 5px;
  --star-ray: 46px;
  --star-diag: 16px;
  --star-glow: 28px;
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label:nth-child(3) {
  --star-core: 6px;
  --star-ray: 70px;
  --star-diag: 24px;
  --star-glow: 42px;
}
/* core */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] > span:last-child {
  width: var(--star-core);
  height: var(--star-core);
  margin: calc(var(--star-core) / -2) 0 0 calc(var(--star-core) / -2) !important;
  background: #fff;
  box-shadow:
    0 0 3px 1px rgba(255, 255, 255, 0.95),
    0 0 8px 2px rgba(190, 215, 255, 0.55) !important;
  overflow: visible;
}
/* long rays: horizontal and vertical, thin and fading out */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] > span:last-child::before,
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] > span:last-child::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--star-ray);
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    to right,
    rgba(220, 232, 255, 0),
    rgba(240, 246, 255, 0.95) 50%,
    rgba(220, 232, 255, 0)
  );
  transform: translate(-50%, -50%);
}
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] > span:last-child::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
/* glow: cool white, a little smaller; it also carries the short diagonal rays */
#stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span[aria-hidden='true'] > span:nth-last-child(2) {
  width: var(--star-glow);
  height: var(--star-glow);
  margin: calc(var(--star-glow) / -2) 0 0 calc(var(--star-glow) / -2) !important;
  background: radial-gradient(
    circle,
    rgba(200, 220, 255, 0.45) 0,
    rgba(200, 220, 255, 0.12) 40%,
    rgba(200, 220, 255, 0) 70%
  ) !important;
  overflow: visible;
}
#stage
  #v1-s2
  .v1n-bright
  [role='radiogroup']
  > label
  > span[aria-hidden='true']
  > span:nth-last-child(2)::before,
#stage
  #v1-s2
  .v1n-bright
  [role='radiogroup']
  > label
  > span[aria-hidden='true']
  > span:nth-last-child(2)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--star-diag);
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(220, 232, 255, 0),
    rgba(240, 246, 255, 0.7) 50%,
    rgba(220, 232, 255, 0)
  );
  transform: translate(-50%, -50%) rotate(45deg);
}
#stage
  #v1-s2
  .v1n-bright
  [role='radiogroup']
  > label
  > span[aria-hidden='true']
  > span:nth-last-child(2)::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ============================================================ 19. Desktop page layout */

/* the desktop page is a white card; the Magento theme paints the background around it */
body #stage.dev-d,
#stage.dev-d .sky {
  background: none !important;
}

/* the page itself */
#stage.dev-d .v1n {
  margin: 24px auto;
  border-radius: 12px;
  overflow: clip;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35) !important;
}
/* wider preview column on large screens (narrow ones keep the existing tablet columns) */
@media (min-width: 1200px) {
  #stage.dev-d .v1n-grid {
    grid-template-columns: minmax(560px, 50%) minmax(0, 1fr) !important;
  }
}
#stage.dev-d .v1n-left {
  padding: 24px 20px 24px 24px !important;
}
/* no empty space under the certificate: the portrait gallery has only the picture and the thumbnail
   column, so the row gaps of its empty extra rows (12px each) go */
#stage.dev-d .v1n-left:not(:has(> .pv:is([style*='297 / 210'], .w-designs-6))) {
  row-gap: 0;
}
/* the form column's padding counted outside the grid (content-box), so the page needed 54px of bottom
   padding to show it; count it inside, so the grey form column reaches the bottom of the page */
#stage.dev-d .v1n-right {
  box-sizing: border-box;
}
#stage.dev-d .v1n {
  padding-bottom: 0;
}

/* ============================================================ 20. Framed certificate in the gallery */
/* Framed certificate in the big picture: with "Envelope with framed certificate" or the gift box chosen,
   the certificate preview gets a white mat and a black frame (the same look as the framed poster).
   The class is set by updateCroSummary. The preview is scaled down a little so the frame
   fits in the space the certificate had; its text is laid out from the unscaled size, so nothing moves. */
#stage .pv {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
#stage .pv.is-cert-framed:not(.is-poster-preview),
.lbx-pv.is-cert-framed {
  transform: scale(0.86);
  overflow: visible;
  box-shadow: 0 34px 58px 6px rgba(15, 20, 30, 0.34) !important;
}
#stage .pv.is-cert-framed:not(.is-poster-preview)::before,
.lbx-pv.is-cert-framed::before {
  content: '';
  position: absolute;
  left: -6.15%;
  right: -6.43%;
  top: -4.56%;
  bottom: -4.62%;
  z-index: 4;
  pointer-events: none;
  background: url('../assets/media/t/frame-wood.webp') 0 0 / 100% 100% no-repeat;
}
#stage .pv.is-cert-framed.is-land-box:not(.is-poster-preview)::before {
  left: -4.62%;
  right: -4.56%;
  top: -6.15%;
  bottom: -6.43%;
  background-image: url('../assets/media/t/frame-wood-land.webp');
}
/* a landscape certificate sits in the middle half of the upright picture space: the frame goes around it */
#stage .pv.is-cert-framed.is-land-cert:not(.is-poster-preview)::before,
.lbx-pv.is-cert-framed.is-land-cert::before {
  left: -4.62%;
  right: -4.56%;
  top: 21.93%;
  bottom: 21.79%;
  background-image: url('../assets/media/t/frame-wood-land.webp');
  filter: drop-shadow(0 18px 22px rgba(15, 20, 30, 0.3));
}
#stage#stage .pv.is-cert-framed.is-land-cert:not(.is-poster-preview),
.lbx-pv.lbx-pv.is-cert-framed.is-land-cert {
  box-shadow: none !important;
}
#stage#stage .pv.is-cert-framed.is-land-cert:not(.is-poster-preview)::after,
.lbx-pv.lbx-pv.is-cert-framed.is-land-cert::after {
  inset: 25% 0;
}
.lbx-pv.is-cert-framed {
  box-shadow: 0 14px 30px rgba(15, 20, 30, 0.22) !important;
}
#stage .pv.is-cert-framed:not(.is-poster-preview)::after,
.lbx-pv.is-cert-framed::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 2px #8b8c93,
    inset 0 9px 9px -6px rgba(0, 0, 0, 0.65),
    inset 7px 0 8px -6px rgba(0, 0, 0, 0.45),
    inset -7px 0 8px -6px rgba(0, 0, 0, 0.45);
}
#stage.dev-m .pv.is-cert-framed:not(.is-poster-preview) {
  transform: scale(0.88);
}
#stage.dev-m .pv.is-cert-framed:not(.is-poster-preview)::after {
  box-shadow:
    inset 0 0 0 1.5px #8b8c93,
    inset 0 7px 7px -5px rgba(0, 0, 0, 0.65),
    inset 5px 0 6px -5px rgba(0, 0, 0, 0.45),
    inset -5px 0 6px -5px rgba(0, 0, 0, 0.45);
}

.sr-app-live {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  container-type: size;
}
.sr-app-live.is-video video {
  display: block;
  height: min(92cqh, 92cqw * 16 / 9);
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  background: #05070f;
  box-shadow: 0 24px 48px -22px rgba(10, 14, 40, 0.45);
}
/* an upright picture space (the page gallery): the video fills it edge to edge */
@container (max-aspect-ratio: 4 / 5) {
  .sr-app-live.is-video video {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    box-shadow: none;
  }
}
.v1n-left:has(.pv.is-app) .w-left-5,
.pv.is-app .w-left-5 {
  display: none;
}
.pv.is-app {
  isolation: isolate;
}
#stage .sr-app-thumb img,
.lbx .sr-app-thumb img {
  padding: 9px 0;
  box-sizing: border-box;
  object-fit: contain;
}
#stage .sr-choice-img img,
#stage .sr-addon-img img {
  object-fit: contain !important;
  padding: 3px;
  box-sizing: border-box;
}
#stage .sr-view-cap {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 24px);
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c2040;
  font: 600 13px/1.2 var(--sr-font-ui);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.16);
  pointer-events: none;
}
#stage.dev-m .sr-view-cap {
  left: 8px;
  top: 8px;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}
.lbx .sr-inc-caption {
  display: block;
  justify-self: center;
  align-self: start;
  margin-top: 2px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #17213b;
  font: 600 14px/1.2 var(--sr-font-ui);
  letter-spacing: 0.01em;
}
.lbx .sr-inc-caption:empty {
  display: none;
}
.sr-inc-main > img {
  padding: 20px 64px;
}
.sr-inc-gallery.is-single .sr-inc-main > img {
  padding: 20px;
}
.sr-inc-thumbs img {
  object-fit: contain;
}
@media (max-width: 860px) {
  .sr-inc-main > img {
    padding: 10px 50px;
  }
  .sr-inc-gallery.is-single .sr-inc-main > img {
    padding: 10px;
  }
}
/* full-size view: the app video takes the whole height of the frame, uncropped */
.lbx .lbx-pv .sr-app-live.is-video video {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  box-shadow: none;
}
/* phone full-size view: one upright frame as big as the screen allows, the caption right under it, then
   bigger thumbnails; the close button stays in the top corner of the screen */
@media (max-width: 860px) {
  .lbx .sr-inc-gallery {
    grid-template-rows: auto auto auto;
    grid-template-areas: 'stage' 'caption' 'thumbs';
    align-content: center;
    gap: 14px;
    padding: 64px 12px 12px;
  }
  .lbx .sr-inc-caption {
    margin-top: 0;
  }
  .lbx .lbx-x {
    position: fixed;
    top: 16px;
    right: 16px;
  }
  .lbx .sr-inc-thumbs button {
    flex: 0 0 64px;
    width: 64px;
    height: 90px;
  }
}
/* phone gallery: dots under the picture, one per picture */
#stage .sr-pv-dots {
  display: none;
}
#stage.dev-m .v1m-pvs {
  flex-direction: column;
  align-items: center;
}
#stage.dev-m .v1m-pvs .pv {
  touch-action: pan-y;
}
#stage.dev-m .sr-pv-dots:not([hidden]) {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}
#stage.dev-m .sr-pv-dots button {
  box-sizing: content-box;
  width: 8px;
  height: 8px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 6px solid transparent;
  border-radius: 50%;
  background: #c8cdd8 padding-box;
  cursor: pointer;
}
#stage.dev-m .sr-pv-dots button[aria-current='true'] {
  background-color: #17213b;
}

/* ============================================================ 21. Product heading and delivery card */

/* ---------- heading ---------- */
#stage .sr-product-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px 32px;
  padding: 22px 48px 18px 24px;
  border-bottom: 1px solid #e6e9ef;
  background: #fff;
  color: var(--sr-ink);
}
#stage .sr-product-head-title {
  margin: 0;
  font: 600 30px/1.1 var(--sr-font-heading);
  letter-spacing: -0.02em;
}
#stage .sr-product-head-price {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#stage .sr-product-head-price strong {
  font: 700 30px/1 var(--sr-font-heading);
  letter-spacing: -0.01em;
}
#stage .sr-product-head-price s {
  color: #6b7280;
  font: 400 16px/1 var(--sr-font-ui);
}
#stage .sr-product-head-price s:empty {
  display: none;
}
#stage .sr-product-head-save {
  padding: 5px 9px;
  border-radius: 6px;
  background: #e8f5ec;
  color: var(--sr-green);
  font: 700 13px/1.2 var(--sr-font-ui);
}
#stage .sr-product-head-save[hidden] {
  display: none;
}

/* rating: small stars, muted text */
#stage .sr-product-head-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  color: var(--sr-muted);
  font: 400 14px/1.2 var(--sr-font-ui);
}
#stage .sr-tp-stars {
  display: inline-flex;
  gap: 2px;
}
#stage .sr-tp-star {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: #00b67a;
}
#stage .sr-tp-star.is-half {
  background: linear-gradient(90deg, #00b67a 50%, #d7dbe2 50%);
}
#stage .sr-tp-star svg {
  width: 12px;
  height: 12px;
}
#stage .sr-tp-score {
  margin-left: 2px;
}
#stage .sr-tp-score b {
  color: var(--sr-ink);
  font-weight: 700;
}
#stage .sr-tp-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aab2c0;
}
#stage .sr-tp-link {
  color: var(--sr-muted);
  text-decoration: underline;
  text-decoration-color: #c2c8d2;
  text-underline-offset: 3px;
}
#stage .sr-tp-link:hover {
  color: var(--sr-ink);
  text-decoration-color: currentColor;
}
#stage .sr-tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--sr-ink);
  font-weight: 700;
}
#stage .sr-tp-brand svg {
  width: 15px;
  height: 15px;
}

/* trust badges: one quiet line of icon + text */
#stage .sr-head-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#stage .sr-head-badges li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--sr-ink);
  font: 600 13px/1.25 var(--sr-font-ui);
  white-space: nowrap;
}
#stage .sr-head-badges svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #3d4a66;
}
/* right after the price and Add to cart card; one view per order type */
#stage .sr-ship-card {
  margin: var(--sr-card-gap) 0 0;
  border: 1px solid #e3e7ee;
  border-radius: var(--sr-card-radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  color: var(--sr-ink);
}
#stage .sr-ship-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fbf1e6;
  color: #a4480f;
}
#stage .sr-ship-icon svg {
  width: 20px;
  height: 20px;
}
#stage .sr-ship-text b {
  display: block;
  font: 700 15px/1.3 var(--sr-font-ui);
}
#stage .sr-ship-text em {
  color: #a4480f;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
#stage .sr-ship-text small {
  display: block;
  margin-top: 3px;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}
#stage .sr-ship-options {
  margin: 0 20px;
  padding: 4px 0 8px;
  border-top: 1px solid #e3e7ee;
  list-style: none;
}
#stage .sr-ship-options[hidden] {
  display: none;
}
#stage .sr-ship-options ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#stage .sr-ship-to {
  margin: 12px 0 0;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}
#stage .sr-ship-to a {
  color: var(--sr-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#stage .sr-ship-options li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 12px 0;
}
#stage .sr-ship-options li + li {
  border-top: 1px solid #eef0f4;
}
#stage .sr-ship-opt-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f5f8;
  color: #3d4a66;
}
#stage .sr-ship-opt-icon svg {
  width: 20px;
  height: 20px;
}
#stage .sr-ship-options b {
  display: block;
  font: 700 14px/1.3 var(--sr-font-ui);
}
#stage .sr-ship-options em {
  font-style: normal;
}
#stage .sr-ship-options em.is-free {
  color: var(--sr-green);
}
#stage .sr-ship-options small {
  display: block;
  margin-top: 2px;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}
#stage .sr-ship-options .sr-ship-eta {
  color: var(--sr-ink);
  font-weight: 600;
}
/* the older mobile rules pad blocks in this column unevenly: pin the spacing here */
#stage.dev-m .sr-product-head {
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 16px;
  padding: 4px 2px 16px;
  background: transparent;
}
#stage.dev-m .sr-product-head-title {
  font-size: 26px;
}
#stage.dev-m .sr-product-head-price {
  justify-content: flex-start;
}
#stage.dev-m .sr-product-head-price strong {
  font-size: 26px;
}
#stage.dev-m .sr-tp-score b,
#stage.dev-m .sr-tp-dot {
  display: none;
}
#stage.dev-m .sr-head-badges {
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 4px;
}
#stage.dev-m .sr-ship-card {
  margin: 16px 0 0;
  padding: 0;
}
#stage.dev-m .sr-ship-digital {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
}
#stage.dev-m .sr-ship-icon {
  width: 36px;
  height: 36px;
}
#stage.dev-m .sr-ship-options {
  margin: 0 16px;
}

/* payment logos under "Add to cart" (addCartPayments) */
#stage .sr-cart-pay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
#stage .sr-cart-pay li {
  display: grid;
  place-items: center;
  width: 46px;
  height: 30px;
  margin: 0;
  border: 1px solid #e3e7ee;
  border-radius: 6px;
  background: #fff;
}
#stage .sr-cart-pay img {
  display: block;
  max-width: 34px;
  max-height: 18px;
}

/* "+" beside the heading price when the order has paid extras: opens Price details */
#stage .sr-product-head-more {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--sr-border);
  border-radius: 50%;
  background: #fff;
  color: var(--sr-ink);
  cursor: pointer;
}
#stage .sr-product-head-more[hidden] {
  display: none;
}
#stage .sr-product-head-more svg {
  width: 13px;
  height: 13px;
}
#stage .sr-product-head-more:hover {
  border-color: var(--sr-ink);
}
#stage .sr-product-head-more:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 2px;
}

/* the order summary: the price with the old price beside it; the saving and a quiet "Price details" link on
   one line under it; then Add to cart. No title, no labels */
#stage .sr-order-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
#stage .sr-order-summary > * {
  order: 3;
  flex: 0 0 100%;
}
#stage .sr-order-summary > .sr-summary-total {
  order: 0;
  justify-content: flex-start;
  align-items: baseline;
  gap: 10px;
  margin: 0;
}
#stage .sr-order-summary > .sr-summary-total > span {
  display: none;
}
#stage .sr-order-summary > .sr-summary-total strong {
  order: -1;
}
#stage .sr-order-summary > .sr-summary-total .sr-total-was {
  margin: 0;
}
#stage .sr-order-summary > .sr-summary-saving {
  order: 1;
  flex: 0 0 auto;
  margin: 6px 0 0;
}
#stage .sr-order-summary > .sr-summary-saving[hidden] {
  display: none !important;
}
#stage .sr-order-summary > .sr-summary-saving > span {
  display: none;
}
#stage .sr-order-summary > .sr-summary-saving b {
  font-size: 14px;
}
#stage .sr-order-summary > .sr-summary-details {
  order: 2;
  flex: 0 0 auto;
  min-height: 0;
  margin: 6px 0 0 auto;
  padding: 0;
  color: var(--sr-muted);
  font: 400 13px/1.3 var(--sr-font-ui) !important;
  text-decoration: underline;
  text-decoration-color: #c2c8d2;
  text-underline-offset: 3px;
}
#stage .sr-order-summary > .sr-summary-details:hover {
  color: var(--sr-ink) !important;
  text-decoration-color: currentColor;
}
#stage .sr-order-summary > .sr-summary-details svg {
  display: none;
}
#stage .sr-order-summary > .sr-cro-cta {
  margin-top: 16px;
}

/* PayPal and Apple Pay express buttons under Add to cart */
#stage .sr-express {
  margin-top: 12px;
}
#stage .sr-express-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sr-muted);
  font: 400 12px/1 var(--sr-font-ui);
}
#stage .sr-express-or::before,
#stage .sr-express-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e3e7ee;
}
#stage .sr-express-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
#stage .sr-express-btn {
  display: grid;
  place-items: center;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
#stage .sr-express-btn img {
  display: block;
  height: 22px;
}
#stage .sr-express-btn.is-paypal {
  background: #ffc439;
}
#stage .sr-express-btn.is-paypal:hover {
  background: #f2b52a;
}
#stage .sr-express-btn.is-apple {
  background: #000;
}
#stage .sr-express-btn.is-apple img {
  height: 24px;
  filter: invert(1);
}
#stage .sr-express-btn.is-apple:hover {
  background: #222;
}
#stage .sr-express-btn:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.35);
  outline-offset: 2px;
}

/* the delivery card's two views: digital (email line) and physical (countdown + options) */
#stage .sr-ship-card:not(.is-physical) > .sr-ship-options {
  display: none;
}
#stage .sr-ship-card.is-physical > .sr-ship-digital {
  display: none;
}
#stage .sr-ship-digital {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}
#stage .sr-ship-digital .sr-ship-icon {
  background: #e8f5ec;
  color: var(--sr-green);
}

/* the physical view: a plain heading (nothing to open) and the options always shown */
#stage .sr-ship-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 16px 20px 4px;
}
#stage .sr-ship-card:not(.is-physical) > .sr-ship-head {
  display: none;
}
#stage .sr-ship-card.is-physical > .sr-ship-digital {
  display: none;
}
#stage .sr-ship-to-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--sr-ink);
  font: 700 13px/1.4 var(--sr-font-ui);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
#stage .sr-ship-to-btn::after {
  content: '';
  display: inline-block;
  width: 10px;
  height: 7px;
  margin-left: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1.5l4 4 4-4' fill='none' stroke='%2317213b' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat center / 10px 7px;
  vertical-align: 1px;
}
#stage .sr-ship-to-btn:focus-visible {
  outline: 2px solid var(--sr-ink);
  outline-offset: 2px;
}

/* the "Delivering to" slide-out (appended to <body>, so not under #stage) */
.sr-shipto-field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}
.sr-shipto-field[hidden] {
  display: none;
}
.sr-shipto-field span {
  color: var(--sr-muted);
  font: 600 13px/1.2 var(--sr-font-ui);
}
.sr-shipto-field {
  min-width: 0;
}
.sr-shipto-field select {
  width: 100%;
  min-width: 0; /* a select is as wide as its longest country name otherwise */
  appearance: none;
  -webkit-appearance: none;
  height: 50px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--sr-border);
  border-radius: 10px;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23556176' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat calc(100% - 16px) 50% / 12px 8px;
  color: var(--sr-ink);
  font: 400 16px/1.2 var(--sr-font-ui);
  cursor: pointer;
}
.sr-shipto-field select:focus-visible {
  outline: 0;
  border-color: var(--sr-ink);
  box-shadow: 0 0 0 3px rgba(23, 33, 59, 0.12);
}
.sr-shipto-h {
  margin: 28px 0 4px;
  font: 700 16px/1.3 var(--sr-font-heading);
}
.sr-shipto-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-shipto-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eef0f4;
}
.sr-shipto-list .sr-ship-opt-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f5f8;
  color: #3d4a66;
}
.sr-shipto-list .sr-ship-opt-icon svg {
  width: 20px;
  height: 20px;
}
.sr-shipto-list b {
  display: block;
  font: 700 15px/1.3 var(--sr-font-ui);
}
.sr-shipto-list em {
  font-style: normal;
}
.sr-shipto-list em.is-free {
  color: var(--sr-green);
}
.sr-shipto-list small {
  display: block;
  margin-top: 2px;
  color: var(--sr-muted);
  font: 400 13px/1.4 var(--sr-font-ui);
}
.sr-shipto-list .sr-ship-eta {
  color: var(--sr-ink);
  font-weight: 600;
}
.sr-shipto-note {
  margin: 16px 0 0;
  color: var(--sr-muted);
  font: 400 13px/1.5 var(--sr-font-ui);
}
.sr-shipto-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--sr-hairline);
}
.sr-shipto-done {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--sr-ink);
  color: #fff;
  font: 700 16px/1 var(--sr-font-ui);
  cursor: pointer;
}
.sr-shipto-done:focus-visible {
  outline: 3px solid rgba(23, 33, 59, 0.3);
  outline-offset: 3px;
}
#stage.dev-m .sr-ship-head {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px 4px;
}

/* "exact costs at checkout" under the shipping options */
#stage .sr-ship-note {
  margin: 0;
  padding: 10px 0 4px;
  border-top: 1px solid #eef0f4;
  color: var(--sr-muted);
  font: 400 12px/1.4 var(--sr-font-ui);
}

/* phone: the picture is the first thing; no "Live preview" label, thumbnails without names (still read out) */
#stage.dev-m .v1m-land {
  display: contents;
}
#stage.dev-m .v1m-pvs {
  padding-top: 12px;
}
#stage.dev-m .v1m-thumbs button {
  gap: 0;
  font-size: 0 !important;
}
/* price details links are hidden while the order is only the gift itself (paint, price details) */
#stage .sr-order-summary > .sr-summary-details[hidden] {
  display: none;
}
/* carrier logo (FedEx / DHL) in place of the truck on the delivery options */
#stage .sr-ship-opt-icon,
.sr-shipto-list .sr-ship-opt-icon {
  box-sizing: border-box;
  width: 52px;
}
#stage .sr-ship-opt-icon.is-logo,
.sr-shipto-list .sr-ship-opt-icon.is-logo {
  border: 1px solid #e6e9ef;
  background: #fff;
}
#stage .sr-ship-opt-icon.is-logo img,
.sr-shipto-list .sr-ship-opt-icon.is-logo img {
  display: block;
  width: 44px;
  height: 26px;
  object-fit: contain;
}
/* phone: name, price and badges sit under the thumbnails, kept tight; the badges flow on as few lines as fit */
#stage.dev-m .v1m-cfg > .sr-product-head {
  gap: 8px;
  margin: 14px 0 12px !important;
  padding: 0 2px 14px !important;
}
#stage.dev-m .v1m-cfg > .sr-product-head .sr-product-head-title {
  font-size: 24px;
}
#stage.dev-m .v1m-cfg > .sr-product-head .sr-head-badges {
  flex-direction: row;
  gap: 6px 16px;
  margin-top: 2px !important;
}
#stage.dev-m .v1m-cfg > .sr-product-head .sr-head-badges li {
  font-size: 12.5px;
}
#stage.dev-m .v1m-cfg > .sr-product-head .sr-head-badges svg {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
}
/* phone: clip sideways overflow without making a scroll box, so the small preview bar can stick to the top
   (overflow-x: hidden in section 3 turned these into scroll boxes and broke sticky) */
#stage#stage.dev-m,
#stage#stage.dev-m .scr-root,
#stage#stage.dev-m .scr-root > div,
#stage#stage.dev-m .v1m {
  overflow-x: clip !important;
}
/* phone: the poster row shows only its edit link, not the place / date summary */
#stage.dev-m .sr-poster-summary {
  display: none;
}
/* phone: a bigger picture (the certificate fills most of the width) */
#stage.dev-m .v1m-pvs {
  padding: 14px 0 58px !important;
}
#stage.dev-m .v1m-pvz {
  zoom: 1.3;
}
/* "Scroll down to personalize" chip at the foot of the picture */
#stage .sr-scroll-cue {
  display: none;
}
#stage.dev-m .sr-scroll-cue {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--sr-ink, #17213b);
  color: #fff;
  font: 600 13px/1 var(--sr-font-ui);
  box-shadow: 0 6px 16px rgba(18, 20, 61, 0.25);
  cursor: pointer;
  transform: translateX(-50%);
  transition: opacity 0.25s ease;
}
#stage.dev-m .sr-scroll-cue svg {
  width: 16px;
  height: 16px;
  animation: sr-cue-bob 1.6s ease-in-out infinite;
}
#stage.dev-m .sr-scroll-cue.is-gone {
  opacity: 0;
  pointer-events: none;
}
#stage.dev-m .sr-scroll-cue:focus-visible {
  outline: 3px solid #f3c969;
  outline-offset: 2px;
}
@keyframes sr-cue-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #stage.dev-m .sr-scroll-cue svg {
    animation: none;
  }
}
/* phone: the step cards run edge to edge (no side border or rounding), small padding from the screen sides;
   the page's grey shows as a thin band between them */
#stage#stage.dev-m .v1m-cfg :is(.sr-accordion-card, .sr-order-summary, .sr-ship-card) {
  box-sizing: border-box;
  width: auto !important;
  max-width: none !important;
  margin-right: -16px !important;
  margin-left: -16px !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0;
}
#stage#stage.dev-m .v1m-cfg :is(.sr-accordion-card, .sr-order-summary) {
  padding-right: 14px !important;
  padding-left: 14px !important;
}

/* ============================================================ 22. Product story: container and shared parts (the rest is css/modules/story.css) */
#stage .sr-story {
  grid-column: 1 / -1;
}
#stage.dev-m .sr-story {
  margin: 40px -16px -54px;
}

/* ============================================================ 23. Constellation warning */

/* the line under each version: "we choose for you" */
#stage .sr-cv-note {
  display: block;
  margin: 8px 0 0;
  color: var(--sr-muted);
  font: 400 13px/1.45 var(--sr-font-ui);
}
#stage .sr-cv-note[hidden] {
  display: none;
}
#stage .sr-cv-note svg {
  margin-right: 4px;
  color: var(--sr-green, #1e6b3e);
  vertical-align: -3px;
}
#stage .sr-cv-note b {
  color: var(--sr-ink);
  font-weight: 600;
}

/* the picked constellation does not fully rise over the selected place */
#stage .sr-cv-note .sr-cv-warn {
  color: #9a5b00;
}
#stage:is(#stage) p.sr-cv-warn {
  color: #9a5b00;
  margin: -6px 0 0;
}

/* ============================================================ 24. Product story: shared review parts (the rest is css/modules/story.css) */
/* Trustpilot reviews carousel and the customer photo + video feed */
/* reviews: a soft white card with the Trustpilot line on top and a sideways row of reviews */
#stage :is(.sr-trv-list, .sr-feed) {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
#stage :is(.sr-trv-list, .sr-feed)::-webkit-scrollbar {
  display: none;
}
/* round arrows on the row's edges */
/* the feed: tall photo and video tiles */
/* phone: bigger cards that peek past the edge, no arrows (swipe) */
/* a part-filled Trustpilot star (4.5 shows half green, half grey) */
/* Trustpilot green stars on the dark trust tiles */

/* ============================================================ 25. Desktop layout (template t-v1-pdp-d) */

:where(#stage.dev-d) .sky {
  background-color: #0b0e26;
  background-image:
    radial-gradient(1px 1px at 23px 41px, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1px 1px at 141px 97px, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.4px 1.4px at 227px 23px, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 301px 181px, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1px 1px at 77px 229px, rgba(255, 255, 255, 0.45), transparent 60%);
  background-size: 320px 300px;
}
:where(#stage.dev-d) .lbl {
  font-size: 13px;
  font-weight: 700;
  color: #1c2040;
  margin-bottom: 6px;
  display: block;
}
:where(#stage.dev-d) .inp {
  border: 1px solid #cfd2de;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 15px;
  color: #1c2040;
  background: #fff;
}
/* one page: 2 columns to Add to cart, numbered steps */
:where(#stage.dev-d) .v1n {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #1c2040;
}
:where(#stage.dev-d) .v1n-grid {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  align-items: start;
}
:where(#stage.dev-d) .v1n-left {
  position: sticky;
  top: 12px;
  padding: 28px 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
:where(#stage.dev-d) .v1n-right {
  padding: 24px 40px 8px 36px;
  border-left: 1px solid #e6e7ee;
  min-height: 100%;
}
/* steps */
:where(#stage.dev-d) .st {
  padding: 28px 0 30px;
  border-top: 1px solid #e6e7ee;
  scroll-margin-top: 16px;
}
:where(#stage.dev-d) .st-h {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
:where(#stage.dev-d) .st-n {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #c9ccd8;
  color: #8b8fa6;
  background: #fff;
  display: grid;
  place-items: center;
  font:
    800 17px/1 'Montserrat',
    sans-serif;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
:where(#stage.dev-d) .st.is-active .st-n {
  background: #1c2040;
  border-color: #1c2040;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(28, 32, 64, 0.12);
}
:where(#stage.dev-d) .st.is-done .st-n {
  background: #1e6b3e;
  border-color: #1e6b3e;
  color: #fff;
  font-size: 0;
}
:where(#stage.dev-d) .st.is-done .st-n::after {
  content: '\2713';
  font-size: 18px;
}
:where(#stage.dev-d) .st-t {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  color: #1c2040;
}
:where(#stage.dev-d) .st-sum {
  font-size: 13px;
  color: #1e6b3e;
  font-weight: 600;
  margin-top: 3px;
}
:where(#stage.dev-d) .st-sum:empty {
  display: none;
}
:where(#stage.dev-d) .fl {
  display: grid;
  gap: 18px;
}
:where(#stage.dev-d) .v1n .lbl {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
/* constellation */
:where(#stage.dev-d) .opt2 {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dbe4;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 56px;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.25;
  background: #fff;
}
:where(#stage.dev-d) .opt2-s {
  font-size: 12px;
  color: #565b78;
}
:where(#stage.dev-d) .opt2-p {
  font-size: 14px;
  font-weight: 700;
  color: #1c2040;
  white-space: nowrap;
}

/* design badge sits on the picture it belongs to */
:where(#stage.dev-d) .ds-badge {
  position: absolute;
  z-index: 2;
  top: -9px;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}
:where(#stage.dev-d) #v1-s1 [role='list'] > button {
  position: relative;
}
/* room for the badge between the "Design" label and the pictures */
:where(#stage.dev-d) #v1-s1 [role='list'][aria-label^='Certificate designs'] {
  padding-top: 14px;
}

/* certificate and step 1 start on one line */
:where(#stage.dev-d) .v1n-right > .st:first-child {
  border-top: 0;
  padding-top: 28px;
}
:where(#stage.dev-d) .v1n-left {
  top: 12px;
}
/* extra message lines (up to 3, like the live page) */
:where(#stage.dev-d) .v1n-ml {
  display: grid;
  gap: 8px;
}
:where(#stage.dev-d) .v1n-ml:not(:empty) {
  margin-top: 8px;
}
:where(#stage.dev-d) .v1n-mlr {
  display: flex;
  gap: 8px;
  align-items: center;
}
:where(#stage.dev-d) .v1n-mlr .inp-wrap {
  flex: 1;
}
:where(#stage.dev-d) .v1n-mlr .btn-o {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
}
:where(#stage.dev-d) .v1n-addline {
  border: 0;
  background: none;
  padding: 6px 0;
  font:
    700 13px 'Helvetica Neue',
    Arial,
    sans-serif;
  color: #1c2040;
  cursor: pointer;
}
:where(#stage.dev-d) .v1n-addline:hover {
  text-decoration: underline;
}
:where(#stage.dev-d) .v1n-addline[hidden] {
  display: none;
}
/* brightness stands out */
:where(#stage.dev-d) .v1n-bright {
  background: linear-gradient(180deg, #f2f1f8, #fafafd);
  border: 1px solid #e1e0ee;
  border-radius: 14px;
  padding: 16px 16px 18px;
}
:where(#stage.dev-d) .v1n-bright-h {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
:where(#stage.dev-d) .v1n-bright-h .lbl {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}
:where(#stage.dev-d) .v1n-bright-s {
  font-size: 13px;
  color: #4a4f6e;
}
:where(#stage.dev-d) .v1n-bright [data-opt^='bright:'] > span[aria-hidden='true']:first-of-type {
  height: 86px;
}
:where(#stage.dev-d) .v1n-bright [data-opt^='bright:'] {
  background: #fff;
}
/* thumbnails down the left side of the certificate */
:where(#stage.dev-d) .v1n-grid {
  grid-template-columns: 540px minmax(0, 1fr);
}
:where(#stage.dev-d) .v1n-left {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 12px;
  align-content: start;
}
:where(#stage.dev-d) .v1n-left > * {
  grid-column: 2;
}
:where(#stage.dev-d) .v1n-left > [aria-label='Choose what the large picture shows'] {
  grid-column: 1;
  grid-row: 1 / span 4;
  display: flex !important;
  flex-direction: column;
  gap: 12px !important;
  align-self: start;
}
:where(#stage.dev-d) .v1n-left > [aria-label='Choose what the large picture shows'] button {
  font-size: 0 !important;
  gap: 0 !important;
  text-align: center !important;
  align-items: center;
}
:where(#stage.dev-d) .v1n-left > [aria-label='Choose what the large picture shows'] button > span {
  width: 100%;
}
/* the left column always fits the screen, so it stays put while the form scrolls */
:where(#stage.dev-d) .v1n-left > .pv {
  justify-self: center;
  width: min(100%, calc((100vh - 196px) * 210 / 297));
}
:where(#stage.dev-d) .v1n-left > .pv.w-designs-6 {
  width: min(100%, calc((100vh - 196px) * 297 / 210));
}
:where(#stage.dev-d) .v1n-left > [aria-label='Choose what the large picture shows'] {
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  padding: 3px;
  scrollbar-width: thin;
}
/* brightness: three equal cards */
:where(#stage.dev-d) .v1n-bright [role='radiogroup'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* message on the certificate never runs off the edge */
:where(#stage.dev-d) .pv-ms {
  overflow-wrap: anywhere;
}
/* all three sky pictures the same height (the Recommended badge no longer gets in the way) */
:where(#stage.dev-d)
  .v1n-bright
  [data-opt^='bright:']
  > span[aria-hidden='true']:is(.w-bright-13, .w-bright-25, .w-bright-4) {
  height: 86px;
}
/* thumbnails: photos that are not 4:3 are shown whole, not cut (In the sky, Unboxing) */
:where(#stage.dev-d)
  [aria-label='Choose what the large picture shows']
  button
  > span:not(:has(.th-cert))
  > img:not(.th-design) {
  object-fit: contain !important;
}

/* ============================================================ 26. Phone layout (template t-v1-pdp-m) */

:where(#stage.dev-m) .lbl {
  font-size: 13px;
  font-weight: 700;
  color: #1c2040;
  margin-bottom: 5px;
  display: block;
}
:where(#stage.dev-m) .inp {
  border: 1px solid #cfd2de;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 15px;
  color: #1c2040;
  background: #fff;
}
/* one page: 2 columns to Add to cart, numbered steps */
:where(#stage.dev-m) .v1n {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #1c2040;
}
/* steps */
:where(#stage.dev-m) .st {
  padding: 28px 0 30px;
  border-top: 1px solid #e6e7ee;
  scroll-margin-top: 16px;
}
:where(#stage.dev-m) .st-h {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
:where(#stage.dev-m) .st-n {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid #c9ccd8;
  color: #8b8fa6;
  background: #fff;
  display: grid;
  place-items: center;
  font:
    800 17px/1 'Montserrat',
    sans-serif;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
:where(#stage.dev-m) .st.is-active .st-n {
  background: #1c2040;
  border-color: #1c2040;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(28, 32, 64, 0.12);
}
:where(#stage.dev-m) .st.is-done .st-n {
  background: #1e6b3e;
  border-color: #1e6b3e;
  color: #fff;
  font-size: 0;
}
:where(#stage.dev-m) .st.is-done .st-n::after {
  content: '\2713';
  font-size: 18px;
}
:where(#stage.dev-m) .st-t {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 1.2;
  color: #1c2040;
}
:where(#stage.dev-m) .st-sum {
  font-size: 13px;
  color: #1e6b3e;
  font-weight: 600;
  margin-top: 3px;
}
:where(#stage.dev-m) .st-sum:empty {
  display: none;
}
:where(#stage.dev-m) .fl {
  display: grid;
  gap: 18px;
}
:where(#stage.dev-m) .v1n .lbl {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
/* constellation */
:where(#stage.dev-m) .opt2 {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9dbe4;
  border-radius: 10px;
  padding: 10px 14px;
  min-height: 56px;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.25;
  background: #fff;
}
:where(#stage.dev-m) .opt2-s {
  font-size: 12px;
  color: #565b78;
}
:where(#stage.dev-m) .opt2-p {
  font-size: 14px;
  font-weight: 700;
  color: #1c2040;
  white-space: nowrap;
}

/* design badge sits on the picture it belongs to */
:where(#stage.dev-m) .ds-badge {
  position: absolute;
  z-index: 2;
  top: -9px;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 1;
  pointer-events: none;
}
/* room for the badge between the "Design" label and the pictures */
:where(#stage.dev-m) #v1-s1 [role='list'][aria-label^='Certificate designs'] {
  padding-top: 14px;
}
/* extra message lines (up to 3, like the live page) */
:where(#stage.dev-m) .v1n-ml {
  display: grid;
  gap: 8px;
}
:where(#stage.dev-m) .v1n-ml:not(:empty) {
  margin-top: 8px;
}
:where(#stage.dev-m) .v1n-mlr {
  display: flex;
  gap: 8px;
  align-items: center;
}
:where(#stage.dev-m) .v1n-mlr .inp-wrap {
  flex: 1;
}
:where(#stage.dev-m) .v1n-mlr .btn-o {
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
}
:where(#stage.dev-m) .v1n-addline {
  border: 0;
  background: none;
  padding: 6px 0;
  font:
    700 13px 'Helvetica Neue',
    Arial,
    sans-serif;
  color: #1c2040;
  cursor: pointer;
}
:where(#stage.dev-m) .v1n-addline:hover {
  text-decoration: underline;
}
:where(#stage.dev-m) .v1n-addline[hidden] {
  display: none;
}
/* brightness stands out */
:where(#stage.dev-m) .v1n-bright {
  background: linear-gradient(180deg, #f2f1f8, #fafafd);
  border: 1px solid #e1e0ee;
  border-radius: 14px;
  padding: 16px 16px 18px;
}
:where(#stage.dev-m) .v1n-bright-h {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 22px;
}
:where(#stage.dev-m) .v1n-bright-h .lbl {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}
:where(#stage.dev-m) .v1n-bright-s {
  font-size: 13px;
  color: #4a4f6e;
}
:where(#stage.dev-m) .v1n-bright [data-opt^='bright:'] > span[aria-hidden='true']:first-of-type {
  height: 86px;
}
:where(#stage.dev-m) .v1n-bright [data-opt^='bright:'] {
  background: #fff;
}
/* brightness: three equal cards */
:where(#stage.dev-m) .v1n-bright [role='radiogroup'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* message on the certificate never runs off the edge */
:where(#stage.dev-m) .pv-ms {
  overflow-wrap: anywhere;
}
/* all three sky pictures the same height (the Recommended badge no longer gets in the way) */
:where(#stage.dev-m)
  .v1n-bright
  [data-opt^='bright:']
  > span[aria-hidden='true']:is(.w-bright-13, .w-bright-25, .w-bright-4) {
  height: 86px;
}
/* thumbnails: photos that are not 4:3 are shown whole, not cut (In the sky, Unboxing) */
:where(#stage.dev-m)
  [aria-label='Choose what the large picture shows']
  button
  > span:not(:has(.th-cert))
  > img:not(.th-design) {
  object-fit: contain !important;
}
/* one page, phone */
:where(#stage.dev-m) .v1m {
  padding: 0 16px 8px;
}
:where(#stage.dev-m) .v1m-land {
  padding: 14px 0 4px;
}
:where(#stage.dev-m) .v1m .st {
  padding: 22px 0 24px;
}
:where(#stage.dev-m) .v1m .st-h {
  gap: 12px;
  margin-bottom: 16px;
}
:where(#stage.dev-m) .v1m .st-n {
  flex-basis: 32px;
  width: 32px;
  height: 32px;
  font-size: 15px;
}
:where(#stage.dev-m) .v1m .st.is-done .st-n::after {
  font-size: 16px;
}
:where(#stage.dev-m) .v1m .st-t {
  font-size: 18px;
}
:where(#stage.dev-m) .v1m .fl {
  gap: 16px;
}
:where(#stage.dev-m) .v1m .opt2 {
  padding: 8px 10px;
  font-size: 14px;
  min-height: 56px;
}
:where(#stage.dev-m) .v1m .opt2-s {
  font-size: 11px;
}
:where(#stage.dev-m) .v1m .opt2-p {
  font-size: 13px;
}
:where(#stage.dev-m) .v1m-design {
  margin-top: -4px;
}
/* bottom bar: where you are */

:where(#stage.dev-m)
  .v1m-design
  span:is(.w-design-10, .w-design-6, .w-design-8, .w-designs-1, .w-designs-3, .w-designs-5) {
  position: relative;
}
:where(#stage.dev-m) .v1m-design div.w-design-5 {
  padding-top: 14px;
}

/* one sticky certificate on mobile, same size all the way to the end of step 5 */
:where(#stage.dev-m) .v1m-cfg {
  position: relative;
}
:where(#stage.dev-m) .v1m-pvs {
  position: sticky;
  top: 0;
  z-index: 26;
  margin: 8px -16px 0;
  padding: 12px 0;
  background: #efeef3;
  display: flex;
  justify-content: center;
  box-shadow: 0 8px 14px -12px rgba(16, 18, 40, 0.45);
}
:where(#stage.dev-m) .v1m-pvz {
  zoom: 0.72;
}
:where(#stage.dev-m) .v1m-thumbs {
  padding: 12px 0 2px;
}
:where(#stage.dev-m) .v1m-thumbs [aria-label='Choose what the large picture shows'] {
  width: 100%;
  gap: 6px;
}
:where(#stage.dev-m) .v1m-thumbs [aria-label='Choose what the large picture shows'] button {
  font-size: 11px;
}
:where(#stage.dev-m) .v1m-design div.w-design-5 {
  padding-top: 16px;
}
/* What's included on mobile: switch + one list */

:where(#stage.dev-m) .v1m .v1n-bright {
  padding: 12px 10px 14px;
}
:where(#stage.dev-m) .v1m .v1n-bright-h .lbl {
  font-size: 15px;
}
:where(#stage.dev-m) .v1m .v1n-bright [data-opt^='bright:'] > span[aria-hidden='true']:first-of-type {
  height: 64px;
}
:where(#stage.dev-m) .v1m .v1n-addline {
  font-size: 14px;
  min-height: 44px;
}

/* the big certificate scrolls away; a small one with the details stays at the top */
:where(#stage.dev-m) .v1m-pvs {
  position: relative;
  top: auto;
  box-shadow: none;
}
:where(#stage.dev-m) .v1m-pvz {
  zoom: 1;
}
:where(#stage.dev-m) .v1m-sm-stick {
  position: sticky;
  top: 0;
  height: 0;
  z-index: 26;
}
:where(#stage.dev-m) .v1m-sm {
  position: absolute;
  left: -16px;
  right: -16px;
  top: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  border-bottom: 1px solid #e6e7ee;
  box-shadow: 0 6px 14px -8px rgba(16, 18, 40, 0.35);
  transform: translateY(-110%);
  visibility: hidden;
  transition:
    transform 0.2s ease,
    visibility 0s linear 0.2s;
  cursor: pointer;
}
:where(#stage.dev-m) .v1m-sm.is-on {
  transform: none;
  visibility: visible;
  transition:
    transform 0.2s ease,
    visibility 0s;
}
:where(#stage.dev-m) .v1m-sm-c {
  flex: 0 0 auto;
}
:where(#stage.dev-m) .v1m-sm.is-framed .pv {
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 5px #151517 !important;
  margin: 4px;
}
:where(#stage.dev-m) .v1m-sm-t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  color: #4a4f6e;
}
:where(#stage.dev-m) .v1m-sm-t b {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #1c2040;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(#stage.dev-m) .v1m-sm-t b.is-faded {
  color: #8b8fa6;
  font-weight: 600;
}
:where(#stage.dev-m) .v1m-sm-f {
  color: #1e6b3e;
  font-weight: 600;
}
:where(#stage.dev-m) .v1m-sm-f:empty {
  display: none;
}
:where(#stage.dev-m) .v1m-sm-go {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #1f6e9c;
}
:where(#stage.dev-m)
  .v1m
  .v1n-bright
  [data-opt^='bright:']
  > span[aria-hidden='true']:is(.w-bright-13, .w-bright-25, .w-bright-4) {
  height: 64px;
}

/* the small certificate is a slim bar (about 60px) that opens into a bigger live preview */
:where(#stage.dev-m) .v1m-sm {
  display: block;
  padding: 0;
}
:where(#stage.dev-m) .v1m-sm-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  border: 0;
  background: none;
  padding: 7px 16px;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
:where(#stage.dev-m) .v1m-sm-c {
  flex: 0 0 34px;
  display: block;
}
:where(#stage.dev-m) .v1m-sm-t {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  flex: 1;
  font-size: 12px;
  line-height: 1.3;
  color: #4a4f6e;
}
:where(#stage.dev-m) .v1m-sm-t b {
  font-size: 14px;
}
:where(#stage.dev-m) .v1m-sm-s {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:where(#stage.dev-m) .v1m-sm-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #d9dbe4;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #1c2040;
}
:where(#stage.dev-m) .v1m-sm-go svg {
  transition: transform 0.2s;
}
:where(#stage.dev-m) .v1m-sm.is-open .v1m-sm-go svg {
  transform: rotate(180deg);
}
:where(#stage.dev-m) .v1m-sm-x {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 14px;
  background: #efeef3;
  border-top: 1px solid #e6e7ee;
}
:where(#stage.dev-m) .v1m-sm-x[hidden] {
  display: none;
}
:where(#stage.dev-m) .v1m-sm-x .v1m-sm-f {
  font-size: 12px;
  color: #1e6b3e;
  font-weight: 600;
}
:where(#stage.dev-m) .v1m-sm.is-framed .v1m-sm-c .pv {
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 3px #151517 !important;
  margin: 3px;
}
:where(#stage.dev-m) .v1m-sm.is-framed .v1m-sm-xc .pv {
  box-shadow:
    0 0 0 4px #fff,
    0 0 0 11px #151517 !important;
  margin: 12px;
}
:where(#stage.dev-m) .v1m-sm.is-framed .v1m-sm-c {
  flex-basis: 40px;
}
/* the "Live preview" label sits above the certificate, not on it */
:where(#stage.dev-m) .v1m-pvs {
  padding-top: 40px;
}

/* ============================================================ 27. Template styles */
/* The layout templates (index.html) carried these as inline styles in the wireframe. One class per
   style and part: w-<part>-<n>. They come last so they keep the weight the inline styles had over the
   rules above (rules with !important still win, as before). The brightness guide slide-out shows copies of the
   brightness pictures outside #stage, so those classes are scoped to it too. */
#stage .w-scr-root-1 {
  width: 1440px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #1c2040;
  font-size: 15px;
  line-height: 1.5;
  padding-bottom: 0;
  position: relative;
}
#stage .w-sky-1 {
  max-width: 1232px;
  margin: 28px auto 64px;
  background: #ffffff;
  border-radius: 14px;
  overflow: visible;
}
#stage .w-left-1 {
  position: relative;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16, 18, 40, 0.1),
    0 2px 6px rgba(16, 18, 40, 0.1);
}
#stage .w-left-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#stage .w-left-3 {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 63.4%;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stage .w-left-4 {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 78%;
  transform: translateY(-50%);
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.3;
  color: #f2e6c9;
}
#stage .w-left-5 {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #1c2040;
  border: 0;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
#stage .w-left-6 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
#stage .w-views-1 {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: inherit;
  font-size: 12px;
  color: #1c2040;
  text-align: left;
  font-weight: 700;
}
#stage .w-views-2 {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #d9dbe4;
  outline: 2px solid #1c2040;
  outline-offset: 2px;
  background: #f4f4f7;
}
#stage .w-views-3 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 6px 0;
  box-sizing: border-box;
  display: block;
  background: #f4f4f7;
  filter: drop-shadow(0 1px 2px rgba(16, 18, 40, 0.25));
}
#stage .w-views-4 {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: inherit;
  font-size: 12px;
  color: #1c2040;
  text-align: left;
}
#stage .w-views-5 {
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e6e7ee;
  background: #f4f4f7;
}
#stage .w-views-6 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
#stage .w-views-7 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1c2040;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
#stage .w-s1-1 {
  max-width: 260px;
}
#stage .w-s1-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
}
#stage .w-s1-3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
#stage .w-s1-4 {
  color: #4a4f6e;
}
#stage .w-s1-5 {
  display: inline-flex;
  gap: 4px;
}
#stage .w-s1-6 {
  width: 32px;
  height: 32px;
  border: 1px solid #d9dbe4;
  border-radius: 6px;
  background: #ffffff;
  color: #1c2040;
  font-size: 16px;
  padding: 0;
}
#stage .w-s1-7 {
  position: relative;
}
#stage .w-s1-8 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px 10px;
}
#stage .w-designs-1 {
  flex: 0 0 calc((100% - 50px) / 6);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
  font-weight: 700;
}
#stage .w-designs-2 {
  width: 100%;
  aspect-ratio: 92 / 130;
  height: auto;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 4px;
  display: block;
  margin-bottom: 4px;
}
#stage .w-ds-badge-1 {
  display: inline-block;
  background: #e8b85c;
  color: #0b0e26;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
#stage .w-designs-3 {
  flex: 0 0 calc((100% - 50px) / 6);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
}
#stage .w-designs-4 {
  width: 100%;
  aspect-ratio: 92 / 130;
  height: auto;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 4px;
  display: block;
  margin-bottom: 4px;
}
#stage .w-designs-5 {
  flex: 0 0 calc(calc((100% - 50px) / 6) * 1.4142);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
}
#stage .w-designs-6 {
  width: 100%;
  aspect-ratio: 297 / 210;
  height: auto;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 4px;
  display: block;
  margin-bottom: 4px;
}
#stage .w-s2-1 {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  font-size: 13px;
  color: #1e6b3e;
  font-weight: 600;
}
#stage .w-constellation-field-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#stage .w-constellation-options-1 {
  position: relative;
}
#stage .w-opt2-1 {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#stage .w-opt2-2 {
  color: #1e6b3e;
}
#stage .w-constellation-choice-wrap-1 {
  position: relative;
}
#stage .w-bright-h-1 {
  margin: 0;
}
#stage .w-bright-1,
.sr-bg-drawer .w-bright-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
#stage .w-bright-2,
.sr-bg-drawer .w-bright-2 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgb(217, 219, 228);
  outline: 2px solid rgb(28, 32, 64);
  outline-offset: 2px;
  border-radius: 10px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.3;
  background: rgb(255, 255, 255);
  position: relative;
}
#stage .w-bright-3,
.sr-bg-drawer .w-bright-3 {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#stage .w-bright-4,
.sr-bg-drawer .w-bright-4 {
  position: relative;
  display: block;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(#0b0e26, #1a1f45);
}
#stage .w-bright-5,
.sr-bg-drawer .w-bright-5 {
  position: absolute;
  left: 12%;
  top: 30%;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-6,
.sr-bg-drawer .w-bright-6 {
  position: absolute;
  left: 28%;
  top: 70%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-7,
.sr-bg-drawer .w-bright-7 {
  position: absolute;
  left: 44%;
  top: 22%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-8,
.sr-bg-drawer .w-bright-8 {
  position: absolute;
  left: 63%;
  top: 78%;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-9,
.sr-bg-drawer .w-bright-9 {
  position: absolute;
  left: 80%;
  top: 35%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-10,
.sr-bg-drawer .w-bright-10 {
  position: absolute;
  left: 90%;
  top: 72%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-11,
.sr-bg-drawer .w-bright-11 {
  position: absolute;
  left: 20%;
  top: 50%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-12,
.sr-bg-drawer .w-bright-12 {
  position: absolute;
  left: 72%;
  top: 55%;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}
#stage .w-bright-13,
.sr-bg-drawer .w-bright-13 {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(to top, rgba(232, 150, 80, 0.35), rgba(232, 150, 80, 0));
}
#stage .w-bright-14,
.sr-bg-drawer .w-bright-14 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 170, 0.35) 0, rgba(255, 230, 170, 0) 70%);
}
#stage .w-bright-15,
.sr-bg-drawer .w-bright-15 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff6de;
}
#stage .w-bright-16,
.sr-bg-drawer .w-bright-16 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}
#stage .w-bright-17,
.sr-bg-drawer .w-bright-17 {
  font-size: 13px;
  color: #1e6b3e;
  font-weight: 700;
}
#stage .w-bright-18,
.sr-bg-drawer .w-bright-18 {
  font-size: 12px;
  color: #565b78;
}
#stage .w-bright-19,
.sr-bg-drawer .w-bright-19 {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgb(217, 219, 228);
  border-radius: 10px;
  padding: 8px;
  font-size: 14px;
  line-height: 1.3;
  background: rgb(255, 255, 255);
  position: relative;
}
#stage .w-bright-20,
.sr-bg-drawer .w-bright-20 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 170, 0.6) 0, rgba(255, 230, 170, 0) 70%);
}
#stage .w-bright-21,
.sr-bg-drawer .w-bright-21 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff6de;
  box-shadow: 0 0 6px 2px rgba(255, 240, 200, 0.8);
}
#stage .w-bright-22,
.sr-bg-drawer .w-bright-22 {
  font-size: 13px;
  font-weight: 700;
}
#stage .w-bright-23,
.sr-bg-drawer .w-bright-23 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 170, 0.85) 0, rgba(255, 230, 170, 0) 70%);
}
#stage .w-bright-24,
.sr-bg-drawer .w-bright-24 {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff6de;
  box-shadow: 0 0 10px 4px rgba(255, 240, 200, 0.9);
}
#stage .w-scr-root-2 {
  position: relative;
  width: 390px;
  height: 5784px;
  overflow: hidden;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #1c2040;
  background: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}
#stage .w-pvz-1 {
  position: relative;
  width: 230px;
  aspect-ratio: 210/297;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16, 18, 40, 0.1),
    0 2px 6px rgba(16, 18, 40, 0.1);
}
#stage .w-pvz-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#stage .w-pvz-3 {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 63%;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stage .w-pvz-4 {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 77%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 11px;
  color: #f2e6c9;
}
#stage .w-thumbs-1 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
#stage .w-views-8 {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: inherit;
  font-size: 11px;
  color: #1c2040;
  text-align: left;
  font-weight: 700;
}
#stage .w-views-9 {
  background: none;
  border: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: inherit;
  font-size: 11px;
  color: #1c2040;
  text-align: left;
}
#stage .w-sm-c-1 {
  position: relative;
  width: 34px;
  aspect-ratio: 210/297;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16, 18, 40, 0.12),
    0 1px 3px rgba(16, 18, 40, 0.2);
}
#stage .w-sm-c-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#stage .w-sm-c-3 {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 63%;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 2.2px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stage .w-sm-c-4 {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 77%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 1.6px;
  color: #f2e6c9;
}
#stage .w-sm-xc-1 {
  position: relative;
  width: 190px;
  aspect-ratio: 210/297;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(16, 18, 40, 0.1),
    0 6px 18px rgba(16, 18, 40, 0.25);
}
#stage .w-sm-xc-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
#stage .w-sm-xc-3 {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 63%;
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 12.4px;
  color: rgb(255, 255, 255);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#stage .w-sm-xc-4 {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 77%;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-size: 9.1px;
  color: #f2e6c9;
}
#stage .w-s1-9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
#stage .w-s1-10 {
  font-size: 13px;
  color: #4a4f6e;
}
#stage .w-s1-11 {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  margin-top: 6px;
  border: 1px solid #d9dbe4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
#stage .w-s1-12 {
  height: 44px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #1c2040;
  font-size: 16px;
  padding: 0;
}
#stage .w-s1-13 {
  height: 44px;
  border: 0;
  border-left: 1px solid #e1e3ea;
  border-radius: 0;
  background: #ffffff;
  color: #1c2040;
  font-size: 16px;
  padding: 0;
}
#stage .w-design-1 {
  width: 100%;
}
#stage .w-design-2 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
#stage .w-design-3 {
  margin: 0;
}
#stage .w-design-4 {
  font-size: 12px;
  color: #4a4f6e;
}
#stage .w-design-5 {
  width: 0;
  min-width: 100%;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  align-items: flex-start;
  padding: 4px 4px 6px;
}
#stage .w-design-6 {
  flex: 0 0 84px;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
  font-weight: 700;
}
#stage .w-design-7 {
  width: 84px;
  height: 119px;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 3px;
  display: block;
  margin-bottom: 3px;
}
#stage .w-ds-badge-2 {
  display: inline-block;
  background: #e8b85c;
  color: #0b0e26;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
#stage .w-design-8 {
  flex: 0 0 84px;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
}
#stage .w-design-9 {
  width: 84px;
  height: 119px;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 3px;
  display: block;
  margin-bottom: 3px;
}
#stage .w-design-10 {
  flex: 0 0 119px;
  font-size: 12px;
  text-align: center;
  color: #1c2040;
}
#stage .w-design-11 {
  width: 119px;
  height: 84px;
  margin-top: 35px;
  object-fit: cover;
  border: 1px solid #d9dbe4;
  border-radius: 3px;
  display: block;
  margin-bottom: 3px;
}
#stage .w-constellation-field-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
#stage .w-bright-25,
.sr-bg-drawer .w-bright-25 {
  position: relative;
  display: block;
  height: 46px;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(#0b0e26, #1a1f45);
}
#stage .w-bright-26,
.sr-bg-drawer .w-bright-26 {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Star name first (js/core.js nameBeforeDesigns) */
#stage .sr-name-first {
  margin-bottom: 16px;
}

/* Poster editor: a short line under Location and Date that says what the field changes on the poster */
.sr-poster-hint {
  margin: -6px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--sr-muted, #6b6f86);
}


/* Poster: what you get (PDF or printed A4), on the row and in the editor header */
#stage .sr-poster-choice .sr-poster-format {
  display: block;
  margin-top: 2px;
}
.sr-poster-size {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sr-ink, #1a1f36);
}

/* Poster editor steps (phones only, like live M1): js/core.js syncPosterStep */
.sr-poster-steps {
  display: none;
}
@media (max-width: 760px) {
  .sr-poster-drawer[data-step] .sr-poster-steps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 12px 16px 4px;
    list-style: none;
    font-size: 13px;
    color: var(--sr-muted, #6b6f86);
  }
  .sr-poster-steps li {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    white-space: nowrap;
  }
  .sr-poster-steps li[hidden] {
    display: none;
  }
  .sr-poster-steps li + li::before {
    content: '';
    width: 16px;
    height: 1px;
    margin-right: 2px;
    background: currentColor;
    opacity: 0.4;
  }
  .sr-poster-steps li em {
    font-style: normal;
  }
  .sr-poster-steps li > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef1f5;
    font-size: 12px;
    font-weight: 600;
  }
  .sr-poster-steps li.is-active {
    color: var(--sr-ink, #1a1f36);
    font-weight: 600;
  }
  .sr-poster-steps li.is-active > span,
  .sr-poster-steps li.is-done > span {
    background: var(--sr-ink, #1a1f36);
    color: #fff;
  }
  .sr-poster-drawer[data-step] .sr-poster-sec {
    display: none !important;
  }
  .sr-poster-drawer[data-step='1'] .sr-poster-sec[data-poster-sec='1'],
  .sr-poster-drawer[data-step='2'] .sr-poster-sec[data-poster-sec='2'],
  .sr-poster-drawer[data-step='3'] .sr-poster-sec[data-poster-sec='3'] {
    display: grid !important;
    padding-top: 8px;
    border-top: 0;
  }
  .sr-poster-drawer[data-step] .sr-poster-editor > header p:not(.sr-poster-size) {
    display: none;
  }
}
.sr-poster-next[hidden],
.sr-poster-save[hidden] {
  display: none !important;
}

/* Phone: name, picture, designs and Landscape in the first screen (js/core.js nameBeforeDesigns) */
#stage.dev-m .sr-m-first {
  padding: 10px 0 0;
}
#stage.dev-m .sr-m-titlebar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-title {
  margin: 0;
  font: 600 20px/1.15 var(--sr-font-heading);
}
#stage.dev-m .sr-m-titlebar .sr-product-head-price strong {
  font-size: 20px;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-save {
  display: none;
}
#stage.dev-m .sr-m-first .sr-name-first {
  margin-bottom: 0;
}
#stage.dev-m .sr-m-first > .sr-m-namecard {
  margin: 4px 0 0 !important;
}
#stage.dev-m .v1m-cfg > .v1m-pvs {
  margin-top: 8px !important;
  padding: 10px 0 !important;
}
#stage.dev-m .v1m-cfg > .v1m-pvs .v1m-pvz {
  zoom: 0.92;
}
#stage.dev-m .v1m-cfg > .sr-m-designs {
  margin: 0;
  padding: 10px 0 4px;
}
#stage.dev-m .v1m-cfg > .sr-m-designs .sr-orientation {
  margin-top: 8px;
}
#stage.dev-m .v1m-cfg > .sr-m-designs .sr-orientation-toggle {
  padding: 8px 12px;
}
#stage.dev-m #v1-s1.sr-m-emptied {
  display: none !important;
}

#stage.dev-m .sr-scroll-cue {
  display: none !important;
}
/* the name moved up to "Your certificate", so the date has the first row of Personalization to itself */
#stage .sr-accordion-body > .sr-date-field:first-child {
  grid-column: 1 / -1 !important;
}

/* gallery thumbnails: every picture shows whole on white, like the product photos */
#stage [aria-label='Choose what the large picture shows'] button > span:first-child {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff !important;
}
#stage [aria-label='Choose what the large picture shows'] button > span > img:not(.th-cert) {
  background: #fff !important;
}
#stage [aria-label='Choose what the large picture shows'] .th-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  flex: none;
}
#stage [aria-label='Choose what the large picture shows'] .th-photo > img:not(.th-cert) {
  width: 100%;
  height: 100% !important;
  aspect-ratio: auto;
  object-fit: cover !important;
}

/* phone: the gallery thumbnails in one row that slides sideways, instead of two rows */
#stage.dev-m .w-thumbs-1 {
  display: grid !important;
  grid-template-columns: none !important;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-right: -16px;
  padding: 3px 16px 3px 3px;
}
#stage.dev-m .w-thumbs-1::-webkit-scrollbar {
  display: none;
}
#stage.dev-m .w-thumbs-1 > button {
  scroll-snap-align: start;
}

/* big picture: the product photos are on white, so their box is white with a thin edge, not grey bands */
#stage .pv-img[src*='pkg-'] {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px #e6e7ee;
  border-radius: 8px;
}


/* phone: smaller design pictures with more room between them (the big preview is right above) */
#stage.dev-m :is(#v1-s1, .sr-m-designs) [data-sr-design-list] {
  gap: 14px !important;
  padding: 6px 6px 8px !important;
  scroll-padding: 0 6px;
}
#stage.dev-m :is(#v1-s1, .sr-m-designs) [data-sr-design-list] > [data-sr-design-option] {
  flex: 0 0 62px !important;
}

/* the poster row's extra line is empty on a digital order */
#stage .sr-poster-format:empty {
  display: none;
}

/* phone (Arturs, 11.11.): at the top only the product name and Trustpilot; the gallery thumbnails and the
   trust badges are left out on phones for now */
#stage.dev-m .v1m-cfg > .v1m-thumbs,
#stage.dev-m .v1m-cfg > .sr-product-head {
  display: none !important;
}
#stage.dev-m .sr-m-first > .sr-m-rating {
  margin: -4px 0 8px;
}

/* Poster editor on phones (step mode), like live M1: the big preview stays, and the place and date fields
   are on screen without scrolling. The title block is not needed here (the steps say where you are),
   the close button sits on the preview, and the quantity and Next share one row. */
.sr-poster-drawer[data-step] .sr-poster-drawer-panel {
  position: relative;
}
.sr-poster-drawer[data-step] .sr-poster-editor > header {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 3;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
.sr-poster-drawer[data-step] .sr-poster-editor > header > div {
  display: none;
}
.sr-poster-drawer[data-step] .sr-poster-editor > header .sr-poster-drawer-close {
  background: #fff;
}
.sr-poster-drawer[data-step] .sr-poster-preview-pane > small {
  display: none;
}
.sr-poster-drawer[data-step] .sr-poster-sec-h,
.sr-poster-drawer[data-step] .sr-poster-sec:first-child > .sr-poster-sec-s {
  display: none !important;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-poster-cancel {
  display: none !important;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-poster-next,
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-poster-save {
  flex: 1 1 auto;
  width: auto !important;
  margin: 0 !important;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-drawer-qty {
  flex: none;
  margin: 0 !important;
}

#stage #v1-s2 .sr-constellation-field.is-single .sr-constellation-options > .opt2,
#stage #v1-s2 .sr-constellation-field.is-single .sr-constellation-choice-wrap > .opt2 {
  display: none !important;
}
#stage #v1-s2 .sr-constellation-field.is-single .sr-constellation-options,
#stage #v1-s2 .sr-constellation-field.is-single .sr-constellation-choice-wrap {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#stage #v1-s2 .sr-constellation-field.is-single .sr-constellation-choice-wrap .b-constel {
  display: grid !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
#stage [aria-label='Choose what the large picture shows'] .th-cert[hidden] {
  display: none !important;
}
#stage [aria-label='Choose what the large picture shows'] .th-photo.is-whole > img:not(.th-cert) {
  object-fit: contain !important;
}

#stage#stage.dev-m .v1n.v1m {
  padding-right: 12px !important;
  padding-left: 12px !important;
}
#stage#stage.dev-m .v1m-cfg :is(.sr-accordion-card, .sr-order-summary, .sr-ship-card),
#stage#stage.dev-m .v1m-cfg > .v1m-pvs {
  margin-right: -12px !important;
  margin-left: -12px !important;
}
#stage#stage.dev-m .v1m-cfg :is(.sr-accordion-card, .sr-order-summary) {
  padding-right: 12px !important;
  padding-left: 12px !important;
}
#stage#stage.dev-m .sr-story {
  margin-right: -12px;
  margin-left: -12px;
}
#stage#stage.dev-m .v1m-sm {
  right: -12px;
  left: -12px;
}
#stage#stage.dev-m .w-thumbs-1 {
  margin-right: -12px;
  padding-right: 12px;
}
#stage#stage.dev-m .sr-m-first {
  padding-top: 8px;
}
#stage#stage.dev-m .sr-m-titlebar {
  margin-bottom: 8px;
}
#stage#stage.dev-m .sr-m-first > .sr-m-rating {
  margin: -4px 0 6px;
}
#stage#stage.dev-m .sr-m-first > .sr-m-namecard {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
#stage#stage.dev-m .sr-m-namecard > .sr-accordion-head {
  margin-bottom: 10px;
}
#stage#stage.dev-m .v1m-cfg > .v1m-pvs {
  margin-top: 8px !important;
  padding: 6px 0 !important;
}
#stage#stage.dev-m .v1m-cfg > .v1m-pvs .v1m-pvz {
  zoom: 1.17;
}
#stage#stage.dev-m .v1m-cfg > .sr-m-designs {
  padding: 6px 0 0;
}
#stage#stage.dev-m .sr-m-designs [data-sr-design-list] {
  padding: 4px 6px 6px !important;
}
#stage#stage.dev-m .v1m-cfg > .sr-m-designs .sr-orientation {
  display: flex;
  align-items: center;
  min-height: 42px;
  height: 42px;
  margin-top: 4px;
  padding: 0 12px !important;
}
#stage#stage.dev-m .v1m-cfg > .sr-m-designs .sr-orientation-toggle {
  width: 100%;
  padding: 0;
  gap: 10px;
}
#stage#stage.dev-m .sr-m-designs .sr-orientation .sr-check-copy small {
  display: none;
}
#stage#stage.dev-m .sr-m-designs .sr-orientation .sr-check-copy b {
  white-space: nowrap;
}
#stage#stage.dev-m .v1m-cfg > .sr-m-designs,
#stage#stage.dev-m .v1m-cfg > .sr-m-designs .sr-orientation {
  width: auto !important;
  max-width: none !important;
}
#stage#stage.dev-m .v1m-cfg > .v1m-pvs .v1m-pvz:has(.pv[style*='297 / 210']) {
  zoom: 1.1;
}
#stage .sr-row-qty {
  margin-right: 6px;
  color: var(--sr-muted);
  font-weight: 600;
}
.sr-drawer-qty[hidden] {
  display: none !important;
}
#stage .w-s2-1.is-off {
  display: none;
}
#stage.dev-m .sr-place-status-copy .sr-visibility-help,
#stage.dev-m .v1n-bright .sr-bright-help {
  position: relative;
  min-height: 44px;
  padding: 14px 6px;
  margin: -14px -6px;
}
@media (max-width: 760px) {
  #stage .sr-place-status-copy .sr-visibility-help,
  #stage .v1n-bright .sr-bright-help {
    position: relative;
    min-height: 44px;
    padding: 14px 6px;
    margin: -14px -6px;
  }
}
#stage .sr-product-head-price strong {
  font-family: proxima-nova, 'Helvetica Neue', Arial, sans-serif !important;
}
#stage .sr-variant select {
  width: 100%;
}
@media (max-width: 360px) {
  #stage .sr-variant {
    grid-template-columns: auto minmax(0, 1fr);
  }
  #stage .sr-variant select {
    grid-column: 1 / -1;
  }
  #stage .sr-variant .sr-variant-remove {
    justify-self: start;
  }
}
#stage .sr-constellation-trigger {
  min-width: 0;
  max-width: 100%;
}
#stage .sr-constellation-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 360px) {
  #stage .sr-place-field:not(.has-value) .sr-floating-label {
    font-size: 13.5px !important;
  }
}
#stage .sr-constellation-form-card {
  grid-template-columns: minmax(0, 1fr);
}
#stage .sr-constellation-form-card > div {
  min-width: 0;
}
#stage .xfield.b-constel {
  grid-template-columns: minmax(0, 1fr);
}
#stage .xfield.b-constel > *,
#stage .sr-constellation-form-card > div > div {
  min-width: 0;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-title {
  min-width: 0;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-items: end;
  gap: 2px 8px;
  flex-shrink: 0;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-price > :is(strong, s) {
  grid-column: 2;
}
#stage.dev-m .sr-m-titlebar .sr-product-head-price > .sr-product-head-more {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer {
  flex-wrap: nowrap;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-poster-next,
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-poster-save {
  flex: 1 1 0;
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sr-poster-drawer[data-step] .sr-poster-editor > footer .sr-drawer-qty-label {
  display: none;
}
@media (max-width: 360px) {
  .sr-poster-drawer[data-step] .sr-drawer-qty .sr-qty-btn {
    width: 36px;
  }
  .sr-poster-drawer[data-step] .sr-drawer-qty .sr-qty-value {
    min-width: 22px;
  }
}
#stage #v1-s2 .v1n-bright .sr-bright-badge {
  display: block;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.2;
}
#stage .sr-product-head-sub {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  max-width: 720px;
  color: #4b5563;
  font: 400 15px/1.45 var(--sr-font-ui);
}
#stage.dev-d .sr-product-head-title {
  grid-column: 1;
  grid-row: 1;
}
#stage.dev-d .sr-product-head-price {
  grid-column: 2;
  grid-row: 1;
}
#stage.dev-d .sr-product-head-sub {
  grid-column: 1 / -1;
  grid-row: 2;
}
#stage.dev-d .sr-product-head-rating {
  grid-row: 3;
}
#stage.dev-d .sr-head-badges {
  grid-row: 3;
}
@media (min-width: 701px) and (max-width: 900px) {
  #stage.dev-d .sr-product-head-sub {
    grid-column: 1 / -1;
  }
  #stage.dev-d .sr-head-badges {
    grid-row: 4;
  }
}
#stage .w-s1-2 {
  flex-wrap: wrap;
  row-gap: 8px;
}
#stage .w-s1-3,
#stage .w-s1-5 {
  flex-wrap: wrap;
  min-width: 0;
}
@media (min-width: 701px) and (max-width: 1023px) {
  #stage .v1n-right .w-s1-5 {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 32px));
    gap: 2px;
    width: 100%;
  }
  #stage .v1n-right .w-s1-6 {
    width: auto;
    height: auto;
    aspect-ratio: 1;
  }
  #stage .sr-choice-desc.is-twolines {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  #stage.dev-d :is(.sr-choice:not(:has(> .sr-choice-main)), .sr-choice-main) {
    grid-template-columns: 24px 56px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 6px;
    padding: 12px !important;
  }
  #stage.dev-d :is(.sr-choice:not(:has(> .sr-choice-main)), .sr-choice-main) > .sr-choice-img {
    width: 56px !important;
    height: 56px !important;
  }
  #stage.dev-d :is(.sr-choice:not(:has(> .sr-choice-main)), .sr-choice-main) > :is(.sr-choice-price, [data-price-key]) {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
}
@media (min-width: 701px) and (max-width: 1023px) {
  #stage.dev-d .sr-addon {
    grid-template-columns: 24px 56px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    row-gap: 6px;
  }
  #stage.dev-d .sr-addon > .sr-addon-img {
    width: 56px !important;
    height: 56px !important;
  }
  #stage.dev-d .sr-addon > .sr-choice-price {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: start;
    text-align: left;
  }
  #stage.dev-d .sr-addon > .sr-addon-select {
    grid-column: 2 / -1 !important;
  }
  #stage.dev-d .sr-variant {
    grid-template-columns: auto minmax(0, 1fr);
  }
  #stage.dev-d .sr-variant select {
    grid-column: 1 / -1;
  }
  #stage.dev-d .sr-variant .sr-variant-remove {
    justify-self: start;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  #stage.dev-d .sr-variant {
    grid-template-columns: auto minmax(0, 1fr);
  }
  #stage.dev-d .sr-variant select {
    grid-column: 1 / -1;
  }
  #stage.dev-d .sr-variant .sr-variant-remove {
    justify-self: start;
  }
}
#stage .sr-addon-select {
  container-type: inline-size;
}
@container (max-width: 320px) {
  #stage .sr-variant {
    grid-template-columns: auto minmax(0, 1fr);
  }
  #stage .sr-variant select {
    grid-column: 1 / -1;
  }
  #stage .sr-variant .sr-variant-remove {
    justify-self: start;
  }
}
#stage .inp[data-in='name'] {
  padding-right: 62px !important;
}
#stage .sr-sets-line {
  display: block;
  margin-top: 6px;
  color: var(--sr-ink);
  font: 700 13px/1.4 var(--sr-font-ui);
}
@media (max-width: 700px) {
  #stage .sr-choice-desc.is-twolines {
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
  }
  #stage .sr-inc-link,
  #stage .sr-ship-to-btn,
  #stage .sr-order-summary > .sr-summary-details {
    position: relative;
  }
  #stage .sr-inc-link::before,
  #stage .sr-ship-to-btn::before,
  #stage .sr-order-summary > .sr-summary-details::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    left: -6px;
    height: 44px;
    transform: translateY(-50%);
  }
}
#stage .sr-constellation-trigger {
  height: auto;
}
#stage .sr-constellation-value {
  white-space: normal;
}
@media (min-width: 701px) and (max-width: 1023px) {
  #stage .sr-place-field:not(.has-value):not(:focus-within) .sr-floating-label {
    overflow: visible;
    font-size: 14px !important;
    line-height: 1.2 !important;
    white-space: normal;
  }
  #stage #v1-s2 .v1n-bright [role='radiogroup'] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) !important;
  }
  #stage #v1-s2 .v1n-bright [role='radiogroup'] > label > span > b {
    font-size: 14px;
    white-space: nowrap;
  }
}
#stage#stage.dev-m .v1m-cfg > .sr-m-designs {
  margin-bottom: 12px;
}
#stage .sr-head-badges li[hidden] {
  display: none;
}
@media (min-width: 701px) and (max-width: 1023px) {
  #stage.dev-d .has-was {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0 6px;
  }
  #stage.dev-d .sr-format-tab-price .sr-was {
    display: inline;
  }
}
@media (min-width: 701px) and (max-width: 1023px) {
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) {
    position: relative;
    grid-template-columns: 56px minmax(0, 1fr) !important;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) > input {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) > .sr-choice-img {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) > .sr-choice-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) .sr-choice-copy > :first-child {
    margin-right: 32px;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) .sr-choice-badge + .sr-choice-title {
    margin-right: 0;
  }
  #stage.dev-d .sr-choice:has(> input[name='cro-frame']) > :is(.sr-choice-price, [data-price-key]) {
    grid-column: 2 !important;
  }
}
#stage .sr-gift-note,
#stage .sr-sets-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 14px;
  padding: 0 16px 0 0;
  color: #596176;
  font: 400 13px/1.4 var(--sr-font-ui);
}
#stage .sr-sets-note + .sr-gift-note {
  margin-top: 0;
}
#stage .sr-gift-note-pics,
#stage .sr-sets-note-pic {
  position: relative;
  display: flex;
  flex: none;
}
#stage .sr-gift-note-pics img,
#stage .sr-sets-note-pic img {
  display: block;
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
  padding: 2px;
  box-sizing: border-box;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  background: #fff;
}
#stage .sr-gift-note-pics > i,
#stage .sr-sets-note-pic > i {
  position: absolute;
  right: -7px;
  top: -7px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #f6c445;
  color: #17213b;
  box-shadow: 0 0 0 2px #fff;
  font-style: normal;
}
#stage .sr-gift-note-pics > i svg {
  width: 12px;
  height: 12px;
}
#stage .sr-sets-note-pic > i,
#stage .sr-sets-badge {
  width: auto;
  min-width: 22px;
  padding: 0 5px;
  background: #17213b;
  color: #fff;
  font: 700 11px/1 Arial, sans-serif;
}
#stage .has-sets-badge {
  position: relative;
}
#stage .sr-sets-badge::before {
  content: '×2';
}
#stage .sr-sets-badge {
  position: absolute;
  right: 2px;
  top: 2px;
  z-index: 2;
  display: grid;
  place-items: center;
  height: 20px;
  box-sizing: border-box;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#stage .sr-gift-note-copy,
#stage .sr-sets-note-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
#stage .sr-gift-note-copy b,
#stage .sr-sets-note-copy b {
  color: #17213b;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
#stage .sr-gift-note-price {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  margin-left: auto;
  color: #16713a;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
}
#stage .sr-gift-note-price .sr-was {
  margin: 0;
}
#stage .sr-gift-note[data-where='constel'] {
  position: relative;
  margin: 0 16px;
  padding: 12px 0 14px;
  cursor: pointer;
}
#stage .sr-gift-note[data-where='constel']::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 60%;
  border-top: 1px solid #d5dbe5;
}
#stage .sr-gift-note[data-where='constel'] .sr-gift-note-pics img {
  width: 44px;
  height: 44px;
}
#stage .sr-gift-note[data-where='constel'] .sr-gift-note-pics > i {
  box-shadow: none;
}
#stage .sr-gift-note[data-where='constel'] .sr-gift-note-copy b {
  font-weight: 500;
}
#stage .sr-gift-note[data-where='constel'] .sr-gift-note-copy b em {
  display: inline-block;
  margin: 0 1px;
  padding: 0 6px;
  border-radius: 4px;
  background: #f6c445;
  color: #17213b;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.45;
}
#stage .sr-gift-thumb .w-views-5 {
  position: relative;
}
#stage .sr-gift-thumb .w-views-5 img {
  object-fit: contain !important;
  background: #fff;
}
#stage .sr-gift-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #f6c445;
  color: #17213b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#stage .sr-gift-badge svg {
  width: 11px;
  height: 11px;
}
#stage .sr-gift-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  max-width: calc(100% - 136px);
  padding: 8px 14px 8px 8px;
  border: 1px solid #e3e6ec;
  border-radius: 999px;
  background: #fff;
  color: #4a5164;
  font: 400 13px/1.2 var(--sr-font-ui);
  box-shadow: 0 4px 14px rgba(17, 19, 24, 0.12);
}
#stage .sr-gift-tag i {
  display: grid;
  flex: none;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #f6c445;
  color: #17213b;
}
#stage .sr-gift-tag i svg {
  width: 15px;
  height: 15px;
}
#stage .sr-gift-tag b {
  color: #17213b;
  font-weight: 700;
}
@media (max-width: 760px) {
  #stage .sr-gift-tag {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 7px 10px 7px 7px;
    gap: 7px;
    border-radius: 14px;
    font-size: 12px;
  }
  #stage .sr-gift-tag i {
    width: 22px;
    height: 22px;
  }
  #stage .sr-gift-tag i svg {
    width: 13px;
    height: 13px;
  }
}
