/* Product pages for spare parts; headrails and slats keep their own layouts. */
.bco-part-page{max-width:1376px;padding-top:28px;padding-bottom:65px;min-height:60vh}
.bco-part-page .breadcrumbs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:10px;margin-bottom:24px;font-size:12px;border:0;min-height:0;padding:0;color:var(--muted,#626963)}
#order-options{scroll-margin-top:4px;margin-bottom:18px}
#bco-part-order [hidden]{display:none!important}
.bco-shop-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:start;gap:52px}
.bco-shop-media{min-width:0;position:sticky;top:24px}
.bco-shop-zoom{position:relative;display:block;width:100%;aspect-ratio:1;padding:0;border:0;background:#fff;cursor:zoom-in;overflow:hidden;border-radius:3px}
#bco-part-order .bco-shop-media img{display:block;width:100%;height:100%;max-width:100%;max-height:none;object-fit:contain;object-position:center}
.bco-zoom-icon{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #d7dcd7;border-radius:50%;background:#fffffff2;font:27px/1 Arial,sans-serif;color:var(--ink,#213530)}
.bco-shop-details{min-width:0}
#bco-part-order h1{font-family:var(--sans,Arial,sans-serif);font-size:clamp(27px,2.7vw,36px);font-weight:650;letter-spacing:-.8px;line-height:1.22;margin:0 0 22px}
#bco-part-order .bco-shop-price{font:700 29px/1.2 var(--sans,Arial,sans-serif);color:var(--ink,#213530);margin:0 0 8px}
#bco-part-order .bco-shop-tax{font-size:12px;line-height:1.6;color:var(--muted,#626963);margin:0 0 28px}
#bco-part-order .form-grid{display:flex;flex-direction:column;gap:18px;margin:0}
#bco-part-order .field{font-size:13px;gap:7px;min-width:0}
#bco-part-order .field input{min-width:0;width:100%;padding:11px 12px;font-size:15px}
.bco-option-set{border:0;margin:0 0 20px;padding:0;min-width:0}
.bco-option-set legend{padding:0;margin-bottom:12px;font-size:14px;line-height:1.5;font-weight:650}
.bco-option-set legend span{font-weight:400;color:var(--muted,#626963);padding-left:4px}
.bco-option-buttons{display:flex;flex-wrap:wrap;gap:8px}
.bco-option-buttons button{min-width:52px;min-height:46px;border:1px solid var(--ink,#213530);border-radius:4px;padding:10px 14px;background:#fff;color:var(--ink,#213530);font-size:13px;font-weight:500;line-height:1.4;text-align:center}
.bco-option-buttons button[aria-pressed="true"]{background:var(--ink,#213530);color:#fff}
.bco-option-buttons button:hover{box-shadow:inset 0 0 0 1px var(--ink,#213530)}
.bco-option-hint{display:inline-flex}
.bco-option-hint[data-unavailable]{cursor:not-allowed}
.bco-option-hint[data-unavailable] button{pointer-events:none;opacity:.45}
#bco-part-order #bco-parts-contents{background:none;border:0;padding:0;margin:12px 0;color:var(--muted,#626963);font-size:13px;line-height:1.6}
#bco-part-order .bco-shop-description{font-size:14px;line-height:1.7;margin:22px 0;color:var(--ink,#213530)}
.bco-purchase-row{display:flex;gap:10px;align-items:stretch;margin-top:22px}
.bco-quantity-stepper{display:flex;align-items:center;flex:0 0 120px;min-width:0;border:1px solid var(--line,#d7dcd7);border-radius:4px;overflow:hidden}
.bco-quantity-stepper button{width:36px;min-height:48px;flex:none;padding:0;background:#fff;border:0;font-size:22px;line-height:1;color:var(--ink,#213530)}
.bco-quantity-stepper button:disabled{color:#a6aaa6;cursor:default}
#bco-part-order .bco-quantity-stepper input{appearance:textfield;-moz-appearance:textfield;width:46px;min-width:0;flex:1;text-align:center;border:0;padding:8px 0;font-size:15px;background:#fff;color:var(--ink,#213530)}
.bco-quantity-stepper input::-webkit-inner-spin-button,.bco-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.bco-purchase-row>.button{flex:1;min-width:0;min-height:50px;font-size:14px;font-weight:650;margin:0}
#bco-part-order .form-actions{margin-top:12px;justify-content:flex-end}
#bco-part-order .form-actions>.button{font-size:12px;min-height:36px;padding:7px 0;border:0;background:none;color:var(--muted,#626963)}
#bco-part-order .small{font-size:12px;line-height:1.6;margin:14px 0 0}
#bco-part-order .error:empty{display:none}
.bco-photo-dialog{padding:35px 16px 16px;max-width:1100px;width:92vw;max-height:94dvh;overflow:auto;background:#fff;border:0;border-radius:5px}
.bco-photo-dialog::backdrop{background:#142b26b3}
.bco-photo-dialog img{display:block;width:100%;max-height:80dvh;object-fit:contain}
.bco-photo-close{position:absolute;top:4px;right:7px;width:32px;height:32px;border:0;border-radius:50%;background:#f4f4f1;font-size:25px;line-height:1}
@media(max-width:1000px){.bco-shop-layout{gap:28px}.bco-option-buttons button{padding:10px 12px}}
@media(max-width:760px){.bco-shop-layout{grid-template-columns:minmax(0,1fr);gap:26px}.bco-shop-media{position:static;max-width:540px;width:100%;margin:auto}.bco-shop-zoom{aspect-ratio:1.2}.bco-part-page{padding-top:22px;padding-bottom:40px}#bco-part-order h1{font-size:28px;margin-bottom:18px}.bco-shop-details{width:100%}.bco-option-set{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.bco-part-page *{scroll-behavior:auto}}
.bco-zoom-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6}
#bco-part-order .form-grid>.bco-option-set,#bco-part-order #bco-parts-quantity>.bco-option-set{margin-bottom:0}

.bco-shop-thumbnails{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.bco-shop-thumbnails button{flex:0 0 78px;width:78px;height:78px;max-width:100%;padding:3px;border:1px solid #d7dcd7;border-radius:4px;background:#fff;cursor:pointer;overflow:hidden}
.bco-shop-thumbnails button[aria-pressed="true"]{border:2px solid var(--ink,#213530);padding:2px}
.bco-shop-thumbnails button:focus-visible{outline:2px solid var(--ink,#213530);outline-offset:3px}
#bco-part-order .bco-shop-thumbnails img{width:100%;height:100%;object-fit:contain}
