/* ==========================================================================
   Product page redesign ("pdp2") — catalog/product-redesign.tpl
   Mobile first (84% of traffic). Report: pdp-redesign/Persimmon Soap PDP
   Redesign.html. Shop tokens (blue/green, Albert Sans) + a per-product accent
   (--pdp2-accent, set inline from PdpRedesignConfig; default = shop blue).
   Everything is scoped under .pdp2 or body.pdp2-page.
   ========================================================================== */

.pdp2 {
  --pdp2-blue: #1f62ff;
  --pdp2-blue-hover: #0f4fe6;
  --pdp2-blue-soft: #f3f6ff;
  --pdp2-green: #00865a;
  --pdp2-green-bar: #00b67a;
  --pdp2-green-soft: #e3f7ef;
  --pdp2-fg: #182139;
  --pdp2-muted: #5b6478;
  --pdp2-line: #e6eaf2;
  --pdp2-soft: #f4f6fb;
  --pdp2-white: #ffffff;
  --pdp2-accent: var(--pdp2-blue);
  --pdp2-accent-soft: #eef2ff;
  --pdp2-radius: 12px;
  --pdp2-font: 'Albert Sans', 'Segoe UI', Arial, sans-serif;

  color: var(--pdp2-fg);
  font-family: var(--pdp2-font);
  font-size: 15px;
  line-height: 1.5;
}

@supports (background: color-mix(in srgb, red 10%, white)) {
  .pdp2 {
    --pdp2-accent-soft: color-mix(in srgb, var(--pdp2-accent) 12%, white);
  }
}

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

.pdp2 button,
.pdp2 input {
  font-family: inherit;
}

.pdp2 :focus-visible {
  outline: 2px solid var(--pdp2-blue);
  outline-offset: 2px;
}

.pdp2 .pdp2-h2 {
  margin: 0 0 14px;
  color: var(--pdp2-fg);
  font-family: var(--pdp2-font);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
}

/* ── Problem 6 / 1: one delivery line — the header's second bar repeats
      (and contradicts) the top banner on this page ── */
body.pdp2-page .header-bar {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-gallery__stage {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--pdp2-white) 0%, var(--pdp2-accent-soft) 100%);
}

.pdp2-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.pdp2-gallery__track::-webkit-scrollbar {
  display: none;
}

.pdp2-gallery__slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  aspect-ratio: 1 / 1;
}

.pdp2-gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
    filter: brightness(1.04);
    mix-blend-mode: multiply;
}

.pdp2-gallery__tags {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.pdp2-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--pdp2-fg);
  color: var(--pdp2-white);
  font-size: 12px;
  font-weight: 700;
}

.pdp2-tag--save {
  margin-left: auto;
  background: var(--pdp2-green-bar);
}

.pdp2-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.pdp2-gallery__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(24, 33, 57, 0.25);
  transition: width 0.2s, background-color 0.2s;
}

.pdp2-gallery__dots i.is-active {
  width: 18px;
  border-radius: 4px;
  background: var(--pdp2-fg);
}

.pdp2-gallery__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.pdp2-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.pdp2-gallery__thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--pdp2-soft);
  cursor: pointer;
  transition: border-color 0.15s;
}

.pdp2-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp2-gallery__thumb.is-active {
  border-color: var(--pdp2-accent);
}

.pdp2-gallery__more {
  display: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   BUY COLUMN
   Rhythm: 24px between groups, 8–12px inside a group; one action colour
   (shop blue) for selection, button and focus; green only for savings.
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-buy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 20px;
}

.pdp2-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.pdp2-brand {
  color: var(--pdp2-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pdp2-brand:hover {
  text-decoration: underline;
}

.pdp2 .pdp2-title {
  margin: 0;
  padding: 0;
  background: none;
  color: var(--pdp2-fg);
  font-family: var(--pdp2-font);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  text-transform: none;
}

.pdp2-rating:empty {
  display: none;
}

.pdp2-rating .mprc-rating-summary-wrap {
  margin: 0;
}

.pdp2-pricebox {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pdp2-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}

.pdp2-price__now {
  color: var(--pdp2-fg);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.pdp2-price__old {
  color: var(--pdp2-muted);
  font-size: 15px;
}

.pdp2-price__pct {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--pdp2-green-soft);
  color: var(--pdp2-green);
  font-size: 12px;
  font-weight: 700;
}

.pdp2-price__meta {
  color: var(--pdp2-muted);
  font-size: 12px;
}

.pdp2-price__meta:empty {
  display: none;
}

/* benefit check list (problem 1: what it does, at a glance) */
.pdp2-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdp2-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pdp2-fg);
  font-size: 15px;
  line-height: 1.35;
}

.pdp2-chip__icon {
  flex: 0 0 20px;
  color: var(--pdp2-green);
}

