/* Parallel Card Builder — test UI (does not affect shop product pages) */

.cb-list {
  padding: 2.5rem 0 4rem;
}

.cb-list__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.cb-empty {
  padding: 2rem;
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

.cb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.cb-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #f6f4f1;
  transition: transform 0.2s ease;
}

.cb-card:hover {
  transform: translateY(-3px);
}

.cb-card__media {
  aspect-ratio: 1.586 / 1;
  background: #1a1a1a center / cover no-repeat;
}

.cb-card__body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
}

.cb-card__body h2 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
}

.cb-builder {
  padding: 1.5rem 0 4rem;
}

.cb-builder__crumbs {
  color: var(--vt-muted, #6b6b6b);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.cb-builder__crumbs a {
  color: inherit;
}

.cb-builder__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.cb-preview {
  min-width: 0;
}

/* Desktop: left card stays fixed while right options scroll */
@media (min-width: 901px) {
  .cb-preview {
    position: sticky;
    top: 90px;
    align-self: start;
    z-index: 2;
  }

  .cb-sidebar {
    position: static;
  }
}

.cb-related {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line, rgba(0, 0, 0, 0.08));
}

.cb-reviews {
  margin-top: 0.5rem;
}

.cb-preview__stage {
  /* Engraven-like light gray stage — card fully visible, never cropped */
  background: #e9e9e9;
  border-radius: 4px;
  padding: 2rem 3.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  aspect-ratio: 1 / 0.92;
  max-height: 520px;
  min-height: 300px;
  position: relative;
}

.cb-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
  padding: 0;
}

