/* COFEVAR build V71: vendas; ordem original preservada. */

/* ===== commerce.css ===== */
/* Commercial tools follow the original COFEVAR typography, palette and spacing. */
[hidden]{display:none!important}
.utility-bar{background:#eaf1f5;border-bottom:1px solid #c5d5df}
.utility-inner{display:flex;gap:24px;align-items:center;flex-wrap:wrap;padding-block:13px;font-weight:600;font-size:.9rem}
.utility-inner a{color:#0b4964;min-height:28px;display:inline-flex;gap:7px;align-items:center}
.utility-inner a:hover{text-decoration:underline;text-underline-offset:4px}
.utility-inner a:first-child{margin-right:auto;color:#0875a3}
.cart-count{display:inline-grid;place-items:center;min-width:24px;height:24px;padding-inline:6px;background:#0875a3;color:#fff;font-size:.75rem;border-radius:2px}
.tool-hero{background:#f1f4f5;padding:55px 0 40px;border-bottom:1px solid #c5d5df}
.tool-hero h1{font-family:var(--display);font-size:clamp(2.6rem,5vw,4.7rem);font-weight:600;line-height:1.05;max-width:850px}
.tool-hero .section-lead{max-width:760px;margin-top:20px}
.tool-hero .eyebrow{color:#0875a3;margin-bottom:18px}
.tool-main{padding-block:44px 80px}
.tool-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:28px;align-items:start}
.tool-panel{background:#fff;border:1px solid #c5d5df;border-top:3px solid #0875a3;padding:28px;margin-bottom:24px;min-width:0}
.tool-panel h2,.tool-panel h3{font-family:var(--display);font-size:2rem;line-height:1.1;font-weight:600;margin-bottom:18px}
.tool-panel .eyebrow{margin-bottom:12px;color:#0875a3}
.tool-form{display:grid;gap:18px}
.field{display:flex;flex-direction:column;gap:8px;font-size:.9rem;font-weight:600;min-width:0}
.field small{font-weight:400;line-height:1.4;color:#4e6574}
.field input,.field select,.field textarea,.tool-input{font:inherit;font-weight:400;line-height:1.4;width:100%;background:#f8fafb;border:1px solid #9eb3c0;border-radius:0;padding:12px;color:#081d2d;min-height:46px;box-sizing:border-box}
.field textarea{resize:vertical;min-height:100px}
.field input:focus,.field textarea:focus,.field select:focus,.tool-input:focus{outline:2px solid #0875a3;outline-offset:2px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tool-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:20px}
.tool-btn{appearance:none;cursor:pointer;font:inherit;font-weight:600;border:1px solid #0875a3;color:#fff;background:#0875a3;padding:12px 18px;min-height:46px;text-align:center;display:inline-flex;justify-content:center;align-items:center;gap:8px;line-height:1.4;text-decoration:none}
.tool-btn:hover{background:#07597e;color:#fff}.tool-btn.secondary{background:#fff;color:#0875a3}.tool-btn.secondary:hover{background:#eaf1f5}.tool-btn:disabled{opacity:.55;cursor:wait}
.tool-link{background:none;border:0;color:#0875a3;font:inherit;font-weight:600;padding:8px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tool-note{font-size:.9rem;color:#4e6574;line-height:1.6;margin-top:14px}
.tool-status{margin-top:16px;line-height:1.5;font-size:.95rem;color:#164d33}
.tool-status.error{color:#a52e24}
.inline-check{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;line-height:1.5;font-weight:400}
.inline-check input{margin-top:5px;flex:none;width:18px;height:18px;min-width:18px;min-height:18px;accent-color:#0875a3}
.inline-check>span{min-width:0}
.video-consent{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:290px;padding:30px;background:#081d2d;color:#fff;text-align:center}
.video-consent .tool-note,.video-consent .tool-note a{color:#c7dce8}
.direct-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.direct-product{border:1px solid #c5d5df;background:#fff;display:flex;flex-direction:column;min-width:0}
.direct-product img{width:100%;height:160px;object-fit:contain;background:#f1f4f5}
.direct-product-body{padding:20px;display:flex;flex-direction:column;align-items:flex-start;flex:1}
.direct-product h3{font-family:var(--display);font-size:1.7rem;line-height:1.1;margin-bottom:10px}
.direct-product p{font-size:.9rem;line-height:1.5;color:#4e6574;margin-bottom:16px}
.direct-product .tool-actions{margin-top:auto;gap:12px}
.direct-product .tool-btn{font-size:.85rem;padding:9px 12px;min-height:40px}
.cart-item{border-bottom:1px solid #c5d5df;padding-block:22px}
.cart-item:first-child{padding-top:0}
.cart-item h3{font-size:1.5rem;margin-bottom:15px}
.cart-item-fields{display:grid;grid-template-columns:1fr 100px 100px;gap:12px}
.cart-item-fields .field:first-child{grid-column:1/-1}
.cart-item .remove-item{margin-left:auto;color:#8a3028}
.empty-state{padding:30px;background:#f1f4f5;border-left:3px solid #0875a3;line-height:1.7}
.empty-state strong{display:block;font-family:var(--display);font-size:1.8rem;margin-bottom:10px}
.tool-tabs{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:25px}
.tool-tabs a{padding:12px 18px;border:1px solid #9eb3c0;font-weight:600;color:#0b4964}
.tool-tabs a:hover{background:#eaf1f5}
.roof-builder{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;background:#f1f4f5;border:1px solid #c5d5df;padding:30px;margin-top:25px}
.roof-builder h3{font-size:1.8rem;margin-bottom:18px}
.roof-preview{background:linear-gradient(#d5e8f1,#f8fafb);border:1px solid #c5d5df;padding:18px;position:sticky;top:150px}
.roof-preview svg{width:100%;height:auto;display:block}
.roof-preview figcaption{font-size:.85rem;line-height:1.5;color:#405f72;margin-top:10px}
.roof-output,.weight-output{display:block;background:#081d2d;color:#fff;padding:20px;line-height:1.6;margin-top:18px}
.roof-output strong,.weight-output strong{font-family:var(--display);font-size:2rem;font-weight:600;display:block}
.swatch-choices{display:flex;flex-wrap:wrap;gap:9px;margin-block:12px}
.swatch-choices button{width:37px;height:37px;background:var(--swatch);border:2px solid #8ba2b1;cursor:pointer;box-shadow:inset 0 0 0 2px #fff}
.swatch-choices button[aria-pressed=true]{outline:2px solid #0875a3;outline-offset:2px}
.import-review{margin-top:20px;max-height:500px;overflow:auto}
.import-row{border-top:1px solid #c5d5df;padding:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.import-row label:first-child,.import-row .import-original{grid-column:1/-1}
.quote-receipt{border:1px solid #73aa89;background:#f0f8f2;padding:24px;margin-top:25px}
.quote-receipt h3{color:#164d33}
.privacy-banner{position:fixed;z-index:90;bottom:24px;left:24px;width:min(420px,calc(100% - 48px));padding:20px;background:#fff;border:1px solid #9eb3c0;box-shadow:0 8px 30px #081d2d22;line-height:1.5;font-size:.875rem}
.privacy-banner strong{display:block;margin-bottom:8px}
.privacy-banner .tool-actions{margin-top:12px;gap:8px}
.privacy-banner .tool-btn{font-size:.8rem;min-height:38px;padding:8px 12px}
.footer-tools{border-top:1px solid #345164;margin-top:28px;padding-top:22px;display:flex;gap:18px;flex-wrap:wrap;font-size:.875rem;color:#c7dce8}
.footer-tools button{font:inherit;background:none;border:0;color:inherit;cursor:pointer;padding:0;text-decoration:underline}
.company-info{margin-top:22px;border-top:1px solid #c5d5df;padding-top:20px;line-height:1.6}
.company-info p{margin-block:8px;font-size:.9rem}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.gallery-grid figure{margin:0;border:1px solid #c5d5df;background:#fff}
.gallery-grid img{width:100%;height:250px;object-fit:cover}
.gallery-grid figcaption{padding:18px;line-height:1.5}
.testimonial{border-left:3px solid #0875a3;background:#f1f4f5;padding:22px;margin:0;line-height:1.7}
.testimonial cite{font-style:normal;font-weight:600;display:block;margin-top:12px}
.order-card{border:1px solid #c5d5df;padding:24px;margin-bottom:20px;background:#fff}
.order-head{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:15px}
.order-head h3{font-size:1.5rem;margin:0}
.status-badge{background:#eaf1f5;color:#0b4964;padding:7px 10px;font-size:.8rem;font-weight:600}
.order-card ul{padding-left:20px;line-height:1.7;margin-top:16px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:28px}
.metric{background:#081d2d;color:#fff;padding:22px}
.metric strong{font-family:var(--display);font-size:2.6rem;display:block;color:#4cc3ef;line-height:1.1}
.metric span{display:block;font-size:.85rem;margin-top:10px}
.admin-filters{display:grid;grid-template-columns:1fr 230px;gap:16px;margin-bottom:22px}
.admin-card{border-left:4px solid #0875a3}
.admin-card.overdue{border-left-color:#ad3e28}
.admin-card .customer-details{line-height:1.7;color:#405f72;overflow-wrap:anywhere}
.admin-card details{margin-top:18px;border-top:1px solid #c5d5df;padding-top:16px}
.admin-card summary{cursor:pointer;color:#0875a3;font-weight:600}
.admin-form{margin-top:18px}
.admin-photo{display:flex;gap:18px;align-items:center;padding:15px 0;border-top:1px solid #c5d5df}
.admin-photo img{width:100px;height:75px;object-fit:cover}
.admin-photo div{flex:1}.admin-photo button{margin-left:auto}
.admin-metrics-list{line-height:1.8;padding-left:20px}
.quote-list-cta{display:flex;flex-wrap:wrap;gap:16px;align-items:center;border-left:3px solid #0875a3;background:#eaf1f5;padding:22px;margin-top:24px}
.quote-list-cta p{flex:1;min-width:200px;font-size:1rem;line-height:1.5}
.toast{position:fixed;top:20px;left:50%;transform:translateX(-50%);background:#081d2d;color:#fff;border-left:4px solid #4cc3ef;padding:16px 22px;z-index:100;max-width:calc(100% - 36px);box-shadow:0 8px 30px #081d2d22;font-size:.95rem}
.quick-actions .quick-list{display:flex;align-items:center;gap:9px;color:#081d2d;background:#fff;border:1px solid #0875a3;padding:13px 16px;font-weight:600;font-size:.9rem}
.quick-actions .quick-products{display:none!important}
.print-summary{display:none}
@media(max-width:1000px){.tool-layout{grid-template-columns:1fr}.direct-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.utility-inner{gap:18px}.utility-inner a:first-child{margin-right:0}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.utility-inner{gap:10px 18px;font-size:.8rem;padding-block:10px}.tool-main{padding-block:28px 70px}.tool-hero{padding-block:35px}.tool-panel{padding:21px}.field-grid,.roof-builder,.gallery-grid{grid-template-columns:1fr}.roof-builder{padding:20px;gap:24px}.roof-preview{position:static}.direct-grid{grid-template-columns:1fr}.direct-product{display:grid;grid-template-columns:105px 1fr}.direct-product img{height:100%;min-height:160px}.direct-product-body{padding:18px}.direct-product h3{font-size:1.5rem}.direct-product p{font-size:.85rem}.cart-item-fields{grid-template-columns:1fr 1fr}.admin-filters{grid-template-columns:1fr}.privacy-banner{bottom:78px;left:16px;width:calc(100% - 32px)}.quick-actions .quick-list{flex:1;justify-content:center;padding:12px;font-size:.8rem}.gallery-grid img{height:210px}.tool-actions .tool-btn{flex:1}.tool-actions .tool-link{flex:none}.utility-inner .admin-only{margin-left:auto}}
@media print{.topbar,.site-header,.utility-bar,footer,.quick-actions,.privacy-banner,.toast,.no-print{display:none!important}.tool-main{padding:0}.tool-panel,.order-card{break-inside:avoid}.tool-layout{display:block}.print-summary{display:block}.container{width:100%}.tool-btn,.tool-link{display:none!important}}

/* Quote entry and quick contact share one column in the home grid. */
.quote-workspace{min-width:0;display:grid;gap:24px}
.quote-builder-card{background:var(--navy);color:#fff;border-top:4px solid var(--sky);padding:32px}
.quote-builder-top{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.quote-builder-card .eyebrow{color:var(--sky);margin:0}
.quote-builder-count{color:#c7dce8;font-size:.8125rem;border:1px solid #426176;padding:7px 10px}
.quote-builder-count [data-cart-count]{font-weight:700;color:#fff}
.quote-builder-card h3{font-family:var(--display);font-size:clamp(2.3rem,3.5vw,3.3rem);font-weight:600;line-height:1.04;margin:0 0 18px}
.quote-builder-card>p:not(.quote-builder-footnote){color:#c7dce8;font-size:1rem;line-height:1.65;max-width:480px}
.quote-builder-options{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0 28px;padding-block:23px;border-block:1px solid #345164}
.quote-builder-options svg{width:25px;height:25px;display:block;color:var(--sky);margin-bottom:13px}
.quote-builder-options strong{display:block;font-size:.9375rem;margin-bottom:8px}
.quote-builder-options span{display:block;font-size:.875rem;line-height:1.55;color:#bdd0db}
.quote-builder-card .quote-builder-button{display:flex;width:100%;justify-content:space-between;gap:20px;line-height:1.45;padding:17px 20px}
.quote-builder-footnote{font-size:.8125rem;line-height:1.6;color:#bdd0db;margin-top:16px}
.quote-workspace .quote-form{margin:0}
.quote-workspace .form-top h3{font-size:2rem}
.utility-inner .utility-founder{color:#0875a3;border-bottom:1px solid #75a8bf}
.founder-feature{background:#fff;border-block:1px solid var(--line)}
.founder-feature-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:72px;align-items:center}
.founder-feature-photo{max-width:340px;margin:0;border-bottom:4px solid var(--sky);box-shadow:0 16px 35px #081d2d14}
.founder-feature-photo img{display:block;width:100%;height:auto}
.founder-feature-copy .eyebrow{color:var(--blue);margin-bottom:20px}
.founder-feature-copy h2{font-size:clamp(2.6rem,4vw,4rem);line-height:1.08}
.founder-feature-copy .founder-feature-subtitle{font-family:var(--display);font-size:clamp(1.9rem,2.7vw,2.5rem);line-height:1.15;color:var(--blue);font-weight:500;margin-top:19px}
.founder-feature-copy>p:not(.eyebrow):not(.founder-feature-subtitle){font-size:1.0625rem;line-height:1.75;color:var(--muted);max-width:650px;margin-top:20px}
.founder-feature-actions{display:flex;gap:20px 26px;align-items:center;flex-wrap:wrap;margin-top:29px}
.founder-feature-actions .button{line-height:1.4;gap:24px}
.founder-feature-resources{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:27px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:.8125rem}
@media(max-width:1000px){.founder-feature-grid{gap:42px;grid-template-columns:.8fr 1.2fr}.quote-builder-card{padding:26px}.quote-builder-options{gap:18px}}
@media(max-width:700px){.founder-feature-grid{grid-template-columns:1fr;gap:32px}.founder-feature-photo{max-width:290px}.founder-feature-copy h2{font-size:2.85rem}.founder-feature-actions{align-items:flex-start;flex-direction:column;gap:20px}.quote-builder-card{padding:25px 21px}.quote-builder-top{gap:14px}.quote-builder-options{gap:20px}.quote-builder-card .quote-builder-button{font-size:.9375rem;padding-inline:16px}.quote-workspace{gap:22px}}
@media(max-width:380px){.quote-builder-options{grid-template-columns:1fr;gap:20px}.quote-builder-options>div{display:grid;grid-template-columns:28px 1fr;column-gap:12px}.quote-builder-options svg{grid-row:1/3;margin:0}.quote-builder-options strong,.quote-builder-options span{grid-column:2}}

.quote-context{margin:0;padding:16px;min-width:0;border:1px solid var(--line);border-radius:12px;display:grid;gap:14px}
.quote-context legend{padding-inline:6px;font-weight:700;color:#17435c}
.quote-context .field-grid{gap:12px}
.quote-send{margin-top:4px}
.quote-send [aria-disabled=true]{opacity:.65;cursor:default}

.direct-product-body:only-child{grid-column:1/-1}


/* ===== buyer.css ===== */
/* Buyer navigation and supporting tools keep the approved industrial identity. */
.topbar-more{display:none!important}
.utility-inner{display:flex;justify-content:space-between;gap:16px;position:relative;padding-block:4px;min-height:48px}
.utility-inner>a:first-child{grid-column:auto;margin:0}
.buyer-tools{position:relative;margin-left:auto}
.buyer-tools>summary{display:flex;gap:16px;align-items:center;min-height:40px;font-size:.875rem;color:#0b4964;padding:8px 0;font-weight:600}
.buyer-tools-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:min(300px,calc(100vw - 32px));padding:12px 18px;background:white;border:1px solid #9eb3c0;box-shadow:0 10px 30px #081d2d26;display:grid;gap:4px;max-height:65dvh;overflow-y:auto}
.utility-inner .buyer-tools-menu a{margin:0;min-height:44px;padding:8px 4px;border-bottom:1px solid var(--line);font-size:.9375rem}
.utility-inner .buyer-tools-menu a:last-child{border-bottom:0}
.buyer-shortcuts{width:min(1240px,calc(100% - 2 * var(--page-gutter)));margin:30px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
@media(max-width:1100px){.buyer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
.buyer-shortcuts>a{padding:23px;border:1px solid var(--line);border-left:3px solid var(--blue);background:var(--paper);display:flex;flex-direction:column;gap:10px;min-width:0}
.buyer-shortcuts>a>span{font-size:0.75rem;letter-spacing:.08em;font-weight:700;color:var(--blue)}
.buyer-shortcuts strong{font-family:var(--display);font-size:1.55rem;font-weight:600;line-height:1.2}
.buyer-shortcuts a:hover,.document-link:hover{background:#e6f1f7;border-color:var(--blue)}
.quick-contact{background:white;border:1px solid #c5d5df}
.quick-contact>summary{padding:22px 25px;color:var(--blue);font-weight:600;line-height:1.5;display:flex;gap:16px;align-items:center;justify-content:space-between}
.quick-contact>summary:after{content:'+';font-size:1.5rem}
.quick-contact[open]>summary:after{content:'−'}
.quick-contact .quote-form{border:0;border-top:1px solid var(--line);box-shadow:none}
.buyer-support{padding-block:36px 50px;border-top:1px solid var(--line)}
.quote-progress{padding:0;margin:0 0 26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none}
.quote-progress a{display:flex;align-items:center;gap:12px;min-height:60px;padding:14px;background:#eaf1f5;line-height:1.4;font-weight:600}
.quote-progress b{display:grid;place-items:center;background:var(--blue);color:white;width:30px;height:30px;flex:none}
.checkout-summary{padding:18px;background:var(--paper);line-height:1.6;margin-bottom:24px;border-left:3px solid var(--blue)}
.checkout-summary ul,[data-buyer-cart-summary] ul{padding-left:20px;font-size:.9rem;line-height:1.7;margin:10px 0 0}
[data-continue-checkout][aria-disabled=true]{opacity:.65}
.quote-receipt{scroll-margin-top:calc(var(--header-height) + 20px)}
.receipt-stages{list-style:none;padding:0;margin:18px 0;display:grid;gap:16px}
.receipt-stages strong,.receipt-stages span{display:block;line-height:1.6}
.receipt-stages span{font-size:.9375rem;color:var(--muted)}
.document-featured,.contact-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.document-link{padding:22px;border:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;line-height:1.5}
.document-link strong{font-family:var(--display);font-size:1.6rem;font-weight:600;line-height:1.2}
.document-link>span:last-child{font-size:.9rem;color:var(--muted)}
.compare-choices{display:flex;flex-wrap:wrap;gap:16px 24px;margin:25px 0;padding:20px;border:1px solid var(--line)}
.compare-choices legend{font-weight:600;padding-inline:8px}
.compare-choices label{display:flex;gap:10px;align-items:center;min-height:40px}
.compare-choices input{width:20px;height:20px;accent-color:var(--blue)}
.compare-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-block:26px}
.compare-card{padding:24px;background:var(--paper);border-top:3px solid var(--blue);min-width:0}
.compare-card h3{font-family:var(--display);font-size:1.9rem;font-weight:600;margin:0 0 18px;line-height:1.15}
.compare-card img{display:block;width:100%;height:100px;object-fit:contain;background:white;margin-block:20px}
.compare-card p{font-size:.95rem;color:var(--muted);margin-block:16px}
.compare-card dl{margin:0 0 22px}.compare-card dl>div{padding:12px 0;border-bottom:1px solid #c5d5df}
.compare-card dt{font-size:.8125rem;color:var(--muted);line-height:1.5}.compare-card dd{font-weight:600;margin:5px 0 0;line-height:1.5}
.guide-checklist{padding:20px;background:#eaf1f5;border-left:3px solid var(--blue);line-height:1.6}
.guide-checklist ul{padding-left:20px;margin-block:14px;font-size:.9375rem}
.buyer-step-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding-left:22px;line-height:1.6}
.buyer-step-list span{display:block;color:var(--muted);margin-top:8px}
.contact-page-links{display:grid;gap:12px;margin-top:25px}
.contact-page-links a{border:1px solid var(--line);padding:17px;background:var(--paper);line-height:1.5}
.contact-page-links span{display:block;font-size:.875rem;color:var(--muted)}
.contact-page-links strong{display:block;font-size:1.25rem;color:var(--blue);margin-top:6px}
.tool-panel .contact-subtitle{font-family:var(--font);font-size:1rem;margin:24px 0 10px}
.unit-detail{margin-top:24px;border-top:1px solid var(--line);padding-top:24px;min-width:0}
.unit-detail .tool-link{display:inline-block;margin-top:15px}
.prepared-message{padding:22px;background:#eaf1f5;border-left:3px solid var(--blue);line-height:1.6}
.prepared-message p{margin-block:10px 20px}
.setup-checklist{padding:20px;background:#f1f4f5;border-left:3px solid var(--blue);margin-block:20px;line-height:1.7}
.setup-checklist ul{padding-left:22px;margin:10px 0}.setup-checklist>p{font-size:.9rem;color:var(--muted)}
ul.setup-checklist{padding-left:40px}
.company-preview{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.company-preview summary{color:var(--blue);font-weight:600;line-height:1.5}
.company-preview .tool-note p{margin-block:14px}
.performance-panel{margin-top:28px;padding-top:26px;border-top:1px solid var(--line)}
.performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.performance-reading{background:var(--paper);padding:20px;border:1px solid var(--line)}
.performance-reading strong{display:block;font-family:var(--display);font-size:2rem;font-weight:600;margin-block:12px}.performance-reading small{display:block;color:var(--muted);line-height:1.5}
@media(max-width:1000px){.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-grid{gap:14px}.compare-card{padding:20px}}
@media(max-width:760px){.buyer-shortcuts,.compare-grid,.document-featured,.contact-page-grid,.buyer-step-list{grid-template-columns:minmax(0,1fr)}.buyer-shortcuts>a{padding:22px}.quote-progress{gap:8px}.quote-progress a{flex-direction:column;align-items:flex-start;gap:10px;font-size:.8125rem;padding:13px 10px}.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-card img{height:120px}.experience-invite{margin-bottom:50px}.utility-inner{display:flex;gap:12px}.utility-inner a:first-child{grid-column:auto}.performance-grid{grid-template-columns:1fr}.buyer-step-list{gap:20px}}
@media(max-width:600px){.contact-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:5px}.contact-top>a:not(:first-child):not(.topbar-more){display:none}.contact-top>a:first-child{padding:4px 0;min-height:40px}.contact-top .contact-link-content{flex-direction:column;gap:2px}.contact-top .contact-link-content strong{font-size:.875rem}.contact-top .contact-link-content>span{font-size:0.75rem}.contact-top .topbar-more{display:block!important;font-size:.75rem;line-height:1.4;color:var(--sky);padding:9px 0;border:0;min-height:40px;max-width:105px;text-align:right}.document-grid{grid-template-columns:minmax(0,1fr)}.buyer-tools>summary{font-size:.8125rem}.compare-choices{gap:8px 18px;padding:15px}.compare-choices label{font-size:.9375rem}}
@media print{.buyer-tools,.buyer-support,.buyer-shortcuts,.quote-progress,.experience-invite,.prepared-message .tool-btn{display:none}.compare-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.compare-card{break-inside:avoid}.compare-choices{display:none}}

.privacy-banner .tool-btn{flex:1 1 110px;padding-inline:10px}
@media(max-width:600px){.contact-top>a.topbar-more:last-child{border:0;grid-column:auto;padding:9px 0}}

.compare-drawing { display: grid; gap: .4rem; text-align: center; margin-block: .85rem 1rem; color: #095d80; font-weight: 700; }
.compare-card .compare-drawing img { margin: 0; border: 1px solid #b8d4e0; border-radius: 7px; height: clamp(100px, 13vw, 170px); }
.compare-drawing:hover img { border-color: #0873a0; }
.compare-drawing:hover span { text-decoration: underline; }
.compare-drawing:focus-visible { outline: 3px solid #0873a0; outline-offset: 4px; }
.roof-drawing-dialog { width: min(calc(100vw - 2rem), 1100px); max-height: 90dvh; padding: clamp(.75rem, 3vw, 1.5rem); margin: auto; color: #15394f; background: #fff; border: 1px solid #a8c4d5; border-radius: 12px; }
.roof-drawing-dialog::backdrop { background: #041e31b8; }
.roof-drawing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.roof-drawing-head h2 { font-size: clamp(1.2rem, 3vw, 2rem); }
.roof-drawing-view { overflow: auto; border: 1px solid #cfdee7; border-radius: 7px; background: white; }
.roof-drawing-view img { display: block; width: 100%; height: auto; max-width: none; }
.roof-drawing-view.is-zoomed img { width: max(165%, 720px); }
.roof-drawing-zoom { margin-top: .7rem; }


/* ===== notice.css ===== */
.site-notice{background:#ffe3a0;color:#172e3d;border-bottom:1px solid #b18124}.site-notice.notice-info{background:#dceef7;border-color:#81b4cc}.site-notice-inner{display:flex;gap:20px;align-items:center;justify-content:space-between;padding-block:12px;line-height:1.5}.site-notice strong{font-size:.95rem;overflow-wrap:anywhere}.site-notice button{background:transparent;color:#102f43;border:1px solid #385b70;font:inherit;font-weight:600;font-size:.85rem;min-height:40px;padding:7px 15px;flex-shrink:0;cursor:pointer}.notice-dialog{width:min(650px,calc(100vw - 32px));padding:0;border:0;box-shadow:0 20px 80px #081d2d66;color:#172e3d;background:white;max-height:85dvh;overflow:auto}.notice-dialog::backdrop{background:#081d2db3}.notice-dialog-content{padding:32px;border-top:6px solid #c78d20}.notice-dialog.notice-info .notice-dialog-content{border-top-color:#087aa2}.notice-dialog-head{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:22px}.notice-dialog-head .eyebrow{margin:0;color:#486377}.notice-close{font:inherit;font-size:.85rem;color:#234a60;background:transparent;border:1px solid #b9cbd5;min-height:40px;padding:8px 12px;cursor:pointer}.notice-dialog h2{font-family:var(--display,sans-serif);font-size:clamp(1.9rem,6vw,2.6rem);line-height:1.12;margin:0 0 22px;overflow-wrap:anywhere}.notice-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;margin-bottom:28px}.notice-dialog .button{background:#08749c;color:white;border:1px solid #08749c;min-height:46px}.notice-dialog .button:hover{background:#082f45;color:white}.notice-admin-state{padding:15px 20px;border-left:3px solid var(--blue);background:var(--paper);line-height:1.6;margin-block:20px}.notice-admin-state[data-enabled=true]{background:#fff2d4;border-left-color:#c78d20}
@media(max-width:600px){.site-notice-inner{gap:12px;padding-block:10px}.site-notice strong{font-size:.8rem}.site-notice button{font-size:.8rem;padding-inline:10px}.notice-dialog-content{padding:23px}.notice-dialog-head{align-items:flex-start}.notice-dialog-head .eyebrow{font-size:0.75rem}.notice-message{font-size:.95rem}.notice-dialog .button{width:100%;justify-content:center}}
.health-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
.health-list li{display:grid;gap:3px;padding:12px 18px;border-left:3px solid #2e7d4f;background:var(--paper);line-height:1.5}
.health-list li[data-ok=false]{border-left-color:#c78d20;background:#fff2d4}


/* ===== sales.css ===== */
.sales-main{padding-block:40px 70px}.sales-panel{padding:28px;border:1px solid var(--line);background:#fff;margin-block:22px;min-width:0}.sales-panel h2{font-size:clamp(1.9rem,3vw,2.6rem);margin-bottom:18px;line-height:1.15}.sales-panel h3{font-size:1.5rem;margin-bottom:12px}.sales-panel p{margin-block:10px;line-height:1.7}.sales-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.sales-grid>*{min-width:0}.sales-options{display:flex;flex-wrap:wrap;gap:12px;margin-block:22px}.sales-options a{padding:14px 18px;border:1px solid #a9c4d3;background:#f0f6f9;color:#103f58;font-weight:600;min-height:46px;display:inline-flex;align-items:center;line-height:1.4}.sales-crumbs{font-size:.8rem;padding:16px 0;line-height:1.8;color:#456473}.sales-crumbs a{text-decoration:underline;text-underline-offset:3px}.structured-spec{margin:20px 0;padding:20px;border:1px solid #bdcfda;background:#f1f6f8}.structured-spec legend{font-weight:600;padding:0 7px}.structured-spec .field-grid{gap:16px}.structured-spec .field{margin:0}.sales-summary{background:#eaf3f7;border-left:3px solid #087eaf;padding:20px;margin-block:20px;line-height:1.7;overflow-wrap:anywhere}.sales-summary strong{display:block;margin-bottom:8px}.sales-document{padding:18px;border:1px solid #cbdae3;display:flex;flex-direction:column;gap:10px;min-width:0}.sales-document small{color:var(--muted);line-height:1.6;overflow-wrap:anywhere}.sales-timeline{list-style:none;padding:0;margin:20px 0}.sales-timeline li{padding:17px 20px;border-left:3px solid #9cbecf;background:#f4f8fa;margin-bottom:10px;line-height:1.6}.sales-timeline time{display:block;color:var(--muted);font-size:.8rem}.sales-timeline strong{display:block;margin-block:7px}.sales-private-note{padding:18px;background:#fff2d4;color:#4c3a14;font-size:.9rem;line-height:1.6}.sales-hidden-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.sales-item{border:1px solid #cbdbe4;padding:20px;margin-block:16px}.sales-item .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-table{width:100%;border-collapse:collapse;font-size:.9rem}.sales-table th,.sales-table td{padding:13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;line-height:1.6}.sales-table th{background:#eaf2f6}.sales-result{font-size:1.8rem;font-weight:600;color:#103f58;margin-block:20px;line-height:1.3;overflow-wrap:anywhere}.sales-result small{display:block;font-size:.86rem;color:var(--muted);font-weight:400;margin-top:12px;line-height:1.6}.sales-error{color:#a22b22!important}.sales-message{margin-block:16px;line-height:1.7}.sales-checklist{padding-left:23px;line-height:1.75}.sales-checklist li{margin-bottom:12px}.sales-link-entry{max-width:740px}.sales-link-entry input{font-size:1rem}.sales-tools>section{scroll-margin-top:calc(var(--header-height) + 20px)}.sales-tools .tool-form{margin-top:20px}.sales-news-note{background:#eaf2f6;padding:20px;margin-block:20px;line-height:1.7}.sales-readiness li{padding:12px 0;border-bottom:1px solid var(--line);line-height:1.7}.sales-readiness .ready{color:#165536}.sales-readiness .pending{color:#825500}.sales-inline-help{font-size:.86rem;line-height:1.65;margin-top:12px;color:var(--muted)}.sales-home-actions{display:flex;gap:18px;flex-wrap:wrap;align-items:center}.sales-home-actions a{min-height:44px;display:inline-flex;align-items:center}.steel-home .steel-home-grid>a{padding:20px;gap:15px}.steel-home .steel-home-grid strong{font-size:1.7rem}.market-home .market-indicator{padding:20px}.market-home .market-value{font-size:2.3rem}.market-home .market-news-card{padding:20px}.market-home .market-news-card h3{font-size:1.35rem;margin:12px 0 18px}.document-meta{font-size:.78rem!important;display:block;color:#536974;line-height:1.5;margin-top:8px}.notification-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:#eaf3f7;color:#103f58;font-weight:600}.label-print{background:white;border:2px solid #103f58;padding:26px;margin-top:24px}.label-print svg{max-width:180px}.label-print h3{font-size:2rem}.sales-public-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.sales-public-facts>div{padding:20px;background:#f0f6f9;min-width:0}.sales-public-facts strong{display:block;margin-bottom:12px}.sales-feedback{padding:18px;background:#edf4f7;border-left:3px solid #087eaf;margin-top:20px}.sales-feedback button{margin-top:10px}.sales-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.sales-kpis>div{padding:18px;background:#edf4f7;min-width:0}.sales-kpis strong{font-size:1.7rem;display:block;margin-bottom:10px}.sales-kpis small{line-height:1.5;display:block}.sales-source-note{font-size:.8rem;color:var(--muted);line-height:1.7}
@media(max-width:850px){.sales-public-facts{grid-template-columns:1fr}.sales-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sales-main{padding-block:25px 50px}.sales-panel{padding:23px 18px}.structured-spec{padding:18px 14px}.sales-item{padding:18px 14px}.sales-item .field-grid{grid-template-columns:1fr}.sales-table th,.sales-table td{padding:10px;font-size:.85rem}.sales-home-actions{align-items:stretch;flex-direction:column;gap:12px}.sales-options a{flex:1 1 150px}.market-home .market-news{gap:12px}.market-home .market-news-card{padding:18px}.market-home .market-news-card h3{font-size:1.25rem}.sales-link-entry .tool-actions{flex-direction:column;align-items:stretch}.sales-kpis{grid-template-columns:1fr}}
@media print{body:has(.label-print:not([hidden])) header,body:has(.label-print:not([hidden])) .sales-main>*:not(.label-print){display:none}.label-print{break-inside:avoid}.sales-main{padding:0}.sales-options,.sales-crumbs{display:none}}
.sales-faq{border-bottom:1px solid #cbdbe4;padding:18px 0}.sales-faq summary{font-weight:600;line-height:1.6;cursor:pointer}.sales-faq p{max-width:85ch}.checkout-context{padding:18px 0;border-block:1px solid #cbdbe4}.checkout-context summary{font-weight:600;cursor:pointer;line-height:1.6}.checkout-context .field-grid{grid-template-columns:1fr}.sales-panel details>summary{line-height:1.6;cursor:pointer}.sales-panel details .tool-note{margin-block:16px}.sales-panel:target{scroll-margin-top:calc(var(--header-height) + 20px)}
@media print{body.printing-label>*{display:none!important}body.printing-label main,body.printing-label main>.sales-main,body.printing-label #operations-app,body.printing-label #label-preview{display:block!important}body.printing-label main>*,body.printing-label .sales-main>*,body.printing-label #operations-app>*{display:none!important}body.printing-label #label-preview button{display:none!important}}
.check-line{display:flex;align-items:flex-start;gap:10px;line-height:1.6;margin-block:18px}.check-line input{flex:none;margin-top:5px}#confirm-spec .tool-btn{display:block;margin-top:18px}.structured-spec{min-inline-size:0}.structured-spec input,.structured-spec select{min-width:0}

.spec-extra {margin-top: 12px;}
.spec-extra summary {color: #0b4964; font-weight: 600; cursor: pointer; padding: 8px 0;}
.spec-extra > .field, .spec-extra > .field-grid {margin-top: 10px;}

.attention-tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;padding:0;list-style:none}
.attention-tags li{background:#e9f5f7;color:#17435c;border:1px solid #bfdce3;border-radius:20px;padding:3px 10px;font-size:.83rem;font-weight:700}
.response-tools textarea{width:100%;min-height:14rem}
.order-help{margin-block:12px 18px}
.order-help .tool-actions{margin-block:10px 0}


/* ===== responsive.css ===== */
/* Shared responsive rules: retain content order, brand and technical diagrams. */
:root {
  --page-gutter: clamp(16px, 3.5vw, 48px);
  --header-height: 120px;
  --quick-actions-height: 68px;
}
html {
  scroll-padding-top: calc(var(--header-height) + 16px);
  scroll-padding-bottom: calc(var(--quick-actions-height) + 20px);
  -webkit-text-size-adjust: 100%;
}
.container, .footer-tools {
  width: min(1240px, calc(100% - max(var(--page-gutter), env(safe-area-inset-left)) - max(var(--page-gutter), env(safe-area-inset-right))));
  margin-inline: auto;
}
:where(h1, h2, h3, p, a, li, label, figcaption, address, output) { overflow-wrap: anywhere; }
:where(input, select, textarea, button) { max-width: 100%; min-width: 0; }
:where(input, select, textarea):focus { scroll-margin-block: 20px; }
:where(img, video, iframe) { max-width: 100%; }
:where(.hero-inner, .product-grid, .service-grid, .about-grid, .quote-layout, .faq-layout,
  .founder-feature-grid, .purpose-hero-grid, .purpose-story-grid, .values-heading,
  .closing-grid, .direction-grid, .values-grid, .material-hero-grid, .format-grid,
  .measure-grid, .application-grid, .book-layout, .legacy-layout, .video-layout,
  .story-layout, .tool-layout, .field-grid, .cart-item-fields, .roof-builder,
  .direct-grid, .metric-grid, .admin-filters) > * { min-width: 0; }
.section { padding-block: clamp(48px, 6.8vw, 98px); }
.site-header .header-inner { min-height: clamp(84px, 8.3vw, 120px); }
.site-header .header-inner .brand-real {
  width: clamp(176px, 22vw, 260px);
  height: auto;
  aspect-ratio: 2.5;
  max-width: calc(100vw - 112px);
}
.footer-brand .brand-real { max-width: 100%; }
.footer-top > * { min-width: 0; }
.footer-tools { align-items: center; line-height: 1.6; }
.footer-tools a, .footer-tools button { min-height: 32px; display: inline-flex; align-items: center; text-align: start; }
.utility-inner a { min-height: 40px; line-height: 1.4; }
.utility-inner .cart-count, .quick-actions .cart-count { flex: none; }
.roof-preview { margin: 0; top: calc(var(--header-height) + 20px); }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; }
.catalog-page .table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll-hint { margin: 16px 0 8px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.table-scroll:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.file-tag, .button > svg, .text-link > svg { flex: none; }
.swatch-choices { gap: 12px; }
.swatch-choices button { width: 44px; height: 44px; }
.privacy-banner {
  bottom: calc(var(--quick-actions-height) + 16px);
  max-height: calc(100vh - var(--quick-actions-height) - 40px);
  max-height: calc(100dvh - var(--quick-actions-height) - 40px);
  overflow-y: auto;
}
.quick-actions { max-width: calc(100% - 32px); }
.quick-actions a { min-width: 0; }
.quick-actions .contact-link-content { min-width: 0; }
.toast { max-height: calc(100dvh - 40px); overflow-y: auto; }

@media (max-width: 1024px) {
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 46px; height: 46px; padding: 11px; background: transparent;
    border: 1px solid #7a929f; cursor: pointer; flex: none; color: white;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-header .header-inner nav {
    display: none; position: absolute; inset: 100% 0 auto;
    padding: 12px max(var(--page-gutter), env(safe-area-inset-left)) 24px;
    background: var(--navy); color: white; border-bottom: 1px solid #426176;
    max-height: calc(100vh - var(--header-height) - 8px);
    max-height: calc(100dvh - var(--header-height) - 8px);
    overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 12px 18px #081d2d26;
  }
  .site-header .header-inner nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header-inner nav > a:not(.button) { padding: 14px 4px; min-height: 48px; font-size: 1rem; border-bottom: 1px solid #345164; }
  .header-inner .button-small { margin-top: 18px; font-size: 1rem; min-height: 48px; }
}
@media (max-width: 960px) {
  .quote-layout, .faq-layout, .about-grid, .purpose-hero-grid, .purpose-story-grid,
  .values-heading, .closing-grid, .material-hero-grid, .application-grid {
    grid-template-columns: minmax(0, 1fr); gap: 34px;
  }
  .quote-intro > p:not(.eyebrow), .project-note { max-width: 640px; }
  .founder-feature-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; }
  .purpose-hero-copy > p:not(.eyebrow) { max-width: 640px; }
  .purpose-photo { max-width: 600px; }
  .material-hero-grid > figure { max-width: 680px; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 760px) {
  .hero-inner, .founder-feature-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { gap: 32px; }
  .hero h1 { font-size: clamp(3.15rem, calc(2.2rem + 5vw), 5rem); }
  .hero-actions { flex-wrap: wrap; }
  .founder-feature-photo { width: min(100%, 320px); max-width: 100%; }
  .purpose-hero h1, .material-hero h1, .catalog-page .material-hero h1,
  .service-detail-page .material-hero h1, .tool-hero h1 {
    font-size: clamp(2.5rem, calc(1.7rem + 4.5vw), 3.8rem);
  }
  .quote-intro h2, .faq-layout h2, .founder-feature-copy h2, .about-copy h2,
  .purpose-closing h2, .service-intro h2, .locations h2 {
    font-size: clamp(2.15rem, calc(1.6rem + 3vw), 3.3rem);
  }
  .product-card h3 { font-size: clamp(2rem, calc(1.5rem + 2.4vw), 2.5rem); }
  .quote-builder-card h3 { font-size: clamp(2rem, calc(1.4rem + 3.2vw), 3rem); }
  .founder-feature-actions { gap: 18px; }
  .quick-actions {
    max-width: none; bottom: 0; inset-inline: 0;
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
    padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
  .quick-actions a, .quick-actions .quick-list, .quick-actions .quick-quote {
    font-size: clamp(.8125rem, 2.8vw, 1rem); min-height: 56px; padding: 12px 10px; gap: 8px;
  }
  .quick-quote .contact-link-content { display: inline; line-height: 1.35; }
  footer { padding-bottom: calc(var(--quick-actions-height) + 28px); }
  .privacy-banner { left: 16px; width: calc(100% - 32px); bottom: calc(var(--quick-actions-height) + 12px); }
}
@media (max-width: 600px) {
  .utility-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; padding-block: 8px; }
  .utility-inner a:first-child { grid-column: 1 / -1; margin: 0; }
  .utility-inner .admin-only { margin: 0; }
  .form-row, .field-grid, .roof-builder, .roof-overlaps { grid-template-columns: minmax(0, 1fr); }
  .form-row { gap: 0; }
  .tool-panel { padding: 22px 18px; }
  .tool-actions .tool-btn { flex: 1 1 150px; }
  .direct-product { grid-template-columns: 80px minmax(0, 1fr); }
  .direct-product-body { padding: 16px 14px; }
  .direct-product .tool-actions { width: 100%; }
  .catalog-table-panel table:not(.roof-spec-table) { min-width: 34rem; table-layout: auto; }
  .history-block figcaption { flex-wrap: wrap; gap: 16px; }
  .history-block figcaption > p { flex-shrink: 1; }
  .admin-photo { flex-wrap: wrap; gap: 12px; }
  .admin-photo div { flex-basis: calc(100% - 120px); min-width: 0; }
  .metric { padding: 20px 16px; }
}
@media (max-width: 420px) {
  .contact-top { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 5px; }
  .contact-top > a, .contact-top > a:last-child { grid-column: auto; border: 0; border-top: 1px solid #345164; padding: 7px 0; min-height: 38px; }
  .contact-top > a:first-child { border-top: 0; }
  .contact-top .contact-link-content { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; }
  .contact-top .contact-link-content strong { font-size: .9375rem; }
  .contact-top .contact-link-content > span { font-size: .75rem; }
  .hero-lines > div { grid-template-columns: minmax(0, 1fr); }
  .hero-actions, .founder-feature-actions { flex-direction: column; align-items: flex-start; }
  .quote-builder-options { grid-template-columns: minmax(0, 1fr); }
  .quote-builder-card { padding: 24px 18px; }
  .quote-builder-card .quote-builder-button { padding: 15px 14px; gap: 12px; }
  .quote-contact .contact-phone { font-size: 1.7rem; }
  .footer-brand .brand-real { width: min(230px, 100%); }
}
@media (max-height: 500px) and (max-width: 1024px) {
  .site-header .header-inner { min-height: 64px; padding-block: 4px; }
  .site-header .header-inner .brand-real { width: 156px; aspect-ratio: 3; }
  .roof-preview { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .container { width: 100%; }
  .table-scroll { overflow: visible; }
  .table-scroll-hint { display: none; }
  .catalog-table-panel table:not(.roof-spec-table) { min-width: 0; }
}

/* New sections and enlarged text use the same sizing rules as the catalogue. */
:where(.proof-grid,.steel-grid,.steel-home-grid,.steel-home-heading,.market-indicators,
 .market-news,.market-heading,.team-grid,.document-grid,.compare-grid,.performance-grid) > * { min-width:0; }
.proof-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.proof-grid > div { overflow-wrap:anywhere; }
.product-top { flex-wrap:wrap; }
.product-label { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.tool-actions > * { min-width:0; max-width:100%; white-space:normal; }
.tool-actions .tool-link { flex:0 1 auto; }
:where(.button,.tool-btn,.tool-link,.text-link,.market-tag,.steel-stage) { white-space:normal; overflow-wrap:anywhere; }
.button,.tool-btn { text-align:center; line-height:1.4; }
.tool-tabs { max-width:100%; flex-wrap:wrap; }
.tool-tabs > * { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.utility-inner { display:flex; flex-wrap:nowrap; align-items:center; }
.utility-inner > a:first-child { grid-column:auto; }
.buyer-tools { min-width:0; }
.buyer-tools > summary { min-height:44px; }
:where(.steel-home,.market-home,.market-main,.steel-main,.team-main) { min-width:0; }
.market-heading .market-tag { white-space:normal; }
.market-value { overflow-wrap:anywhere; }
.market-widget { min-width:0; }
.market-widget iframe { display:block; width:100%; }
.notice-dialog { max-height:85vh; max-height:85dvh; overscroll-behavior:contain; }
.notice-dialog h2:focus { outline:none; }
.notice-dialog .notice-message { font-size:1rem; }
@media (max-width:960px) {
 .proof-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .proof-grid > div:nth-child(3) { padding-left:0; border-left:0; }
}
@media (max-width:600px) {
 input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea { font-size:1rem; }
 .utility-inner { gap:12px; }
 .tool-actions { align-items:stretch; }
 .tool-actions .tool-btn { min-height:44px; }
 .tool-actions .tool-link { flex:0 1 auto; min-height:44px; display:inline-flex; align-items:center; }
 .market-heading .button,.steel-closing .button { width:100%; }
 .market-status { max-width:100%; }
 .site-notice-inner { align-items:flex-start; }
 .notice-dialog-content { padding:22px 18px; }
}
@media (max-width:340px) {
 .proof-grid > div { padding-inline:0 12px; }
 .proof-grid > div:nth-child(even) { padding-inline:12px 0; }
 .quick-actions .quick-list,.quick-actions .quick-quote { padding-inline:8px; gap:6px; }
 .quick-actions .contact-icon { width:18px; height:18px; }
}
@media (max-height:500px) and (max-width:1024px) {
 .notice-dialog { max-height:calc(100dvh - 24px); }
 .notice-dialog-content { padding:18px; }
 .notice-dialog-head { margin-bottom:14px; }
 .notice-dialog h2 { margin-bottom:14px; }
 .privacy-banner { max-height:calc(100dvh - var(--quick-actions-height) - 24px); }
}

.notice-close { flex:0 0 auto; white-space:nowrap; }

/* Títulos fluem conforme a largura disponível, sem quebras fixas. */
:where(main h1, main h2) { text-wrap: balance; }
.hero h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); }

#previa-telha .roof-profile-preview { margin-top: .25rem; background: #f8fbfc; border-radius: 5px; }
.roof-preview-jump { display: none; }
@media (max-width: 700px) {
  .roof-preview-jump { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 420px) {
  #produtos .catalog-download { grid-template-columns: auto minmax(0, 1fr); }
  .catalog-download-action { grid-column: 2; }
}

#cfv-material-search, #import-text, #list-file, #previa-telha { scroll-margin-top: 0; }

/* Títulos acompanham a largura de cada coluna. */
:where(h1, h2, h3, h4) { text-wrap: balance; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 4.8rem); }
@media (max-width: 420px) {
  .tool-panel h2 { font-size: clamp(1.65rem, 6.6vw, 2.15rem); }
  .catalog-page .material-hero h1, .tool-hero h1, .purpose-hero h1 {
    font-size: clamp(2rem, 7.6vw, 2.5rem);
  }
}
.guide-material { padding: 1rem; border: 1px solid #c3d9e5; background: #eef6fa; }
.guide-material .tool-note { margin: .5rem 0 0; }
.guide-material-results:not(:empty) { display: grid; gap: .35rem; max-height: 17rem; overflow: auto; margin-top: .5rem; }
.guide-material-option {
  padding: .55rem .7rem;
  min-height: 44px;
  border: 1px solid #c3d9e5;
  background: white;
  color: #153b52;
  text-align: left;
  cursor: pointer;
}
.guide-material-option:is(:hover,:focus-visible) { border-color: #0875a3; background: #e7f3f8; }
.guide-material #guide-material-custom { margin-top: .65rem; }

/* Atalhos visíveis durante a rolagem. */
html { scroll-padding-top: calc(var(--header-height) + var(--utility-height, 0px) + 16px); }
.utility-bar { position: sticky; top: var(--header-height); z-index: 19; }
.utility-bar .utility-inner { display: flex; flex-wrap: wrap; gap: 2px 16px; padding-block: 2px; }
.utility-bar .utility-inner > a:first-child, .utility-bar .buyer-tools > summary { min-height: 44px; }
.roof-preview { top: calc(var(--header-height) + var(--utility-height, 0px) + 20px); }
@media print { .utility-bar { position: static; } }

.hero-catalog-link {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .35rem .85rem; margin-top: .7rem;
  border: 1px solid #11779b; border-radius: 5px; color: #075575;
  font-weight: 650; background: #e9f5fb;
}
.hero-catalog-link:hover { background: #d7ecf8; }
.catalog-highlight {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
  gap: clamp(.8rem, 2vw, 1.5rem); padding: clamp(1rem, 3vw, 1.9rem); margin: 0 0 1.6rem;
  background: #0a2b40; color: #fff; border-left: 4px solid #63c6e7; border-radius: 8px;
}
.catalog-highlight > svg { width: 40px; height: 40px; color: #8ad9f0; }
.catalog-highlight h3 { margin: 0; font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.4rem); line-height: 1.08; }
.catalog-highlight p { margin: .3rem 0 0; color: #d1e6ef; }
.catalog-highlight .catalog-pdf-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
  background: #7dd2ec; color: #092a3d; border-radius: 5px; padding: .6rem 1rem; font-weight: 700;
}
.catalog-highlight .catalog-pdf-button:hover { background: #b4e9f8; }
.catalog-highlight .catalog-pdf-button .document-meta { margin: 0; color: inherit; }
footer .footer-utility {
  --footer-button-width: 12.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, var(--footer-button-width)));
  grid-auto-rows: 1fr;
  justify-content: center;
  gap: .5rem;
  padding-block: 1.5rem;
}
footer .footer-utility > .folder-options--footer {
  grid-column: span 2;
  gap: inherit;
}
footer .footer-utility a {
  display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: .45rem;
  min-height: 4.15rem; padding: .3rem .6rem; border: 1px solid #52798c; border-radius: 7px;
  background: #122f41; color: #e9f6fa; text-decoration: none;
}
footer .footer-utility .pdf-badge,
footer .footer-utility .footer-contact-button > svg:last-child { display: none; }
footer .footer-utility a.footer-document-button { background: #c8ebf6; border-color: #96cfe2; color: #0b3045; }
footer .footer-utility a.footer-document-button:hover { background: #e5f8fc; }
footer .footer-utility a:not(.footer-document-button):hover { background: #1b4055; }
footer .footer-utility strong { display: block; font-weight: 700; line-height: 1.2; }
footer .footer-utility a small {
  display: block;
  color: inherit;
  margin: .22rem 0 0;
  font-size: .75rem;
  line-height: 1.25;
  text-wrap: balance;
}
:is(.hero-catalog-link,.catalog-pdf-button,footer .footer-utility a):focus-visible { outline: 3px solid #5ac9ec; outline-offset: 3px; }
.quote-contact-fields { min-width: 0; border: 1px solid #bdd3e0; padding: 1rem; margin: .25rem 0 .6rem; }
.quote-contact-fields legend { padding-inline: .3rem; color: #163c53; font-weight: 700; }
.quote-contact-fields .tool-note { margin: .35rem 0 .7rem; }
@media (max-width: 840px) {
  footer .footer-utility { grid-template-columns: repeat(2, minmax(0, var(--footer-button-width))); }
}
@media (max-width: 480px) {
  footer .footer-utility > a small { display: none; }
}
@media (max-width: 740px) {
  .catalog-highlight { grid-template-columns: auto minmax(0, 1fr); }
  .catalog-highlight .catalog-pdf-button { grid-column: 1/-1; }
}

/* CTA and individual catalogue photography. */
.product-quote-bubble {
  display: inline-flex; align-items: center; gap: .65rem; min-height: 48px; margin-top: .8rem;
  padding: .7rem 1rem; border-radius: 999px; background: #0876a2; color: #fff;
  font-weight: 700; box-shadow: 0 4px 10px #08283d2a;
}
.product-quote-bubble:hover { background: #065c80; }
.product-quote-bubble:focus-visible { outline: 3px solid #1187b8; outline-offset: 3px; }
.product-quote-bubble svg { flex: none; }
.format-grid .product-family-photo { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 1rem; border-radius: 5px; }
.format-grid article[id] { scroll-margin-top: .75rem; }
.material-hero .product-family-photo, .application-grid .product-family-photo { display: block; width: 100%; height: auto; border-radius: 6px; }
.catalog-photo-note { margin-top: .9rem; color: var(--muted); font-size: .85rem; }

.bar-family-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1050px) {
  .bar-family-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .bar-family-grid { grid-template-columns: minmax(0,1fr); }
}

/* Títulos de seção e chamadas compartilham a mesma margem de conteúdo. */
main h1[style*="--fit-title-size"],
main h2[style*="--fit-title-size"],
footer .footer-signature p[style*="--fit-title-size"] { font-size: var(--fit-title-size); }
.measure-title { white-space: nowrap !important; }
.tool-hero > .container { text-align: center; }
.tool-hero > .container h1 { max-width: none; margin-inline: auto; }
.tool-hero > .container .section-lead { margin-inline: auto; }
footer .footer-signature { text-align: center; }
footer .footer-signature p { max-width: none; margin-inline: auto; text-wrap: balance; }
footer .footer-signature p > span { display: inline; margin: 0; }

.footer-utility .footer-document-button {
  position: relative;
  border-left-width: 4px;
}
footer .footer-utility .footer-document-button {
  background: #e9f5fb;
  border-color: #8ec6dc;
  border-left-color: #56b4d8;
  color: #10364a;
}
footer .footer-utility .footer-document-button:hover { background: #fff; }
.pdf-badge {
  display: inline-block; align-self: center;
  padding: .15rem .32rem; border: 1px solid currentColor; border-radius: 3px;
  font-size: 0.75rem; line-height: 1.1; font-weight: 700; letter-spacing: .04em;
}
footer .footer-utility .footer-contact-button {
  border-radius: 999px; background: #123b51; color: #fff;
  border-color: #74bed9;
}
footer .footer-utility .footer-contact-button:hover { background: #205069; }
footer .footer-utility .footer-contact-button > svg:first-child { color: #8ce0f7; }
footer .footer-utility .footer-contact-button small { color: #cce7f2; }
.cta-chat-icon { display: inline-block; flex: none; vertical-align: -.2em; }
a:not(.button, .tool-btn) > .cta-chat-icon { margin-inline-end: .35em; }

.document-pdf-card { display: flex; flex-direction: column; min-width: 0; }
.document-pdf-card > .eyebrow { display: flex; align-items: center; gap: .55rem; }
.document-pdf-card > .eyebrow svg { flex: none; }
.document-pdf-card > .tool-actions { margin-top: auto; padding-top: 1.2rem; }
.document-pdf-card .document-meta { color: #405c6c; font-size: .875rem !important; }
.document-pdf-card .tool-link, .document-pdf-card .tool-btn { min-height: 44px; }
.document-pdf-card .tool-actions .tool-btn { flex: 0 1 auto; }
.cta-arrow { display: inline-block; flex: none; vertical-align: -.2em; }
.document-pdf-card .tool-link { display: inline-flex; align-items: center; }
.certificate-actions { align-items: stretch; }
.certificate-actions .tool-btn { flex: 0 1 auto; }
.book-layout > .founder-section-heading, .video-layout > .founder-section-heading {
  grid-column: 1 / -1; text-align: center; margin-bottom: 0;
}
.book-layout, .video-layout { row-gap: clamp(1.2rem, 3vw, 2.3rem); }
.book-download-actions { margin-block-start: 1.4rem; }
.book-download-actions .book-download { width: auto; justify-content: center; gap: .6rem; }
.book-download-actions .document-meta { display: block; margin-top: .65rem; }
.sales-public-facts > div { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.sales-public-facts > div > p { margin: 0; }
.sales-public-facts .sales-route-action { display: inline-flex; align-items: center; margin-top: auto; }
.sales-route-contacts { display: flex; flex-wrap: wrap; gap: .45rem; width: 100%; margin-top: auto; }
.sales-route-contacts .tool-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .55rem;
  background: #fff; border: 1px solid #acc7d5; border-radius: 4px;
  color: #075777; font-size: .9rem;
}
@media (max-width: 480px) {
  .certificate-actions .tool-btn { width: 100%; }
}

/* Ações do orçamento e referências de produto. */
.tool-actions.quote-direct-actions { gap: .75rem; align-items: stretch; }
.quote-direct-actions .tool-btn { flex: 0 1 auto; }
.quote-direct-actions .cta-chat-icon { flex: none; }
#cfv-product-variants .tool-actions { margin-top: 1rem; }
#cfv-product-variants .cfv-table-scroll {
  max-height: min(28rem, 52vh);
  overflow: auto;
  scrollbar-gutter: stable;
  border: 1px solid #a9c3d2;
  border-radius: 5px;
  margin: .75rem 0 0;
}
#cfv-product-variants .cfv-table-scroll:focus-visible { outline: 2px solid #0875a3; outline-offset: 3px; }
#cfv-product-variants table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
#cfv-product-variants :is(th,td) { min-width: 0; padding: .6rem .7rem; white-space: normal; overflow-wrap: anywhere; }
#cfv-product-variants thead th {
  position: sticky; top: 0; z-index: 1; text-align: left;
  background: #153b51; color: #fff;
}
#cfv-product-variants th:first-child { width: 58%; }
#cfv-product-variants th:nth-child(2) { width: 16%; }
#cfv-product-variants th:last-child { width: 26%; }
#cfv-product-variants tbody th { color: #122d3e; background: transparent; font-weight: 650; text-align: left; }
#cfv-product-variants tbody td { color: #122d3e; }
#cfv-product-variants tbody tr:nth-child(even) { background: #eef4f7; }
#cfv-product-variants td a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 520px) {
  .tool-actions.quote-direct-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  #cfv-product-variants :is(th,td) { padding: .45rem .4rem; font-size: .82rem; }
  #cfv-product-variants th:first-child { width: 49%; }
  #cfv-product-variants th:nth-child(2) { width: 19%; }
  #cfv-product-variants th:last-child { width: 32%; }
}
@media print {
  #cfv-product-variants .cfv-table-scroll { max-height: none; overflow: visible; }
  #cfv-product-variants thead th { position: static; }
}

/* Botões e grupos de ações mantêm contraste e espaçamento em todas as páginas. */
:root {
  --action-blue: #0a648c;
  --action-blue-deep: #144963;
  --action-blue-hover: #103951;
  --action-gap: .75rem;
  --card-gap: clamp(1rem, 2vw, 1.5rem);
}
body :is(.button, .tool-btn, .product-quote-bubble, .hero-catalog-link),
body :is(.tool-btn.secondary, .button-outline, .catalog-highlight .catalog-pdf-button),
body .tool-actions > .tool-link {
  background: var(--action-blue);
  border-color: var(--action-blue);
  color: #fff;
}
body :is(.tool-btn.secondary, .button-outline),
body .tool-actions > .tool-link { background: var(--action-blue-deep); border-color: var(--action-blue-deep); }
body :is(.button, .tool-btn, .product-quote-bubble, .hero-catalog-link):hover,
body :is(.tool-btn.secondary, .button-outline, .catalog-highlight .catalog-pdf-button):hover,
body .tool-actions > .tool-link:hover {
  background: var(--action-blue-hover);
  border-color: var(--action-blue-hover);
  color: #fff;
}
body :is(.button, .tool-btn, .product-quote-bubble, .hero-catalog-link, .catalog-pdf-button, .tool-actions > .tool-link):focus-visible {
  outline: 2px solid #1686b0;
  outline-offset: 4px;
}
body :is(.button, .tool-btn) .document-meta { color: inherit; }
.tool-actions { gap: var(--action-gap); align-items: stretch; }
.tool-actions > :is(.tool-btn, .tool-link) { min-height: 44px; }
body .tool-actions > .tool-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .65rem .9rem; border: 1px solid var(--action-blue-deep); text-align: center; text-decoration: none;
}
.tool-actions > .tool-link:disabled { opacity: .6; cursor: not-allowed; }
footer .footer-utility a.footer-document-button {
  background: #174e69; border-color: #6cabc3; border-left-color: #a3d8e9; color: #fff;
}
footer .footer-utility a.footer-document-button:hover { background: #22617e; color: #fff; }
footer .footer-utility a.footer-contact-button { background: #123b51; color: #fff; }
footer .footer-utility a.footer-contact-button:hover { background: #205069; color: #fff; }
footer .footer-utility a small { color: #e5f4fa; }
footer .footer-utility .pdf-badge { color: #fff; }

.sales-grid { gap: var(--card-gap); }
.sales-grid > .sales-panel { margin-block: 0; }
.guide-segments { margin-top: var(--card-gap); }
.guide-segments > .sales-panel {
  display: flex; flex-direction: column; align-items: flex-start; gap: .65rem;
  padding: clamp(1rem, 2.2vw, 1.65rem);
}
.guide-segments > .sales-panel :is(h3,p) { margin: 0; }
.guide-segments details { width: 100%; margin-block: auto 0; }
.guide-segments details > summary { min-height: 44px; padding-block: .55rem; color: #0b577a; font-weight: 650; }
.guide-segments .tool-btn { text-align: center; }
.tool-actions.tool-shortcuts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr)); }
@media (max-width: 480px) {
  .tool-actions > :is(.tool-btn, .tool-link) { flex: 0 1 auto; }
  .tool-actions.tool-shortcuts > a { width: 100%; }
}
.quick-actions :is(.quick-list, .quick-products) { background: var(--action-blue-deep); color: #fff; }
.quick-actions :is(.quick-list, .quick-products):hover { background: var(--action-blue-hover); color: #fff; }
.quick-actions .quick-list .cart-count { border: 1px solid #a4cfdf; }

/* Catálogo e busca de medidas */
#produtos .catalog-tools {
  grid-template-columns: minmax(0, 1fr);
  gap: .85rem;
  margin-bottom: 1rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  border-radius: 14px;
  background: #eff7fb;
  border: 1px solid #c8deea;
}
#produtos .catalog-search label { color: #163d55; font-size: 1.125rem; font-weight: 700; }
#produtos .search-field { min-height: 50px; background: #fff; border-radius: 8px; }
#produtos .search-field input { font-size: 1rem; }
.catalog-kind-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.catalog-kind-controls button, #produtos .filter-buttons button {
  min-height: 44px; padding: .45rem .8rem; border: 1px solid #9ebccf; border-radius: 7px;
  background: #fff; color: #154961; font: inherit; font-weight: 650; cursor: pointer;
}
.catalog-kind-controls button[aria-pressed="true"], #produtos .filter-buttons button[aria-pressed="true"] {
  background: #0b5275; color: #fff; border-color: #0b5275;
}
#produtos .catalog-feedback-row { margin-top: .1rem; }
#produtos .direct-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,15.5rem),1fr)); gap: 1rem; }
#produtos .direct-product {
  display: flex; flex-direction: column; min-width: 0; border-radius: 11px;
  overflow: hidden; border: 1px solid #c8dce7; box-shadow: 0 4px 12px #0b344d0d;
}
#produtos .direct-product .catalog-card-photo { display: block; flex: none; }
#produtos .direct-product img { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 10; object-fit: cover; }
#produtos .direct-product-body { display: flex; flex-direction: column; gap: .45rem; padding: 1rem; flex: 1; min-width: 0; }
#produtos .direct-product h3 { margin: 0; font-size: 1.6rem; }
#produtos .direct-product p { margin: 0 0 .5rem; }
#produtos .direct-product .tool-actions { margin-top: auto; }
#produtos .direct-product .tool-actions a { min-height: 44px; flex: 1 1 auto; }
.catalog-kind {
  align-self: flex-start; font-size: .75rem; font-weight: 750; letter-spacing: .035em;
  background: #e4f2f8; color: #104b6b; padding: .22rem .55rem; border-radius: 6px;
}
.catalog-pagination { display: flex; justify-content: center; margin-top: 1.2rem; }
.material-lookup, #cfv-material-quick {
  background: #eff7fb; border: 1px solid #c6dce8; border-radius: 12px;
  padding: clamp(1rem, 3vw, 1.3rem);
}
.material-lookup input[type="search"], #cfv-material-search { min-height: 50px; border-radius: 8px; background: #fff; }
.material-lookup .tool-note, .cfv-quick-note { margin-top: .55rem; }
.material-matches, .cfv-material-results { max-height: 22rem; overflow-y: auto; padding: .2rem; }
.material-match, .cfv-match { min-height: 48px; }
#cfv-product-variants > .tool-note, #cfv-product-variants > .tool-status { margin-block: .6rem; }
@media (max-width: 520px) {
  #produtos .direct-grid { grid-template-columns: 1fr; }
  #produtos .direct-product { display: grid; grid-template-columns: minmax(0, 31%) minmax(0, 1fr); }
  #produtos .direct-product img { height: 100%; aspect-ratio: auto; }
  #produtos .direct-product-body { padding: .75rem; }
  #produtos .direct-product h3 { font-size: 1.35rem; }
  #produtos .direct-product p { font-size: .875rem; }
}

#material-search-more, #cfv-material-more { margin-top: .7rem; }
.catalog-pagination:has(button[hidden]) { display: none; }
#produtos .catalog-card-photo:focus-visible { outline-offset: -3px; }

/* Fichas e aplicações seguem a mesma ordem de leitura. */
.material-hero-grid, .application-grid {
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.material-hero-grid > figure, .application-grid > figure {
  align-self: start;
  width: 100%;
}
.format-grid .section-shape {
  float: none;
  margin: 0 0 1rem;
}
.format-grid .product-family-photo { clear: both; }

.locator-quick-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: .55rem;
  font-size: .82rem;
  color: #365468;
}
.locator-quick-chips > span {
  font-weight: 600;
  margin-right: .15rem;
}
.locator-chip {
  appearance: none;
  border: 1px solid #b3c7d4;
  background: #f3f8fb;
  color: #0b4a68;
  border-radius: 999px;
  padding: .28rem .68rem;
  min-height: 32px;
  font: inherit;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.locator-chip:is(:hover, :focus-visible) {
  background: #075878;
  border-color: #075878;
  color: #fff;
}

.founder-audio-player {
  margin-block: 1rem;
}
.founder-audio-player > p {
  margin-block: 0 .35rem;
  font-weight: 700;
}
.founder-audio-player > audio {
  display: block;
  width: 100%;
  max-width: 460px;
}
#area-cities-lists [hidden] {
  display: none;
}

