/* Coquette — See it on me. Every value here is a site token (tryon/DESIGN_TOKENS.md): Oxygen variables
 * --cjc-*, the .cjc-btn / .cjc-card / .cjc-eyebrow / .cjc-h2 / .cjc-h3 classes, and site.css conventions. */

/* ---------- "See how it actually looks on you": the most obvious thing on every page it is on ----------
 * Every filled try-on button (anything with data-cjctry-open that is not an outline button) gets one style:
 * the site's ink pill, taller (64px, well past the 44px tap target), larger sentence-case text so the long
 * label stays readable, and the site's soft shadow. Full width on phones. */
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline) {
  min-height: 64px; padding: 12px 36px; font-size: 17px; line-height: 1.25; letter-spacing: .01em; text-transform: none;
  text-align: center; text-wrap: balance; box-shadow: var(--cjc-shadow-soft);
}
/* looks pressable: pure ink, a white arrow chip, a lift on hover, and a soft halo that pulses twice on load */
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline) {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding-right: 12px; background-color: #120e0f; border-color: #120e0f; color: #fff; font-weight: 500;
  box-shadow: 0 18px 40px -18px rgba(18,14,15,.65), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform 200ms var(--cjc-ease-out), box-shadow 200ms var(--cjc-ease-out);
}
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline)::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6.5 18.5 12 13 17.5' fill='none' stroke='%23120e0f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform 200ms var(--cjc-ease-out);
}
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline):hover { transform: translateY(-2px); background-color: #000; box-shadow: 0 28px 64px -24px rgba(18,14,15,.7); }
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline):hover::after { transform: translateX(3px); }
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline):active { transform: translateY(0) scale(.99); }
@media (prefers-reduced-motion: no-preference) {
  .cjc-btn[data-cjctry-open]:not(.cjc-btn--outline) { animation: cjctry-halo 1.8s ease-out .8s 2; }
}
@keyframes cjctry-halo { 0% { box-shadow: 0 18px 40px -18px rgba(18,14,15,.65), 0 0 0 0 rgba(216,180,184,.9); } 100% { box-shadow: 0 18px 40px -18px rgba(18,14,15,.65), 0 0 0 16px rgba(216,180,184,0); } }
/* "Start here, it's free" with a hand-drawn arrow, above the landing page's first button */
.cjctry-starthere { display: flex; align-items: flex-end; gap: 4px; width: max-content; margin: 0 0 6px 18px; color: var(--cjc-mauve); font: italic 400 21px/1 var(--cjc-font-serif); }
.cjctry-starthere svg { margin-bottom: -10px; color: var(--cjc-ink); }
.cjc-btn[data-cjctry-open]:not(.cjc-btn--outline):focus-visible { outline: 2px solid var(--cjc-ink); outline-offset: 4px; }
@media (max-width: 767px) { .cjc-btn[data-cjctry-open]:not(.cjc-btn--outline) { width: 100%; font-size: 17px; } }

/* ---------- Malaysia: Mina's landing photos frame her face and the pendant (her face sits higher) ---------- */
@media (max-width: 767px) { .cjctry-lp-pair__img[src*="-myr."] { object-position: 50% 42%; } }

/* ---------- entry point on product pages ---------- */
.cjctry-cta { margin: var(--cjc-s2) 0 0; }
.cjctry-cta[hidden] { display: none; }
.cjctry-cta__btn { width: 100%; }
.cjctry-free { margin: 8px 0 0; color: var(--cjc-mauve); font-family: var(--cjc-font-sans); font-weight: 500; font-size: 13px; text-align: center; }
.cjctry-cta .cjctry-state { padding: var(--cjc-s2); border-radius: var(--cjc-radius-sm); background: var(--cjc-ivory-2); border: 1px solid rgba(107,87,86,.16); }

/* ---------- layer: sheet on phones, centred panel on larger screens ---------- */
html.cjctry-open, html.cjctry-open body { overflow: hidden; }
.cjctry-layer { position: fixed; inset: 0; z-index: 1001; display: flex; align-items: flex-end; justify-content: center; font-family: var(--cjc-font-sans); color: var(--cjc-ink); }
.cjctry-layer__scrim { position: absolute; inset: 0; background: rgba(34,28,30,.42); }
.cjctry-sheet { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--cjc-ivory); border-radius: var(--cjc-radius) var(--cjc-radius) 0 0; box-shadow: var(--cjc-shadow-soft); padding: var(--cjc-s4) 20px calc(var(--cjc-s3) + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .cjctry-layer { align-items: center; }
  .cjctry-sheet { border-radius: var(--cjc-radius); padding: var(--cjc-s4); }
}
/* fitting and result are whole screens, not sheets: her photo is the largest thing on them */
.cjctry-layer--fit .cjctry-layer__scrim, .cjctry-layer--result .cjctry-layer__scrim, .cjctry-layer--send .cjctry-layer__scrim { background: var(--cjc-ivory); }
.cjctry-layer--fit .cjctry-sheet, .cjctry-layer--result .cjctry-sheet, .cjctry-layer--send .cjctry-sheet { max-width: 720px; max-height: 100dvh; height: 100dvh; border-radius: 0; box-shadow: none; padding-top: var(--cjc-s3); }
@media (min-width: 768px) { .cjctry-layer--fit .cjctry-sheet, .cjctry-layer--result .cjctry-sheet { height: auto; max-height: 100dvh; } }

.cjctry-title { margin: 0 0 var(--cjc-s2); }
.cjctry-title em { color: var(--cjc-mauve); font-style: italic; font-weight: 300; }
.cjctry-muted { color: var(--cjc-mauve); font-size: 15px; line-height: 1.5; margin: 0 0 var(--cjc-s2); }
.cjctry-fine { font-size: 13px; }
.cjctry-center { text-align: center; }
.cjctry-x { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: transparent; color: var(--cjc-ink); cursor: pointer; }
.cjctry-x:hover { background: var(--cjc-ivory-2); }
.cjctry-x--light { color: var(--cjc-ivory); }
.cjctry-x--light:hover { background: rgba(248,244,241,.14); }
.cjctry-textbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--cjc-ink); font: inherit; font-size: 14px; text-decoration: underline; text-decoration-color: var(--cjc-mauve); text-underline-offset: 3px; cursor: pointer; }
.cjctry-textbtn:hover { color: var(--cjc-mauve); }
[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* ---------- picker ---------- */
.cjctry-picker__head { display: flex; align-items: center; gap: 16px; margin: 0 0 var(--cjc-s3); padding-right: 40px; }
.cjctry-picker__head .cjctry-title { margin: 0; }
.cjctry-picker__me { flex: none; width: 72px; height: 90px; object-fit: cover; border-radius: 14px; box-shadow: var(--cjc-shadow-soft); }
.cjctry-card__note { display: block; margin-top: 2px; color: var(--cjc-mauve); font-size: 12px; }
.cjctry-picker [data-pick][aria-busy="true"] { opacity: .55; }
.cjctry-start { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 var(--cjc-s2); }
.cjctry-start__item { display: flex; flex-direction: column; gap: 10px; padding: 0; border: 0; background: none; text-align: left; color: var(--cjc-ink); cursor: pointer; font: inherit; }
.cjctry-start__label { font-family: var(--cjc-font-serif); font-size: 19px; line-height: 1.2; }
.cjctry-browse { width: 100%; }
.cjctry-browse__panel { margin-top: var(--cjc-s2); }
.cjctry-search input { width: 100%; height: 48px; padding: 0 20px; border: var(--cjc-line); border-radius: 999px; background: var(--cjc-white); color: var(--cjc-ink); font: 16px var(--cjc-font-sans); }
.cjctry-search input:focus-visible { outline: 2px solid var(--cjc-ink); outline-offset: 2px; }
.cjctry-chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cjctry-chip { flex: none; min-height: 44px; padding: 0 18px; border: var(--cjc-line); border-radius: 999px; background: transparent; color: var(--cjc-ink); font: 500 13px var(--cjc-font-sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.cjctry-chip[aria-pressed="true"] { background: var(--cjc-ink); border-color: var(--cjc-ink); color: var(--cjc-ivory); }
.cjctry-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cjc-s3) 12px; }
@media (min-width: 768px) { .cjctry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cjctry-card { width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; cursor: pointer; }

/* ---------- consent + upload ---------- */
.cjctry-examples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 var(--cjc-s3); }
.cjctry-example { margin: 0; padding: 12px; border-radius: var(--cjc-radius-sm); background: var(--cjc-ivory-2); text-align: center; color: var(--cjc-ink-soft); }
.cjctry-example svg { width: 64px; height: 64px; }
.cjctry-example figcaption { margin-top: 6px; font-size: 13px; color: var(--cjc-mauve); }
.cjctry-example--yes .cjctry-example__mark { color: var(--cjc-ink); font-weight: 500; }
.cjctry-check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--cjc-ink); cursor: pointer; }
.cjctry-check__more { color: var(--cjc-mauve); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cjctry-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cjc-ink); }
/* "Try on <piece>" on the upload sheet, with "Choose something else" */
.cjctry-trying { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 0 12px; margin: 4px 0 var(--cjc-s2); padding: 10px 12px; border: 1px solid rgba(107,87,86,.16); border-radius: var(--cjc-radius-sm); background: var(--cjc-ivory-2); }
.cjctry-trying p { min-width: 0; margin: 0; }
.cjctry-trying .cjc-eyebrow { display: block; margin: 0 0 2px; }
.cjctry-trying .cjctry-fit__thumb { width: 48px; height: 48px; background: var(--cjc-white); }
.cjctry-trying .cjctry-fit__name { display: block; font-size: 20px; }
.cjctry-trying .cjctry-textbtn { flex: none; font-size: 13px; }
@media (max-width: 479px) { .cjctry-trying { grid-template-columns: 48px minmax(0, 1fr); } .cjctry-trying .cjctry-textbtn { grid-column: 2; justify-self: start; min-height: 32px; padding: 0; } }
/* The drop box: drag a photo in, or tap Upload photo. Greyed out until the checkbox is ticked. */
.cjctry-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: var(--cjc-s2); padding: 22px 20px 20px; border: 1.5px dashed rgba(107,87,86,.4); border-radius: var(--cjc-radius-sm); background: var(--cjc-white); text-align: center; cursor: pointer; transition: background-color 200ms, border-color 200ms; }
.cjctry-drop__icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cjc-blush); color: var(--cjc-ink); }
.cjctry-drop__hint { color: var(--cjc-mauve); font-size: 14px; }
.cjctry-drop.is-over { border-color: var(--cjc-ink); background: var(--cjc-blush); }
.cjctry-drop[aria-disabled="true"] { cursor: not-allowed; }
.cjctry-drop[aria-disabled="true"] > span { opacity: .45; }
.cjctry-drop:focus-within { outline: 2px solid var(--cjc-ink); outline-offset: 3px; }
.cjctry-choose { pointer-events: none; }
.cjctry-nudge { margin: 10px 0 0; padding: 10px 14px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); color: var(--cjc-ink); font-size: 14px; text-align: center; }
.cjctry-nudge.is-flash { animation: cjctry-flash 1.3s ease-out; }
.cjctry-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
/* while disabled, taps fall through to the box, which flashes the checkbox */
.cjctry-file:disabled { pointer-events: none; }
/* phones and tablets have no dragging: just the button */
@media (hover: none) { .cjctry-drop { padding: 0; border: 0; background: none; } .cjctry-drop__icon, .cjctry-drop__hint { display: none; } }
/* Tapping the greyed-out upload flashes the 18+ consent */
.cjctry-check { border-radius: var(--cjc-radius-sm); }
.cjctry-check.is-flash { animation: cjctry-flash 1.3s ease-out; }
.cjctry-check.is-flash input { animation: cjctry-flash-box 1.3s ease-out; }
@keyframes cjctry-flash { 0%, 50% { background: var(--cjc-blush); box-shadow: 0 0 0 8px var(--cjc-blush); color: var(--cjc-ink); } 25%, 75% { background: transparent; box-shadow: 0 0 0 8px transparent; } 100% { background: transparent; box-shadow: 0 0 0 8px transparent; } }
@keyframes cjctry-flash-box { 0%, 50% { outline: 2px solid var(--cjc-ink); outline-offset: 2px; } 25%, 75%, 100% { outline: 2px solid transparent; outline-offset: 2px; } }
@media (prefers-reduced-motion: no-preference) { .cjctry-check.is-flash input { animation: cjctry-flash-box 1.3s ease-out, cjctry-nudge 400ms ease-in-out; } }
@keyframes cjctry-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.cjctry-error, .cjctry-alert { margin: var(--cjc-s2) 0 0; padding: 12px 16px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); color: var(--cjc-ink); font-size: 14px; line-height: 1.5; }

