.builder-page .scene-picker { border: 0; padding: 0; margin: 12px 0 0; }
.scene-picker legend { margin-bottom: 8px; font-weight: 650; }
.scene-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.builder-page .style-option {
  display: grid; grid-template-columns: auto 55px minmax(0, 1fr); align-items: center; gap: 8px;
  margin: 0; padding: 9px; min-height: 63px; border: 1px solid #dbe3ef; border-radius: 8px; cursor: pointer;
}
.style-option:has(input:checked) { background: #edf4ff; border-color: #3462af; }
.builder-page .style-option input, .builder-page .style-other input { width: auto; margin: 0; accent-color: #245ac1; }
.style-option strong { display: block; font-size: 14px; }
.style-option small { display: block; color: #465672; font-weight: 400; line-height: 1.3; }
.style-sample {
  --sample-rule: #9cbbd5; --sample-paper: #f5f9ff; --sample-top: #e3edf9;
  width: 55px; height: 34px; display: grid; gap: 3px; padding: 5px; align-content: end;
  background: linear-gradient(var(--sample-top) 0 34%, var(--sample-paper) 34%);
  border: 1px solid var(--sample-rule); border-radius: 5px;
}
.style-sample i { height: 2px; background: var(--sample-rule); border-radius: 1px; }
.style-sample[data-style="holiday"] { --sample-rule: #667c64; --sample-paper: #fff8e4; --sample-top: #234c39; grid-template-columns: repeat(3, 1fr); }
.style-sample[data-style="holiday"] i { height: 12px; background: #cab99b; }
.style-sample[data-style="work"] { --sample-rule: #52718b; --sample-paper: #e8f0f7; --sample-top: #2a4663; }
.style-sample[data-style="office"] { --sample-rule: #7b8763; --sample-paper: #f0e8d6; --sample-top: #eaead8; padding-left: 24px; position: relative; }
.style-sample[data-style="office"]::before { content: ''; position: absolute; inset: 8px 35px 5px 4px; border-radius: 8px 8px 2px 2px; background: #a6a484; }
.style-sample[data-style="tech"] { --sample-rule: #476474; --sample-paper: #dce9ed; --sample-top: #213644; grid-template-columns: repeat(3, 1fr); }
.style-sample[data-style="tech"] i { height: 12px; border-block: 2px solid var(--sample-rule); background: transparent; }
.builder-page .style-other { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; margin: 4px 0 0; }
@media (max-width: 680px) { .scene-options { grid-template-columns: 1fr; } }

body[data-page-theme]:not([data-page-theme=""]) .cart-heading p.theme-label {
  margin: 0 0 4px; color: inherit; font-size: 12px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase;
}
body[data-page-theme="everyday"] { background: #fff; }
body[data-page-theme="holiday"] {
  --ink: #253c32; --muted: #506257; --line: #dfddcd; --shade: #f8f4e6; --blue: #265d48;
  background: #fffcf3;
}
body[data-page-theme="holiday"] .cart-heading {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(15px, 4vw, 28px); padding-inline-end: 25%;
  border-radius: 14px; background: #234b3b; color: #fff5dc;
}
body[data-page-theme="holiday"] .cart-heading p { color: #f3e8cb; }
body[data-page-theme="holiday"] .cart-heading h1,
body[data-page-theme="office"] .cart-heading h1 { font-family: Charter, Georgia, serif; font-weight: 500; }
body[data-page-theme="holiday"] .cart-heading::after {
  content: ''; position: absolute; z-index: -1; right: 3%; top: 28%; width: clamp(56px, 10vw, 106px); aspect-ratio: 1.23;
  transform: rotate(13deg);
  background: linear-gradient(90deg, transparent 31%, #a34338 31% 43%, transparent 43%),
    linear-gradient(transparent 54%, #a34338 54% 68%, transparent 68%), #eadaae;
}
body[data-page-theme="holiday"] .products-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; border: 0;
}
body[data-page-theme="holiday"] .product-card { border: 1px solid var(--line); border-radius: 10px; padding: 9px; background: #fffdfa; align-content: start; }
@media (min-width: 861px) {
  body[data-page-theme="holiday"] .product-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; position: relative; }
  body[data-page-theme="holiday"] .product-image-link { grid-column: 1 / -1; grid-row: 1; padding: 0; }
  body[data-page-theme="holiday"] .product-image { height: 126px; width: 100%; object-fit: contain; }
  body[data-page-theme="holiday"] .product-selector { grid-area: 1 / 1; z-index: 1; justify-self: start; background: #fffdfa; border-radius: 6px; }
  body[data-page-theme="holiday"] .product-info { grid-column: 1 / -1; }
  body[data-page-theme="holiday"] .gift-claim { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body[data-page-theme="holiday"] .products-grid { grid-template-columns: 1fr; row-gap: 8px; }
}
body[data-page-theme="holiday"] .gift-action { border-color: #b7c9b7; color: var(--blue); background: #edf4e8; }

body[data-page-theme="work"] { --ink: #18304c; --muted: #465d74; --line: #cdd9e5; --shade: #eaf1f8; background: #f7faff; }
body[data-page-theme="work"] .cart-heading { border-top: 4px solid #263d57; padding-top: 14px; }
body[data-page-theme="work"] .checklist-head { background: #dfebf4; }
body[data-page-theme="work"] .product-card { padding-inline: 6px; }
body[data-page-theme="work"] .quantity-input,
body[data-page-theme="work"] .price { font-variant-numeric: tabular-nums; }

body[data-page-theme="office"] {
  --ink: #303a2b; --muted: #525c48; --line: #d9d8c7; --shade: #efecdd; --blue: #42603a; background: #f7f2e7;
}
body[data-page-theme="office"] .cart-heading {
  position: relative; padding: clamp(14px, 3vw, 26px); border-radius: 10px;
  background: linear-gradient(100deg, #edebda 32%, #edebda80 85%), repeating-linear-gradient(112deg, #e0d9c4 0 20px, #f7f2e5 20px 42px);
}
body[data-page-theme="office"] .cart-heading.has-office-collage { padding-inline-end: 43%; min-height: 125px; }
.office-collage {
  position: absolute; inset: 12% 3% 10% auto; width: min(37%, 200px);
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.office-collage img {
  min-width: 0; width: min(30%, 58px); height: 76%; object-fit: contain;
  padding: 4px; background: #fff; border-radius: 6px; box-shadow: 0 3px 8px #3c432c26; transform: rotate(-7deg);
}
.office-collage img:nth-child(2) { transform: translateY(-7%) rotate(6deg); }
.office-collage img:nth-child(3) { transform: translateY(6%) rotate(-2deg); }
body[data-page-theme="office"] .kit-heading { background: #e4e7d5; border: 1px solid #d5d9c1; }

body[data-page-theme="tech"] { --ink: #182c3a; --muted: #475b68; --line: #ccd8df; --shade: #eaf3f5; --blue: #00687c; background: #f6f9fa; }
body[data-page-theme="tech"] .cart-heading {
  padding: clamp(14px, 3vw, 24px); border-radius: 12px; color: #ecf8fb;
  background: linear-gradient(90deg, #192630 27%, transparent),
    repeating-linear-gradient(0deg, transparent 0 12px, #6394aa42 12px 13px),
    repeating-linear-gradient(90deg, transparent 0 12px, #6394aa42 12px 13px), #1b343f;
}
body[data-page-theme="tech"] .cart-heading p { color: #bae6ec; }
.product-specs { margin: 5px 0 0; display: grid; gap: 2px 10px; font-size: 13px; color: var(--muted); }
.product-specs div { overflow-wrap: anywhere; }
.product-specs dt { display: inline; font-weight: 650; }
.product-specs dd { display: inline; margin: 0; }
.product-specs dd::before { content: ' · '; }
.tech-comparison { margin: 15px 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.tech-heading { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; align-items: center; }
.tech-heading h2 { font-size: 17px; }
.tech-differences, .tech-table label { min-height: 36px; display: flex; align-items: center; gap: 4px; color: var(--blue); font-size: 13px; }
.tech-comparison input { accent-color: var(--blue); margin: 0; }
.tech-pickers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; }
.tech-pickers label { font-size: 12px; min-width: 0; }
.tech-pickers select { display: block; width: 100%; min-height: 38px; color: var(--ink); }
.tech-table { table-layout: fixed; border-collapse: collapse; width: 100%; font-size: 13px; }
.tech-table td, .tech-table th { padding: 6px 4px; text-align: start; overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
.tech-table thead th { vertical-align: bottom; font-weight: 650; }
.tech-table th:first-child { width: 25%; color: var(--muted); font-weight: 600; }
.tech-table img { display: block; object-fit: contain; width: min(100%, 66px); height: 48px; margin-bottom: 5px; }
.tech-table td { font-variant-numeric: tabular-nums; }
@media (pointer: coarse) {
  .tech-differences, .tech-table label, .tech-pickers select { min-height: 44px; }
}
@media (max-width: 380px) { .tech-comparison { padding: 8px; } }
