/* HoraWeb 27 — mesmo design V26; somente proporção, ritmo, card e responsividade.
   Tamanho da fonte é controlado pelo Studio; preço padrão do card: 20px / 600. */
html body :is(.w,.site-header>.w,main>.w,footer .w,.hw-ref-home .w){box-sizing:border-box;width:100%;max-width:var(--hw-site-width,1480px)!important;margin-inline:auto}
html body :is(.hw-product-card,.hw-product-page .hw-buy-card,.hw-product-page .hw-side-widget){min-width:0}
/* Cards consistentes na home, categoria, busca, carrossel e relacionados */
html body .hw-product-card .cb{box-sizing:border-box;display:flex;flex-direction:column;flex:1;gap:5px!important;padding:14px 16px 15px!important}
html body .hw-product-card .cb>a>h3{margin:0!important;line-height:1.34!important;min-height:2.68em;max-height:2.68em;overflow:hidden;overflow-wrap:anywhere}
html body .hw-product-card .by{margin:0!important;min-height:0!important;line-height:1.33!important}
html body .hw-product-card .hw-card-metrics{min-height:0!important;margin:5px 0 3px!important;padding:7px 0 0!important;gap:4px 9px!important;line-height:1.3!important}
html body .hw-product-card .hw-card-stat{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;line-height:1.3!important}
html body .hw-product-card .hw-card-summary{min-height:0!important;max-height:2.86em!important;margin:5px 0 2px!important;line-height:1.43!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .hw-product-card .pr{margin-top:auto!important;padding:8px 0 6px!important;min-height:0!important;line-height:1.18!important;font-weight:600!important;letter-spacing:-.015em!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html body .hw-product-card .pr :is(strong,b){font-weight:600!important}
html body .hw-product-card .pr s{font-weight:400!important;line-height:1.3}
html body .hw-product-card .hw-card-actions{display:grid;gap:6px!important;margin-top:3px!important}
html body .hw-product-card .hw-card-actions>.btn{min-height:43px!important;margin:0!important;line-height:1.2!important;padding-block:9px!important}
/* Cards antigos de catálogo (quando ainda usados no projeto) */
html body .shop-product-content{display:flex;flex-direction:column;gap:7px;min-width:0}
html body .shop-product-content :is(h3,p){margin-block:0!important;line-height:1.4!important}
html body .shop-product-bottom{margin-top:auto!important;gap:8px!important;min-width:0}
html body .shop-product-price{display:block;font-weight:600!important;line-height:1.18!important;letter-spacing:-.015em;font-variant-numeric:tabular-nums}
/* Página de produto: foto à esquerda, compra à direita, nenhum bloco flutuante */
html body .hw-product-page .hw-product-container.w{width:100%!important;max-width:var(--hw-site-width,1480px)!important;min-width:0!important}
html body .hw-product-page .hw-product-head{margin:8px 0 20px!important;padding-bottom:0!important}
html body .hw-product-page .hw-product-head h1{margin:5px 0 10px!important;line-height:1.17!important;letter-spacing:-.027em!important}
html body .hw-product-page .hw-product-facts{gap:8px 18px!important;line-height:1.4!important}
html body .hw-product-page .hw-product-composition{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,420px)!important;grid-template-areas:'left buy'!important;gap:20px 30px!important;align-items:start!important;min-width:0!important}
html body .hw-product-page .hw-product-left-column{grid-area:left!important;min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;gap:20px!important}
html body .hw-product-page .hw-product-left-column>:is(.hw-product-main-media,.hw-product-main-details){grid-area:auto!important;min-width:0!important;width:100%!important}
html body .hw-product-page .hw-product-purchase{grid-area:buy!important;display:flex!important;flex-direction:column!important;gap:16px!important;position:static!important;inset:auto!important;min-width:0!important;width:100%!important}
html body .hw-product-page .hw-pd-media{min-width:0!important;margin:0!important}
html body .hw-product-page .hw-product-gallery-frame{padding:12px!important;overflow:hidden}
html body .hw-product-page .hw-product-gallery-frame img{display:block;max-width:100%;height:auto}
html body .hw-product-page .hw-wc-media-actions{margin:0!important;padding:9px 2px 0!important;min-height:0!important;gap:10px!important}
html body .hw-product-page .hw-product-main-details{margin:0!important;min-width:0!important}
html body .hw-product-page .hw-product-tabs-content{min-width:0!important;margin:0!important;gap:0!important}
html body .hw-product-page .hw-product-tab-panel{min-width:0!important;padding:24px!important}
html body .hw-product-page .hw-product-tab-panel .content-html{overflow-wrap:anywhere;line-height:1.67!important}
html body .hw-product-page .hw-product-tabs-content a[role=tab]{min-height:46px!important;padding:11px 16px!important}
/* Card de compra: evitar preço gigante disputando largura com o selo */
html body .hw-product-page .hw-buy-card{position:static!important;inset:auto!important;width:100%!important;min-width:0!important;box-sizing:border-box;padding:22px 23px!important;border-radius:12px!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important;row-gap:0!important;align-items:start!important}
html body .hw-product-page .hw-buy-overline{align-self:center!important;gap:7px!important;min-width:0!important}
html body .hw-product-page .hw-buy-prices{min-width:0!important;max-width:100%!important;margin-bottom:11px!important;gap:3px!important}
html body .hw-product-page .hw-price-main{line-height:1.05!important;white-space:normal!important;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
html body .hw-product-page .hw-wc-included{margin:0 0 15px!important;padding:0!important}
html body .hw-product-page .hw-wc-addons{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
html body .hw-product-page .hw-wc-addons legend{line-height:1.25!important;padding:0!important;margin:0 0 11px!important}
/* O preço de cada adicional fica alinhado à direita, em linha separada; assim
   não rouba largura do título e nem esmaga a descrição do serviço. */
html body:not(#hw_v26_guard) .hw-product-page .hw-wc-addon-row{box-sizing:border-box;display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;grid-template-areas:'check body' '. price'!important;align-items:start!important;column-gap:12px!important;row-gap:4px!important;min-width:0!important;width:100%!important;min-height:0!important;padding:12px 13px!important;margin:0 0 9px!important;border-radius:10px!important}
html body .hw-product-page .hw-wc-addon-row input[type=checkbox]{grid-area:check;align-self:start;margin:3px 0 0!important;width:18px;height:18px}
html body .hw-product-page .hw-wc-addon-body{grid-area:body;display:grid!important;gap:4px!important;min-width:0!important}
html body .hw-product-page .hw-wc-addon-body strong{display:flex!important;align-items:baseline!important;gap:8px!important;min-width:0!important;line-height:1.32!important;font-weight:700!important;overflow-wrap:anywhere}
html body .hw-product-page .hw-wc-addon-body strong i{flex:none}
html body .hw-product-page .hw-wc-addon-body small{display:block;margin:0!important;line-height:1.38!important;overflow-wrap:anywhere}
html body .hw-product-page .hw-wc-addon-price{grid-area:price;justify-self:end;align-self:center!important;margin:0!important;padding:1px 0 0!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
html body .hw-product-page .hw-wc-total{gap:12px!important;margin:11px 0 5px!important;padding:13px 15px!important;border-radius:10px!important}
html body .hw-product-page .hw-wc-total strong{line-height:1.2!important;overflow-wrap:anywhere;text-align:right}
html body .hw-product-page .hw-buy-actions{display:grid!important;gap:9px!important;margin:10px 0 0!important}
html body .hw-product-page .hw-buy-actions .btn{width:100%!important;min-width:0!important;box-sizing:border-box;justify-content:center!important;line-height:1.23!important}
html body .hw-product-page .hw-buy-secure{margin:9px 0 0!important;line-height:1.4!important}
html body .hw-product-page .hw-product-purchase>.hw-side-widget{margin:0!important;padding:17px 20px!important;border-radius:11px!important}
html body .hw-product-page .hw-product-purchase>.hw-side-widget h2{line-height:1.27!important;margin:0 0 12px!important}
html body .hw-product-page .hw-req-line{padding:9px 0!important;gap:8px!important;min-width:0!important}
html body .hw-product-page .hw-req-line dd{overflow-wrap:anywhere}
html body .hw-product-page .hw-wc-term-list{gap:7px!important}
html body .hw-product-page .hw-product-related{margin-top:28px!important}
/* Tablet e telefone: galeria → compra → abas → informações adicionais */
@media(max-width:1199px){
 html body .hw-product-page .hw-product-composition{grid-template-columns:minmax(0,1fr) minmax(0,390px)!important;column-gap:24px!important}
 html body .hw-product-page .hw-buy-card{padding:19px!important}
}
@media(max-width:1020px){
 html body .hw-product-page .hw-product-composition{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:'media' 'buy' 'details' 'requirements' 'terms'!important;column-gap:0!important;row-gap:18px!important}
 html body .hw-product-page .hw-product-left-column{display:contents!important}
 html body .hw-product-page .hw-product-main-media{grid-area:media!important;min-width:0!important}
 html body .hw-product-page .hw-product-main-details{grid-area:details!important;min-width:0!important}
 html body .hw-product-page .hw-product-composition>.hw-product-purchase{display:contents!important}
 html body .hw-product-page .hw-product-purchase>.hw-buy-card{grid-area:buy!important;width:100%!important}
 html body .hw-product-page .hw-product-purchase>.hw-wc-requirements{grid-area:requirements!important}
 html body .hw-product-page .hw-product-purchase>.hw-wc-terms{grid-area:terms!important}
 html body .hw-product-page .hw-buy-card{padding:20px!important}
}
@media(max-width:600px){
 html body .hw-product-page .hw-product-head{margin-bottom:15px!important}
 html body .hw-product-page .hw-product-composition{row-gap:14px!important}
 html body .hw-product-page .hw-buy-card{padding:17px!important}
 html body .hw-product-page .hw-buy-prices{margin-bottom:9px!important}
 html body .hw-product-page .hw-product-tab-panel{padding:17px!important}
 html body .hw-product-page .hw-product-main-details .hw-product-tabs-content{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;overflow-x:visible!important}
 html body .hw-product-page .hw-product-main-details .hw-product-tabs-content a[role=tab]{min-width:0!important;padding:11px 4px!important;white-space:normal!important;overflow-wrap:normal;text-align:center;line-height:1.25!important}
 html body .hw-product-page .hw-product-purchase>.hw-side-widget{padding:15px!important}
 html body .hw-product-card .cb{padding:13px!important}
}
@media(max-width:360px){
 html body .hw-product-page .hw-buy-card{grid-template-columns:minmax(0,1fr)!important}
 html body .hw-product-page .hw-buy-card>.hw-buy-overline{grid-column:1!important;grid-row:1!important}
 html body .hw-product-page .hw-buy-card>.hw-buy-prices{grid-column:1!important;grid-row:2!important;align-items:flex-start!important;margin:6px 0 13px!important}
 html body .hw-product-page .hw-buy-card>:not(.hw-buy-overline):not(.hw-buy-prices){grid-column:1!important}
 html body .hw-product-page .hw-wc-total{flex-wrap:wrap!important}
}
