/* Product page. Desktop numbers from the PDP PDF (1366 wide), relative to the page top under the header (67.4):
   rail x 139.5, photo x 212.3 (562.1 square), summary column x 825.3 (389 wide); photo top 42.9; title top 118.55;
   wave crest at 654.7, section ends at 748.5 where FEATURED PRODUCTS begins. */

.pm-pdp { position: relative; overflow-x: clip; background: var(--pm-blush-pdp); color: var(--pm-thumb-active); min-height: 748.5px; padding-bottom: 143.6px; }
.pm-pdp__inner {
  position: relative; z-index: 2; width: min(100%, var(--pm-wrap)); margin-inline: auto; padding: 42.9px 0 0 10.212%;
  display: grid; grid-template-columns: max-content 389px; column-gap: 50.9px; align-items: start; justify-content: start;
}
.pm-pdp__notices { grid-column: 1 / -1; margin-bottom: 12px; }
/* breadcrumb: in the space above the photo, so the design's measured layout keeps its place */
.pm-crumbs { position: absolute; top: 14px; left: 10.212%; right: 0; font: 400 11px/16px var(--pm-font); letter-spacing: var(--pm-track); color: var(--pm-thumb-active); }
.pm-crumbs__list { display: flex; flex-wrap: wrap; align-items: center; }
.pm-crumbs__item { display: inline-flex; align-items: center; white-space: nowrap; }
.pm-crumbs__item + .pm-crumbs__item::before { content: "›"; margin: 0 7px; opacity: .6; }
.pm-crumbs__item:last-child { white-space: normal; opacity: .75; }
.pm-crumbs__link { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 2px; transition: text-decoration-color var(--pm-fast); }
.pm-crumbs__link:hover, .pm-crumbs__link:focus-visible { text-decoration-color: currentColor; }
.pm-pdp__notices:empty { display: none; }
.pm-pdp__notices .woocommerce-error, .pm-pdp__notices .woocommerce-message { list-style: none; padding: 10px 14px; border: 1px solid var(--pm-rule); border-radius: 4px; font-size: 12px; }
.pm-pdp__wave { position: absolute; z-index: 1; bottom: -1px; left: -6.589%; width: 120.497%; fill: var(--pm-thumb); }

/* ---------- gallery ---------- */
.pm-gallery { display: flex; gap: 10.4px; align-items: flex-start; }
.pm-gallery__rail { display: flex; flex-direction: column; gap: 23.6px; max-height: 562.1px; overflow-y: auto; scrollbar-width: none; padding: 1px; margin: -1px; }
.pm-gallery__rail::-webkit-scrollbar { display: none; }
.pm-gallery__thumb { display: block; width: 62.4px; height: 62.4px; box-shadow: 0 0 0 1px var(--pm-thumb); background: #fff; overflow: hidden; transition: box-shadow var(--pm-fast); }
.pm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-gallery__thumb.is-on { box-shadow: 0 0 0 1.5px var(--pm-thumb-active); }
.pm-gallery__thumb:hover { box-shadow: 0 0 0 1.5px var(--pm-indigo); }
.pm-gallery__stage { position: relative; width: 562.1px; aspect-ratio: 1; box-shadow: 0 0 0 2px var(--pm-thumb); background: #fff; overflow: hidden; }
.pm-gallery__main { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.pm-gallery__img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--pm-ease); }
.pm-gallery__img.is-swapping { opacity: 0; }

/* full-screen viewer */
.pm-viewer { position: fixed; inset: 0; z-index: 260; background: rgba(46, 49, 77, .94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--pm-mid) var(--pm-ease), visibility 0s linear var(--pm-mid); }
.pm-viewer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.pm-viewer__img { max-width: min(92vw, 1400px); max-height: 88vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.pm-viewer__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(253, 242, 247, .12); color: var(--pm-blush); }
.pm-viewer__btn:hover { background: rgba(253, 242, 247, .25); }
.pm-viewer__close { top: 18px; right: 18px; }
.pm-viewer__prev { left: 18px; top: 50%; margin-top: -22px; }
.pm-viewer__next { right: 18px; top: 50%; margin-top: -22px; }
.pm-viewer__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--pm-periwinkle); font-size: 12px; }

