/**
 * DIY Standard Kit — styles for the quick-path UI.
 * Scoped under .diy-sk to avoid colliding with the full configurator.
 */

:root {
  --diy-sk-green: #4e6b3a;
  --diy-sk-green-dark: #3f5a2e;
  --diy-sk-ink: #262626;
  --diy-sk-line: #e7e7e7;
  --diy-sk-muted: #8c8c8c;
  --diy-sk-muted-2: #a6a6a6;
  --diy-sk-radius: 12px;
  --diy-sk-sel-bg: #eef3e8;
  --diy-sk-sel-border: #b7cda4;
  --diy-sk-check: #4c8a3f;
  --diy-sk-black: #161616;
  --diy-sk-tile: #ededed;
}

/* Mode visibility */
#diy-configurator.diy-mode-standard #diy-full-configurator,
#diy-configurator.diy-mode-standard #diy-mobile-bar {
  display: none !important;
}

#diy-configurator.diy-mode-customize #diy-standard-kit {
  display: none !important;
}

/* Customize mode: normal hero; Standard Kit shell is a passthrough */
#diy-configurator.diy-mode-customize .diy-sk-shell {
  display: block;
}

#diy-configurator.diy-mode-customize .diy-hero-copy a[href="#diy-step-1"] {
  display: inline;
}

/* Back-to-Standard controls: only when entered via Standard Kit → Start customizing */
.diy-sk-back-card,
.diy-sk-back-bar {
  display: none;
}

#diy-configurator.diy-mode-customize.diy-sk-from-standard .diy-hero {
  grid-template-columns: 300px minmax(0, 1fr) minmax(240px, 300px);
  align-items: start;
}

#diy-configurator.diy-mode-customize.diy-sk-from-standard .diy-sk-back-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px;
  border: 2px solid var(--diy-sk-green);
  border-radius: 12px;
  background: var(--diy-sk-sel-bg);
}

#diy-configurator.diy-mode-customize.diy-sk-from-standard .diy-sk-back-bar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

.diy-sk-back-card-t {
  font-size: 16px;
  font-weight: 700;
  color: var(--diy-sk-green-dark);
}

.diy-sk-back-card .diy-sk-btn-custom {
  width: 100%;
}

@media (max-width: 900px) {
  #diy-configurator.diy-mode-customize.diy-sk-from-standard .diy-hero {
    grid-template-columns: 1fr;
  }

  #diy-configurator.diy-mode-customize.diy-sk-from-standard .diy-sk-back-card {
    max-width: 340px;
  }
}

/*
 * Standard Kit 3-column shell:
 * [ Gallery | Title + config | Checkout paths ]
 */
#diy-configurator.diy-mode-standard .diy-sk-shell {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px 32px;
  align-items: start;
  padding: 14px 0 22px;
}

#diy-configurator.diy-mode-standard .diy-hero,
#diy-configurator.diy-mode-standard #diy-standard-kit,
#diy-configurator.diy-mode-standard .diy-sk-qc {
  display: contents;
}

#diy-configurator.diy-mode-standard .diy-gallery {
  grid-column: 1;
  grid-row: 1 / span 2;
  max-width: none;
}

#diy-configurator.diy-mode-standard .diy-hero-copy {
  grid-column: 2;
  grid-row: 1;
}

#diy-configurator.diy-mode-standard .diy-hero-copy p {
  display: none;
}

#diy-configurator.diy-mode-standard .diy-sk-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  overflow: hidden;
}

#diy-configurator.diy-mode-standard .diy-sk-paths {
  grid-column: 3;
  grid-row: 1 / span 2;
  position: sticky;
  top: 16px;
  align-self: start;
  max-width: none;
  z-index: 1;
}

/*
 * Heater / door / accessories picker:
 * same column as Standard Kit content (not full page width), below the comparison.
 */
#diy-configurator.diy-mode-standard .diy-sk-picker:not([hidden]) {
  grid-column: 2;
  grid-row: 3;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 8px;
  justify-self: stretch;
  /* Do not set overflow here — it breaks position:sticky on .diy-sk-pk-foot */
}

