/* Carat & Grace — chrome: header, nav, mega panels, mobile menu, drawers, popup, footer.
   Geometry from the Figma frames (header 36+72+48 desktop / 32+58 mobile; footer pt80 pb32 px56). */

/* ---------------------------------------------------------------- header shell */
.cg-head { position: relative; z-index: 60; background: var(--cg-pearl); }
.cg-head.is-stuck { position: sticky; top: 0; }

.cg-announce {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 36px; background: var(--cg-onyx); color: var(--cg-inverse);
}
.cg-announce p, .cg-announce__i { font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; }
.cg-announce__m { display: none; }
/* the ticker: three messages in one slot, cross-fading (Step 3).
   They are stacked in ONE grid cell, not absolutely positioned, and that matters: the old rule gave the
   ticker `min-width: 1px` and took every message out of the flow, so the box was ~1px wide. The bar is a
   centred flex row of [sparkle][gap][ticker], so a 1px ticker let the flex centring put the sparkle at
   the middle of the bar — and each message, centred on that 1px anchor, was drawn straight through it.
   Harsh, 4 Nov 2026, with a screenshot of the live header: the ✦ sat inside the word "INSURED".
   Measured before the fix: the icon landed 152-174px INSIDE the text at every width from 768 to 1920
   (8 of the 12 widths checked); phones were fine because they show .cg-announce__m instead.
   Stacking in a grid cell gives the ticker the width of its widest message, so the sparkle sits beside
   the text the way it already did on a phone. Nothing else about the bar changes. */
.cg-announce__t { display: grid; min-width: 0; height: 1.3em; }
.cg-announce__i { grid-area: 1 / 1; justify-self: center; white-space: nowrap; opacity: 0; transition: opacity .5s ease; }
.cg-announce__i.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cg-announce__i { transition: none; } }

.cg-top {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center;
  height: 72px; padding-inline: var(--cg-gutter);
}
.cg-top__side { display: flex; align-items: center; gap: 20px; min-width: 0; }
.cg-top__side--end { justify-content: flex-end; gap: 22px; }
.cg-top__cur { white-space: nowrap; }

/* logo — this grid guarantees a true centre at every width (offset 0 from 701 to 1920) */
.cg-logo { display: inline-flex; align-items: center; gap: 9px; }
.cg-logo__mono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid var(--cg-rose); border-radius: 99px;
  font-family: var(--cg-display); font-style: italic; font-size: 12px; color: var(--cg-rose);
}
.cg-logo__word { font-family: var(--cg-display); font-size: 26px; line-height: 1; letter-spacing: 0.01em; color: var(--cg-text); white-space: nowrap; }
.cg-logo__word i { font-style: italic; color: var(--cg-rose); }
.cg-logo--inv .cg-logo__word { color: var(--cg-inverse); }
.cg-logo--inv .cg-logo__word i, .cg-logo--inv .cg-logo__mono { color: var(--cg-champagne); border-color: var(--cg-champagne); }
.cg-logo--m .cg-logo__word { font-size: 21px; }
.cg-logo--m .cg-logo__mono { width: 26px; height: 26px; font-size: 10px; }
/* LOGO-SET (user, 2026-11-17): the brand artwork (5649 × 1071, so 5.28:1) stands where the C&G circle
   and the Playfair wordmark stood. Height only — the width follows the artwork, which is never stretched.
   30px keeps the desktop bar at the height it had with the 32px monogram; the phone sizes step down with
   the same breakpoints the wordmark used, so nothing in the bar moves. */
.cg-logo__img { display: block; height: 30px; width: auto; }
.cg-logo--m .cg-logo__img { height: 22px; }

.cg-ib { position: relative; display: inline-flex; align-items: center; gap: 4px; min-width: 24px; min-height: 24px; justify-content: center; color: var(--cg-text); }
.cg-ib:hover { color: var(--cg-rose); }
.cg-ib__n { font-weight: 500; font-size: 13px; line-height: 1.5; }