.pdp2 .brand-promo {
  margin: 0;
}

/* --- buy form --- */
.pdp2-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}

/* --- pack selector (problem 2): one column of radio cards --- */
.pdp2-packs {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pdp2-packs__title {
  float: none;
  width: auto;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  color: var(--pdp2-fg);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.pdp2-packs__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp2-pack {
  position: relative;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  min-height: 64px;
  margin: 0;
  padding: 12px 18px;
  border: 1.5px solid var(--pdp2-line);
  border-radius: 16px;
  background: var(--pdp2-white);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.pdp2-pack.has-flag {
  margin-top: 8px;
}

.pdp2-pack:hover {
  border-color: #c5cddc;
}

.pdp2-pack__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.pdp2-pack:focus-within {
  outline: 2px solid var(--pdp2-blue);
  outline-offset: 2px;
}

.pdp2-pack__radio {
  width: 22px;
  height: 22px;
  border: 1.5px solid #aab2c3;
  border-radius: 50%;
  background: var(--pdp2-white);
  transition: border-width 0.15s, border-color 0.15s;
}

.pdp2-pack.is-selected {
  border-color: var(--pdp2-blue);
  background: var(--pdp2-blue-soft);
  box-shadow: 0 6px 18px -12px rgba(31, 98, 255, 0.55);
}

.pdp2-pack.is-selected .pdp2-pack__radio {
  border: 6px solid var(--pdp2-blue);
}

.pdp2-pack.is-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pdp2-pack__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pdp2-pack__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}

.pdp2-pack__name {
  color: var(--pdp2-fg);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.pdp2-pack__save {
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--pdp2-green-soft);
  color: var(--pdp2-green);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.pdp2-pack__unit {
  color: var(--pdp2-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.pdp2-pack__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pdp2-pack__price s {
  color: var(--pdp2-muted);
  font-size: 12.5px;
}

.pdp2-pack__price b {
  color: var(--pdp2-fg);
  font-size: 17px;
  font-weight: 800;
}

/* sits on the card's top border, like a tab */
.pdp2-pack__flag {
  position: absolute;
  top: 0;
  left: 52px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--pdp2-fg);
  color: var(--pdp2-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  transform: translateY(-50%);
}

/* selected card only: one quiet line with the pack's pitch + saving */
.pdp2-pack__note {
  display: none;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 12px -18px 0;
  padding: 10px 18px 0;
  border-top: 1px solid rgba(31, 98, 255, 0.16);
  color: var(--pdp2-muted);
  font-size: 13px;
}

.pdp2-pack.is-selected .pdp2-pack__note {
  display: flex;
}

.pdp2-pack__note-save {
  color: var(--pdp2-green);
  font-weight: 700;
}

/* --- stock line --- */
.pdp2-stock {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  color: var(--pdp2-fg);
  font-size: 14px;
}

.pdp2-stock[hidden] {
  display: none;
}

.pdp2-stock i {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pdp2-green-bar);
  box-shadow: 0 0 0 4px var(--pdp2-green-soft);
}

.pdp2-stock.is-low i {
  background: #f0a400;
  box-shadow: 0 0 0 4px #fff4d6;
}

/* --- quantity + button (problem 5: 44px+ targets) --- */
.pdp2-cta-row {
  display: flex;
  gap: 10px;
}

.pdp2-qty {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  height: 54px;
  padding: 4px;
  border: 1.5px solid var(--pdp2-line);
  border-radius: 999px;
  background: var(--pdp2-white);
}

.pdp2-qty__btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--pdp2-soft);
  color: var(--pdp2-fg);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s;
}

.pdp2-qty__btn:hover {
  background: var(--pdp2-line);
}

.pdp2-qty__btn--plus {
  background: var(--pdp2-fg);
  color: var(--pdp2-white);
}

.pdp2-qty__btn--plus:hover {
  background: #2b3756;
}

.pdp2-qty__input {
  width: 34px;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pdp2-fg);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.pdp2-qty__input::-webkit-outer-spin-button,
.pdp2-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp2-cta {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--pdp2-blue);
  color: var(--pdp2-white);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 10px 22px -14px rgba(31, 98, 255, 0.9);
  transition: background-color 0.15s, transform 0.15s;
}

.pdp2-cta:hover {
  background: var(--pdp2-blue-hover);
}

.pdp2-cta:active {
  transform: translateY(1px);
}

.pdp2-cta[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdp2-unavailable {
  margin: 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--pdp2-soft);
  color: var(--pdp2-muted);
  font-weight: 600;
}

/* --- free delivery meter (problem 6) --- */
.pdp2-ship {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--pdp2-fg);
  font-size: 14px;
}

.pdp2-ship__text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp2-ship__icon {
  flex: 0 0 20px;
  color: var(--pdp2-muted);
}