/* ---------- summary column ---------- */
.pm-pdp__summary { margin-top: 75.65px; width: 389px; }
.pm-pdp__title { padding-left: 4.7px; max-width: 274.7px; font: 600 18px/21.6px var(--pm-font); color: var(--pm-thumb-active); }
.pm-pdp__short { margin-top: 14.35px; padding-left: 4.7px; font: 400 14px/1.55 var(--pm-font); }   /* client: larger than the design's 10px */
.pm-pdp__short p + p { margin-top: 6px; }
.pm-pdp__price { margin-top: 14.6px; padding-left: 2.6px; font: 600 13px/15.6px var(--pm-font); }
.pm-price__mrp { font-size: 11px; }
.pm-soldout--pdp { margin: 10px 0 2px; font-size: 12px; padding: 5px 12px 4px; }   /* client, 2026-11: easy to see */
.pm-pdp__add:disabled { cursor: not-allowed; background: var(--pm-rule); color: var(--pm-blush); }
/* other colours of this product (each is its own product): swatches that open it */
.pm-colours { margin-top: 16px; }
.pm-colour { display: block; }
.pm-colour.is-current .pm-opt__swatch { outline-color: var(--pm-thumb-active); }
.pm-colour:hover .pm-opt__swatch, .pm-colour:focus-visible .pm-opt__swatch { outline-color: var(--pm-rule); }
.pm-colour.is-unavailable .pm-opt__swatch { background: linear-gradient(135deg, transparent 46%, rgba(93, 99, 140, .7) 47% 53%, transparent 54%), var(--sw); }
/* "Size chart" beside the sizes, and its sheet */
.pm-opts:has(.pm-chart-btn) { position: relative; }
.pm-chart-btn { position: absolute; right: 0; top: -1px; font: 600 10.5px/12px var(--pm-font); letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .25em; color: var(--pm-thumb-active); }
.pm-chart-btn:hover { color: var(--pm-indigo); }
.pm-chart .pm-quick__panel { width: min(100%, 460px); }
.pm-chart__title span { font-weight: 400; text-transform: none; }
.pm-chart__table { margin-top: 14px; overflow-x: auto; }
.pm-chart__table .pm-size-chart { font-size: 12px; }
.pm-chart__table .pm-size-chart th, .pm-chart__table .pm-size-chart td { padding: 7px 5px; }
.pm-chart__note { margin-top: 10px; font-size: 11px; opacity: .8; }
.pm-price__was { margin-left: .6px; color: var(--pm-strike); text-decoration: line-through; text-decoration-thickness: .65px; text-decoration-color: var(--pm-strike); }
.pm-pdp__price .pm-price__now { margin-left: 8px; }
.pm-pdp__price .pm-price__mrp + .pm-price__now { margin-left: 0; }
.pm-pdp__tax { margin-top: 1.98px; padding-left: 2.6px; font: 400 10px/12px var(--pm-font); }
.pm-pdp__form { margin-top: 20.1px; }
.pm-pdp__row { display: flex; align-items: center; gap: 9.8px; }
.pm-pdp__qty { width: 64.4px; height: 24.4px; border: 1px solid var(--pm-rule); }
.pm-pdp__qty button, .pm-pdp__qty input { width: 21.47px; font: 400 12px/1 var(--pm-font); color: var(--pm-thumb-active); text-align: center; }
.pm-pdp__qty button:hover { color: var(--pm-indigo); background: rgba(183, 187, 220, .25); }
.pm-pdp__fav { display: inline-flex; color: var(--pm-thumb-active); }
.pm-pdp__fav .pm-i { width: 16.5px; height: 15.1px; transition: transform var(--pm-fast) var(--pm-ease); }
.pm-pdp__fav[aria-pressed="true"] .pm-i { fill: var(--pm-thumb-active); }
.pm-pdp__fav:hover .pm-i { transform: scale(1.12); }
.pm-pdp__add { display: flex; width: 389px; height: 37.7px; min-height: 0; margin-top: 20.1px; padding: 0 25px 0 19px;   /* the label sits 2.5px left of centre, as drawn */ font-size: 12px; letter-spacing: .046em; color: var(--pm-thumb-active); }
.pm-pdp__add.is-added { background: var(--pm-thumb-active); color: var(--pm-blush); }
.pm-pdp__msg { min-height: 0; margin-top: 6px; font-size: 11px; color: #8C3B4A; }
.pm-pdp__msg:empty { display: none; }
.pm-pdp__form.is-invalid .pm-opts { animation: pm-nudge .35s var(--pm-ease); }
@keyframes pm-nudge { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* accordion: 387.4 wide, rows ~40.2 tall, 5.4 corners */
.pm-acc { margin: 28.5px 0 0 1.4px; width: 387.4px; border: .864px solid var(--pm-rule); border-radius: 5.4px; }
.pm-acc__item + .pm-acc__item { border-top: 1px solid var(--pm-rule); }
.pm-acc__head { display: flex; align-items: center; justify-content: space-between; height: 39.4px; padding: 0 18.7px 0 12.9px; cursor: pointer; list-style: none; }
.pm-acc__head::-webkit-details-marker { display: none; }
.pm-acc__title { font: 600 11px/39.4px var(--pm-font); text-transform: uppercase; }
.pm-acc__more { position: relative; top: -2.4px; font: 400 9px/1 var(--pm-font); text-decoration: underline; text-decoration-thickness: .45px; text-underline-offset: .9px; }
.pm-acc__close { display: none; }
.pm-acc__item[open] .pm-acc__open { display: none; }
.pm-acc__item[open] .pm-acc__close { display: inline; }
.pm-acc__head:hover .pm-acc__title { color: var(--pm-indigo); }
.pm-acc__body { padding: 2px 15.8px 16px; font: 400 11px/1.55 var(--pm-font); overflow: hidden; }
.pm-acc__body p + p, .pm-acc__body p + ul, .pm-acc__body ul + p, .pm-acc__body table + p { margin-top: 8px; }
.pm-acc__body ul { list-style: disc; padding-left: 16px; }
.pm-acc__body li + li { margin-top: 2px; }
.pm-acc__body strong { font-weight: 600; }
.pm-acc__body a { text-decoration: underline; text-underline-offset: .15em; }
.pm-acc__returns { margin-top: 10px; }
.pm-acc__kicker { font-weight: 600; text-transform: uppercase; font-size: 10px; margin-bottom: 4px; }
.pm-acc__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; padding: 0; margin-top: 10px; }
.pm-acc__photos button { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--pm-thumb); cursor: zoom-in; }
.pm-acc__photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--pm-ease); }
.pm-acc__photos button:hover img { transform: scale(1.05); }
.pm-size-chart { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 10px; text-align: center; }
.pm-size-chart th, .pm-size-chart td { border: 1px solid var(--pm-rule); padding: 4px 3px; }
.pm-size-chart thead th { background: rgba(183, 187, 220, .25); }
.pm-size-chart tbody th { text-align: left; font-weight: 600; }

