  /* ===================================================================
     Product page — matches the shop / cart / login / register / search
     visual language: soft white cards, 16px radii, subtle shadows,
     accent-colored actions, uppercase micro-labels, color-mix focus
     tints. Fully responsive: desktop (2-col, sticky info panel),
     tablet/mobile (stacked, full-width). No cart/variant/config-group
     logic was changed — styling only.
     =================================================================== */

  .pdp-page {
    position: relative;
    padding: 1.5rem 0 4rem;
  }

  .pdp-page .container {
    position: relative;
    z-index: 1;
  }

  .pdp-page::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
  }

  .pdp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  /* ---- Media ------------------------------------------------------------- */
  .pdp-media {
    min-width: 0;
  }

  /* ---- Desktop gallery grid (2-up tiles, adidas PDP style) --------------- */
  .pdp-gallery-grid {
    display: none;
  }

  /* "Show more/less" toggle for the desktop 2-up grid — hidden by default
     (and thus on mobile, which uses the swipeable single-image carousel
     instead and has no grid to expand); shown only at the desktop
     breakpoint alongside the grid itself. */
  .pdp-gallery-more {
    display: none;
  }

  @media (min-width: 901px) {
    .pdp-gallery-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
    }

    .pdp-gallery-grid__item {
      position: relative;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      background: #f1eadf;
    }

    .pdp-gallery-grid__item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      cursor: zoom-in;
    }

    .pdp-gallery-grid__item[hidden] {
      display: none;
    }

    .pdp-gallery-grid__item--placeholder {
      background: #f1eadf;
    }

    /* Hover zoom, desktop gallery tiles: the whole image scales up and pans
       toward the cursor as the mouse moves (see the hover-zoom script
       further down) — no lens/crop overlay, the image itself zooms. */
    .pdp-gallery-grid__item img {
      transition: transform 0.2s ease;
    }

    .pdp-gallery-grid__item.is-zooming img {
      transform: scale(var(--pdp-hover-zoom-scale, 2));
      transition: transform 0.1s ease-out;
    }

    .pdp-gallery-more {
      grid-column: 1 / -1;
      display: flex;
      justify-content: center;
      margin-top: 1rem;
    }

    .pdp-gallery-more__btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.7rem 1.4rem;
      border: 1px solid #111;
      background: #fff;
      color: #111;
      font-size: 12.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      cursor: pointer;
      transition: background 0.15s ease, color 0.15s ease;
    }

    .pdp-gallery-more__btn:hover {
      background: #111;
      color: #fff;
    }

    .pdp-gallery-more__btn svg {
      transition: transform 0.2s ease;
    }

    .pdp-gallery-grid.is-expanded ~ .pdp-gallery-more .pdp-gallery-more__btn svg {
      transform: rotate(180deg);
    }

    /* Single-image mobile carousel is desktop-hidden; the grid above is the
       desktop gallery. Thumbnails are hidden site-wide in this layout since
       dots/swipe (mobile) and the grid (desktop) already cover navigation. */
    .pdp-media__mobile-carousel {
      display: none;
    }

    .pdp-thumbs {
      display: none !important;
    }
  }

  @media (max-width: 900px) {
    .pdp-media__mobile-carousel {
      display: block;
    }

    .pdp-thumbs {
      display: none !important;
    }
  }

  .pdp-media__main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 3px;
    overflow: hidden;
    background: #f1eadf;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
  }

  .pdp-media__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
  }

  /* ---- Hover zoom: the whole image scales up and pans toward the cursor
     as the mouse moves over it — no lens/crop overlay. Desktop/mouse only
     (see JS feature check); touch devices never get the mouseover events
     that drive it. --- */
  @media (hover: hover) and (pointer: fine) {
    .pdp-media__main[data-hover-zoom] {
      cursor: zoom-in;
    }
  }

  .pdp-media__main.is-zooming img {
    transform: scale(var(--pdp-hover-zoom-scale, 2));
    transition: transform 0.1s ease-out;
  }

  /* ---- Zoom popup / lightbox --------------------------------------------- */
  .pdp-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: #ececec;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .pdp-zoom-modal.is-open {
    opacity: 1;
    visibility: visible;
  }

  .pdp-zoom-modal__figure {
    position: relative;
    margin: 0;
    width: 100%;

    height: calc(100% - 7rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 6rem;
    box-sizing: border-box;
  }

  .pdp-zoom-modal__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
    user-select: none;
    touch-action: none;
    transform: translate(0px, 0px) scale(1);
    cursor: zoom-in;
  }

  .pdp-zoom-modal__img.is-zoomed {
    cursor: grab;
  }

  @media (hover: hover) and (pointer: fine) {
    /* Desktop: no drag needed once zoomed — the image pans as the mouse
       moves, so the cursor hints "click to zoom back out" instead of "drag". */
    .pdp-zoom-modal__img.is-zoomed {
      cursor: zoom-out;
    }
  }

  .pdp-zoom-modal__img.is-panning {
    cursor: grabbing;
  }

  .pdp-zoom-modal__close {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .pdp-zoom-modal__close:hover {
    background: #111;
    color: #fff;
  }

  .pdp-zoom-modal__close svg {
    width: 18px;
    height: 18px;
  }

  .pdp-zoom-modal__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  }

  .pdp-zoom-modal__nav:hover {
    background: #111;
    color: #fff;
  }

  .pdp-zoom-modal__nav:active {
    transform: translateY(-50%) scale(0.94);
  }

  .pdp-zoom-modal__nav svg {
    width: 20px;
    height: 20px;
  }

  .pdp-zoom-modal__nav--prev {
    left: 1.25rem;
  }

  .pdp-zoom-modal__nav--next {
    right: 1.25rem;
  }

  .pdp-zoom-modal__counter {
    display: none;
  }

  /* ---- Bottom thumbnail strip ------------------------------------------- */
  .pdp-zoom-modal__thumbs {
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0.6rem;
    padding: 0 1rem 1.5rem;
    max-width: 100%;
    overflow-x: auto;
  }

  .pdp-zoom-modal__thumb {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    padding: 0;
    border: 0;
    border-bottom: 3px solid transparent;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
  }

  .pdp-zoom-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pdp-zoom-modal__thumb.is-active {
    border-bottom-color: #111;
  }

  @media (max-width: 640px) {
    .pdp-zoom-modal__figure {
      width: 100%;
      max-width: 100%;
      height: calc(100% - 6rem);
      padding: 1.5rem 3.5rem;
      margin: 0;
    }

    .pdp-zoom-modal__img {
      width: 100%;
      max-width: 100%;
      height: 100%;
    }

    .pdp-zoom-modal__nav--prev {
      left: 0.5rem;
    }

    .pdp-zoom-modal__nav--next {
      right: 0.5rem;
    }

    .pdp-zoom-modal__nav {
      width: 2.5rem;
      height: 2.5rem;
    }

    .pdp-zoom-modal__thumb {
      width: 3.5rem;
      height: 3.5rem;
    }
  }

  .pdp-media__main[data-transition="fade"] #pdpMainImage {
    transition: opacity 0.25s ease;
  }

  .pdp-media__main[data-transition="slide"] #pdpMainImage {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .pdp-media__main[data-transition="none"] #pdpMainImage {
    transition: none;
  }

  .pdp-media__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--pdp-accent) 45%, #999);
  }

  .pdp-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 0.75rem;
  }

  .pdp-thumb {
    position: relative;
    display: block;
    padding: 0;
    border: 1.5px solid #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1eadf;
    cursor: pointer;
    transition: border-color 0.15s ease;
  }

  .pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pdp-thumb__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--pdp-accent) 45%, #999);
  }

  .pdp-thumb:hover,
  .pdp-thumb.is-active {
    border-color: var(--pdp-accent);
  }

  /* ---- Main image prev/next nav + dots (shown only when there is more
     than one product image) ------------------------------------------- */
  .pdp-media__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 3px;
    background: var(--pdp-nav-bg, rgba(255, 255, 255, 0.85));
    color: var(--pdp-nav-icon, #111);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
    transition: background 0.15s ease, transform 0.1s ease;
  }

  .pdp-media__nav:hover {
    background: var(--pdp-nav-bg, #fff);
    filter: brightness(1.03);
  }

  .pdp-media__nav:active {
    transform: translateY(-50%) scale(0.92);
  }

  .pdp-media__nav svg {
    width: 20px;
    height: 20px;
    display: block;
  }

  .pdp-media__nav--prev {
    left: 0.75rem;
  }

  .pdp-media__nav--next {
    right: 0.75rem;
  }

  .pdp-media__zoom-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 3px;
    background: var(--pdp-nav-bg, rgba(255, 255, 255, 0.85));
    color: var(--pdp-nav-icon, #111);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    z-index: 2;
    transition: background 0.15s ease, transform 0.1s ease;
  }

  .pdp-media__zoom-btn:hover {
    background: var(--pdp-nav-bg, #fff);
    filter: brightness(1.03);
  }

  .pdp-media__zoom-btn:active {
    transform: scale(0.92);
  }

  .pdp-media__zoom-btn svg {
    width: 18px;
    height: 18px;
    display: block;
  }

  .pdp-media__dots {
    position: absolute;
    inset-block-end: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
  }

  .pdp-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--pdp-dot, rgba(255, 255, 255, 0.6));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
  }

  .pdp-dot:hover {
    background: var(--pdp-dot, rgba(255, 255, 255, 0.9));
    filter: brightness(0.95);
  }

  .pdp-dot.is-active {
    background: var(--pdp-dot-active, var(--pdp-accent));
    transform: scale(1.2);
  }

  /* ---- Info panel -------------------------------------------------------- */
  .pdp-info {
    min-width: 0;
    position: sticky;
    top: 7rem;
  }

  .pdp-breadcrumb {
    margin: 0 0 1.25rem;
    font-size: 13px;
    color: #767676;
  }

  .pdp-breadcrumb a {
    color: #767676;
    text-decoration: none;
  }

  .pdp-breadcrumb a:hover {
    text-decoration: underline;
    color: #111;
  }

  .pdp-breadcrumb__sep {
    margin: 0 0.4rem;
  }

  .pdp-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.6rem;
  }

  .pdp-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #111;
  }

  .pdp-wishlist-form {
    flex-shrink: 0;
  }

  .pdp-wishlist {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    background: #fff;
    color: #999;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .pdp-wishlist svg {
    width: 20px;
    height: 20px;
  }

  .pdp-wishlist:hover {
    color: var(--pdp-accent);
    border-color: var(--pdp-accent);
  }

  .pdp-wishlist:active {
    transform: scale(0.92);
  }

  .pdp-wishlist.is-active {
    color: #e0245e;
    border-color: #e0245e;
  }

  .pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
  }

  .pdp-price-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
  }

  .pdp-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111;
  }

  .pdp-price--sale {
    color: #b3261e;
  }

  .pdp-price-compare {
    font-size: 1.05rem;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
  }

  .pdp-badge-save {
    display: inline-flex;
    align-items: center;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.2rem 0.55rem;
    border-radius: 2px;
  }

  .pdp-accordions {
    max-width: 62%;
    margin: 2.5rem 0 0;
    border-top: 1px solid #eee;
  }

  @media (max-width: 900px) {
    .pdp-accordions {
      max-width: none;
    }
  }

  .pdp-accordion {
    border-bottom: 1px solid #eee;
  }

  .pdp-accordion__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .pdp-accordion__head::-webkit-details-marker {
    display: none;
  }

  .pdp-accordion__chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  .pdp-accordion[open] .pdp-accordion__chevron {
    transform: rotate(180deg);
  }

  .pdp-accordion__body {
    padding: 0 0 1.25rem;
    line-height: 1.7;
    color: #555;
    white-space: pre-line;
  }

  /* ---- Form ---------------------------------------------------------------- */
  .pdp-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .pdp-fieldset {
    border: 0;
    border-top: 1px solid #eee;
    border-radius: 0;
    padding: 1.15rem 0 0;
    margin: 0;
  }

  .pdp-fieldset:first-of-type {
    border-top: 0;
    padding-top: 0;
  }

  .pdp-fieldset legend {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 0.75rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
  }

  .pdp-fieldset legend .pdp-required {
    color: #b3261e;
  }

  .pdp-fieldset legend .pdp-hint {
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
    color: #aaa;
    font-size: 12px;
  }

  /* ---- Config groups (option group / menu selection / default option) —
     each renders as a bordered card with a grey header bar (title + rule
     pills), matching the product-view design language. Scoped to
     [data-config-group] so the variant-picker fieldset above keeps its
     original plain divider style untouched. ------------------------------- */
  .pdp-fieldset[data-config-group],
  .pdp-fieldset[data-config-group]:first-of-type {
    border: 1.5px solid #e8e8e8;
    border-radius: 3px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
  }

  .pdp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .pdp-legend-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 12px 12px 0px 0px;
    background: #fafafa;
    border-bottom: 1.5px solid #e8e8e8;
  }

  .pdp-legend-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    color: #333;
  }

  .pdp-legend-title .pdp-required {
    color: #b3261e;
    font-weight: 700;
    margin-inline-start: 1px;
  }

  .pdp-legend-rules {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .pdp-rule {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 600;
    color: #666;
    background: #f2f2f2;
    border: 1px solid #e5e5e5;
    padding: 2px 9px;
    border-radius: 2px;
    white-space: nowrap;
  }

  .pdp-rule:empty {
    display: none;
  }

  .pdp-rule--accent {
    color: var(--pdp-accent);
    background: color-mix(in srgb, var(--pdp-accent) 10%, #fff);
    border-color: color-mix(in srgb, var(--pdp-accent) 30%, #e5e5e5);
  }

  /* ---- Package groups ("Package Products") drop the bordered-card /
     grey-header chrome that modifier, selection and options groups use —
     a package's contents are fixed (pre-checked, disabled), so the group
     reads as a plain section label with a thin rule underneath, sitting
     above a single-column stack of item cards (not the 2-col grid used for
     real choices). Nested groups inside a package item (e.g. a Brisket
     Bao's own Option Group) are a different kind — .pdp-fieldset--modifier
     / --selection / --options — so they keep the full card treatment and
     2-col item grid untouched. ------------------------------------------ */
  .pdp-fieldset--package.pdp-fieldset[data-config-group] {
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .pdp-fieldset--package > .pdp-legend-bar {
    padding: 0 0 10px;
    margin-bottom: 14px;
    background: transparent;
    border-bottom: 1px solid #eee;
    border-radius: 0;
  }

  .pdp-fieldset--package > .pdp-legend-bar .pdp-legend-title {
    font-size: 15px;
    font-weight: 700;
    color: #111;
  }

  .pdp-fieldset--package > .pdp-option-list {
    padding: 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* ---- Package item card: image box + bold label + optional "Customizable"
     badge. No tick indicator — the item is always included, so there's
     nothing to toggle. --------------------------------------------------- */
  .pdp-option--package {
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 2px;
  }

  .pdp-package-item__media {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 2px;
    border: 1.5px solid #e2e2e2;
    background: #fff;
    overflow: hidden;
  }

  .pdp-package-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pdp-package-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .pdp-package-item__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--pdp-accent);
  }

  .pdp-package-item__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 10px 3px 8px;
    border: 1px solid color-mix(in srgb, var(--pdp-accent) 45%, #fff);
    border-radius: 2px;
    background: #fff;
    color: var(--pdp-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .pdp-package-item__badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  /* ---- Required modifier groups (min > 0) get a pink-tinted border and a
     "Min N" danger pill next to the usual "Max N" pill while the minimum
     hasn't been picked yet — the .pdp-fieldset--unmet class is toggled live
     by the required-group watcher script below and cleared once enough
     items are checked, so the border reverts to the normal grey card. */
  .pdp-fieldset--unmet.pdp-fieldset[data-config-group] {
    border-color: #f3c1c1;
  }

  .pdp-rule--danger {
    gap: 3px;
    color: #d64545;
    background: #fdecec;
    border-color: #f6c9c9;
  }

  .pdp-rule--danger .pdp-rule__icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  /* Once the required minimum is met, the watcher script drops
     .pdp-fieldset--unmet from the group — the Min pill turns neutral to
     match the Max pill instead of staying red. */
  .pdp-fieldset--required:not(.pdp-fieldset--unmet) [data-min-rule] {
    color: #666;
    background: #f2f2f2;
    border-color: #e5e5e5;
  }

  /* ---- Option cards: modifier / selection / package choices render as a
     2-column grid of bordered cards (media, name + price, tick), matching
     the og-checkbox-card / ms-item-card pattern. Cards stay col-6 always,
     except an item that carries its own image, which spans the full row
     (col-12) since there isn't room for media + label + price + tick at
     half width. ------------------------------------------------------- */
  .pdp-option-list {
    list-style: none;
    padding: 12px;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  /* Cards with an item image don't have room for media + label + price +
     tick at half width, so they always take the full row. */
  .pdp-option-list > li:has(> label .pdp-option__media-wrap) {
    grid-column: 1 / -1;
  }

  .pdp-option-list > li {
    min-width: 0;
  }

  .pdp-option {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 12px;
    margin: 0;
    border: 1.5px solid #e8e8e8;
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .pdp-option:hover {
    border-color: #bbb;
    background: #fafafa;
  }

  .pdp-option:has(input:checked) {
    border-color: var(--pdp-accent);
    background: color-mix(in srgb, var(--pdp-accent) 6%, #fff);
  }

  .pdp-option:has(input:disabled):not(:has(input:checked)) {
    opacity: 0.45;
    cursor: not-allowed;
    background: #fafafa;
  }

  .pdp-option--disabled {
    cursor: default;
  }

  .pdp-option--disabled:hover {
    border-color: #e8e8e8;
    background: #fff;
  }

  /* ---- Selection indicator ---------------------------------------------
     The native input stays in the DOM (fully keyboard/AT accessible) but is
     visually hidden; a tick badge on the trailing edge of the card reflects
     its state instead — the checkbox/radio "card" pattern used throughout
     product-view (og-checkbox-tick / ms-checkbox-tick). */
  .pdp-option__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
  }

  .pdp-option__tick {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  }

  .pdp-option__tick svg {
    width: 11px;
    height: 11px;
  }

  .pdp-option:has(input:checked) .pdp-option__tick {
    background: var(--pdp-accent);
    border-color: var(--pdp-accent);
    color: #fff;
  }

  .pdp-option__input:focus-visible ~ .pdp-option__tick {
    outline: 2px solid var(--pdp-accent);
    outline-offset: 2px;
  }

  .pdp-option__input:disabled ~ .pdp-option__tick {
    border-color: #e5e5e5;
    background: #f5f5f5;
  }

  .pdp-option__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .pdp-option__label {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pdp-option:has(input:checked) .pdp-option__label {
    color: color-mix(in srgb, var(--pdp-accent) 55%, #111);
    font-weight: 600;
  }

  .pdp-option__price {
    font-weight: 700;
    font-size: 13px;
    color: var(--pdp-accent);
    white-space: nowrap;
  }

  .pdp-option__extra {
    font-size: 13px;
    font-weight: 700;
    color: var(--pdp-accent);
    white-space: nowrap;
  }

  .pdp-option__soldout {
    color: #b3261e;
    font-size: 12px;
    font-weight: 600;
  }

  .pdp-option__media-wrap {
    position: relative;
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
  }

  .pdp-option__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid #f0f0f0;
    display: block;
  }

  .pdp-option__media-placeholder {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 2px;
    border: 1px solid #f0f0f0;
    background: #f1eadf;
    color: color-mix(in srgb, var(--pdp-accent) 45%, #999);
    box-sizing: border-box;
  }

  /* ---- Matrix dimensions: dropdown / colour swatches / segmented pills ----- */
  .pdp-dim + .pdp-dim {
    margin-top: 1.1rem;
  }

  .pdp-dim__label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.4rem;
    margin: 0 0 0.6rem;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
  }

  .pdp-size-chart-link {
    font-size: 12.5px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    color: #111;
    text-decoration: underline;
  }

  .pdp-dim__value {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    color: #111;
  }

  .pdp-select {
    width: 100%;
    box-sizing: border-box;
    height: 46px;
    border: 1.5px solid #e8e8e8;
    border-radius: 2px;
    padding: 0 2.25rem 0 14px;
    font-size: 14.5px;
    color: #222;
    background: #fff;
    outline: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.15s, box-shadow 0.15s;
  }

  .pdp-select:focus {
    border-color: var(--pdp-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--pdp-accent) 12%, transparent);
  }

  /* ---- Colour swatches: real chips with a contrast-safe checkmark ---------- */
  .pdp-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .pdp-swatch {
    cursor: pointer;
  }

  .pdp-swatch__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }

  .pdp-swatch__chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .pdp-swatch:hover .pdp-swatch__chip {
    transform: scale(1.08);
  }

  .pdp-swatch__input:checked + .pdp-swatch__chip {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--pdp-accent);
  }

  .pdp-swatch__input:focus-visible + .pdp-swatch__chip {
    outline: 2px solid var(--pdp-accent);
    outline-offset: 3px;
  }

  .pdp-swatch__input:disabled + .pdp-swatch__chip {
    opacity: 0.35;
    cursor: not-allowed;
  }

  /* Checkmark contrasts against ANY swatch colour via mix-blend-mode, so a
     single icon works on light and dark chips alike without per-colour rules. */
  .pdp-swatch__check {
    color: #fff;
    mix-blend-mode: difference;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .pdp-swatch__input:checked + .pdp-swatch__chip .pdp-swatch__check {
    opacity: 1;
    transform: scale(1);
  }

  /* ---- Segmented pills: size / style / other non-colour dimensions --------- */
  .pdp-pills {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.6rem;
  }

  @media (max-width: 640px) {
    .pdp-pills {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }

  .pdp-pill-opt {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }

  .pdp-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 2.75rem;
    padding: 0 0.4rem;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  }

  .pdp-pill-opt:hover + .pdp-pill {
    border-color: color-mix(in srgb, var(--pdp-accent) 45%, #e2e2e2);
  }

  .pdp-pill-opt:checked + .pdp-pill {
    border-color: var(--pdp-accent);
    background: var(--pdp-accent);
    color: #fff;
  }

  .pdp-pill-opt:focus-visible + .pdp-pill {
    outline: 2px solid var(--pdp-accent);
    outline-offset: 2px;
  }

  .pdp-pill-opt:disabled + .pdp-pill {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
  }

  .pdp-variant-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0.6rem 0.85rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 2px;
    color: #991b1b;
    font-size: 13px;
    font-weight: 600;
    display: none;
  }

  /* ---- Menu selection: each required "choice" slot renders as its own
     nested card with an index badge + title bar (ms-group-card pattern),
     sitting inside the outer group card. ----------------------------------- */
  .pdp-config-slot {
    margin: 10px 12px;
    border: 1.5px solid #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
  }

  .pdp-config-slot__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 12px;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #777;
  }

  /* A slot's own items (e.g. "Choice 2": Brisket Bao / Pulled brisket
     burger / ...) always render one per row — col-12 — regardless of
     image or count. Any config-group nested *inside* one of those items
     (its own topping/add-on options) is a separate .pdp-option-list not
     matched by this selector, so it keeps the 2-col grid above. */
  .pdp-config-slot > .pdp-option-list {
    grid-template-columns: 1fr;
  }

  /* Once the shopper picks an item in a radio-driven option list — a
     "Choice N" menu-selection slot, or a single-select modifier group —
     hide the other choices in that same list so only the selected one (and
     its own nested config, if any) stays visible. Checkbox-driven lists
     (multi-select modifiers, "choose N" options, packages) are untouched,
     since the [type="radio"] requirement in :has() excludes them. Driven
     purely by :checked, so it reacts to both a native click and the
     click-to-deselect script above (which sets .checked programmatically) —
     clearing the pick (re-clicking the selected option) brings every choice
     back automatically, no extra JS needed.
     ">" (not a descendant combinator) ties each fieldset to only its own
     option-list, so a differently-configured group nested inside a selected
     item never inherits its parent fieldset's behavior here.
     A modifier ("option group") whose min and max are both 1 is excluded
     here — see the rule just below, which dims those instead of hiding
     them. */
  .pdp-fieldset:not([data-kind="modifier"][data-min="1"][data-max="1"])
    > .pdp-option-list:has(> li > label > .pdp-option__input[type="radio"]:checked)
    > li:not(:has(> label > .pdp-option__input[type="radio"]:checked)) {
    display: none;
  }
  .pdp-config-slot > .pdp-option-list:has(> li > label > .pdp-option__input[type="radio"]:checked)
    > li:not(:has(> label > .pdp-option__input[type="radio"]:checked)) {
    display: none;
  }

  /* Option group (modifier) with min 1 / max 1: exactly one pick, same as
     above, but the shopper should still see every option — so instead of
     hiding the rest, dim them and block clicks until the current pick is
     cleared (click-to-deselect script above). Matches the existing
     disabled-option look (.pdp-pill-opt:disabled + .pdp-pill). */
  .pdp-fieldset[data-kind="modifier"][data-min="1"][data-max="1"]
    > .pdp-option-list:has(> li > label > .pdp-option__input[type="radio"]:checked)
    > li:not(:has(> label > .pdp-option__input[type="radio"]:checked)) .pdp-option {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
  }

  .pdp-config-slot__index {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
  }

  .pdp-config-count {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
  }

  /* ---- Nested (recursive) config for a configurable item ------------------ */
  .pdp-config-nested {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0.65rem 0 0.15rem;
  }

  /* ---- Default options: quantity-stepper rows, styled as flat divided
     rows inside the group card (dopt-row pattern) rather than grid cards. -- */
  .pdp-option-list:has(.pdp-option--stepper) {
    display: block;
    padding: 0;
  }

  .pdp-option-list:has(.pdp-option--stepper) > li:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
  }

  .pdp-option--stepper {
    cursor: default;
    height: auto;
    border: 0;
    border-radius: 0;
    padding: 10px 14px;
  }

  .pdp-option--stepper:hover {
    background: #fff;
  }

  .pdp-stepper--sm {
    flex-shrink: 0;
  }

  .pdp-stepper--sm .pdp-stepper__btn {
    width: 1.7rem;
    height: 2.1rem;
    font-size: 14px;
  }

  .pdp-stepper--sm .pdp-stepper__input {
    width: 2.4rem;
    height: 2.1rem;
    font-size: 13.5px;
  }

  /* ===================================================================
     Loris restyle — option groups, menu-selection slots and package items
     follow the cart / login language: tan hairline cards, 10px radius,
     beige fills, gold highlights, black ticks. Overrides the rules above;
     markup, classes and behaviour are unchanged.
     =================================================================== */
  .pdp-fieldset[data-config-group],
  .pdp-fieldset[data-config-group]:first-of-type {
    border: 1px solid #d3c7b1;
    border-radius: 10px;
    background: transparent;
  }
  .pdp-fieldset--unmet.pdp-fieldset[data-config-group] { border-color: #e8b9b4; }

  .pdp-legend-bar {
    padding: 0.9rem 1.1rem;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #e6dfd0;
  }
  .pdp-legend-title {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6f6a60;
  }
  .pdp-legend-title .pdp-required { color: #b91c1c; }

  .pdp-rule {
    padding: 0.15rem 0.65rem;
    border: 1px solid #d3c7b1;
    border-radius: 999px;
    background: transparent;
    color: #6f6a60;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
  }
  .pdp-rule--accent { color: #a67c3a; background: #f1e7d2; border-color: #e3d2ae; }
  .pdp-rule--danger { color: #991b1b; background: #fef2f2; border-color: #fecaca; }
  .pdp-fieldset--required:not(.pdp-fieldset--unmet) [data-min-rule] {
    color: #6f6a60;
    background: transparent;
    border-color: #d3c7b1;
  }

  .pdp-option-list { padding: 1rem 1.1rem; gap: 0.6rem; }

  .pdp-option {
    padding: 0.7rem 0.85rem;
    border: 1px solid #e3dac9;
    border-radius: 6px;
    background: #fff;
  }
  .pdp-option:hover { border-color: #c4995a; background: #fff; }
  .pdp-option:has(input:checked) {
    border-color: #c4995a;
    box-shadow: 0 0 0 1px #c4995a;
    background: #fbf6ea;
  }
  .pdp-option:has(input:disabled):not(:has(input:checked)) { background: #f5f1e8; }
  .pdp-option--disabled:hover { border-color: #e3dac9; background: #fff; }

  .pdp-option__tick { border: 1px solid #b9ad96; background: #fff; }
  .pdp-option:has(input:checked) .pdp-option__tick { background: #111; border-color: #111; color: #fff; }
  .pdp-option__input:focus-visible ~ .pdp-option__tick { outline-color: #c4995a; }
  .pdp-option__input:disabled ~ .pdp-option__tick { border-color: #e3dac9; background: #f1eadf; }

  .pdp-option__label { font-size: 0.92rem; font-weight: 500; color: #111; }
  .pdp-option:has(input:checked) .pdp-option__label { color: #111; font-weight: 600; }
  .pdp-option__price, .pdp-option__extra { font-size: 0.8rem; font-weight: 600; color: #a67c3a; }
  .pdp-option__soldout { color: #b91c1c; }

  .pdp-option__media { border: 1px solid #e3dac9; border-radius: 6px; }
  .pdp-option__media-placeholder { border: 1px solid #e3dac9; border-radius: 6px; background: #f1eadf; color: #a67c3a; }

  /* Menu-selection "Choice N" slots. */
  .pdp-config-slot {
    margin: 0.9rem 1.1rem;
    border: 1px solid #e6dfd0;
    border-radius: 8px;
    background: transparent;
  }
  .pdp-config-slot > .pdp-option-list { padding: 0.8rem 0.9rem; }
  .pdp-config-slot__label {
    padding: 0.7rem 0.9rem;
    background: #f1eadf;
    border-bottom: 1px solid #e6dfd0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #6f6a60;
  }
  .pdp-config-slot__index { background: #111; color: #fff; }

  /* Default options (stepper rows). */
  .pdp-option-list:has(.pdp-option--stepper) { padding: 0; }
  .pdp-option-list:has(.pdp-option--stepper) > li:not(:last-child) { border-bottom: 1px solid #e6dfd0; }
  .pdp-option--stepper { padding: 0.75rem 1.1rem; background: transparent; box-shadow: none; }
  .pdp-option--stepper:hover { background: transparent; }

  /* Package products: plain section label above beige item cards (cart-item look). */
  .pdp-fieldset--package.pdp-fieldset[data-config-group] { border: 0; border-radius: 0; background: transparent; }
  .pdp-fieldset--package > .pdp-legend-bar { padding: 0 0 0.7rem; margin-bottom: 0.9rem; border-bottom: 1px solid #d3c7b1; }
  .pdp-fieldset--package > .pdp-legend-bar .pdp-legend-title { color: #111; }
  .pdp-fieldset--package > .pdp-option-list { padding: 0; gap: 0.75rem; }

  .pdp-option--package {
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    border: 1px solid #e3dac9;
    border-radius: 10px;
    background: #efe8dc;
    box-shadow: none;
  }
  .pdp-option--package:hover { border-color: #e3dac9; background: #efe8dc; }
  .pdp-package-item__media { border: 1px solid #e3dac9; border-radius: 6px; background: #f1eadf; }
  .pdp-package-item__label { font-size: 0.95rem; font-weight: 600; color: #111; }
  .pdp-package-item__badge {
    border: 0;
    border-radius: 999px;
    background: #f1e7d2;
    color: #a67c3a;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  /* ---- Quantity + submit row ------------------------------------------------ */
  .pdp-qty-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.25rem;
  }

  .pdp-qty-row label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
  }

  .pdp-qty-row .pdp-add-row {
    flex-basis: 100%;
    order: 3;
    display: flex;
    align-items: stretch;
    gap: 0.6rem;
  }

  .pdp-delivery-info {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
  }

  .pdp-delivery-info li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 13.5px;
    color: #333;
  }

  .pdp-delivery-info svg {
    flex-shrink: 0;
    color: #111;
  }

  .pdp-stepper {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .pdp-stepper__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.5rem;
    border: 0;
    background: #fff;
    color: #555;
    font-size: 16px;
    cursor: pointer;
    font-family: inherit;
  }

  .pdp-stepper__btn:hover {
    background: color-mix(in srgb, var(--pdp-accent) 10%, transparent);
    color: var(--pdp-accent);
  }

  .pdp-stepper__input {
    width: 3rem;
    height: 2.5rem;
    border: 0;
    border-inline: 1.5px solid #e8e8e8;
    text-align: center;
    font-size: 14.5px;
    font-weight: 600;
    color: #222;
    font-family: inherit;
    -moz-appearance: textfield;
  }

  .pdp-stepper__input::-webkit-outer-spin-button,
  .pdp-stepper__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .pdp-add {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    height: 3.25rem;
    border: 0;
    background: var(--pdp-accent);
    color: #fff;
    border-radius: 0;
    font-weight: 700;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: opacity 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
  }

  .pdp-add:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--pdp-accent) 38%, transparent);
  }

  .pdp-add:active {
    transform: translateY(0);
  }

  .pdp-add:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }

  /* ---- Wishlist toggle, square outline button beside Add to Cart ------------
     The #pdpWishlistForm itself only carries hidden fields (its visible button
     lives in .pdp-add-row and targets it via form="pdpWishlistForm"), so it
     renders nothing and needs no layout of its own. */
  #pdpWishlistForm {
    display: none;
  }

  .pdp-wishlist-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1.5px solid #e0e0e0;
    border-radius: 0;
    background: #fff;
    color: #999;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .pdp-wishlist-btn svg {
    width: 20px;
    height: 20px;
  }

  .pdp-wishlist-btn:hover {
    color: var(--pdp-accent);
    border-color: var(--pdp-accent);
  }

  .pdp-wishlist-btn:active {
    transform: scale(0.92);
  }

  .pdp-wishlist-btn.is-active {
    color: #e0245e;
    border-color: #e0245e;
  }

  /* ---- Unavailable state ---------------------------------------------------- */
  .pdp-unavailable {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 2px;
    font-size: 14.5px;
    font-weight: 600;
  }

  /* ---- Share to social ---------------------------------------------------- */
  .pdp-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .pdp-share__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin-right: 0.15rem;
  }

  .pdp-share__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    background: #fff;
    color: #777;
    cursor: pointer;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }

  .pdp-share__link svg {
    width: 16px;
    height: 16px;
  }

  .pdp-share__link:hover {
    color: var(--pdp-accent);
    border-color: var(--pdp-accent);
  }

  .pdp-share__link:active {
    transform: scale(0.92);
  }

  .pdp-share__link.is-copied {
    color: #1a7f37;
    border-color: #1a7f37;
  }

  .pdp-share__toast {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    white-space: nowrap;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }

  .pdp-share__link.is-copied .pdp-share__toast {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* ---- Tablet / mobile -------------------------------------------------------- */
  @media (max-width: 900px) {
    .pdp-layout {
      grid-template-columns: 1fr;
      gap: 1.75rem;
    }

    .pdp-info {
      position: static;
      top: auto;
    }
  }

  @media (max-width: 640px) {
    .pdp-page {
      padding: 1rem 0 3rem;
    }

    .pdp-title {
      font-size: 1.5rem;
    }

    .pdp-form,
    .pdp-unavailable {
      max-width: none;
    }

    .pdp-thumbs {
      grid-template-columns: repeat(4, 1fr);
    }

    .pdp-option-list {
      grid-template-columns: 1fr;
    }

    .pdp-option__media-wrap {
      width: 2.25rem;
      height: 2.25rem;
    }
  }

  /* ---- Quick-add bar: a separate, compact Add to Cart control pinned to
     the bottom of the screen on mobile/tablet. The real quantity + Add to
     Cart button (.pdp-qty-row) always stays put in the product content and
     is never hidden. This bar is just a scroll-convenience shortcut: it's
     shown while the shopper hasn't scrolled down to the real button yet
     (or has scrolled back up above it), and hides itself once the real
     button is reached/visible, or once it's been scrolled past entirely.
     Clicking it submits the real form. Desktop never shows this bar. ---- */
  .pdp-quick-add {
    display: none;
  }

  @media (max-width: 900px) {
    .pdp-quick-add {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      position: fixed;
      inset-block-end: 0;
      inset-inline: 0;
      z-index: 45;
      background: #fff;
      padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom));
      border-radius: 16px 16px 0 0;
      box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.12);
      transform: translateY(120%);
      opacity: 0;
      pointer-events: none;
      transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .pdp-quick-add.is-visible {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }
  }

  /* ---- Hero banner (same look as the shop page) ---- */
  .shop-hero { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #222; }
  .shop-hero--small { height: 12rem; }
  .shop-hero--medium { height: 21rem; }
  .shop-hero--large { height: 28rem; }
  .shop-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .shop-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--shop-hero-overlay, 0.55)); }
  .shop-hero__inner { position: relative; z-index: 1; text-align: center; }
  .shop-hero__title { margin: 0; font-size: 3rem; font-weight: 400; letter-spacing: 0.01em; color: #fff; }
  @media (max-width: 640px) {
    .shop-hero--small { height: 8rem; }
    .shop-hero--medium { height: 11rem; }
    .shop-hero--large { height: 15rem; }
    .shop-hero__title { font-size: 2.1rem; }
  }

  /* ===================================================================
     Loris product page: vertical thumbnails beside one large rounded image,
     big bold title and price with a beige SAVE pill, boxed option pills,
     a stepper + gold "Add to Cart — price" + wishlist row, and a tabbed
     Description with a gold underline. Appended last so it wins over the
     older rules above; mobile keeps its swipeable carousel.
     =================================================================== */
  .pdp-page-title {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: #111;
  }
  @media (max-width: 640px) { .pdp-page-title { font-size: 1.4rem; } }
  .pdp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    transition: opacity 0.15s ease;
  }
  .pdp-back:hover { opacity: 0.65; }
  .pdp-info .pdp-title { font-size: 1.85rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
  .pdp-info .pdp-price-row { align-items: center; gap: 0.7rem; margin: 0 0 1.25rem; }
  .pdp-info .pdp-price { font-size: 1.7rem; font-weight: 700; color: #111; }
  .pdp-info .pdp-price--sale { color: #111; }
  .pdp-info .pdp-price-compare { font-size: 1rem; font-weight: 400; color: #77726a; }
  .pdp-info .pdp-badge-save {
    background: #eee5d3;
    border: 0;
    border-radius: 3px;
    color: #111;
    font-size: 0.65rem;
    padding: 0.28rem 0.5rem;
  }

  .pdp-dim__label { margin: 0 0 0.55rem; font-size: 0.85rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: #111; }
  .pdp-pills { grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr)); gap: 0.6rem; }
  .pdp-pill {
    height: 2.5rem;
    border: 1px solid #e6dfd0;
    border-radius: 6px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #111;
  }
  .pdp-pill-opt:hover + .pdp-pill { border-color: #c4995a; }
  .pdp-pill-opt:checked + .pdp-pill { background: #efe8dc; border: 2px solid #c4995a; color: #111; font-weight: 600; }

  .pdp-qty-row { flex-wrap: nowrap; gap: 0.7rem; margin-top: 1.25rem; align-items: stretch; }
  .pdp-qty-row label { display: none; }
  .pdp-qty-row .pdp-add-row { flex: 1 1 auto; flex-basis: auto; order: 2; min-width: 0; }
  .pdp-stepper { border: 1px solid #e6dfd0; border-radius: 6px; background: #fff; overflow: visible; }
  .pdp-stepper__btn { width: 1.8rem; height: 2.7rem; background: transparent; color: #444; font-size: 1rem; }
  .pdp-stepper__btn:hover { background: transparent; color: #111; }
  .pdp-stepper__input { width: 1.8rem; height: 2.7rem; border: 0; background: transparent; font-size: 0.9rem; font-weight: 500; color: #111; }
  .pdp-add {
    gap: 0.5rem;
    height: 2.7rem;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
  }
  .pdp-add:hover { opacity: 0.92; box-shadow: none; }
  .pdp-add svg { flex-shrink: 0; }
  .pdp-wishlist-btn {
    width: 2.7rem;
    height: 2.7rem;
    border: 1px solid #e6dfd0;
    border-radius: 6px;
    background: #fff;
    color: #111;
  }
  .pdp-wishlist-btn:hover { color: #c4995a; border-color: #c4995a; }
  .pdp-wishlist-btn.is-active { color: #c4995a; border-color: #c4995a; }

  /* Compare: same square as the wishlist button, beside it. */
  #pdpCompareForm { display: none; }
  .pdp-compare-btn {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 2.7rem; height: 2.7rem; padding: 0; border: 1px solid #e6dfd0; border-radius: 6px;
    background: #fff; color: #111; cursor: pointer; transition: color 0.15s ease, border-color 0.15s ease;
  }
  .pdp-compare-btn svg { width: 1.15rem; height: 1.15rem; }
  .pdp-compare-btn:hover:not(:disabled) { color: #c4995a; border-color: #c4995a; }
  .pdp-compare-btn.is-active { color: #c4995a; border-color: #c4995a; background: #efe8dc; }
  .pdp-compare-btn:disabled { opacity: 0.4; cursor: not-allowed; }

  /* Average rating under the title, jumps to the reviews. */
  .pdp-rating { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-size: 0.85rem; color: #77726a; text-decoration: none; }
  .pdp-rating:hover .pdp-rating__text { color: #111; text-decoration: underline; }
  .pdp-rating__stars { display: inline-flex; gap: 1px; color: #ddd5c4; font-size: 1rem; line-height: 1; }
  .pdp-rating__stars .is-on { color: #c4995a; }

  /* Description as a tab: serif label with a gold underline over a hairline. */
  .pdp-accordions { max-width: none; margin: 2.5rem 0 0; border-top: 0; }
  .pdp-accordion { border-bottom: 0; }
  .pdp-accordion__head { display: block; padding: 0; border-bottom: 1px solid #e0d8c8; }
  .pdp-accordion__head > span {
    display: inline-block;
    margin-bottom: -1px;
    padding: 0 0 0.8rem;
    border-bottom: 3px solid #c4995a;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
  }
  .pdp-accordion__chevron { display: none; }
  .pdp-accordion__body { padding: 1.1rem 0 0; font-size: 0.9rem; line-height: 1.75; color: #555; }

  @media (min-width: 901px) {
    .pdp-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.25rem; }

    .pdp-media { position: sticky; top: 7rem; }

    /* Swap the old 2-up grid for thumbnails + one large image. */
    .pdp-gallery-grid, .pdp-gallery-more { display: none !important; }
    .pdp-media__mobile-carousel .pdp-media__main { flex: 1 1 auto; min-width: 0; aspect-ratio: 1.04 / 1; border: 0; border-radius: 10px; box-shadow: none; }
    .pdp-media__nav, .pdp-media__dots { display: none; }
    .pdp-media__mobile-carousel { position: relative; display: block; }
    .pdp-media__mobile-carousel .pdp-media__main { width: auto; }
    /* Leave room for the thumbnail strip only when it is rendered (2+ images). */
    .pdp-media__mobile-carousel.has-thumbs .pdp-media__main { margin-inline-start: 7.35rem; }
    .pdp-thumbs {
      display: flex !important;
      flex-direction: column;
      position: absolute;
      top: 0;
      bottom: 0;
      inset-inline-start: 0;
      width: 6.1rem;
      gap: 1rem;
      margin: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-width: thin;
      scrollbar-color: #d3c7b1 transparent;
    }
    .pdp-thumbs::-webkit-scrollbar { width: 4px; }
    .pdp-thumbs::-webkit-scrollbar-thumb { background: #d3c7b1; border-radius: 4px; }
    .pdp-thumb { flex: 0 0 auto; aspect-ratio: 1 / 1; border: 1px solid #e6dfd0; border-radius: 6px; }
    .pdp-thumb:hover { border-color: #c4995a; }
    .pdp-thumb.is-active { border: 2px solid #c4995a; }
  }

  /* Image prev / next arrows: the same round white buttons used by the
     carousels in the other sections. */
  .pdp-media__nav {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    filter: none;
  }
  .pdp-media__nav:hover { background: #fff; filter: none; transform: translateY(-50%) scale(1.08); }
  .pdp-media__nav:active { transform: translateY(-50%) scale(0.95); }
  .pdp-media__nav svg { width: 13px; height: 13px; }
  .pdp-media__nav--prev { left: 0.6rem; }
  .pdp-media__nav--next { right: 0.6rem; }

  /* Zoom viewer: same round white arrow / close buttons as the carousels,
     and rounded thumbnails with a gold active border. */
  .pdp-zoom-modal__nav,
  .pdp-zoom-modal__close {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  }
  .pdp-zoom-modal__nav:hover,
  .pdp-zoom-modal__close:hover { background: #fff; color: #111; transform: translateY(-50%) scale(1.08); }
  .pdp-zoom-modal__close:hover { transform: scale(1.08); }
  .pdp-zoom-modal__nav:active { transform: translateY(-50%) scale(0.95); }
  .pdp-zoom-modal__nav svg { width: 14px; height: 14px; }
  .pdp-zoom-modal__close svg { width: 14px; height: 14px; }
  .pdp-zoom-modal__thumb { border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #f1eadf; }
  .pdp-zoom-modal__thumb.is-active { border-color: #c4995a; }

  /* Mobile / tablet: thumbnails in a row under the main image; no hover zoom. */
  .pdp-media__main { cursor: zoom-in; }
  @media (max-width: 900px) {
    .pdp-media__main[data-hover-zoom] { cursor: zoom-in; }
    .pdp-media__main.is-zooming img { transform: none !important; }
    .pdp-media__mobile-carousel .pdp-thumbs {
      display: flex !important;
      flex-direction: row;
      gap: 0.6rem;
      margin-top: 0.75rem;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
    }
    .pdp-media__mobile-carousel .pdp-thumbs::-webkit-scrollbar { display: none; }
    .pdp-media__mobile-carousel .pdp-thumb {
      flex: 0 0 4.4rem;
      width: 4.4rem;
      aspect-ratio: 1 / 1;
      border: 1px solid #e6dfd0;
      border-radius: 6px;
    }
    .pdp-media__mobile-carousel .pdp-thumb.is-active { border: 2px solid #c4995a; }
  }

  @media (max-width: 640px) {
    .pdp-info .pdp-title { font-size: 1.5rem; }
    .pdp-info .pdp-price { font-size: 1.4rem; }
    .pdp-qty-row { gap: 0.6rem; }
    .pdp-stepper__btn, .pdp-stepper__input { width: 1.6rem; }
    .pdp-add { font-size: 0.85rem; }
  }
