/* Marketplace listing preview (product pages). Always light, neutral, generic: no third-party brand assets. */
.page-product, .aplus-preview { --mk-ink: #0f1111; --mk-muted: #565959; --mk-link: #1f6f8b; --mk-line: #d5d9d9; --mk-soft: #f7f8f8; --mk-star: #f59e0b; --mk-deal: #b12704; background: #fff; color: var(--mk-ink); }
.page-product .site-header { background: rgba(255,255,255,.94); }

.pdp { max-width: 1500px; margin: 0 auto; padding: 12px var(--gutter) 64px; font-size: 14px; line-height: 1.45; }
.pdp h2 { font-size: 20px; font-weight: 700; letter-spacing: 0; margin: 0 0 12px; }
.pdp-crumbs { font-size: 12px; color: var(--mk-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pdp-crumbs a { color: var(--mk-muted); text-decoration: none; }
.pdp-crumbs a:hover { color: var(--mk-link); text-decoration: underline; }

/* ---------- Top: gallery / info / buy box ---------- */
.pdp-top { position: relative; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gallery" "details" "buy"; }
.pdp-gallery { grid-area: gallery; min-width: 0; }
.pdp-head { grid-area: head; min-width: 0; }
.pdp-details { grid-area: details; min-width: 0; }
.pdp-buybox { grid-area: buy; }
@media (min-width: 760px) {
  .pdp-top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-areas: "gallery head" "gallery details" "gallery buy"; grid-template-rows: auto auto 1fr; column-gap: 32px; row-gap: 12px; }
  .pdp-gallery { position: sticky; top: calc(var(--header-h) + 12px); align-self: start; }
}
@media (min-width: 1100px) {
  .pdp-top { grid-template-columns: minmax(0, 40%) minmax(0, 1fr) 244px; grid-template-areas: "gallery head buy" "gallery details buy"; grid-template-rows: auto 1fr; }
  .pdp-buybox { align-self: start; position: sticky; top: calc(var(--header-h) + 12px); }
}

/* Gallery */
.pdp-gallery { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pdp-thumbs { display: none; list-style: none; margin: 0; padding: 0; }
.pdp-thumbs button { display: block; width: 44px; height: 44px; padding: 2px; border: 1px solid var(--mk-line); border-radius: 6px; background: #fff; cursor: pointer; }
.pdp-thumbs button.is-active, .pdp-thumbs button:hover { border-color: var(--mk-link); box-shadow: 0 0 0 2px rgba(31,111,139,.25); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-main { position: relative; background: #fff; }
.pdp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pdp-track::-webkit-scrollbar { display: none; }
.pdp-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 1; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.pdp-slide img { width: 100%; height: 100%; object-fit: contain; }
.pdp-dots { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.pdp-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--mk-line); }
.pdp-dots span.is-active { background: var(--mk-ink); }
.pdp-hint { display: none; text-align: center; font-size: 12px; color: var(--mk-muted); margin: 6px 0 0; }
@media (min-width: 760px) {
  .pdp-gallery { grid-template-columns: 48px minmax(0, 1fr); align-items: start; }
  .pdp-thumbs { display: flex; flex-direction: column; gap: 8px; max-height: 620px; overflow-y: auto; }
  .pdp-track { display: block; overflow: visible; }
  .pdp-slide { display: none; }
  .pdp-slide.is-active { display: flex; }
  .pdp-dots { display: none; }
  .pdp-hint { display: block; grid-column: 2; }
}
.pdp-lens { position: absolute; border: 1px solid rgba(0,0,0,.25); background: rgba(255,255,255,.35); pointer-events: none; }
.pdp-zoom { position: absolute; z-index: 20; background-color: #fff; background-repeat: no-repeat; border: 1px solid var(--mk-line); box-shadow: 0 6px 24px rgba(0,0,0,.12); pointer-events: none; }

/* Head */
.pdp-brand { color: var(--mk-link); font-size: 14px; margin: 0 0 4px; }
.pdp-title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 400; line-height: 1.3; letter-spacing: 0; margin: 0 0 6px; max-width: none; }
.pdp-rating { display: flex; align-items: center; gap: 6px; font-size: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--mk-line); }
.pdp-rating-n { font-weight: 400; }
.pdp-count { color: var(--mk-link); }
.stars { --pct: calc(var(--r, 0) / 5 * 100%); font-size: 17px; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--mk-star) var(--pct), #e3e6e6 var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }

/* Details */
.pdp-price { padding: 10px 0 12px; border-bottom: 1px solid var(--mk-line); }
.price { display: inline-flex; align-items: flex-start; color: var(--mk-ink); line-height: 1; }
.price sup { font-size: 13px; top: 0; position: relative; margin-top: 4px; }
.price .whole { font-size: 28px; font-weight: 400; }
.price small { font-size: 13px; color: var(--mk-muted); margin: 6px 0 0 4px; }
.price-text { font-size: 22px; }
.pdp-list { color: var(--mk-muted); font-size: 12px; margin: 6px 0 0; }
.pdp-variants { padding: 14px 0; border-bottom: 1px solid var(--mk-line); }
.pdp-vlabel { margin: 0 0 8px; color: var(--mk-muted); }
.pdp-vlabel strong { color: var(--mk-ink); font-weight: 700; }
.swatches { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 52px; height: 52px; padding: 3px; border: 1px solid var(--mk-line); border-radius: 8px; background: #fff; cursor: pointer; }
.swatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.swatch.swatch-text { width: auto; min-width: 52px; height: 38px; padding: 0 12px; font: inherit; font-size: 13px; }
.swatch:hover { border-color: var(--mk-muted); }
.swatch.is-active { border-color: var(--mk-link); box-shadow: 0 0 0 2px rgba(31,111,139,.35); }
.pdp-about { padding-top: 14px; }
.pdp-about h2 { font-size: 16px; margin-bottom: 8px; }
.pdp-about ul { margin: 0; padding-left: 18px; }
.pdp-about li { margin-bottom: 6px; }

/* Buy box (decorative) */
.pdp-buybox { border: 1px solid var(--mk-line); border-radius: 8px; padding: 18px; background: #fff; display: grid; gap: 10px; align-content: start; user-select: none; filter: grayscale(1); opacity: .85; }
.bb-price { font-size: 24px; margin: 0; }
.bb-line { margin: 0; color: var(--mk-muted); font-size: 13px; }
.bb-stock { margin: 0; color: #067d62; font-size: 17px; }
.bb-qty { border: 1px solid var(--mk-line); border-radius: 8px; padding: 6px 10px; background: var(--mk-soft); font-size: 13px; display: flex; justify-content: space-between; }
.bb-btn { display: block; text-align: center; padding: 9px; border-radius: 20px; font-size: 13px; background: #e7e9ec; color: #6b6f70; }
.bb-note { margin: 4px 0 0; font-size: 11px; color: var(--mk-muted); text-align: center; }

/* Specs */
.pdp-specs { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--mk-line); max-width: 760px; }
.pdp-specs table { width: 100%; border-collapse: collapse; }
.pdp-specs th, .pdp-specs td { text-align: left; padding: 8px 14px; border-bottom: 1px solid #e7e7e7; vertical-align: top; font-size: 14px; }
.pdp-specs th { width: 40%; background: #f3f3f3; font-weight: 700; color: #333; }

/* Description */
.pdp-desc { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--mk-line); max-width: 970px; }

/* ---------- A+ ("From the brand") ---------- */
.pdp-aplus { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--mk-line); }
.aplus-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.aplus-head h2 { margin: 0; }
.view-toggle { display: inline-flex; border: 1px solid var(--mk-line); border-radius: 999px; padding: 3px; background: var(--mk-soft); }
.view-toggle button { font: inherit; font-size: 13px; border: 0; background: transparent; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--mk-muted); }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--mk-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.aplus { transition: background .25s; }
.aplus-inner { container: aplus / inline-size; margin: 0 auto; transition: max-width .35s var(--ease, ease); max-width: 1464px; }
.aplus[data-view="mobile"] { background: var(--mk-soft); padding: 28px 0; border-radius: 12px; }
.aplus[data-view="mobile"] .aplus-inner { max-width: 375px; background: #fff; border: 10px solid #1d1d1f; border-radius: 36px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.18); padding-top: 14px; }
@media (max-width: 480px) { .view-toggle { display: none; } }

/* Module frame: standard modules render at 970px, premium / brand-story modules at 1464px. */
.ap { margin: 0 auto 24px; color: var(--mk-ink, #0f1111); font-size: 14px; line-height: 1.5; }
.ap-std { max-width: 970px; }
.ap-premium { max-width: 1464px; }
.ap h3 { font-size: 20px; font-weight: 700; letter-spacing: 0; margin: 12px 0 8px; }
.ap h4 { font-size: 15px; font-weight: 700; letter-spacing: 0; margin: 10px 0 4px; }
.ap p { margin: 0 0 8px; }
.ap-title { text-align: center; margin-bottom: 16px !important; }
.ap-img { position: relative; overflow: hidden; background: #f3f3f3; width: 100%; }
.ap-img img, .ap-img video { width: 100%; height: 100%; }
.ap-img .fit-cover { object-fit: cover; }
.ap-img .fit-contain { object-fit: contain; background: #fff; }
.ap-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #999; font-size: 12px; letter-spacing: .05em; }
.ap-mob { display: none; }
figure { margin: 0; }

/* Hero banner */
.ap-hero { position: relative; }
.ap-hero-copy { position: absolute; top: 50%; transform: translateY(-50%); max-width: 42%; padding: 0 5%; }
.ap-pos-left .ap-hero-copy { left: 0; }
.ap-pos-right .ap-hero-copy { right: 0; text-align: right; }
.ap-pos-center .ap-hero-copy { left: 50%; transform: translate(-50%, -50%); text-align: center; max-width: 60%; }
.ap-hero h3 { font-size: clamp(22px, 2.6vw, 38px); line-height: 1.1; margin: 0 0 10px; }
.ap-hero p { font-size: clamp(13px, 1.1vw, 17px); }
.ap-tone-light .ap-hero-copy { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.ap-tone-dark .ap-hero-copy { color: #111; }

/* Header image + text */
.ap-header h3 { margin-top: 16px; }

/* Single image + sidebar */
.ap-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
.ap-sb-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.ap-sb-side { background: #f7f7f7; padding: 16px; align-self: start; }
.ap-sb-side ul { margin: 8px 0 0; padding-left: 18px; }
.ap-sb-side li { margin-bottom: 6px; }

/* Columns */
.ap-cols { display: grid; gap: 20px; }
.ap-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ap-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ap-cols figcaption { padding-top: 8px; }
.ap-four-row .ap-img { max-width: 220px; margin: 0 auto; }
.ap-three .ap-img { max-width: 300px; margin: 0 auto; }
.ap-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.ap-quad figure { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 14px; align-items: start; }
.ap-quad figcaption { padding-top: 0; }
.ap-quad h4 { margin-top: 0; }

/* Comparison chart */
.ap-compare-scroll { overflow-x: auto; }
.ap-compare table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 560px; }
.ap-compare th, .ap-compare td { padding: 8px; text-align: center; border-bottom: 1px solid #e7e7e7; font-size: 13px; vertical-align: middle; }
.ap-compare thead th { vertical-align: top; font-weight: 400; }
.ap-compare tbody th { text-align: left; font-weight: 700; width: 18%; background: #fafafa; }
.ap-compare-corner { width: 18%; }
.ap-compare .ap-img { max-width: 150px; margin: 0 auto 6px; background: #fff; }
.ap-compare .is-current { background: #f0f7fa; }
.ap-compare thead .is-current { box-shadow: inset 0 3px 0 var(--mk-link, #1f6f8b); }
.ap-compare-name { display: block; font-size: 13px; line-height: 1.3; }
.ap-this { display: block; font-size: 11px; font-weight: 700; color: var(--mk-link, #1f6f8b); text-transform: uppercase; letter-spacing: .04em; }
.ap-yes { color: #067d62; font-weight: 700; font-size: 16px; }
.ap-no { color: #aaa; }

/* Image + text */
.ap-imgtext { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; }
.ap-align-right { grid-template-columns: minmax(0, 1fr) 300px; }
.ap-align-right .ap-img { order: 2; }

/* Carousel */
.ap-carousel { position: relative; }
.ap-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ap-car-track::-webkit-scrollbar { display: none; }
.ap-car-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; }
.ap-car-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 5%; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); font-size: 15px; }
.ap-car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 64px; border: 0; background: rgba(255,255,255,.85); font-size: 28px; cursor: pointer; color: #111; box-shadow: 0 1px 6px rgba(0,0,0,.15); }
.ap-car-btn.prev { left: 0; border-radius: 0 6px 6px 0; } .ap-car-btn.next { right: 0; border-radius: 6px 0 0 6px; }
.ap-car-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0; }
.ap-car-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #ccc; padding: 0; cursor: pointer; }
.ap-car-dots button[aria-selected="true"] { background: #333; }

/* Text */
.ap-text { max-width: 970px; }

/* Brand story */
.ap-story { position: relative; overflow: hidden; background: #f3f3f3; }
.ap-story-bg { position: absolute; inset: 0; }
.ap-story-bg img { width: 100%; height: 100%; object-fit: cover; }
.ap-story-inner { position: relative; padding: 28px 0 28px 28px; }
.ap-story.has-bg .ap-title { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.ap-story-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding-right: 28px; scrollbar-width: thin; }
.ap-story-card { flex: 0 0 min(362px, 78%); background: #fff; scroll-snap-align: start; padding-bottom: 12px; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.ap-story-card h4, .ap-story-card p { padding: 0 14px; }
.ap-story .ap-title { text-align: left; }

/* ---------- Narrow container (phones, or the "Mobile view" toggle) ---------- */
@container aplus (max-width: 640px) {
  .ap { margin-bottom: 18px; }
  .ap h3 { font-size: 18px; padding: 0 14px; }
  .ap p, .ap h4 { padding-left: 14px; padding-right: 14px; }
  .ap-desk.has-mobile { display: none; }
  .ap-mob { display: block; }
  .ap-hero-copy { position: static; transform: none; max-width: none; padding: 12px 0 0; color: var(--mk-ink, #111) !important; text-shadow: none !important; text-align: left !important; }
  .ap-pos-center .ap-hero-copy { transform: none; }
  .ap-sidebar, .ap-sb-main, .ap-imgtext, .ap-align-right { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ap-align-right .ap-img { order: 0; }
  .ap-sb-main .ap-img, .ap-imgtext .ap-img { max-width: none; }
  .ap-sb-side { margin: 0 14px; }
  .ap-cols-3 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ap-cols-4, .ap-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .ap-quad figure { grid-template-columns: minmax(0, 1fr); }
  .ap-three .ap-img, .ap-four-row .ap-img { max-width: none; }
  .ap-cols figcaption h4, .ap-cols figcaption p { padding: 0 4px; }
  .ap-car-btn { display: none; }
  .ap-story-inner { padding: 18px 0 18px 14px; }
  .ap-story-card { flex-basis: 78%; }
}

/* Admin live-preview iframe */
.aplus-preview { margin: 0; padding: 16px 0; font-family: var(--font); }
.aplus-preview .aplus[data-view="mobile"] { padding: 0; background: #fff; }
.aplus-preview .aplus[data-view="mobile"] .aplus-inner { border: 0; border-radius: 0; box-shadow: none; max-width: none; }

/* Lightbox */
.pdp-lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #fff; }
.pdp-lightbox::backdrop { background: rgba(0,0,0,.5); }
.pdp-lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
html.lb-open { overflow: hidden; }
.lb-stage { position: relative; min-height: 0; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 48px 56px 12px; }
.lb-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-close { position: absolute; top: 10px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; background: none; font-size: 34px; line-height: 1; cursor: pointer; color: #333; }
.lb-nav { position: absolute; top: 45%; z-index: 2; width: 44px; height: 64px; border: 1px solid var(--mk-line); background: #fff; font-size: 30px; cursor: pointer; border-radius: 6px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-thumbs { list-style: none; margin: 0; padding: 10px; display: flex; gap: 8px; justify-content: center; overflow-x: auto; border-top: 1px solid var(--mk-line); }
.lb-thumbs button { width: 56px; height: 56px; padding: 2px; border: 1px solid var(--mk-line); border-radius: 6px; background: #fff; cursor: pointer; }
.lb-thumbs button.is-active { border-color: var(--mk-link); box-shadow: 0 0 0 2px rgba(31,111,139,.3); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 700px) { .lb-nav { display: none; } .lb-slide { padding: 56px 8px 8px; } }

/* Video in gallery / lightbox / A+ */
.pdp-slide.is-video { cursor: default; background: #000; }
.pdp-slide video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; background: #000; display: block; }
.pdp-thumbs button, .lb-thumbs button { position: relative; }
.pdp-thumbs button.is-video, .lb-thumbs button.is-video { background: #1d1d1f; }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; }
.play-badge::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.65) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='%23fff'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: 0 0 0 1.5px #fff; }
.lb-video video { max-width: 100%; max-height: 100%; width: auto; height: 100%; background: #000; }
.ap-video-frame { background: #000; }
.ap-video-el { width: 100%; height: auto; display: block; background: #000; }
.ap-video-copy { max-width: 970px; margin: 12px auto 0; }
.ap-video-el.is-portrait { width: auto; height: min(85vh, 900px); max-width: 100%; margin: 0 auto; }

/* Listing-preview context bar and "More listings" */
.pdp-context { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; padding: 10px 14px; border: 1px solid var(--mk-line); border-radius: 8px; background: var(--mk-soft); font-size: 13px; color: var(--mk-muted); }
.pdp-context p { margin: 0; flex: 1 1 320px; }
.pdp-context-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mk-ink); background: #fff; border: 1px solid var(--mk-line); padding: 2px 8px; border-radius: 999px; }
.pdp-context-link { color: var(--mk-link); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pdp-context-link:hover { text-decoration: underline; }
.pdp-more { max-width: 1500px; padding-top: 40px; padding-bottom: 24px; border-top: 1px solid var(--mk-line); }
.pdp-context .ctx-short { display: none; }
@media (max-width: 640px) {
  .pdp-context { padding: 8px 10px; gap: 6px 10px; font-size: 12px; margin-bottom: 12px; }
  .pdp-context .ctx-long { display: none; }
  .pdp-context .ctx-short { display: block; flex-basis: 100%; }
}
.pdp-review { margin-top: 32px; }
.pdp-review .client-review { margin: 0; background: var(--mk-soft); }
