/* =========================================================================
   SHEENEFFECT — PDP v3 (rebuilt to match ourbellacosmetics reference).
   Scope: .pdp  (only loaded on singular products via PDP-ENQ)
   Visual language: rose accent (#c94f7c), 20px rounded media, sticky info,
   variant pill rail, buy card, sticky purchase bar, mobile buy sheet,
   share, product-questions, reviews, related slider.
   ========================================================================= */

body.single-product main.pdp-main,
body.single-product main.ses-wc-main { padding: 0 52px; padding-top: 8px; }

.pdp {
  --pdp-accent: #c94f7c;
  --pdp-accent-deep: #a83a64;
  --pdp-line: #e7e5e0;
  --pdp-line-soft: #f0eee9;
  --pdp-ink: #111114;
  --pdp-muted: #75757d;
  --pdp-card: #f6f5f3;
  --pdp-radius: 16px;
  --pdp-gap: 48px;
  --pdp-stick: 96px;
  color: var(--pdp-ink);
  max-width: 1560px;
  margin: 0 auto;
  font-family: "Helvetica Neue", "Segoe UI", "PingFang SC", system-ui, sans-serif;
}

/* ---------------------------------------------------------------- breadcrumb */
.pdp-crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--pdp-muted);
  padding: 14px 0 18px;
}
.pdp-crumb a { text-decoration: none; }
.pdp-crumb a:hover { color: var(--pdp-ink); text-decoration: underline; text-underline-offset: 3px; }
.pdp-crumb__sep { opacity: .5; }
.pdp-crumb__cur { color: var(--pdp-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 52ch; }

/* -------------------------------------------------------------------- grid */
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--pdp-gap);
  align-items: start;
}

/* ------------------------------------------------------------------ media */
.pdp-media { position: sticky; top: var(--pdp-stick); min-width: 0; }
.pdp-viewer {
  position: relative; width: 100%;
  aspect-ratio: 1 / 1; max-height: calc(100vh - 220px);
  overflow: hidden; border-radius: 20px;
  background: var(--pdp-card); isolation: isolate;
}
.pdp-track {
  display: flex; height: 100%;
  will-change: transform;
  transition: transform .42s cubic-bezier(.4, 0, .2, 1);
}
.pdp-track.is-dragging { transition: none; }
.pdp-slide {
  flex: 0 0 100%; min-width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.pdp-slide__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-slide__video { width: 100%; height: 100%; object-fit: contain; background: #0f0f11; }

.pdp-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(17,17,20,.16); border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--pdp-ink);
  cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease; z-index: 3;
}
.pdp-nav--prev { left: 14px; }
.pdp-nav--next { right: 14px; }
.pdp-viewer:hover .pdp-nav, .pdp-viewer:focus-within .pdp-nav { opacity: 1; }
.pdp-nav:hover { background: #fff; }

.pdp-zoom {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--pdp-line); border-radius: 50%;
  background: #fff; color: var(--pdp-ink); cursor: pointer;
  opacity: 0; transition: opacity .2s ease; z-index: 3;
}
.pdp-viewer:hover .pdp-zoom, .pdp-viewer:focus-within .pdp-zoom { opacity: 1; }