.pdp2-ship.is-free .pdp2-ship__text {
  color: var(--pdp2-green);
  font-weight: 700;
}

.pdp2-ship.is-free .pdp2-ship__icon {
  color: var(--pdp2-green);
}

.pdp2-ship__track {
  display: block;
  height: 4px;
  margin-left: 30px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--pdp2-line);
}

.pdp2-ship__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 4px;
  background: var(--pdp2-green-bar);
  transition: width 0.3s ease;
}

.pdp2-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 12px 0;
  border: 1px solid var(--pdp2-line);
  border-radius: 16px;
  list-style: none;
  color: var(--pdp2-muted);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.pdp2-trust li {
  padding: 0 6px;
}

.pdp2-trust li + li {
  border-left: 1px solid var(--pdp2-line);
}

.pdp2-trust b {
  display: block;
  color: var(--pdp2-fg);
  font-size: 15px;
}

.pdp2 .product-additional-info:empty,
.pdp2-reassurance:empty {
  display: none;
}

.pdp2-gifts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp2-gifts__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.pdp2-gifts__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  align-items: center;
  padding: 8px 16px;
  border: 1.5px solid var(--pdp2-line);
  border-radius: 14px;
  color: var(--pdp2-fg);
  font-size: 14px;
  text-decoration: none;
}

/* --- accordions (problem 3) --- */
.pdp2-accs {
  border-top: 1px solid var(--pdp2-line);
}

.pdp2-accs:empty {
  display: none;
}

.pdp2-acc {
  border-bottom: 1px solid var(--pdp2-line);
}

.pdp2-acc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--pdp2-fg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.pdp2-acc summary::-webkit-details-marker {
  display: none;
}

/* chevron */
.pdp2-acc summary::after {
  content: '';
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 1.75px solid var(--pdp2-fg);
  border-bottom: 1.75px solid var(--pdp2-fg);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.pdp2-acc[open] > summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.pdp2-acc__body {
  padding: 0 0 18px;
  color: var(--pdp2-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.pdp2-acc__body p {
  margin: 0 0 8px;
}

.pdp2-rich h2,
.pdp2-rich h3,
.pdp2-rich h4 {
  margin: 18px 0 8px;
  color: var(--pdp2-fg);
  font-family: var(--pdp2-font);
  font-size: 17px;
  font-weight: 700;
  text-transform: none;
}

.pdp2-rich img,
.pdp2-rich iframe {
  max-width: 100%;
  height: auto;
}

.pdp2-rich ul {
  padding-left: 1.2em;
}

.pdp2-lead {
  margin-bottom: 12px;
  color: var(--pdp2-fg);
  font-size: 16px;
}

/* ══════════════════════════════════════════════════════════════════════════
   DESCRIPTION — full-width section under gallery + buy column
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-desc {
  display: grid;
  gap: 28px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--pdp2-line);
}

.pdp2 .pdp2-h3 {
  margin: 0 0 12px;
  color: var(--pdp2-fg);
  font-family: var(--pdp2-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: none;
}

.pdp2-desc__body {
  color: #3b4459;
  font-size: 15.5px;
  line-height: 1.7;
}

.pdp2-desc__body p {
  margin: 0 0 12px;
}

.pdp2-desc__aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pdp2-desc__aside .pdp2-acc:first-child {
  border-top: 1px solid var(--pdp2-line);
}

.pdp2-specs-card {
  padding: 20px;
  border-radius: 16px;
  background: var(--pdp2-soft);
}

.pdp2-specs {
  margin: 0;
}

.pdp2-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--pdp2-line);
  font-size: 14px;
}

.pdp2-specs__row:first-child {
  border-top: 0;
  padding-top: 0;
}

.pdp2-specs dt {
  color: var(--pdp2-muted);
  font-weight: 500;
}

.pdp2-specs dd {
  margin: 0;
  color: var(--pdp2-fg);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════════
   WHY + STEPS BAND (problem 3)
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-band {
  display: grid;
  gap: 28px;
  margin-top: 32px;
  padding: 24px 16px;
  border-radius: 16px;
  background: var(--pdp2-soft);
}

.pdp2-why__list,
.pdp2-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdp2-why__list {
  display: grid;
  gap: 14px;
}

.pdp2-why__list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pdp2-why__num {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--pdp2-accent-soft);
  color: var(--pdp2-accent);
  font-weight: 800;
}

.pdp2-why__list p {
  margin: 0;
}

.pdp2-why__list b {
  display: block;
  font-size: 15px;
}

.pdp2-why__list span {
  color: var(--pdp2-muted);
  font-size: 14px;
}

.pdp2-steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.pdp2-steps__list li {
  padding: 12px 8px;
  border-radius: var(--pdp2-radius);
  background: var(--pdp2-white);
  color: var(--pdp2-muted);
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
}

.pdp2-steps__list em {
  display: block;
  color: var(--pdp2-accent);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}

.pdp2-steps__list b {
  display: block;
  margin-bottom: 2px;
  color: var(--pdp2-fg);
  font-size: 13.5px;
}

/* ══════════════════════════════════════════════════════════════════════════
   REVIEWS, FAQ, PAIRING (problems 4, 5)
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-reviews {
  margin-top: 32px;
}

.pdp2-reviews:empty {
  display: none;
}

.pdp2-bottom {
  display: grid;
  gap: 28px;
  margin: 32px 0 24px;
}

.pdp2-faq .pdp2-acc:first-of-type {
  border-top: 1px solid var(--pdp2-line);
}

.pdp2-pair__card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: var(--pdp2-soft);
}

.pdp2-pair__media {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--pdp2-white);
  aspect-ratio: 1;
}

.pdp2-pair__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp2-pair__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pdp2-pair__name {
  color: var(--pdp2-fg);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.pdp2-pair__price {
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pdp2-pair__price s {
  color: var(--pdp2-muted);
  font-weight: 400;
}

.pdp2-pair__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--pdp2-fg);
  color: var(--pdp2-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.pdp2-pair__btn--ghost {
  border: 1.5px solid var(--pdp2-line);
  background: var(--pdp2-white);
  color: var(--pdp2-fg);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE STICKY BUY BAR (problem 1)
   ══════════════════════════════════════════════════════════════════════════ */
.pdp2-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--pdp2-line);
  background: var(--pdp2-white);
  box-shadow: 0 -8px 18px -12px rgba(16, 24, 48, 0.35);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.pdp2-sticky.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.25s ease, visibility 0s;
}

.pdp2-sticky__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--pdp2-muted);
  font-size: 12px;
  line-height: 1.25;
}