/* safe checkout: 387.6 x 42.8, 3.9 corners, legend on the top border */
.pm-safe { margin: 39.1px 0 0 -2.7px; width: 387.6px; height: 47.6px;   /* the border runs through the legend's middle (4.8px down) */ padding: 0; border: .853px solid var(--pm-rule); border-radius: 3.9px; text-align: center; }
.pm-safe__legend { margin: 0 auto; padding: 0 3px; font: 400 8px/9.6px var(--pm-font); position: relative; left: 4px; }
.pm-safe__marks { display: inline-block; width: 212.6px; height: 24.4px; margin-top: 6.4px; }

/* FEATURED PRODUCTS under the product (PDP variant: closer to the wave, no dots, on the --pm-thumb ground) */
.pm-featured.pm-featured--pdp { background: var(--pm-thumb); padding: 13.9px 0 87.45px; }
.pm-featured.pm-featured--pdp .pm-featured__mark { color: var(--pm-blush-pdp); }
.pm-featured.pm-featured--pdp .pm-featured__title { margin-top: 21.71px; color: var(--pm-thumb-active); }
.pm-featured.pm-featured--pdp .pm-carousel { margin-top: 40.5px; }
.pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__clip { margin-left: 8.492%; width: 82.995%; }
.pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__arrow--prev { left: 5.981%; }
.pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__arrow--next { left: 89.305%; }
.pm-featured.pm-featured--pdp .pm-carousel__arrow { background: var(--pm-thumb); }
.pm-featured.pm-featured--pdp .pm-carousel__dots { display: none; }