/* ---------- tiles (fitting, two-up, friend) ---------- */
.cjctry-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 var(--cjc-s2); }
.cjctry-two:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.cjctry-tile { position: relative; margin: 0; }
.cjctry-tile figcaption { margin-top: 8px; font-family: var(--cjc-font-serif); font-size: 17px; line-height: 1.2; text-align: center; }
.cjctry-tile__pick { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--cjc-radius-sm); }
.cjctry-tile__frame { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--cjc-radius-sm); background: var(--cjc-ivory-2); }
.cjctry-two:has(> :only-child) .cjctry-tile__frame { aspect-ratio: 4 / 4.4; }
.cjctry-tile__frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cjctry-tile.is-selected .cjctry-tile__frame { outline: 2px solid var(--cjc-ink); outline-offset: 3px; }
.cjctry-tile__num { position: absolute; top: 10px; left: 10px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--cjc-ink); color: var(--cjc-ivory); font: 500 15px var(--cjc-font-sans); }
.cjctry-chip-label { position: absolute; left: 8px; right: 8px; bottom: 8px; width: max-content; max-width: calc(100% - 16px); padding: 5px 10px; border-radius: 999px; background: rgba(248,244,241,.88); color: var(--cjc-mauve); font: 500 10px/1.3 var(--cjc-font-sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cjctry-tile__expand { position: absolute; top: 8px; right: 8px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: rgba(248,244,241,.9); color: var(--cjc-ink); font: 500 12px var(--cjc-font-sans); letter-spacing: .02em; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(34,28,30,.4); }
.cjctry-tile__expand::before { content: ""; position: absolute; inset: -4px; } /* 44px tap target */
/* two narrow tiles on a phone: just the icon */
@media (max-width: 479px) { .cjctry-two:not(.cjctry-two--one) .cjctry-tile__expand { width: 36px; padding: 0; } .cjctry-two:not(.cjctry-two--one) .cjctry-tile__expand span { display: none; } }
.cjctry-fitting { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--cjc-mauve); font-family: var(--cjc-font-serif); font-style: italic; font-size: 19px; }
.cjctry-tile--waiting .cjctry-tile__frame { background: var(--cjc-blush); }
/* one 300 ms glint across a preview when it lands */
.cjctry-glint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%); transform: translateX(-100%); }
.cjctry-glint.is-on { transform: translateX(100%); transition: transform 300ms var(--cjc-ease-out); }

