.pdp-showcase {
  --showroom-masthead: calc(var(--announcement-height,0px) + var(--hc-header-height,66px));
  --pdp-inset: clamp(16px, 3svh, 38px);
  --pdp-view: calc(100dvh - var(--showroom-masthead) - 2 * var(--pdp-inset));
  --pdp-panel-padding: clamp(18px, 2.5vw, 36px);
  --pdp-panel: var(--es-surface);
  --pdp-radius: clamp(18px, 2.2vw, 30px);
  --pdp-panel-shadow: 0 22px 60px #2819092e, 0 3px 12px #2819091a;
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--showroom-masthead));
  background: transparent;
}

.showroom-open { overflow: hidden; }
.showroom-open #store-page { isolation:isolate; }
.showroom-open #store-page::after {
  content:'';
  position:fixed;
  inset:0 0 auto;
  height:calc(var(--announcement-height,0px) + var(--hc-header-height,66px));
  z-index:100;
  background:var(--es-canvas);
  pointer-events:none;
}
.product-route-overlay {
  position: fixed;
  inset: calc(var(--announcement-height,0px) + var(--hc-header-height,66px)) 0 0;
  z-index: 20;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding-top:12px;
  scroll-padding-bottom:136px;
}
.pdp-showcase-backdrop {
  position: fixed;
  z-index: -1;
  inset: var(--announcement-height,0px) 0 0;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 32% 32%, var(--es-tint), var(--es-canvas) 80%);
}
.pdp-showcase-backdrop .pdp-media {
  position: absolute;
  inset: -12% 27% -12% -8%;
  opacity: .24;
  background: transparent;
  filter: blur(54px) saturate(.7);
}
.pdp-showcase-backdrop :is(picture,img) { display:block; width:100%; height:100%; object-fit:contain; }
.pdp-showcase-backdrop .pdp-media.is-unavailable { visibility:hidden; }
.pdp-showcase--overlay .pdp-shell { animation: showroom-enter 200ms ease-out; }
@keyframes showroom-enter { from { opacity: .74; translate: 0 7px; } }
@media (prefers-reduced-motion: reduce) { .pdp-showcase--overlay .pdp-shell { animation: none; } }

.pdp-showcase .pdp-shell {
  position: relative;
  z-index: 1;
  width: min(2240px, calc(100% - 2 * clamp(14px, 2vw, 48px)));
  padding: var(--pdp-inset) 0;
}
.pdp-showcase .pdp-overview {
  grid-template: 'visual purchase' auto 'details purchase' 1fr / minmax(0, 1.62fr) minmax(350px, 1fr);
  gap: clamp(16px, 2vw, 38px);
  padding: 0;
  align-items: start;
}
.pdp-showcase-visual { grid-area: visual; min-width: 0; }
.pdp-showcase .pdp-gallery {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 1.7vw, 27px);
  height: max(300px, calc(var(--pdp-view) - 44px));
}
.pdp-showcase .pdp-gallery:has(.pdp-thumbnails) {
  grid-template-columns: clamp(56px, 6vw, 86px) minmax(0, 1fr);
}
.pdp-showcase .pdp-gallery-stage {
  grid-column: -2;
  grid-row: 1;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: var(--pdp-radius);
  background: transparent;
}
.pdp-showcase :is(.pdp-gallery-main, .pdp-gallery-main .pdp-media, .pdp-gallery-main .pdp-image-open) {
  background:transparent;
  border:0;
  box-shadow:none;
}
.pdp-showcase .pdp-gallery-main :is(img, .product-photo) {
  filter: drop-shadow(0 15px 22px #2e1e1430);
}
.pdp-showcase .pdp-gallery-main :is(.pdp-image-open, video) { border-radius: inherit; }
.pdp-showcase .pdp-gallery-empty { border-radius: inherit; background: var(--es-tint); }
.pdp-showcase .pdp-gallery-empty p { color: var(--es-on-tint); }
.pdp-showcase .pdp-thumbnails {
  grid-area: 1 / 1;
  align-self: start;
  flex-direction: column;
  margin: 0;
  max-height: 100%;
  overflow: auto;
  scrollbar-width: thin;
  gap: 10px;
  padding: 3px;
}
.pdp-showcase .pdp-thumbnails button {
  min-height: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--es-border);
  border-radius: 13px;
  background: var(--es-surface);
}
.pdp-showcase .pdp-thumbnails button[aria-pressed="true"] {
  border-color: var(--es-focus);
  box-shadow: 0 0 0 1px var(--es-focus);
}
.pdp-showcase .pdp-thumbnails .pdp-video-mark { display: block; }
.pdp-showcase-zoom, .pdp-showcase-tool {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--es-text);
  background: var(--es-canvas);
}
.pdp-showcase-zoom {
  position: absolute;
  inset: 10px 10px auto auto;
  box-shadow: 0 4px 15px #2819091f;
}
.pdp-showcase .pdp-gallery-main .pdp-showcase-zoom svg, .pdp-showcase-tool svg { width: 19px; height: 19px; }
.pdp-showcase-detail-link {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 auto;
  min-height: 40px;
  padding-inline: 15px;
  border: 1px solid var(--es-border);
  border-radius: 999px;
  background: var(--es-surface);
  color: var(--es-link);
  font-size: 13px;
  font-weight: 600;
}
.pdp-showcase-detail-link:hover, .pdp-showcase-tool:hover { background: var(--es-tint); }
.pdp-showcase-detail-link svg { width: 14px; height: 14px; rotate: 90deg; }