/* While picking, keep the checkout column from sticky-overlapping the list */
#diy-configurator.diy-mode-standard.diy-sk-picking .diy-sk-paths {
  position: static;
}

@media (max-width: 1100px) {
  #diy-configurator.diy-mode-standard .diy-sk-picker:not([hidden]) {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

#diy-configurator.diy-mode-standard .diy-sk {
  margin-top: 0;
}

@media (max-width: 1100px) {
  #diy-configurator.diy-mode-standard .diy-sk-shell {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 18px 24px;
  }

  #diy-configurator.diy-mode-standard .diy-sk-paths {
    grid-column: 1 / -1;
    grid-row: auto;
    position: static;
    max-width: 520px;
  }

  #diy-configurator.diy-mode-standard .diy-gallery {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  #diy-configurator.diy-mode-standard .diy-sk-shell {
    grid-template-columns: 1fr;
    padding: 10px 0 16px;
  }

  #diy-configurator.diy-mode-standard .diy-gallery,
  #diy-configurator.diy-mode-standard .diy-hero-copy,
  #diy-configurator.diy-mode-standard .diy-sk-main,
  #diy-configurator.diy-mode-standard .diy-sk-paths,
  #diy-configurator.diy-mode-standard .diy-sk-picker:not([hidden]) {
    grid-column: 1;
    grid-row: auto;
  }

  #diy-configurator.diy-mode-standard .diy-sk-paths {
    max-width: none;
  }
}

.diy-sk {
  box-sizing: border-box;
  color: var(--diy-sk-ink);
  font-size: 14px;
  margin-top: 10px;
}

.diy-sk *,
.diy-sk *::before,
.diy-sk *::after {
  box-sizing: border-box;
}

.diy-sk-qc {
  --gap: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: var(--gap) 32px;
  align-items: start;
}

.diy-sk-main {
  display: grid;
  gap: var(--gap);
  min-width: 0;
}

.diy-sk-spec {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--diy-sk-green-dark);
}

.diy-sk-intro {
  margin: -10px 0 0;
  line-height: 1.5;
  color: var(--diy-sk-muted);
}

.diy-sk-heading {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.diy-sk fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.diy-sk-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.diy-sk-pill {
  position: relative;
  cursor: pointer;
}

.diy-sk-pill input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.diy-sk-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
  transition: 0.15s;
}

.diy-sk-pill:hover span {
  border-color: var(--diy-sk-sel-border);
}

.diy-sk-pill input:checked + span {
  border-color: var(--diy-sk-green);
  background: var(--diy-sk-sel-bg);
  color: var(--diy-sk-green-dark);
  box-shadow: inset 0 0 0 1px var(--diy-sk-green);
  font-weight: 600;
}

.diy-sk-pill input:focus-visible + span {
  outline: 2px solid var(--diy-sk-green);
  outline-offset: 2px;
}

.diy-sk-cmp {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--diy-sk-line);
  border-radius: 12px;
  overflow: hidden;
}

.diy-sk-cmp-col {
  padding: 14px 16px;
}

.diy-sk-cmp-in {
  background: #f6f9f2;
  border-right: 1px solid var(--diy-sk-line);
}

.diy-sk-cmp-out {
  background: #fafafa;
}

.diy-sk-cmp-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.diy-sk-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex: none;
}

.diy-sk-mark.yes {
  background: var(--diy-sk-check);
}

.diy-sk-mark.no {
  background: #b3b3b3;
}

.diy-sk-cmp ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.diy-sk-cmp li {
  font-size: 14px;
  line-height: 1.35;
  padding-left: 28px;
  position: relative;
}

.diy-sk-cmp-in li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  color: var(--diy-sk-check);
  font-weight: 700;
}

.diy-sk-cmp-out li {
  color: #666;
}

.diy-sk-cmp-out li::before {
  content: "✕";
  position: absolute;
  left: 5px;
  color: #aaa;
  font-weight: 700;
}