/* ---------------------------------------------------------------- primary nav */
.cg-nav { border-top: 1px solid var(--cg-line); border-bottom: 1px solid var(--cg-line); }
.cg-nav__list { display: flex; align-items: center; justify-content: center; gap: 40px; height: 48px; }
.cg-nav__item { position: relative; display: flex; align-items: center; height: 100%; }
.cg-nav__link { position: relative; display: inline-flex; align-items: center; gap: 4px; height: 100%; }
.cg-nav__ul { position: absolute; left: 0; bottom: 13px; height: 1.5px; width: 100%; background: var(--cg-rose); transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.cg-nav__item:hover .cg-nav__ul, .cg-nav__item.is-open .cg-nav__ul { transform: scaleX(1); }

/* ---------------------------------------------------------------- mega panel
   0.3s fade + 8px slide; the panel stays while the pointer moves between items (playbook Step 18).
   The scrim is a sibling of the header, NOT a child of the nav: inside the nav's stacking context it
   rose above the items and produced a hover flicker loop in an earlier theme. */
.cg-panel {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, -8px);
  width: 100vw; max-width: var(--cg-max);
  background: var(--cg-pearl); border-bottom: 1px solid var(--cg-line);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
  /* closed = invisible, not hidden: a [hidden] panel is display:none !important, so hover never showed it;
     visibility keeps a closed panel out of the tab order and screen readers and still lets it fade */
  visibility: hidden;
  z-index: 70;
}
/* a full-width panel hangs from the nav row, centred on the page — from its own item it started at x −334 and was cut off */
.cg-nav { position: relative; }
.cg-nav__item:has(> .cg-panel--mega) { position: static; }
/* the panel is as wide as what it holds, centred under the nav, the photo beside the columns — at the full
   1440px the links sat at the left edge, the photo at the right and a blank half-panel between them */
.cg-panel--mega {
  width: max-content; max-width: min(var(--cg-max), calc(100vw - 32px));
  border: 1px solid var(--cg-line); border-top: 0;
  box-shadow: 0 18px 36px -24px rgba(43, 31, 36, .28);
}
.cg-panel--mega .cg-panel__in { gap: 56px; padding: 32px 40px 36px; }
.cg-panel--mega .cg-panel__cols { flex: 0 1 auto; gap: 44px; }
.cg-panel--mega .cg-panel__links { gap: 12px; }
.cg-panel--mega .cg-feat { width: 200px; }
.cg-panel--mega .cg-feat__t { padding-top: 10px; }
.cg-panel--mega .cg-feat__t strong { font-size: 17px; }
@media (min-width: 900px) and (max-width: 1023px) {
  .cg-panel--mega .cg-panel__in { flex-direction: row; gap: 36px; padding: 28px 28px 32px; }
  .cg-panel--mega .cg-panel__feat { width: auto; }
  .cg-panel--mega .cg-feat { width: 160px; }
}
.cg-nav__item.is-open .cg-panel { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; visibility: visible; transition-delay: 0s; }
.cg-panel__in { display: flex; gap: 42px; padding: 45px var(--cg-gutter) 48px; }
.cg-panel__cols { display: flex; flex: 1 1 auto; gap: 48px; min-width: 0; }
.cg-panel__col { min-width: 0; }
.cg-panel__h { color: var(--cg-text-2); margin-bottom: 18px; }
.cg-panel__links { display: flex; flex-direction: column; gap: 14px; }
.cg-panel__links a { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.5; }
.cg-panel__links a:hover { color: var(--cg-rose); }
.cg-panel__col--2up .cg-panel__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.cg-panel__col--shapes .cg-panel__links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 10px; }
.cg-panel__feat { display: flex; gap: 12px; flex: 0 0 auto; }
.cg-panel--dropdown { left: auto; right: var(--cg-gutter); transform: translate(0, -8px); width: 414px; max-width: 414px; }
.cg-nav__item.is-open .cg-panel--dropdown { transform: translate(0, 0); }
.cg-panel--dropdown .cg-panel__in { padding: 29px; }

.cg-feat { display: block; width: 236px; }
.cg-feat__m { display: block; }
.cg-feat__t { display: block; padding-top: 12px; }
.cg-feat__t em { display: block; color: var(--cg-text-2); font-style: normal; margin-bottom: 4px; }
.cg-feat__t strong { display: block; font-weight: 400; font-size: 18px; }