.pdp-showcase .pdp-information {
  grid-area: purchase;
  top: calc(var(--pdp-inset) + var(--showroom-masthead));
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--es-surface) 60%, var(--es-border));
  border-radius: var(--pdp-radius);
  background: var(--pdp-panel);
  box-shadow: var(--pdp-panel-shadow);
}
@media (min-width: 721px) and (orientation: landscape), (min-width: 901px) {
  .pdp-showcase .pdp-information { position:sticky; max-height:var(--pdp-view); overflow:hidden; }
  .pdp-info-scroll { min-height:0; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--es-border) transparent; }
}
@media (min-width: 721px) and (max-height: 480px) {
  .pdp-showcase .pdp-information { overflow:auto; scrollbar-width:thin; scrollbar-color:var(--es-border) transparent; }
  .pdp-info-scroll { flex:none; overflow:visible; }
}
.pdp-showcase-summary {
  padding: clamp(12px, 1.45vw, 20px) var(--pdp-panel-padding) 0;
}
.pdp-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.pdp-showcase-tools {
  display: flex;
  gap: 6px;
  flex: none;
}
.pdp-showcase-tool { border: 1px solid var(--es-border); }
.pdp-showcase-tool .bag-count { top: -2px; right: -3px; display: grid; place-items: center; }
.pdp-showcase-tool .bag-count[hidden] { display: none; }
.pdp-showcase-heading {
  display: flex;
  align-items: start;
  gap: 14px;
  min-width: 0;
}
.pdp-showcase .pdp-showcase-bar .pdp-category-link {
  min-width: 0;
  color:var(--es-link);
  overflow-wrap: anywhere;
  margin: 0;
}
.pdp-showcase .pdp-information h1 {
  margin: 0 0 14px;
  min-width: 0;
  font-size: clamp(32px, 3.6vw, 59px);
  line-height: .99;
}
.pdp-showcase-thumb {
  display: none;
  flex: 0 0 clamp(56px, 5vw, 76px);
  aspect-ratio: 1;
  border-radius: 13px;
  overflow: hidden;
  background: var(--es-tint);
}
.pdp-showcase--compact .pdp-showcase-thumb:not(:empty) {
  display: block;
  animation: pdp-showcase-thumb-in 200ms ease-out both;
}
@media (min-width: 721px) and (orientation: landscape), (min-width: 901px) {
  .pdp-showcase--compact .pdp-showcase-heading:has(.pdp-showcase-thumb:not(:empty)) {
    align-items: center;
    margin-bottom: 12px;
  }
  .pdp-showcase--compact .pdp-showcase-heading:has(.pdp-showcase-thumb:not(:empty)) h1 {
    font-size: clamp(27px, 2.7vw, 43px);
    margin-bottom: 0;
  }
}
@keyframes pdp-showcase-thumb-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
.pdp-showcase-thumb :is(.pdp-media, picture, img) { width: 100%; height: 100%; object-fit: contain; }
.pdp-showcase-thumb .pdp-media { background: transparent; }
.pdp-showcase--overlay .pdp-information { top:var(--pdp-inset); }
.pdp-showcase .pdp-price { color: var(--es-text); font-size: clamp(23px, 2.3vw, 33px); }
.pdp-showcase .pdp-price del { margin-inline-start:0; }
.pdp-showcase .pdp-price .sale-savings { gap:5px 9px; }
.pdp-showcase .pdp-price .sale-amount { font-size:clamp(15px,1.28vw,20px); }
.pdp-showcase:has(.es-review-form:focus-within) .pdp-float { display:none; }
.pdp-showcase .pdp-stock { margin: 9px 0 13px; color: var(--es-link); }
.pdp-showcase .pdp-stock--unavailable { color: var(--es-muted); }
.pdp-gift-offer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--es-soft-accent);
  color: var(--es-on-soft-accent);
  font-size: .875rem;
  line-height: 1.45;
}
.pdp-gift-offer strong { display: block; }
.pdp-gift-offer p { margin: 2px 0 0; overflow-wrap: anywhere; }
.pdp-showcase .pdp-showcase-options {
  padding:3px var(--pdp-panel-padding) 7px;
  border: 0;
  border-radius: 0;
  background: none;
}
.pdp-showcase .pdp-purchase fieldset { margin: 0 0 12px; }
.pdp-showcase :is(.pdp-purchase legend,.pdp-quantity-label) { color:var(--es-text); }
.pdp-showcase-actions {
  flex: none;
  padding: 14px var(--pdp-panel-padding) var(--pdp-panel-padding);
  border-top: 1px solid var(--es-border);
}
.pdp-showcase-quantity {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 13px;
  margin-bottom: 13px;
}
.pdp-showcase-quantity .pdp-qty { margin: 0; height: 44px; border-radius: 999px; }
.pdp-showcase .pdp-delivery-note { margin: 0 0 11px; font-size: 12px; color:var(--es-link); }
.pdp-delivery-note a:hover { text-decoration:underline; text-underline-offset:3px; }
.pdp-showcase .pdp-delivery-note svg { width: 16px; height: 16px; }
.pdp-showcase .pdp-purchase-line {
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 8px;
}
.pdp-showcase .pdp-purchase-line:has(.pdp-showcase-buy) {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 48px;
}
.pdp-showcase .pdp-purchase-line .btn {
  min-height: 48px;
  min-width: 0;
  padding-inline: 8px;
  gap: 6px;
  font-size: clamp(12px, 1.15vw, 15px);
  letter-spacing: 0;
}
.pdp-showcase .pdp-purchase-line .btn svg { width: 17px; height: 17px; flex: none; }
.pdp-showcase .pdp-showcase-buy { border-radius: 999px; }

