/* Figma 324:11260 and 324:11693; shared data and desktop component geometry retained. */
/* Keep gallery, order and key facts in the same reading order at every width. */
.product-page .pd-overview {display:contents}
@media(min-width:1181px) {
  .product-page .pd-layout {grid-template-columns:minmax(0,526fr) minmax(0,306fr) minmax(0,416fr)}
  .product-page .pd-gallery {grid-column:1;grid-row:1}
  .product-page .pd-key {grid-column:2;grid-row:1}
  .product-page .pd-purchase {grid-column:3;grid-row:1 / span 2}
  .product-page .pd-content {grid-column:1 / span 2;grid-row:2}
}
@media(min-width:961px) and (max-width:1180px) {
  .product-page .pd-gallery {grid-column:1;grid-row:1}
  .product-page .pd-key {grid-column:1;grid-row:2}
  .product-page .pd-key dl {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .product-page .pd-key dl>div {margin:0}
  .product-page .pd-purchase {grid-column:2;grid-row:1 / span 3}
  .product-page .pd-content {grid-column:1;grid-row:3}
}
@media(min-width:641px) and (max-width:960px) {
  .product-page .pd-layout {grid-template-columns:minmax(0,526fr) minmax(0,306fr);gap:40px 24px}
  .product-page .pd-gallery {grid-column:1;grid-row:1}
  .product-page .pd-key {grid-column:2;grid-row:1}
  .product-page .pd-purchase {grid-column:1 / -1;grid-row:2}
  .product-page .pd-content {grid-column:1 / -1;grid-row:3}
}
@media(max-width:640px) {
  .product-page .breadcrumbs {flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;min-height:38px;padding-block:8px;gap:4px;font-size:12px;line-height:1.2}
  .product-page .breadcrumbs>* {flex:none}
  .product-page .breadcrumbs::-webkit-scrollbar {display:none}
  .product-page .pd-layout {display:flex;flex-direction:column;align-items:stretch;gap:24px;padding-block:8px 32px}
  .product-page .pd-gallery,.product-page .pd-key,.product-page .pd-purchase {min-width:0}
  .product-page .pd-gallery__main {aspect-ratio:1;padding:24px;touch-action:pan-y pinch-zoom}
  .product-page .pd-gallery__main>img {-webkit-user-drag:none;user-select:none}
  .product-page .pd-gallery__main .pill {top:16px;left:16px;font-size:12px;padding:6px 8px;border:1px solid var(--stroke-quaternary);border-radius:2px;background:var(--background-secondary);text-transform:uppercase;line-height:1.2}
  .product-page .pd-thumbnails {flex-wrap:nowrap;gap:8px;margin:8px -16px 0 0;padding-right:16px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none}
  .product-page .pd-thumbnails::-webkit-scrollbar {display:none}
  .product-page .pd-thumbnails .pd-thumb {flex:0 0 88px;width:88px;height:88px;scroll-snap-align:start}
  .product-page .pd-thumb img {width:64px;height:65px;max-width:100%;max-height:100%}
  .product-page .pd-thumb:focus-visible {outline-offset:-3px}
  .product-page .pd-thumbnails>.icon-button {display:none}
  .product-page .pd-purchase__card {gap:16px;padding:16px}
  .product-page .pd-purchase__top {gap:12px}
  .product-page .pd-purchase__identity {padding-bottom:12px}
  .product-page .pd-stock {gap:12px;margin-bottom:8px;font-size:10px;line-height:1.2}
  .product-page .pd-stock>span {min-width:0;overflow-wrap:anywhere}
  .product-page .pd-purchase h1 {font-size:18px;line-height:1.1;overflow-wrap:anywhere}
  .product-page .pd-short-description {font-size:12px;line-height:1.3;margin-top:12px}
  .product-page .pd-options {gap:16px}
  .product-page .pd-option legend {font-size:12px;margin-bottom:12px}
  .product-page .pd-option__values {gap:6px}
  .product-page .pd-option label span {min-height:40px;padding:8px 16px;font-size:12px;line-height:1.2;overflow-wrap:anywhere}
  .product-page .pd-options #variant-status {margin:0;font-size:12px}
  .product-page #variant-status:empty {display:none}
  .product-page .pd-order {gap:12px}
  .product-page .pd-price {font-size:20px;line-height:1.1}
  .product-page .pd-price small {font-size:14px}
  .product-page .pd-order__actions {gap:8px}
  .product-page .pd-order__row {grid-template-columns:minmax(0,131fr) minmax(0,155fr);gap:8px}
  .product-page .pd-quantity {height:40px;padding-inline:4px}
  .product-page .pd-quantity button {width:36px;height:36px}
  .product-page .pd-quantity input {font-size:16px;font-variant-numeric:tabular-nums}
  .product-page .pd-order .button {min-height:40px;padding:10px 8px;font-size:12px;line-height:1.2}
  .product-page .pd-order__actions>.button {min-height:44px;padding-block:12px}
  .product-page .pd-services {gap:12px;padding-top:16px}
  .product-page .pd-services>* {gap:8px;font-size:12px;line-height:1.2;min-height:16px}
  .product-page .pd-services picture {display:flex;flex:none}
  .product-page .pd-services img {width:16px;height:16px}
  .product-page .pd-key h2 {font-size:18px;line-height:1.1;margin-bottom:12px}
  .product-page .pd-key dl {display:block}
  .product-page .pd-key dl>div {padding-bottom:8px;margin-bottom:8px}
  .product-page .pd-key dl>div:last-child {margin:0;padding:0}
  .product-page .pd-key dt,.product-page .pd-key dd {font-size:12px;line-height:1.2;overflow-wrap:anywhere}
  .product-page .pd-key .pd-link {font-size:12px;margin-top:8px}
  .product-page .pd-content {gap:24px}
  .product-page .pd-nav {flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none;margin-right:-16px;padding-right:16px}
  .product-page .pd-nav::-webkit-scrollbar {display:none}
  .product-page .pd-nav a {flex:none;min-height:48px;padding:16px 20px;font-size:12px;line-height:1.2}
  .product-page .pd-nav a:focus-visible {outline-offset:-3px}
  .product-page .pd-section {gap:20px}
  .product-page .pd-section__heading .tag {font-size:12px;margin-bottom:12px}
  .product-page .pd-section__heading h2 {font-size:24px;line-height:1;overflow-wrap:anywhere}
  .product-page .pd-description {gap:12px;padding:20px}
  .product-page .pd-description h3 {font-size:18px;line-height:1.1}
  .product-page .pd-description__copy {font-size:12px;line-height:1.2;gap:8px}
  .product-page .pd-description__copy p+p {margin-top:0}
  .product-page .pd-description__links {flex-direction:column;align-items:start;gap:0;margin-top:0}
  .product-page .pd-link {font-size:12px;line-height:1.2}
  .product-page .pd-specs {gap:0}
  .product-page .pd-specs dl>div {min-height:40px;gap:16px;padding:12px 16px;font-size:12px;line-height:1.2}
  .product-page .pd-specs dt,.product-page .pd-specs dd {overflow-wrap:anywhere}
  .product-page .pd-specs:has(>dl:first-child>div:last-child:nth-child(even))>dl:last-child>div:nth-child(odd) {background:var(--background-secondary)}
  .product-page .pd-specs:has(>dl:first-child>div:last-child:nth-child(even))>dl:last-child>div:nth-child(even) {background:transparent}
  .product-page .pd-downloads {gap:12px}
  .product-page .pd-downloads:empty {display:none}
  .product-page .pd-download {padding:20px;gap:16px}
  .product-page .pd-download__icon {width:44px;height:44px}
  .product-page .pd-download h3 {font-size:14px}
  .product-page .pd-download__size {font-size:12px}
  .product-page .pd-download__actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .product-page .pd-download .button {padding:12px 8px;gap:8px;font-size:12px;min-width:0}
  .product-page [data-document-empty] {font-size:14px;line-height:1.3}
  .product-page [data-document-empty]>.button {margin-top:16px;width:100%;font-size:12px;min-height:44px}
  .product-page .pd-slider {margin-right:-16px}
  .product-page .pd-slider__track {gap:16px;padding-right:16px;overscroll-behavior-x:contain;align-items:stretch}
  .product-page .pd-slider .listing-product {flex:0 0 min(284px,calc(100vw - 48px))}
  .product-page .pd-slider .product__photo {height:208px}
  .product-page .pd-slider .product__photo>img {width:200px;height:200px;max-width:100%;object-fit:contain}
  .product-page .pd-slider .pill {font-size:10px;top:12px;left:12px}
  .product-page .pd-slider .product__details {font-size:10px;gap:12px;align-items:start}
  .product-page .pd-slider .product__details>span {min-width:0;overflow-wrap:anywhere}
  .product-page .pd-slider .product__details>span:last-child {margin-left:auto;text-align:right}
  .product-page .pd-slider .listing-product h2 {font-size:14px;line-height:1.2}
  .product-page .pd-slider .product__price {font-size:18px;line-height:1.1}
  .product-page .pd-slider .product__price small {font-size:12px}
  .product-page .pd-slider .product__price .icon-button {display:flex;flex:none;width:40px;height:40px}
  .product-page .pd-slider__previous,.product-page .pd-slider__next {display:none}
  .product-page .cta {padding-block:32px}
  .product-page .cta__inner {gap:20px}
  .product-page .cta h2 {font-size:20px}
  .product-page .cta p {font-size:14px;line-height:1.2}
  .product-page .cta .actions {display:flex;flex-direction:column;width:100%;gap:12px}
  .product-page .cta .button {width:100%;min-height:48px;padding:13px 19px;font-size:12px;line-height:1.2}
  .product-page #faq .split {gap:24px}
  .product-page #faq .tag {font-size:12px;margin-bottom:16px}
  .product-page #faq .text-link {font-size:12px;min-height:32px;margin-top:12px}
  .product-page .accordion details {padding-block:12px}
  .product-page .accordion summary {font-size:16px;line-height:1.2}
  .product-page .accordion details p {font-size:12px;line-height:1.2}
  .product-page .pd-lightbox-dialog {padding:calc(16px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));overscroll-behavior:contain}
  .product-page .pd-lightbox {grid-template-rows:minmax(0,1fr) 88px;gap:16px}
  .product-page .pd-lightbox__stage {display:flex;align-items:center;justify-content:center;gap:0;padding:0}
  .product-page .pd-lightbox__photo {width:100%;height:100%;touch-action:pan-y pinch-zoom}
  .product-page .pd-lightbox__photo>img {width:100%;height:100%;max-height:calc(100vw - 32px);object-fit:contain}
  .product-page .pd-lightbox__stage>.icon-button {display:none}
  .product-page .pd-lightbox__thumbnails {gap:8px;margin-right:-16px;padding-right:16px;overscroll-behavior-x:contain;scroll-snap-type:x proximity}
  .product-page .pd-lightbox__thumbnail {width:88px;height:88px;scroll-snap-align:start}
  .product-page .pd-lightbox__thumbnail img {width:64px;height:64px;max-width:100%;max-height:100%}
  .product-page .pd-lightbox__close {top:calc(4px + env(safe-area-inset-top));right:4px;width:36px;height:36px}
}
