/* HoraWeb V33 — consistência visual entre pesquisa, categorias e catálogo. */
:root{--hw-card-star-empty:#ccd4d0;--hw-card-star-fill:#f2aa18;--hw-catalog-sidebar:308px}
/* A busca compartilha a mesma estrutura da categoria e não possui sidebar estreita. */
html body .hw-search-page .hw-catalog-shell,
html body .hw-catalog-page .hw-catalog-shell{display:grid!important;grid-template-columns:minmax(288px,308px) minmax(0,1fr)!important;gap:28px!important;align-items:start!important;max-width:var(--hw-site-width,1480px)!important;margin-inline:auto!important}
html body .hw-search-page .hw-catalog-shell>.hw-filter-sidebar{position:static!important;width:100%!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:16px!important}
html body .hw-search-page .hw-catalog-content{min-width:0!important;overflow:visible!important}
html body .hw-search-page .hw-filter-form,html body .hw-search-page .hw-side-categories{width:100%!important;min-width:0!important;padding:20px!important;border:1px solid var(--ln,#d9e4dd)!important;border-radius:14px!important;background:var(--sf,#fff)!important;box-shadow:0 8px 20px -18px rgba(15,36,44,.25)!important}
html body .hw-search-page .hw-filter-form{display:block!important}
html body .hw-search-page .hw-filter-head{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:9px!important;margin-bottom:14px!important;padding-bottom:13px!important}
html body .hw-search-page .hw-filter-head b{font-size:17px!important;line-height:1.3!important}
html body .hw-search-page .hw-filter-head a{margin-left:auto!important;font-size:13px!important;white-space:nowrap!important}
html body .hw-search-page .hw-filter-form>label{display:block!important;margin:12px 0 6px!important;font-size:14px!important;line-height:1.35!important;font-weight:650!important}
html body .hw-search-page .hw-filter-form :is(select.f,input.f){box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;min-height:43px!important;font-size:15px!important;padding:10px 12px!important;border-radius:9px!important;background:var(--sf,#fff)!important;color:var(--tx,#182d2c)!important;border:1px solid var(--ln,#d9e4dd)!important}
html body .hw-search-page .hw-price-inputs{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;gap:8px!important;align-items:center!important;min-width:0!important;width:100%!important}
html body .hw-search-page .hw-filter-submit{min-height:45px!important;width:100%!important;margin-top:16px!important;font-size:15px!important}
html body .hw-search-page .hw-catalog-content .sec{padding-top:0!important}
html body .hw-search-page .hw-catalog-content .sh{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important;margin-bottom:16px!important}
html body .hw-search-page .hw-search-intro{padding-top:8px!important;padding-bottom:18px!important}
html body .hw-search-page .hw-search-intro h1{font-size:clamp(27px,2.8vw,35px)!important;line-height:1.2!important}
html body .hw-search-page .page-search{max-width:740px!important}
html body .hw-search-page .page-search input{min-width:0!important;flex:1!important}
/* minmax evita cards apertados, max-width mantém resultado único na proporção de marketplace. */
html body .hw-search-page .hw-catalog-shell .grid.hw-search-results-grid,
html body .hw-catalog-page .hw-catalog-shell .grid.hw-catalog-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))!important;gap:18px!important;align-items:stretch!important}
html body .hw-search-page .hw-product-card{min-width:0!important;max-width:100%!important;height:100%!important}
html body .hw-search-page .hw-product-card .cb{min-width:0!important;display:flex!important;flex-direction:column!important;gap:5px!important;padding:14px 15px 15px!important}
html body .hw-search-page .hw-product-card .hw-card-actions{margin-top:auto!important}
/* Estrelas verdadeiramente proporcionais: 0 = contorno; 4.3 = 86% do preenchimento. */
html body .hw-product-card .hw-card-metrics{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px 10px!important;min-height:0!important;margin:6px 0 3px!important;line-height:1.35!important}
html body .hw-product-card .hw-card-rating{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:22px!important;max-width:100%!important;color:var(--tx,#243d39)!important;font-weight:600!important}
html body .hw-product-card .hw-card-stars{display:inline-block;position:relative;flex:none;font-size:18px!important;letter-spacing:0.035em;line-height:1;white-space:nowrap;font-family:Arial,sans-serif}
html body .hw-product-card .hw-card-stars-base{color:var(--hw-card-star-empty)!important}
html body .hw-product-card .hw-card-stars-fill{position:absolute;left:0;top:0;display:block;width:var(--hw-rating-fill,0%);overflow:hidden;color:var(--hw-card-star-fill)!important;white-space:nowrap}
html body .hw-product-card .hw-card-rating-score{font-size:14px!important;font-weight:650!important;font-variant-numeric:tabular-nums}
html body .hw-product-card .hw-card-rating small{font-size:13px!important;color:var(--mu,#55655f)!important}
html body .hw-product-card .pr{font-size:20px!important;font-weight:600!important;line-height:1.25!important}
html body .hw-product-card .hw-card-summary{font-size:14px!important;line-height:1.42!important}
@media(max-width:1000px){html body .hw-search-page .hw-catalog-shell,html body .hw-catalog-page .hw-catalog-shell{grid-template-columns:minmax(250px,280px) minmax(0,1fr)!important;gap:20px!important}}
@media(max-width:760px){html body .hw-search-page .hw-catalog-shell,html body .hw-catalog-page .hw-catalog-shell{display:flex!important;flex-direction:column!important;gap:18px!important}html body .hw-search-page .hw-catalog-shell>.hw-filter-sidebar,html body .hw-catalog-page .hw-catalog-shell>.hw-filter-sidebar{width:100%!important}html body .hw-search-page .hw-catalog-content,html body .hw-catalog-page .hw-catalog-content{width:100%!important}html body .hw-search-page .hw-catalog-shell .grid.hw-search-results-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))!important}}
@media(max-width:520px){html body .hw-search-page .hw-search-intro .page-search{display:flex!important;gap:8px!important}html body .hw-search-page .hw-catalog-shell .grid.hw-search-results-grid{grid-template-columns:1fr!important}html body .hw-search-page .hw-filter-form{padding:16px!important}}