.pdp-showcase-details {
  grid-area: details;
  min-width: 0;
  scroll-margin-top: calc(var(--showroom-masthead) + var(--pdp-inset));
}
.pdp-showcase--overlay .pdp-showcase-details { scroll-margin-top:var(--pdp-inset); }
.pdp-showcase-specs, .pdp-showcase :is(.pdp-delivery,.pdp-related,.es-reviews) {
  padding: var(--pdp-panel-padding);
  border: 1px solid var(--es-border);
  border-radius: var(--pdp-radius);
  background: var(--pdp-panel);
}
.pdp-showcase :is(.pdp-showcase-specs,.pdp-delivery) h2 { margin:0; font-size:clamp(26px,3vw,38px); }
.pdp-about { margin-block:16px 22px; }
.pdp-showcase :is(.pdp-about,.pdp-features,.pdp-delivery) h3 { font:700 1rem/1.3 var(--sans); margin:0 0 5px; }
.pdp-features { margin-block:16px 22px; }
.pdp-feature-list {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));
  gap:8px 18px;
  margin:10px 0 0;
  padding:0;
  list-style:none;
}
.pdp-feature-list li {
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  gap:9px;
  overflow-wrap:anywhere;
}
.pdp-feature-list svg {
  width:30px;
  height:30px;
  padding:6px;
  border-radius:8px;
  background:var(--es-tint);
  color:var(--es-on-tint);
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.es-readable-copy { white-space:pre-line; overflow-wrap:anywhere; max-width:72ch; margin:0; }
.es-copy-more { margin-top:5px; }
.es-copy-more summary { width:max-content; padding-block:5px; color:var(--es-link); cursor:pointer; font-weight:650; }
.es-copy-more[open] summary span:first-child,.es-copy-more:not([open]) summary span:last-child { display:none; }
.es-copy-more[open] .es-readable-copy { margin-top:5px; }
.pdp-delivery {
  margin-top:clamp(14px,2.5vw,26px);
  scroll-margin-top:calc(var(--showroom-masthead) + var(--pdp-inset));
}
.pdp-showcase--overlay .pdp-delivery { scroll-margin-top:var(--pdp-inset); }
.pdp-delivery-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr)); gap:14px 24px; margin-top:16px; }
.pdp-delivery-option { display:grid; grid-template-columns:40px minmax(0,1fr); gap:11px; align-items:start; }
.pdp-delivery-option p { margin:0; color:var(--es-muted); overflow-wrap:anywhere; }
.pdp-delivery-option .pdp-delivery-estimate { margin-top:5px; color:var(--es-text); font-weight:650; }
.pdp-delivery-icon { display:grid; place-items:center; width:40px; height:40px; border-radius:12px; background:var(--es-tint); color:var(--es-on-tint); }
.pdp-delivery-icon svg { width:21px; height:21px; }
.pdp-delivery-guidance { color:var(--es-muted); margin:16px 0 0; overflow-wrap:anywhere; }
.pdp-warranty { margin-top:16px; }
.pdp-delivery :is(.pdp-delivery-options,.pdp-delivery-guidance)+.pdp-warranty { padding-top:16px; border-top:1px solid var(--es-border); }
.pdp-delivery-policy { display:inline-block; margin-top:15px; color:var(--es-link); font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.pdp-showcase .pdp-spec-grid { gap: 12px 24px; margin-top: 12px; padding-top: 12px; }
.pdp-showcase .pdp-spec-grid dd { font-weight: 600; }
.pdp-showcase .pdp-spec-grid > div { min-width:0; }
.pdp-showcase .pdp-spec-grid dd { overflow-wrap:anywhere; }
.pdp-showcase .pdp-purchase-line .btn:disabled,
.pdp-showcase .pdp-purchase-line .btn:disabled:hover {
  opacity:1;
  background:var(--es-tint);
  color:var(--es-on-tint);
  border-color:var(--es-border);
}
.pdp-showcase .pdp-story-list, .pdp-showcase .pdp-related { margin-top: clamp(16px, 2.5vw, 32px); }
.pdp-showcase .pdp-related .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdp-showcase .pdp-story figcaption { color: var(--es-text); }
.pdp-story-below .pdp-story:not(.es-full-bleed) { width:min(1320px,calc(100% - 28px)); margin-inline:auto; }
.pdp-story-below .pdp-story.es-full-bleed { border-radius:0; }
.pdp-showcase:has(.pdp-story-below) > .pdp-shell:has(.pdp-overview) { padding-bottom:0; }
.pdp-showcase .pdp-media-followup { max-width:1320px; }

@media (min-width: 721px) and (orientation: landscape) and (max-height: 700px), (min-width: 901px) and (max-height: 700px) {
  .pdp-showcase { --pdp-inset:12px; --pdp-panel-padding:clamp(14px,1.5vw,22px); }
  .pdp-showcase-summary { padding-top:10px; }
  .pdp-showcase-bar { margin-bottom:4px; }
  .pdp-showcase-tool { width:40px; height:40px; }
  .pdp-showcase .pdp-information h1 { font-size:clamp(26px,min(3vw,6svh),40px); margin-bottom:8px; }
  .pdp-showcase .pdp-review-row { margin-bottom:9px; }
  .pdp-showcase .pdp-stock { margin-block:6px 8px; }
  .pdp-showcase .pdp-purchase fieldset { margin-bottom:8px; }
  .pdp-showcase .pdp-showcase-options { padding-block:2px 5px; }
  .pdp-showcase .pdp-finish-photo { width:28px; height:28px; }
  .pdp-showcase-quantity { margin-bottom:6px; }
  .pdp-showcase-actions { padding-top:9px; }
  .pdp-showcase .pdp-purchase-line .btn { min-height:44px; }
}
@media (max-width: 720px), (max-width: 900px) and (orientation: portrait), (max-height: 470px) {
  .pdp-showcase-tools {
    position: absolute;
    z-index: 4;
    inset: max(8px, env(safe-area-inset-top)) max(13px, env(safe-area-inset-right)) auto auto;
  }
  .pdp-showcase-tool { box-shadow: 0 5px 16px #28190924; }
}
@media (max-width: 720px), (max-width: 900px) and (orientation: portrait) {
  .pdp-showcase {
    --pdp-inset: 52px;
    --pdp-panel-padding: clamp(14px, 4vw, 28px);
  }
  .pdp-showcase .pdp-shell { width: calc(100% - 24px); padding-bottom: 146px; }
  .pdp-showcase .pdp-overview { grid-template: 'visual' auto 'purchase' auto 'details' auto / minmax(0, 1fr); gap: 12px; }
  .pdp-showcase .pdp-gallery, .pdp-showcase .pdp-gallery:has(.pdp-thumbnails) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    height: auto;
    gap: 8px;
  }
  .pdp-showcase .pdp-gallery-stage { height: clamp(255px, 51svh, 540px); }
  .pdp-showcase .pdp-gallery:has(.pdp-thumbnails) .pdp-gallery-stage {
    height:clamp(128px,calc(100svh - var(--showroom-masthead) - var(--pdp-inset) - 196px),480px);
  }
  .pdp-showcase .pdp-thumbnails { grid-area: 2 / 1; flex-direction: row; justify-self: center; max-width: 100%; }
  .pdp-showcase .pdp-thumbnails button { width: 58px; }
  .pdp-showcase-detail-link { display: none; }
  .pdp-showcase .pdp-information h1 { font-size: clamp(32px, 7.8vw, 52px); }
  .pdp-showcase .pdp-review-row { margin-bottom:8px; }
  .pdp-showcase .pdp-showcase-quantity { margin-bottom:8px; }
  .pdp-showcase--compact .pdp-showcase-thumb:not(:empty) { display: none; }
  .pdp-showcase .pdp-purchase-line,
  .pdp-showcase .pdp-purchase-line:has(.pdp-showcase-buy) { gap: 6px; }
  .pdp-showcase .pdp-purchase-line .btn { font-size: 13px; }
  .pdp-showcase .pdp-qty button { width: 38px; }
  .pdp-showcase .pdp-qty input { width: 36px; }
  .pdp-showcase-backdrop .pdp-media { inset:-9% -18% 9%; opacity:.16; filter:blur(34px) saturate(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .pdp-showcase--compact .pdp-showcase-thumb { animation: none; }
}