.diy-sk-cmp li b {
  font-weight: 600;
}

.diy-sk-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 12px;
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
}

.diy-sk-specs dt {
  color: var(--diy-sk-muted);
}

.diy-sk-specs dd {
  margin: 0;
  color: var(--diy-sk-ink);
  font-weight: 500;
}

.diy-sk-specs .diy-sk-spec-price {
  display: inline-block;
  margin-left: 6px;
  color: var(--diy-sk-muted);
  font-weight: 600;
  white-space: nowrap;
}

.diy-sk-cmp li small {
  display: block;
  color: var(--diy-sk-muted);
  font-size: 12.5px;
  margin-top: 1px;
}

.diy-sk-cmp li .w {
  color: var(--diy-sk-green-dark);
  font-weight: 600;
}

.diy-sk-cmp-in .w.flash {
  animation: diy-sk-flash 0.6s ease-out;
  border-radius: 4px;
}

@keyframes diy-sk-flash {
  from { background: #dfead3; }
  to { background: transparent; }
}

.diy-sk-cmp-out li.addable {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 0;
}

.diy-sk-cmp-in li.addable {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-right: 0;
}

.diy-sk-cmp-in li.addable .nm,
.diy-sk-cmp-out li.addable .nm {
  flex: 1;
  min-width: 0;
}

.diy-sk-cmp-in li.addable .diy-sk-sw {
  flex-shrink: 0;
  margin-top: 2px;
}

.diy-sk-cmp-out li.addable .pr {
  display: block;
  font-size: 11.5px;
  color: #999;
}

.diy-sk-cmp-out li.addable.on {
  color: var(--diy-sk-ink);
}

.diy-sk-cmp-out li.addable.on::before {
  content: "✓";
  color: var(--diy-sk-check);
}

.diy-sk-cmp-out li.addable.on .pr {
  color: var(--diy-sk-green-dark);
}

.diy-sk-cmp-out .more {
  margin-top: 7px;
}

.diy-sk-cmp-out .more + .diy-sk-cmp-sub {
  margin-top: 14px;
}

.diy-sk-cmp-sub {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

.diy-sk-sw {
  flex: none;
  position: relative;
  width: 34px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d4d4;
  cursor: pointer;
  transition: background-color 0.15s;
}

.diy-sk-sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}

.diy-sk-sw[aria-checked="true"] {
  background: var(--diy-sk-green);
}

.diy-sk-sw[aria-checked="true"]::after {
  transform: translateX(14px);
}

.diy-sk-sw:focus-visible {
  outline: 2px solid var(--diy-sk-green);
  outline-offset: 2px;
}

.diy-sk-sw:disabled,
.diy-sk-sw[aria-disabled="true"],
.diy-sk-cmp-out li.addable.is-locked .diy-sk-sw {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.diy-sk-choose {
  flex: none;
  padding: 4px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--diy-sk-ink);
  cursor: pointer;
}

.diy-sk-choose:hover {
  border-color: var(--diy-sk-green);
  color: var(--diy-sk-green-dark);
}

.diy-sk-choose[aria-expanded="true"] {
  background: var(--diy-sk-ink);
  border-color: var(--diy-sk-ink);
  color: #fff;
}

.diy-sk-choose:focus-visible {
  outline: 2px solid var(--diy-sk-green);
  outline-offset: 2px;
}

.diy-sk-cmp-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 16px;
  border-top: 1px solid var(--diy-sk-line);
  background: #fff;
}

.diy-sk-cmp-foot p {
  margin: 0;
  font-size: 13px;
  color: #444;
  flex: 1 1 260px;
}

.diy-sk-kit-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--diy-sk-green);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.diy-sk-paths {
  display: grid;
  gap: 12px;
}

