/* Approved first product-page visual, v54. Scoped to product pages. */
.pdp-reference{width:var(--home-section-width);max-width:1360px;padding:0;margin:30px auto 60px;color:#102332}
.pdp-reference .pdp-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:48px;align-items:start}
.pdp-reference .pdp-gallery{position:static;max-width:none;width:100%;margin:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;column-gap:12px}
.pdp-reference .gallery-stage{grid-column:1/-1;position:relative;background:#fff;min-width:0;margin-bottom:28px}
.pdp-reference .pdp-gallery #main-product-image{display:block;aspect-ratio:1.4;width:100%;height:auto;max-height:none;object-fit:contain;background:#fff;border:0;border-radius:0;padding:0;touch-action:pan-y}
.pdp-reference .gallery-zoom{position:absolute;right:0;top:0;width:44px;height:44px;border:1px solid #d5dce0;background:#fff;border-radius:8px;display:grid;place-items:center;padding:10px;color:#51606d}
.gallery-zoom svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6}
.pdp-reference .gallery-controls{display:grid;grid-template-columns:repeat(var(--slide-count,4),minmax(0,1fr));gap:10px!important;flex-wrap:nowrap;min-width:0;margin:0}
.pdp-reference .gallery-controls button{display:grid;place-items:center;width:100%;min-width:0;min-height:44px;aspect-ratio:1.5;padding:4px!important;border:1px solid #d5dce0;border-radius:8px!important;background:#fff;overflow:visible;gap:0}
.pdp-reference .gallery-controls button img{display:block;width:100%!important;height:100%!important;min-height:0;max-height:100%;aspect-ratio:auto;object-fit:contain!important;border-radius:0}
.pdp-reference .gallery-controls button[aria-pressed=true]{border:2px solid #087a48;background:#fff;padding:3px!important}
.pdp-reference .gallery-nav{display:flex;align-items:center;margin:0;gap:0}
.pdp-reference .gallery-nav button{display:none}
.pdp-reference #gallery-counter{font-size:14px;color:#102332;white-space:nowrap;font-variant-numeric:tabular-nums}
.pdp-reference .pdp-gallery .image-note{grid-column:1/-1;font-size:12px;line-height:1.5;color:#59636e;margin:18px 0 0}
.pdp-reference .pdp-buy{display:block;min-width:0;width:100%;max-width:none;margin:0}
.pdp-reference .breadcrumbs{font-size:13px;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;color:#58626c;padding:0}
.pdp-reference .breadcrumbs a{color:inherit}
.pdp-reference .pdp-buy h1{font-size:clamp(27px,2.65vw,40px);line-height:1.18;letter-spacing:-.025em;font-weight:700;text-wrap:pretty;margin:0 0 8px;overflow-wrap:anywhere}
.pdp-reference .pdp-buy .pdp-meta{font-size:17px;line-height:1.5;color:#102332;margin:0;display:flex;flex-wrap:wrap;gap:12px}
.pdp-meta>span{color:#087a48}
.pdp-reference .pdp-highlights{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important;margin:26px 0 26px}
.pdp-reference .pdp-highlights>div{border:0;border-right:1px solid #cfd6da;padding:0 16px 0 0!important;background:none!important;min-width:0}
.pdp-reference .pdp-highlights>div:last-child{border:0;padding-right:0!important}
.pdp-reference .pdp-highlights small{font-size:16px;line-height:1.4;color:#59636e;display:block;margin-bottom:5px}
.pdp-reference .pdp-highlights b{font-size:28px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.pdp-reference .pdp-lengths{border:0;padding:0;margin:0 0 26px;min-width:0}
.pdp-reference .pdp-lengths legend{font-size:19px;font-weight:600;padding:0;margin-bottom:10px}
.pdp-lengths>div{display:flex;gap:10px;flex-wrap:wrap}
.pdp-lengths button{min-height:44px;flex:1;min-width:62px;padding:8px 14px;border:1px solid #bfc7cd;border-radius:8px;background:#fff;font-size:16px;font-weight:600;color:#102332}
.pdp-lengths button[aria-pressed=true]{background:#087a48;border-color:#087a48;color:#fff}
.pdp-reference .buy-box{background:transparent;border:0;border-radius:0;padding:0;margin:0;box-shadow:none}
.pdp-reference .buy-box>.product-price{font-size:44px;font-weight:700;line-height:1.1;color:#087a48;letter-spacing:-.025em;margin:0 0 5px}
.pdp-reference .buy-box>.frame-price-label,.pdp-reference .pdp-unit-label{font-size:15px;line-height:1.5;color:#59636e;margin:0}
.pdp-reference #greenhouse-config{min-width:0;margin:25px 0 24px;padding:0;border:0}
.pdp-reference #greenhouse-config legend{font-size:17px;font-weight:600;line-height:1.4;margin-bottom:12px;padding:0}
.pdp-reference #greenhouse-config .kit-length{display:none!important}
.pdp-reference .kit-modes{display:flex;flex-direction:column;gap:10px}
.pdp-reference .kit-modes>label{padding:0!important;display:flex!important;align-items:center;gap:10px;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;min-height:30px;cursor:pointer}
.pdp-reference .kit-modes>label:has([value=frame]){order:-1}
.pdp-reference .kit-modes input{width:21px!important;height:21px!important;margin:0;accent-color:#087a48;flex-shrink:0}
.pdp-reference .kit-modes strong{font-size:18px!important;font-weight:400!important}
.pdp-reference .kit-modes small{display:none}
.pdp-reference .kit-services{margin:18px 0 0;padding:0;border:0;display:block}
.pdp-reference .delivery-choice{display:flex;align-items:center;gap:10px;background:transparent;border:0;padding:0;border-radius:0;min-height:32px;cursor:pointer;font-size:18px}
.pdp-reference .delivery-choice input{width:21px;height:21px;margin:0;accent-color:#087a48}
.pdp-reference .delivery-choice svg,.pdp-reference .delivery-choice small{display:none}
.pdp-reference .kit-quote{background:#f4f9f6;border-radius:8px;margin:16px 0 0;padding:12px}
.pdp-reference .kit-quote[data-mode=frame]{display:none}
.pdp-reference .kit-quote>div{font-size:13px;gap:12px}
.pdp-reference .cover-advanced[hidden]{display:none!important}
.pdp-reference .cover-advanced:not([hidden]){margin:16px 0;display:block}
.pdp-reference .cover-advanced h3{font-size:17px;margin:0 0 10px}
.pdp-reference .pdp-purchase-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:20px;margin-top:0}
.pdp-reference .quantity{display:flex;align-items:stretch;justify-content:stretch;gap:0;margin:0;border:1px solid #bdc7ce;border-radius:8px;min-height:52px;overflow:visible;padding:0}
.pdp-reference .quantity input{font-size:16px;font-weight:600;min-width:0;min-height:0;max-width:none;width:100%;padding:0;border:0;background:transparent;text-align:center;appearance:textfield;box-shadow:none}
.quantity input::-webkit-inner-spin-button,.quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pdp-reference .quantity button{width:38px;min-width:32px;flex-shrink:0;border:0;padding:0;background:transparent;color:#52606b;font-size:23px;line-height:1}
.pdp-reference .pdp-purchase-row>.primary{width:100%;min-height:52px;margin:0;padding:10px 14px;background:#087a48;color:#fff;font-size:18px;font-weight:600;border:1px solid #087a48;border-radius:8px;letter-spacing:0}
.pdp-reference .buy-box>.secondary{width:100%;min-height:50px;border:1px solid #087a48;border-radius:8px;color:#087a48;background:#fff;margin:12px 0 0;padding:10px 14px;font-size:18px;font-weight:600}
.pdp-reference .buy-box>.pdp-purchase-note{font-size:13px;line-height:1.5;color:#59636e;margin:14px 0 0}
.pdp-reference .pdp-tabs{display:flex;gap:40px;border-bottom:1px solid #d5dce0;margin:28px 0 0;min-width:0;overflow-x:auto;scrollbar-width:thin}
.pdp-tabs a{flex-shrink:0;display:flex;align-items:center;min-height:56px;padding:12px 12px 14px;color:#102332;border-bottom:3px solid transparent;font-size:18px;font-weight:500}
.pdp-tabs a.active{color:#087a48;border-bottom-color:#087a48}
.pdp-reference .pdp-variant-options{margin:24px 0 0;padding:0;border:0;font-size:14px}
.pdp-variant-options summary{font-size:14px;color:#59636e;padding:12px 0}
.pdp-reference .pdp-content{margin-top:28px}
.pdp-reference [id^=pdp-]{scroll-margin-top:180px}
.pdp-reference .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.pdp-reference button:focus-visible,.pdp-reference a:focus-visible,#product-image-dialog button:focus-visible{outline:3px solid #087a48;outline-offset:3px}
#product-image-dialog{width:min(1200px,calc(100% - 40px));max-height:calc(100dvh - 40px);padding:50px 20px 20px;border:0;border-radius:12px;background:#fff;overflow:auto}
#product-image-dialog img{display:block;width:100%;height:min(70dvh,800px);object-fit:contain;background:#fff}
#product-image-dialog::backdrop{background:#102332b3}
#product-image-dialog .image-dialog-close{position:absolute;right:8px;top:8px;border:0;background:#fff;width:44px;height:44px;font-size:30px;color:#102332;padding:0}
@media(min-width:1200px){.pdp-reference .gallery-stage{margin-top:32px}}
@media(min-width:761px) and (max-width:1199px){.pdp-reference .pdp-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}.pdp-reference .pdp-buy h1{font-size:27px}.pdp-reference .buy-box>.product-price{font-size:36px}.pdp-reference .pdp-purchase-row{grid-template-columns:110px minmax(0,1fr);gap:10px}.pdp-reference .pdp-purchase-row>.primary{font-size:14px}.pdp-reference .gallery-controls{gap:6px!important}.pdp-reference .pdp-highlights b{font-size:22px}.pdp-reference .pdp-highlights{gap:10px!important}}
@media(max-width:760px){
 .pdp-reference{margin-top:20px;margin-bottom:36px}
 .pdp-reference .pdp-grid{display:flex;flex-direction:column;gap:0}
 .pdp-reference .pdp-buy{display:contents}
 .pdp-reference .pdp-buy>.breadcrumbs{order:-5;width:100%;margin-bottom:10px;font-size:12px}
 .pdp-reference .pdp-buy>h1{order:-4;font-size:27px;line-height:1.2;margin:0 0 8px}
 .pdp-reference .pdp-buy>.pdp-meta{order:-3;font-size:14px;margin:0 0 16px;gap:10px}
 .pdp-reference .pdp-gallery{order:-2;margin:0 0 22px;width:100%;column-gap:8px}
 .pdp-reference .gallery-stage{margin:0 0 14px}
 .pdp-reference .pdp-gallery #main-product-image{aspect-ratio:1.4;max-height:none}
 .pdp-reference .gallery-controls{gap:6px!important}
 .pdp-reference .gallery-controls button{padding:2px!important;border-radius:6px!important}
 .pdp-reference .gallery-controls button[aria-pressed=true]{padding:1px!important}
 .pdp-reference .pdp-gallery .image-note{font-size:11px;margin-top:12px}
 .pdp-reference #gallery-counter{font-size:12px}
 .pdp-reference .gallery-zoom{right:0;top:0;width:40px;height:40px;padding:8px}
 .pdp-reference .pdp-highlights{width:100%;margin:0 0 24px;gap:14px!important}
 .pdp-reference .pdp-highlights small{font-size:13px}
 .pdp-reference .pdp-highlights b{font-size:23px}
 .pdp-reference .pdp-lengths{width:100%;margin-bottom:22px}
 .pdp-lengths>div{gap:8px}
 .pdp-lengths button{padding:8px;min-width:52px}
 .pdp-reference .buy-box{width:100%;padding:0}
 .pdp-reference .buy-box>.product-price{font-size:38px}
 .pdp-reference #greenhouse-config{margin-top:24px}
 .pdp-reference .pdp-purchase-row{grid-template-columns:120px minmax(0,1fr);gap:12px}
 .pdp-reference .pdp-purchase-row>.primary{font-size:14px;padding:10px}
 .pdp-reference .buy-box>.secondary{font-size:15px}
 .pdp-reference .pdp-tabs{gap:16px;margin-top:28px}
 .pdp-tabs a{min-height:52px;font-size:15px;padding-inline:4px}
 .pdp-reference .pdp-content{grid-template-columns:1fr!important}
 .pdp-reference [id^=pdp-]{scroll-margin-top:160px}
}
@media(max-width:360px){.pdp-reference .pdp-purchase-row{grid-template-columns:105px minmax(0,1fr);gap:8px}.pdp-reference .pdp-purchase-row>.primary{font-size:13px}.pdp-reference .quantity button{min-width:30px;width:30px}.pdp-reference .pdp-buy>h1{font-size:25px}}
