/* ── QA-OPEN (website QA sheet, Sunday Carat tab, Status = Open, 2026-11-19) ─────────────────────────────────────────
   One file for the CSS half of the fixes. It loads after sc-store.css. Row id on every rule. */

/* SUN-018 / SUN-010 / SUN-015: Cormorant Garamond draws old-style figures ("$I,273", "6%" sitting low). Prices and
   numbers read as lining figures everywhere; DM Sans text is unchanged (its figures are already lining). */
*,::before,::after{font-variant-numeric:lining-nums!important} /* on every element: a `font:` shorthand (.tennis-price, …) resets the inherited value; the theme sets no other numeric variant */

/* SUN-007: the grey "The 4Cs of Diamonds" band lost its top padding to the theme's "section after section: no top
   padding" rule, and its content sat on its own grid (x=304 vs 244 at 1920). It keeps the section rhythm and the
   page's content edge now. */
#main > .section.sc-4cs{padding-top:90px!important;padding-bottom:90px;padding-left:calc(max(0px,(100% - 1600px)/2) + 4.4vw);padding-right:calc(max(0px,(100% - 1600px)/2) + 4.4vw)}
@media(max-width:1100px){#main > .section.sc-4cs{padding-top:72px!important;padding-bottom:72px;padding-left:4.4vw;padding-right:4.4vw}}
@media(max-width:760px){#main > .section.sc-4cs{padding:57px 22px!important}}

/* SUN-009 (+ every page title): .page-intro was 1480 wide and every section 1600, so at wide screens the title sat at
   x=304 and the content below at 244. The intro uses the same 1600 grid. The 404 search box and chips start on the
   same left edge as the title and the "Back to home" button. */
.page-intro{max-width:1600px}
.sc-notfound .search-page-form{margin-left:0;margin-right:0}
.sc-notfound .sc-suggest{justify-content:flex-start}

/* SUN-010 / SUN-015: the care-plan value lost its 44px to ".trust p" (15px). The plan name is larger too. */
.sc-plans .sc-plan-price{font-size:46px;line-height:1.05;margin:10px 0 8px}
.sc-plans h3{font-size:26px;line-height:1.15}
@media(max-width:760px){.sc-plans .sc-plan-price{font-size:40px}.sc-plans h3{font-size:24px}}

/* SUN-014: the /custom "01 Share your idea / 02 … / 03 …" steps were plain 19px lines with a large gap under them.
   They are three proper steps now, with the section's own bottom spacing. */
body[data-page="custom"] #main .trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
body[data-page="custom"] #main .trust>div{border-top:1px solid var(--olive)!important;padding-top:22px!important;text-align:left}
body[data-page="custom"] #main .trust h3{font-size:30px;line-height:1.15;margin:0 0 10px}
body[data-page="custom"] #main .trust p{font-size:15px;color:var(--muted);margin:0}
body[data-page="custom"] #main .section:has(> .trust){padding-bottom:72px}
@media(max-width:760px){body[data-page="custom"] #main .trust{grid-template-columns:1fr;gap:24px}body[data-page="custom"] #main .trust h3{font-size:26px}body[data-page="custom"] #main .section:has(> .trust){padding-bottom:48px}}

/* SUN-016 / SUN-024 (+ SUN-031 phone menu): every accordion list had a line above each item and none under the
   last, so the list looked open at the bottom. The last item closes it. */
details.details:last-of-type{border-bottom:1px solid var(--line)}

/* SUN-017: the bridal panel's "01 Your setting / 02 Your diamond / 03 Your story" were 10-11px. */
.bridal-steps{max-width:440px;gap:22px;padding-top:26px}
.bridal-steps a{font:400 20px/1.2 var(--serif);white-space:normal}
.bridal-steps span{font:500 11px/1 var(--sans);letter-spacing:.14em;margin-bottom:8px}
@media(min-width:761px) and (max-width:1100px){.bridal-steps{gap:14px}.bridal-steps a{font-size:17px}}
@media(max-width:760px){.bridal-steps a{font-size:18px}.bridal-steps span{font-size:10px}}

/* SUN-018: "$1,273 · SILVER" — the price in lining figures, the metal label on the same baseline, a normal gap. */
.tennis-price{display:flex;align-items:baseline;gap:12px;font-size:24px}
.tennis-price span{margin-left:0;font-size:11px;letter-spacing:.14em}

/* SUN-027 (phone) / SUN-035 (tablet): the five "Find your little thing" tiles. Phone: the fifth tile takes the full
   row (a wide crop), so the grid ends evenly. Tablet: the titles fit their tile and the round arrow keeps its size. */
.category-label{gap:10px}
.category-label h3{min-width:0;overflow-wrap:normal;word-break:normal}
.category-label .circle-arrow{flex:none}
@media(min-width:761px) and (max-width:1100px){
  .category-section .category-label{align-items:flex-start}
  .category-section .category-label h3{font-size:18px;line-height:1.1;letter-spacing:-.2px}
  .category-section .circle-arrow{width:27px;height:27px;font-size:13px}
}
@media(max-width:760px){
  .category-section .category-label h3{font-size:22px;line-height:1.1}
  .category-grid .category:nth-child(5){grid-column:1/-1;width:100%;justify-self:stretch;margin-top:0}
  .category-grid .category:nth-child(5) .category-photo{aspect-ratio:16/9}
  .category-grid .category:nth-child(5) .category-photo img{object-fit:cover}
}

/* SUN-030: the journal cards' ↗ dropped onto its own line (the excerpt the widgets add made the title row no longer
   the card's last child, so it lost its flex row). On a phone, where "Read the note ↗" is always shown, the lone
   arrow goes. */
.journal-card>div:not(.journal-photo){display:flex;gap:24px;justify-content:space-between;align-items:flex-start}
.journal-card>div:not(.journal-photo)>span{flex:none;font-size:22px;line-height:1.3}
@media(max-width:760px),(hover:none){.journal-section .journal-card>div:not(.journal-photo)>span{display:none}}

/* SUN-031: the phone menu's "Wishlist (0) →" is a button, so it showed in 16px DM Sans; it matches "About →" now. */
#overlay .search-result.sc-mm-btn{font-family:var(--serif);font-size:25px;line-height:30px;padding-top:17px;padding-bottom:17px}

/* SUN-032: the card's "NECKLACES / YELLOW GOLD" label was cut to "YELLOW GO…" — it wraps instead. */
.product-card .product-category{white-space:normal;overflow:visible;text-overflow:clip}

/* SUN-033: the sign-in / register photo started right under the header (0px) while the form column and every other
   page start ~56px lower. Side-by-side layout only (above 900px); the stacked phone / tablet layout keeps its full-bleed photo. */
@media(min-width:901px){.sc-auth{padding-top:56px}}

/* SUN-036: at tablet width the sketch-to-ring slider was squeezed to 194px (the steps line under the copy would not
   wrap), so "YOUR SKETCH" and "YOUR RING" overlapped. The two columns share the width, and the steps may wrap. */
@media(min-width:761px) and (max-width:1100px){
  .atelier-section{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6%}
  .atelier-section .sc-at-steps{grid-template-columns:1fr;gap:8px}
}

/* SUN-037: the bridal photo was cropped from its right edge (object-position 100%) at tablet width, which hid the
   emerald engagement ring; the care page's tall crop cut the same ring in half. The crop is centred on the ring. */
@media(min-width:761px) and (max-width:1100px){.bridal-photo>img{object-position:64% 50%}}
.editorial img[src*="bridal-editorial"]{object-position:64% 50%}

/* SUN-038: at tablet width "Add to Bag — $851" wrapped onto three lines and "Get guidance" onto two. The buy row
   keeps one line per button (the bag button drops under the quantity only when it truly cannot fit). */
.buy-row{flex-wrap:wrap}
.buy-row .sc-cta{flex:1 1 170px;white-space:nowrap;gap:14px;justify-content:space-between}
.sc-acts{display:flex;flex-wrap:wrap;gap:8px}
.sc-acts .sc-act{flex:1 1 auto;white-space:nowrap;justify-content:center}
@media(min-width:761px) and (max-width:1100px){.buy-row .sc-qty{width:104px}.buy-row .sc-cta{flex-basis:150px;font-size:13px;padding-left:14px;padding-right:14px;gap:8px}}

/* ── QA re-open, 19 Nov (round 2) ─────────────────────────────────────────────────────────────────────────────────── */

/* SUN-008: on the blog list a two-line title ("Little gifts for the small moments") pushed its excerpt 35px below the
   one-line title beside it ("A little care, at home"). Each card's photo / tag / title / excerpt now share rows with
   the card next to it, so the excerpts in a row start on one line. */
@supports (grid-template-rows:subgrid){
  .journal-grid.sc-journal{grid-auto-rows:auto}
  .journal-grid.sc-journal>.journal-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0;align-content:start}
}

/* SUN-018: "· SILVER" beside the price was an 11px label. It is a readable 15px label on the price's baseline. */
.tennis-price span{font-size:15px;letter-spacing:.1em;line-height:1}
@media(max-width:760px){.tennis-price span{font-size:14px}}