.diy-sk-paths-h {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.diy-sk-path {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 12px;
}

.diy-sk-path-std {
  border: 1px solid var(--diy-sk-line);
  background: #fff;
}

.diy-sk-path-custom {
  border: 2px solid var(--diy-sk-green);
  background: var(--diy-sk-sel-bg);
}

.diy-sk-path-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.diy-sk-path-t {
  font-size: 17px;
  font-weight: 700;
}

.diy-sk-path-custom .diy-sk-path-t {
  color: var(--diy-sk-green-dark);
}

.diy-sk-path-d {
  margin: -4px 0 0;
  font-size: 13px;
  color: #555;
}

.diy-sk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.diy-sk-chips li {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--diy-sk-sel-border);
  color: var(--diy-sk-green-dark);
}

.diy-sk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.diy-sk-total {
  padding-top: 12px;
  border-top: 1px solid var(--diy-sk-line);
}

.diy-sk-total b {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.diy-sk-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--diy-sk-line);
  border-radius: 8px;
  overflow: hidden;
}

.diy-sk-stepper button {
  width: 36px;
  height: 34px;
  border: 0;
  background: #fff;
  color: #444;
  font-size: 16px;
  cursor: pointer;
}

.diy-sk-stepper button:disabled {
  color: var(--diy-sk-muted-2);
  cursor: not-allowed;
}

.diy-sk-stepper output {
  min-width: 32px;
  text-align: center;
}

.diy-sk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 9px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.diy-sk-btn-cart {
  display: inline-flex;
  gap: 10px;
  min-height: 52px;
  border: 0;
  background: var(--diy-sk-black);
  color: #fff;
  font-size: 16px;
}

.diy-sk-btn-cart:hover {
  background: #000;
}

.diy-sk-btn-cart:disabled,
.diy-sk-btn-cart[aria-busy="true"] {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

.diy-sk-btn-cart .diy-height-spinner {
  display: block;
}

.diy-sk-btn-custom {
  gap: 8px;
  min-height: 52px;
  border: 0;
  background: var(--diy-sk-green);
  color: #fff;
  font-size: 16px;
}

.diy-sk-btn-custom:hover {
  background: var(--diy-sk-green-dark);
}

.diy-sk-btn:focus-visible,
.diy-sk-stepper button:focus-visible {
  outline: 2px solid var(--diy-sk-green);
  outline-offset: 2px;
}

.diy-sk-notes {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--diy-sk-muted);
  text-align: center;
}

.diy-sk-notes p {
  margin: 0;
}

.diy-sk-notes a {
  color: inherit;
  text-decoration: underline;
}

.diy-sk-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8d6;
  border: 1px solid #ece1bd;
  font-size: 13px;
  display: none;
}

.diy-sk-msg.show {
  display: block;
}

/* Picker — match new-diy-quick-view-template.php (.picker / .pk-foot sticky) */
.diy-sk-picker {
  box-sizing: border-box;
  margin-top: 12px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 16px;
  max-width: 100%;
  min-width: 0;
}

.diy-sk-picker[hidden] {
  display: none !important;
}

.diy-sk-picker *,
.diy-sk-picker *::before,
.diy-sk-picker *::after {
  box-sizing: border-box;
}

.diy-sk-pk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
}

.diy-sk-pk-head h3 {
  margin: 0;
  font-size: 16px;
}

.diy-sk-pk-close {
  border: 0;
  background: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  padding: 4px 0;
}

.diy-sk-pk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 16px 12px;
  border-bottom: 1px solid var(--diy-sk-line);
}

.diy-sk-pk-seg {
  display: inline-flex;
  border: 1px solid var(--diy-sk-line);
  border-radius: 999px;
  overflow: hidden;
}

.diy-sk-pk-seg button {
  border: 0;
  background: #fff;
  padding: 6px 12px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
}

.diy-sk-pk-seg button + button {
  border-left: 1px solid var(--diy-sk-line);
}

.diy-sk-pk-seg button[aria-pressed="true"] {
  background: var(--diy-sk-sel-bg);
  color: var(--diy-sk-green-dark, #166534);
}

.diy-sk-pk-chk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #555;
  cursor: pointer;
}

