/* Desktop product page — композиция по koffer-pdp-concept.html, изолирована от мобильного прототипа */

.pdp-desktop {
  display: none;
}

@media (min-width: 768px) {
  .pdp-mobile {
    display: none !important;
  }

  .pdp-desktop {
    --pdp-paper: #f2efe8;
    --pdp-surface: #fffdf8;
    --pdp-ink: #151a1f;
    --pdp-muted: #6f7479;
    --pdp-line: rgb(21 26 31 / 8%);
    --pdp-blue: #0a63d8;
    --pdp-blue-dark: #064da8;
    --pdp-blue-soft: #e8f1fc;
    --pdp-green: #159a5d;
    --pdp-green-soft: #e5f5ed;
    --pdp-shadow: 0 18px 50px rgb(21 26 31 / 9%);
    --pdp-shadow-soft: 0 12px 34px rgb(21 26 31 / 6%);

    display: block;
    color: var(--pdp-ink);
  }

  body.mobile-app-shell .catalog-main:has(.pdp-desktop),
  body.mobile-app-shell main.content-shell:has(.pdp-desktop) {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 48px !important;
  }

  .pdp-desktop__shell {
    box-sizing: border-box;
    width: min(100%, var(--content-w, var(--desk-w, 1180px)));
    max-width: var(--content-w, var(--desk-w, 1180px));
    margin: 0 auto;
    padding: 0 var(--content-pad, 24px);
    overflow-x: clip;
  }

  /* --- Breadcrumbs --- */

  .pdp-desktop .catalog-breadcrumbs {
    width: 100%;
    max-width: none;
    margin: 18px 0 12px;
    box-sizing: border-box;
  }

  /* --- Head --- */

  .pdp-desktop__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 4px 0 22px;
  }

  .pdp-desktop__eyebrow {
    margin: 0;
    color: var(--pdp-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .pdp-desktop__head h1 {
    width: 100%;
    max-width: none;
    margin: 0;
    font-size: clamp(1.75rem, 2.6vw, 2.6rem);
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: -0.045em;
  }

  .pdp-desktop__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    margin-top: 12px;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
  }

  .pdp-desktop__meta-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    min-width: 0;
  }

  .pdp-desktop__meta a {
    color: var(--pdp-blue);
    font-weight: 600;
    text-decoration: none;
  }

  .pdp-desktop__sku {
    color: var(--pdp-ink);
    font-weight: 700;
  }

  .pdp-desktop__sku--mfr {
    color: var(--pdp-muted);
    font-weight: 600;
  }

  .pdp-desktop__meta-highlight {
    color: var(--pdp-green);
    font-weight: 600;
  }

  .pdp-desktop__rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--pdp-ink);
    font-weight: 700;
  }

  .pdp-desktop__rating span[aria-hidden="true"] {
    color: #e9a614;
  }

  .pdp-desktop__actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 0 auto;
  }

  .pdp-desktop__action {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--pdp-line);
    border-radius: 999px;
    background: rgb(255 255 255 / 64%);
    padding: 0 14px;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition:
      color 0.16s ease,
      border-color 0.16s ease;
  }

  .pdp-desktop__action:hover {
    border-color: rgb(10 99 216 / 32%);
    color: var(--pdp-blue);
  }

  .pdp-desktop__action svg {
    width: 17px;
    height: 17px;
  }

  /* --- Hero: галерея + покупка --- */

  .pdp-desktop__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(340px, 0.8fr);
    gap: 18px;
    align-items: start;
  }

  .pdp-desktop__gallery-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    align-content: start;
  }

  .pdp-desktop__gallery {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--pdp-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--pdp-shadow);
  }

  .pdp-desktop__badges {
    position: absolute;
    top: 18px;
    left: 116px;
    z-index: 2;
    display: flex;
    gap: 8px;
  }

  .pdp-desktop__badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    border-radius: 999px;
    background: var(--pdp-blue);
    padding: 0 11px;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
  }

  .pdp-desktop__badge.is-green {
    background: var(--pdp-green);
  }

  .pdp-desktop__gallery-island {
    min-height: 0;
  }

  .pdp-desktop__gallery .product-gallery {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 0;
    align-items: start;
  }

  .pdp-desktop__gallery .product-gallery--single {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .pdp-desktop__gallery .product-gallery--single .product-gallery-main {
    padding: 0;
  }

  .pdp-desktop__gallery .product-gallery--single .mobile-product-gallery-frame {
    min-height: 0;
  }

  .pdp-desktop__gallery .product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 9px;
    max-height: 520px;
    overflow-y: auto;
    padding: 18px 12px 18px 18px;
    border-right: 1px solid var(--pdp-line);
    scrollbar-width: none;
  }

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

  .pdp-desktop__gallery .product-gallery-thumbs button {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    overflow: hidden;
    border: 1px solid rgb(21 26 31 / 11%);
    border-radius: 12px;
    background: #fff;
    padding: 3px;
    cursor: pointer;
    transition:
      border-color 0.16s ease,
      box-shadow 0.16s ease;
  }

  .pdp-desktop__gallery .product-gallery-thumbs button.is-active {
    border-color: var(--pdp-blue);
    box-shadow: 0 0 0 2px rgb(10 99 216 / 14%);
  }

  .pdp-desktop__gallery .product-gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .pdp-desktop__gallery .product-gallery-main {
    display: grid;
    min-width: 0;
    place-items: center;
    background: radial-gradient(circle at center, #fff 0 45%, #f8f7f3 100%);
    padding: 56px 42px 28px;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame {
    width: 100%;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background: transparent;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .pdp-desktop__gallery .product-gallery-dots {
    display: none;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame {
    position: relative;
  }

  .pdp-desktop__gallery .mobile-gallery-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--pdp-line);
    border-radius: 50%;
    background: rgb(255 255 255 / 92%);
    color: var(--pdp-ink);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition:
      opacity 0.18s ease,
      color 0.18s ease;
  }

  .pdp-desktop__gallery:hover .mobile-gallery-arrow,
  .pdp-desktop__gallery .mobile-gallery-arrow:focus-visible {
    opacity: 1;
  }

  .pdp-desktop__gallery .mobile-gallery-arrow:hover {
    color: var(--pdp-blue);
  }

  .pdp-desktop__gallery .mobile-gallery-arrow.is-prev {
    left: 4px;
  }

  .pdp-desktop__gallery .mobile-gallery-arrow.is-next {
    right: 4px;
  }

  /* --- Buy column --- */

  .pdp-desktop__buy {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 12px;
    align-self: start;
  }


  .pdp-desktop__buy .purchase-card {
    display: grid;
    gap: 10px;
    border: 1px solid var(--pdp-line);
    border-radius: 28px;
    background: var(--pdp-surface);
    box-shadow: var(--pdp-shadow);
    padding: 22px;
    margin-top: 0;
  }


  /* Neutralize mobile prototype "all divs are grid" inside buy card */
  .pdp-desktop__buy .purchase-card div {
    display: block;
    gap: normal;
  }

  .pdp-desktop__buy .purchase-card .purchase-variants,
  .pdp-desktop__buy .purchase-card .purchase-variants-card,
  .pdp-desktop__buy .purchase-card .purchase-variant-group,
  .pdp-desktop__buy .purchase-card .purchase-variant-list {
    min-width: 0;
  }

  .pdp-desktop__buy .purchase-card .purchase-variants {
    display: grid !important;
    gap: 10px !important;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
  }

  .pdp-desktop__buy .purchase-card .purchase-variants-card {
    display: grid !important;
    gap: 9px !important;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 8px 0 !important;
    box-sizing: border-box;
  }

  .pdp-desktop__buy .purchase-card .purchase-variant-group:not(.is-profile) {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    padding: 0 !important;
  }

  .pdp-desktop__buy .purchase-card .purchase-variant-group:not(.is-profile) > .purchase-variant-list {
    display: flex !important;
    flex-wrap: wrap !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    min-width: 0;
  }

  .pdp-desktop__buy .purchase-meta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .pdp-desktop__buy .purchase-meta-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    min-height: 28px;
  }


  .pdp-desktop__buy .purchase-savings-slot {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 28px;
  }

  .pdp-desktop__buy .purchase-meta-top-spacer {
    display: block;
    flex: 0 0 auto;
    width: 1px;
    min-height: 28px;
    visibility: hidden;
  }

  .pdp-desktop__buy .product-savings-chip {
    flex: 0 1 auto;
    display: inline-flex !important;
    min-height: 28px;
    align-items: center;
    max-width: min(100%, 12rem);
    border-radius: 999px;
    background: var(--pdp-green-soft);
    padding: 0 10px;
    color: var(--pdp-green) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-sku {
    margin: 0;
    margin-left: auto;
    color: var(--pdp-muted) !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-price-main {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 12px;
    min-width: 0;
  }

  .pdp-desktop__buy .purchase-price-main strong {
    font-size: 2.25rem !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
  }

  .pdp-desktop__buy .purchase-price-main .old-price {
    margin-left: 12px !important;
    color: #9aa1a8 !important;
    font-size: 0.9375rem !important;
    font-weight: 700 !important;
    text-decoration: line-through;
    white-space: nowrap;
  }

  .pdp-desktop__buy .cashback-line {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  .pdp-desktop__buy .purchase-price {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 4px !important;
    margin: 0;
  }

  .pdp-desktop__buy .purchase-stock-line {
    display: flex !important;
    width: 100%;
    margin: 0;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-stock-line.is-order,
  .pdp-desktop__buy .purchase-stock-line.is-muted {
    color: #c62828 !important;
  }

  .pdp-desktop__buy .purchase-stock-line.is-order strong,
  .pdp-desktop__buy .purchase-stock-line.is-muted strong {
    color: #c62828 !important;
  }

  .pdp-desktop__buy .purchase-stock-line:not(.is-order):not(.is-muted),
  .pdp-desktop__buy .purchase-stock-line:not(.is-order):not(.is-muted) strong {
    color: #13784b !important;
  }

  .pdp-desktop__buy .purchase-installment,
  .pdp-desktop__buy .purchase-price > small {
    display: block !important;
    width: 100%;
    margin: 0;
    color: #8a551f !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    line-height: 1.35;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-installment__label {
    font-weight: 600;
  }


  .pdp-desktop__buy .purchase-variants {
    display: grid !important;
    gap: 10px !important;
    width: 100%;
    max-width: none;
    margin: 8px 0 18px;
    margin-inline: 0;
    padding: 0;
    border-top: none;
    min-width: 0;
    box-sizing: border-box;
  }

  .pdp-desktop__buy .purchase-variants-card {
    display: grid !important;
    gap: 9px !important;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 8px 0 !important;
    min-width: 0;
    box-sizing: border-box;
  }

  .pdp-desktop__buy .purchase-variants-title {
    display: block;
    margin: 0;
  }

  .pdp-desktop__buy .purchase-variant-group + .purchase-variant-group {
    margin-top: 0 !important;
  }

  .pdp-desktop__buy .purchase-variant-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 6px !important;
    padding: 0 !important;
    min-width: 0;
  }

  .pdp-desktop__buy .purchase-variant-label {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    color: var(--pdp-ink) !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
  }


  .pdp-desktop__buy .purchase-variant-group.is-profile {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 0 !important;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile .purchase-variant-label {
    width: 100%;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile > .purchase-variant-list,
  .pdp-desktop__buy .purchase-variant-group.is-profile > .purchase-profiles {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    width: 100%;
    flex: none !important;
    min-width: 0;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 > .purchase-variant-list,
  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 > .purchase-profiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile .pdp-desktop__profile-chip {
    width: 100%;
    min-width: 0 !important;
    max-width: none;
    flex: none !important;
    box-sizing: border-box;
  }

  .pdp-desktop__buy .purchase-variant-group > .purchase-variant-list,
  .pdp-desktop__buy .purchase-variant-group > .purchase-profiles {
    margin-top: 0 !important;
    flex: 1 1 auto;
  }

  .pdp-desktop__buy .purchase-price-main {
    margin-top: 4px;
  }

  .pdp-desktop__buy .purchase-variant-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    row-gap: 8px !important;
    min-width: 0;
    padding-bottom: 0;
  }

  .pdp-desktop__buy a.purchase-color-chip,
  .pdp-desktop__buy a.purchase-finish-chip {
    text-decoration: none;
  }

  .pdp-desktop__buy .purchase-color-chip,
  .pdp-desktop__buy .purchase-finish-chip {
    display: inline-flex !important;
    box-sizing: border-box;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgb(10 99 216 / 6%);
    padding: 6px 12px;
    color: #151a1f !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    cursor: pointer;
  }

  .pdp-desktop__buy .purchase-color-chip > span,
  .pdp-desktop__buy .purchase-finish-chip > span {
    color: #151a1f !important;
  }

  .pdp-desktop__buy .purchase-color-chip.is-active,
  .pdp-desktop__buy .purchase-finish-chip.is-active {
    border-color: var(--blue);
    border-width: 2px;
    background: #fff;
    box-shadow: none;
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .pdp-desktop__buy .purchase-color-swatch {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border-radius: 50%;
    border: 1px solid rgb(21 26 31 / 16%);
    background: #9aa1a8;
  }

  .pdp-desktop__buy .purchase-color-chip.color-white .purchase-color-swatch {
    background: linear-gradient(145deg, #fff, #eef0f1);
  }

  .pdp-desktop__buy .purchase-color-chip.color-black .purchase-color-swatch {
    background: linear-gradient(145deg, #30363c, #07090b);
    border-color: rgb(22 27 31 / 86%);
  }

  .pdp-desktop__buy .purchase-color-chip.color-gray .purchase-color-swatch {
    background: linear-gradient(145deg, #c3c9ce, #757f88);
  }

  .pdp-desktop__buy .purchase-color-chip.color-silver .purchase-color-swatch {
    background: linear-gradient(145deg, #f0f2f3, #aeb6bd);
  }

  .pdp-desktop__buy .purchase-finish-chip {
    flex: 0 1 auto;
  }


  .pdp-desktop__buy .purchase-variant-group.is-profile .pdp-desktop__profile-chip,
  .pdp-desktop__buy .purchase-variant-group.is-profile a.pdp-desktop__profile-chip {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 0 !important;
    max-width: none;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: rgb(10 99 216 / 6%);
    padding: 5px 8px;
    color: var(--pdp-ink);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 > .purchase-variant-list,
  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 > .purchase-profiles {
    gap: 6px !important;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 .pdp-desktop__profile-chip {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    font-size: 0.625rem;
    line-height: 1.1;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    min-height: 36px;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 .pdp-desktop__profile-chip-icon,
  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 .profile-chip-icon {
    width: 34px;
    height: 22px;
    flex: 0 0 22px;
  }

  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 .pdp-desktop__profile-img,
  .pdp-desktop__buy .purchase-variant-group.is-profile.is-cols-3 .pdp-desktop__profile-svg {
    width: 34px;
    height: 22px;
  }

  .pdp-desktop__buy .purchase-variant-list .pdp-desktop__profile-chip.is-active,
  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-chip.is-active,
  .pdp-desktop__buy a.pdp-desktop__profile-chip.is-active {
    border-color: var(--blue);
    border-width: 2px;
    background: #fff;
    box-shadow: none;
    outline: 2px solid var(--blue);
    outline-offset: 2px;
  }

  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-chip-icon,
  .pdp-desktop__buy .purchase-profiles .profile-chip-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 28px;
    flex: 0 0 44px;
    border-radius: 0;
    background: transparent !important;
    color: var(--pdp-blue, #0a63d8);
    overflow: visible;
  }

  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-chip-icon::before,
  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-chip-icon::after {
    content: none !important;
    display: none !important;
  }

  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-img,
  .pdp-desktop__buy .purchase-profiles .pdp-desktop__profile-svg {
    display: block;
    width: 44px;
    height: 28px;
    object-fit: contain;
    object-position: center;
  }



  .pdp-desktop__buy .product-stock-link {
    display: none !important;
  }


  .pdp-desktop__buy .purchase-fulfillment {
    display: grid;
    gap: 10px;
    margin-top: 14px;
  }

  .pdp-desktop__buy .purchase-fulfillment__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .pdp-desktop__buy .purchase-fulfillment__label {
    color: var(--pdp-ink);
    font-weight: 700;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-fulfillment__value {
    color: var(--pdp-muted);
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
  }

  .pdp-desktop__buy .purchase-fulfillment__row.is-note .purchase-fulfillment__value {
    color: #b45309;
  }

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

  .pdp-desktop__buy .purchase-card .primary {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--pdp-blue);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgb(10 99 216 / 22%);
    transition: background-color 0.16s ease;
  }

  .pdp-desktop__buy .purchase-card .primary:hover {
    background: var(--pdp-blue-dark);
  }

  .pdp-desktop__buy .purchase-card .primary.is-in-cart,
  .pdp-desktop__buy .purchase-card .primary[data-cart-add].is-in-cart {
    background: var(--green, #159a5d);
    box-shadow: 0 10px 24px rgb(21 154 93 / 22%);
  }

  .pdp-desktop__buy .purchase-card .primary.is-in-cart:hover {
    background: color-mix(in srgb, var(--green, #159a5d) 88%, #000);
  }

  .pdp-desktop__buy .product-price-banner {
    display: grid;
    gap: 2px;
    border-radius: 10px;
    background: var(--pdp-green-soft);
    padding: 10px 12px;
  }

  .pdp-desktop__buy .product-price-banner span {
    color: var(--pdp-green);
    font-size: 0.8125rem;
    font-weight: 700;
  }

  .pdp-desktop__buy .product-savings-chip {
    display: inline-grid;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    background: var(--pdp-green-soft);
    padding: 0 10px;
    color: var(--pdp-green);
    font-size: 0.6875rem;
    font-weight: 700;
  }



  /* Compact kit under buy card */

  .pdp-desktop__buy a.pdp-rack-picker {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .pdp-desktop__buy .pdp-rack-picker {
    position: relative;
    display: block;
    overflow: hidden;
    height: 116px;
    border: 1px solid var(--pdp-line);
    border-radius: 18px;
    background: #eef3f7;
    box-shadow: var(--pdp-shadow-soft);
    text-decoration: none;
    transition:
      transform 0.18s ease,
      box-shadow 0.18s ease;
  }

  .pdp-desktop__buy .pdp-rack-picker:hover {
    transform: translateY(-1px);
    box-shadow: var(--pdp-shadow);
  }

  .pdp-desktop__buy .pdp-rack-picker__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
  }

  .pdp-desktop__buy .pdp-rack-picker__shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgb(12 18 24 / 74%) 0%, rgb(12 18 24 / 34%) 55%, rgb(12 18 24 / 16%) 100%);
  }

  .pdp-desktop__buy .pdp-rack-picker__label {
    position: absolute;
    top: 10px;
    right: 12px;
    left: 12px;
    color: #fff;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    text-shadow: 0 1px 12px rgb(0 0 0 / 45%);
  }

  .pdp-desktop__buy .pdp-buy-kit {
    display: grid;
    gap: 12px;
    border: 1px solid var(--pdp-line);
    border-radius: 22px;
    background: rgb(232 242 255 / 72%);
    padding: 16px 18px;
  }

  .pdp-desktop__buy .pdp-buy-kit__title {
    margin: 0;
    color: var(--pdp-ink);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .pdp-desktop__buy .pdp-buy-kit__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pdp-desktop__buy .pdp-buy-kit__item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--pdp-ink);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
  }

  .pdp-desktop__buy .pdp-buy-kit__bullet {
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--pdp-blue);
  }

  .pdp-desktop__buy .pdp-buy-kit__body {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .pdp-desktop__buy .pdp-buy-kit__name {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pdp-desktop__buy a.pdp-buy-kit__name:hover {
    color: var(--pdp-blue);
  }

  .pdp-desktop__buy .pdp-buy-kit__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: rgb(21 26 31 / 62%);
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .pdp-desktop__buy .pdp-buy-kit__price {
    color: var(--pdp-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
  }

  .pdp-desktop__buy .pdp-buy-kit__sku {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  .pdp-desktop__buy .pdp-buy-kit__stock.is-in-stock {
    color: #159a5d;
  }

  .pdp-desktop__buy .pdp-buy-kit__stock.is-preorder {
    color: #b45309;
  }


  .pdp-desktop__assurance {
    display: grid;
    gap: 13px;
    border: 1px solid var(--pdp-line);
    border-radius: 22px;
    background: rgb(255 253 248 / 72%);
    padding: 18px 20px;
  }

  .pdp-desktop__assurance-row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    font-size: 0.6875rem;
  }

  .pdp-desktop__assurance-row i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: var(--pdp-blue-soft);
    color: var(--pdp-blue);
  }

  .pdp-desktop__assurance-row svg {
    width: 17px;
    height: 17px;
  }

  .pdp-desktop__assurance-row strong {
    display: block;
    font-size: 0.8125rem;
  }

  .pdp-desktop__assurance-row span {
    color: var(--pdp-muted);
  }

  /* --- Facts --- */

  .pdp-desktop__facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 18px 0;
    width: 100%;
  }

  .pdp-desktop__facts.is-under-gallery {
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
  }

  .pdp-desktop__facts.is-under-gallery .pdp-fact {
    min-height: 108px;
    padding: 12px 10px;
  }

  .pdp-desktop__facts.is-under-gallery .pdp-fact span {
    font-size: 0.8125rem;
  }

  .pdp-desktop__facts.is-under-gallery .pdp-fact strong {
    font-size: 1.125rem;
    letter-spacing: -0.035em;
  }

  .pdp-fact {
    display: grid;
    gap: 4px;
    align-content: start;
    justify-items: center;
    min-height: 122px;
    border: 1px solid var(--pdp-line);
    border-radius: 18px;
    background: rgb(255 253 248 / 74%);
    padding: 16px;
    text-align: center;
    transition:
      border-color 0.18s ease,
      transform 0.18s ease;
  }

  .pdp-fact:hover {
    border-color: rgb(10 99 216 / 26%);
    transform: translateY(-2px);
  }

  .pdp-fact__icon {
    width: 22px;
    height: 22px;
    margin-bottom: 8px;
    color: var(--pdp-blue);
  }

  .pdp-fact__profile-img {
    display: block;
    width: 112px;
    height: 70px;
    margin: 0 auto 8px;
    object-fit: contain;
    object-position: center;
  }

  .pdp-fact--profile,
  .pdp-fact--schematic {
    gap: 6px;
  }

  .pdp-desktop__facts.is-under-gallery .pdp-fact--profile,
  .pdp-desktop__facts.is-under-gallery .pdp-fact--schematic {
    min-height: 148px;
  }

  .pdp-fact span {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .pdp-fact strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }


  /* --- Live photos on car --- */

  .pdp-live-photos {
    display: grid;
    gap: 14px;
    min-width: 0;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 22px 0 4px;
    overflow: hidden;
    border-top: 1px solid var(--pdp-line);
  }

  .pdp-live-photos__head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: baseline;
    justify-content: space-between;
  }

  .pdp-live-photos__head h2 {
    margin: 0;
    color: var(--pdp-ink);
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
  }

  .pdp-live-photos__head p {
    margin: 0;
    color: var(--pdp-muted);
    font-size: 0.875rem;
    font-weight: 600;
  }

  .pdp-live-photos__island,
  .pdp-live-photos__carousel {
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .pdp-live-photos__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 220px;
    gap: 12px;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 2px 44px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .pdp-live-photos__track::-webkit-scrollbar {
    height: 6px;
  }

  .pdp-live-photos__item {
    position: relative;
    display: block;
    width: 220px;
    max-width: 100%;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--pdp-line);
    border-radius: 18px;
    background: #eef2f5;
    padding: 0;
    scroll-snap-align: start;
    box-shadow: var(--pdp-shadow-soft);
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .pdp-live-photos__item:hover {
    transform: translateY(-2px);
    box-shadow: var(--pdp-shadow);
  }

  .pdp-live-photos__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
  }

  .pdp-live-photos__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--pdp-line);
    border-radius: 50%;
    background: rgb(255 255 255 / 94%);
    color: var(--pdp-ink);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: var(--pdp-shadow-soft);
  }

  .pdp-live-photos__nav.is-prev {
    left: 4px;
  }

  .pdp-live-photos__nav.is-next {
    right: 4px;
  }

  .pdp-live-photos__nav:hover {
    color: var(--pdp-blue);
  }

  .pdp-live-photos__nav:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .pdp-live-photos__empty {
    margin: 0;
    color: var(--pdp-muted);
    font-size: 0.875rem;
  }

  /* --- Fit card --- */

  .pdp-desktop__fit {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin: 18px 0 0;
    overflow: hidden;
    border-radius: 26px;
    background:
      radial-gradient(circle at 90% -20%, rgb(255 255 255 / 16%), transparent 40%),
      linear-gradient(135deg, #093c77, var(--pdp-blue));
    padding: 26px 30px;
    color: #fff;
    box-shadow: 0 18px 44px rgb(10 74 150 / 20%);
  }

  .pdp-desktop__fit-copy h2 {
    margin: 0 0 5px;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
  }

  .pdp-desktop__fit-copy p {
    margin: 0;
    color: rgb(255 255 255 / 75%);
    font-size: 0.8125rem;
  }

  .pdp-desktop__fit-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 190px)) auto;
    gap: 8px;
    align-items: end;
  }

  .pdp-desktop__fit-form label {
    display: grid;
    gap: 5px;
  }

  .pdp-desktop__fit-form label > span {
    color: rgb(255 255 255 / 72%);
    font-size: 0.6875rem;
    font-weight: 600;
  }

  .pdp-desktop__fit-form select {
    height: 44px;
    border: 1px solid rgb(255 255 255 / 25%);
    border-radius: 12px;
    outline: 0;
    background: rgb(255 255 255 / 95%);
    padding: 0 12px;
    color: var(--pdp-ink);
    font: inherit;
    font-size: 0.75rem;
  }

  .pdp-desktop__fit-form button {
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    padding: 0 20px;
    color: var(--pdp-blue);
    font-weight: 700;
    cursor: pointer;
  }

  /* --- Benefits --- */

  .pdp-desktop__benefits {
    margin-top: 46px;
  }

  .pdp-desktop__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
  }

  .pdp-desktop__section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
  }

  .pdp-desktop__section-head p {
    max-width: 520px;
    margin: 0;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .pdp-desktop__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .pdp-benefit {
    min-height: 190px;
    border-radius: 24px;
    background: var(--pdp-surface);
    padding: 24px;
    box-shadow: var(--pdp-shadow-soft);
  }

  .pdp-benefit__number {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 32px;
    border-radius: 13px;
    background: var(--pdp-blue-soft);
    color: var(--pdp-blue);
    font-size: 0.75rem;
    font-weight: 700;
  }

  .pdp-benefit h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.025em;
  }

  .pdp-benefit p {
    margin: 0;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  /* --- Kit (багажные системы) --- */

  .pdp-desktop__kit-section {
    margin-top: 28px;
  }

  .pdp-desktop__kit {
    display: grid;
    gap: 14px;
  }

  .pdp-desktop__kit-card {
    display: grid;
    gap: 12px;
    padding: 24px 26px;
    border-radius: 24px;
    background: var(--pdp-surface);
    box-shadow: var(--pdp-shadow-soft);
  }

  .pdp-desktop__kit-eyebrow {
    margin: 0;
    color: var(--pdp-blue);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .pdp-desktop__kit-card h2 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .pdp-desktop__kit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 8px;
    margin-top: 4px;
  }

  .pdp-desktop__kit-list article {
    display: grid;
    gap: 2px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgb(21 26 31 / 3%);
  }

  .pdp-desktop__kit-list strong {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .pdp-desktop__kit-list span {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
  }

  .pdp-desktop__kit-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .pdp-desktop__profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid rgb(21 26 31 / 14%);
    border-radius: 11px;
    background: #fff;
    color: var(--pdp-ink);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      border-color 0.16s ease,
      box-shadow 0.16s ease;
  }

  .pdp-desktop__profile-chip.is-active {
    border-color: var(--pdp-ink);
    box-shadow: inset 0 0 0 1px var(--pdp-ink);
  }

.pdp-desktop__profile-chip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 32px;
    border-radius: 0;
    background: transparent;
    color: var(--pdp-blue, #0a63d8);
    overflow: visible;
  }

  .pdp-desktop__profile-chip-icon::before,
  .pdp-desktop__profile-chip-icon::after {
    content: none !important;
    display: none !important;
  }

  .pdp-desktop__profile-img,
  .pdp-desktop__profile-svg {
    display: block;
    width: 58px;
    height: 38px;
    object-fit: contain;
    object-position: center;
  }


  .pdp-desktop__profile-svg .cavity {
    fill: rgb(236 243 251);
  }

  .pdp-desktop__profile-chip.is-active .pdp-desktop__profile-svg .cavity,
  a.pdp-desktop__profile-chip.is-active .pdp-desktop__profile-svg .cavity {
    fill: #fff;
  }

  /* --- Details cards --- */


  /* --- PDP content tabs --- */

  .pdp-desktop__tabs {
    display: grid;
    gap: 18px;
  }

  .pdp-desktop__details-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .pdp-desktop__details-body.has-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  }

  .pdp-desktop__tabpanels {
    min-width: 0;
  }

  .pdp-desktop__tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 0;
    padding: 0 2px 12px;
    border-bottom: 1px solid var(--pdp-line);
  }

  .pdp-desktop__tab {
    position: relative;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    background: transparent;
    color: var(--pdp-muted);
    font: inherit;
    font-size: 1rem;
    font-weight: 650;
    letter-spacing: -0.02em;
    cursor: pointer;
  }

  .pdp-desktop__tab:hover {
    color: var(--pdp-ink, #151a1f);
  }

  .pdp-desktop__tab.is-active {
    color: var(--pdp-ink, #151a1f);
  }

  .pdp-desktop__tab.is-active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--pdp-blue);
    content: "";
  }

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

  .pdp-desktop__tabpanel h2 {
    margin-top: 0;
  }

  .pdp-desktop__accessories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
  }

  .pdp-acc-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: stretch;
    min-height: 132px;
    height: 132px;
    overflow: hidden;
    border: 1px solid rgb(21 26 31 / 12%);
    border-radius: 16px;
    background: #fff;
    color: inherit;
    box-shadow: 0 1px 0 rgb(21 26 31 / 4%);
    transition: background 0.15s ease, border-color 0.15s ease;
  }

  .pdp-acc-card:hover {
    border-color: rgb(10 99 216 / 35%);
    background: #f8fafc;
  }

  .pdp-acc-card__media {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 96px;
    height: 100%;
    min-height: 132px;
    padding: 2px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
  }

  .pdp-acc-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .pdp-acc-card__main {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
    padding: 10px 12px 10px 10px;
  }

  .pdp-acc-card__body {
    display: grid;
    align-content: start;
    gap: 2px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
  }

  .pdp-acc-card__body em {
    display: block;
    color: var(--pdp-muted);
    font-size: 0.72rem;
    font-style: normal;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .pdp-acc-card__body strong {
    display: -webkit-box;
    overflow: hidden;
    max-height: calc(1.3em * 2);
    font-size: 0.875rem;
    font-weight: 650;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .pdp-acc-card__stock {
    margin-top: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .pdp-acc-card__stock.is-ok {
    color: #15803d;
  }

  .pdp-acc-card__stock.is-out {
    color: #b45309;
  }

  .pdp-acc-card__row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }

  .pdp-acc-card__price {
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 750;
    line-height: 1.2;
  }

  .pdp-acc-card__add {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #0a63d8;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .pdp-acc-card__add:hover {
    background: #084ea9;
  }


  .pdp-acc-card__add.is-added {
    background: #15803d;
  }

  .pdp-acc-card__add.is-added:hover {
    background: #166534;
  }

  .pdp-acc-card__add:disabled {
    opacity: 0.55;
    cursor: wait;
  }

  .pdp-desktop__review-head {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: baseline;
    margin: 0 0 12px;
  }

  .pdp-desktop__review-head strong {
    font-size: 1.375rem;
    letter-spacing: -0.03em;
  }

  .pdp-desktop__review-head span {
    color: var(--pdp-muted);
    font-size: 0.875rem;
  }

  .pdp-desktop__review-list {
    display: grid;
    gap: 0;
    margin: 4px 0 8px;
  }

  .pdp-desktop__review {
    padding: 16px 0;
    border-top: 1px solid var(--pdp-line, rgba(15, 23, 42, 0.08));
  }

  .pdp-desktop__review:first-child {
    border-top: 0;
    padding-top: 4px;
  }

  .pdp-desktop__review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: baseline;
    margin: 0 0 6px;
  }

  .pdp-desktop__review-author {
    font-size: 0.9375rem;
    font-weight: 650;
    letter-spacing: -0.01em;
  }

  .pdp-desktop__review-stars {
    color: #b45309;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
  }

  .pdp-desktop__review-date {
    color: var(--pdp-muted);
    font-size: 0.8125rem;
  }

  .pdp-desktop__review-title {
    margin: 0 0 6px;
    font-size: 0.9375rem;
    font-weight: 650;
    letter-spacing: -0.01em;
  }

  .pdp-desktop__review-body,
  .pdp-desktop__review-side,
  .pdp-desktop__review-answer {
    margin: 0 0 6px;
    color: var(--pdp-text, #0f172a);
    font-size: 0.875rem;
    line-height: 1.55;
  }

  .pdp-desktop__review-side,
  .pdp-desktop__review-answer {
    color: var(--pdp-muted);
  }

  .pdp-desktop__review-side span,
  .pdp-desktop__review-answer span {
    color: var(--pdp-text, #0f172a);
    font-weight: 600;
  }

  .pdp-desktop__review-answer {
    padding-left: 12px;
    border-left: 2px solid var(--pdp-line, rgba(15, 23, 42, 0.12));
  }

  .pdp-desktop__details {
    margin-top: 46px;
  }

  .pdp-card {
    border-radius: 26px;
    background: var(--pdp-surface);
    padding: 26px;
    box-shadow: var(--pdp-shadow-soft);
  }

  .pdp-card--compact {
    padding: 20px 22px;
    border-radius: 22px;
  }

  .pdp-card h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.035em;
  }

  .pdp-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 0.9375rem;
    font-weight: 700;
  }

  .pdp-card h3 svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    color: var(--pdp-blue);
  }

  .pdp-card__description {
    color: #42484d;
    font-size: 0.875rem;
    line-height: 1.7;
  }

  .pdp-card__description p {
    margin: 0 0 14px;
  }

  .pdp-card__description-wrap.is-collapsed {
    position: relative;
    max-height: var(--collapsed-height, 280px);
    overflow: hidden;
  }

  .pdp-card__description-wrap.is-collapsed::after {
    position: absolute;
    inset: auto 0 0;
    height: 64px;
    background: linear-gradient(180deg, rgb(255 253 248 / 0%), var(--pdp-surface));
    pointer-events: none;
    content: "";
  }

  .pdp-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--pdp-blue);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
  }

  .pdp-card__more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
  }

  .pdp-card__more[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .pdp-card__specs {
    margin: 0;
  }

  .pdp-card__specs div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pdp-line);
    font-size: 0.8125rem;
  }

  .pdp-card__specs div:last-child {
    border-bottom: 0;
  }

  .pdp-card__specs dt {
    margin: 0;
    color: var(--pdp-muted);
  }

  .pdp-card__specs dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
  }

  .pdp-desktop__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    position: sticky;
    top: 96px;
  }

  .pdp-card__bullets {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pdp-card__kit-sku {
    color: var(--pdp-muted);
    font-weight: 600;
    white-space: nowrap;
  }

  .pdp-card__bullets li {
    position: relative;
    padding-left: 18px;
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .pdp-card__bullets li::before {
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--pdp-blue);
    content: "";
  }

  .pdp-card__rows {
    margin: 0;
  }

  .pdp-card__rows div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--pdp-line);
    font-size: 0.8125rem;
  }

  .pdp-card__rows div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .pdp-card__rows dt {
    margin: 0;
    color: var(--pdp-muted);
  }

  .pdp-card__rows dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
  }

  .pdp-card__docs {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pdp-card__docs a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    color: var(--pdp-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
  }

  .pdp-card__docs a:hover {
    color: var(--pdp-blue-dark);
  }

  .pdp-card__docs a.is-download {
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px solid var(--pdp-line);
  }

  .pdp-card__docs svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
  }


  .pdp-card--brand h3 {
    margin-bottom: 14px;
  }

  .pdp-card__brand {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .pdp-card__brand-mark {
    display: grid;
    width: 88px;
    height: 88px;
    place-items: center;
    border-radius: 18px;
    background: var(--pdp-blue-soft);
    color: var(--pdp-blue);
    font-size: 0.875rem;
    font-weight: 700;
  }

  .pdp-card__brand-mark.has-logo {
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--pdp-line);
    padding: 10px;
  }

  .pdp-card__brand-mark.has-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .pdp-card__brand-lead {
    margin: 12px 0 0;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .pdp-card--brand .pdp-card__brand strong {
    font-size: 1.0625rem;
  }

  .pdp-card__brand strong {
    display: block;
    font-size: 0.9375rem;
  }

  .pdp-card__brand span {
    color: var(--pdp-muted);
    font-size: 0.75rem;
  }

  .pdp-card__link {
    display: inline-block;
    margin-top: 14px;
    color: var(--pdp-blue);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
  }

  .pdp-card__note {
    margin: -6px 0 16px;
    color: var(--pdp-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  .pdp-card--fitments {
    margin-top: 18px;
  }

  .pdp-card__fitments {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 10px;
  }

  .pdp-card__fitments article {
    display: grid;
    gap: 2px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgb(21 26 31 / 3%);
    font-size: 0.8125rem;
  }

  .pdp-card__fitments strong {
    font-weight: 700;
  }

  .pdp-card__fitments span {
    color: var(--pdp-muted);
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .pdp-desktop__details-body.has-sidebar {
    grid-template-columns: 1fr;
  }

  .pdp-desktop__cards {
    position: static;
  }
  .pdp-desktop__hero {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .pdp-desktop__gallery-island,
  .pdp-desktop__gallery .product-gallery {
    min-height: 0;
  }

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

  .pdp-desktop__benefits-grid,
  .pdp-desktop__details-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .pdp-desktop__hero {
    grid-template-columns: 1fr;
  }

  .pdp-desktop__buy {
    position: static;
  }

  .pdp-desktop__fit-form {
    grid-template-columns: 1fr;
  }
}



/* Vertical thumbs carousel + fixed video thumb */
@media (min-width: 768px) {
  .pdp-desktop__gallery-island,
  .pdp-desktop__gallery .product-gallery {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .pdp-desktop__gallery .product-gallery {
    grid-template-columns: 104px minmax(0, 1fr);
    grid-template-rows: auto;
    align-items: stretch;
  }

  .pdp-desktop__gallery .product-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: auto;
    max-height: 100%;
    align-self: stretch;
    overflow: hidden;
    padding: 14px 10px 14px 14px;
    border-right: 1px solid var(--pdp-line);
    box-sizing: border-box;
  }

  .pdp-desktop__gallery .product-gallery-thumbs-rail {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .pdp-desktop__gallery .product-gallery-thumbs {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    height: 100%;
    max-height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 4px 0;
    border-right: 0;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .pdp-desktop__gallery .product-gallery-thumbs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }


  .pdp-desktop__gallery .product-gallery-thumbs button {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb {
    position: relative;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    overflow: hidden;
    border: 1px solid rgb(21 26 31 / 11%);
    border-radius: 12px;
    background: #111;
    padding: 0;
    cursor: pointer;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb img,
  .pdp-desktop__gallery .product-gallery-video-thumb__fallback {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb__fallback {
    background: linear-gradient(145deg, #2a3138, #111);
  }

  .pdp-desktop__gallery .product-gallery-video-thumb__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    text-indent: 2px;
    background: rgb(0 0 0 / 28%);
  }

  .pdp-desktop__gallery .product-gallery-video-thumb__play::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgb(10 99 216 / 92%);
    box-shadow: 0 6px 16px rgb(10 99 216 / 35%);
    position: absolute;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb__play {
    font-size: 0;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb__play::after {
    content: "";
    position: relative;
    z-index: 1;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
  }

  .pdp-desktop__gallery .product-gallery-video-thumb.is-active {
    border-color: var(--pdp-blue);
    box-shadow: 0 0 0 2px rgb(10 99 216 / 14%);
  }

  .pdp-desktop__gallery .product-gallery-video-frame {
    background: #000 !important;
  }

  .pdp-desktop__gallery .product-gallery-video-frame__iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/* Working PDP: gallery thumbs + main photo; main frame is 1:1 */
@media (min-width: 768px) {
  .pdp-desktop__gallery-island {
    min-height: 0;
  }

  .pdp-desktop__gallery .product-gallery {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 0;
    align-items: stretch;
  }

  .pdp-desktop__gallery .product-gallery-thumbs {
    gap: 10px;
    /* height constrained by .product-gallery-side / rail */
    padding: 4px 0;
  }

  .pdp-desktop__gallery .product-gallery-thumbs button {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    padding: 2px;
  }

  .pdp-desktop__gallery .product-gallery-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0 !important;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0 !important;
    place-items: stretch;
    background: #fff;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame {
    position: relative;
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    background: #fff;
    padding: 0;
    box-sizing: border-box;
    place-items: center;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 0;
  }

  .pdp-desktop__gallery .product-gallery-video-frame {
    padding: 0;
  }

  .pdp-desktop__gallery .product-gallery--single .product-gallery-main {
    padding: 0 !important;
  }

  .pdp-desktop__gallery .product-gallery--single .mobile-product-gallery-frame {
    min-height: 0;
  }

  .pdp-desktop__badges {
    top: 14px;
    left: 128px;
  }

  .pdp-desktop__gallery .mobile-gallery-arrow.is-prev {
    left: 10px;
  }

  .pdp-desktop__gallery .mobile-gallery-arrow.is-next {
    right: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1080px) {
  .pdp-desktop__gallery-island,
  .pdp-desktop__gallery .product-gallery {
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .pdp-desktop__gallery .mobile-product-gallery-frame {
    padding: 0;
  }
}

/* Fullscreen product gallery lightbox */
.pdp-desktop .mobile-product-gallery-frame.is-zoomable,
.product-gallery .mobile-product-gallery-frame.is-zoomable {
  cursor: zoom-in;
}

.pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
  background: rgb(12 16 20 / 94%);
  backdrop-filter: blur(10px);
  padding: 16px 20px 28px;
  box-sizing: border-box;
}

.pdp-lightbox__close,
.pdp-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
  background: rgb(255 255 255 / 12%);
  color: #fff;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.pdp-lightbox__close:hover,
.pdp-lightbox__nav:hover {
  background: rgb(255 255 255 / 22%);
  border-color: rgb(255 255 255 / 34%);
}

.pdp-lightbox__close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.pdp-lightbox__nav {
  top: 46%;
  width: 48px;
  height: 48px;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.pdp-lightbox__nav.is-prev {
  left: 18px;
}

.pdp-lightbox__nav.is-next {
  right: 18px;
}

.pdp-lightbox__stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  padding: 52px 72px 8px;
}

.pdp-lightbox__stage img {
  width: min(100%, 1200px);
  max-height: calc(100vh - 220px);
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.pdp-lightbox__counter {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgb(0 0 0 / 42%);
  padding: 6px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pdp-lightbox__thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: min(100%, 960px);
  margin: 0 auto;
  padding: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 18px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  box-shadow: 0 10px 30px rgb(0 0 0 / 28%);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.pdp-lightbox__thumb {
  box-sizing: border-box;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  display: block;
  overflow: hidden;
  border: 2px solid rgb(255 255 255 / 22%);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  opacity: 0.78;
  transition: opacity 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.pdp-lightbox__thumb:hover {
  opacity: 1;
}

.pdp-lightbox__thumb.is-active {
  opacity: 1;
  border-color: #fff;
  box-shadow: 0 0 0 2px rgb(10 99 216 / 70%);
}

.pdp-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

@media (max-width: 767px) {
  .pdp-lightbox {
    padding: 12px 10px 16px;
    gap: 10px;
  }

  .pdp-lightbox__stage {
    padding: 52px 12px 4px;
  }

  .pdp-lightbox__stage img {
    max-height: calc(100vh - 200px);
  }

  .pdp-lightbox__nav {
    top: auto;
    bottom: 108px;
    transform: none;
  }

  .pdp-lightbox__nav.is-prev {
    left: 12px;
  }

  .pdp-lightbox__nav.is-next {
    right: 12px;
  }

  .pdp-lightbox__thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
}

.purchase-cart-link {
    display: block;
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--blue, #0a63d8);
    text-decoration: none;
}
.purchase-cart-link:hover {
    text-decoration: underline;
}
button.primary {
    cursor: pointer;
    font: inherit;
}
button.primary:disabled {
    opacity: 0.65;
    cursor: wait;
}

/* Live photos carousel — mobile (also used below desktop breakpoint) */
.pdp-mobile .pdp-live-photos {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  margin: 18px 0 8px;
  padding: 16px 0 4px;
  overflow: hidden;
  border-top: 1px solid rgb(21 26 31 / 8%);
}

.pdp-mobile .pdp-live-photos__head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  justify-content: space-between;
}

.pdp-mobile .pdp-live-photos__head h2 {
  margin: 0;
  color: #151a1f;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.pdp-mobile .pdp-live-photos__head p {
  margin: 0;
  color: #6f7479;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pdp-mobile .pdp-live-photos__island,
.pdp-mobile .pdp-live-photos__carousel {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.pdp-mobile .pdp-live-photos__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 36px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pdp-mobile .pdp-live-photos__track::-webkit-scrollbar {
  display: none;
}

.pdp-mobile .pdp-live-photos__item {
  position: relative;
  display: block;
  width: 168px;
  max-width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgb(21 26 31 / 8%);
  border-radius: 16px;
  background: #eef2f5;
  padding: 0;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgb(21 26 31 / 6%);
  cursor: zoom-in;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.pdp-mobile .pdp-live-photos__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.pdp-mobile .pdp-live-photos__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgb(21 26 31 / 10%);
  border-radius: 50%;
  background: rgb(255 255 255 / 94%);
  color: #151a1f;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgb(21 26 31 / 10%);
}

.pdp-mobile .pdp-live-photos__nav.is-prev {
  left: 2px;
}

.pdp-mobile .pdp-live-photos__nav.is-next {
  right: 2px;
}

.pdp-mobile .pdp-live-photos__empty {
  margin: 0;
  color: #6f7479;
  font-size: 0.875rem;
}

/* Keep live photos above fixed mobile chrome */
.pdp-mobile .pdp-live-photos {
  padding-bottom: 12px;
  margin-bottom: 24px;
}

body.pdp-lightbox-open .mobile-bottom-nav,
body.pdp-lightbox-open .bottom-nav,
body.pdp-lightbox-open .floating-buybar {
  visibility: hidden !important;
  pointer-events: none !important;
}

a.pdp-live-photos__item {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.pdp-lightbox {
  z-index: 2147483000 !important;
}

/* PDP dependencies block */
.pdp-deps {
  margin: 16px 0 0;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.pdp-deps__head {
  margin-bottom: 12px;
}

.pdp-deps__eyebrow {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-deps__head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
}

.pdp-deps__list {
  display: grid;
  gap: 12px;
}

.pdp-deps__card {
  display: grid;
  gap: 12px;
}

.pdp-deps__body {
  display: grid;
  gap: 8px;
}

.pdp-deps__badge {
  justify-self: start;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.pdp-deps__title {
  margin: 0;
  color: #111827;
  font-size: 16px;
  line-height: 1.3;
}

.pdp-deps__text {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

.pdp-deps__products {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.pdp-deps__products a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  background: #f9fafb;
}

.pdp-deps__products a:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.pdp-deps__product-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.pdp-deps__product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #6b7280;
}

.pdp-deps__product-meta strong {
  color: #111827;
  font-weight: 700;
}

.pdp-deps__product-meta em {
  font-style: normal;
  font-weight: 600;
}

.pdp-deps__product-meta em.is-in-stock {
  color: #15803d;
}

.pdp-deps__product-meta em.is-preorder {
  color: #b45309;
}

.pdp-deps__cta {
  justify-self: start;
  margin-top: 4px;
  border-radius: 12px;
  background: #0a63d8;
  color: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.pdp-deps__cta:hover {
  background: #084ea9;
}

.pdp-mobile .pdp-deps {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0;
  padding: 14px;
  border-radius: 20px;
}

.pdp-mobile .pdp-deps .pdp-rack-picker {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  min-height: 120px;
}

.pdp-mobile .pdp-deps .pdp-rack-picker__image {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.pdp-mobile .pdp-deps .pdp-rack-picker__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.55) 100%);
}

.pdp-mobile .pdp-deps .pdp-rack-picker__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .pdp-desktop__buy .pdp-deps {
    margin-top: 14px;
    padding: 14px;
  }

  .pdp-desktop__buy .pdp-deps__head h2 {
    font-size: 17px;
  }
}

/* --- PDP companion carousel --- */
@media (min-width: 768px) {
  .pdp-companion {
    margin-top: 42px;
    padding-top: 8px;
  }

  .pdp-companion__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
  }

  .pdp-companion__eyebrow {
    margin: 0 0 4px;
    color: var(--pdp-muted, #6f7479);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .pdp-companion__head h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 750;
    letter-spacing: -0.035em;
  }

  .pdp-companion__all {
    flex: 0 0 auto;
    color: var(--pdp-blue, #0a63d8);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
  }

  .pdp-companion__all:hover {
    color: var(--pdp-blue-dark, #064da8);
  }

  .pdp-companion__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(200px, 42vw);
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 2px;
    padding: 2px 2px 10px;
    scrollbar-width: thin;
  }

  .pdp-companion__card {
    display: grid;
    gap: 10px;
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
  }

  .pdp-companion__media {
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: var(--pdp-surface, #fffdf8);
    box-shadow: var(--pdp-shadow-soft, 0 12px 34px rgb(21 26 31 / 6%));
  }

  .pdp-companion__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .pdp-companion__copy {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .pdp-companion__copy em {
    color: var(--pdp-muted, #6f7479);
    font-size: 0.75rem;
    font-style: normal;
  }

  .pdp-companion__copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 650;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pdp-companion__copy b {
    font-size: 0.9375rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
  }
}

/* PDP accessory blocks inside accessories tab */
.pdp-desktop__acc-block + .pdp-desktop__acc-block {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.pdp-desktop__acc-block-title {
  margin: 0 0 12px;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}



.pdp-fitment-links {
  display: grid;
  gap: 4px;
}

.pdp-fitment-link {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.pdp-fitment-link:hover {
  background: #f8fafc;
}

.pdp-fitment-link strong {
  color: var(--pdp-blue, #0a63d8);
  font-size: 0.95rem;
  font-weight: 650;
}

.pdp-fitment-link span {
  color: var(--pdp-muted);
  font-size: 0.8125rem;
}

/* mobile pdp-buy-kit 20260830 */
@media (max-width: 767px) {
  .pdp-mobile .pdp-buy-kit.kit-card {
    display: grid;
    gap: 12px;
    margin: 12px 0 0;
    border: 1px solid rgb(21 26 31 / 8%);
    border-radius: 20px;
    background: rgb(232 242 255 / 72%);
    padding: 14px;
  }

  .pdp-mobile .pdp-buy-kit__title {
    margin: 0;
    color: var(--ink, #151a1f);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .pdp-mobile .pdp-buy-kit__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pdp-mobile .pdp-buy-kit__item {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--ink, #151a1f);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.35;
  }

  .pdp-mobile .pdp-buy-kit__bullet {
    width: 8px;
    height: 8px;
    margin-top: 0.45em;
    border-radius: 50%;
    background: var(--blue, #0a63d8);
  }

  .pdp-mobile .pdp-buy-kit__body {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .pdp-mobile .pdp-buy-kit__name {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .pdp-mobile .pdp-buy-kit__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    color: rgb(21 26 31 / 62%);
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .pdp-mobile .pdp-buy-kit__price {
    color: var(--ink, #151a1f);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
  }

  .pdp-mobile .pdp-buy-kit__sku {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
  }

  .pdp-mobile .pdp-buy-kit__stock.is-in-stock {
    color: #159a5d;
  }

  .pdp-mobile .pdp-buy-kit__stock.is-preorder {
    color: #b45309;
  }
}

/* Mobile PDP accessories: carousel, tile size like live photos */
.pdp-mobile .pdp-acc-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  justify-content: start;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 0 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pdp-mobile .pdp-acc-list::-webkit-scrollbar {
  display: none;
}

.pdp-mobile .pdp-acc-card,
.pdp-mobile .product-detail-screen .pdp-acc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 168px;
  min-height: 0;
  height: auto;
  overflow: hidden;
  scroll-snap-align: start;
}

.pdp-mobile .pdp-acc-card__media,
.pdp-mobile .product-detail-screen .pdp-acc-card__media {
  width: 168px;
  height: 126px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 0;
  background: #eef2f5;
}

.pdp-mobile .pdp-acc-card__media img,
.pdp-mobile .product-detail-screen .pdp-acc-card__media img {
  object-fit: contain;
}

.pdp-mobile .pdp-acc-card__main,
.pdp-mobile .product-detail-screen .pdp-acc-card__main {
  padding: 8px 2px 4px;
  gap: 6px;
}

.pdp-mobile .pdp-acc-card__stock {
  display: none;
}

.pdp-mobile .pdp-acc-card__body em,
.pdp-mobile .product-detail-screen .pdp-acc-card__body em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-mobile .pdp-acc-card__body strong,
.pdp-mobile .product-detail-screen .pdp-acc-card__body strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.pdp-mobile .pdp-acc-card__price {
  font-size: 14px;
}

.pdp-mobile .pdp-acc-card__row,
.pdp-mobile .product-detail-screen .pdp-acc-card__row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}

.pdp-mobile .pdp-acc-card__add,
.pdp-mobile .product-detail-screen .pdp-acc-card__add {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #0a63d8;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pdp-mobile .pdp-acc-card__add.is-added,
.pdp-mobile .pdp-companion__add.is-added {
  background: #15803d;
}

.pdp-mobile .pdp-acc-card__add:disabled,
.pdp-mobile .pdp-companion__add:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* Mobile PDP companion: block + carousel like accessories */
.pdp-mobile .pdp-companion {
  margin: 16px 0 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 18px 46px rgba(21, 26, 31, 0.1);
  box-sizing: border-box;
}

.pdp-mobile .pdp-companion__head {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
}

.pdp-mobile .pdp-companion__head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.pdp-mobile .pdp-companion__all {
  justify-self: start;
  color: #0a63d8;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.pdp-mobile .pdp-companion__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  justify-content: start;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 2px 0 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pdp-mobile .pdp-companion__rail::-webkit-scrollbar {
  display: none;
}

.pdp-mobile .pdp-companion__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 168px;
  gap: 8px;
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
}

.pdp-mobile .pdp-companion__media {
  width: 168px;
  height: 126px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: #eef2f5;
}

.pdp-mobile .pdp-companion__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pdp-mobile .pdp-companion__copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pdp-mobile .pdp-companion__name {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.pdp-mobile .pdp-companion__name em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-mobile .pdp-companion__name strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.pdp-mobile .pdp-companion__row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.pdp-mobile .pdp-companion__row b,
.pdp-mobile .pdp-companion__copy b {
  font-size: 14px;
  font-weight: 750;
}

.pdp-mobile .pdp-companion__add {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #0a63d8;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

/* Desktop card is article now — keep media clickable */
.pdp-companion__name {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.pdp-companion__name em {
  display: block;
  color: var(--pdp-muted, var(--muted));
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pdp-companion__row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.pdp-companion__add {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #0a63d8;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.pdp-companion__add.is-added {
  background: #15803d;
}

/* mobile kit-card row parity with pdp-buy-kit 20260831 */
@media (max-width: 767px) {
  .pdp-mobile .product-section.kit-card .kit-parts p .stock-status,
  .pdp-mobile .pdp-buy-kit__stock {
    white-space: nowrap;
  }

  .pdp-mobile .kit-parts article {
    grid-template-columns: minmax(0, 1fr);
  }

  .pdp-mobile .kit-parts article:has(> img),
  .pdp-mobile .kit-parts article:has(> picture) {
    grid-template-columns: 54px minmax(0, 1fr);
  }
}