.cb-side-arrow:hover:not(:disabled) {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.cb-side-arrow:disabled,
.cb-side-arrow[aria-disabled='true'] {
  opacity: 0.28;
  cursor: default;
  box-shadow: none;
}

.cb-side-arrow--prev {
  left: 0.65rem;
}

.cb-side-arrow--next {
  right: 0.65rem;
}

.cb-preview__stage .canvas-container {
  margin: 0 auto;
  overflow: hidden !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.14),
    0 4px 10px rgba(0, 0, 0, 0.08);
  line-height: 0;
  flex-shrink: 1;
  max-width: 100% !important;
  max-height: 100% !important;
  box-sizing: border-box;
  /* Own compositor layer — stops mobile blank-canvas on scroll */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cb-preview__stage .canvas-container canvas {
  display: block;
  max-width: 100% !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.cb-hint,
.cb-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--vt-muted, #6b6b6b);
}

.cb-sidebar {
  position: static;
  background: var(--card, #fff);
  border: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  padding: 1.25rem 1.35rem 1.5rem;
  color: var(--ink, #111);
}

.cb-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  color: var(--ink, #111);
}

.cb-price strong,
.cb-price__label {
  color: inherit;
}

.cb-price strong {
  font-size: 1.35rem;
}

.cb-block {
  margin-bottom: 1.35rem;
}

.cb-block h3 {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  color: #555;
}

.cb-swatches {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem 0.25rem;
}

.cb-finish {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.22rem;
  margin: 0;
  padding: 0.3rem 0.15rem 0.35rem;
  border: 1.5px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  min-width: 0;
  transition: border-color 0.15s ease;
}

.cb-finish:hover {
  border-color: rgba(0, 0, 0, 0.2);
}

.cb-finish.is-active {
  border-color: #111;
  box-shadow: none;
}

.cb-finish__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: center / cover no-repeat #ccc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.cb-finish__name {
  display: block;
  width: 100%;
  font-size: 0.58rem;
  line-height: 1.2;
  color: #555;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.cb-finish.is-active .cb-finish__name {
  color: #111;
  font-weight: 700;
}

.cb-selected {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: #444;
  font-weight: 500;
}

/* legacy */
.cb-swatch {
  display: none;
}

.cb-border-toggles,
.cb-border-grid,
.cb-font-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.55rem;
}

.cb-chip,
.cb-font-btn {
  border: 1px solid var(--line, #ccc);
  background: var(--card, #fff);
  color: var(--ink, #222);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
}

.cb-chip.is-active,
.cb-font-btn.is-active {
  background: var(--inverse, #111);
  color: var(--inverse-text, #fff);
  border-color: var(--inverse, #111);
}

.cb-place-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.cb-place-chip {
  flex: 1 1 auto;
  min-width: 5.5rem;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #111;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}

.cb-place-chip.is-active {
  border: 2.5px solid #111;
  background: #fff;
  color: #111;
  padding: calc(0.55rem - 1.5px) calc(0.65rem - 1.5px);
}

.cb-text-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted, #888);
}

.cb-notes-lead {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted, #777);
}

.cb-notes-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink, #222);
}

.cb-text-row {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cb-text-row label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  color: #666;
}

.cb-text-row input[type="text"] {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.4rem;
}

.cb-text-row__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cb-text-row__top button {
  border: 0;
  background: transparent;
  color: #a33;
  cursor: pointer;
  font-size: 0.8rem;
}

.cb-file {
  display: block;
  border: 1px dashed #bbb;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.cb-file input {
  display: none;
}

.cb-btn-primary,
.cb-btn-secondary {
  width: 100%;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 0.4rem;
}

.cb-btn-primary {
  background: #111;
  color: #fff;
  border: 0;
}

.cb-btn-secondary {
  background: #fff;
  border: 1px solid #ccc;
  color: #222;
}

.cb-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* —— Notes / Add-ons / Upgrade / Review —— */
.cb-section-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

.cb-section-title {
  margin: 0 0 0.75rem !important;
  font-size: 1.05rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #111 !important;
  font-weight: 700;
}

.cb-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 96px;
  font-family: inherit;
}

.cb-textarea:focus {
  outline: none;
  border-color: #111;
}

.cb-addon-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cb-addon {
  display: grid;
  grid-template-columns: 36px 1fr auto 44px;
  gap: 0.55rem 0.65rem;
  align-items: center;
  padding: 0.85rem 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.cb-addon__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cb-addon__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cb-addon__body strong {
  font-size: 0.9rem;
  color: #111;
}

.cb-addon__body small {
  font-size: 0.75rem;
  color: #777;
  line-height: 1.3;
}

.cb-addon__more {
  font-size: 0.72rem;
  color: #666;
  text-decoration: underline;
  margin-top: 0.1rem;
}

.cb-addon__price {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.cb-addon__check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cb-toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #ddd;
  position: relative;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

.cb-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.cb-addon__check:checked ~ .cb-toggle {
  background: #111;
}

.cb-addon__check:checked ~ .cb-toggle::after {
  transform: translateX(18px);
}

.cb-upgrade {
  margin: 1.25rem 0;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
}

.cb-upgrade__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.cb-upgrade__label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: #333;
}

.cb-upgrade__count {
  font-size: 0.78rem;
  color: #666;
}

.cb-upgrade__progress {
  display: flex;
  align-items: center;
  margin-bottom: 0.9rem;
}

.cb-upgrade__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  flex-shrink: 0;
}

.cb-upgrade__dot.is-on {
  background: #111;
}

.cb-upgrade__line {
  flex: 1;
  height: 3px;
  background: #ddd;
}

.cb-upgrade__line.is-on {
  background: #111;
}

.cb-upgrade__offer {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
}

.cb-upgrade__sub {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: #555;
}

.cb-upgrade__perks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cb-upgrade__perks li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid #eee;
}

.cb-upgrade__perks strong {
  display: block;
  font-size: 0.88rem;
}

.cb-upgrade__perks small {
  display: block;
  font-size: 0.72rem;
  color: #888;
  margin-top: 0.15rem;
}

.cb-badge {
  flex-shrink: 0;
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.cb-badge--free {
  background: #f0ebe3;
  color: #444;
}

.cb-badge--save {
  background: #111;
  color: #fff;
}

.cb-badge--locked {
  background: #eee;
  color: #888;
}

.cb-review {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cb-review__list {
  margin: 0 0 1rem;
}

.cb-review__list > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
}

.cb-review__list dt {
  color: #777;
  margin: 0;
}

.cb-review__list dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  color: #111;
  max-width: 60%;
  word-break: break-word;
}

.cb-review__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0.75rem 0 0.85rem;
  font-size: 1rem;
}

.cb-review__total strong {
  font-size: 1.35rem;
}

.cb-sticky-cart {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 970;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
}

.cb-sticky-cart__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cb-sticky-cart__inner .cb-btn-primary {
  width: auto;
  margin: 0;
  min-width: 140px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.cb-sticky-cart small {
  display: block;
  font-size: 0.7rem;
  color: #888;
}

@media (max-width: 900px) {
  .cb-builder {
    padding: 1rem 0 5.5rem;
  }

  .cb-builder__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Header/announce scroll away; card preview stays fixed so live edits stay visible */
  body.cb-customize-page .vt-announce,
  body.cb-customize-page .vt-header {
    position: relative;
    z-index: 30;
  }

  .cb-preview {
    min-width: 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 45;
    margin: 0 -0.15rem;
    padding: 0.45rem 0.15rem 0.55rem;
    background: var(--bg, #f7f7f5);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .cb-preview__stage {
    padding: 0.85rem 2.4rem;
    min-height: 0;
    max-height: min(42vh, 280px);
    aspect-ratio: 1.55 / 1;
    width: 100%;
    /* overflow:hidden + body overflow-x:hidden blanks <canvas> on mobile scroll */
    overflow: visible;
  }

  .cb-side-arrow {
    width: 34px;
    height: 34px;
  }

  .cb-side-arrow--prev {
    left: 0.2rem;
  }

  .cb-side-arrow--next {
    right: 0.2rem;
  }

  .cb-preview__stage .canvas-container {
    max-width: 100% !important;
    max-height: 100% !important;
  }

  .cb-preview .cb-hint {
    display: none;
  }

  .cb-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
  }

  .cb-price {
    flex-wrap: wrap;
  }

  .cb-swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.3rem 0.2rem;
  }

  .cb-finish__dot {
    width: 26px;
    height: 26px;
  }

  .cb-finish__name {
    font-size: 0.55rem;
  }

  .cb-border-toggles,
  .cb-border-grid,
  .cb-font-row {
    gap: 0.35rem;
  }

  .cb-chip,
  .cb-font-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.55rem;
  }

  .cb-addon {
    grid-template-columns: 32px 1fr auto 40px;
    gap: 0.4rem 0.5rem;
  }

  .cb-sticky-cart {
    display: block !important;
  }

  body.cb-customize-page {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }

  body.cb-customize-page .vt-whatsapp {
    bottom: calc(5.25rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .cb-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cb-preview__stage {
    padding: 0.65rem 2.1rem;
    max-height: min(38vh, 240px);
  }

  .cb-side-arrow {
    width: 30px;
    height: 30px;
  }

  .cb-price strong {
    font-size: 1.15rem;
  }

  .cb-upgrade__perks li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Dark mode (site uses [data-theme="dark"]) —— */
[data-theme="dark"] .cb-builder {
  color: var(--ink);
}

[data-theme="dark"] .cb-builder__crumbs,
[data-theme="dark"] .cb-hint,
[data-theme="dark"] .cb-note,
[data-theme="dark"] .cb-selected {
  color: var(--muted) !important;
}

@media (max-width: 900px) {
  [data-theme="dark"] .cb-preview {
    background: var(--bg, #0b0b0b);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45);
  }
}

[data-theme="dark"] .cb-preview__stage {
  background: #1c1c1c;
}

[data-theme="dark"] .cb-side-arrow {
  background: rgba(28, 28, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f3f3f3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .cb-side-arrow:hover:not(:disabled) {
  background: #2a2a2a;
}

[data-theme="dark"] .cb-sidebar {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .cb-price {
  border-bottom-color: var(--line);
}

[data-theme="dark"] .cb-price__label,
[data-theme="dark"] .cb-price strong,
[data-theme="dark"] #cbPriceTop {
  color: var(--ink) !important;
}

[data-theme="dark"] .cb-block h3,
[data-theme="dark"] .cb-section-kicker {
  color: var(--muted) !important;
}

[data-theme="dark"] .cb-section-title {
  color: var(--ink) !important;
}

[data-theme="dark"] .cb-finish {
  border-color: transparent;
  color: var(--ink);
  background: transparent;
}

[data-theme="dark"] .cb-finish:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .cb-finish.is-active {
  border-color: #fff;
}

[data-theme="dark"] .cb-finish__name {
  color: var(--muted);
}

[data-theme="dark"] .cb-finish.is-active .cb-finish__name {
  color: var(--ink);
}

[data-theme="dark"] .cb-finish__dot {
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .cb-chip,
[data-theme="dark"] .cb-font-btn {
  background: var(--bg-mute);
  border-color: var(--line);
  color: var(--ink) !important;
}

[data-theme="dark"] .cb-place-chip {
  background: var(--bg-mute);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .cb-place-chip.is-active {
  background: var(--bg-mute);
  border-color: #fff;
  color: #fff;
}

[data-theme="dark"] .cb-text-hint {
  color: var(--muted);
}

[data-theme="dark"] .cb-notes-lead,
[data-theme="dark"] .cb-notes-label {
  color: var(--muted);
}

[data-theme="dark"] .cb-chip.is-active,
[data-theme="dark"] .cb-font-btn.is-active {
  background: #fff;
  border-color: #fff;
  color: #111 !important;
}

[data-theme="dark"] .cb-text-row {
  border-bottom-color: var(--line);
}

[data-theme="dark"] .cb-text-row label {
  color: var(--muted);
}

[data-theme="dark"] .cb-text-row input[type="text"],
[data-theme="dark"] .cb-textarea {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .cb-textarea::placeholder,
[data-theme="dark"] .cb-text-row input::placeholder {
  color: #777;
}

[data-theme="dark"] .cb-textarea:focus,
[data-theme="dark"] .cb-text-row input:focus {
  border-color: #888;
}

[data-theme="dark"] .cb-file {
  border-color: var(--line);
  color: var(--muted);
  background: var(--bg-soft);
}

[data-theme="dark"] .cb-btn-secondary {
  background: var(--bg-mute);
  border-color: var(--line);
  color: var(--ink);
}

[data-theme="dark"] .cb-btn-primary {
  background: #fff;
  color: #111;
}

[data-theme="dark"] .cb-addon {
  border-color: var(--line);
  background: var(--bg-soft);
}

[data-theme="dark"] .cb-addon__icon {
  background: var(--bg-mute);
}

[data-theme="dark"] .cb-addon__body strong,
[data-theme="dark"] .cb-addon__price {
  color: var(--ink);
}

[data-theme="dark"] .cb-addon__body small,
[data-theme="dark"] .cb-addon__more {
  color: var(--muted);
}

[data-theme="dark"] .cb-toggle {
  background: #3a3a3a;
}

[data-theme="dark"] .cb-addon__check:checked ~ .cb-toggle {
  background: #fff;
}

[data-theme="dark"] .cb-addon__check:checked ~ .cb-toggle::after {
  background: #111;
}

[data-theme="dark"] .cb-upgrade {
  background: var(--bg-soft);
  border-color: var(--line);
}

[data-theme="dark"] .cb-upgrade__label,
[data-theme="dark"] .cb-upgrade__offer {
  color: var(--ink);
}

[data-theme="dark"] .cb-upgrade__count,
[data-theme="dark"] .cb-upgrade__sub,
[data-theme="dark"] .cb-upgrade__perks small {
  color: var(--muted);
}

[data-theme="dark"] .cb-upgrade__perks li {
  border-top-color: var(--line);
}

[data-theme="dark"] .cb-upgrade__perks strong {
  color: var(--ink);
}

[data-theme="dark"] .cb-upgrade__dot,
[data-theme="dark"] .cb-upgrade__line {
  background: #3a3a3a;
}

[data-theme="dark"] .cb-upgrade__dot.is-on,
[data-theme="dark"] .cb-upgrade__line.is-on {
  background: #fff;
}

[data-theme="dark"] .cb-badge--free {
  background: #2a2a2a;
  color: #ddd;
}

[data-theme="dark"] .cb-badge--save {
  background: #fff;
  color: #111;
}

[data-theme="dark"] .cb-badge--locked {
  background: #2a2a2a;
  color: #888;
}

[data-theme="dark"] .cb-review {
  border-top-color: var(--line);
}

[data-theme="dark"] .cb-review__list > div {
  border-bottom-color: var(--line);
}

[data-theme="dark"] .cb-review__list dt {
  color: var(--muted);
}

[data-theme="dark"] .cb-review__list dd,
[data-theme="dark"] .cb-review__total,
[data-theme="dark"] .cb-review__total strong {
  color: var(--ink);
}

[data-theme="dark"] .cb-sticky-cart {
  background: var(--card);
  border-top-color: var(--line);
}

[data-theme="dark"] .cb-sticky-cart small {
  color: var(--muted);
}

[data-theme="dark"] .cb-sticky-cart strong {
  color: var(--ink);
}

[data-theme="dark"] .cb-card {
  background: var(--card);
}

[data-theme="dark"] .cb-related {
  border-top-color: var(--line);
}
