/* COSMOSKIN PDP — production editorial commerce system
   Shared desktop/tablet presentation and the dedicated mobile PDP surface.
   Product facts remain sourced from products.json and product-guides.json. */

:root {
  --pdp-surface-primary: #fffdf9;
  --pdp-surface-secondary: #f8f0e7;
  --pdp-surface-elevated: #ffffff;
  --pdp-surface-warm: #f3e7da;
  --pdp-text-primary: #1a1510;
  --pdp-text-secondary: #5f554c;
  --pdp-text-muted: #7d7167;
  --pdp-border-subtle: rgba(26, 21, 16, .10);
  --pdp-border-strong: rgba(26, 21, 16, .22);
  --pdp-action-primary: #1a1510;
  --pdp-action-primary-hover: #352a21;
  --pdp-status-success: #2f7652;
  --pdp-status-warning: #9b651f;
  --pdp-status-error: #8d4437;
  --pdp-focus-ring: #946b32;
  --pdp-sticky-surface: rgba(255, 253, 249, .96);
  --pdp-overlay-surface: rgba(18, 14, 10, .78);
  --pdp-serif: "Cormorant Garamond", Georgia, serif;
  --pdp-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --pdp-container: min(1360px, calc(100vw - 56px));
  --pdp-section-gap: clamp(72px, 8vw, 124px);
  --pdp-radius-sm: 12px;
  --pdp-radius-md: 20px;
  --pdp-radius-lg: 30px;
  --pdp-shadow-soft: 0 20px 56px rgba(30, 21, 14, .07);
  --pdp-header-offset: 164px;
}

.pdp-skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 10000;
  padding: 12px 16px;
  color: #fff;
  background: var(--pdp-action-primary);
  border-radius: var(--pdp-radius-sm);
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.pdp-skip-link:focus {
  transform: translateY(0);
}

.pdp-master-lightbox[hidden],
#accountModal[hidden],
#cookiePreferences[hidden],
#legalModal[hidden] {
  display: none !important;
}

.pdp5-page {
  color: var(--pdp-text-primary);
  background:
    radial-gradient(circle at 6% 4%, rgba(181, 138, 74, .06), transparent 25%),
    var(--pdp-surface-primary);
  font-family: var(--pdp-sans);
  overflow: clip;
}

.pdp5-page > .container {
  width: var(--pdp-container);
  max-width: none;
  margin-inline: auto;
}

.pdp5-crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 64px;
  margin: 0;
  color: var(--pdp-text-muted);
  font-size: 13px;
}

.pdp5-crumb a {
  color: inherit;
  text-underline-offset: 4px;
}

.pdp5-crumb a:hover {
  color: var(--pdp-text-primary);
}

.pdp5-hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(390px, 5fr);
  gap: clamp(36px, 5vw, 82px);
  align-items: start;
  min-height: min(790px, calc(100svh - 190px));
  padding-block: 24px clamp(64px, 7vw, 104px);
}

.pdp5-gallery {
  min-width: 0;
}

.pdp5-media-card {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .93;
  min-height: 560px;
  padding: clamp(36px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.98) 0 24%, rgba(255,255,255,.4) 45%, transparent 68%),
    linear-gradient(135deg, #efe1d1, #fbf6f0 52%, #ead7c4);
  border: 1px solid rgba(26, 21, 16, .07);
  border-radius: var(--pdp-radius-lg);
}

.pdp5-media-card::after {
  content: "";
  position: absolute;
  inset-inline: 18%;
  inset-block-end: 5%;
  height: 12%;
  z-index: -1;
  background: rgba(59, 39, 23, .13);
  filter: blur(34px);
  border-radius: 50%;
}

.pdp5-main-image {
  width: min(88%, 650px);
  height: min(68vh, 620px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 28px 25px rgba(53, 35, 20, .16));
  transform: scale(1.08);
  transition: opacity .18s ease, transform .22s ease;
}

.pdp5-main-image.is-switching {
  opacity: .25;
  transform: scale(1.04);
}

.pdp5-media-badge {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-start: 22px;
  z-index: 4;
  padding: 8px 12px;
  color: #725638;
  background: rgba(255, 253, 249, .82);
  border: 1px solid rgba(114, 86, 56, .15);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.pdp5-media-thumbs {
  display: flex;
  gap: 12px;
  margin-block-start: 14px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.pdp5-media-thumbs[hidden] {
  display: none;
}

.pdp5-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--pdp-surface-secondary);
  cursor: pointer;
}

.pdp5-thumb.is-active {
  border-color: rgba(26, 21, 16, .72);
  background: var(--pdp-surface-primary);
  box-shadow: inset 0 0 0 1px rgba(26, 21, 16, .72);
}

