/* Product page only. Approved home, category and shared cards are independent. */
.product-detail-page {
  --pd-line: #dce4d8; --pd-muted: #59665d; --pd-surface: #f0f5eb;
  --pd-photo-size: min(550px, max(300px, calc(100dvh - 298px)));
  max-width: 1240px; margin-inline: auto; min-width: 0; color: #202b25;
}
.product-detail-page .breadcrumbs { margin-bottom: 6px; }
.product-detail-page .pd-heading { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 24px; margin-bottom: 7px; }
.product-detail-page .pd-back { display: inline-flex; gap: 7px; align-items: center; padding-block: 4px; color: #24833f; font-size: 12px; font-weight: 500; }
.product-detail-page .pd-reference { margin: 0; color: var(--pd-muted); font-size: 11px; }
.product-detail-page .pd-heading h1 { max-width: 1050px; margin: 0; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.65px; overflow-wrap: anywhere; }
.product-detail-page .pd-overview { display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); gap: 32px; align-items: start; }
.product-detail-page .pd-gallery { min-width: 0; padding-right: 28px; border-right: 1px solid var(--pd-line); }
.product-detail-page .pd-purchase { min-width: 0; }
.product-detail-page .pd-gallery-layout { display: grid; grid-template-columns: minmax(0,1fr) 54px; gap: 10px; align-items: start; width: min(100%, calc(var(--pd-photo-size) + 64px)); margin-inline: auto; }
.product-detail-page .gallery-main { display: grid; place-items: center; position: relative; width: 100%; aspect-ratio: 1; height: auto; max-height: none; padding: 0; margin: 0; border: 1px solid var(--pd-line); border-radius: 18px; background: #fff; box-shadow: 0 3px 13px #263e2910; }
.product-detail-page button.gallery-main { cursor: zoom-in; }
.product-detail-page .gallery-main > img { display: block; width: 100%; height: auto; max-height: none; aspect-ratio: 1; object-fit: contain; border-radius: 17px; }
.product-detail-page .pd-zoom-hint { position: absolute; bottom: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid #e0e6dc; border-radius: 8px; background: rgba(255,255,255,.94); color: var(--pd-muted); font-size: 10px; font-weight: 400; pointer-events: none; }
.product-detail-page .pd-zoom-hint svg { width: 16px; height: 16px; }
.product-detail-page .gallery-thumbs { display: flex; flex-direction: column; gap: 8px; margin: 0; min-width: 0; }
.product-detail-page .gallery-thumb { width: 54px; height: 54px; aspect-ratio: 1; padding: 2px; flex: none; border: 1px solid var(--pd-line); border-radius: 9px; background: #fff; }
.product-detail-page .gallery-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.product-detail-page .gallery-thumb[aria-pressed="true"] { border-color: #24833f; box-shadow: 0 0 0 1px #24833f; }
.product-detail-page .pd-photo-note { width: min(100%,calc(var(--pd-photo-size) + 64px)); margin: 12px auto 0; color: var(--pd-muted); font-size: 11px; line-height: 1.6; }
.product-detail-page .pd-missing-photo { background: #f7f8f4; text-align: center; cursor: default; }
.product-detail-page .pd-missing-photo > div { width: 100%; padding: 20px; }
.product-detail-page .pd-missing-swatch { width: 80px; height: 80px; margin: 0 auto 16px; object-fit: cover; border: 1px solid #d4ddce; border-radius: 10px; }
.product-detail-page .pd-missing-photo strong { display: block; font-size: 20px; line-height: 1.3; font-weight: 500; }
.product-detail-page .pd-missing-photo p { margin-top: 7px; font-size: 13px; }
.product-detail-page .pd-missing-photo span { display: block; margin: 10px auto 0; max-width: 26ch; font-size: 11px; color: var(--pd-muted); }
.product-detail-page .pd-dimensions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 0 12px; padding: 14px 18px; border: 1px solid #e5ddcd; border-radius: 13px; background: #f5f0e7; }
.product-detail-page .pd-dimensions > div { min-width: 0; padding-inline: 18px; }
.product-detail-page .pd-dimensions > div:first-child { padding-left: 0; }
.product-detail-page .pd-dimensions > div + div { border-left: 1px solid #d9cfbc; }
.product-detail-page .pd-dimensions span { display: block; font-size: 11px; color: #716958; margin-bottom: 4px; }
.product-detail-page .pd-dimensions strong { display: block; font-size: 22px; line-height: 1.2; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-dimensions small { font-size: 11px; font-weight: 400; color: #716958; }
.product-detail-page .pd-colour { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-colour-label { margin: 0 0 10px; font-size: 13px; }
.product-detail-page .pd-colour-label strong { font-weight: 600; }
.product-detail-page .pd-colour-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.product-detail-page .color-choice { width: 100%; min-width: 0; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid #d5dfcf; border-radius: 9px; background: #fff; text-align: left; font-size: 12px; line-height: 1.25; }
.product-detail-page .color-choice > img { width: 27px; height: 27px; flex: none; border-radius: 5px; object-fit: cover; }
.product-detail-page .color-choice > span:not(.pd-colour-check) { min-width: 0; }
.product-detail-page .color-choice[aria-pressed="true"] { border-color: #24833f; background: #f0f6ed; box-shadow: 0 0 0 1px #24833f; }
.product-detail-page .pd-colour-check { margin-left: auto; width: 12px; flex: none; color: #24833f; font-size: 13px; }
.product-detail-page .pd-colour-help { font-size: 12px; line-height: 1.6; color: var(--pd-muted); max-width: 48ch; }
.product-detail-page .pd-purchase-box { padding: 17px 20px 0; border: 1px solid #d5e1ce; border-radius: 16px; background: var(--pd-surface); }
.product-detail-page .pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 13px; }
.product-detail-page .pd-price .price { font-size: 32px; line-height: 1.15; font-weight: 600; letter-spacing: -.75px; }
.product-detail-page .pd-price .old-price { font-size: 16px; color: #788271; }
.product-detail-page .pd-price-unit { font-size: 12px; color: var(--pd-muted); white-space: nowrap; }
.product-detail-page .pd-price-note { margin: 7px 0 14px; max-width: 48ch; font-size: 11px; line-height: 1.5; color: var(--pd-muted); }
.product-detail-page .pd-buy-row { display: flex; align-items: end; gap: 14px; }
.product-detail-page .pd-quantity-group { flex: none; }
.product-detail-page .pd-quantity-group > span { display: block; margin-bottom: 5px; font-size: 11px; color: var(--pd-muted); }
.product-detail-page .quantity { display: flex; align-items: center; border: 1px solid #cbd7c5; border-radius: 10px; background: #fff; }
.product-detail-page .quantity button { width: 34px; height: 44px; padding: 0; font-size: 20px; line-height: 1; }
.product-detail-page .quantity button:first-child { border-radius: 9px 0 0 9px; }
.product-detail-page .quantity button:last-child { border-radius: 0 9px 9px 0; }
.product-detail-page .quantity output { min-width: 29px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-buy { flex: 1; min-width: 0; min-height: 46px; padding: 11px 16px; border-radius: 10px; font-size: 15px; line-height: 1.3; background: #24833f; color: #fff; }
.product-detail-page .pd-buy:disabled { cursor: default; background: #e3e9df; border-color: #d0dacb; color: #59665d; }
.product-detail-page .pd-one-click { width: 100%; min-height: 44px; margin-top: 10px; padding: 10px 14px; border: 1px solid #8da58a; border-radius: 10px; background: #fff; color: #216f37; font-size: 14px; line-height: 1.4; }
.product-detail-page .pd-one-click:disabled { cursor: default; opacity: .6; }
.product-detail-page .pd-custom { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 0; border-top: 1px solid #d5e1ce; font-size: 12px; line-height: 1.5; text-align: left; color: #216f37; }
.product-detail-page .pd-custom span { flex: none; }
.product-detail-page .pd-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 16px; }
.product-detail-page .pd-contact p { flex: 1; min-width: 190px; font-size: 11px; line-height: 1.5; }
.product-detail-page .pd-contact strong { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 500; }
.product-detail-page .pd-contact span { color: var(--pd-muted); }
.product-detail-page .pd-contact a { font-size: 16px; font-weight: 500; white-space: nowrap; color: #216f37; }
.product-detail-page .pd-information { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--pd-line); }
.product-detail-page .pd-description { min-width: 0; padding: 22px 24px; border-left: 3px solid #c5b593; border-radius: 0 14px 14px 0; background: #faf7f1; align-self: start; }
.product-detail-page .pd-specifications { min-width: 0; padding-top: 22px; }
.product-detail-page .pd-information h2 { margin-bottom: 16px; font-size: 23px; font-weight: 600; letter-spacing: -.35px; }
.product-detail-page .pd-description > p { max-width: 62ch; margin-bottom: 14px; font-size: 14px; line-height: 1.75; color: #3c493f; }
.product-detail-page .pd-description .pd-source-note { margin-top: 20px; margin-bottom: 0; font-size: 11px; color: var(--pd-muted); }
.product-detail-page .pd-spec-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.product-detail-page .pd-spec-table th,
.product-detail-page .pd-spec-table td { padding: 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pd-line); overflow-wrap: anywhere; }
.product-detail-page .pd-spec-table th { width: 56%; padding-right: 20px; font-weight: 400; color: var(--pd-muted); }
.product-detail-page .pd-spec-table td { font-weight: 500; }
.product-detail-page .pd-related { margin-top: 40px; }
.product-detail-page .pd-related > .section-heading h2 { font-size: 26px; }
.product-detail-page .pd-related > .section-heading a { white-space: normal; text-align: right; }
.product-detail-page .pd-back:hover,
.product-detail-page .pd-custom:hover,
.product-detail-page .pd-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (hover:hover) {
  .product-detail-page button.gallery-main:hover { border-color: #93ad8b; }
  .product-detail-page .gallery-thumb:hover { border-color: #77976e; }
  .product-detail-page .color-choice:hover { border-color: #77976e; background: #f7faf4; }
  .product-detail-page .color-choice[aria-pressed="true"]:hover { background: #edf5e9; }
  .product-detail-page .pd-buy:not(:disabled):hover { background: #17632e; }
  .product-detail-page .quantity button:hover { background: #edf4e7; }
}
@media (max-width:1180px) {
  .product-detail-page .pd-overview, .product-detail-page .pd-information { gap: 24px; }
  .product-detail-page .pd-gallery { padding-right: 20px; }
  .product-detail-page .pd-colour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-page .pd-dimensions { padding: 13px 14px; }
  .product-detail-page .pd-dimensions > div { padding-inline: 12px; }
  .product-detail-page .pd-dimensions > div:first-child { padding-left: 0; }
  .product-detail-page .pd-dimensions strong { font-size: 21px; }
  .product-detail-page .pd-purchase-box { padding-inline: 16px; }
}
@media (min-width:701px) and (max-width:960px) {
  .product-detail-page { --pd-photo-size: min(450px,max(220px,calc(100dvh - 380px))); }
  .product-detail-page .pd-overview { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .product-detail-page .pd-heading h1 { font-size: 28px; }
  .product-detail-page .pd-gallery { padding-right: 16px; }
  .product-detail-page .pd-gallery-layout { width: 100%; grid-template-columns: minmax(0,1fr); max-width: none; }
  .product-detail-page .gallery-main { width: min(100%,var(--pd-photo-size)); justify-self: center; }
  .product-detail-page .gallery-thumbs { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 7px; }
  .product-detail-page .gallery-thumb { width: 48px; height: 48px; }
  .product-detail-page .pd-dimensions { padding: 12px 10px; }
  .product-detail-page .pd-dimensions > div { padding-inline: 9px; }
  .product-detail-page .pd-dimensions strong { font-size: 19px; }
  .product-detail-page .pd-dimensions small { font-size: 10px; }
  .product-detail-page .pd-buy-row { gap: 9px; }
  .product-detail-page .pd-buy { padding-inline: 9px; font-size: 14px; }
  .product-detail-page .quantity button { width: 29px; }
  .product-detail-page .quantity output { min-width: 25px; }
  .product-detail-page .pd-description { padding: 20px 18px; }
}
@media (max-width:700px) {
  .product-detail-page .breadcrumbs { margin: 18px 0 9px; }
  .product-detail-page .pd-heading { margin-bottom: 17px; padding-bottom: 14px; }
  .product-detail-page .pd-meta { gap: 3px 16px; margin-bottom: 7px; }
  .product-detail-page .pd-back, .product-detail-page .pd-reference { font-size: 11px; }
  .product-detail-page .pd-heading h1 { font-size: 25px; letter-spacing: -.5px; }
  .product-detail-page .pd-overview { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .product-detail-page .pd-gallery { padding: 0; border: 0; }
  .product-detail-page .pd-gallery-layout { width: 100%; grid-template-columns: minmax(0,1fr); gap: 11px; }
  .product-detail-page .gallery-main { border-radius: 15px; }
  .product-detail-page .gallery-main > img { border-radius: 14px; }
  .product-detail-page .gallery-thumbs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .product-detail-page .gallery-thumb { width: 52px; height: 52px; }
  .product-detail-page .pd-photo-note { width: 100%; margin-top: 10px; }
  .product-detail-page .pd-dimensions { padding: 14px; }
  .product-detail-page .pd-dimensions strong { font-size: 22px; }
  .product-detail-page .pd-colour-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-page .color-choice { min-height: 48px; }
  .product-detail-page .pd-purchase-box { padding: 18px 18px 0; border-radius: 14px; }
  .product-detail-page .pd-buy-row { gap: 12px; }
  .product-detail-page .pd-buy { font-size: 14px; padding-inline: 12px; }
  .product-detail-page .quantity button { width: 33px; }
  .product-detail-page .quantity output { min-width: 28px; }
  .product-detail-page .pd-contact { gap: 12px; }
  .product-detail-page .pd-contact p { min-width: 170px; }
  .product-detail-page .pd-information { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 28px; padding-top: 24px; }
  .product-detail-page .pd-specifications { padding-top: 0; }
  .product-detail-page .pd-description { padding: 20px; }
  .product-detail-page .pd-description > p { font-size: 13px; }
  .product-detail-page .pd-spec-table { font-size: 12px; }
  .product-detail-page .pd-related { margin-top: 30px; }
  .product-detail-page .pd-related > .section-heading h2 { font-size: 23px; }
  .product-detail-page .pd-related > .section-heading a { max-width: 105px; }
}
@media (max-width:360px) {
  .product-detail-page .pd-heading h1 { font-size: 23px; }
  .product-detail-page .gallery-thumbs { gap: 7px; }
  .product-detail-page .gallery-thumb { width: 48px; height: 48px; }
  .product-detail-page .pd-dimensions { padding-inline: 11px; }
  .product-detail-page .pd-dimensions > div { padding-inline: 9px; }
  .product-detail-page .pd-dimensions > div:first-child { padding-left: 0; }
  .product-detail-page .pd-dimensions strong { font-size: 20px; }
  .product-detail-page .pd-dimensions small { font-size: 10px; }
  .product-detail-page .pd-purchase-box { padding-inline: 14px; }
  .product-detail-page .pd-buy-row { gap: 9px; }
  .product-detail-page .pd-buy { padding-inline: 8px; font-size: 13px; }
  .product-detail-page .quantity button { width: 31px; }
  .product-detail-page .quantity output { min-width: 25px; }
  .product-detail-page .pd-price { gap: 5px 10px; }
  .product-detail-page .pd-price .price { font-size: 30px; }
  .product-detail-page .color-choice { gap: 6px; padding: 7px; font-size: 11px; }
  .product-detail-page .color-choice > img { width: 25px; height: 25px; }
  .product-detail-page .pd-missing-photo > div { padding: 16px; }
  .product-detail-page .pd-missing-swatch { width: 64px; height: 64px; margin-bottom: 10px; }
  .product-detail-page .pd-zoom-hint { bottom: 8px; right: 8px; padding: 5px 7px; }
}
/* Existing shared dialog sits outside the product article. */
dialog#dialog.product-photo-dialog { width: min(1100px,calc(100% - 30px)); max-width: none; max-height: calc(100dvh - 30px); padding: 30px; border-radius: 18px; background: #fff; }
dialog#dialog.product-photo-dialog .dialog-product-photo { display: block; width: 100%; height: auto; max-height: calc(100dvh - 150px); object-fit: contain; }
dialog#dialog.product-photo-dialog h2 { font-size: 22px; line-height: 1.3; }
@media (max-width:700px) {
  dialog#dialog.product-photo-dialog { padding: 28px 14px 16px; border-radius: 14px; }
  dialog#dialog.product-photo-dialog h2 { font-size: 17px; padding-right: 20px; }
}

/* PrestaShop adapter. The approved product-detail.css above is kept verbatim. */
.product-detail-page fieldset.pd-variant-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.product-detail-page .pd-variant-group + .pd-variant-group { margin-top: 16px; }
.product-detail-page legend.pd-colour-label { float: none; width: auto; padding: 0; }
.product-detail-page .pd-radio-choice { position: relative; cursor: pointer; }
.product-detail-page .pd-radio-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-detail-page .pd-radio-choice:focus-within { outline: 2px solid #24833f; outline-offset: 3px; }
.product-detail-page .pd-radio-choice.is-selected { border-color: #24833f; background: #f0f6ed; box-shadow: 0 0 0 1px #24833f; }
.product-detail-page .pd-colour-swatch { width: 27px; height: 27px; flex: none; border-radius: 5px; border: 1px solid #dce4d8; }
.product-detail-page .pd-variant-group select { width: 100%; max-width: 420px; min-height: 44px; border: 1px solid #d5dfcf; border-radius: 9px; padding: 8px 12px; background: white; }
.product-detail-page .pd-buy-row { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 0 14px; align-items: end; }
.product-detail-page .pd-quantity-group { grid-column: 1; grid-row: 1; }
.product-detail-page .pd-quantity-group > label { display: block; margin-bottom: 5px; font-size: 11px; color: var(--pd-muted); }
.product-detail-page .pd-cta-set { display: contents; }
.product-detail-page .pd-buy { grid-column: 2; grid-row: 1; }
.product-detail-page .pd-one-click { grid-column: 1 / -1; grid-row: 2; }
.product-detail-page .pd-custom { grid-column: 1 / -1; grid-row: 3; }
.product-detail-page .quantity input { width: 34px; min-width: 0; height: 44px; padding: 0; text-align: center; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; appearance: textfield; -moz-appearance: textfield; }
.product-detail-page .quantity input::-webkit-inner-spin-button,
.product-detail-page .quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.product-detail-page .pd-availability:empty,
.product-detail-page .pd-action-status:empty { display: none; }
.product-detail-page .pd-availability,
.product-detail-page .pd-action-status { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #765018; }
.product-detail-page .pd-action-status { margin-bottom: 0; }
.product-detail-page [aria-busy="true"] .pd-buy,
.product-detail-page [aria-busy="true"] .pd-one-click { cursor: progress; }
.product-detail-page .pd-description-body { font-size: 14px; line-height: 1.75; color: #3c493f; overflow-wrap: anywhere; }
.product-detail-page .pd-description-body p { margin: 0 0 14px; }
.product-detail-page .pd-description-body ul,
.product-detail-page .pd-description-body ol { padding-left: 22px; }
.product-detail-page .pd-description-body img { max-width: 100%; height: auto; }
.product-detail-page .pd-description-body table { width: 100%; max-width: 100%; table-layout: fixed; }
.product-detail-page .pd-description-body > :last-child { margin-bottom: 0; }
.product-detail-page .pd-attachments,
.product-detail-page .pd-extra { margin-top: 28px; }
.product-detail-page .pd-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; }
.product-detail-page .gallery-main > img { aspect-ratio: 1; object-fit: contain; }
.product-detail-page .gallery-thumb:focus-visible,
.product-detail-page .gallery-main:focus-visible,
.product-detail-page button:focus-visible { outline: 2px solid #24833f; outline-offset: 3px; }
dialog.imato-photo-dialog { width: min(900px,calc(100% - 30px)); max-width: none; max-height: calc(100dvh - 30px); padding: 24px; border: 1px solid #dce4d8; border-radius: 18px; background: #fff; color: #202b25; box-shadow: 0 15px 60px #0003; }
dialog.imato-photo-dialog::backdrop { background: #13251c99; }
.imato-photo-dialog-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.imato-photo-dialog-head h2 { flex: 1; margin: 0; font-size: 21px; line-height: 1.3; }
.imato-photo-close { width: 40px; height: 40px; flex: none; border: 1px solid #dce4d8; border-radius: 8px; background: white; color: #202b25; font-size: 28px; line-height: 1; }
dialog.imato-photo-dialog .dialog-product-photo { display: block; width: 100%; height: auto; max-height: calc(100dvh - 145px); object-fit: contain; }
@media (max-width:700px) {
  .product-detail-page .pd-buy-row { gap: 0 12px; }
  .product-detail-page .pd-description-body { font-size: 13px; }
  dialog.imato-photo-dialog { padding: 18px 14px; border-radius: 14px; }
  .imato-photo-dialog-head h2 { font-size: 17px; }
}
@media (max-width:360px) {
  .product-detail-page .pd-buy-row { gap: 0 9px; }
  .product-detail-page .quantity input { width: 26px; }
}
@media (prefers-reduced-motion:reduce) {
  .product-detail-page *, dialog.imato-photo-dialog * { scroll-behavior: auto; transition: none; }
}

/* Full-width product description and compact grouped specifications. */
.product-detail-page .pd-information {grid-template-columns:minmax(0,1fr);gap:24px;}
.product-detail-page .pd-description {width:100%;}
.product-detail-page .pd-description > p {max-width:none;}
.product-detail-page .pd-specifications {padding-top:0;}
.product-detail-page .pd-spec-table {display:block;}
.product-detail-page .pd-spec-table tbody {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 28px;}
.product-detail-page .pd-spec-table tr {display:grid;align-content:start;gap:4px;min-width:0;padding:12px 0;border-bottom:1px solid var(--pd-line);}
.product-detail-page .pd-spec-table th,
.product-detail-page .pd-spec-table td {display:block;width:auto;min-width:0;padding:0;border:0;text-align:left;}
.product-detail-page .pd-spec-table th {font-size:12px;line-height:1.5;}
.product-detail-page .pd-spec-table td {font-size:14px;line-height:1.5;}
@media(max-width:999px){
 .product-detail-page .pd-spec-table tbody {grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;}
}
@media(max-width:700px){
 .product-detail-page .pd-spec-table tbody {grid-template-columns:minmax(0,1fr);gap:0;}
 .product-detail-page .pd-spec-table tr {grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:12px;padding:10px 0;}
 .product-detail-page .pd-spec-table td {font-size:13px;}
}

/* Compact lid explanation, shared by products with the native lid option. */
.product-detail-page .pd-lid-explainer {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,420px);
  grid-template-areas: "heading picture" "copy picture";
  grid-template-rows: 1fr 1fr;
  column-gap: 32px;
  row-gap: 10px;
  margin: 24px 0 32px;
  padding: 22px 24px;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  background: #f7f9f4;
}
.product-detail-page .pd-lid-explainer h3 { grid-area: heading; align-self: end; max-width: 26ch; margin: 0; font-size: 21px; line-height: 1.35; font-weight: 600; }
.product-detail-page .pd-lid-explainer > p { grid-area: copy; max-width: 46ch; margin: 0; color: var(--pd-muted); font-size: 14px; line-height: 1.65; }
.product-detail-page .pd-lid-comparison { grid-area: picture; width: 100%; max-width: 420px; margin: 0; }
.product-detail-page .pd-lid-comparison > img { display: block; width: 100%; max-width: 100%; height: auto; }
.product-detail-page .pd-lid-captions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 10px; font-size: 12px; line-height: 1.5; }
.product-detail-page .pd-lid-captions strong, .product-detail-page .pd-lid-captions span { display: block; }
.product-detail-page .pd-lid-captions strong { margin-bottom: 4px; font-weight: 600; }
.product-detail-page .pd-lid-captions span { color: var(--pd-muted); }

/* The .imx structure is stored in the product description and remains editable. */
.product-detail-page .pd-description:has(.imx-desc) { padding: 26px 0 0; border: 0; border-top: 1px solid var(--pd-line); border-radius: 0; background: #fff; }
.product-detail-page .pd-description:has(.imx-desc) > h2 { margin: 0 0 14px; }
.product-detail-page .pd-description:has(.imx-desc) .pd-description-body { font-size: 14px; line-height: 1.7; }
.product-detail-page .imx-desc { min-width: 0; color: #3c493f; overflow-wrap: break-word; }
.product-detail-page .imx-desc > .imx-head { max-width: 82ch; margin: 0 0 24px; }
.product-detail-page .imx-desc .imx-lead { margin: 0 0 12px; font-size: 15px; line-height: 1.7; }
.product-detail-page .imx-desc p { margin: 0 0 12px; }
.product-detail-page .imx-desc h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.35; font-weight: 600; color: #202b25; }
.product-detail-page .imx-desc h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.4; font-weight: 600; color: #202b25; }
.product-detail-page .imx-desc .imx-sec { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-sub { max-width: 80ch; margin: 0 0 18px; color: var(--pd-muted); }
.product-detail-page .imx-desc .imx-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; border-block: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-nav a { padding: 3px 0; color: #246d38; font-weight: 500; text-decoration: underline; text-decoration-color: #b8ceba; text-underline-offset: 4px; }
.product-detail-page .imx-desc [id] { scroll-margin-top: 24px; }
.product-detail-page .imx-desc .imx-muted { color: var(--pd-muted); font-weight: 400; }

/* Comparable finishes: the same two price rows in every column. */
.product-detail-page .imx-desc .imx-finishes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.product-detail-page .imx-desc .imx-finishes--3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.product-detail-page .imx-desc .imx-finish { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--pd-line); border-radius: 10px; background: #fff; }
.product-detail-page .imx-desc .imx-finish h3 { display: flex; align-items: center; gap: 10px; }
.product-detail-page .imx-desc .imx-finish h3::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 7px; }
.product-detail-page .imx-desc .imx-finish--ldsp h3::before { background: linear-gradient(100deg,#C99A62 0%,#B9844B 45%,#CDA06A 100%); }
.product-detail-page .imx-desc .imx-finish--emat h3::before { background: linear-gradient(135deg,#E9E6DF 0 50%,#9EAD9C 50% 100%); }
.product-detail-page .imx-desc .imx-finish--egl h3::before { background: linear-gradient(135deg,rgba(255,255,255,.55) 0 20%,rgba(255,255,255,0) 46%),#23292B; }
.product-detail-page .imx-desc .imx-finish--ven h3::before { background: linear-gradient(100deg,#7B4A31 0%,#66391F 50%,#84553A 100%); }
.product-detail-page .imx-desc .imx-finish > p { flex: 1; min-height: 68px; margin: 0 0 14px; color: var(--pd-muted); font-size: 13px; line-height: 1.6; }
.product-detail-page .imx-desc table { width: 100%; max-width: 100%; border-collapse: collapse; border-spacing: 0; table-layout: fixed; }
.product-detail-page .imx-desc th, .product-detail-page .imx-desc td { vertical-align: top; text-align: left; font-size: 14px; line-height: 1.6; }
.product-detail-page .imx-desc .imx-finish__prices th, .product-detail-page .imx-desc .imx-finish__prices td { padding: 10px 0; border-top: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-finish__prices th { width: 44%; font-weight: 500; color: var(--pd-muted); }
.product-detail-page .imx-desc .imx-finish__prices td { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; color: #202b25; }
.product-detail-page .imx-desc .imx-note { margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid #b8ceba; background: #f7f9f4; font-size: 13px; line-height: 1.65; }

/* Separate each customer question from the suggested choice. */
.product-detail-page .imx-desc .imx-choose { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.product-detail-page .imx-desc .imx-rules, .product-detail-page .imx-desc .imx-included, .product-detail-page .imx-desc .imx-heights { list-style: none; margin: 0; padding: 0; }
.product-detail-page .imx-desc .imx-rules li { padding: 12px 0; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-rule__if, .product-detail-page .imx-desc .imx-pill { display: block; }
.product-detail-page .imx-desc .imx-rule__if { margin-bottom: 5px; font-weight: 600; color: #202b25; }
.product-detail-page .imx-desc .imx-pill { color: var(--pd-muted); }
.product-detail-page .imx-desc .imx-q__note { margin-top: 14px; color: var(--pd-muted); font-size: 13px; line-height: 1.65; }
.product-detail-page .imx-desc .imx-q--height { margin-top: 24px; }
.product-detail-page .imx-desc .imx-q__sub { color: var(--pd-muted); }
.product-detail-page .imx-desc .imx-heights { display: grid; grid-template-columns: repeat(auto-fit,minmax(210px,1fr)); gap: 12px; }
.product-detail-page .imx-desc .imx-h { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; gap: 6px 16px; padding: 14px 16px; background: #f7f9f4; border: 1px solid var(--pd-line); border-radius: 8px; }
.product-detail-page .imx-desc .imx-h > * { display: block; }
.product-detail-page .imx-desc .imx-h__tag { grid-column: 1 / -1; color: var(--pd-muted); font-size: 12px; }
.product-detail-page .imx-desc .imx-h__mm { font-size: 19px; line-height: 1.4; color: #202b25; }
.product-detail-page .imx-desc .imx-h__info { grid-column: 1 / -1; color: var(--pd-muted); font-size: 13px; }
.product-detail-page .imx-desc .imx-h__price { grid-column: 1 / -1; font-variant-numeric: tabular-nums; }

/* Included equipment and optional items have distinct columns and real rows. */
.product-detail-page .imx-desc .imx-kit { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); gap: 36px; }
.product-detail-page .imx-desc .imx-kit__col { min-width: 0; }
.product-detail-page .imx-desc .imx-included li { position: relative; padding: 13px 0 13px 22px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-included li::before { content: "\2713"; position: absolute; top: 13px; left: 0; color: #24833f; font-weight: 600; }
.product-detail-page .imx-desc .imx-included strong { display: block; margin-bottom: 4px; font-weight: 600; color: #202b25; }
.product-detail-page .imx-desc .imx-included span { display: block; color: var(--pd-muted); font-size: 13px; line-height: 1.6; }
.product-detail-page .imx-desc .imx-options th, .product-detail-page .imx-desc .imx-options td { padding: 12px 14px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-options th { width: 77%; font-weight: 500; }
.product-detail-page .imx-desc .imx-options td { width: 23%; text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; color: #202b25; }
.product-detail-page .imx-desc .imx-options th .imx-muted { display: block; margin-top: 4px; font-size: 12px; line-height: 1.6; }
.product-detail-page .imx-desc .imx-options tr:nth-child(odd) { background: #f7f9f4; }

/* Full specifications: left-aligned labels, visible separators, generous values. */
.product-detail-page .imx-desc .imx-specs { border: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-specs th, .product-detail-page .imx-desc .imx-specs td { padding: 14px 18px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-specs th { width: 27%; font-weight: 500; color: #202b25; border-right: 1px solid var(--pd-line); }
.product-detail-page .imx-desc .imx-specs td { width: 73%; }
.product-detail-page .imx-desc .imx-specs tr:nth-child(odd) { background: #f7f9f4; }
.product-detail-page .imx-desc .imx-scheme { width: 100%; max-width: 320px; margin: 22px auto 0; text-align: center; }
.product-detail-page .imx-desc .imx-scheme img { display: block; max-width: 100%; height: auto; margin-inline: auto; }
.product-detail-page .imx-desc .imx-scheme span { display: block; margin-top: 10px; color: var(--pd-muted); font-size: 12px; }

/* Progressive summary under the photograph; the full specification stays in the description. */
.product-detail-page .pd-lux-highlights { width: min(100%,calc(var(--pd-photo-size) + 64px)); margin: 20px auto 0; padding: 20px; border: 1px solid var(--pd-line); border-radius: 14px; background: #fff; }
.product-detail-page .pd-lux-summary-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.product-detail-page .pd-lux-summary-dimensions { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-lux-summary-dimensions > div { min-width: 0; }
.product-detail-page .pd-lux-summary-dimensions dt { color: var(--pd-muted); font-size: 12px; line-height: 1.5; }
.product-detail-page .pd-lux-summary-dimensions dd { margin: 4px 0 0; color: #202b25; font-size: 16px; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-lux-summary-included { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 18px; margin: 0; padding: 0; list-style: none; }
.product-detail-page .pd-lux-summary-included > li { display: flex; align-items: flex-start; min-width: 0; gap: 10px; }
.product-detail-page .pd-lux-summary-included svg { flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 8px; background: #f0f5eb; color: #287a3d; }
.product-detail-page .pd-lux-summary-included strong { display: block; font-size: 13px; line-height: 1.55; font-weight: 500; color: #202b25; }
.product-detail-page .pd-lux-summary-included small { display: block; margin-top: 2px; color: var(--pd-muted); font-size: 12px; line-height: 1.5; }
.product-detail-page[data-imato-lux-summary="true"] .pd-specifications,
.product-detail-page[data-imato-lux-summary="true"] .pd-purchase .pd-dimensions { display: none; }
.product-detail-page[data-imato-lux-summary="true"] .pd-information { padding-top: 0; border-top: 0; }

@media (max-width: 1099px) {
  .product-detail-page .imx-desc .imx-finishes { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-page .imx-desc .imx-finish > p { min-height: 42px; }
  .product-detail-page .imx-desc .imx-kit { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .product-detail-page .pd-lid-explainer { grid-template-columns: minmax(0,1fr) minmax(0,360px); column-gap: 24px; }
}
@media (max-width: 760px) {
  .product-detail-page .pd-lid-explainer { display: block; padding: 18px; margin: 20px 0 28px; }
  .product-detail-page .pd-lid-explainer h3 { max-width: none; margin-bottom: 8px; font-size: 19px; }
  .product-detail-page .pd-lid-explainer > p { max-width: none; margin-bottom: 16px; font-size: 13px; }
  .product-detail-page .pd-lid-comparison { margin-inline: auto; }
  .product-detail-page .imx-desc .imx-choose { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .product-detail-page .imx-desc .imx-sec { margin-top: 28px; padding-top: 24px; }
  .product-detail-page .imx-desc h2 { font-size: 20px; }
  .product-detail-page .imx-desc .imx-specs, .product-detail-page .imx-desc .imx-specs tbody { display: block; }
  .product-detail-page .imx-desc .imx-specs tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--pd-line); }
  .product-detail-page .imx-desc .imx-specs tr:last-child { border-bottom: 0; }
  .product-detail-page .imx-desc .imx-specs th, .product-detail-page .imx-desc .imx-specs td { display: block; width: auto; padding: 0; border: 0; }
  .product-detail-page .imx-desc .imx-specs th { margin-bottom: 5px; font-size: 13px; font-weight: 600; }
}
@media (max-width: 520px) {
  .product-detail-page .imx-desc .imx-finishes { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .product-detail-page .imx-desc .imx-finish { padding: 16px; }
  .product-detail-page .imx-desc .imx-finish > p { min-height: 0; margin-bottom: 12px; }
  .product-detail-page .imx-desc .imx-options th { width: 72%; }
  .product-detail-page .imx-desc .imx-options td { width: 28%; }
  .product-detail-page .imx-desc .imx-options th, .product-detail-page .imx-desc .imx-options td { padding: 12px 10px; font-size: 13px; }
  .product-detail-page .imx-desc .imx-nav { gap: 6px 16px; font-size: 13px; }
  .product-detail-page .pd-lid-explainer { padding: 16px 12px; }
  .product-detail-page .pd-lux-highlights { padding: 18px 16px; }
  .product-detail-page .pd-lux-summary-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; }
}
@media (max-width: 440px) {
  .product-detail-page .pd-lux-summary-included { grid-template-columns: minmax(0,1fr); gap: 13px; }
}

/* One source-backed characteristics card for every product family. */
.product-detail-page .pd-product-highlights { width: min(100%,calc(var(--pd-photo-size) + 64px)); margin: 20px auto 0; padding: 20px; border: 1px solid var(--pd-line); border-radius: 14px; background: #fff; }
.product-detail-page .pd-summary-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.product-detail-page .pd-summary-dimensions { display: grid; grid-template-columns: repeat(var(--summary-columns,4),minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; }
.product-detail-page .pd-summary-row { min-width: 0; }
.product-detail-page .pd-product-highlights dt { color: var(--pd-muted); font-size: 12px; line-height: 1.5; font-weight: 400; overflow-wrap: anywhere; }
.product-detail-page .pd-product-highlights dd { margin: 3px 0 0; color: #202b25; font-size: 14px; line-height: 1.55; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.product-detail-page .pd-summary-dimensions dd { font-size: 16px; line-height: 1.4; font-weight: 600; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-summary-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; margin: 0; padding: 0; }
.product-detail-page .pd-summary-features > div { display: grid; grid-template-columns: 32px minmax(0,1fr); column-gap: 10px; align-content: start; padding: 12px 0; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-summary-features > div:last-child { border-bottom: 0; }
.product-detail-page .pd-summary-features > .pd-summary-row--wide { grid-column: 1 / -1; }
.product-detail-page .pd-summary-features dt, .product-detail-page .pd-summary-features dd { grid-column: 2; }
.product-detail-page .pd-product-highlights svg { grid-row: 1 / 3; flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 8px; background: #f0f5eb; color: #287a3d; }
.product-detail-page .pd-summary-dimensions + .pd-summary-features,
.product-detail-page .pd-product-highlights .pd-summary-included { margin-top: 18px; padding-top: 6px; border-top: 1px solid var(--pd-line); }
.product-detail-page .pd-summary-included { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 18px; margin: 0; padding: 0; list-style: none; }
.product-detail-page .pd-product-highlights .pd-summary-included { padding-top: 18px; }
.product-detail-page .pd-summary-included > li { display: flex; align-items: flex-start; min-width: 0; gap: 10px; }
.product-detail-page .pd-summary-included strong { display: block; font-size: 13px; line-height: 1.55; font-weight: 500; color: #202b25; }
.product-detail-page .pd-summary-included small { display: block; margin-top: 2px; color: var(--pd-muted); font-size: 12px; line-height: 1.5; }
.product-detail-page[data-imato-product-summary="true"] .pd-specifications,
.product-detail-page[data-imato-summary-empty="true"] .pd-specifications,
.product-detail-page[data-imato-product-summary="true"][data-imato-summary-dimensions-covered] .pd-purchase .pd-dimensions { display: none; }
.product-detail-page[data-imato-product-summary="true"] .pd-information,
.product-detail-page[data-imato-summary-empty="true"] .pd-information { padding-top: 0; border-top: 0; }
@media (min-width: 521px) {
  .product-detail-page .pd-summary-features > div:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .product-detail-page .pd-product-highlights { padding: 18px 16px; }
  .product-detail-page .pd-summary-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 22px; }
  .product-detail-page .pd-summary-features { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 440px) {
  .product-detail-page .pd-summary-included { grid-template-columns: minmax(0,1fr); gap: 13px; }
}

/* Product editorial: intentionally scoped to descriptions using this structure. */
.product-detail-page .pd-description:has(.pd-editorial) { padding: 26px 0 0; border: 0; border-top: 1px solid var(--pd-line); border-radius: 0; background: #fff; }
.product-detail-page .pd-description:has(.pd-editorial) > h2 { margin: 0 0 16px; }
.product-detail-page .pd-description:has(.pd-editorial) .pd-short-description-body { max-width: 80ch; margin: 0 0 28px; color: #3c493f; font-size: 16px; line-height: 1.7; }
.product-detail-page .pd-description:has(.pd-editorial) .pd-short-description-body p { margin: 0; }
.product-detail-page .pd-editorial { min-width: 0; color: #3c493f; font-size: 14px; line-height: 1.7; overflow-wrap: break-word; }
.product-detail-page .pd-editorial h3 { margin: 0 0 18px; color: #202b25; font-size: 21px; line-height: 1.4; font-weight: 600; }
.product-detail-page .pd-editorial p { margin: 0; }
.product-detail-page .pd-editorial strong { color: #202b25; font-weight: 600; }
.product-detail-page .pd-editorial-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 48px; align-items: start; }
.product-detail-page .pd-editorial-items { list-style: none; margin: 0; padding: 0; }
.product-detail-page .pd-editorial-items li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-editorial-items li:first-child { padding-top: 0; }
.product-detail-page .pd-editorial-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.product-detail-page .pd-editorial-items strong { display: block; margin-bottom: 4px; font-size: 15px; }
.product-detail-page .pd-editorial-items p { max-width: 72ch; }
.product-detail-page .pd-editorial-note { min-width: 0; padding: 22px 24px; border: 1px solid var(--pd-line); border-radius: 12px; background: #f5f8f2; }
.product-detail-page .pd-editorial-note h3 { font-size: 19px; }
.product-detail-page .pd-editorial-note-item + .pd-editorial-note-item { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pd-line); }
.product-detail-page .pd-editorial-note-item > strong { display: block; margin-bottom: 4px; }
.product-detail-page .pd-editorial-options { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--pd-line); }
.product-detail-page .pd-editorial-choices { margin: 0; border-top: 1px solid var(--pd-line); }
.product-detail-page .pd-editorial-choices > div { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,2fr); gap: 28px; padding: 18px 20px; border-bottom: 1px solid var(--pd-line); }
.product-detail-page .pd-editorial-choices > div:nth-child(odd) { background: #f7f9f4; }
.product-detail-page .pd-editorial-choices dt { color: #202b25; font-weight: 600; }
.product-detail-page .pd-editorial-choices dd { min-width: 0; margin: 0; }
.product-detail-page .pd-editorial-choices dd p + p { margin-top: 7px; }
.product-detail-page .pd-editorial-order { margin-top: 22px !important; max-width: 92ch; color: #566258; font-size: 13px; line-height: 1.7; }
@media (max-width: 999px) {
  .product-detail-page .pd-editorial-grid { gap: 26px; }
  .product-detail-page .pd-editorial-note { padding: 20px; }
}
@media (max-width: 700px) {
  .product-detail-page .pd-description:has(.pd-editorial) { padding-top: 22px; }
  .product-detail-page .pd-description:has(.pd-editorial) .pd-short-description-body { margin-bottom: 24px; font-size: 15px; }
  .product-detail-page .pd-editorial-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .product-detail-page .pd-editorial h3 { font-size: 20px; }
  .product-detail-page .pd-editorial-note h3 { font-size: 18px; }
  .product-detail-page .pd-editorial-note { padding: 18px; }
  .product-detail-page .pd-editorial-options { margin-top: 26px; padding-top: 24px; }
  .product-detail-page .pd-editorial-choices > div { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 15px 14px; }
  .product-detail-page .pd-editorial-order { margin-top: 18px !important; }
}

/* VK-350 refinement: one quiet enclosing panel and labelled material samples. */
.product-detail-page .pd-description:has(.pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"])) {
  padding: 30px 32px;
  border: 1px solid #d7e1d0;
  border-radius: 18px;
  background: #fbfcf9;
  box-shadow: 0 5px 20px rgba(32,43,37,.045);
}
.product-detail-page .pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"]) .pd-editorial-swatches {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 12px;
  list-style: none;
  margin: 14px 0 16px;
  padding: 0;
}
.product-detail-page .pd-editorial-swatches > li { min-width: 0; margin: 0; padding: 0; }
.product-detail-page .pd-editorial-swatches img,
.product-detail-page .pd-editorial-swatch-color {
  display: block;
  width: 52px;
  height: 52px;
  max-width: 100%;
  margin: 0 0 7px;
  border: 1px solid rgba(32,43,37,.2);
  border-radius: 8px;
  object-fit: contain;
}
.product-detail-page .pd-editorial-swatch-label { display: block; color: #3c493f; font-size: 13px; line-height: 1.4; }
@media (max-width: 999px) {
  .product-detail-page .pd-description:has(.pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"])) { padding: 26px 24px; }
  .product-detail-page .pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"]) .pd-editorial-swatches { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .product-detail-page .pd-description:has(.pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"])) { padding: 22px 16px; border-radius: 14px; }
  .product-detail-page .pd-editorial:is([data-product-editorial="vk350"],[data-product-editorial="vitrine"]) .pd-editorial-swatches { gap: 14px 10px; }
}

/* IMATO recommendations pilot: scoped to the three selected product pages. */
.product-detail-page .pd-recommendations { margin-top: 34px; min-width: 0; }
.product-detail-page .pd-recommendation-section + .pd-recommendation-section { margin-top: 34px; }
.product-detail-page .pd-recommendation-heading { margin-bottom: 16px; }
.product-detail-page .pd-recommendation-heading h2 { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.35px; }
.product-detail-page .pd-recommendation-heading p { margin: 6px 0 0; color: var(--pd-muted); font-size: 14px; line-height: 1.55; }
.product-detail-page .pd-recommendation-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; min-width: 0; }
.product-detail-page .pd-recommendation-card { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; border: 1px solid var(--pd-line); border-radius: 14px; background: #fff; box-shadow: 0 3px 12px #263e2908; overflow: hidden; }
.product-detail-page .pd-recommendation-card:hover { border-color: #24833f; color: inherit; }
.product-detail-page .pd-recommendation-card:focus-visible,
.product-detail-page .pd-recommendation-contact:focus-visible { outline: 3px solid #24833f; outline-offset: 3px; }
.product-detail-page .pd-recommendation-media { display: grid; place-items: center; height: 210px; padding: 14px 18px 6px; background: #fff; }
.product-detail-page .pd-recommendation-media img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-detail-page .pd-recommendation-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 14px 16px 17px; }
.product-detail-page .pd-recommendation-name { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.product-detail-page .pd-recommendation-reason { margin: 8px 0 0; color: var(--pd-muted); font-size: 14px; line-height: 1.45; }
.product-detail-page .pd-recommendation-variant { display: block; margin: 7px 0 0; color: var(--pd-muted); font-size: 12px; line-height: 1.45; }
.product-detail-page .pd-recommendation-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; padding-top: 17px; }
.product-detail-page .pd-recommendation-price { color: #202b25; font-size: 19px; font-weight: 600; line-height: 1.25; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-recommendation-more { color: #24833f; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.product-detail-page .pd-recommendation-advice { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; padding: 20px 24px; border: 1px solid var(--pd-line); border-radius: 14px; background: var(--pd-surface); }
.product-detail-page .pd-recommendation-advice > div { max-width: 76ch; min-width: 0; }
.product-detail-page .pd-recommendation-advice-title { display: block; margin: 0; color: #202b25; font-size: 16px; line-height: 1.4; font-weight: 600; }
.product-detail-page .pd-recommendation-advice-text { margin: 7px 0 0; color: var(--pd-muted); font-size: 14px; line-height: 1.6; }
.product-detail-page .pd-recommendation-contact { flex-shrink: 0; font-size: 14px; text-align: center; }
@media (max-width: 1050px) and (min-width: 681px) {
  .product-detail-page .pd-recommendation-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail-page .pd-recommendation-advice { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  .product-detail-page .pd-recommendations { margin-top: 28px; }
  .product-detail-page .pd-recommendation-section + .pd-recommendation-section { margin-top: 28px; }
  .product-detail-page .pd-recommendation-heading h2 { font-size: 21px; }
  .product-detail-page .pd-recommendation-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 3px; padding: 3px 3px 12px; scrollbar-width: thin; }
  .product-detail-page .pd-recommendation-card { scroll-snap-align: start; }
  .product-detail-page .pd-recommendation-media { height: 190px; }
  .product-detail-page .pd-recommendation-advice { flex-direction: column; align-items: stretch; padding: 18px; gap: 16px; }
  .product-detail-page .pd-recommendation-contact { align-self: flex-start; max-width: 100%; white-space: normal; }
}

/* IMATO collection carousel: eight models, including two LUX. */
.product-detail-page .pd-collection-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 16px; }
.product-detail-page .pd-collection-heading-row .pd-recommendation-heading { margin-bottom: 0; }
.product-detail-page .pd-collection-controls { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.product-detail-page .pd-collection-controls[hidden] { display: none; }
.product-detail-page .pd-collection-position { min-width: 68px; color: var(--pd-muted); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.product-detail-page .pd-collection-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--pd-line); border-radius: 50%; background: #fff; color: #24833f; cursor: pointer; }
.product-detail-page .pd-collection-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.product-detail-page .pd-collection-arrow:hover:not(:disabled) { border-color: #24833f; background: var(--pd-surface); }
.product-detail-page .pd-collection-arrow:disabled { color: #a6afa8; background: #f7f8f5; cursor: default; }
.product-detail-page .pd-collection-arrow:focus-visible,
.product-detail-page .pd-collection-track:focus-visible { outline: 3px solid #24833f; outline-offset: 2px; }
.product-detail-page .pd-recommendation-grid.pd-collection-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 3px; padding: 4px 3px 12px; scrollbar-width: thin; scrollbar-color: #bdcdbd #f0f5eb; }
.product-detail-page .pd-collection-track .pd-recommendation-card { scroll-snap-align: start; }
@media (max-width: 1050px) and (min-width: 681px) {
  .product-detail-page .pd-recommendation-grid.pd-collection-track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 680px) {
  .product-detail-page .pd-collection-heading-row { flex-wrap: wrap; gap: 12px; }
  .product-detail-page .pd-collection-controls { margin-left: auto; }
  .product-detail-page .pd-collection-arrow { width: 44px; height: 44px; }
  .product-detail-page .pd-recommendation-grid.pd-collection-track { grid-auto-columns: 84%; gap: 12px; }
}

/* IMATO collection photo sizing: preserve complete original images and four columns. */
.product-detail-page .pd-collection-track .pd-recommendation-media {
  height: 290px;
  padding: 8px 10px 0;
}
.product-detail-page .pd-collection-track .pd-recommendation-body {
  padding: 12px 14px 14px;
}
.product-detail-page .pd-collection-track .pd-recommendation-bottom {
  padding-top: 12px;
}
@media (max-width: 680px) {
  .product-detail-page .pd-collection-track .pd-recommendation-media {
    height: 250px;
    padding: 8px 8px 0;
  }
}


/* Texture zoom preserves the existing palette and fetches the viewer image on click. */
.product-detail-page .pd-full-description-body .pd-texture-trigger {
  display: inline-block; vertical-align: top; max-width: 100%; padding: 0;
  border: 0; border-radius: 8px; background: transparent; cursor: zoom-in;
}
.product-detail-page .pd-editorial-swatches .pd-texture-trigger { display: block; margin: 0 0 7px; }
.product-detail-page .pd-editorial-swatches .pd-texture-trigger > img { margin: 0; }
.product-detail-page .pd-texture-trigger:focus-visible { outline: 2px solid #24833f; outline-offset: 4px; }
dialog.pd-texture-dialog { width: min(430px,calc(100% - 30px)); }
.pd-texture-frame { display: grid; justify-items: center; align-content: center; gap: 14px; min-height: 200px; }
.pd-texture-dialog .pd-texture-image { display: block; width: 340px; max-width: 100%; height: auto; max-height: calc(100dvh - 170px); object-fit: contain; }
.pd-texture-dialog [hidden] { display: none !important; }
.pd-texture-status { margin: 0; text-align: center; color: #53615a; }
.pd-texture-retry { padding: 9px 18px; border: 1px solid #cbd9cb; border-radius: 8px; background: #f3f7f0; color: #202b25; }

/* The complete native pricing partial refreshes together with its sale treatment. */
.product-detail-page .pd-purchase-box:has(.pd-deal){background:#fff0eb;border-color:#e69a87}
.product-detail-page .pd-deal{margin-bottom:12px}
.product-detail-page .pd-deal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:9px;color:#8e281e;font-size:15px;font-weight:600}
.product-detail-page .pd-deal-badge{padding:7px 11px;background:#ae2c20;color:#fff;border-radius:9px;font-size:23px;line-height:1.05;font-weight:750;letter-spacing:-.6px;white-space:nowrap}
.product-detail-page .pd-deal .pd-price{gap:5px 12px}
.product-detail-page .pd-deal .price{font-size:46px;font-weight:750;line-height:1.1;letter-spacing:-1.6px;color:#ae2c20}
.product-detail-page .pd-deal .pd-price-unit{color:#6b514b}
.product-detail-page .pd-deal-regular{display:flex;align-items:baseline;gap:9px;margin-top:8px;color:#6b514b;font-size:13px}
.product-detail-page .pd-deal-regular .old-price{font-size:22px;line-height:1.2;color:#6b514b;text-decoration-thickness:1.5px;text-decoration-color:#8e6257;white-space:nowrap}
.product-detail-page .pd-deal-saving{display:inline-flex;flex-wrap:wrap;gap:5px;margin-top:13px;padding:7px 10px;border:1px solid #edc0b3;border-radius:8px;background:#fff9f6;color:#8e281e;font-size:14px;line-height:1.35}
.product-detail-page .pd-deal-saving strong{font-weight:650}
.product-detail-page .pd-purchase-box:has(.pd-deal) .pd-custom{border-top-color:#edc0b3}
@media(max-width:700px){
 .product-detail-page .pd-deal-heading{font-size:14px}
 .product-detail-page .pd-deal .price{font-size:39px;letter-spacing:-1.1px}
 .product-detail-page .pd-deal-badge{font-size:21px}
 .product-detail-page .pd-deal-regular .old-price{font-size:20px}
 .product-detail-page .pd-deal-saving{font-size:13px}
}
@media(max-width:370px){.product-detail-page .pd-deal .price{font-size:35px}.product-detail-page .pd-deal-heading{gap:8px}}