/* ---------- fitting ---------- */
.cjctry-fit__bar { display: flex; justify-content: flex-start; margin: -8px 0 8px; }
.cjctry-steps { display: flex; justify-content: space-between; gap: 8px; list-style: none; margin: var(--cjc-s2) 0 8px; padding: 0; }
.cjctry-steps li { color: var(--cjc-mauve); opacity: .55; font: 500 11px var(--cjc-font-sans); letter-spacing: .16em; text-transform: uppercase; }
.cjctry-steps li[aria-current] { opacity: 1; color: var(--cjc-ink); }
.cjctry-progress { height: 2px; background: rgba(107,87,86,.2); border-radius: 2px; overflow: hidden; margin: 0 0 var(--cjc-s2); }
.cjctry-progress span { display: block; height: 100%; width: 10%; background: var(--cjc-ink); transition: width 900ms var(--cjc-ease-out); }
.cjctry-slow { font-size: 14px; color: var(--cjc-ink-soft); }
.cjctry-meanwhile { margin-top: var(--cjc-s3); padding: 18px; border-radius: var(--cjc-radius-sm); background: var(--cjc-ivory-2); border: 1px solid rgba(107,87,86,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.cjctry-meanwhile__name { margin: 0 0 4px; font-family: var(--cjc-font-serif); font-size: 22px; }
.cjctry-price { margin: 0 0 12px; }
.cjctry-price del, .cjc-btn del { color: inherit; opacity: .6; font-size: .85em; margin-left: 4px; }
.cjctry-guarantee { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; margin: 12px 0 0; padding: 20px 20px 20px 18px; overflow: hidden; border: 1px solid rgba(201,135,147,.45); border-radius: var(--cjc-radius-sm); background: linear-gradient(135deg, #fbf3f4 0%, #f4e2e6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); color: var(--cjc-ink); }
.cjctry-guarantee p { margin: 0; }
.cjctry-guarantee__seal { filter: drop-shadow(0 6px 10px rgba(34,28,30,.22)); }
.cjctry-guarantee__kicker { color: #9e5f6c; font: 600 10.5px var(--cjc-font-sans); letter-spacing: .18em; text-transform: uppercase; }
.cjctry-guarantee__title { margin: 3px 0 4px !important; padding-right: 54px; font-family: var(--cjc-font-serif); font-size: 21px; font-weight: 500; line-height: 1.15; text-wrap: balance; }
.cjctry-guarantee__text { color: var(--cjc-ink-soft); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
/* the corner ribbon */
.cjctry-guarantee__ribbon { position: absolute; top: 24px; right: -40px; width: 150px; padding: 5px 0; transform: rotate(45deg); background: linear-gradient(90deg, #c98793, #b06f7c); color: #fff; font: 600 9.5px var(--cjc-font-sans); letter-spacing: .16em; text-align: center; text-transform: uppercase; box-shadow: 0 3px 8px -3px rgba(34,28,30,.4); }

/* ---------- result ---------- */
.cjctry-result__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cjctry-result__head .cjc-btn { width: auto; }
.cjctry-vote { margin: 0 0 var(--cjc-s2); padding: 12px 18px; border-radius: 999px; background: var(--cjc-ink); color: var(--cjc-ivory); width: max-content; max-width: 100%; font-size: 15px; font-weight: 500; box-shadow: 0 12px 28px -14px rgba(18,14,15,.55); }
@media (prefers-reduced-motion: no-preference) { .cjctry-vote { animation: cjctry-sheet-in 420ms var(--cjc-ease-out); } }
.cjctry-wear[hidden] { display: none; }
/* the how-to line between the pictures and the Wear switch */
.cjctry-hint { display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 10px; padding: 6px 14px; border-radius: 999px; background: var(--cjc-ivory-2); color: var(--cjc-ink-soft); font: 13px/1.35 var(--cjc-font-sans); text-align: left; }
.cjctry-hint[hidden] { display: none; }
.cjctry-hint svg { flex: none; color: var(--cjc-mauve); }
.cjctry-buy { display: grid; gap: 8px; }
.cjctry-buy .cjc-btn { min-height: 56px; text-transform: none; letter-spacing: .02em; font-size: 16px; }
.cjctry-both { justify-self: center; }
.cjctry-share { display: flex; justify-content: center; gap: 12px; margin: var(--cjc-s3) 0 8px; }
.cjctry-share .cjc-btn { width: auto; }

/* ---------- friend ---------- */
.cjctry-votes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 12px; }
.cjctry-vote-btn { min-height: 64px; font-family: var(--cjc-font-serif); font-size: 32px; }
.cjctry-votes .cjctry-vote-btn[aria-pressed="false"] { background: transparent; color: var(--cjc-ink); border-color: var(--cjc-ink); opacity: 1; }
.cjctry-gift { margin: var(--cjc-s2) 0; }
.cjctry-gift .cjc-btn { text-transform: none; letter-spacing: .02em; font-size: 16px; min-height: 56px; }
.cjctry-again { margin-top: var(--cjc-s4); }

/* ---------- expired / closed / deleted ---------- */
.cjctry-state { text-align: center; padding: var(--cjc-s3) 0; }
.cjctry-state__lead { font-family: var(--cjc-font-serif); font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
.cjctry-state__actions { display: grid; gap: 12px; margin-top: var(--cjc-s3); }
.cjctry-state .cjc-btn { margin-top: var(--cjc-s2); }

/* ---------- full-size view and the save sheet ---------- */
.cjctry-full { position: fixed; inset: 0; z-index: 1002; background: var(--cjc-ink); display: flex; flex-direction: column; }
.cjctry-full__scroll { flex: 1; overflow: auto; touch-action: pinch-zoom pan-x pan-y; display: flex; align-items: center; justify-content: center; }
.cjctry-full__scroll img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.cjctry-full__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); color: var(--cjc-ivory); font-size: 14px; }
.cjctry-full__bar p { margin: 0; }
.cjctry-full__bar .cjc-btn { width: auto; }

/* ---------- checkout: the guarantee again ---------- */
.cjctry-guarantee-line { margin: 0 0 var(--cjc-s2); padding: 12px 16px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); font-size: 14px; line-height: 1.5; }

/* ---------- /see-it-on-me/ hero: the holdout variant hides the button and subline ---------- */
.cjctry-hero--holdout [data-cjctry-cta], .cjctry-hero--holdout [data-cjctry-subline] { display: none !important; }

@media (prefers-reduced-motion: reduce) { .cjctry-glint, .cjctry-progress span { transition: none; } }

.cjctry-fit--sending { display: flex; flex-direction: column; justify-content: center; min-height: 60dvh; text-align: center; }
.cjctry-lowres { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 12px; }
.cjctry-two--one { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin-left: auto; margin-right: auto; }
/* Under the pictures: three quiet icon actions (Compare · Try another · Save picture), one row, no boxes */
.cjctry-actions { display: flex; justify-content: center; gap: 8px 36px; margin: 2px 0 var(--cjc-s3); }
.cjctry-action { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 76px; padding: 4px 2px; border: 0; background: none; color: var(--cjc-ink); font: 500 13px/1.25 var(--cjc-font-sans); letter-spacing: .01em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cjctry-action__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cjc-white); border: 1px solid rgba(107,87,86,.18); box-shadow: 0 6px 16px -10px rgba(34,28,30,.35); transition: transform 200ms var(--cjc-ease-out), background-color 200ms; }
.cjctry-action__label span { color: var(--cjc-mauve); font-weight: 400; }
.cjctry-action:hover .cjctry-action__icon { transform: translateY(-2px); background: var(--cjc-blush); }
.cjctry-action:focus, .cjctry-result__head .cjctry-title:focus { outline: none; }
.cjctry-action:focus-visible .cjctry-action__icon { outline: 2px solid var(--cjc-ink); outline-offset: 3px; }
.cjctry-action[aria-busy="true"] .cjctry-action__icon { opacity: .5; }
@media (max-width: 479px) { .cjctry-actions { gap: 0; justify-content: space-around; } .cjctry-action { flex: 1 1 0; } }
/* the full-size and save views: their buttons */
.cjctry-full__btns { display: flex; gap: 10px; }
.cjctry-full__bar .cjc-btn { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: .02em; font-size: 14px; }
.cjc-btn.cjc-btn--outline-light { background: transparent; border-color: rgba(248,244,241,.5); color: var(--cjc-ivory); }
.cjc-btn.cjc-btn--outline-light:hover { border-color: var(--cjc-ivory); background: rgba(248,244,241,.1); }
.cjctry-cat { display: block; background: rgba(34,28,30,.45); overflow-y: auto; }
.cjctry-cat__sheet { position: relative; width: 100%; max-width: 720px; min-height: 92dvh; margin: 8dvh auto 0; padding: var(--cjc-s4) 20px var(--cjc-s4); border-radius: var(--cjc-radius) var(--cjc-radius) 0 0; background: var(--cjc-ivory); color: var(--cjc-ink); }
/* The side column: "In the box" (the product page's own block), then the Buy block under it.
   Beside the preview on desktop; after the action buttons on phones. */
.cjctry-result__side { margin: 0; }
.cjctry-inbox { margin: 0 0 var(--cjc-s3); }
.cjctry-inbox .cjc-inbox { margin: 0; }
@media (min-width: 1024px) {
  .cjctry-layer--result .cjctry-sheet { max-width: 1120px; }
  .cjctry-result { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: var(--cjc-s4); align-items: start; }
  .cjctry-result > * { grid-column: 1; }
  .cjctry-result > .cjctry-result__side { grid-column: 2; grid-row: 1 / span 12; position: sticky; top: var(--cjc-s3); }
}
/* phones: the Wear switch stays on one line (Before · Earrings · Pendant · Full set) */
@media (max-width: 479px) {
}
.cjctry-fit__what { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--cjc-s2); }
.cjctry-fit__what .cjc-eyebrow { display: block; margin: 0 0 2px; }
.cjctry-fit__name { font-family: var(--cjc-font-serif); font-size: 22px; font-weight: 400; line-height: 1.15; }
.cjctry-fit__thumb { flex: none; width: 56px; height: 56px; overflow: hidden; border-radius: 12px; background: var(--cjc-ivory-2); }
.cjctry-fit__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Add to cart and Ask a friend: their own cards, apart from the black Buy button */
.cjctry-addcart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin: var(--cjc-s3) 0 12px; padding: 14px; border: 1.5px solid rgba(107,87,86,.28); border-radius: var(--cjc-radius-sm); background: var(--cjc-white); }
.cjctry-qty { display: flex; align-items: center; border: 1.5px solid rgba(107,87,86,.35); border-radius: 999px; }
.cjctry-qty button { width: 44px; min-height: 48px; border: 0; background: none; color: var(--cjc-ink); font: 500 20px var(--cjc-font-sans); cursor: pointer; }
.cjctry-qty output { min-width: 22px; text-align: center; font: 500 16px var(--cjc-font-sans); }
.cjctry-addcart__btn { width: 100%; min-height: 52px; background-color: var(--cjc-mauve); border-color: var(--cjc-mauve); color: var(--cjc-ivory); }
.cjctry-addcart__btn:hover { background-color: #5a4847; border-color: #5a4847; }
.cjctry-friendcard { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; margin: 0 0 var(--cjc-s3); padding: 16px; border-radius: var(--cjc-radius-sm); background: linear-gradient(135deg, var(--cjc-ivory-2), var(--cjc-blush)); }
.cjctry-friendcard__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cjc-white); color: #c98a96; }
.cjctry-friendcard__title { margin: 0; font-family: var(--cjc-font-serif); font-size: 20px; line-height: 1.1; color: var(--cjc-ink); }
.cjctry-friendcard__sub { margin: 2px 0 0; color: var(--cjc-ink-soft); font-size: 14px; line-height: 1.4; }
.cjctry-friendcard__btn { grid-column: 1 / -1; width: 100%; background-color: var(--cjc-white); border-color: var(--cjc-white); color: var(--cjc-ink); }
.cjctry-friendcard__btn:hover { background-color: var(--cjc-ivory); border-color: var(--cjc-ivory); }
/* Buy button: one line, name left, price right, original price struck through */
.cjctry-buybtn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 22px; padding-right: 22px; text-align: left; white-space: nowrap; }
.cjctry-buybtn__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cjctry-buybtn__price { display: flex; align-items: baseline; gap: 8px; flex: none; }
.cjctry-buybtn__price strong { font-weight: 600; }
.cjctry-buybtn__was { font-size: .78em; opacity: .7; }
.cjctry-buybtn__was del { text-decoration-thickness: 1px; }
@media (min-width: 1024px) {
  .cjctry-result { grid-template-columns: minmax(0, 1fr) 420px; }
}
@media (max-width: 479px) {
  .cjctry-buybtn { gap: 8px; padding-left: 18px; padding-right: 18px; font-size: 15px; }
  .cjctry-buybtn__price { gap: 6px; }
}
/* the site's .cjc-btn rules are more specific: restate these on the result's own cards */
.cjctry-result [data-save][hidden] { display: none !important; }
.cjctry-buy .cjc-btn.cjctry-buybtn { width: 100%; max-width: 100%; min-width: 0; }
.cjctry-buy .cjctry-buybtn__name { flex: 1 1 auto; }
.cjctry-addcart .cjc-btn.cjctry-addcart__btn { background-color: var(--cjc-mauve); border-color: var(--cjc-mauve); color: var(--cjc-ivory); }
.cjctry-addcart .cjc-btn.cjctry-addcart__btn:hover { background-color: #5a4847; border-color: #5a4847; }
.cjctry-friendcard .cjc-btn.cjctry-friendcard__btn { background-color: var(--cjc-white); border-color: var(--cjc-white); color: var(--cjc-ink); }
.cjctry-friendcard .cjc-btn.cjctry-friendcard__btn:hover { background-color: var(--cjc-ivory); border-color: var(--cjc-ivory); }
@media (max-width: 479px) {
  .cjctry-buy .cjc-btn.cjctry-buybtn { gap: 8px; padding-left: 16px; padding-right: 16px; font-size: 14px; letter-spacing: 0; }
}
/* price stacked at the right (her price, the original under it) so the name always fits in full */
.cjctry-buy .cjctry-buybtn__price { flex-direction: column; align-items: flex-end; gap: 0; line-height: 1.15; }
.cjctry-buy .cjctry-buybtn__was { font-size: 11px; letter-spacing: .02em; }
.cjctry-buy .cjctry-buybtn__name { overflow: visible; }
.cjctry-today { margin: 6px 0 0; color: var(--cjc-mauve); font: 500 13px var(--cjc-font-sans); letter-spacing: .02em; text-align: center; }
.cjctry-result .cjctry-today { margin: 0 0 6px; }
.cjctry-today:empty { display: none; }

/* Friend page, one picture: thumbs up / thumbs down */
.cjctry-votes--thumbs .cjctry-thumb { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--cjc-font-sans); font-size: 16px; letter-spacing: .02em; text-transform: none; }
.cjctry-votes--thumbs .cjctry-thumb svg { width: 26px; height: 26px; }
.cjctry-vote svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }

/* "Ask a friend": the share panel. A bottom sheet on phones, a centred card on desktop. */
.cjctry-sharesheet { position: fixed; inset: 0; z-index: 1003; display: flex; align-items: flex-end; justify-content: center; }
.cjctry-sharesheet__scrim { position: absolute; inset: 0; background: rgba(34,28,30,.5); }
.cjctry-sharesheet__panel { position: relative; width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; padding: 28px 24px calc(20px + env(safe-area-inset-bottom)); border-radius: var(--cjc-radius) var(--cjc-radius) 0 0; background: var(--cjc-ivory); color: var(--cjc-ink); box-shadow: 0 -20px 60px -30px rgba(34,28,30,.5); }
@media (min-width: 768px) { .cjctry-sharesheet { align-items: center; } .cjctry-sharesheet__panel { border-radius: var(--cjc-radius); padding: 32px 32px 24px; } }
@media (prefers-reduced-motion: no-preference) { .cjctry-sharesheet__panel { animation: cjctry-sheet-in 320ms var(--cjc-ease-out); } }
@keyframes cjctry-sheet-in { from { transform: translateY(24px); opacity: 0; } }
.cjctry-sharesheet__head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; align-items: center; margin: 0 40px var(--cjc-s3) 0; }
.cjctry-sharesheet__head .cjc-eyebrow { margin: 0 0 4px; }
.cjctry-sharesheet__head .cjctry-title { margin: 0 0 4px; }
.cjctry-sharesheet__head .cjctry-muted { margin: 0; }
.cjctry-sharesheet__pic { width: 76px; height: 96px; overflow: hidden; border-radius: 12px; background: var(--cjc-ivory-2); }
.cjctry-sharesheet__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.cjctry-sharesheet__apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 16px 8px; margin: 0 0 var(--cjc-s3); }
.cjctry-app { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--cjc-ink); font: 500 12.5px/1.2 var(--cjc-font-sans); text-align: center; text-decoration: none; cursor: pointer; }
.cjctry-app__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cjc-white); border: 1px solid rgba(107,87,86,.16); color: var(--cjc-ink); transition: transform 200ms var(--cjc-ease-out); }
.cjctry-app:hover .cjctry-app__icon { transform: translateY(-2px); }
.cjctry-app:focus-visible { outline: none; }
.cjctry-app:focus-visible .cjctry-app__icon { outline: 2px solid var(--cjc-ink); outline-offset: 3px; }
.cjctry-app--whatsapp .cjctry-app__icon { background: #25D366; border-color: #25D366; color: #fff; }
.cjctry-app--facebook .cjctry-app__icon { background: #0866FF; border-color: #0866FF; color: #fff; }
.cjctry-app--messenger .cjctry-app__icon { background: linear-gradient(45deg, #0099FF, #A033FF 60%, #FF5280); border: 0; color: #fff; }
.cjctry-app--telegram .cjctry-app__icon { background: #26A5E4; border-color: #26A5E4; color: #fff; }
.cjctry-app--x .cjctry-app__icon { background: #000; border-color: #000; color: #fff; }
.cjctry-app--sms .cjctry-app__icon { background: #34C759; border-color: #34C759; color: #fff; }
.cjctry-sharesheet__link { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; padding: 6px 6px 6px 16px; border: 1px solid rgba(107,87,86,.22); border-radius: 999px; background: var(--cjc-white); }
.cjctry-sharesheet__link input { flex: 1; min-width: 0; border: 0; background: none; color: var(--cjc-ink-soft); font: 14px var(--cjc-font-sans); outline: none; }
.cjctry-sharesheet__link .cjc-btn { display: inline-flex; align-items: center; gap: 6px; width: auto; min-height: 40px; text-transform: none; letter-spacing: .02em; font-size: 14px; white-space: nowrap; }

/* Friend page: one clear ask, big answers */
.cjctry-friend__ask { margin: -6px 0 var(--cjc-s2); color: var(--cjc-ink-soft); font-size: 16px; }
.cjctry-friend .cjctry-title:focus { outline: none; }
.cjctry-tile--vote { cursor: pointer; }
.cjctry-tile--vote.is-selected .cjctry-tile__frame { outline: 3px solid var(--cjc-ink); outline-offset: 3px; }
.cjctry-votes--thumbs .cjctry-thumb { min-height: 72px; border-radius: 999px; }
.cjctry-votes--thumbs .cjctry-thumb[data-thumb="up"][aria-pressed="false"] { background: var(--cjc-ink); color: var(--cjc-ivory); }
.cjctry-votes--thumbs .cjctry-thumb[aria-pressed="true"] { background: var(--cjc-ink); color: var(--cjc-ivory); box-shadow: 0 0 0 4px var(--cjc-blush); }
.cjctry-votes--thumbs:has([aria-pressed="true"]) .cjctry-thumb[aria-pressed="false"] { background: transparent; color: var(--cjc-ink); opacity: .55; }
@media (prefers-reduced-motion: no-preference) { .cjctry-thumb[aria-pressed="true"] svg { animation: cjctry-pop 420ms var(--cjc-ease-out); } }
@keyframes cjctry-pop { 40% { scale: 1.35; } }
/* Not sure yet? sits right under Buy; the refund promise follows Add to cart */
.cjctry-buy + .cjctry-friendcard { margin-top: var(--cjc-s3); }
/* Friend page: a narrow column so the previews show at a size that keeps them sharp (they aren't high-res) */
.cjctry-friend { max-width: 460px; margin: 0 auto; }
.cjctry-friend .cjctry-two { max-width: 400px; margin-left: auto; margin-right: auto; }
.cjctry-friend .cjctry-two:has(> :only-child) { max-width: 300px; }
@media (max-width: 479px) { .cjctry-friend .cjctry-two:has(> :only-child) { max-width: 260px; } }

/* Friend page, after voting: "Tell her your answer" */
.cjctry-tell { margin: 0 0 var(--cjc-s3); padding: 16px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); text-align: center; }
.cjctry-tell__title { margin: 0 0 12px; font-family: var(--cjc-font-serif); font-size: 20px; }
.cjctry-tell__btns { display: flex; justify-content: center; gap: 22px; }

/* Friend link: the answer so far, at the top */
.cjctry-answer { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; margin: 0 auto var(--cjc-s2); padding: 10px 16px; border-radius: 999px; background: var(--cjc-ink); color: var(--cjc-ivory); font-size: 15px; font-weight: 500; }
.cjctry-answer[hidden] { display: none; }
.cjctry-answer span { color: rgba(248,244,241,.7); font-weight: 400; font-size: 13px; letter-spacing: .04em; }
.cjctry-answer svg { width: 18px; height: 18px; }
/* Share panel: send yourself your own link */
.cjctry-self { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 12px; padding: 12px 16px; border: 1px dashed rgba(107,87,86,.35); border-radius: var(--cjc-radius-sm); color: var(--cjc-ink); text-decoration: none; text-align: center; }
.cjctry-self span { display: inline-flex; align-items: center; gap: 6px; font: 500 14px var(--cjc-font-sans); }
.cjctry-self small { color: var(--cjc-mauve); font-size: 12.5px; }
.cjctry-self:hover { background: var(--cjc-white); }
/* The piece's name under each preview: a pretty, coquette caption. Italic serif, a "wearing" eyebrow,
   and a little bow between two hairlines underneath. */
.cjctry-tile figcaption {
  margin-top: 14px; font-family: var(--cjc-font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; letter-spacing: -.005em; color: var(--cjc-ink); text-wrap: balance;
}
.cjctry-tile figcaption::before {
  content: "wearing"; display: block; margin-bottom: 6px; color: #b06f7c;
  font: 500 10.5px/1 var(--cjc-font-sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase;
}
.cjctry-tile figcaption::after {
  content: ""; display: block; width: 120px; height: 14px; margin: 10px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M2 7h42M76 7h42' stroke='%23d8b4b8' stroke-width='1'/%3E%3Cpath d='M60 7c-3-4-9-6-10-3s5 5 10 3zm0 0c3-4 9-6 10-3s-5 5-10 3z' fill='%23e7aeb8' stroke='%23c98793' stroke-width='.8'/%3E%3Cpath d='M60 7l-3 6M60 7l3 6' stroke='%23c98793' stroke-width='.9' stroke-linecap='round'/%3E%3Ccircle cx='60' cy='7' r='1.6' fill='%23c98793'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* two side by side on a phone: smaller, so long names still fit */
.cjctry-two:not(.cjctry-two--one):not(:has(> :only-child)) .cjctry-tile figcaption { font-size: clamp(19px, 4.6vw, 24px); }
.cjctry-two:not(.cjctry-two--one):not(:has(> :only-child)) .cjctry-tile figcaption::after { width: 84px; }
/* the fitting screen's "1 · You" tiles keep their plain caption */
.cjctry-fit .cjctry-tile figcaption { font-style: normal; font-size: 17px; }
.cjctry-fit .cjctry-tile figcaption::before, .cjctry-fit .cjctry-tile figcaption::after { content: none; }

/* ---------- The Wear switch ----------
 * A white pill: "Wear" fixed on the left as a blush tag with a little bow, the options scrolling beside it.
 * When there are more than fit: soft faded edges, round arrow buttons (the right one nudges once to say
 * "there's more"), mouse-wheel and swipe scrolling. */
.cjctry-wear { position: relative; display: flex; align-items: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto var(--cjc-s2); padding: 5px; box-sizing: border-box; border: 1px solid rgba(107,87,86,.18); border-radius: 999px; background: var(--cjc-white); box-shadow: 0 12px 30px -20px rgba(34,28,30,.5); }
.cjctry-wear[hidden] { display: none; }
.cjctry-wear.is-long { width: 100%; }
.cjctry-wear__label { flex: none; display: inline-flex; align-items: center; gap: 6px; align-self: stretch; padding: 0 16px 0 14px; border-radius: 999px; background: linear-gradient(135deg, #f7e9ec, #ead7db); color: #9e5f6c; font: 600 11px var(--cjc-font-sans); letter-spacing: .22em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.cjctry-wear__track { flex: 1 1 auto; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-behavior: smooth; overscroll-behavior-x: contain;
  --fl: 0px; --fr: 0px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent); }
.cjctry-wear__track::-webkit-scrollbar { display: none; }
.cjctry-wear.can-left .cjctry-wear__track { --fl: 28px; }
.cjctry-wear.can-right .cjctry-wear__track { --fr: 36px; }
.cjctry-wear__track button { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--cjc-ink); font: 13px var(--cjc-font-sans); white-space: nowrap; cursor: pointer; scroll-snap-align: center; transition: background-color 180ms, color 180ms; }
.cjctry-wear__track button:hover { background: var(--cjc-ivory-2); }
.cjctry-wear__track button[aria-pressed="true"] { background: var(--cjc-ink); color: var(--cjc-ivory); box-shadow: 0 6px 14px -8px rgba(18,14,15,.7); }
.cjctry-wear__track button[aria-busy="true"]::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-radius: 50%; background: #c98793; vertical-align: middle; animation: cjctry-dot 1s ease-in-out infinite; }
@keyframes cjctry-dot { 50% { opacity: .2; } }
.cjctry-wear__off { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; color: var(--cjc-mauve); font: 13px var(--cjc-font-sans); white-space: nowrap; opacity: .7; }
.cjctry-wear__off small { font-size: 11px; }
/* the arrows: only when there's more that way */
.cjctry-wear__arrow { flex: none; display: none; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(107,87,86,.2); border-radius: 50%; background: var(--cjc-white); color: var(--cjc-ink); cursor: pointer; box-shadow: 0 4px 12px -6px rgba(34,28,30,.45); }
.cjctry-wear__arrow--left svg { transform: rotate(180deg); }
.cjctry-wear.can-left .cjctry-wear__arrow--left, .cjctry-wear.can-right .cjctry-wear__arrow--right { display: grid; }
.cjctry-wear__arrow:hover { background: var(--cjc-ink); color: var(--cjc-ivory); }
@media (prefers-reduced-motion: no-preference) { .cjctry-wear.can-right:not(.can-left) .cjctry-wear__arrow--right { animation: cjctry-nudge-right 1.2s ease-in-out .6s 2; } }
@keyframes cjctry-nudge-right { 0%, 100% { transform: none; } 40% { transform: translateX(4px); } 70% { transform: translateX(-1px); } }
/* phones: a shorter tag; a short list fills the row */
@media (max-width: 479px) {
  .cjctry-wear__label { padding: 0 10px; letter-spacing: .16em; }
  .cjctry-wear__label svg { display: none; }
  .cjctry-wear__track button { padding: 0 12px; }
  .cjctry-wear:not(.is-long) .cjctry-wear__track button { flex: 1 1 auto; }
  .cjctry-wear.can-left .cjctry-wear__arrow--left { display: none; } /* swipe back; the room goes to the options */
}
.cjctry-dot { opacity: .5; margin: 0 2px; }
.cjctry-vote svg, .cjctry-answer svg { width: 16px; height: 16px; vertical-align: -3px; }

/* Wear pieces are toggles: a small round tick shows what's on (Full set and Before stay plain) */
.cjctry-wear__track button.is-piece { display: inline-flex; align-items: center; gap: 7px; padding-left: 12px; }
.cjctry-wear__tick { flex: none; width: 15px; height: 15px; box-sizing: border-box; border: 1.5px solid rgba(107,87,86,.45); border-radius: 50%; transition: background-color 160ms, border-color 160ms; }
.cjctry-wear__track button.is-piece[aria-pressed="true"] { background: var(--cjc-blush); color: var(--cjc-ink); box-shadow: inset 0 0 0 1px rgba(201,135,147,.5); }
.cjctry-wear__track button.is-piece[aria-pressed="true"] .cjctry-wear__tick { border-color: #9e5f6c; background: #9e5f6c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
/* touch: the row scrolls with a finger, never the page sideways */
.cjctry-wear__track { touch-action: pan-x; -webkit-overflow-scrolling: touch; }
.cjctry-wearing { display: block; margin-top: 6px; color: var(--cjc-mauve); font: 400 13.5px/1.35 var(--cjc-font-sans); font-style: normal; letter-spacing: .01em; }

/* ---------- Wear for big sets: a summary bar that opens a panel of piece cards ---------- */
.cjctry-wear.cjctry-wear--panel { display: block; width: 100%; padding: 0; border-radius: 22px; overflow: hidden; }
.cjctry-wear__summary { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px 8px 6px 6px; border: 0; background: none; color: var(--cjc-ink); text-align: left; cursor: pointer; }
.cjctry-wear--panel .cjctry-wear__label { align-self: stretch; min-height: 48px; }
.cjctry-wear__now { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cjctry-wear__now b { overflow: hidden; font: italic 500 19px/1.15 var(--cjc-font-serif); white-space: nowrap; text-overflow: ellipsis; }
.cjctry-wear__now small { color: var(--cjc-mauve); font: 12px var(--cjc-font-sans); }
.cjctry-wear__busy { display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: #c98793; vertical-align: middle; animation: cjctry-dot 1s ease-in-out infinite; }
.cjctry-wear__open { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 16px; border-radius: 999px; background: var(--cjc-ink); color: var(--cjc-ivory); font: 500 13px var(--cjc-font-sans); }
.cjctry-wear__open svg { transform: rotate(90deg); transition: transform 220ms var(--cjc-ease-out); }
.cjctry-wear__summary[aria-expanded="true"] .cjctry-wear__open { background: var(--cjc-blush); color: var(--cjc-ink); }
.cjctry-wear__summary[aria-expanded="true"] .cjctry-wear__open svg { transform: rotate(-90deg); }
.cjctry-wear__panel { padding: 4px 12px 14px; border-top: 1px solid rgba(107,87,86,.12); }
@media (prefers-reduced-motion: no-preference) { .cjctry-wear__panel:not([hidden]) { animation: cjctry-sheet-in 280ms var(--cjc-ease-out); } }
.cjctry-wear__quick { display: flex; gap: 8px; margin: 10px 0 12px; }
.cjctry-wear__quick button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border: 1px solid rgba(107,87,86,.25); border-radius: 999px; background: var(--cjc-white); color: var(--cjc-ink); font: 500 13px var(--cjc-font-sans); cursor: pointer; }
.cjctry-wear__quick button svg { color: #c98793; }
.cjctry-wear__quick button[aria-pressed="true"] { border-color: var(--cjc-ink); background: var(--cjc-ink); color: var(--cjc-ivory); }
.cjctry-wear__quick button[aria-pressed="true"] svg { color: #e7aeb8; }
.cjctry-wear__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cjctry-wear__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cjctry-wear__card { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 60px; padding: 8px 30px 8px 8px; box-sizing: border-box; border: 1px solid rgba(107,87,86,.18); border-radius: 14px; background: var(--cjc-white); color: var(--cjc-ink); text-align: left; cursor: pointer; transition: border-color 160ms, background-color 160ms, box-shadow 160ms; }
.cjctry-wear__card:hover { border-color: rgba(107,87,86,.4); }
.cjctry-wear__card[aria-pressed="true"] { border-color: #c98793; background: linear-gradient(135deg, #fbf3f4, #f4e2e6); box-shadow: 0 6px 16px -10px rgba(158,95,108,.6); }
.cjctry-wear__thumb { flex: none; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; background: var(--cjc-ivory-2); }
.cjctry-wear__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cjctry-wear__name { min-width: 0; font: 13px/1.25 var(--cjc-font-sans); }
.cjctry-wear__name small { display: block; margin-top: 2px; color: var(--cjc-mauve); font-size: 11px; }
.cjctry-wear__card .cjctry-wear__tick { position: absolute; top: 8px; right: 8px; }
.cjctry-wear__card[aria-pressed="true"] .cjctry-wear__tick { border-color: #9e5f6c; background: #9e5f6c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cjctry-wear__card.is-off { cursor: default; opacity: .55; }
.cjctry-wear__tip { margin: 12px 0 0; color: var(--cjc-mauve); font-size: 12.5px; text-align: center; }
@media (max-width: 479px) { .cjctry-wear__open { padding: 0 10px 0 12px; font-size: 12px; } .cjctry-wear__now b { font-size: 17px; } }
.cjctry-wear__mini { flex: none; width: 44px; height: 54px; overflow: hidden; border-radius: 10px; background: var(--cjc-blush); box-shadow: 0 0 0 2px var(--cjc-white), 0 4px 12px -6px rgba(34,28,30,.5); }
.cjctry-wear__mini img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.cjctry-wear__mini i { display: block; width: 100%; height: 100%; background: linear-gradient(110deg, var(--cjc-blush) 30%, #f7e9ec 50%, var(--cjc-blush) 70%) 0 0 / 200% 100%; animation: cjctry-shimmer 1.4s linear infinite; }
@keyframes cjctry-shimmer { to { background-position: -200% 0; } }
@media (max-width: 479px) { .cjctry-wear__summary[aria-expanded="true"] .cjctry-wear__label { display: none; } }

/* ---------- Wear for small sets: round photo buttons ---------- */
.cjctry-wear.cjctry-wear--bubbles { display: block; width: 100%; max-width: 440px; padding: 12px 12px 14px; border-radius: 24px; }
.cjctry-wear__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.cjctry-wear--bubbles .cjctry-wear__label { min-height: 32px; padding: 0 14px 0 12px; }
.cjctry-wear__say { color: var(--cjc-mauve); font: 12.5px var(--cjc-font-sans); }
.cjctry-wear__bubbles { display: flex; justify-content: space-around; gap: 6px; }
.cjctry-wear__bubble { flex: 1 1 0; min-width: 0; max-width: 92px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--cjc-ink); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cjctry-wear__ring { position: relative; display: block; width: 60px; height: 60px; padding: 3px; box-sizing: border-box; border-radius: 50%; background: var(--cjc-white); box-shadow: 0 0 0 1.5px rgba(107,87,86,.22); transition: box-shadow 180ms, transform 180ms var(--cjc-ease-out); }
.cjctry-wear__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 30%; display: block; background: var(--cjc-ivory-2); }
.cjctry-wear__bubble:hover .cjctry-wear__ring { transform: translateY(-2px); }
.cjctry-wear__bubble[aria-pressed="true"] .cjctry-wear__ring { box-shadow: 0 0 0 2.5px #c98793, 0 8px 18px -10px rgba(158,95,108,.8); }
.cjctry-wear__bubble:not(.is-piece)[aria-pressed="true"] .cjctry-wear__ring { box-shadow: 0 0 0 2.5px var(--cjc-ink), 0 8px 18px -10px rgba(18,14,15,.7); }
.cjctry-wear__bubble .cjctry-wear__tick { position: absolute; right: -2px; bottom: -2px; background-color: var(--cjc-white); }
.cjctry-wear__bubble[aria-pressed="true"] .cjctry-wear__tick { border-color: #9e5f6c; background: #9e5f6c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.2 2.2 4.8-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cjctry-wear__bubble .cjctry-wear__name { max-width: 100%; overflow: hidden; font: 12.5px/1.2 var(--cjc-font-sans); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.cjctry-wear__bubble[aria-pressed="true"] .cjctry-wear__name { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .cjctry-wear__bubble[aria-pressed="true"] .cjctry-wear__ring { animation: cjctry-pop 380ms var(--cjc-ease-out); } }
.cjctry-wear__ring img { width: 54px !important; height: 54px !important; max-width: none; aspect-ratio: 1; }

/* A picture being made: the last one, blurred, with what's being put on */
.cjctry-tile__wait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(10px) saturate(.9); transform: scale(1.08); opacity: .75; }
.cjctry-fitting--over { flex-direction: column; gap: 4px; background: linear-gradient(110deg, rgba(248,244,241,.35) 30%, rgba(255,255,255,.7) 50%, rgba(248,244,241,.35) 70%) 0 0 / 200% 100%; color: var(--cjc-ink); text-align: center; animation: cjctry-shimmer 1.6s linear infinite; }
.cjctry-fitting--over span { padding: 0 16px; font-size: 21px; text-wrap: balance; }
.cjctry-fitting--over small { font: 12.5px var(--cjc-font-sans); font-style: normal; color: var(--cjc-mauve); }
@media (prefers-reduced-motion: reduce) { .cjctry-fitting--over { animation: none; } }

/* "Also in the box" under the Wear options */
.cjctry-wear__also { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px dashed rgba(107,87,86,.2); }
.cjctry-wear__alsotitle { margin: 0 0 8px; color: #b06f7c; font: 600 10.5px var(--cjc-font-sans); letter-spacing: .2em; text-transform: uppercase; }
.cjctry-wear__also ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .cjctry-wear--panel .cjctry-wear__also ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cjctry-wear__also li { display: flex; align-items: center; gap: 10px; }
.cjctry-wear__alsothumb { flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 50%; background: var(--cjc-ivory-2); box-shadow: 0 0 0 1px rgba(107,87,86,.15); }
.cjctry-wear__alsothumb img { width: 36px !important; height: 36px !important; object-fit: cover; display: block; }
.cjctry-wear__also b { display: block; font: 500 13px/1.25 var(--cjc-font-sans); color: var(--cjc-ink); }
.cjctry-wear__also small { display: block; color: var(--cjc-mauve); font-size: 11.5px; }

/* "These two would tangle": two necklaces at the same length */
.cjctry-clash { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 1005; display: flex; align-items: flex-start; gap: 12px; width: min(400px, calc(100vw - 32px)); padding: 14px 12px 14px 16px; box-sizing: border-box; transform: translateX(-50%); border-radius: 20px; background: var(--cjc-ivory); color: var(--cjc-ink); box-shadow: 0 24px 60px -20px rgba(18,14,15,.55), 0 0 0 1px rgba(201,135,147,.35); }
.cjctry-clash__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cjc-blush); color: #9e5f6c; }
.cjctry-clash p { flex: 1; margin: 0; font: 13.5px/1.45 var(--cjc-font-sans); color: var(--cjc-ink-soft); }
.cjctry-clash b { display: block; margin-bottom: 2px; font: italic 500 18px/1.2 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-clash__x { flex: none; width: 32px; height: 32px; margin: -4px -2px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cjc-ink); cursor: pointer; }
.cjctry-clash__x svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: no-preference) { .cjctry-clash { animation: cjctry-clash-in 360ms var(--cjc-ease-out); } }
@keyframes cjctry-clash-in { from { opacity: 0; transform: translate(-50%, 12px); } }

/* The box chain, suggested when a pendant is on without it: a soft pulsing pink ring */
.cjctry-wear__card.is-suggested, .cjctry-wear__bubble.is-suggested .cjctry-wear__ring { box-shadow: 0 0 0 2px #e7aeb8, 0 0 0 6px rgba(231,174,184,.35); }
@media (prefers-reduced-motion: no-preference) {
  .cjctry-wear__card.is-suggested, .cjctry-wear__bubble.is-suggested .cjctry-wear__ring { animation: cjctry-suggest 1.6s ease-in-out infinite; }
}
@keyframes cjctry-suggest { 50% { box-shadow: 0 0 0 2px #c98793, 0 0 0 9px rgba(231,174,184,.15); } }
.cjctry-wear__nudge { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 8px 12px; border-radius: 12px; background: var(--cjc-blush); color: var(--cjc-ink); font: 13px var(--cjc-font-sans); }
.cjctry-wear__nudge svg { color: #9e5f6c; }
.cjctry-wear__say { text-align: right; }
/* Also in the box: a bracelet's hand-photo try-on */
.cjctry-wear__also li > span:nth-child(2) { flex: 1; min-width: 0; }
.cjctry-wear__hand { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--cjc-ink); border-radius: 999px; background: var(--cjc-white); color: var(--cjc-ink); font: 500 12px var(--cjc-font-sans); cursor: pointer; }
.cjctry-wear__hand:hover { background: var(--cjc-ink); color: var(--cjc-ivory); }
@media (max-width: 479px) { .cjctry-wear__also li { flex-wrap: wrap; row-gap: 8px; } .cjctry-wear__hand { flex: 1 0 calc(100% - 46px); margin-left: 46px; } }
/* ...and a little bounce every few seconds, so the eye goes to it: "your pendant goes on this" */
@media (prefers-reduced-motion: no-preference) {
  .cjctry-wear__bubble.is-suggested { animation: cjctry-hop 3.6s ease-in-out .4s infinite; }
  .cjctry-wear__card.is-suggested { animation: cjctry-suggest 1.6s ease-in-out infinite, cjctry-hop 3.6s ease-in-out .4s infinite; }
}
@keyframes cjctry-hop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Up to three different pieces a day */
.cjctry-limit { margin: 12px 0; padding: 12px 16px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); color: var(--cjc-ink); font: 14px/1.5 var(--cjc-font-sans); }
.cjctry-card__note--tried { color: #9e5f6c; }

/* Full size: before and the preview side by side */
.cjctry-full__scroll.is-side { gap: 10px; padding: 12px; box-sizing: border-box; }
.cjctry-full__scroll.is-side figure { flex: 1 1 0; min-width: 0; height: 100%; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.cjctry-full__scroll.is-side img { max-width: 100%; max-height: calc(100% - 28px); object-fit: contain; border-radius: 12px; }
.cjctry-full__scroll.is-side figcaption { color: var(--cjc-ivory); font: 500 11px var(--cjc-font-sans); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.cjctry-full__bar .cjctry-full__btns { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 479px) { .cjctry-full__bar { flex-direction: column; align-items: stretch; } .cjctry-full__bar .cjctry-full__btns { justify-content: stretch; } .cjctry-full__bar .cjctry-full__btns .cjc-btn { flex: 1; justify-content: center; } }
.cjctry-tile__frame { max-height: 74vh; }

/* "Before / After" on the tile: opens the two side by side, full screen */
.cjctry-tile__ba { position: absolute; right: 8px; top: 52px; min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: rgba(34,28,30,.82); color: var(--cjc-ivory); font: 500 12px var(--cjc-font-sans); letter-spacing: .02em; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(34,28,30,.5); backdrop-filter: blur(6px); }
.cjctry-tile__ba svg { width: 15px; height: 15px; }
.cjctry-tile__ba::before { content: ""; position: absolute; inset: -5px; }
.cjctry-tile__ba:hover { background: var(--cjc-ink); }
/* two narrow tiles on a phone: just the icon */
@media (max-width: 479px) { .cjctry-two:not(.cjctry-two--one) .cjctry-tile__ba { width: 34px; padding: 0; justify-content: center; } .cjctry-two:not(.cjctry-two--one) .cjctry-tile__ba span { display: none; } }
.cjctry-delrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin-top: 4px; }
.cjctry-action__count { display: block; margin-top: 2px; color: var(--cjc-mauve); font: 400 11.5px var(--cjc-font-sans); letter-spacing: .01em; }
.cjctry-limit--top { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; }
.cjctry-limit--top svg { flex: none; margin-top: 3px; color: #9e5f6c; }
.cjctry-limit--top b { display: block; font: italic 500 18px/1.2 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-card.is-locked .cjctry-card__note { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 999px; background: var(--cjc-ivory-2); color: var(--cjc-mauve); }

/* A piece she can't try until tomorrow: a soft ivory veil over its photo, a bow and a sweet line */
.cjctry-card.is-locked .cjc-card__media { position: relative; }
.cjctry-card__veil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; border-radius: inherit; background: linear-gradient(160deg, rgba(248,244,241,.78), rgba(244,226,230,.86)); backdrop-filter: blur(2px); text-align: center; }
.cjctry-card__veil svg { width: 26px; height: 16px; color: #c98793; }
.cjctry-card__veil b { font: italic 500 clamp(16px, 2.2vw, 20px)/1.15 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-card__veil small { color: #9e5f6c; font: 600 9.5px var(--cjc-font-sans); letter-spacing: .18em; text-transform: uppercase; }
.cjctry-card.is-locked .cjc-card__title, .cjctry-card.is-locked .cjc-card__price { opacity: .6; }
/* Upload sheet: one sweet line on what the photo should show for this piece (tryon.js LOOKS) */
.cjctry-lookhint { margin: calc(-1 * var(--cjc-s2) + 6px) 0 var(--cjc-s2); color: var(--cjc-mauve); font: italic 400 19px/1.3 var(--cjc-font-serif); text-wrap: pretty; }

/* Friend's thank-you after "Love it" or a pick (tryon.js showThanks), with confetti over everything */
.cjctry-confetti { position: fixed; inset: 0; z-index: 2147483000; width: 100vw; height: 100vh; pointer-events: none; }
.cjctry-thanks { display: grid; justify-items: center; gap: 4px; padding: var(--cjc-s2) 0 var(--cjc-s3); }
.cjctry-thanks__heart { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 8px; background: radial-gradient(circle at 50% 40%, #fff, #f6e6ea); border-radius: 50%; box-shadow: 0 16px 34px -18px rgba(201,135,147,.7); }
.cjctry-thanks__heart svg { width: 44px; height: 44px; }
@media (prefers-reduced-motion: no-preference) { .cjctry-thanks__heart { animation: cjctry-thanks-beat 1.4s cubic-bezier(.22,1,.36,1) 2; } }
@keyframes cjctry-thanks-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.cjctry-thanks .cjctry-title { max-width: 18ch; margin: 2px auto 8px; text-wrap: balance; }
.cjctry-thanks .cjctry-title em { color: var(--cjc-mauve); }
.cjctry-thanks__lede { max-width: 36ch; margin: 0 auto var(--cjc-s3); color: var(--cjc-ink-soft); font: 400 16px/1.55 var(--cjc-font-sans); text-wrap: pretty; }
.cjctry-thanks__offer { display: grid; gap: 10px; width: 100%; max-width: 440px; padding: 22px 20px 20px; box-sizing: border-box; text-align: center; background: linear-gradient(160deg, #fbf1f3, #fff 70%); border: 1px solid rgba(201,135,147,.35); border-radius: 24px; box-shadow: 0 22px 50px -32px rgba(34,28,30,.45); }
.cjctry-thanks__kicker { margin: 0; font: italic 500 26px/1.1 var(--cjc-font-serif); }
.cjctry-thanks__sub { margin: 0 0 6px; color: var(--cjc-mauve); font: 400 14.5px/1.4 var(--cjc-font-sans); }
.cjctry-thanks__offer .cjctry-free { margin: -2px 0 4px; }
.cjctry-thanks__more { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 18px; margin: var(--cjc-s2) 0 0; color: var(--cjc-mauve); }
.cjctry-thanks .cjctry-tell { width: 100%; max-width: 440px; margin-top: var(--cjc-s2); }
.cjctry-thanks__offer a.cjc-btn, .cjctry-thanks__offer a.cjc-btn:hover, .cjctry-thanks__offer a.cjc-btn:focus { color: var(--cjc-ink); text-decoration: none; }

/* "New photo": top-left of the preview, a frosted pill like Full size and Before / After */
.cjctry-tile__new { position: absolute; top: 8px; left: 8px; min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 10px; border: 0; border-radius: 999px; background: rgba(248,244,241,.9); color: var(--cjc-ink); font: 500 12px var(--cjc-font-sans); letter-spacing: .02em; cursor: pointer; box-shadow: 0 4px 12px -6px rgba(34,28,30,.4); backdrop-filter: blur(6px); transition: transform 180ms var(--cjc-ease-out), background-color 180ms, color 180ms; }
.cjctry-tile__new::before { content: ""; position: absolute; inset: -4px; }
.cjctry-tile__new:hover { transform: translateY(-1px); background: var(--cjc-ink); color: var(--cjc-ivory); }
.cjctry-tile__new:focus-visible { outline: 2px solid var(--cjc-ink); outline-offset: 2px; }
/* comparing two on a phone: just the camera, like the other corner buttons */
@media (max-width: 479px) { .cjctry-two:not(.cjctry-two--one) .cjctry-tile__new { width: 36px; padding: 0; justify-content: center; } .cjctry-two:not(.cjctry-two--one) .cjctry-tile__new span { display: none; } }
/* the "1" / "2" badge moves down when comparing, so it never sits under New photo */
.cjctry-tile:has(.cjctry-tile__new) .cjctry-tile__num { top: 52px; }

/* ---------- The upload box as a guided 1 · 2 · 3 ----------
 * data-at on the form says which step she's on (2 until the box is ticked, then 3). Step 1 is always done (the
 * piece is chosen); the current step glows, later steps wait softly dimmed, finished steps get a pink tick. */
.cjctry-guide__title { margin: 2px 0 14px; font: 400 clamp(28px, 4vw, 34px)/1.1 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-guide__title em { color: #b06f7c; }
.cjctry-stepper { display: flex; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; }
.cjctry-stepper li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--cjc-mauve); font: 500 11px var(--cjc-font-sans); letter-spacing: .12em; text-transform: uppercase; counter-increment: s; }
.cjctry-stepper li::before { content: counter(s); position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cjc-white); border: 1.5px solid rgba(107,87,86,.3); color: var(--cjc-mauve); font: 600 13px var(--cjc-font-sans); letter-spacing: 0; transition: background-color 300ms, border-color 300ms, color 300ms, transform 300ms; }
.cjctry-stepper li + li::after { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, #c98793 var(--fill, 0%), rgba(107,87,86,.18) var(--fill, 0%)); transition: --fill 500ms; }
/* done: 1 always; 2 once ticked */
.cjctry-guide:not([data-at="1"]) .cjctry-stepper li[data-s="1"]::before, .cjctry-guide[data-at="3"] .cjctry-stepper li[data-s="2"]::before { content: "✓"; background: #c98793; border-color: #c98793; color: #fff; }
.cjctry-guide:not([data-at="1"]) .cjctry-stepper li[data-s="2"]::after { --fill: 100%; }
.cjctry-guide[data-at="3"] .cjctry-stepper li[data-s="3"]::after { --fill: 100%; }
/* now */
.cjctry-guide[data-at="1"] .cjctry-stepper li[data-s="1"], .cjctry-guide[data-at="2"] .cjctry-stepper li[data-s="2"], .cjctry-guide[data-at="3"] .cjctry-stepper li[data-s="3"] { color: var(--cjc-ink); }
.cjctry-guide[data-at="1"] .cjctry-stepper li[data-s="1"]::before, .cjctry-guide[data-at="2"] .cjctry-stepper li[data-s="2"]::before, .cjctry-guide[data-at="3"] .cjctry-stepper li[data-s="3"]::before { background: var(--cjc-ink); border-color: var(--cjc-ink); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 5px rgba(231,174,184,.35); }
@property --fill { syntax: "<percentage>"; inherits: false; initial-value: 0%; }

.cjctry-step { position: relative; margin: 0 0 12px; padding: 14px 16px 16px; border: 1px solid rgba(107,87,86,.14); border-radius: var(--cjc-radius-sm); background: var(--cjc-white); transition: opacity 300ms, box-shadow 300ms, border-color 300ms; }
.cjctry-step__head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--cjc-ink); font: 600 12px var(--cjc-font-sans); letter-spacing: .14em; text-transform: uppercase; }
.cjctry-step__num { position: relative; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--cjc-ivory-2); color: var(--cjc-mauve); font: 600 12px var(--cjc-font-sans); letter-spacing: 0; }
.cjctry-step__num i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; background: #c98793; color: #fff; opacity: 0; transform: scale(.4); transition: opacity 250ms, transform 350ms var(--cjc-ease-out); }
.cjctry-guide:not([data-at="1"]) .cjctry-step--1 .cjctry-step__num i, .cjctry-guide[data-at="3"] .cjctry-step--2 .cjctry-step__num i { opacity: 1; transform: none; }
/* the step she's on glows; the next one waits */
.cjctry-guide[data-at="1"] .cjctry-step--1, .cjctry-guide[data-at="2"] .cjctry-step--2, .cjctry-guide[data-at="3"] .cjctry-step--3 { border-color: rgba(201,135,147,.55); box-shadow: 0 0 0 4px rgba(231,174,184,.22), 0 14px 30px -20px rgba(158,95,108,.6); }
.cjctry-guide[data-at="1"] .cjctry-step--2, .cjctry-guide[data-at="1"] .cjctry-step--3, .cjctry-guide[data-at="2"] .cjctry-step--3 { opacity: .5; }
/* step 1: the piece, big and clear */
.cjctry-step--1 .cjctry-trying { margin: 0; padding: 0; border: 0; background: none; grid-template-columns: 64px minmax(0, 1fr) auto; }
.cjctry-step--1 .cjctry-fit__thumb { width: 64px; height: 64px; border-radius: 14px; box-shadow: 0 0 0 1px rgba(107,87,86,.12); }
.cjctry-step--1 .cjctry-fit__name { display: block; font: italic 500 24px/1.1 var(--cjc-font-serif); }
.cjctry-trying__sub { display: block; margin-top: 3px; color: var(--cjc-mauve); font: 12.5px var(--cjc-font-sans); }
.cjctry-trying__change { flex: none; min-height: 36px; padding: 0 16px; border: 1px solid var(--cjc-ink); border-radius: 999px; background: var(--cjc-white); color: var(--cjc-ink); font: 500 13px var(--cjc-font-sans); cursor: pointer; }
.cjctry-trying__change:hover { background: var(--cjc-ink); color: var(--cjc-ivory); }
@media (max-width: 479px) { .cjctry-step--1 .cjctry-trying { grid-template-columns: 56px minmax(0, 1fr); } .cjctry-trying__change { grid-column: 2; justify-self: start; margin-top: 6px; } }
.cjctry-step--3 .cjctry-check { margin: 0; }
/* the chosen photo, waiting on her phone until step 3 is ticked */
.cjctry-ready { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 12px; padding: 10px; border-radius: var(--cjc-radius-sm); background: linear-gradient(135deg, #fbf3f4, #f4e2e6); }
.cjctry-ready[hidden] { display: none; }
.cjctry-ready__pic { width: 64px; height: 80px; overflow: hidden; border-radius: 12px; background: var(--cjc-ivory-2); }
.cjctry-ready__pic img { width: 64px !important; height: 80px !important; object-fit: cover; display: block; }
.cjctry-ready b { display: block; font: italic 500 20px/1.1 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-ready small { display: block; margin-top: 2px; color: #9e5f6c; font: 500 12.5px var(--cjc-font-sans); }
.cjctry-agree-note { margin: 10px 0 0; color: #9e5f6c; font: 500 13px var(--cjc-font-sans); }
@media (max-width: 479px) { .cjctry-ready { grid-template-columns: 56px minmax(0, 1fr); } .cjctry-ready .cjctry-textbtn { grid-column: 2; justify-self: start; min-height: 30px; padding: 0; } .cjctry-ready__pic { width: 56px; height: 70px; } }
.cjctry-guide__look { margin: 0 0 4px; font: 500 20px/1.2 var(--cjc-font-serif); color: var(--cjc-ink); }
.cjctry-step--2 .cjctry-drop { margin-top: 12px; }
/* motion: the steps rise in one after another; ticking pops the check; the upload button invites a tap once */
@media (prefers-reduced-motion: no-preference) {
  .cjctry-guide .cjctry-step { animation: cjctry-rise 480ms var(--cjc-ease-out) both; }
  .cjctry-guide .cjctry-step--2 { animation-delay: 120ms; }
  .cjctry-guide .cjctry-step--3 { animation-delay: 240ms; }
  .cjctry-guide[data-at="2"] .cjctry-step--2 .cjctry-choose { animation: cjctry-halo 1.6s ease-out .9s 2; }
  .cjctry-guide[data-at="3"] .cjctry-step--2 .cjctry-step__num i { animation: cjctry-pop 420ms var(--cjc-ease-out); }
  .cjctry-guide[data-at="3"] .cjctry-step--3 .cjctry-check input { animation: cjctry-tickme 1.8s ease-in-out .5s 3; }
  .cjctry-ready:not([hidden]) { animation: cjctry-rise 420ms var(--cjc-ease-out); }
}
@keyframes cjctry-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes cjctry-tickme { 0%, 100% { box-shadow: 0 0 0 0 rgba(201,135,147,0); } 50% { box-shadow: 0 0 0 6px rgba(201,135,147,.35); } }
.cjctry-guide[data-at="2"] .cjctry-step--3 { animation-fill-mode: both; }

/* step 1: confirm the piece, or pick another */
.cjctry-confirm { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 14px; }
.cjctry-confirm[hidden] { display: none; }
.cjctry-confirm__yes { width: auto; min-height: 46px; padding: 0 22px; text-transform: none; letter-spacing: .02em; font-size: 15px; }
.cjctry-confirm__other { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--cjc-ink); font: 500 14px var(--cjc-font-sans); text-decoration: underline; text-decoration-color: #c98793; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 479px) { .cjctry-confirm__yes { flex: 1 1 100%; } .cjctry-confirm__other { flex: 1 1 100%; } }
@media (prefers-reduced-motion: no-preference) { .cjctry-guide[data-at="1"] .cjctry-confirm__yes { animation: cjctry-halo 1.6s ease-out 1s 2; } .cjctry-guide[data-at="2"] .cjctry-step--1 .cjctry-step__num i { animation: cjctry-pop 420ms var(--cjc-ease-out); } }

.cjctry-drop[hidden] { display: none !important; }
/* under her photo in step 2: a heads-up (a little small) or why it was turned away */
.cjctry-photonote { margin-top: 10px; padding: 12px 14px; border-radius: var(--cjc-radius-sm); background: var(--cjc-blush); color: var(--cjc-ink); font: 13.5px/1.5 var(--cjc-font-sans); }
.cjctry-photonote[hidden] { display: none; }
.cjctry-photonote .cjctry-lowres { display: flex; margin-top: 8px; }
.cjctry-photonote .cjc-btn { width: auto; text-transform: none; letter-spacing: .02em; }

/* ---------- The catalog, as a shop (Choose something else / Try another / Compare) ---------- */
/* roomy: nearly full screen on a computer, full height on a phone */
.cjctry-layer--picker .cjctry-sheet { max-width: 1120px; height: 92dvh; max-height: 92dvh; }
@media (max-width: 767px) { .cjctry-layer--picker .cjctry-sheet { height: 100dvh; max-height: 100dvh; border-radius: 0; } }
.cjctry-cat__sheet { max-width: 1120px; margin-top: 4dvh; min-height: 96dvh; }
@media (max-width: 767px) { .cjctry-cat__sheet { margin-top: 0; min-height: 100dvh; border-radius: 0; } }
/* the search, chips and sort stay pinned while she scrolls */
.cjctry-shop__bar { position: sticky; top: calc(-1 * var(--cjc-s4)); z-index: 3; margin: 0 -20px 6px; padding: 12px 20px 10px; background: var(--cjc-ivory); box-shadow: 0 10px 18px -16px rgba(34,28,30,.45); }
@media (min-width: 768px) { .cjctry-shop__bar { margin: 0 calc(-1 * var(--cjc-s4)) 6px; padding: 12px var(--cjc-s4) 10px; } }
.cjctry-cat .cjctry-shop__bar { top: 0; }
.cjctry-search { position: relative; display: block; }
.cjctry-search__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--cjc-mauve); pointer-events: none; }
.cjctry-search input { height: 52px; padding: 0 48px 0 46px; font-size: 16px; box-shadow: 0 6px 16px -12px rgba(34,28,30,.4); }
.cjctry-search__clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--cjc-ivory-2); color: var(--cjc-ink); cursor: pointer; }
.cjctry-search__clear[hidden] { display: none; }
.cjctry-search__clear svg { width: 14px; height: 14px; }
.cjctry-shop__row { display: flex; align-items: center; gap: 10px; }
.cjctry-shop__row .cjctry-chips { flex: 1; min-width: 0; padding: 10px 0 2px; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.cjctry-chip { min-height: 40px; text-transform: none; letter-spacing: .02em; font-size: 13.5px; }
.cjctry-chip span { margin-left: 4px; color: var(--cjc-mauve); font-size: 12px; }
.cjctry-chip[aria-pressed="true"] span { color: rgba(248,244,241,.7); }
.cjctry-sort { flex: none; padding-top: 8px; }
.cjctry-sort select { height: 40px; padding: 0 30px 0 14px; border: var(--cjc-line); border-radius: 999px; background: var(--cjc-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23221c1e' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 14px no-repeat; color: var(--cjc-ink); font: 500 13px var(--cjc-font-sans); appearance: none; cursor: pointer; }
/* phones: the sort shrinks to a small pill at the end of the chip row, so the pinned bar stays slim */
@media (max-width: 479px) { .cjctry-search input { height: 46px; } .cjctry-sort select { width: 104px; padding: 0 24px 0 12px; font-size: 12.5px; background-position: right 8px center; } .cjctry-chip { min-height: 36px; padding: 0 14px; } }
/* most loved */
.cjctry-shop__h { display: flex; align-items: center; gap: 8px; margin: 14px 0 10px; color: #9e5f6c; font: 600 11px var(--cjc-font-sans); letter-spacing: .2em; text-transform: uppercase; }
.cjctry-loved { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 8px; }
.cjctry-card--big .cjc-card__title { font-size: 22px; }
/* most loved: wide, short cards so the whole catalog starts just below */
.cjctry-card--big .cjc-card__media { aspect-ratio: 16 / 9; }
.cjctry-card--big .cjc-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
@media (max-width: 479px) { .cjctry-card--big .cjc-card__media { aspect-ratio: 4 / 3; } .cjctry-card--big .cjc-card__title { font-size: 18px; } }
.cjctry-shop__count { margin: 14px 0 10px; color: var(--cjc-mauve); font: 500 13px var(--cjc-font-sans); }
/* the grid: 2 on a phone, 3 on a tablet, 4 on a computer */
.cjctry-shop .cjctry-grid { gap: 22px 14px; }
@media (min-width: 1024px) { .cjctry-shop .cjctry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cjctry-card .cjc-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--cjc-radius-sm); }
.cjctry-card .cjc-card__media img { transition: transform 500ms var(--cjc-ease-out); }
.cjctry-card:not(.is-locked):hover .cjc-card__media img { transform: scale(1.05); }
.cjctry-card__badge { position: absolute; top: 8px; left: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(248,244,241,.92); color: var(--cjc-ink); font: 600 10.5px var(--cjc-font-sans); letter-spacing: .12em; text-transform: uppercase; }
.cjctry-card__badge--tried { background: #c98793; color: #fff; letter-spacing: .04em; text-transform: none; font-size: 11.5px; }
.cjctry-card__try { position: absolute; left: 50%; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cjc-ink); color: var(--cjc-ivory); font: 500 12.5px var(--cjc-font-sans); white-space: nowrap; transform: translate(-50%, 6px); opacity: 0; transition: opacity 220ms, transform 220ms var(--cjc-ease-out); box-shadow: 0 8px 18px -10px rgba(18,14,15,.7); }
.cjctry-card__try svg { width: 14px; height: 14px; }
.cjctry-card:hover .cjctry-card__try, .cjctry-card:focus-visible .cjctry-card__try { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .cjctry-card__try { opacity: 1; transform: translate(-50%, 0); padding: 6px 12px; font-size: 12px; } }
.cjctry-shop .cjc-card__title { margin-top: 10px; }
.cjctry-shop__empty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 30px 0; color: var(--cjc-mauve); text-align: center; }
.cjctry-shop__empty p { flex: 1 1 100%; margin: 0 0 4px; font: italic 22px var(--cjc-font-serif); color: var(--cjc-ink); }
@media (prefers-reduced-motion: no-preference) { .cjctry-shop .cjctry-grid li { animation: cjctry-rise 360ms var(--cjc-ease-out) both; } }

/* ---------- What's in the box, on every set's card ---------- */
/* the strip: round piece photos on a frosted band at the bottom of the photo */
.cjctry-card__strip { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(248,244,241,.86); backdrop-filter: blur(6px); box-shadow: 0 6px 14px -10px rgba(34,28,30,.5); width: max-content; max-width: calc(100% - 16px); }
.cjctry-thumb { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cjc-white); box-shadow: 0 0 0 1.5px rgba(255,255,255,.9), 0 0 0 2.5px rgba(107,87,86,.12); }
.cjctry-thumb img { width: 34px !important; height: 34px !important; border-radius: 50%; object-fit: cover; display: block; }
.cjctry-thumb--more { background: var(--cjc-ink); color: var(--cjc-ivory); font: 600 12px var(--cjc-font-sans); }
.cjctry-thumb--free i { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #c98793; color: #fff; box-shadow: 0 0 0 1.5px #fff; }
@media (max-width: 479px) { .cjctry-thumb, .cjctry-thumb img { width: 28px !important; height: 28px !important; } .cjctry-card__strip { gap: 3px; padding: 4px; } }
/* the Try on pill sits above the strip */
.cjctry-card:has(.cjctry-card__strip) .cjctry-card__try { bottom: 58px; }
@media (max-width: 479px) { .cjctry-card:has(.cjctry-card__strip) .cjctry-card__try { bottom: 48px; } }
/* the line under the name */
.cjctry-card__box { display: block; margin-top: 2px; color: #9e5f6c; font: 500 12.5px/1.35 var(--cjc-font-sans); }
/* computer hover: the photo becomes the box's flat lay */
.cjctry-card__inside { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 56px; background: linear-gradient(160deg, #fbf6f4, #f4e2e6); opacity: 0; transition: opacity 320ms var(--cjc-ease-out); }
.cjctry-card__inside b { color: #9e5f6c; font: 600 10.5px var(--cjc-font-sans); letter-spacing: .2em; text-transform: uppercase; }
.cjctry-card__inside > span { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; align-content: center; }
.cjctry-card__inside img { width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #fff; box-shadow: 0 4px 10px -8px rgba(34,28,30,.5); }
@media (hover: hover) { .cjctry-card:not(.is-locked):hover .cjctry-card__inside { opacity: 1; } .cjctry-card:hover .cjc-card__media > img { transform: none; } }
@media (hover: none) { .cjctry-card__inside { display: none; } }
/* Most loved: bigger circles with names */
.cjctry-card--big .cjctry-card__strip { gap: 10px; padding: 8px 14px 6px; border-radius: 18px; }
.cjctry-card--big .cjctry-thumb { width: auto; height: auto; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cjctry-card--big .cjctry-thumb img { width: 44px !important; height: 44px !important; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(107,87,86,.12); }
.cjctry-card--big .cjctry-thumb small { color: var(--cjc-ink); font: 500 10.5px var(--cjc-font-sans); white-space: nowrap; }
.cjctry-card--big .cjctry-thumb--more { width: 44px; height: auto; background: none; color: var(--cjc-ink); }
.cjctry-card--big .cjctry-thumb--more::before { content: ""; }
.cjctry-card--big .cjctry-thumb--free i { right: 2px; bottom: 16px; }
.cjctry-card--big:has(.cjctry-card__strip) .cjctry-card__try { bottom: 86px; }
@media (max-width: 479px) { .cjctry-card--big .cjctry-thumb img { width: 34px !important; height: 34px !important; } .cjctry-card--big .cjctry-thumb small { display: none; } .cjctry-card--big .cjctry-card__strip { gap: 4px; padding: 5px; border-radius: 999px; } .cjctry-card--big:has(.cjctry-card__strip) .cjctry-card__try { bottom: 54px; } }
.cjctry-card--big .cjctry-card__inside { padding-bottom: 96px; }
.cjctry-card--big .cjctry-card__inside img { max-height: 100%; width: auto !important; margin: 0 auto; }

/* ---------- Upload photo + consent: high contrast and impossible to miss (owner, 2026-10-26) ---------- */
/* Upload photo: a big ink button with a camera, a blush ring that breathes, white letters */
.cjctry-drop .cjctry-choose {
  display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; width: 100%;
  color: #fff !important; font: 600 17px/1 var(--cjc-font-sans); letter-spacing: .08em; text-transform: uppercase;
  background: #120e0f !important; border: 0; border-radius: 999px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #e7aeb8, 0 18px 36px -14px rgba(18,14,15,.75);
}
.cjctry-drop .cjctry-choose::before {
  content: ""; flex: none; width: 24px; height: 24px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 0 1 5.5 6h2l1.6-2.2h5.8L16.5 6h2A2.5 2.5 0 0 1 21 8.5v9A2.5 2.5 0 0 1 18.5 20h-13A2.5 2.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='12.8' r='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5A2.5 2.5 0 0 1 5.5 6h2l1.6-2.2h5.8L16.5 6h2A2.5 2.5 0 0 1 21 8.5v9A2.5 2.5 0 0 1 18.5 20h-13A2.5 2.5 0 0 1 3 17.5z'/%3E%3Ccircle cx='12' cy='12.8' r='3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cjctry-drop:hover .cjctry-choose { background: #000 !important; box-shadow: 0 0 0 4px #fff, 0 0 0 7px #c98793, 0 22px 40px -14px rgba(18,14,15,.85); }
/* A slow bounce says "tap me", one step at a time: "Yes, try this on" while the piece still needs confirming
   (step 1), then Upload photo until her photo is loaded (step 2), then the consent checkbox until it's ticked
   (step 3). Overrides the earlier halo / tickme pulses. */
@media (prefers-reduced-motion: no-preference) {
  .cjctry-guide[data-at="1"] [data-piece-ok] { animation: cjctry-bounce 3.6s ease-in-out .6s infinite; }
  .cjctry-guide[data-at="2"] .cjctry-drop .cjctry-choose { animation: cjctry-upload-breathe 2.2s ease-in-out infinite, cjctry-bounce 3.6s ease-in-out .6s infinite; }
  .cjctry-guide[data-at="3"] .cjctry-step--3 .cjctry-check input[type="checkbox"]:not(:checked) { animation: cjctry-bounce 3.6s ease-in-out .4s infinite; box-shadow: 0 0 0 5px rgba(231,174,184,.55); }
}
@keyframes cjctry-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } } /* film score: a slow float, not a bounce */
@keyframes cjctry-upload-breathe { 0%, 100% { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #e7aeb8, 0 18px 36px -14px rgba(18,14,15,.75); } 50% { box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(231,174,184,.55), 0 18px 36px -14px rgba(18,14,15,.75); } }

/* Consent: its own white card with a pink edge, a big ink checkbox and full-strength text */
.cjctry-step--3 .cjctry-check {
  grid-template-columns: 32px 1fr; gap: 14px; padding: 16px; color: var(--cjc-ink); font-size: 14.5px;
  background: #fff; border: 2px solid #e7aeb8; border-radius: 18px; box-shadow: 0 12px 26px -18px rgba(158,95,108,.7);
}
.cjctry-check input[type="checkbox"] {
  -webkit-appearance: none; appearance: none; display: grid; place-content: center; width: 30px; height: 30px; margin: 0; cursor: pointer;
  background: #fff; border: 2.5px solid #120e0f; border-radius: 8px; transition: background-color 200ms, transform 200ms;
}
.cjctry-check input[type="checkbox"]::after {
  content: ""; width: 14px; height: 8px; margin-top: -3px; border: solid #fff; border-width: 0 0 3px 3px; transform: rotate(-45deg) scale(0); transition: transform 220ms cubic-bezier(.34,1.56,.64,1);
}
.cjctry-check input[type="checkbox"]:checked { background: #120e0f; }
.cjctry-check input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.cjctry-check input[type="checkbox"]:focus-visible { outline: 3px solid #c98793; outline-offset: 3px; }
.cjctry-check:has(input:checked) { border-color: #120e0f; background: #fbf1f3; }
/* step 3 is never greyed out: the words she agrees to stay fully readable */
.cjctry-guide .cjctry-step--3, .cjctry-guide .cjctry-step--3 .cjctry-check { opacity: 1 !important; filter: none !important; }