.cg-dot { width: 16px; height: 16px; border-radius: 99px; border: 1px solid rgba(30,22,32,.18); flex: 0 0 auto; }
.cg-dot--white { background: var(--cg-metal-white); }
.cg-dot--yellow { background: var(--cg-metal-yellow); }
.cg-dot--rose { background: var(--cg-metal-rose); }
.cg-dot--platinum { background: var(--cg-metal-platinum); }
.cg-dot--silver { background: var(--cg-metal-silver); }

/* ---------------------------------------------------------------- mobile bar */
.cg-mbar { display: none; align-items: center; justify-content: space-between; height: 58px; padding-inline: var(--cg-gutter); border-bottom: 1px solid var(--cg-line); }
.cg-mbar__side { display: flex; align-items: center; gap: 16px; width: 70px; }
.cg-mbar__side--end { justify-content: flex-end; }
/* 320px phones (theme-changes-playbook J): two 44px tap targets per side + the full logo needed ~345px,
   so the row scrolled sideways by 13px on every page. Below 360 only: sides fit their buttons exactly
   (no gap), the C&G monogram is dropped and the wordmark eases down; 360 and up are unchanged. */
@media (max-width: 359px) {
  .cg-mbar__side { width: auto; gap: 0; }
  .cg-logo--m .cg-logo__mono { display: none; }
  .cg-logo--m .cg-logo__word { font-size: 15px; }
}

@media (max-width: 767px) {
  .cg-announce { height: 32px; }
  .cg-announce__d { display: none; }
  .cg-announce__m { display: block; }
  .cg-top, .cg-nav { display: none; }
  .cg-mbar { display: flex; }
}

/* ---------------------------------------------------------------- scrim + drawers */
.cg-scrim { position: fixed; inset: 0; background: rgba(22,17,26,.42); z-index: 80; opacity: 0; transition: opacity .28s ease; }
.cg-scrim.is-on { opacity: 1; }

.cg-dw {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(460px, 100vw); display: flex; flex-direction: column;
  background: var(--cg-pearl); transform: translateX(100%); transition: transform .3s ease;
}
.cg-dw.is-on { transform: none; }
.cg-dw--menu, .cg-dw--search { right: auto; left: 0; width: min(390px, 100vw); transform: translateX(-100%); }
.cg-dw--search { width: min(560px, 100vw); }
.cg-dw--menu.is-on, .cg-dw--search.is-on { transform: none; }
.cg-dw__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 75px; padding: 22px 24px; border-bottom: 1px solid var(--cg-line); }
.cg-dw__inner { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.cg-dw__body { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cg-dw__foot { border-top: 1px solid var(--cg-line); padding: 21px 24px; }
.cg-mmenu__foot { display: flex; gap: 12px; }
.cg-mmenu__foot .cg-chip { flex: 1 1 0; }

.cg-mmenu__tabs { display: grid; grid-auto-flow: column; border-bottom: 1px solid var(--cg-line); }
.cg-mmenu__tab { height: 42px; font-weight: 500; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cg-text-2); }
.cg-mmenu__tab[aria-selected='true'] { color: var(--cg-text); box-shadow: inset 0 -1.5px 0 var(--cg-rose); }
.cg-mmenu__pane { padding: 20px 16px 8px; }
.cg-mmenu__h { color: var(--cg-text-2); margin-bottom: 14px; }
.cg-mmenu__shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 8px; }
.cg-mmenu__rows { display: flex; flex-direction: column; }
.cg-mmenu__rows a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--cg-line); font-size: 14px; }
.cg-mmenu__rows a:last-child { border-bottom: 0; }
.cg-mmenu__feat { padding-block: 12px; }

/* ---------------------------------------------------------------- search drawer */
.cg-srch { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; border-bottom: 1px solid var(--cg-line-strong); padding-bottom: 8px; }
.cg-srch__i { flex: 1 1 auto; min-width: 0; border: 0; background: none; font-size: 16px; }
.cg-srch__i::placeholder { color: var(--cg-text-2); }
.cg-srch__sug { padding: 24px; }
.cg-srch__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cg-srch__res { padding: 8px 0; }
.cg-srch__res a { display: flex; gap: 14px; align-items: center; padding: 10px 24px; }
.cg-srch__res a:hover { background: var(--cg-porcelain); }
.cg-srch__res .cg-media { width: 56px; flex: 0 0 56px; }
.cg-srch__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cg-srch__t strong { font-weight: 400; }
.cg-srch__t em { font-style: normal; }
.cg-srch__all, .cg-srch__none { display: block; padding: 14px 24px; }

