  /* ===================================================================
     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: 0 0 4rem;
    background: #fff;
  }

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

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

  /* ---- Hero: full-bleed accent-tinted band carrying just the product
     title — a slim band, not a replacement for the real hero (the
     gallery/media column below), which stays untouched. Same idea as the
     shop/brand/category title bands: this page's own --pdp-accent,
     darkened via color-mix so white text stays legible no matter how
     light the merchant's chosen accent is. ---- */
  .pdp-hero {
    background: color-mix(in srgb, var(--pdp-accent) 85%, #000 15%);
    padding: 4.5rem 0;
  }

  .pdp-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 34rem;
    margin: 0 auto;
  }

  .pdp-hero__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
  }

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

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

  /* ---- Media ------------------------------------------------------------- */
  .pdp-media {
    min-width: 0;
    position: sticky;
    /* --header-stuck-h (set globally by header.liquid) is the height of the
       sticky site header once the top bar has scrolled away. */
    top: calc(var(--header-stuck-h, 0px) + 2rem);
  }

  .pdp-media__main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--pdp-accent) 6%, #f4f4f5);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  }

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

  .pdp-media__main img[onclick] {
    cursor: zoom-in;
  }

  /* ---- Zoom popup / lightbox --------------------------------------------- */
  .pdp-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(17, 17, 17, 0.92);
    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;
    max-width: min(90vw, 1100px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .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: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    transition: background 0.15s ease;
  }

  .pdp-zoom-modal__close:hover {
    background: rgba(255, 255, 255, 0.22);
  }

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

  .pdp-zoom-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
  }

  .pdp-zoom-modal__nav:hover {
    background: rgba(255, 255, 255, 0.22);
  }

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

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

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

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

  .pdp-zoom-modal__counter {
    position: absolute;
    bottom: -2.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  @media (max-width: 640px) {
    .pdp-zoom-modal {
      padding: 0;
    }

    .pdp-zoom-modal__figure {
      width: 100%;
      max-width: 100%;
      height: 100%;
      max-height: 100vh;
      max-height: 100dvh;
      margin: 0;
    }

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

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

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

    .pdp-zoom-modal__counter {
      bottom: -1.9rem;
    }
  }

  .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-wrap {
    position: relative;
    margin-top: 0.75rem;
  }

  .pdp-thumbs {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .pdp-thumbs::-webkit-scrollbar {
    display: none;
  }

  .pdp-thumb {
    position: relative;
    display: block;
    flex: 0 0 calc(25% - 0.45rem);
    scroll-snap-align: start;
    padding: 0;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: color-mix(in srgb, var(--pdp-accent) 6%, #f4f4f5);
    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);
  }

  /* ---- Thumbnail strip prev/next nav (shown only when there are more
     thumbnails than fit on screen at once) --------------------------------- */
  .pdp-thumbs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 50%;
    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-thumbs-nav:hover {
    background: var(--pdp-nav-bg, #fff);
    filter: brightness(1.03);
  }

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

  .pdp-thumbs-nav svg {
    width: 14px;
    height: 14px;
    display: block;
  }

  .pdp-thumbs-nav--prev {
    left: -0.6rem;
  }

  .pdp-thumbs-nav--next {
    right: -0.6rem;
  }

  /* ---- Main image pagination dots (shown only when there is more than
     one product image) --------------------------------------------------- */

  .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: 50%;
    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: calc(var(--header-stuck-h, 0px) + 2rem);
  }

  .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-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: 13px;
    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: 13px;
    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: 13px;
    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: 13px;
  }

  /* ---- 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: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 16px;
    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: 1rem 1.25rem;
    border-radius: 16px 16px 0 0;
    background: var(--adi-gray-100, #fafafa);
    border-bottom: 1px solid var(--adi-gray-200, #e5e5e5);
  }

  .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: 13px;
    font-weight: 600;
    color: #666;
    background: var(--adi-gray-100, #f2f2f2);
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    padding: 3px 10px;
    border-radius: 999px;
    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: 10px;
  }

  .pdp-package-item__media {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 6px;
    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: 999px;
    background: #fff;
    color: var(--pdp-accent);
    font-size: 13px;
    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: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
  }

  .pdp-option:hover {
    border-color: #bbb;
    background: var(--adi-gray-100, #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: 13px;
    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: 6px;
    border: 1px solid #f0f0f0;
    display: block;
  }

  .pdp-option__media-placeholder {
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    background: color-mix(in srgb, var(--pdp-accent) 6%, #f4f4f5);
    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: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
  }

  .pdp-size-chart-link {
    font-size: 13px;
    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: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 10px;
    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 var(--adi-gray-200, #e2e2e2);
    border-radius: 10px;
    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: 10px;
    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: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
  }

  .pdp-config-slot__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 12px;
    background: var(--adi-gray-100, #fafafa);
    border-bottom: 1px solid var(--adi-gray-200, #f0f0f0);
    font-size: 13px;
    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: 13px;
    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;
  }

  /* ---- 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: 13px;
    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-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 10px;
    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: 1px solid var(--adi-gray-200, #e5e5e5);
    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: 10px;
    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: 10px;
    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: #e53935;
    border-color: #e53935;
  }

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

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

  /* ---- 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: 10px;
    font-size: 14.5px;
    font-weight: 600;
  }

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

  .pdp-share__label {
    font-size: 13px;
    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: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
    color: #444;
    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: 13px;
    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;
    }

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

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

    .pdp-hero {
      padding: 2.75rem 0;
    }

    .pdp-hero__title {
      font-size: 1.45rem;
    }

    .pdp-layout {
      margin-top: 1.5rem;
    }

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

    .pdp-thumb {
      flex-basis: calc(28% - 0.45rem);
    }

    .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;
    }
  }

  /* ---- Reference layout: back pill, description block, share divider ------- */
  .pdp-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease;
  }

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

  .pdp-back + .pdp-layout {
    margin-top: 1.5rem;
  }

  .pdp-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .pdp-price {
    color: var(--pdp-accent);
  }

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

  .pdp-desc {
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eee;
  }

  .pdp-desc__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
  }

  .pdp-desc__text {
    font-size: 13.5px;
    line-height: 1.7;
    color: #555;
    white-space: pre-line;
  }

  .pdp-share {
    margin-top: 2rem;
    padding-top: 1.1rem;
    border-top: 1px solid #eee;
  }

  /* ---- Reviews (placeholder content) ----------------------------------------- */
  .pdp-stars {
    display: inline-block;
    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;
    white-space: nowrap;
    background: linear-gradient(90deg, #f5a623 var(--pct, 100%), #e0e0e0 var(--pct, 100%));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .pdp-reviews {
    margin-top: 3rem;
    padding-top: 2.25rem;
    border-top: 1px solid #eee;
  }

  .pdp-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .pdp-reviews__title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
  }

  .pdp-reviews__write,
  .pdp-reviews__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    height: 40px;
    padding: 0 1.1rem;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: opacity 0.15s ease;
  }

  .pdp-reviews__write {
    border: 1px solid var(--pdp-accent);
    background: var(--pdp-accent);
    color: #fff;
  }

  .pdp-reviews__all {
    width: 100%;
    border: 1px solid var(--pdp-accent);
    background: #fff;
    color: var(--pdp-accent);
  }

  .pdp-reviews__write:hover,
  .pdp-reviews__all:hover {
    opacity: 0.85;
  }

  .pdp-reviews__grid {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .pdp-rsum,
  .pdp-review {
    background: #fff;
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 16px;
  }

  .pdp-rsum {
    padding: 1.5rem;
  }

  .pdp-rsum__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .pdp-rsum__score {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: #111;
  }

  .pdp-rsum__based {
    display: block;
    margin-top: 0.3rem;
    font-size: 13px;
    color: var(--adi-gray-500, #767677);
  }

  .pdp-rsum__bars {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
  }

  .pdp-rsum__bars li {
    display: grid;
    grid-template-columns: 0.8rem 0.9rem minmax(0, 1fr) 1.2rem;
    align-items: center;
    gap: 0.4rem;
    font-size: 13px;
    color: #444;
  }

  .pdp-rsum__star {
    color: #aaa;
  }

  .pdp-rsum__bar {
    height: 6px;
    border-radius: 999px;
    background: #f0f0f0;
    overflow: hidden;
  }

  .pdp-rsum__bar span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #f5a623;
  }

  .pdp-rsum__c {
    text-align: end;
    color: #888;
  }

  .pdp-rlist {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
  }

  .pdp-review {
    padding: 1.1rem 1.35rem;
  }

  .pdp-review__top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
  }

  .pdp-review__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pdp-accent) 14%, #fff);
    color: var(--pdp-accent);
    font-size: 13px;
    font-weight: 800;
  }

  .pdp-review__who {
    flex: 1;
    min-width: 0;
  }

  .pdp-review__name {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #111;
  }

  .pdp-review__date {
    display: block;
    font-size: 13px;
    color: var(--adi-gray-500, #767677);
  }

  .pdp-review__title {
    margin: 0 0 0.25rem;
    font-size: 13px;
    font-weight: 800;
    color: #111;
  }

  .pdp-review__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
  }

  @media (max-width: 900px) {
    .pdp-reviews__grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  /* ---- All-reviews popup (login-popup style) ---------------------------------- */
  .pdp-rmodal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(17, 17, 17, 0.55);
  }

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

  .pdp-rmodal__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 36rem;
    max-height: 85vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
  }

  .pdp-rmodal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid var(--adi-gray-200, #e5e5e5);
  }

  .pdp-rmodal__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111;
  }

  .pdp-rmodal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--adi-gray-100, #f2f3f5);
    color: #333;
    cursor: pointer;
  }

  .pdp-rmodal__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.1rem 1.35rem 1.35rem;
    overflow-y: auto;
  }

  /* ---- Write-a-review form (inside the popup) --------------------------------- */
  .pdp-wform {
    gap: 0.9rem;
  }

  .pdp-wform__rating {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .pdp-wform__rating legend,
  .pdp-wform__field > span {
    display: block;
    margin-bottom: 0.35rem;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
  }

  /* Stars: radios in reverse DOM order so the ones before the chosen star light up. */
  .pdp-wform__stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
  }

  .pdp-wform__stars input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .pdp-wform__stars label {
    font-size: 26px;
    line-height: 1;
    color: #ddd;
    cursor: pointer;
  }

  .pdp-wform__stars label:hover,
  .pdp-wform__stars label:hover ~ label,
  .pdp-wform__stars input:checked ~ label {
    color: #f5a623;
  }

  .pdp-wform__stars input:focus-visible + label {
    outline: 2px solid var(--pdp-accent);
    outline-offset: 2px;
  }

  .pdp-wform__field {
    display: block;
  }

  .pdp-wform__field input,
  .pdp-wform__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    color: #111;
    background: #fff;
  }

  .pdp-wform__field textarea {
    resize: vertical;
  }

  .pdp-wform__field input:focus,
  .pdp-wform__field textarea:focus {
    outline: none;
    border-color: var(--pdp-accent);
  }

  .pdp-wform__notice {
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: #fff7e6;
    border: 1px solid #fbe3ab;
    color: #915b00;
    font-size: 13px;
  }

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

  .pdp-wform__submit {
    width: 100%;
    height: 44px;
  }

  /* ---- Reviews: purchase note + empty state ---------------------------------- */
  .pdp-reviews__note {
    margin: -0.5rem 0 1.25rem;
    font-size: 13px;
    color: var(--adi-gray-500, #767677);
  }

  .pdp-reviews__empty {
    margin: 0;
    padding: 2rem 1rem;
    text-align: center;
    border: 1px dashed var(--adi-gray-200, #e5e5e5);
    border-radius: 16px;
    color: var(--adi-gray-500, #767677);
    font-size: 14px;
  }

  a.pdp-reviews__write {
    text-decoration: none;
  }

  /* ---- Write-a-review popup: styles for the review card lifted from the review page ---- */
  .pdp-wmodal .rvp-card { border: 0; padding: 0; border-radius: 0; }
  .pdp-wmodal .rvp-product { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 800; color: #111; }
  .pdp-wmodal .rvp-note { margin: 0 0 1.1rem; font-size: 13px; line-height: 1.6; color: var(--adi-gray-500, #767677); }
  .pdp-wmodal .rvp-alert { margin-bottom: 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: 13.5px; }
  .pdp-wmodal .rvp-form { display: flex; flex-direction: column; gap: 1rem; }
  .pdp-wmodal .rvp-label,
  .pdp-wmodal .rvp-rating legend { display: block; margin: 0 0 0.35rem; padding: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #888; }
  .pdp-wmodal .rvp-label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
  .pdp-wmodal .rvp-rating { margin: 0; padding: 0; border: 0; }
  .pdp-wmodal .rvp-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.15rem; }
  .pdp-wmodal .rvp-stars input { position: absolute; opacity: 0; pointer-events: none; }
  .pdp-wmodal .rvp-stars label { font-size: 28px; line-height: 1; color: #ddd; cursor: pointer; }
  .pdp-wmodal .rvp-stars label:hover,
  .pdp-wmodal .rvp-stars label:hover ~ label,
  .pdp-wmodal .rvp-stars input:checked ~ label { color: #f5a623; }
  .pdp-wmodal .rvp-input,
  .pdp-wmodal .rvp-textarea { width: 100%; box-sizing: border-box; padding: 0.7rem 0.9rem; border: 1px solid var(--adi-gray-200, #e5e5e5); border-radius: 10px; font: inherit; font-size: 14px; color: #111; background: #fff; }
  .pdp-wmodal .rvp-textarea { resize: vertical; }
  .pdp-wmodal .rvp-input:focus,
  .pdp-wmodal .rvp-textarea:focus { outline: none; border-color: var(--rvp-accent); }
  .pdp-wmodal .rvp-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; box-sizing: border-box; height: 46px; padding: 0 1.25rem; border: 1px solid var(--rvp-accent); border-radius: 10px; background: var(--rvp-accent); color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; cursor: pointer; }
  .pdp-wmodal .rvp-empty { text-align: center; }
  .pdp-wmodal .rvp-empty h2 { margin: 0 0 0.6rem; font-size: 1.05rem; font-weight: 800; color: #111; }
  .pdp-wmodal .rvp-empty p { margin: 0 0 1.25rem; font-size: 14px; line-height: 1.6; color: #555; }

  /* ---- Offer product: black OFFER pill on the image, big accent price with the old price struck through, "You save" pill ---- */
  .pdp-offer-badge {
    position: absolute;
    top: 1rem;
    inset-inline-start: 1rem;
    z-index: 3;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .pdp-price-row { margin-bottom: 0.75rem; gap: 0.75rem; }
  .pdp-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; }
  .pdp-price-compare { font-size: 1.05rem; font-weight: 500; color: #888; }

  .pdp-save-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 1.25rem;
    padding: 0.5rem 0.85rem;
    border-radius: 10px;
    background: var(--adi-gray-100, #f2f3f5);
    font-size: 13px;
    color: #555;
  }

  .pdp-save-pill strong { color: #111; font-weight: 800; }

  /* ===================================================================
     Product options + thumbnails redesign (reference): bordered rounded
     option-group cards with pill rules (Minimum red / Maximum grey / Required),
     uppercase option rows with accent-tinted selected state and square ticks
     for multi-select (round for single-select), "SELECT #N" slot cards with a
     black index badge, and a 5-up thumbnail strip with an accent active border.
     =================================================================== */

  /* ---- Thumbnails: five tiles per row ---- */
  .pdp-thumbs { gap: 0.6rem; }
  .pdp-thumb {
    flex: 0 0 calc(20% - 0.5rem);
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--adi-gray-100, #f2f3f5);
  }
  .pdp-thumb:hover { border-color: color-mix(in srgb, var(--pdp-accent) 45%, transparent); }
  .pdp-thumb.is-active { border-color: var(--pdp-accent); }

  /* ---- Option-group cards ---- */
  .pdp-fieldset[data-config-group] {
    border: 1px solid var(--adi-gray-200, #e5e5e5);
    border-radius: 16px;
    padding: 0;
    background: #fff;
  }

  .pdp-fieldset[data-config-group] > .pdp-legend-bar {
    padding: 0.9rem 1.1rem;
    border-radius: 16px 16px 0 0;
    background: #fff;
    border-bottom: 1px solid var(--adi-gray-200, #e5e5e5);
  }

  .pdp-legend-title { font-size: 15px; font-weight: 800; color: #111; }

  .pdp-rule {
    padding: 3px 10px;
    border: 0;
    background: var(--adi-gray-100, #f2f3f5);
    color: #555;
    font-weight: 700;
  }

  .pdp-rule--danger { background: #fdeaea; color: #c0392b; }

  /* nested groups (inside a picked slot item) sit on a light panel */
  .pdp-config-nested .pdp-fieldset[data-config-group] { background: var(--adi-gray-50, #f8f8f9); }
  .pdp-config-nested .pdp-fieldset[data-config-group] > .pdp-legend-bar { background: transparent; }

  /* ---- Option rows ---- */
  .pdp-option { border-radius: 10px; padding: 11px 12px; }
  .pdp-option__label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #222;
  }

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

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

  /* square tick for multi-select, round for single-select */
  .pdp-option__tick { border-radius: 6px; width: 20px; height: 20px; }
  .pdp-option--selection .pdp-option__tick,
  .pdp-fieldset[data-kind="modifier"][data-max="1"] .pdp-option__tick { border-radius: 50%; }

  /* ---- "SELECT #N" slot card ---- */
  .pdp-config-slot { border-radius: 14px; margin: 12px; }
  .pdp-config-slot__label {
    padding: 11px 14px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .pdp-config-slot__index { width: 22px; height: 22px; background: #111; }