.pdp-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 10px) / 5);
  gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px;
}
.pdp-thumbs::-webkit-scrollbar { display: none; }
.pdp-thumb {
  position: relative; padding: 0;
  border: 1px solid var(--pdp-line-soft); border-radius: 10px;
  background: #fff; aspect-ratio: 1 / 1; overflow: hidden; cursor: pointer;
  transition: border-color .18s ease, opacity .18s ease; opacity: .82;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { opacity: 1; border-color: #c9c6bf; }
.pdp-thumb.is-active { border-color: var(--pdp-ink); opacity: 1; box-shadow: inset 0 0 0 1px var(--pdp-ink); }
.pdp-thumb__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(17,17,20,.34); color: #fff; }

/* ------------------------------------------------------------------- info */
.pdp-info { min-width: 0; padding: 4px 0 0; }

.pdp-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.18; font-weight: 600; letter-spacing: -.022em;
  text-wrap: balance; overflow-wrap: break-word;
}

.pdp-rating {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--pdp-muted);
  text-decoration: none; margin-bottom: 14px; align-self: flex-start;
}
.pdp-rating:hover .pdp-rating__count { text-decoration: underline; text-underline-offset: 3px; }
.pdp-stars { display: inline-flex; gap: 1px; }
.pdp-stars svg { fill: #dcdad4; }
.pdp-stars svg.on { fill: #f0a92a; }
.pdp-rating__score { color: var(--pdp-ink); font-weight: 600; }

/* price — ourbella style: big accent price, muted was, small sale note */
.pdp-price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px;
  margin: 0 0 10px; padding: 0;
}
.pdp-price__now {
  font-size: 30px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
.pdp-price__now .woocommerce-Price-currencySymbol { font-size: .68em; font-weight: 700; vertical-align: 8%; }
.pdp-price.is-sale .pdp-price__now { color: var(--pdp-accent); }
.pdp-price__was { font-size: 16px; color: var(--pdp-muted); text-decoration: line-through; font-variant-numeric: lining-nums tabular-nums; }
.pdp-price__off {
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  padding: 3px 7px; border-radius: 5px;
  color: #fff; background: var(--pdp-accent);
}
.pdp-price__small { font-size: 11.5px; font-weight: 600; color: var(--pdp-accent-deep); letter-spacing: .01em; }

/* stock */
.pdp-stock {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; margin: 0 0 20px;
}
.pdp-stock__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #187a3d; box-shadow: 0 0 0 3px rgba(24,122,61,.12);
}
.pdp-stock.is-in { color: #187a3d; }
.pdp-stock.is-out { color: #b3261e; }
.pdp-stock.is-out .pdp-stock__dot { background: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }

/* shade rail */
.pdp-shades { margin-bottom: 22px; min-width: 0; }
.pdp-shades__label { margin: 0 0 12px; font-size: 13px; color: var(--pdp-muted); }
.pdp-shades__label strong { color: var(--pdp-ink); font-weight: 600; }
.pdp-shades__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 8px; padding: 2px 0;
}
.pdp-shade {
  position: relative; display: flex; flex-direction: column; align-items: center;
  gap: 7px; min-width: 0; text-align: center; text-decoration: none; color: var(--pdp-muted);
}
.pdp-shade__media {
  display: block; width: 100%; max-width: 52px; aspect-ratio: 1 / 1;
  border: 1px solid var(--pdp-line); border-radius: 50%; overflow: hidden;
  background: #fff; transition: border-color .16s ease, transform .16s ease;
}
.pdp-shade__media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); }
.pdp-shade:hover .pdp-shade__media { border-color: #b9b5ad; transform: translateY(-1px); }
.pdp-shade.is-current .pdp-shade__media { border-color: var(--pdp-accent); outline: 2px solid var(--pdp-accent); outline-offset: 2px; }
.pdp-shade__name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font-size: 10px; line-height: 12px; min-height: 24px; max-height: 24px; width: 100%; word-break: break-word;
}
.pdp-shade.is-current .pdp-shade__name { color: var(--pdp-ink); font-weight: 600; }

/* buy card */
.pdp-buycard {
  background: #fff; border: 1px solid var(--pdp-line);
  border-radius: 18px; padding: 18px;
  box-shadow: 0 2px 14px rgba(17,17,20,.05);
  margin: 0 0 18px;
}
.pdp-buy { display: flex; align-items: stretch; gap: 10px; margin: 0; flex-wrap: nowrap; }
.pdp-qty {
  display: flex; align-items: center; flex: 0 0 116px; height: 48px;
  border: 1px solid var(--pdp-line); border-radius: 24px; background: #fff; overflow: hidden;
}
.pdp-qty__btn {
  flex: 0 0 38px; height: 100%; border: 0; background: transparent;
  color: var(--pdp-ink); cursor: pointer; display: grid; place-items: center; transition: background .15s ease;
}
.pdp-qty__btn:hover { background: #f6f5f3; }
.pdp-qty__input {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 100%;
  border: 0; background: transparent; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--pdp-ink); padding: 0;
  -moz-appearance: textfield; appearance: textfield;
}
.pdp-qty__input::-webkit-outer-spin-button, .pdp-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-qty__input:focus { outline: none; }