/* ---------------------------------------------------------------- popup */
.cg-pop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(22,17,26,.5); padding: 20px; }
.cg-pop__panel { position: relative; display: grid; grid-template-columns: 420px 480px; width: min(900px, 100%); background: var(--cg-pearl); }
.cg-pop__img { background: var(--cg-image); overflow: hidden; }
.cg-pop__img img { width: 100%; height: 100%; object-fit: cover; }
.cg-pop__body { display: flex; flex-direction: column; gap: 14px; padding: 72px 52px; }
.cg-pop__x { position: absolute; top: 16px; right: 16px; color: var(--cg-text); }
.cg-pop__no { align-self: flex-start; text-decoration: underline; }
@media (max-width: 767px) {
  .cg-pop { align-items: end; padding: 0; }
  .cg-pop__panel { grid-template-columns: 1fr; width: 100%; }
  .cg-pop__img { height: 230px; }
  .cg-pop__body { padding: 24px 20px 32px; }
}

/* ---------------------------------------------------------------- footer */
.cg-foot { background: var(--cg-onyx); color: var(--cg-inverse); }
.cg-foot__in { max-width: var(--cg-max); margin-inline: auto; padding: 80px var(--cg-gutter) 32px; display: flex; flex-direction: column; gap: 56px; }
.cg-foot__top { display: flex; gap: 72px; align-items: flex-start; }
.cg-foot__brand { display: flex; flex-direction: column; gap: 16px; width: 420px; flex: 0 0 420px; }
.cg-foot__h { color: var(--cg-inverse); }
.cg-foot__sub { opacity: .7; }
.cg-foot__tag { opacity: .7; margin-bottom: 4px; }
.cg-foot__cols { display: flex; flex: 1 1 auto; gap: 48px; min-width: 0; }
.cg-foot__col { flex: 1 1 0; min-width: 0; }
.cg-foot__ch { color: var(--cg-champagne); margin-bottom: 11px; }
.cg-foot__col ul { display: flex; flex-direction: column; gap: 11px; }
.cg-foot__col a, .cg-foot__col span { font-size: 13px; line-height: 1.5; opacity: .78; }
.cg-foot__col a:hover { opacity: 1; color: var(--cg-champagne); }
.cg-foot__ok { color: var(--cg-champagne); }
.cg-foot__err { color: var(--cg-blush); }

.cg-sub { display: flex; }
.cg-sub--stack { display: block; }
.cg-sub--stack .cg-sub__i { width: 100%; margin-bottom: 14px; border-color: var(--cg-line); color: var(--cg-text); }
.cg-sub__i { flex: 1 1 auto; min-width: 0; height: 48px; padding-inline: 16px; background: none; border: 1px solid var(--cg-inverse); color: var(--cg-inverse); font-size: 13px; }
.cg-sub__i::placeholder { color: currentColor; opacity: .6; }
.cg-sub__b { height: 48px; padding-inline: 22px; background: var(--cg-rose); color: var(--cg-inverse); font-weight: 500; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.cg-sub__b:hover { background: var(--cg-accent); }

.cg-social { display: flex; gap: 16px; }
.cg-social a { opacity: .85; }
.cg-social a:hover { opacity: 1; color: var(--cg-champagne); }

.cg-foot__bot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(251,248,245,.28); }
.cg-foot__cp { opacity: .6; }
.cg-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.cg-pay li { padding: 5px 9px; border: 1px solid rgba(251,248,245,.5); border-radius: 2px; }
.cg-foot__legal { display: flex; gap: 18px; }
.cg-foot__legal a { opacity: .6; }
.cg-foot__legal a:hover { opacity: 1; }

