/* Quote preview: scoped refinements; retain the original image/editor geometry. */
body .zh-secondary{display:none!important}
.site-header .header-explore{width:auto;min-width:148px;padding-inline:20px;cursor:pointer;justify-content:center}
.catalog-tools .filter{min-height:50px;display:flex;align-items:center;justify-content:center;gap:6px}
.catalog-tools .filter b{position:static;margin:0}
.product-copy h3{margin-bottom:10px}
.product-page-reference{margin-top:8px}
.dialog-actions>a,.dialog-actions>button{min-height:60px;display:flex;align-items:center}
footer#contact .contact-details{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;width:100%}
footer#contact .contact-details>a{min-width:0;gap:8px;align-items:center}
footer#contact .contact-details>a span{min-width:0;font-size:clamp(10px,.95vw,14px);overflow-wrap:anywhere}
footer#contact .contact-details small{font-size:10px}
footer#contact .store-choices{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.quote-dialog{box-sizing:border-box;width:min(780px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:28px 32px;border:1px solid #dbe5e9;border-radius:24px;background:#fff;color:#17232c;box-shadow:0 30px 100px #16354330;overflow:auto;overscroll-behavior:contain;font-family:'DM Sans',Arial,sans-serif}
.quote-dialog::backdrop{background:#182f4340}
.quote-heading{position:static;display:flex;align-items:flex-start;justify-content:space-between;padding:0;margin:0 0 16px;gap:20px;background:transparent}
.quote-eyebrow{font-size:10px!important;font-weight:700;letter-spacing:.14em;color:#5d8398;margin:0 0 9px!important}
.quote-heading h2{font-size:28px;line-height:1.2;letter-spacing:-.6px;margin:0 0 6px}
.quote-heading p:not(.quote-eyebrow){font-size:12px;color:#647988;margin:0}
.quote-close,.qr-close{width:32px;height:32px;border:0;border-radius:50%;background:#eef4f7;color:#193747;font-size:23px;cursor:pointer;flex:none}
.social-rail{position:fixed;right:clamp(14px,3.6vw,80px);bottom:18vh;z-index:85;display:flex;flex-direction:column;align-items:flex-end;gap:10px;font-family:'DM Sans',Arial,sans-serif}
.social-pill{box-sizing:border-box;display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:40px;padding:9px 16px;border:1px solid #e8ca48;border-radius:999px;background:#f5d322;color:#193747;font:600 12px/1.4 'DM Sans',Arial,sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 5px 18px #25435112;transition:transform .2s,box-shadow .2s,background .2s}
.social-pill svg{width:20px;height:20px;flex:none}
.whatsapp-pill{width:144px}.facebook-pill{width:136px}.instagram-pill{width:142px}.youtube-pill{width:126px}
.social-pill:hover,.social-pill:focus-visible{transform:translateX(-5px);background:#ffe36b;box-shadow:0 8px 24px #25435122}
.social-pill:focus-visible{outline:2px solid #193747;outline-offset:3px}
.whatsapp-wrap{position:relative}
.whatsapp-card{position:absolute;right:100%;bottom:0;width:260px;box-sizing:border-box;padding:22px;margin-right:12px;border:1px solid #dbe5e9;border-radius:20px;background:linear-gradient(135deg,#f3f9fc,#fff9e4);box-shadow:0 18px 55px #19374729;color:#193747;text-align:left}
.whatsapp-wrap::before{content:'';position:absolute;right:100%;width:14px;top:-250px;height:300px;pointer-events:none}
.whatsapp-wrap:has(.whatsapp-card:not([hidden]))::before{pointer-events:auto}
.whatsapp-card[hidden]{display:none}
.whatsapp-card h2{font-size:18px;margin:0 0 14px;line-height:1.3;letter-spacing:-.3px}
.whatsapp-card>p:last-of-type{font-size:11px;line-height:1.6;text-align:center;color:#647988;margin:12px 0 0}
.qr-surface{background:white;padding:12px;border-radius:10px}
.qr-surface img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.qr-close{position:absolute;top:8px;right:8px;width:24px;height:24px;font-size:18px}
body.editing-layout .social-rail{display:none}
@media(max-width:1450px){.social-rail{right:12px;bottom:16px}.social-pill{min-height:36px;padding:7px 12px;font-size:11px}.whatsapp-pill{width:128px}.facebook-pill{width:120px}.instagram-pill{width:126px}.youtube-pill{width:112px}}
@media(max-width:600px){
 .site-header .header-explore{min-width:0;padding:10px 14px;font-size:11px}
 .quote-dialog{padding:22px 18px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:18px}
 .quote-heading h2{font-size:24px}
 .social-rail{position:relative;right:auto;bottom:auto;z-index:10;flex-direction:row;justify-content:flex-end;flex-wrap:wrap;padding:18px 20px;background:#f7f9fb;gap:8px}
 .social-pill{width:auto!important;min-height:38px}.whatsapp-card{position:fixed;right:12px;bottom:70px;margin:0;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto}
 footer#contact .contact-details>a span{font-size:11px}.product-copy h3{margin-bottom:7px}
}
@media(prefers-reduced-motion:reduce){.social-pill{transition:none}}

/* The published Tally form owns validation, submission and its success screen. */
.quote-embed{position:relative;min-height:120px;margin-top:20px}
.quote-embed iframe{display:block;width:100%;border:0;background:transparent}
.quote-loading{color:#657c8d;font-size:14px;padding:20px 0}
.quote-loading[hidden]{display:none}
.quote-fallback{font-size:12px;line-height:1.6;color:#657c8d;margin:14px 0 0}
.quote-fallback a{color:#305d76;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.quote-embed{margin-top:14px}.quote-dialog{padding:22px 18px}}

/* Keep the quote card footprint while simplifying its field grid. */
.quote-dialog{height:min(760px,calc(100dvh - 40px))}
.quote-close{transition:transform .18s ease,background .18s ease,box-shadow .18s ease;transform-origin:center}
.quote-close:hover,.quote-close:focus-visible{transform:scale(1.12);background:#e1edf3;box-shadow:0 4px 12px #19374718}
.quote-close:active{transform:scale(.98)}
@media(prefers-reduced-motion:reduce){.quote-close{transition:none}}

/* Footer networks and the persistent WhatsApp / back-to-top rail. */
.footer-socials{position:absolute;right:max(0px,calc(100% - var(--footer-copy-width,100%)));bottom:0;display:flex;align-items:center;gap:10px}
.footer-social-link{display:grid;place-items:center;width:36px;height:36px;box-sizing:border-box;border:1px solid #17232c25;border-radius:50%;background:#ffffff80;color:#193747;box-shadow:0 3px 10px #67521612;transition:transform .2s,background .2s,box-shadow .2s}
.footer-social-link svg{width:20px;height:20px;pointer-events:none}
.footer-social-link:hover,.footer-social-link:focus-visible{transform:translateY(-3px) scale(1.06);background:#fff;box-shadow:0 5px 14px #67521622}
.footer-social-link:focus-visible{outline:2px solid #193747;outline-offset:3px}
.footer-social-link svg path[fill="#f5d322"]{fill:#fff}
.social-rail .footer-back-top{position:relative;inset:auto;flex:none;width:40px;height:40px;margin-left:auto;border-radius:50%;background:#f5d322;border:1px solid #e8ca48;box-shadow:0 5px 18px #25435112}
.social-rail .footer-back-top:hover{background:#ffe36b}
@media(max-width:850px){.footer-socials{position:static;justify-content:flex-end;margin-top:12px}}
@media(max-width:600px){.social-rail{position:fixed;right:12px;bottom:32px;z-index:85;flex-direction:column;align-items:flex-end;flex-wrap:nowrap;justify-content:flex-start;padding:0;background:transparent;gap:10px}.social-rail .whatsapp-pill{width:128px!important}.social-rail .whatsapp-card{position:absolute;right:100%;bottom:0;margin-right:12px;width:min(260px,calc(100vw - 160px))}}
@media(prefers-reduced-motion:reduce){.footer-social-link{transition:none}.footer-social-link:hover{transform:none}}

/* Compact, centered floating contact controls. */
.social-rail{width:68px;align-items:center;gap:12px}
.social-rail .whatsapp-wrap{width:100%}
.social-rail .whatsapp-pill{width:68px!important;min-height:68px;padding:9px 5px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border-radius:18px;font-size:10px;line-height:1.2;letter-spacing:0}
.social-rail .whatsapp-pill svg{width:25px;height:25px}
.social-rail .whatsapp-pill:hover,.social-rail .whatsapp-pill:focus-visible{transform:translateY(-2px) scale(1.03)}
.social-rail .footer-back-top{margin:0;align-self:center}
@media(max-width:600px){.social-rail{align-items:center;gap:12px}.social-rail .whatsapp-card{width:min(260px,calc(100vw - 108px))}}
@media(prefers-reduced-motion:reduce){.social-rail .whatsapp-pill:hover{transform:none}}

/* Matching floating button frames. */
.social-rail .footer-back-top{width:68px;height:68px;min-height:68px;box-sizing:border-box;border-radius:18px}
.social-rail .footer-back-top svg{width:34px;height:34px}

/* Quote card: content height replaces the old fixed 760px scroll container. */
.quote-dialog{height:fit-content;min-height:0;max-height:calc(100dvh - 24px);padding:20px 28px 16px}
.quote-heading{margin-bottom:8px}.quote-heading h2{margin-bottom:4px}
.quote-embed{margin-top:8px;height:705px;min-height:120px;overflow:visible}
.quote-embed iframe{position:absolute;left:0;top:0;transform-origin:top left;opacity:0;pointer-events:none}
.quote-ready .quote-embed iframe{opacity:1;pointer-events:auto}
.quote-dialog:not(.quote-ready) .quote-embed{height:min(440px,45dvh)}
.quote-loading{margin:0;padding:24px 16px;background:#f5f8fa;border:1px solid #e1eaf0;border-radius:12px}
.quote-fallback{font-size:11px;line-height:1.5;margin:8px 0 0}
@media(max-width:600px){.quote-dialog{padding:18px 18px 14px}.quote-embed{margin-top:8px}}