.pdp-buycard .pdp-cta {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 24px;
  border: 1px solid var(--pdp-accent); border-radius: 24px;
  background: var(--pdp-accent); color: #fff;
  font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.pdp-buycard .pdp-cta:hover { background: var(--pdp-accent-deep); border-color: var(--pdp-accent-deep); }
.pdp-buycard .pdp-cta--ghost {
  flex: 0 0 auto; background: #fff; color: var(--pdp-ink); border-color: var(--pdp-ink);
}
.pdp-buycard .pdp-cta--ghost:hover { background: var(--pdp-ink); color: #fff; border-color: var(--pdp-ink); }
.pdp-buycard .pdp-cta.is-loading { opacity: .72; pointer-events: none; }

.pdp-oos { font-size: 13px; color: var(--pdp-muted); margin: 0; padding: 14px 0; }

/* trust row */
.pdp-trust { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pdp-trust li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #4a4a52; }
.pdp-trust svg { color: var(--pdp-muted); flex: none; }

/* share row */
.pdp-share { display: flex; gap: 10px; margin: 0 0 18px; flex-wrap: wrap; }
.pdp-share__btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 18px;
  border: 1px solid var(--pdp-line); border-radius: 24px;
  background: #fff; color: var(--pdp-ink);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.pdp-share__btn:hover { border-color: var(--pdp-ink); }
.pdp-share__btn svg { flex: none; }

/* description */
.pdp-desc { margin: 0 0 18px; max-width: 58ch; }
.pdp-desc p { margin: 0 0 8px; font-size: 14px; line-height: 1.66; color: #3d3d45; }
.pdp-more { margin-top: 6px; }
.pdp-more summary { font-size: 12.5px; font-weight: 600; color: var(--pdp-accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pdp-more p { margin: 8px 0 0; font-size: 14px; line-height: 1.66; color: #3d3d45; }

/* accordions */
.pdp-acc { border-top: 1px solid var(--pdp-line); }
.pdp-acc__item { border-bottom: 1px solid var(--pdp-line); }
.pdp-acc__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 54px; padding: 4px 0; cursor: pointer; list-style: none; user-select: none;
}
.pdp-acc__head::-webkit-details-marker { display: none; }
.pdp-acc__head h2 { margin: 0; font-size: 14.5px; line-height: 20px; font-weight: 600; letter-spacing: -.005em; }
.pdp-acc__icon { flex: none; color: var(--pdp-ink); transition: transform .25s ease; }
.pdp-acc__icon .v { transform-origin: center; transition: transform .25s ease, opacity .25s ease; }
.pdp-acc__item[open] .pdp-acc__icon .v { transform: scaleY(0); opacity: 0; }
.pdp-acc__body { padding: 4px 0 18px; max-width: 58ch; animation: pdp-fade .22s ease both; }
.pdp-acc__body p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.66; color: #3d3d45; }
.pdp-acc__body p:last-child { margin-bottom: 0; }
.pdp-acc__list { margin: 12px 0 0; padding: 0; list-style: none; }
.pdp-acc__list li { position: relative; padding-left: 16px; font-size: 13px; line-height: 1.9; color: #3d3d45; }
.pdp-acc__list li::before {
  content: ""; position: absolute; left: 2px; top: 11px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--pdp-accent);
}

.pdp-specs { width: 100%; border-collapse: collapse; font-size: 13px; }
.pdp-specs th, .pdp-specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--pdp-line-soft); vertical-align: top; }
.pdp-specs tr:last-child th, .pdp-specs tr:last-child td { border-bottom: 0; }
.pdp-specs th { width: 42%; font-weight: 500; color: var(--pdp-muted); padding-right: 12px; }
.pdp-specs td { color: #3d3d45; }

@keyframes pdp-fade { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }

.pdp-link { display: inline-block; margin-top: 6px; font-size: 12.5px; color: var(--pdp-accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------- sections */
.pdp-section {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--pdp-line);
}
.pdp-section__title {
  margin: 0 auto 28px; max-width: 720px;
  font-size: 30px; font-weight: 600; letter-spacing: -.02em; text-align: center;
}

/* detail long images */
.pdp-detail-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.pdp-detail-grid img { width: 100%; height: auto; border-radius: 10px; background: var(--pdp-card); display: block; }
.pdp-detail-grid img:only-child { grid-column: 1 / -1; }

/* product questions */
.product-questions-sec .pdp-section__title { font-size: 34px; }
.pdp-qas { max-width: 760px; margin: 0 auto; }
.pdp-qa { border-bottom: 1px solid var(--pdp-line); }
.pdp-qa:first-child { border-top: 1px solid var(--pdp-line); }
.pdp-qa__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 18px 0; cursor: pointer; list-style: none; user-select: none;
  font-size: 18px; font-weight: 500; color: var(--pdp-ink);
}
.pdp-qa__head::-webkit-details-marker { display: none; }
.pdp-qa__head svg { flex: none; color: var(--pdp-ink); transition: transform .25s ease; }
.pdp-qa[open] .pdp-qa__head svg .v { transform: scaleY(0); opacity: 0; }
.pdp-qa__body { padding: 0 0 18px; max-width: 64ch; animation: pdp-fade .22s ease both; }
.pdp-qa__body p { margin: 0 0 8px; font-size: 14px; line-height: 1.66; color: #3d3d45; }
.pdp-qa__body a { color: var(--pdp-accent); text-decoration: underline; text-underline-offset: 3px; }

/* reviews */
.pdp-reviews { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.pdp-reviews__summary { display: flex; align-items: center; gap: 14px; }
.pdp-reviews__score {
  font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: lining-nums tabular-nums;
}
.pdp-stars--lg svg { width: 15px; height: 15px; }
.pdp-reviews__meta { margin: 6px 0 0; font-size: 12px; color: var(--pdp-muted); }
.pdp-reviews__list { display: flex; flex-direction: column; gap: 18px; }
.pdp-review {
  border: 1px solid var(--pdp-line); border-radius: 12px; padding: 16px 18px; background: #fff;
}
.pdp-review__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pdp-review__top b { font-size: 13.5px; font-weight: 600; }
.pdp-review__date { font-size: 11.5px; color: var(--pdp-muted); }
.pdp-review p { margin: 0; font-size: 13.5px; line-height: 1.66; color: #3d3d45; }
.pdp-review--empty { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border-style: dashed; }

/* related */
.pdp-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pdp-rcard { display: flex; flex-direction: column; gap: 9px; text-decoration: none; color: inherit; }
.pdp-rcard__media {
  display: block; aspect-ratio: 1 / 1; border-radius: 12px;
  background: var(--pdp-card); overflow: hidden;
}
.pdp-rcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.pdp-rcard:hover .pdp-rcard__media img { transform: scale(1.05); }
.pdp-rcard__name {
  font-size: 12.5px; line-height: 1.45; color: #3d3d45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.pdp-rcard__price { font-size: 13.5px; font-weight: 700; }

/* ------------------------------------------------------- sticky purchase bar */
.pdp-stickybar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.97); backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--pdp-line);
  transform: translateY(100%); transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.pdp-stickybar.is-on { transform: none; }
.pdp-stickybar__inner {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  max-width: 1560px; margin: 0 auto;
}
.pdp-stickybar__media { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--pdp-card); }
.pdp-stickybar__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-stickybar__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; gap: 2px; }
.pdp-stickybar__name {
  font-size: 13px; font-weight: 600; color: var(--pdp-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pdp-stickybar__price { font-size: 15px; font-weight: 800; color: var(--pdp-accent); }
.pdp-stickybar__cta {
  flex: 0 0 auto; height: 48px; padding: 0 28px;
  border: 0; border-radius: 24px; background: var(--pdp-accent); color: #fff;
  font-size: 14px; font-weight: 700; cursor: pointer;
  transition: background .18s ease;
}
.pdp-stickybar__cta:hover { background: var(--pdp-accent-deep); }
.pdp-stickybar__cta:active { transform: scale(.985); }
.pdp-stickybar__cta.is-loading { opacity: .72; pointer-events: none; }

/* ------------------------------------------------------- mobile buy sheet */
.pdp-buysheet {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: #fff; border-radius: 20px 20px 0 0;
  padding: 12px 18px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 30px rgba(17,17,20,.14);
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.pdp-buysheet.is-on { transform: none; }
.pdp-buysheet__grab { width: 36px; height: 4px; border-radius: 2px; background: var(--pdp-line); margin: 0 auto 12px; }
.pdp-buysheet__row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pdp-buysheet__media { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--pdp-card); }
.pdp-buysheet__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-buysheet__meta { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; gap: 2px; }
.pdp-buysheet__name {
  font-size: 13.5px; font-weight: 600; color: var(--pdp-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pdp-buysheet__price { font-size: 16px; font-weight: 800; color: var(--pdp-accent); }
.pdp-buysheet__cta {
  width: 100%; height: 50px; border: 0; border-radius: 25px;
  background: var(--pdp-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: background .18s ease;
}
.pdp-buysheet__cta:hover { background: var(--pdp-accent-deep); }
.pdp-buysheet__cta.is-loading { opacity: .72; pointer-events: none; }

/* --------------------------------------------------------------- lightbox */
.pdp-lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.pdp-lightbox::backdrop { background: rgba(12,12,14,.86); }
.pdp-lightbox img { display: block; max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 10px; }
.pdp-lightbox__close {
  position: fixed; top: 20px; right: 22px;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer;
}

/* ---------------------------------------------------------------- toast */
.pdp-toast {
  position: fixed; left: 50%; bottom: 34px; transform: translate(-50%, 16px); z-index: 200;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  background: var(--pdp-ink); color: #fff; font-size: 13px;
  opacity: 0; pointer-events: none; transition: opacity .22s ease, transform .22s ease;
  max-width: calc(100vw - 32px);
}
.pdp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1280px) {
  .pdp { --pdp-gap: 36px; }
  .pdp-shades__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .pdp-related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  body.single-product main.pdp-main,
  body.single-product main.ses-wc-main { padding: 0 16px; }
  .pdp-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pdp-media { position: static; }
  .pdp-viewer { max-height: none; }
  .pdp-nav, .pdp-zoom { opacity: 1; }
  .pdp-info { padding: 0; }
  .pdp-reviews { grid-template-columns: 1fr; gap: 20px; }
  .pdp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .pdp-stickybar { display: block; }
  .pdp-buysheet { display: block; }
}

@media (max-width: 760px) {
  .pdp { --pdp-gap: 20px; }
  .pdp-crumb { padding: 10px 0 12px; font-size: 11.5px; }
  .pdp-crumb__cur { max-width: 24ch; }
  .pdp-viewer { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); }
  .pdp-thumbs { margin: 0 -16px; padding: 10px 16px 0; grid-auto-columns: 64px; gap: 8px; }
  .pdp-thumb { border-radius: 6px; }
  .pdp-title { font-size: 23px; line-height: 1.2; margin-bottom: 8px; }
  .pdp-price__now { font-size: 26px; }
  .pdp-price__was { font-size: 14px; }
  .pdp-shades__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 6px; }
  .pdp-shade__media { max-width: 44px; }
  .pdp-shade__name { font-size: 9.5px; line-height: 11px; min-height: 22px; max-height: 22px; }
  .pdp-buycard { padding: 14px; border-radius: 14px; }
  .pdp-trust { gap: 6px 14px; font-size: 12px; }
  .pdp-section { margin-top: 44px; padding-top: 24px; }
  .pdp-section__title { font-size: 24px; }
  .pdp-detail-grid { grid-template-columns: 1fr; }
  .pdp-reviews__score { font-size: 36px; }
  .pdp-qa__head { font-size: 16px; }
  .pdp-stickybar__inner { padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .pdp-stickybar__media { width: 44px; height: 44px; }
  .pdp-stickybar__cta { height: 44px; padding: 0 18px; }
  body.single-product.has-pdp-buysheet { padding-bottom: 120px; }
  .pdp-toast { bottom: calc(140px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 380px) {
  .pdp-shades__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-related__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-track, .pdp-stickybar, .pdp-buysheet, .pdp-toast, .pdp-acc__body, .pdp-qa__body {
    transition: none !important; animation: none !important;
  }
}