.diy-sk-pk-chk input {
  accent-color: var(--diy-sk-green);
}

.diy-sk-pk-sort,
.diy-sk-pk-search {
  padding: 5px 8px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 8px;
  font: inherit;
  font-size: 12.5px;
  background: #fff;
}

.diy-sk-pk-search {
  flex: 1 1 220px;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.diy-sk-pk-sort {
  margin-left: auto;
}

.diy-sk-pk-count {
  padding: 8px 16px 0;
  font-size: 12px;
  color: var(--diy-sk-muted);
}

.diy-sk-pk-empty {
  margin: 0;
  padding: 16px 4px;
  font-size: 13px;
  color: var(--diy-sk-muted);
}

.diy-sk-pk-list {
  display: grid;
  gap: 6px;
  max-height: 420px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 8px 16px 16px;
  border: 0;
  min-width: 0;
}

/*
 * Accessories picker — match quick-view:
 * chips wrap fully at the top (no chip scrollbar); list shows ~6 rows.
 */
.diy-sk-picker.diy-sk-picker--acc {
  display: flex;
  flex-direction: column;
}

.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-head,
.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-bar,
.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-chips {
  flex: 0 0 auto;
}

.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-chips {
  /* Full wrap at top — same as quick-view .pk-chips (no overflow scroll) */
  max-height: none;
  overflow: visible;
  padding-bottom: 4px;
}

.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-list {
  flex: 0 0 auto;
  /* Cap at ~6 rows like quick-view; shrink to content when few products (e.g. Supplies 3) */
  min-height: 0;
  max-height: 420px;
}

.diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-foot {
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .diy-sk-picker.diy-sk-picker--acc .diy-sk-pk-list {
    max-height: min(420px, 55vh);
  }
}

.diy-sk-pk-item {
  position: relative;
  display: block;
  cursor: pointer;
  min-width: 0;
  max-width: 100%;
}

.diy-sk-pk-body {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
  max-width: 100%;
}

.diy-sk-pk-main {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.diy-sk-pk-item:hover .diy-sk-pk-body {
  border-color: var(--diy-sk-sel-border);
}

.diy-sk-pk-item.picked .diy-sk-pk-body {
  border-color: var(--diy-sk-green);
  background: var(--diy-sk-sel-bg);
  box-shadow: inset 0 0 0 1px var(--diy-sk-green);
}

.diy-sk-pk-item.oos {
  cursor: not-allowed;
}

.diy-sk-pk-item.oos .diy-sk-pk-body {
  opacity: 0.55;
}

.diy-sk-pk-tag.in-stock {
  background: #e8f5e9;
  color: #15803d;
}

.diy-sk-pk-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--diy-sk-tile);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #aaa;
}

.diy-sk-pk-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.diy-sk-pk-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.diy-sk-pk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin-top: 3px;
}

.diy-sk-pk-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--diy-sk-tile);
  color: #666;
}

.diy-sk-pk-tag.fit {
  background: var(--diy-sk-sel-bg);
  color: var(--diy-sk-green-dark, #166534);
}

.diy-sk-pk-tag.oos {
  background: #fdecea;
  color: #a33;
}

.diy-sk-pk-allin {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--diy-sk-muted);
}

.diy-sk-pk-price-val {
  display: block;
}

.diy-sk-pk-more {
  padding: 0 16px 14px;
  font-size: 12px;
  color: var(--diy-sk-muted);
  margin: 0;
}

/* Global Content WYSIWYG — Recommended Heaters note (Fits tab). */
.diy-sk-pk-note {
  padding: 10px 16px 0;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
}

.diy-sk-pk-note:empty {
  display: none;
}

.diy-sk-pk-note p {
  margin: 0 0 0.4em;
}

.diy-sk-pk-note p:last-child {
  margin-bottom: 0;
}

