/* HoraWeb V45 • visual unificado • LIGHT ONLY • mobile first.
   Camada final: componentes existentes preservados, apenas apresentação. */
:root,html:root:not([data-theme]),html:root[data-theme="dark"] {
 --bg:#f7f9f7!important; --sf:#ffffff!important; --tx:#20362a!important;
 --mu:#576b60!important; --ln:#dce5de!important; --g:#4a8e35!important;
 --gd:#2f7023!important; --sh:0 4px 18px #12291c12!important;
 color-scheme:light!important;
 --hw45-ink:#1e3329; --hw45-muted:#576b60; --hw45-green:#377a22; --hw45-line:#dce5de; --hw45-navy:#0f2437; }
html {scroll-padding-top:85px}
html,body { background:#f7f9f7!important;color:#20362a!important; }
html body {font-size:16px;line-height:1.52}
html body :is(.site-header,.hw-product-page,.hw-catalog-page,.hw-account-page) {color:#20362a}
html body .site-header {background:#fff!important}
/* Botões do cabeçalho: quadrados discretos, sem borda dupla ou sombra pesada. */
.site-header .hw-cart-equivalent,.site-header .mobile-toggle {width:39px!important;height:39px!important;min-height:39px!important;padding:0!important;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #e0e7e2!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important;color:#23382b!important}
.site-header .hw-cart-equivalent i,.site-header .mobile-toggle i {font-size:18px!important;line-height:1}
.site-header .hw-cart-equivalent:hover,.site-header .mobile-toggle:hover {background:#eef5ee!important;border-color:#9cc69c!important}
.site-header .hw-account-trigger {border-radius:8px!important}
/* Home: subcategorias compactas e alinhadas, sem uma parede de cards gigantes. */
html body .hw-ref-home .hw45-category-rail {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;margin-top:12px!important}
html body .hw-ref-home .hw45-category-rail .tile {min-width:0!important;min-height:62px!important;height:auto!important;padding:10px 12px!important;border-radius:9px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:9px!important;text-align:left!important;box-shadow:none!important}
.hw-ref-home .hw45-category-rail .tile>i {font-size:18px!important;line-height:1!important;flex:none!important;margin:0!important}
.hw-ref-home .hw45-category-rail .tile>b {font-size:14px!important;line-height:1.3!important;font-weight:650!important;flex:1!important;min-width:0!important;overflow-wrap:anywhere!important}
.hw-ref-home .hw45-category-rail .tile>span {font-size:12px!important;line-height:1.3!important;color:#6a7b70!important;white-space:nowrap!important}
/* Uma hierarquia só: título e link. Os textos explicativos eram uma segunda/t terceira linha repetida. */
.hw-ref-home .hw-carousel-section .hw-section-heading {display:flex!important;gap:12px!important;align-items:center!important;justify-content:space-between!important;margin-bottom:16px!important;min-height:42px!important}
.hw-ref-home .hw-carousel-section .hw-section-heading>div {min-width:0!important}
.hw-ref-home .hw-carousel-section .hw-section-heading h2 {margin:0!important;font-size:clamp(21px,2vw,27px)!important;line-height:1.25!important;letter-spacing:-.015em!important}
.hw-ref-home .hw-carousel-section .hw-section-kicker,.hw-ref-home .hw-carousel-section .hw-section-heading p {display:none!important}
.hw-ref-home .hw-carousel-section .hw-view-all {font-size:14px!important;white-space:nowrap!important}
/* Nunca sobrepor controles ao título nem aos cards. */
html body .hw-carousel-section .hw-carousel-wrap {display:flex!important;flex-direction:column!important;min-width:0!important;gap:11px!important;position:relative!important}
html body .hw-carousel-section .hw-card-carousel {position:relative!important;min-width:0!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scrollbar-width:thin;display:flex!important;gap:13px!important;padding:4px 2px 12px!important}
html body .hw-carousel-section .hw-card-carousel>.hw-product-card {scroll-snap-align:start!important;flex:0 0 clamp(224px,23vw,285px)!important;max-width:285px!important;min-width:0!important}
html body .hw-carousel-section .hw-carousel-controls {position:static!important;inset:auto!important;transform:none!important;display:flex!important;justify-content:flex-end!important;gap:8px!important;pointer-events:auto!important;margin:0!important;padding:0 2px 0!important;z-index:auto!important}
html body .hw-carousel-section .hw-carousel-controls .hw-carousel-arrow {position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-height:38px!important;border-radius:8px!important;border:1px solid #cddccf!important;background:#fff!important;color:#234a31!important;box-shadow:none!important}
html body .hw-carousel-section .hw-carousel-arrow:hover {background:#eff7ed!important;border-color:#89b87b!important}
/* Lista de categorias: filtros sem linha colada ao último botão. */
.hw-v43-filters .hw-filter-form {padding-bottom:14px!important}
.hw-v43-filters .hw-side-categories {border-top:0!important;margin-top:13px!important;padding-top:8px!important}
.hw-v43-filters .hw-v43-side-root {border-bottom:1px solid #e4ebe5!important;padding-bottom:12px!important;margin-bottom:9px!important}
/* Produto: detalhes mais compactos, ícones com cores sóbrias, não verde fluorescente. */
html body .hw-product-page .hw-product-head h1 {line-height:1.24!important}
html body .hw-product-page .hw-req-symbol {background:#edf4f4!important;color:#416b73!important;border-color:#dfe9e8!important}
html body .hw-product-page .hw-req-symbol i {color:#416b73!important}
html body .hw-product-page .hw-req-check {color:#4d8866!important}
html body .hw-product-page .hw-v35-term-card h2 i {color:#416b73!important}
html body .hw-product-page .hw-wc-spec-table>div {padding:6px 2px!important;gap:7px!important;min-height:0!important}
html body .hw-product-page .hw-wc-spec-table :is(dt,dd) {line-height:1.35!important;margin:0!important}
/* Modal de adicional: hierarquia legível, botões em seu lugar, margem lateral real. */
html body dialog.hw-v34-modal.hw-v36-dialog {width:min(420px,calc(100vw - 28px))!important;max-width:calc(100vw - 28px)!important;padding:0!important;border:1px solid #d8e5dc!important;border-radius:13px!important;overflow:hidden!important;background:#fff!important;color:#1f3429!important;box-shadow:0 24px 58px #10291d55!important}
html body dialog.hw-v36-dialog .hw-v34-modal-head {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;padding:17px 18px 13px!important;margin:0!important;border-bottom:1px solid #e6eee8!important}
html body dialog.hw-v36-dialog .hw-v34-modal-head h2 {font-size:18px!important;line-height:1.3!important;letter-spacing:0!important;margin:0!important;overflow-wrap:anywhere!important}
html body dialog.hw-v36-dialog .hw-v34-modal-head button {width:35px!important;height:35px!important;flex:none!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid #dbe6de!important;border-radius:8px!important;background:#f4f8f5!important;color:#1c4e2c!important;font-size:24px!important;font-weight:500!important;line-height:1!important}
html body dialog.hw-v36-dialog .hw-v34-modal-head button:hover {background:#e7f4e9!important;border-color:#a1c9a7!important}
html body dialog.hw-v36-dialog>p {padding:16px 18px!important;margin:0!important;font-size:15px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
html body dialog.hw-v36-dialog .hw-v34-modal-ok {display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:calc(100% - 36px)!important;min-height:42px!important;margin:0 18px 18px!important;padding:10px 15px!important;border:0!important;border-radius:8px!important;background:#377a22!important;color:#fff!important;font:700 15px/1.3 Inter,system-ui,sans-serif!important;box-shadow:none!important}
html body dialog.hw-v36-dialog .hw-v34-modal-ok:hover {background:#2b641b!important}
/* Conta: navegação lateral + lista de pedidos responsiva e fácil de usar. */
.hw45-account-layout {display:grid;grid-template-columns:minmax(212px,238px) minmax(0,1fr);align-items:start;gap:21px;margin-top:18px}
.hw45-account-sidebar {border:1px solid #dce6dc;background:#fff;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:5px;min-width:0;box-shadow:0 3px 12px #102b1709}
.hw45-account-sidebar h2 {font-size:15px;line-height:1.35;font-weight:750;margin:1px 6px 10px}
.hw45-account-sidebar a {display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;font-size:14px;font-weight:550;line-height:1.3;color:#40534a;text-decoration:none;white-space:normal}
.hw45-account-sidebar a i {color:#577664;font-size:17px;flex:none}
.hw45-account-sidebar a:hover,.hw45-account-sidebar a.is-current {color:#285f29;background:#edf6ec}
.hw45-account-content {min-width:0}
.hw45-account-content .sh {margin-top:0!important}
.hw-account-page .hw-account-orders {min-width:0}
.hw-account-page .hw-account-order {min-width:0;overflow-wrap:anywhere}
/* Rodapé V45: 4 colunas desktop, 2 tablet, 1 telefone. */
html body footer.hw45-footer {background:#102539!important;color:#d3dee2!important;padding:39px 0 0!important;margin-top:42px!important;border-top:3px solid #77ac44!important;border-radius:0!important;box-shadow:none!important}
.hw45-footer .hw45-footer-grid {display:grid!important;grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr))!important;gap:28px!important;align-items:start!important;max-width:1480px!important;padding:0 24px 28px!important}
.hw45-footer .hw45-footer-brand {max-width:310px}
.hw45-footer .hw45-footer-brand p {font-size:14px!important;color:#bdcdd2!important;line-height:1.6!important;margin:13px 0 16px!important}
.hw45-footer .hw45-footer-logo {display:inline-flex!important;align-items:center!important;gap:10px!important;font-size:22px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:-.04em!important;color:#fff!important;text-decoration:none!important}
.hw45-footer .hw45-logo-mark {display:grid;place-items:center;width:37px;height:37px;border-radius:10px;background:#86ba4b;color:#102539;font-size:19px;font-weight:850}
.hw45-footer .hw45-green {color:#99d168}
.hw45-footer .hw45-footer-catalog {display:inline-flex!important;align-items:center!important;gap:8px;border:1px solid #547c5a;color:#f0faef!important;border-radius:8px;padding:9px 12px;font-weight:600;font-size:13px!important}
.hw45-footer nav {display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important}
.hw45-footer nav h2 {font-size:14px!important;line-height:1.4!important;color:#fff!important;font-weight:750!important;margin:2px 0 5px!important}
.hw45-footer nav a {color:#bdcdd2!important;font-size:13.5px!important;line-height:1.4!important;text-decoration:none!important;margin:0!important;padding:1px 0!important}
.hw45-footer nav a:hover {color:#c4f29c!important;text-decoration:underline!important}
.hw45-footer .hw45-footer-bottom {display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:space-between!important;gap:8px 25px!important;max-width:1480px!important;padding:17px 24px 18px!important;border-top:1px solid #30475b!important;color:#aabcc7!important;font-size:12.5px!important;line-height:1.5!important}
.hw45-footer-bottom i {color:#9dce76}
/* Helpers para coleções por tag e tecnologia. */
.hw45-term-page .page-head {padding:26px 0 17px!important}
.hw45-term-page .page-head h1 {font-size:clamp(24px,3vw,34px)!important;line-height:1.23!important;margin:11px 0!important}
.hw45-term-page .page-head p {color:#52675c!important;font-size:15px!important;max-width:720px!important}
.hw45-term-page .hw-catalog-grid {margin-bottom:24px!important}
@media(max-width:1100px) {
 html body .hw-ref-home .hw45-category-rail {grid-template-columns:repeat(3,minmax(0,1fr))!important}
 .hw45-footer .hw45-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 35px!important}
 .hw45-account-layout {grid-template-columns:200px minmax(0,1fr)}
}
@media(max-width:760px) {
 html body .hw-ref-home .hw45-category-rail {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .hw-ref-home .hw45-category-rail .tile {padding:9px!important;min-height:56px!important}
 .hw-ref-home .hw45-category-rail .tile>b {font-size:13.5px!important}
 .hw-ref-home .hw45-category-rail .tile>span {display:none!important}
 html body .hw-carousel-section .hw-card-carousel>.hw-product-card {flex-basis:clamp(210px,65vw,260px)!important}
 .hw45-account-layout {grid-template-columns:minmax(0,1fr);gap:13px}
 .hw45-account-sidebar {display:flex!important;flex-direction:row!important;gap:5px!important;overflow-x:auto!important;padding:7px!important;scrollbar-width:thin}
 .hw45-account-sidebar h2 {display:none!important}
 .hw45-account-sidebar a {white-space:nowrap!important;padding:9px 11px!important;flex:none!important;font-size:13px!important;gap:6px}
 .hw45-account-sidebar a i {font-size:15px!important}
 html body footer.hw45-footer {margin-top:28px!important;padding-top:29px!important}
 .hw45-footer .hw45-footer-grid {padding:0 18px 23px!important;gap:20px!important}
 .hw45-footer .hw45-footer-bottom {padding:15px 18px!important}
}
@media(max-width:520px) {
 html body .hw-ref-home .hw45-category-rail {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html body .hw-ref-home .hw45-category-rail .tile {gap:6px!important}
 html body .hw-ref-home .hw45-category-rail .tile>b {font-size:12.8px!important}
 .hw45-footer .hw45-footer-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 14px!important}
 .hw45-footer .hw45-footer-brand {grid-column:1/-1;max-width:100%}
 .hw45-footer nav h2 {font-size:14px!important}
 .hw45-footer nav a {font-size:13px!important}
 .hw45-footer .hw45-footer-bottom {font-size:12px!important}
 .hw45-account-content .hw-account-order {grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
