/* Homepage discovery and catalogue quote controls. */
.home-product-search{padding:20px 4%;background:#edf4f8;border-bottom:1px solid #dce7ee}
.home-product-search form{max-width:1180px;padding:0;border:0;border-radius:0;background:transparent}
.home-product-search label{font-size:16px;margin:0 0 8px}
.home-search-field{display:flex;flex-direction:row;gap:10px}
.home-search-field input{height:52px;min-height:52px;flex:1}
.home-search-field button{width:auto;min-height:52px;flex:none;padding:12px 24px}
.home-product-search~.intro{margin-top:64px}
.categories{grid-template-columns:repeat(3,minmax(0,1fr))}
.categories .photo-category{background:#0d2d43!important;min-width:0}
.categories .category-copy{background:#0d2d43;display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:14px;padding:24px 28px}
.categories .category-copy h3{margin:0;line-height:1.2;overflow-wrap:break-word}
.categories .category-copy h3 small{display:none}
.categories .category-copy p{margin:0 0 10px;font-size:16px;line-height:1.55}
.categories .category-copy .category-open{position:static;margin-top:auto;min-height:44px;padding:8px 0;line-height:1.4;text-align:left}
.categories .category-photo{flex:none}
.quote-floating{position:fixed;right:22px;bottom:88px;z-index:100;display:flex;align-items:center;gap:9px;min-height:48px;max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid #c9a55a;border-radius:28px;background:#0d2d43;color:white;font:700 15px/1.3 Arial;box-shadow:0 5px 22px #001b2e33;cursor:pointer}
.quote-floating[hidden]{display:none}
body.modal-open .quote-floating{bottom:22px}
body.quote-opened{overflow:hidden}
body.quote-opened .quote-floating{visibility:hidden}
.overlay{z-index:140}
.drawer{z-index:150;height:100vh;height:100dvh;overflow-y:auto;overscroll-behavior:contain;padding:20px 24px 32px;scrollbar-gutter:stable;visibility:hidden}
.drawer.open{visibility:visible}
.drawer-head{position:sticky;top:-20px;background:white;z-index:2;padding:4px 0 12px;gap:12px}
.drawer-head h2{font-size:28px;margin:12px 0}
.quote-close{min-width:44px;min-height:44px}
.drawer .quote-items{max-height:none;min-height:0;overflow:visible;padding:10px 0 16px}
.drawer .quote-info{min-width:0;overflow-wrap:anywhere}
.drawer .quote-info b{font-size:15px;line-height:1.4}
.drawer .quote-info small{font-size:14px;line-height:1.45}
.drawer .quote-line{grid-template-columns:44px minmax(0,1fr) auto;gap:8px}
.drawer .quote-thumb{width:44px;height:44px}
.drawer .qty button{min-width:40px;min-height:40px}
.drawer .primary{width:100%;text-align:center;border:0;border-radius:9px;cursor:pointer;font-size:15px;line-height:1.4}
.drawer .primary:disabled{opacity:.5;cursor:default}
.quote-actions{display:grid;gap:10px}
.quote-price-note{font-size:14px;line-height:1.5;margin:0 0 6px;color:#526d7e}
.quote-secondary,.quote-form button,.quote-form a{min-height:44px;padding:12px 14px;border:1px solid #c9d8e1;border-radius:8px;background:#fff;color:#12394f;font:600 15px/1.4 Arial;text-align:center;cursor:pointer}
.quote-form{display:grid;gap:14px;border-top:1px solid #dce7ee;margin-top:22px;padding-top:20px}
.quote-form[hidden],.quote-prepared[hidden],.price-panel[hidden],.quote-form [hidden]{display:none!important}
.quote-form h3{font-size:21px;margin:0}
.quote-form p,.quote-form label{font-size:14px;line-height:1.5;margin:0}
.quote-form label{display:grid;gap:6px;color:#34576b}
.quote-form input,.quote-form textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #bdcfd9;border-radius:7px;font:16px/1.4 Arial;color:#12394f}
.quote-form .quote-consent{display:flex;gap:10px;align-items:flex-start}
.quote-consent input{width:18px;height:18px;flex:none;margin-top:3px}
.quote-prepared{display:grid;gap:10px}
.quote-status{color:#31576c;overflow-wrap:anywhere}
.catalog-grid .ask-product-price{position:static;display:block;flex:none;width:100%;min-height:44px;margin:8px 0 0;padding:11px;border:1px solid #c9a55a;border-radius:9px;background:#fff8e8;color:#12394f;font:700 15px/1.4 Arial;cursor:pointer}
.price-panel{padding:14px;margin:10px 0;border-radius:10px;background:#edf4f8;color:#12394f;font:400 14px/1.5 Arial;overflow-wrap:anywhere}
.price-panel p{margin:0 0 8px;font:inherit}
.price-panel p:last-child{margin-bottom:0}
.price-panel strong{display:block;font-size:18px;line-height:1.4;margin:6px 0}
.quote-floating:focus-visible,.quote-form :focus-visible,.ask-product-price:focus-visible,.drawer button:focus-visible{outline:3px solid #158cb5;outline-offset:3px}
@media(min-width:701px){.categories .category-copy h3{min-height:2.4em}.categories .category-copy{min-height:252px}.categories .category-photo{height:185px}}
@media(min-width:701px) and (max-width:900px){.categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .categories{grid-template-columns:minmax(0,1fr)}
 .categories .category-copy{gap:10px;padding:18px}
 .categories .category-copy p{margin:0;font-size:16px}
 .categories .category-copy .category-open{margin-top:4px}
 .categories .category-photo{width:100%;height:clamp(180px,56vw,230px)}
 .home-product-search{padding:16px}
 .home-product-search label{font-size:16px;margin-bottom:8px}
 .home-search-field button{padding:12px 16px}
 .home-product-search~.intro{margin-top:44px}
 .quote-floating{right:16px;bottom:78px;font-size:14px;padding:11px 16px}
 body.modal-open .quote-floating{bottom:16px}
 .category-modal-shell{padding-bottom:96px}
}
@media(prefers-reduced-motion:reduce){.drawer,.category-card{transition:none}html{scroll-behavior:auto}}

.quote-estimate-lines{list-style:none;padding:0;margin:12px 0;display:grid;gap:12px}.quote-estimate-lines li{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid #b6cbd4;overflow-wrap:anywhere}.price-panel>button{margin-top:14px;width:100%}.quote-consent[hidden]{display:none!important}.price-panel small{display:block;margin-top:10px}