.pdp2-sticky__info b {
  color: var(--pdp2-fg);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.pdp2-sticky__btn {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--pdp2-radius);
  background: var(--pdp2-blue);
  color: var(--pdp2-white);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

body.pdp2-page.pdp2-sticky-on {
  padding-bottom: 76px;
}

/* ── Problem 5: compact cookie bar on this page ── */
@media (max-width: 599px) {
  /* narrow phones: tighter stepper (buttons stay 44px) so the label keeps room */
  .pdp2-qty {
    padding: 3px;
  }

  .pdp2-qty__input {
    width: 28px;
  }

  .pdp2-cta {
    padding: 0 14px;
    font-size: 15px;
  }

  body.pdp2-page #stcm-banner {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    max-width: none;
    padding: 12px 14px;
  }

  body.pdp2-page #stcm-banner p {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body.pdp2-page #stcm-banner .stcm-actions {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 6px;
  }

  body.pdp2-page #stcm-banner .stcm-actions .stcm-button {
    flex: 1 1 auto;
    width: auto;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 13px;
  }

  body.pdp2-page #stcm-banner .stcm-actions-row {
    flex: 0 0 auto;
    width: auto;
  }

  body.pdp2-page #stcm-banner .stcm-preferences-button {
    padding: 8px 4px;
    font-size: 13px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   TABLET / DESKTOP
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .pdp2 .pdp2-title {
    font-size: 28px;
  }

  .pdp2-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    padding: 28px 32px;
  }

  .pdp2-bottom {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
  }
}

@media (min-width: 992px) {
  /* gallery and buy column share the container; description spans it below */
  .pdp2-main,
  .pdp2-desc {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: 48px;
    align-items: start;
  }

  .pdp2-main {
    padding-top: 12px;
  }

  .pdp2-desc {
    margin-top: 64px;
    padding-top: 48px;
  }

  .pdp2-desc--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdp2-desc--solo .pdp2-desc__main {
        max-width: 1024px;
        margin: 0 auto;
  }

  .pdp2 .pdp2-desc .pdp2-h2 {
    font-size: 26px;
  }

  /* big first photo, the rest in a 2-column grid (no thumbnail rail) */
  .pdp2-gallery__track {
    overflow: hidden;
  }

  .pdp2-gallery__thumbs,
  .pdp2-gallery__dots {
    display: none;
  }

  .pdp2-gallery__stage {
    border-radius: 20px;
  }

  .pdp2-gallery__more {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
  }

  .pdp2-gallery__more img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: var(--pdp2-soft);
    aspect-ratio: 1;
    object-fit: contain;
  }

  .pdp2-buy {
    padding-top: 0;
  }

  /* sticky only while the column fits the viewport (class set by JS) */
  .pdp2-buy.is-sticky {
    position: sticky;
    top: 16px;
  }

  .pdp2 .pdp2-title {
    font-size: 32px;
  }

  .pdp2-sticky {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdp2 *,
  .pdp2-sticky {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
