/* Carat & Grace — v1 configurator rows. Uses the theme's own chip and option-row parts. */
.cg-v1 { display: flex; flex-direction: column; gap: 26px; }
.cg-v1__g .cg-pills { gap: 8px; }
.cg-v1__g .cg-chip { min-width: 64px; }
.cg-v1__slot:empty { display: none; }
.cg-wtiles { display: flex; flex-wrap: wrap; gap: 8px; }
.cg-wtile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 64px; min-height: 58px; padding: 8px 10px;
  border: 1px solid var(--cg-line); background: var(--cg-white); color: var(--cg-text); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.cg-wtile b { font-family: var(--cg-serif); font-size: 19px; font-weight: 500; line-height: 1; }
.cg-wtile .cg-caption { letter-spacing: .14em; }
.cg-wtile:hover { border-color: var(--cg-text); }
.cg-wtile.is-on { border-color: var(--cg-accent); background: var(--cg-blush); }
@media (max-width: 767px) { .cg-v1__g .cg-chip { min-height: 44px; } }

/* ---------------------------------------------------------------- QA, 19 Nov 2026 */

/* CAG-032 — the weight tiles are a 64px-wide wrapping flex row, so on a 390px phone five fitted
   and the sixth ("5 CT") dropped onto a row of its own with the rest of the row empty. Three to a
   row on phones: six options read 3 + 3, and any count fills from the left in even thirds. */
@media (max-width: 767px) {
  .cg-wtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cg-wtiles .cg-wtile { width: auto; }
}