.pdp5-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 1025px) {
  .pdp5-gallery {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: start;
    gap: 14px;
  }

  .pdp5-gallery > .pdp5-media-card {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
  }

  .pdp5-gallery > .pdp5-media-thumbs {
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-height: min(68vh, 620px);
    margin: 0;
    padding: 0 2px 8px 0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .pdp5-gallery > .pdp5-media-thumbs .pdp5-thumb {
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    border-color: rgba(26, 21, 16, .08);
    border-radius: 14px;
    background: rgba(255, 253, 249, .68);
    box-shadow: 0 8px 22px rgba(26, 21, 16, .035);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
  }

  .pdp5-gallery > .pdp5-media-thumbs .pdp5-thumb:hover {
    border-color: rgba(26, 21, 16, .34);
    background: var(--pdp-surface-primary);
    box-shadow: 0 12px 26px rgba(26, 21, 16, .07);
    transform: translateX(2px);
  }

  .pdp5-gallery > .pdp5-media-thumbs .pdp5-thumb.is-active {
    border-color: var(--pdp-text-primary);
    background: var(--pdp-surface-primary);
    box-shadow: inset 0 0 0 1px var(--pdp-text-primary), 0 12px 26px rgba(26, 21, 16, .07);
    transform: none;
  }
}

.pdp8-gallery-arrow,
.pdp-master-zoom {
  position: absolute;
  z-index: 4;
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(26, 21, 16, .08);
  color: var(--pdp-text-primary);
  background: rgba(255, 253, 249, .72);
  box-shadow: 0 7px 18px rgba(26, 21, 16, .045);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.pdp8-gallery-arrow {
  inset-block-start: 50%;
  border-radius: 50%;
  transform: translateY(-50%);
}

.pdp8-gallery-arrow--prev { inset-inline-start: 20px; }
.pdp8-gallery-arrow--next { inset-inline-end: 20px; }

.pdp8-gallery-arrow:hover {
  border-color: rgba(26, 21, 16, .18);
  background: rgba(255, 253, 249, .96);
}

.pdp8-gallery-favorite {
  position: absolute !important;
  inset-block-start: 20px;
  inset-inline-end: 20px;
  z-index: 6;
  display: inline-grid !important;
  place-items: center;
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  border: 1px solid rgba(26, 21, 16, .1) !important;
  border-radius: 50% !important;
  background: rgba(255, 253, 249, .88) !important;
  box-shadow: 0 8px 22px rgba(26, 21, 16, .06);
  backdrop-filter: blur(12px);
}

.pdp8-gallery-arrow svg,
.pdp-master-zoom svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.pdp-master-zoom {
  inset-inline-end: 22px;
  inset-block-end: 22px;
  grid-auto-flow: column;
  gap: 8px;
  padding-inline: 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.pdp8-gallery-count {
  position: absolute;
  inset-inline-start: 22px;
  inset-block-end: 22px;
  z-index: 3;
  padding: 8px 11px;
  color: var(--pdp-text-secondary);
  background: rgba(255, 253, 249, .82);
  border-radius: 999px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.pdp5-info {
  position: sticky;
  inset-block-start: 146px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding-block-start: 12px;
}

.pdp5-brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  min-height: 46px;
  color: var(--pdp-text-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pdp5-brand-lockup img {
  width: auto;
  height: 32px;
  max-width: 180px;
  object-fit: contain;
}

.pdp5-brand-lockup span {
  display: none;
}

.pdp5-brand-lockup[data-brand-key="beauty-of-joseon"] img,
.pdp5-brand-lockup[data-brand-key="anua"] img,
.pdp5-brand-lockup[data-brand-key="skin1004"] img,
.pdp5-brand-lockup[data-brand-key="torriden"] img {
  height: 52px;
  max-width: 132px;
}

.pdp5-brand-lockup[data-brand-key="round-lab"] img,
.pdp5-brand-lockup[data-brand-key="cosrx"] img {
  height: 30px;
  max-width: 182px;
}

.pdp5-info h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--pdp-text-primary);
  font-family: var(--pdp-sans);
  font-size: clamp(38px, 3.45vw, 52px);
  font-weight: 590;
  line-height: 1.03;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.pdp5-description {
  max-width: 60ch;
  margin: 0;
  color: var(--pdp-text-secondary);
  font-size: 16px;
  line-height: 1.72;
}

.pdp5-rating-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  color: var(--pdp-text-secondary);
  font-size: 13px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(26, 21, 16, .24);
  text-underline-offset: 5px;
}

.pdp5-stars {
  display: inline-flex;
  gap: 3px;
  color: #a87838;
}

#pdp5RatingMicro {
  min-height: auto;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.pdp5-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.pdp5-pill {
  padding: 7px 10px;
  color: var(--pdp-text-secondary);
  background: var(--pdp-surface-secondary);
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.pdp8-fit-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding-block: 16px;
  border-block: 1px solid var(--pdp-border-subtle);
}

.pdp8-fit-teaser strong,
.pdp8-fit-teaser span {
  display: block;
}

.pdp8-fit-teaser strong {
  margin-block-end: 4px;
  font-size: 14px;
}

.pdp8-fit-teaser span {
  color: var(--pdp-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.pdp8-fit-teaser button,
.pdp8-fit-teaser a {
  min-height: 44px;
  padding-inline: 14px;
  border: 0;
  border-radius: 999px;
  color: var(--pdp-text-primary);
  background: var(--pdp-surface-secondary);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.pdp5-purchase-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2vw, 28px);
  background: var(--pdp-surface-elevated);
  border: 1px solid rgba(26, 21, 16, .07);
  border-radius: var(--pdp-radius-md);
  box-shadow: var(--pdp-shadow-soft);
}

.pdp5-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.pdp5-price {
  display: block;
  color: var(--pdp-text-primary) !important;
  font-family: var(--pdp-sans) !important;
  font-size: clamp(34px, 3.1vw, 44px) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

.pdp5-vat {
  display: block;
  margin-block-start: 7px;
  color: var(--pdp-text-muted);
  font-size: 12px;
}

.pdp5-stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 180px;
  padding: 7px 10px;
  color: var(--pdp-status-success);
  background: #edf5f0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
  text-align: center;
}

.pdp5-stock::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 50%;
}

.pdp5-stock.is-low { color: var(--pdp-status-warning); background: #f8f0e1; }
.pdp5-stock.is-out { color: var(--pdp-status-error); background: #f8ece9; }
.pdp5-stock.is-error { color: var(--pdp-text-muted); background: var(--pdp-surface-secondary); }

.pdp-volume-selector {
  display: grid;
  gap: 10px;
  padding-block: 13px;
  border-block: 1px solid var(--pdp-border-subtle);
}

.pdp-volume-selector__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.pdp-volume-selector__head > span {
  color: var(--pdp-text-primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pdp-volume-selector__head > strong {
  color: var(--pdp-text-secondary);
  font-size: 11px;
  font-weight: 650;
}

.pdp-volume-selector__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdp-volume-option {
  position: relative;
  min-width: 116px;
  min-height: 52px;
  display: inline-grid;
  align-content: center;
  gap: 3px;
  padding: 8px 28px 8px 13px;
  color: var(--pdp-text-primary);
  background: var(--pdp-surface-primary);
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 10px;
  font-family: var(--pdp-sans);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pdp-volume-option strong,
.pdp-volume-option small {
  display: block;
}

.pdp-volume-option strong {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.pdp-volume-option small {
  color: var(--pdp-text-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pdp-volume-option:hover {
  border-color: var(--pdp-border-strong);
  background: #fffcf7;
}

.pdp-volume-option.is-selected {
  border-color: var(--pdp-text-primary);
  background: #fffaf2;
  box-shadow: inset 0 0 0 1px var(--pdp-text-primary);
  cursor: default;
}

.pdp-volume-option.is-selected::after {
  content: "";
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 7px;
  height: 7px;
  background: var(--pdp-text-primary);
  border: 2px solid #fffaf2;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--pdp-text-primary);
}

.pdp-volume-option.is-selected small {
  color: #8a653b;
}

.pdp-volume-option.is-unavailable {
  color: var(--pdp-text-muted);
  background: var(--pdp-surface-secondary);
  cursor: not-allowed;
  opacity: .7;
}

.pdp-volume-option.is-planned {
  color: var(--pdp-text-secondary);
  background: linear-gradient(145deg, #fffdf9, #f7f1e8);
  border-style: dashed;
  opacity: 1;
}

.pdp-volume-option.is-planned small {
  color: #8a653b;
}

.pdp-quantity-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px !important;
  padding-block: 0 !important;
}

.pdp-quantity-control__copy strong,
.pdp-quantity-control__copy span {
  display: block;
}

.pdp-quantity-control__copy strong { font-size: 13px; }
.pdp-quantity-control__copy span { margin-block-start: 3px; color: var(--pdp-text-muted); font-size: 11px; }

.pdp-quantity-stepper {
  display: grid;
  grid-template-columns: 44px 42px 44px;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 999px;
}

.pdp-quantity-stepper button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--pdp-text-primary);
  background: transparent;
  font-size: 19px;
  cursor: pointer;
}

.pdp-quantity-stepper output {
  text-align: center;
  font-size: 13px;
  font-weight: 750;
}

.pdp5-page .pdp5-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  gap: 9px;
  align-items: stretch;
  margin-block-start: 0 !important;
}

@media (min-width: 769px) {
  .pdp5-purchase-card > .pdp5-price-row { order: 1; }
  .pdp5-purchase-card > .pdp-volume-selector { order: 2; }
  .pdp5-purchase-card > .pdp5-actions { order: 3; }
  .pdp5-purchase-card > .pdp-quantity-control { order: 4; }
  .pdp5-purchase-card > .pdp8-club-points { order: 5; }
  .pdp5-purchase-card > .pdp5-delivery-grid { order: 6; }
}

.pdp5-actions .btn[data-add-cart] {
  grid-column: 1 / -1;
  min-height: 56px;
  border-radius: 999px;
  color: #fff;
  background: var(--pdp-action-primary);
  box-shadow: 0 12px 26px rgba(26, 21, 16, .14);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .04em;
}

.pdp5-actions .btn[data-add-cart]:hover {
  background: var(--pdp-action-primary-hover);
}

.pdp5-actions .btn[data-buy-now],
.pdp5-page .pdp5-actions .phase6-compare-pdp {
  grid-column: 1;
  min-height: 44px !important;
  padding: 0 10px;
  color: var(--pdp-text-secondary);
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pdp5-actions .btn[data-buy-now] {
  display: none;
}

.pdp5-actions .pdp5-favorite {
  position: static;
  grid-column: 2;
  width: 48px;
  min-width: 48px;
  height: 48px;
  align-self: center;
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 50%;
  background: var(--pdp-surface-primary);
}

.cs-stock-line {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 13px;
  color: var(--pdp-text-secondary);
  background: var(--pdp-surface-secondary);
  border-radius: var(--pdp-radius-sm);
  font-size: 12px;
  line-height: 1.5;
}

.cs-stock-line:empty { display: none; }

.cs-stock-line button,
.pdp-stock-section-message button {
  flex: 0 0 auto;
  min-height: 36px;
  padding-inline: 12px;
  border: 1px solid var(--pdp-border-strong);
  border-radius: 999px;
  color: var(--pdp-text-primary);
  background: var(--pdp-surface-primary);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.pdp8-club-points {
  order: 4;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--pdp-border-subtle);
}

.pdp8-club-points__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.pdp8-club-points__head span { color: var(--pdp-text-muted); }
.pdp8-club-points__head strong { text-align: end; }

.pdp8-club-disclosure {
  margin-block-start: 10px;
}

.pdp8-club-disclosure summary {
  width: max-content;
  color: var(--pdp-text-secondary);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.pdp8-club-points__tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-block-start: 12px;
}

.pdp8-club-tier {
  padding: 10px;
  border-radius: 10px;
  color: #fffaf2;
  font-size: 10px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.pdp8-club-tier--essential {
  color: var(--cs-club-essential-ink, #fffaf2);
  background: var(--cs-club-essential-surface, radial-gradient(circle at 24% 18%, rgba(255,255,255,.12), transparent 34%), linear-gradient(145deg,#523a2b,#2d1d14));
}
.pdp8-club-tier--signature {
  color: var(--cs-club-signature-ink, #fffaf2);
  background: var(--cs-club-signature-surface, radial-gradient(circle at 24% 18%, rgba(255,255,255,.24), transparent 34%), linear-gradient(145deg,#d4ad64,#9b6c30));
}
.pdp8-club-tier--elite {
  color: var(--cs-club-elite-ink, #fffaf2);
  background: var(--cs-club-elite-surface, radial-gradient(circle at 24% 18%, rgba(255,255,255,.13), transparent 34%), linear-gradient(145deg,#85163b,#4a061c));
}
.pdp8-club-tier small { display: block; color: inherit; font-size: 10px; }
.pdp8-club-tier b { display: block; margin-block-start: 4px; color: inherit; font-size: 12px; }
.pdp8-club-disclosure p { margin: 10px 0 0; color: var(--pdp-text-muted); font-size: 10px; line-height: 1.55; }
.pdp8-club-disclosure p a { color: var(--pdp-text-primary); font-weight: 750; text-underline-offset: 3px; }

.pdp5-page .pdp5-delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding-block-start: 15px;
  border-block-start: 1px solid var(--pdp-border-subtle);
}

.pdp5-page .pdp5-delivery-card {
  display: grid !important;
  grid-template-columns: 24px 1fr !important;
  align-items: center !important;
  gap: 4px 8px !important;
  min-height: 0 !important;
  padding: 8px 10px !important;
  color: var(--pdp-text-secondary) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: start !important;
}

.pdp5-delivery-card + .pdp5-delivery-card { border-inline-start: 1px solid var(--pdp-border-subtle) !important; }
.pdp5-delivery-card img { grid-row: 1 / span 2; width: 20px; height: 20px; }
.pdp5-delivery-card strong { font-size: 10px; line-height: 1.25; }
.pdp5-delivery-card small { font-size: 9px; line-height: 1.4; }
.pdp5-delivery-card a { color: inherit; }

.pdp-master-nav {
  position: sticky;
  inset-block-start: 112px;
  z-index: 90;
  margin-inline: calc((100vw - var(--pdp-container)) / -2);
  background: var(--pdp-sticky-surface);
  border-block: 1px solid var(--pdp-border-subtle);
  backdrop-filter: blur(18px);
}

.pdp-master-nav__inner {
  position: relative;
  width: var(--pdp-container);
  margin-inline: auto;
  display: flex;
  gap: 6px;
  padding-block: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.pdp-master-nav__inner::-webkit-scrollbar { display: none; }

.pdp-master-nav__pill {
  position: absolute;
  inset-block: 8px;
  inset-inline-start: 0;
  width: 0;
  border-radius: 999px;
  background: var(--pdp-action-primary);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: transform .3s cubic-bezier(.22, .9, .28, 1), width .3s cubic-bezier(.22, .9, .28, 1), opacity .2s ease;
}

.pdp-master-nav__pill.is-ready { opacity: 1; }

.pdp-master-nav a {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  color: var(--pdp-text-muted);
  font-size: 13px;
  font-weight: 700;
  padding-inline: 15px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}

.pdp-master-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 2px;
  background: var(--pdp-text-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}

.pdp-master-nav a[aria-current="true"] {
  color: #fff;
  background: transparent;
}
.pdp-master-nav a[aria-current="true"]::after { transform: scaleX(0); }

.pdp5-detail-grid {
  display: block;
  margin: 0;
}

.pdp-master-sections {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pdp-master-section,
.pdp5-related,
.pdp5-reviews-shell,
.pdp5-faq {
  scroll-margin-block-start: var(--pdp-header-offset);
}

.pdp-master-section {
  display: block;
  padding-block: var(--pdp-section-gap);
}

.pdp-master-section + .pdp-master-section {
  border-block-start: 1px solid var(--pdp-border-subtle);
}

.pdp8-mobile-content { display: none; }

.pdp8-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 730px);
  margin-block-end: clamp(28px, 4vw, 52px);
}

.pdp8-panel-kicker,
.pdp5-section-head .kicker,
.pdp5-review-head .kicker {
  display: block;
  margin-block-end: 11px;
  color: #8c683d;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pdp8-panel-head h2,
.pdp5-section-head h2,
.pdp5-faq > h2,
.pdp5-review-head h2 {
  margin: 0;
  color: var(--pdp-text-primary);
  font-family: var(--pdp-sans);
  font-size: clamp(32px, 3vw, 42px);
  font-weight: 590;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.pdp8-panel-head p {
  margin: 17px 0 0;
  color: var(--pdp-text-secondary);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.78;
}

.pdp8-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-block: 0 34px;
}

.pdp8-summary-card {
  min-width: 0;
  padding: 4px clamp(24px, 3vw, 42px);
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--pdp-border-subtle);
  border-radius: 0;
}

.pdp8-summary-card:first-child { padding-inline-start: 0; border-inline-start: 0; }
.pdp8-summary-card small { display: block; margin-block-end: 9px; color: var(--pdp-text-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pdp8-summary-card strong { display: block; font-family: var(--pdp-sans); font-size: 24px; font-weight: 620; line-height: 1.15; letter-spacing: -.025em; }
.pdp8-summary-card span { display: block; margin-block-start: 8px; color: var(--pdp-text-muted); font-size: 13px; line-height: 1.55; }

.pdp8-chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.pdp8-chip { padding: 7px 10px; color: var(--pdp-text-secondary); background: var(--pdp-surface-secondary); border-radius: 999px; font-size: 11px; }

.pdp8-brief-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.pdp8-brief-list li {
  position: relative;
  padding-inline-start: 24px;
  color: var(--pdp-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.pdp8-brief-list li::before {
  content: "—";
  position: absolute;
  inset-inline-start: 0;
  color: #a3763f;
}

.pdp-master-benefits {
  margin-inline: calc((100vw - var(--pdp-container)) / -2);
  padding-inline: calc((100vw - var(--pdp-container)) / 2);
  background: var(--pdp-surface-secondary);
  border: 0 !important;
}

.pdp-master-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0 54px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdp-master-benefit-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-block: 22px;
  border-block-start: 1px solid var(--pdp-border-subtle);
}

.pdp-master-benefit-list span { color: #9c7547; font-family: var(--pdp-serif); font-size: 18px; }
.pdp-master-benefit-list strong { font-family: var(--pdp-sans); font-size: clamp(21px, 2vw, 29px); font-weight: 580; letter-spacing: -.03em; }

.pdp8-ingredient-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: clamp(34px, 6vw, 88px);
}

.pdp8-ingredient-list { display: grid; }

.pdp8-ingredient-card {
  display: grid;
  grid-template-columns: 48px minmax(150px, .45fr) minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding-block: 22px;
  background: transparent;
  border: 0;
  border-block-start: 1px solid var(--pdp-border-subtle);
  border-radius: 0;
}

.pdp8-ingredient-card small { color: #a3763f; font-family: var(--pdp-serif); font-size: 17px; }
.pdp8-ingredient-card b { font-size: 15px; }
.pdp8-ingredient-card span { color: var(--pdp-text-secondary); font-size: 14px; line-height: 1.7; }

.pdp8-ingredient-visual {
  margin: 0;
  align-self: start;
}

.pdp8-ingredient-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--pdp-radius-md);
}

.pdp8-ingredient-visual figcaption { margin-block-start: 10px; color: var(--pdp-text-muted); font-size: 12px; }
.pdp8-safe-note { max-width: 850px; margin: 26px 0 0; color: var(--pdp-text-muted); font-size: 13px; line-height: 1.7; }

.pdp8-usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .65fr);
  gap: clamp(38px, 7vw, 94px);
}

.pdp8-usage-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: usage;
}

.pdp8-usage-steps li {
  counter-increment: usage;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding-block: 22px;
  border-block-start: 1px solid var(--pdp-border-subtle);
  color: var(--pdp-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.pdp8-usage-steps li::before {
  content: counter(usage, decimal-leading-zero);
  color: #a3763f;
  font-family: var(--pdp-serif);
  font-size: 20px;
}

.pdp8-routine-mini__steps {
  display: grid;
  gap: 8px;
  margin-block-start: 12px;
}

.pdp8-routine-mini__step {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--pdp-text-muted);
  background: var(--pdp-surface-secondary);
  border-radius: 10px;
  font-size: 12px;
}

.pdp8-routine-mini__step.is-current { color: #fff; background: var(--pdp-action-primary); }
.pdp8-routine-mini__step img { width: 19px; height: 19px; }
.pdp8-routine-mini__step.is-current img { opacity: .96; filter: brightness(0) invert(1); }
.pdp8-routine-mini__step em { font-size: 10px; font-style: normal; }

.pdp8-routine-intel-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(181,138,74,.12), transparent 34%),
    var(--pdp-surface-elevated);
}
.pdp8-routine-intel-card > .kicker {
  margin: 0 0 16px;
  color: #916a3f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pdp8-routine-intel-card__head {
  display: flex;
  align-items: center;
  gap: 13px;
}
.pdp8-routine-intel-card__icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(181,138,74,.22);
  border-radius: 50%;
  background: #fbf5ed;
}
.pdp8-routine-intel-card__head h2 {
  margin: 0 0 4px;
  font-size: 31px;
}
.pdp8-routine-intel-card__head p {
  margin: 0;
  color: var(--pdp-text-muted);
  font-size: 11px;
  line-height: 1.45;
}
.pdp8-routine-intel-score {
  display: grid;
  gap: 5px;
  margin-block-start: 18px;
  padding: 16px;
  border-radius: 16px;
  color: #fffaf2;
  background: var(--pdp-action-primary);
}
.pdp8-routine-intel-score strong { font-size: 13px; }
.pdp8-routine-intel-score span { color: rgba(255,250,242,.72); font-size: 11px; line-height: 1.5; }
.pdp8-routine-intel-score.is-empty {
  color: var(--pdp-text-primary);
  background: var(--pdp-surface-secondary);
}
.pdp8-routine-intel-score.is-empty span { color: var(--pdp-text-muted); }
.pdp8-routine-intel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-block-start: 15px;
}
.pdp8-routine-intel-chips span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 999px;
  color: var(--pdp-text-secondary);
  background: rgba(255,253,249,.74);
  font-size: 10px;
  line-height: 1.3;
}
.pdp8-routine-intel-note {
  margin: 16px 0 0 !important;
  color: var(--pdp-text-secondary) !important;
  font-size: 12px;
  line-height: 1.7 !important;
}
.pdp8-routine-intel-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-block-start: 17px;
}
.pdp8-routine-intel-actions .btn { min-height: 44px; margin: 0; }
.pdp8-routine-intel-card > .pdp8-safe-note {
  margin: 15px 0 0 !important;
  padding-block-start: 14px;
  border-block-start: 1px solid var(--pdp-border-subtle);
  font-size: 10px;
  line-height: 1.6 !important;
}

.pdp8-fit-score__badge--percent {
  display: inline-grid;
  min-width: 58px;
  min-height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--pdp-action-primary);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.pdp8-inci-disclosure {
  margin-block-start: 18px;
  padding: 16px 18px;
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 14px;
  background: var(--pdp-surface-secondary);
}
.pdp8-inci-disclosure summary {
  color: var(--pdp-text-primary);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.pdp8-inci-list {
  margin: 14px 0 0;
  color: var(--pdp-text-secondary);
  font-size: 11px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.pdp8-source-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  margin: 14px 0 0;
  font-size: 11px;
}
.pdp8-source-note span { color: var(--pdp-text-muted); }
.pdp8-source-note a { color: var(--pdp-text-primary); font-weight: 750; text-underline-offset: 3px; }

.pdp8-fit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, .55fr);
  gap: clamp(36px, 6vw, 88px);
}

.pdp8-fit-card,
.pdp8-profile-box,
.pdp8-cta-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.pdp8-fit-score {
  padding-block: 20px;
  border-block: 1px solid var(--pdp-border-subtle);
}

.pdp8-fit-score__copy > span,
.pdp8-fit-score__copy > strong { display: block; }
.pdp8-fit-score__copy > span:first-child { margin-block-end: 8px; color: #8c683d; font-size: 11px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.pdp8-fit-score__copy > strong { font-family: var(--pdp-sans); font-size: clamp(28px, 2.6vw, 38px); font-weight: 590; line-height: 1.08; letter-spacing: -.035em; }
.pdp8-fit-score__copy > span:last-child { margin-block-start: 11px; color: var(--pdp-text-muted); font-size: 13px; line-height: 1.65; }

.pdp8-fit-reasons {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pdp8-fit-reasons li { padding-inline-start: 22px; color: var(--pdp-text-secondary); font-size: 14px; line-height: 1.65; }
.pdp8-fit-reasons li::before { content: "—"; margin-inline: -22px 10px; color: #a3763f; }

.pdp8-fit-method { margin-block-start: 24px; }
.pdp8-fit-method summary { font-size: 13px; font-weight: 750; cursor: pointer; }
.pdp8-fit-method p { color: var(--pdp-text-muted); font-size: 13px; line-height: 1.7; }

.pdp8-profile-box h3,
.pdp8-cta-card h3 { margin: 0 0 16px; font-family: var(--pdp-sans); font-size: 25px; font-weight: 590; letter-spacing: -.03em; }
.pdp8-profile-row { display: flex; justify-content: space-between; gap: 18px; padding-block: 13px; border-block-start: 1px solid var(--pdp-border-subtle); font-size: 12px; }
.pdp8-profile-row span { color: var(--pdp-text-muted); }
.pdp8-profile-row strong { text-align: end; }
.pdp8-cta-card p { color: var(--pdp-text-secondary); line-height: 1.7; }

.pdp5-related,
.pdp5-reviews-shell,
.pdp5-faq {
  margin: 0;
  padding-block: var(--pdp-section-gap);
  background: transparent;
  border: 0;
  border-block-start: 1px solid var(--pdp-border-subtle);
  border-radius: 0;
  box-shadow: none;
}

.pdp5-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-block-end: 36px;
}

.pdp5-section-head a { color: var(--pdp-text-secondary); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.pdp8-related-support { max-width: 560px; margin: 12px 0 0; color: var(--pdp-text-muted); font-size: 14px; line-height: 1.6; }

.pdp5-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  overflow: visible;
}

.pdp8-related-card {
  min-width: 0;
  background: var(--pdp-surface-elevated);
  border: 1px solid var(--pdp-border-subtle);
  border-radius: var(--pdp-radius-md);
  overflow: hidden;
  box-shadow: none;
}

.pdp8-related-card .product-media { min-height: 260px; background: var(--pdp-surface-secondary); }
.pdp8-related-card .product-media img { width: 100%; height: 260px; padding: 24px; object-fit: contain; }
.pdp8-related-card .product-body { padding: 20px; }
.pdp8-related-card .product-meta { color: var(--pdp-text-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pdp8-related-card h3 { min-height: 0; margin: 9px 0; font-family: var(--pdp-sans); font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.pdp8-rec-step { color: #8c683d; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pdp8-rec-reason { min-height: 46px; color: var(--pdp-text-secondary); font-size: 13px; line-height: 1.6; }
.pdp8-rec-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-block-start: 18px; }
.pdp8-rec-bottom .product-price { font-size: 20px; font-weight: 750; }
.pdp8-rec-bottom .btn { min-height: 44px; }
.pdp8-related-controls { display: none; }

.pdp-stock-section-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -8px 0 20px;
  padding: 10px 12px;
  color: var(--pdp-text-secondary);
  background: var(--pdp-surface-secondary);
  border-radius: var(--pdp-radius-sm);
  font-size: 12px;
}

.pdp-stock-section-message[hidden] { display: none; }

.pdp5-review-summary {
  display: grid;
  grid-template-columns: 180px 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-block: 1px solid var(--pdp-border-subtle);
  border-radius: 0;
}

.pdp5-review-summary[hidden] { display: none; }
.pdp5-review-summary strong { font-family: var(--pdp-sans); font-size: 52px; font-weight: 620; letter-spacing: -.04em; }
.pdp5-stars-row { display: flex; align-items: center; gap: 4px; }
.pdp5-stars-row .pdp5-star { display: inline-grid; }
.pdp5-review-list { display: grid; gap: 0; }
.pdp5-review-card { padding: 30px 0; background: transparent; border: 0; border-block-start: 1px solid var(--pdp-border-subtle); border-radius: 0; }
.pdp5-review-card p { max-width: 780px; color: var(--pdp-text-secondary); font-size: 16px; line-height: 1.75; }
.pdp5-empty { max-width: 620px; padding: 20px 0; color: var(--pdp-text-muted); background: transparent; border: 0; text-align: start; }
.pdp5-reviews-shell.is-empty { padding-block: clamp(44px, 5vw, 70px); }
.pdp5-reviews-shell.is-empty .pdp5-review-filters { display: none; }
.pdp5-reviews-shell.is-empty .pdp5-review-head { margin-block-end: 28px; }

.pdp-review-empty-state {
  display: grid;
  max-width: 720px;
  gap: 10px;
  padding: 28px 30px;
  color: var(--pdp-text-secondary);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--pdp-border-subtle);
  border-radius: var(--pdp-radius-md);
}

.pdp-review-empty-state__stars {
  display: flex;
  gap: 4px;
  margin-block-end: 4px;
}

.pdp-review-empty-state > strong {
  color: var(--pdp-text-primary);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.pdp-review-empty-state > p {
  max-width: 64ch;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.pdp5-faq {
  display: grid;
  grid-template-columns: minmax(250px, .65fr) minmax(0, 1.35fr);
  column-gap: clamp(40px, 8vw, 120px);
}

.pdp-faq-intro {
  align-self: start;
  position: sticky;
  inset-block-start: calc(var(--pdp-header-offset) + 10px);
}

.pdp-faq-intro h2 {
  margin: 0;
  font: 590 clamp(32px, 3vw, 42px)/1.08 var(--pdp-sans);
  letter-spacing: -.045em;
}

.pdp-faq-intro p {
  max-width: 34ch;
  margin: 17px 0 0;
  color: var(--pdp-text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.pdp-faq-list {
  display: grid;
  gap: 10px;
}

.pdp5-faq details {
  padding: 0 20px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--pdp-border-subtle);
  border-radius: 16px;
}

.pdp5-faq summary {
  min-height: 66px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 24px;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 700;
}

.pdp5-faq summary::-webkit-details-marker { display: none; }
.pdp5-faq summary i { position: relative; width: 18px; height: 18px; }
.pdp5-faq summary i::before,
.pdp5-faq summary i::after { position: absolute; inset: 50% auto auto 50%; width: 14px; height: 1px; background: currentColor; content: ""; transform: translate(-50%,-50%); }
.pdp5-faq summary i::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .18s ease; }
.pdp5-faq details[open] summary i::after { transform: translate(-50%,-50%) rotate(0); }
.pdp5-faq p { margin: -2px 32px 22px 0; color: var(--pdp-text-secondary); font-size: 14px; line-height: 1.75; }

@media (min-width: 769px) {
  .pdp-master-sections {
    display: grid;
    gap: 24px;
    padding-block: 34px 0;
  }

  .pdp-master-section,
  .pdp5-related,
  .pdp5-reviews-shell,
  .pdp5-faq {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pdp-border-subtle);
    border-radius: 28px;
    box-shadow: 0 18px 46px rgba(30,21,14,.045);
  }

  .pdp-master-section {
    margin: 0;
    padding: clamp(48px, 6vw, 82px) clamp(30px, 5vw, 70px);
    background: rgba(255,255,255,.82);
  }

  .pdp-master-section:nth-of-type(even) {
    background: linear-gradient(135deg, rgba(248,240,231,.96), rgba(255,253,249,.9));
  }

  .pdp-master-section + .pdp-master-section {
    border-block-start: 1px solid var(--pdp-border-subtle);
  }

  .pdp5-related,
  .pdp5-reviews-shell,
  .pdp5-faq {
    margin-block-start: 24px;
    padding: clamp(48px, 6vw, 76px) clamp(30px, 5vw, 70px);
  }

  .pdp5-related { background: #f6eee5; }
  .pdp5-reviews-shell { background: #fff; }
  .pdp5-faq { background: linear-gradient(145deg, #f3e7da, #faf5ef); }

  :is(.pdp-master-section,.pdp5-related,.pdp5-reviews-shell,.pdp5-faq)[data-pdp-section-index]::before {
    position: absolute;
    inset-block-start: 24px;
    inset-inline-end: 28px;
    color: #92704a;
    content: attr(data-pdp-section-index) " · " attr(data-pdp-section-label);
    font: 750 10px/1 var(--pdp-sans);
    letter-spacing: .12em;
    text-transform: uppercase;
  }
}

.pdp-master-sticky {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 300;
  padding: 10px 0;
  background: var(--pdp-sticky-surface);
  border-block-start: 1px solid var(--pdp-border-subtle);
  box-shadow: 0 -14px 34px rgba(26, 21, 16, .07);
  backdrop-filter: blur(18px);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
}

.pdp-master-sticky.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition-delay: 0s;
}

.pdp-master-sticky__inner {
  width: var(--pdp-container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) auto minmax(170px, 220px);
  align-items: center;
  gap: 16px;
}

.pdp-master-sticky img { width: 56px; height: 56px; padding: 5px; object-fit: contain; background: var(--pdp-surface-secondary); border-radius: 10px; }
.pdp-master-sticky__copy span,
.pdp-master-sticky__copy strong { display: block; }
.pdp-master-sticky__copy span { margin-block-end: 3px; color: var(--pdp-text-muted); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.pdp-master-sticky__copy strong { overflow: hidden; font-family: var(--pdp-sans); font-size: 18px; font-weight: 620; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.pdp-master-sticky__price { font-size: 20px; font-weight: 750; }
.pdp-master-sticky .btn { min-height: 48px; border-radius: 999px; }

.pdp-master-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--pdp-overlay-surface);
  backdrop-filter: blur(12px);
}

.pdp-master-lightbox[hidden] { display: none; }
.pdp-master-lightbox figure { margin: 0; }
.pdp-master-lightbox img { display: block; max-width: min(86vw, 1040px); max-height: 82vh; object-fit: contain; }
.pdp-master-lightbox figcaption { margin-block-start: 12px; color: rgba(255,255,255,.82); text-align: center; font-size: 12px; }
.pdp-master-lightbox__close { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 30px; cursor: pointer; }
.pdp-lightbox-open { overflow: hidden; }

.pdp5-page :where(a, button, input, textarea, summary):focus-visible,
.pdp-master-sticky :where(button):focus-visible,
.pdp-master-lightbox :where(button):focus-visible,
.cm-mobile-pdp :where(a, button, input, summary):focus-visible {
  outline: 3px solid var(--pdp-focus-ring);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  :root { --pdp-container: min(100% - 40px, 1080px); --pdp-header-offset: 150px; }
  .pdp5-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(370px, .95fr);
    gap: 36px;
  }
  .pdp5-media-card { min-height: 500px; }
  .pdp5-info h1 { font-size: clamp(40px, 5vw, 52px); }
  .pdp5-delivery-card small { display: none; }
  .pdp5-faq { grid-template-columns: 1fr; }
  .pdp-faq-intro { position: static; margin-block-end: 28px; }
}

@media (min-width: 1025px) and (max-height: 900px) {
  .pdp5-hero { gap: 32px; padding-block: 22px 30px; }
  .pdp5-media-card { min-height: 460px; }
  .pdp5-main-image { height: min(58vh, 500px); }
  .pdp5-info { gap: 14px; }
  .pdp5-info h1 { font-size: clamp(34px, 3vw, 46px); }
  .pdp5-description { font-size: 14px; line-height: 1.58; }
  .pdp5-purchase-card { gap: 10px; padding: 20px; }
  .pdp5-price { font-size: clamp(30px, 2.6vw, 38px) !important; }
}

@media (max-width: 1024px) {
  :root { --pdp-container: min(100% - 36px, 880px); --pdp-header-offset: 126px; }
  .pdp5-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 38px;
  }
  .pdp5-gallery { max-width: 760px; margin-inline: auto; }
  .pdp5-media-card { min-height: 0; aspect-ratio: 1.16 / 1; }
  .pdp5-main-image { height: min(61vh, 550px); }
  .pdp5-info { position: static; max-width: 760px; margin-inline: auto; }
  .pdp5-info h1 { max-width: 18ch; }
  .pdp-master-nav { inset-block-start: 72px; }
  .pdp8-ingredient-layout,
  .pdp8-usage-grid,
  .pdp8-fit-panel { grid-template-columns: 1fr; }
  .pdp8-ingredient-visual { max-width: 560px; }
}

/* Dedicated mobile PDP generated by mobile-redesign.js */
@media (max-width: 768px) {
  :root {
    --pdp-mobile-gutter: clamp(16px, 4.6vw, 22px);
    --pdp-mobile-nav-height: 72px;
  }

  /* Full-bleed bar, inset rail: the pill has to clear the screen edge or its
     rounded cap gets shaved off. */
  .pdp-master-nav {
    margin-inline: calc(50% - 50vw);
  }

  .pdp-master-nav__inner {
    width: 100%;
    padding-inline: var(--pdp-mobile-gutter, 18px);
    gap: 4px;
    scroll-padding-inline: var(--pdp-mobile-gutter, 18px);
  }

  .pdp-master-nav__pill {
    inset-inline-start: 0;
  }

  .pdp-master-nav a {
    font-size: 12.5px;
    padding-inline: 13px;
  }

  /* pdp-professional.css set three equal columns with no breakpoint, so on a
     phone each "Rutinini Tamamla" card was ~76px wide: titles collided and the
     images had no room left. Same snap rail the recently-viewed row uses. */
  .pdp5-related-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(64vw, 240px);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 2px;
    scrollbar-width: none;
    padding-block-end: 4px;
  }

  .pdp5-related-grid::-webkit-scrollbar {
    display: none;
  }

  .pdp8-related-card {
    scroll-snap-align: start;
  }

  /* Three columns of a 24px display face inside a 375px screen left roughly
     five characters per line — "Su gibi ince toner" broke into four lines and
     spilled past its column. One row per fact, at a readable size. */
  .pdp8-summary-grid,
  .pdp8-summary-grid--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-block-end: 26px;
  }

  .pdp8-summary-card {
    padding: 14px 0;
    border-inline-start: 0;
    border-block-start: 1px solid var(--pdp-border-subtle);
  }

  .pdp8-summary-card:first-child {
    padding-block-start: 0;
    border-block-start: 0;
  }

  .pdp8-summary-card small {
    margin-block-end: 6px;
    font-size: 10px;
  }

  .pdp8-summary-card strong {
    font-size: 19px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .pdp8-summary-card span {
    margin-block-start: 5px;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .pdp5-review-summary {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
    padding-block: 24px;
  }

  .pdp5-review-summary > * {
    min-width: 0;
  }

  .pdp5-stars-row {
    flex-wrap: nowrap;
  }

  .pdp5-histogram {
    width: 100%;
  }

  body.cs-mobile-v1-active.cs-route-pdp .pdp5-info h1 {
    font-family: var(--pdp-sans) !important;
    font-size: clamp(30px, 8.2vw, 39px) !important;
    font-weight: 600 !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
  }

  body.cs-mobile-v1-active.cs-route-pdp .pdp5-brand-lockup img {
    width: auto !important;
    height: 30px !important;
    max-width: 160px !important;
    max-height: 30px !important;
  }

  body.cs-mobile-v1-active.cs-route-pdp .pdp5-brand-lockup[data-brand-key="beauty-of-joseon"] img,
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-brand-lockup[data-brand-key="anua"] img,
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-brand-lockup[data-brand-key="skin1004"] img,
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-brand-lockup[data-brand-key="torriden"] img {
    height: 46px !important;
    max-width: 118px !important;
    max-height: 46px !important;
  }

  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp5-price-row { order: 1 !important; }
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp-volume-selector { order: 2 !important; }
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp5-actions { order: 3 !important; }
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp-quantity-control { order: 4 !important; }
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp5-delivery-grid { order: 5 !important; }
  body.cs-mobile-v1-active.cs-route-pdp .pdp5-purchase-card > .pdp8-club-points { order: 6 !important; }

  .pdp-volume-selector {
    gap: 9px;
    padding-block: 12px;
  }

  .pdp-volume-option {
    min-width: 108px;
    min-height: 50px;
  }

  body.cm-mobile-active {
    padding-block-end: calc(var(--pdp-mobile-nav-height) + env(safe-area-inset-bottom)) !important;
  }

  .cm-mobile-pdp {
    min-width: 0;
    padding-block-end: calc(108px + env(safe-area-inset-bottom));
    color: var(--pdp-text-primary);
    background: var(--pdp-surface-primary);
    overflow: clip;
  }

  .cm-mobile-pdp .cm-header {
    min-height: 68px;
    padding: 10px var(--pdp-mobile-gutter);
    background: rgba(255,253,249,.95);
  }

  .cm-pdp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding-inline: var(--pdp-mobile-gutter);
    color: var(--pdp-text-muted);
    font-size: 11px;
    overflow: hidden;
  }

  .cm-pdp-breadcrumb a {
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cm-pdp-hero-ref {
    height: clamp(280px, 76vw, 340px);
    background:
      radial-gradient(circle at 50% 44%, rgba(255,255,255,.98) 0 27%, rgba(255,255,255,.42) 49%, transparent 69%),
      linear-gradient(135deg, #edddcb, #fbf4eb 52%, #e7d3bf);
    touch-action: pan-y pinch-zoom;
  }

  .cm-pdp-product {
    max-width: 84%;
    max-height: 88%;
    filter: drop-shadow(0 22px 20px rgba(45,32,20,.15));
  }

  .cm-pdp-floating {
    width: 46px;
    height: 46px;
    background: rgba(255,253,249,.88);
    box-shadow: 0 8px 20px rgba(26,21,16,.08);
  }

  .cm-pdp-floating--share { inset-block-start: 14px; inset-inline-end: 14px; }
  .cm-pdp-floating--zoom { inset-block-start: 68px; inset-inline-end: 14px; }

  .cm-pdp-gallery-arrow {
    position: absolute;
    inset-block-start: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(26,21,16,.07);
    border-radius: 50%;
    color: var(--pdp-text-primary);
    background: rgba(255,253,249,.7);
    box-shadow: 0 6px 16px rgba(26,21,16,.04);
    transform: translateY(-50%);
  }

  .cm-pdp-gallery-arrow--prev { inset-inline-start: 12px; }
  .cm-pdp-gallery-arrow--next { inset-inline-end: 12px; }
  .cm-pdp-gallery-arrow svg { width: 21px; height: 21px; }

  .cm-gallery-count {
    inset-inline: auto 14px;
    inset-block-end: 14px;
    padding: 7px 10px;
    color: var(--pdp-text-secondary);
    background: rgba(255,253,249,.85);
    font-size: 11px;
  }

  .cm-pdp-info {
    padding: 24px var(--pdp-mobile-gutter) 96px;
    background: var(--pdp-surface-primary);
  }

  .cm-pdp-title-row {
    align-items: flex-start;
    gap: 12px;
  }

  .cm-pdp-brand {
    color: #785a36;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .11em;
  }

  .cm-pdp-info h1 {
    max-width: 14ch;
    margin: 7px 0 0;
    font-family: var(--pdp-sans);
    font-size: clamp(30px, 8.2vw, 39px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }

  .cm-pdp-lead {
    margin: 14px 0 0;
    color: var(--pdp-text-secondary);
    font-size: 15px;
    line-height: 1.65;
  }

  .cm-pdp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 14px 0 0;
    color: var(--pdp-text-muted);
    font-size: 13px;
  }

  .cm-pdp-meta a {
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .cm-pdp-price-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-block-start: 18px;
  }

  .cm-pdp-price-line .cs-price,
  .cm-pdp-price-line b {
    color: var(--pdp-text-primary);
    font-family: var(--pdp-sans);
    font-size: 31px;
    font-weight: 750;
    letter-spacing: -.04em;
  }

  .cm-pdp-price-line > span {
    margin: 0;
    color: var(--pdp-text-muted);
    font-size: 11px;
  }

  .cm-pdp-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 10px;
  }

  .cm-pdp-actions .cm-stepper {
    grid-template-columns: 46px 42px 46px;
    min-height: 48px;
    border: 1px solid var(--pdp-border-subtle);
    background: var(--pdp-surface-primary);
  }

  .cm-pdp-actions .cm-stepper button { min-width: 46px; min-height: 46px; }
  .cm-pdp-actions .cm-stepper output { display: grid; place-items: center; font-weight: 750; }
  .cm-pdp-actions .cm-fav-inline { width: 48px; height: 48px; border: 1px solid var(--pdp-border-subtle); border-radius: 50%; }
  .cm-pdp-actions .cm-fav-inline::after { display: none; }

  .cm-pdp-main-cta {
    width: 100%;
    min-height: 56px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
  }

  .cm-pdp-stock-line {
    min-height: 22px;
    margin: 9px 0 0;
    padding: 0;
    color: var(--pdp-text-muted);
    background: transparent;
    border: 0;
    font-size: 12px;
    line-height: 1.5;
  }

  .cm-pdp-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-block-start: 18px;
    background: transparent;
    border-block: 1px solid var(--pdp-border-subtle);
    border-inline: 0;
    border-radius: 0;
  }

  .cm-pdp-trust a {
    min-height: 68px;
    display: grid;
    grid-template-columns: 24px 1fr;
    align-items: center;
    gap: 9px;
    padding: 10px 6px;
  }

  .cm-pdp-trust a + a { border-inline-start: 1px solid var(--pdp-border-subtle); }
  .cm-pdp-trust svg { width: 21px; height: 21px; color: #9d7443; }
  .cm-pdp-trust strong,
  .cm-pdp-trust small { display: block; }
  .cm-pdp-trust strong { font-size: 11px; }
  .cm-pdp-trust small { margin-block-start: 3px; color: var(--pdp-text-muted); font-size: 9px; line-height: 1.3; }

  .cm-pdp-fit-invite {
    margin-block-start: 22px;
    padding: 20px;
    background: var(--pdp-surface-secondary);
    border-radius: var(--pdp-radius-md);
  }

  .cm-pdp-fit-invite > span,
  .cm-pdp-fit-invite > strong { display: block; }
  .cm-pdp-fit-invite > span { color: #88653b; font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
  .cm-pdp-fit-invite > strong { margin-block-start: 7px; font-family: var(--pdp-serif); font-size: 25px; font-weight: 550; }
  .cm-pdp-fit-invite p { margin: 8px 0 14px; color: var(--pdp-text-secondary); font-size: 13px; line-height: 1.6; }
  .cm-pdp-fit-invite a { font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

  .cm-pdp-section-nav {
    position: sticky;
    inset-block-start: 67px;
    z-index: 70;
    display: flex;
    gap: 24px;
    margin-inline: calc(var(--pdp-mobile-gutter) * -1);
    margin-block: 30px 0;
    padding-inline: var(--pdp-mobile-gutter);
    overflow-x: auto;
    background: rgba(255,253,249,.96);
    border-block: 1px solid var(--pdp-border-subtle);
    scrollbar-width: none;
    backdrop-filter: blur(16px);
  }

  .cm-pdp-section-nav::-webkit-scrollbar { display: none; }
  .cm-pdp-section-nav a { flex: 0 0 auto; min-height: 50px; display: inline-flex; align-items: center; color: var(--pdp-text-secondary); font-size: 12px; font-weight: 700; }

  .cm-pdp-editorial {
    margin-inline: calc(var(--pdp-mobile-gutter) * -1);
    padding: 62px var(--pdp-mobile-gutter);
    scroll-margin-block-start: 120px;
    border-block-start: 1px solid var(--pdp-border-subtle);
  }

  .cm-pdp-editorial--warm {
    background: var(--pdp-surface-secondary);
    border: 0;
  }

  .cm-pdp-kicker {
    display: block;
    margin-block-end: 10px;
    color: #89653c;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .cm-pdp-editorial h2 {
    margin: 0 0 24px;
    font-family: var(--pdp-sans);
    font-size: clamp(28px, 7.2vw, 35px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.045em;
  }

  .cm-pdp-editorial > p {
    color: var(--pdp-text-secondary);
    font-size: 15px;
    line-height: 1.7;
  }

  .cm-pdp-facts {
    margin: 0;
  }

  .cm-pdp-facts > div {
    display: grid;
    grid-template-columns: minmax(90px, .7fr) 1fr;
    gap: 18px;
    padding-block: 15px;
    border-block-start: 1px solid var(--pdp-border-subtle);
  }

  .cm-pdp-facts dt { color: var(--pdp-text-muted); font-size: 12px; }
  .cm-pdp-facts dd { margin: 0; font-size: 14px; font-weight: 700; text-align: end; }

  .cm-pdp-benefit-list,
  .cm-pdp-usage-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .cm-pdp-benefit-list li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: baseline;
    padding-block: 17px;
    border-block-start: 1px solid var(--pdp-border-subtle);
  }

  .cm-pdp-benefit-list span { color: #956e3f; font-family: var(--pdp-serif); font-size: 17px; }
  .cm-pdp-benefit-list strong { font-family: var(--pdp-sans); font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }

  .cm-pdp-ingredient-list { display: grid; }
  .cm-pdp-ingredient-list article { padding-block: 18px; border-block-start: 1px solid var(--pdp-border-subtle); }
  .cm-pdp-ingredient-list strong { display: block; font-size: 14px; }
  .cm-pdp-ingredient-list p { margin: 7px 0 0; color: var(--pdp-text-secondary); font-size: 13px; line-height: 1.65; }
  .cm-pdp-note,
  .cm-pdp-honest-fallback { color: var(--pdp-text-muted); font-size: 12px; line-height: 1.65; }

  .cm-pdp-usage-list { counter-reset: mobile-usage; }
  .cm-pdp-usage-list li { counter-increment: mobile-usage; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding-block: 17px; border-block-start: 1px solid var(--pdp-border-subtle); color: var(--pdp-text-secondary); font-size: 14px; line-height: 1.65; }
  .cm-pdp-usage-list li::before { content: counter(mobile-usage, decimal-leading-zero); color: #956e3f; font-family: var(--pdp-serif); font-size: 18px; }

  .cm-pdp-routine-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 310px);
    gap: 14px;
    margin-inline-end: calc(var(--pdp-mobile-gutter) * -1);
    padding-block-end: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .cm-pdp-routine-card {
    scroll-snap-align: start;
    background: var(--pdp-surface-elevated);
    border: 1px solid var(--pdp-border-subtle);
    border-radius: var(--pdp-radius-md);
    overflow: hidden;
  }

  .cm-pdp-routine-card a { display: block; padding: 16px; }
  .cm-pdp-routine-card img { width: 100%; height: 190px; padding: 16px; object-fit: contain; background: var(--pdp-surface-secondary); border-radius: 14px; }
  .cm-pdp-routine-step { display: block; margin-block-end: 9px; color: #89653c; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
  .cm-pdp-routine-card small { display: block; margin-block-start: 14px; color: var(--pdp-text-muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
  .cm-pdp-routine-card h3 { margin: 6px 0; font-family: var(--pdp-sans); font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
  .cm-pdp-routine-card p { min-height: 58px; margin: 8px 0 14px; color: var(--pdp-text-secondary); font-size: 12px; line-height: 1.6; }
  .cm-pdp-routine-card > a > strong { font-size: 17px; }

  .cm-mobile-reviews { margin: 0; }
  .cm-review-empty { display: grid; gap: 7px; padding: 0; color: var(--pdp-text-muted); background: transparent; border: 0; }
  .cm-review-empty strong { color: var(--pdp-text-primary); font-family: var(--pdp-sans); font-size: 22px; font-weight: 650; letter-spacing: -.025em; }
  .cm-review-empty span { font-size: 13px; line-height: 1.55; }
  .cm-review-empty button { width: max-content; min-height: 44px; margin-block-start: 8px; padding-inline: 16px; border: 1px solid var(--pdp-border-strong); border-radius: 999px; background: transparent; font-size: 12px; font-weight: 750; }

  .cm-pdp-faq details { border-block-start: 1px solid var(--pdp-border-subtle); }
  .cm-pdp-faq summary { min-height: 62px; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 12px; list-style: none; font-size: 14px; font-weight: 700; cursor: pointer; }
  .cm-pdp-faq summary::-webkit-details-marker { display: none; }
  .cm-pdp-faq summary span { font-size: 22px; font-weight: 400; text-align: center; }
  .cm-pdp-faq details[open] summary span { transform: rotate(45deg); }
  .cm-pdp-faq details p { margin: -2px 0 20px; color: var(--pdp-text-secondary); font-size: 13px; line-height: 1.7; }

  .cm-pdp-sticky-cta {
    position: fixed;
    inset-inline: 0;
    inset-block-end: calc(var(--pdp-mobile-nav-height) + env(safe-area-inset-bottom));
    z-index: 76;
    width: auto;
    height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px var(--pdp-mobile-gutter);
    background: rgba(255,253,249,.97);
    border-block-start: 1px solid var(--pdp-border-subtle);
    border-radius: 0;
    box-shadow: 0 -10px 26px rgba(26,21,16,.07);
    backdrop-filter: blur(18px);
    transform: translateY(120%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease, visibility 0s linear .2s;
  }

  .cm-pdp-sticky-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .cm-pdp-sticky-cta > div span,
  .cm-pdp-sticky-price { display: block; }
  .cm-pdp-sticky-cta > div { min-width: 0; }
  .cm-pdp-sticky-cta > div span { color: var(--pdp-text-muted); font-size: 10px; }
  .cm-pdp-sticky-price { margin-block-start: 3px; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .cm-pdp-sticky-cta > div .cs-price { min-width: 0; }
  .cm-pdp-sticky-cta > div .cs-price__current { font-size: 16px; white-space: nowrap; }
  .cm-pdp-sticky-cta .cm-btn { width: clamp(142px, 43vw, 190px); min-height: 48px; padding-inline: 14px; border-radius: 999px; font-size: 12px; white-space: nowrap; }

  .pdp8-gallery-favorite {
    inset-block-start: 14px;
    inset-inline-end: 14px;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
  }

  body:has(input:focus, textarea:focus) .cm-pdp-sticky-cta {
    transform: translateY(120%);
    visibility: hidden;
    pointer-events: none;
  }

  .cm-image-modal {
    background: var(--pdp-overlay-surface);
    backdrop-filter: blur(12px);
  }

  .cm-image-modal img {
    max-width: 92vw;
    max-height: 82vh;
    object-fit: contain;
    touch-action: pinch-zoom;
  }
}

@media(max-width:760px){
  .pdp8-routine-intel-card__head h2 { font-size: 28px; }
  .pdp8-routine-intel-actions { grid-template-columns: 1fr; }
  .pdp8-routine-intel-actions .btn { width: 100%; }
}

@media (max-width: 360px) and (max-height: 700px) {
  .cm-pdp-hero-ref { height: 250px; }
  .cm-pdp-info { padding-block-start: 20px; }
  .cm-pdp-info h1 { font-size: 31px; }
  .cm-pdp-lead { font-size: 14px; }
}

@media (max-height: 720px) and (min-width: 769px) {
  .pdp5-info { position: static; }
  .pdp5-hero { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp5-main-image,
  .pdp-master-nav a::after,
  .pdp-master-sticky,
  .pdp-master-lightbox,
  .cm-pdp-sticky-cta {
    transition: none;
  }
}