@media (max-width: 1365px) and (min-width: 768px) {
  .pm-pdp__inner { padding-left: 6vw; grid-template-columns: max-content minmax(300px, 389px); column-gap: 4vw; }
  .pm-crumbs { left: 6vw; }
  .pm-gallery__stage { width: clamp(300px, 41.15vw, 562.1px); }
  .pm-gallery__rail { max-height: clamp(300px, 41.15vw, 562.1px); }
  .pm-pdp__summary, .pm-pdp__add, .pm-acc, .pm-safe { width: 100%; }
  .pm-pdp__summary { margin-top: 40px; }
}
@media (max-width: 1023px) and (min-width: 768px) {
  .pm-pdp__inner { grid-template-columns: 1fr; padding: 32px 6vw 0; }
  .pm-gallery__stage { width: min(100%, 562.1px); }
  .pm-pdp__summary { margin-top: 28px; max-width: 520px; }
}

/* phone (derived from the phone design's scale: 25.6px margins, full-width photo, thumbnails in a row) */
@media (max-width: 767px) {
  .pm-pdp { min-height: 0; padding-bottom: calc(7.875vw + 36px); }
  .pm-pdp__inner { display: block; padding: 22px 7.11% 0; }
  .pm-crumbs { position: static; margin: -8px 0 12px; font-size: 10.5px; }
  .pm-gallery { flex-direction: column-reverse; gap: 12px; }
  .pm-gallery__stage { width: 100%; }
  .pm-gallery__rail { flex-direction: row; gap: 9px; max-height: none; max-width: 100%; overflow-x: auto; overflow-y: visible; padding: 2px; }
  .pm-gallery__rail li { flex: none; }
  .pm-gallery__thumb { width: 48px; height: 48px; }
  .pm-pdp__summary { width: auto; margin-top: 22px; }
  .pm-pdp__title { max-width: none; font-size: var(--pm-ph-title); line-height: 16.8px; padding-left: 0; }
  .pm-pdp__short, .pm-pdp__price, .pm-pdp__tax, .pm-opts__label { padding-left: 0; }
  .pm-pdp__add, .pm-acc, .pm-safe { width: 100%; margin-left: 0; }
  .pm-pdp__wave { left: -23.389%; width: 124.19%; height: 7.875vw; }
  .pm-featured.pm-featured--pdp { padding: 14px 0 28.9px; }
  .pm-featured.pm-featured--pdp .pm-featured__title { margin-top: 9.63px; }
  .pm-featured.pm-featured--pdp .pm-carousel { margin-top: 17.12px; }
  .pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__clip { margin-left: 7.11%; width: 90.44%; }
  .pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__arrow--prev { left: 2.83%; }
  .pm-featured.pm-featured--pdp .pm-carousel--cards .pm-carousel__arrow--next { left: 91.75%; }
  .pm-featured.pm-featured--pdp .pm-carousel__dots { display: flex; }
}