.diy-sk-pk-note a {
  color: var(--diy-sk-green-dark, #3f5a2e);
  text-decoration: underline;
}

.diy-sk-pk-item.picked .diy-sk-choose--added {
  border-color: var(--diy-sk-green);
  background: var(--diy-sk-sel-bg);
  color: var(--diy-sk-green-dark);
}

.diy-sk-pk-price .diy-sk-choose.is-disabled,
.diy-sk-pk-price button.diy-sk-choose:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #ddd;
  color: #999;
  background: #f5f5f5;
}

.diy-sk-pk-price {
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  white-space: normal;
  max-width: 140px;
}

.diy-sk-pk-price small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--diy-sk-muted);
}

/* Match full DIY accessory discount presentation (strike / sale / You saved) */
.diy-sk-pk-price-amt {
  display: block;
  line-height: 1.25;
}

.diy-sk-pk-price-amt .diy-pcard-price-main {
  display: block;
  white-space: nowrap;
}

.diy-sk-pk-price-amt .diy-pcard-you-saved {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  white-space: nowrap;
}

.diy-sk-pk-var {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 5px;
  padding: 4px 6px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 7px;
  font: inherit;
  font-size: 12.5px;
  background: #fff;
  /* Native <select> sizes to longest option — force it into the card. */
  text-overflow: ellipsis;
}

/* Heater parent + bundled combo products (SK “Choose heaters” design) */
.diy-sk-pk-item.diy-sk-pk-has-combo {
  cursor: default;
}

.diy-sk-pk-item.diy-sk-pk-has-combo .diy-sk-pk-body {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow: inset 1px 1px 0 0 var(--diy-sk-green), inset -1px 0 0 0 var(--diy-sk-green);
}

/*
 * Kill diy-configurator.css wrap spacing (margin-top: 12px / padding-top / border-top)
 * that leaves a gap under the selected heater row.
 */
#diy-configurator .diy-sk-picker .diy-heater-combo-wrap,
#diy-configurator .diy-sk-picker .diy-sk-heater-combo,
#diy-configurator .diy-sk-pk-item .diy-heater-combo-wrap,
#diy-configurator .diy-sk-pk-item .diy-sk-heater-combo,
#diy-configurator [id^="diy-sk-heater-combo-wrap-"] {
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 4px 10px 10px !important;
  padding-top: 4px !important;
  border: 1px solid var(--diy-sk-green) !important;
  border-top: 0 !important;
  border-radius: 0 0 10px 10px;
  background: var(--diy-sk-sel-bg);
  display: grid !important;
  gap: 6px;
  box-sizing: border-box;
  min-width: 0;
  flex-direction: unset;
}

#diy-configurator .diy-sk-pk-item .diy-heater-combo-wrap.hidden,
#diy-configurator [id^="diy-sk-heater-combo-wrap-"].hidden {
  display: none !important;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-section,
#diy-configurator .diy-sk-picker .diy-sk-combo-section {
  margin: 0;
  padding: 10px 12px !important;
  border-radius: 10px;
  border: 1px solid #d5e3cf;
  background: #fff;
  box-shadow: none;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-section-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--diy-sk-green-dark);
  line-height: 1.35;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-section-title svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--diy-sk-green);
  stroke: currentColor;
}

#diy-configurator .diy-sk-picker .diy-sk-combo-inline-hint {
  font-weight: 500;
  font-size: 12px;
  color: #6b7a5c;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-hint {
  display: none !important;
}

#diy-configurator .diy-sk-picker .diy-sk-combo-product-sep {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8efe3;
}

/*
 * SK product row (HTML puts qty under the name):
 * [thumb] Name                 ~~reg~~ +sale   [Add]
 *         [- 1 +]               You saved
 */
#diy-configurator .diy-sk-picker .diy-sk-combo-product,
#diy-configurator .diy-sk-picker .diy-heater-combo-product {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  min-width: 0;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-thumb {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid #e5ebe0;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-info {
  flex: 1;
  min-width: 0;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--diy-sk-ink);
}