@media (max-width: 1023px) {
  .cg-foot__top { flex-direction: column; gap: 48px; }
  .cg-foot__brand { width: 100%; flex: 1 1 auto; }
  .cg-foot__cols { flex-wrap: wrap; gap: 32px 24px; }
  .cg-foot__col { flex: 1 1 40%; }
  .cg-panel__in { flex-direction: column; }
  .cg-panel__feat { width: 100%; }
  .cg-feat { width: 50%; }
}
@media (max-width: 767px) {
  .cg-foot__in { padding: 56px var(--cg-gutter) 28px; gap: 40px; }
  .cg-foot__cols { flex-direction: column; gap: 28px; }
  .cg-foot__bot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------------------------------------------------------------- signed-in name beside the account icon */
.cg-ib--acct { gap: 7px; }
.cg-ib__who { font-weight: 500; font-size: 13px; line-height: 1.5; max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the phone bar (and the menu drawer's head) has 15px between the centred logo and its icons, so on a phone
   the name is a chip in the menu drawer's foot instead */
.cg-mbar .cg-ib__who { display: none; }

/* ---------------------------------------------------------------- phone menu drawer: tabs and shape tiles
   Six tabs in equal grid columns left ~62px each, so "Engagement rings" wrapped and the labels ran together;
   the tabs are one scrolling row instead (the chosen one is scrolled into view by cng.js), faded at the edge
   while there is more. The shape grid's columns grew to fit a tile's 22px side padding, so four tiles did not
   fit in the drawer and ran off its right edge: the columns may shrink and the tiles are padded to suit. */
.cg-mmenu__tabs {
  display: flex; gap: 22px; padding-inline: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 16px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.cg-mmenu__tabs::-webkit-scrollbar { display: none; }
.cg-mmenu__tab { flex: 0 0 auto; white-space: nowrap; padding-inline: 2px; }
.cg-mmenu__tab:last-child { margin-right: 20px; }
.cg-mmenu__shapes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cg-mmenu__shapes .cg-stile { min-width: 0; padding: 12px 4px 10px; gap: 6px; }
.cg-mmenu__shapes .cg-caption { font-size: 10px; letter-spacing: .1em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 339px) { .cg-mmenu__shapes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- the five-column Engagement rings panel (White Moon's menu)
   Menu labels stay on one line; the wide panel spaces its columns closer, and below 1366px drops its photo so the
   five columns keep their room. */
.cg-panel--mega .cg-panel__links a { white-space: nowrap; }
#cg-panel-engagement-rings .cg-panel__cols { gap: 36px; }
#cg-panel-engagement-rings .cg-panel__in { gap: 44px; }
@media (max-width: 1365px) { #cg-panel-engagement-rings .cg-panel__feat { display: none; } }
@media (max-width: 1150px) {
  .cg-panel--mega .cg-panel__in { padding-inline: 24px; gap: 32px; }
  .cg-panel--mega .cg-panel__cols { gap: 24px; }
  .cg-panel--mega .cg-panel__col--2up .cg-panel__links { column-gap: 16px; }
  #cg-panel-wedding-bands .cg-panel__feat { display: none; }
}
/* 768–1023px (iPad portrait and up, where the desktop menu shows): no photo, and columns wrap to a second row rather
   than squeeze or run off the screen (768 / 820px spilled 52 / 37px, 2026-10-24) */
@media (min-width: 768px) and (max-width: 1023px) {
  .cg-panel--mega .cg-panel__feat { display: none; }
  .cg-panel--mega .cg-panel__in { padding-inline: 24px; }
  .cg-panel--mega .cg-panel__cols { flex-wrap: wrap; gap: 28px 32px; }
  .cg-panel--mega .cg-panel__col { flex: 0 0 auto; }
}

/* ---------------------------------------------------------------- gem icons (Gemstone / Fancy colour menu links, user 2026-10-22)
   one faceted stone (#cg-gem in the header) tinted per link with --g, the size of the metal dots */
.cg-gem { width: 16px; height: 16px; flex: 0 0 16px; display: block; color: var(--g, #cfc7c2); }
.cg-panel__links a:hover .cg-gem { transform: scale(1.12); }
.cg-gem { transition: transform .18s ease; }
/* the phone menu's rows: icon, then the name (the rows spread their children apart) */
.cg-mmenu__rows a > .cg-gem, .cg-mmenu__rows a > .cg-dot { margin-right: 12px; }
.cg-mmenu__rows a > .cg-gem + span, .cg-mmenu__rows a > .cg-dot + span { flex: 1 1 auto; }

/* ---------------------------------------------------------------- search: a full-width panel from the top
   (user, 2026-10-23 "make search horizontal") — the field across the page, popular searches in one row, results as a
   row of product tiles. Content keeps the page's 1328px column. */
.cg-dw--search {
  top: 0; right: 0; bottom: auto; left: 0; width: 100%; max-height: min(88vh, 680px);
  transform: translateY(-100%); box-shadow: 0 18px 40px rgba(22, 17, 26, .12);
}
.cg-dw--search.is-on { transform: none; }
.cg-dw--search .cg-dw__head,
.cg-dw--search .cg-srch__sug,
.cg-dw--search .cg-srch__res,
.cg-dw--search .cg-srch__all,
.cg-dw--search .cg-srch__none { padding-inline: max(var(--cg-gutter), calc((100% - 1328px) / 2)); }
.cg-dw--search .cg-dw__head { min-height: 96px; padding-block: 26px; gap: 24px; }
.cg-dw--search .cg-srch { padding-bottom: 12px; gap: 14px; }
.cg-dw--search .cg-srch__i { font-family: var(--cg-display); font-size: 26px; line-height: 1.2; }
.cg-dw--search .cg-dw__body { padding-block: 4px 32px; }
.cg-dw--search .cg-srch__sug { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; padding-block: 24px 4px; }
.cg-dw--search .cg-srch__sug .cg-label { margin: 0; }
.cg-dw--search .cg-srch__chips { margin: 0; }
.cg-dw--search .cg-srch__res { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding-block: 24px 8px; }
.cg-dw--search .cg-srch__res a { flex-direction: column; align-items: stretch; gap: 10px; padding: 0; }
.cg-dw--search .cg-srch__res a:hover { background: none; }
.cg-dw--search .cg-srch__res a:hover .cg-srch__t strong { text-decoration: underline; text-underline-offset: 3px; }
.cg-dw--search .cg-srch__res .cg-media { width: 100%; flex: none; }
.cg-dw--search .cg-srch__t strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cg-dw--search .cg-srch__all, .cg-dw--search .cg-srch__none { padding-block: 18px 0; }
@media (max-width: 1023px) {
  .cg-dw--search .cg-srch__res { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .cg-dw--search { max-height: 100dvh; }
  .cg-dw--search .cg-dw__head { min-height: 72px; padding-block: 16px; gap: 12px; }
  .cg-dw--search .cg-srch__i { font-size: 17px; }
  .cg-dw--search .cg-srch__res { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .cg-dw--search { transition: none; } }

/* phone menu: each menu opens with "Shop all <menu>" = where the desktop item goes (user, 2026-10-24) */
.cg-mmenu__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; margin: 0 0 18px; padding: 0 16px; background: var(--cg-onyx); color: var(--cg-pearl); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.cg-mmenu__all:hover, .cg-mmenu__all:focus-visible { background: var(--cg-plum); }

/* the whole page never scrolls sideways (user, 2026-10-24 "completely responsive"): clip, not hidden, so the sticky
   header, sidebar and summary keep working */
html, body { overflow-x: clip; }

/* the header stays in view when the page scrolls (user, 2026-10-26 "nav bar after scroll down not visible"): the
   header lives in its own section wrapper exactly as tall as it, so `position: sticky` on .cg-head could never move —
   the WRAPPER is sticky now, pulled up by the announcement's height so only the logo row and the menu stay */
.shopify-section--cng-header { position: sticky; top: -36px; z-index: 60; }
.cg-head.is-stuck { position: relative; box-shadow: 0 6px 18px rgba(30, 22, 32, .08); }
@media (max-width: 767px) { .shopify-section--cng-header { top: -32px; } }
/* the stuck header's real height (logo row + menu = 122px; phones 58px), so the bag summary, builder summary, product
   gallery, collection guide and filter sidebar stick just below it instead of under it */
:root { --cg-header-sticky-h: 122px; }
@media (max-width: 767px) { :root { --cg-header-sticky-h: 58px; } }

/* the platform's chat bubble covered a drawer's own buttons on phones ("See N pieces", Checkout): while any drawer is
   open (filters, bag, menu, search) it steps aside, and comes back when the drawer closes (2026-10-26) */
html:has(.cg-dw.is-on) #relay-widget-host { visibility: hidden !important; pointer-events: none !important; }

/* phone header (user, 2026-10-26 screenshot at ~360px):
   1. the announcement showed the desktop ticker AND the phone line on top of each other — the phone rule hid
      .cg-announce__d, but the ticker is .cg-announce__t; now the ticker hides and the one phone line stays on a line;
   2. the full logo (monogram + 21px name, 172px) ran under the search and account icons between 360 and 419px —
      the "smaller logo" step now starts at 420px (no monogram, 17px name), 15px below 360 as before */
@media (max-width: 767px) {
  .cg-announce__t { display: none; }
  .cg-announce__m { margin: 0; max-width: calc(100vw - 34px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 419px) {
  .cg-mbar__side { width: auto; gap: 0; }
  .cg-logo--m .cg-logo__mono { display: none; }
  .cg-logo--m .cg-logo__word { font-size: 17px; }
  .cg-logo--m .cg-logo__img { height: 18px; }
  .cg-announce__m { font-size: 10px; letter-spacing: .06em; }
}
@media (max-width: 359px) { .cg-logo--m .cg-logo__word { font-size: 15px; } .cg-logo--m .cg-logo__img { height: 16px; } .cg-announce__m { font-size: 9px; letter-spacing: .04em; } }

/* phone footer, compact (user, 2026-10-26 "make footer space optimizing"): the four link groups two by two —
   Shop | Useful links, Information | Contact — links keep their 36px tap area but lose the extra gap, and the
   newsletter block and padding tighten */
@media (max-width: 767px) {
  .cg-foot__in { padding: 40px var(--cg-gutter) 24px; gap: 28px; }
  .cg-foot__top { gap: 32px; }
  .cg-foot__brand { gap: 12px; }
  .cg-foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .cg-foot__col:first-child { order: 4; }
  .cg-foot__ch { margin-bottom: 4px; }
  .cg-foot__col ul { gap: 0; }
  .cg-foot__col a, .cg-foot__col span { font-size: 13px; }
  .cg-foot__tag { font-size: 12px; margin-bottom: 2px; }
  .cg-foot__bot { gap: 10px; padding-top: 16px; }
}

/* phone menu as a vertical list (2026-10-26): a full-width row per menu, its submenus open underneath */
.cg-mmenu__list { display: flex; flex-direction: column; }
.cg-mmenu__sec { border-bottom: 1px solid var(--cg-line); }
.cg-mmenu__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 16px; background: none; border: 0; text-align: left; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-text); cursor: pointer; }
.cg-mmenu__row[aria-expanded='true'] { color: var(--cg-rose); }
.cg-mmenu__chev { flex: 0 0 auto; transition: transform .25s ease; }
.cg-mmenu__row[aria-expanded='true'] .cg-mmenu__chev { transform: rotate(180deg); }
.cg-mmenu__list .cg-mmenu__pane { padding: 4px 16px 20px; }
.cg-mmenu__list .cg-mmenu__all { margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .cg-mmenu__chev { transition: none; } }

/* popup close (user, 2026-10-26: the × vanished on the dark photo on phones): a solid pearl circle with an onyx ×
   and a soft shadow, readable over any photo; a 44px tap area */
.cg-pop__x {
  z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--cg-pearl); color: var(--cg-onyx); box-shadow: 0 4px 14px rgba(22, 17, 26, .28);
  transition: transform .2s ease, background .2s ease;
}
.cg-pop__x:hover, .cg-pop__x:focus-visible { background: var(--cg-white); transform: scale(1.06); }
.cg-pop__x:focus-visible { outline: 2px solid var(--cg-rose); outline-offset: 2px; }
.cg-pop__x::after { content: ''; position: absolute; inset: -2px; }
@media (max-width: 767px) { .cg-pop__x { top: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .cg-pop__x { transition: none; } }
/* the chat bubble also covered the popup's "No thanks" on phones: it steps aside while the popup is open too */
html:has(.cg-pop:not([hidden])) #relay-widget-host { visibility: hidden !important; pointer-events: none !important; }