#diy-configurator .diy-sk-picker .diy-heater-combo-info .diy-heater-combo-qty-wrap {
  margin-top: 6px;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
  margin-left: auto;
  flex: 0 0 auto;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-qty-wrap {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfd9c8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 30px;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-qty-dec,
#diy-configurator .diy-sk-picker .diy-heater-combo-qty-inc {
  width: 26px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #fff;
  color: #5a6b52;
  font-size: 14px;
  cursor: pointer;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-qty {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  line-height: 30px;
  border-left: 1px solid #cfd9c8;
  border-right: 1px solid #cfd9c8;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-size: 13px;
  font-weight: 700;
  color: var(--diy-sk-ink);
  line-height: 1.25;
  min-width: 0;
  white-space: nowrap;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-price-main {
  display: block;
  white-space: nowrap;
  text-align: right;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-you-saved {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  white-space: nowrap;
  text-align: right;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-unit-note {
  display: none;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-add-btn {
  border-radius: 999px !important;
  min-width: 64px;
  min-height: 32px;
  font-size: 12.5px !important;
  font-weight: 600;
  padding: 5px 14px !important;
  border: 1px solid #cfcfcf !important;
  background: #fff;
  color: var(--diy-sk-ink);
  flex-shrink: 0;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-add-btn.border-green-700,
#diy-configurator .diy-sk-picker .diy-heater-combo-add-btn.bg-green-700 {
  border-color: var(--diy-sk-green) !important;
  background: var(--diy-sk-green) !important;
  color: #fff !important;
}

#diy-configurator .diy-sk-picker .diy-heater-combo-var-select {
  margin-top: 4px;
  max-width: 100%;
}

@media (max-width: 640px) {
  #diy-configurator .diy-sk-picker .diy-heater-combo-wrap,
  #diy-configurator .diy-sk-pk-item .diy-heater-combo-wrap,
  #diy-configurator [id^="diy-sk-heater-combo-wrap-"] {
    padding: 4px 8px 8px !important;
  }

  #diy-configurator .diy-sk-picker .diy-sk-combo-product,
  #diy-configurator .diy-sk-picker .diy-heater-combo-product {
    flex-wrap: wrap;
  }

  #diy-configurator .diy-sk-picker .diy-heater-combo-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    padding-left: 50px;
  }
}

.diy-sk-pk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px 0;
}

.diy-sk-pk-chips button {
  padding: 5px 11px;
  border: 1px solid var(--diy-sk-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
}

.diy-sk-pk-chips button[aria-pressed="true"] {
  border-color: var(--diy-sk-green);
  background: var(--diy-sk-sel-bg);
  color: var(--diy-sk-green-dark);
}

.diy-sk-qty-mini {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  border: 1px solid var(--diy-sk-green);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.diy-sk-qty-mini button {
  width: 26px;
  height: 24px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--diy-sk-green-dark);
  cursor: pointer;
}

.diy-sk-qty-mini output {
  min-width: 18px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

/* Same sticky Done bar as quick-view .pk-foot */
.diy-sk-pk-foot {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--diy-sk-line);
  background: #fff;
  border-radius: 0 0 12px 12px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 -6px 14px rgba(0, 0, 0, 0.06);
}

.diy-sk-pk-done {
  width: auto;
  min-height: 40px;
  padding: 8px 22px;
  font-size: 14px;
}

.diy-sk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .diy-sk-qc {
    grid-template-columns: minmax(0, 1fr);
  }

  .diy-sk-paths {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .diy-sk-qc {
    --gap: 16px;
  }

  .diy-sk-paths {
    max-width: none;
  }

  .diy-sk-pill span {
    min-height: 44px;
  }

  .diy-sk-cmp {
    grid-template-columns: 1fr;
  }

  .diy-sk-cmp-in {
    border-right: 0;
    border-bottom: 1px solid var(--diy-sk-line);
  }

  .diy-sk-pk-sort {
    margin-left: 0;
  }

  .diy-sk-pk-body {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .diy-sk-pk-price {
    grid-column: 2;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .diy-sk-cmp-in .w.flash {
    animation: none;
  }
}
