/* Wahlivo public layout alignment: main content and footer follow the global header width. */
:root{--wahlivo-public-width:1460px}
body .container,
body .site-container,
body .wv2-shell{width:min(var(--wahlivo-public-width),calc(100% - 36px))!important;margin-inline:auto!important}

/* Keep the fixed WAI assistant above the page without covering inactive page areas. */
.waia-shell{pointer-events:none!important}
.waia-shell .waia-toggle,
.waia-shell.is-open .waia-panel{pointer-events:auto!important}
.waia-shell .waia-bubble{pointer-events:none!important}

/* Slightly calmer and more compact public typography. */
body.wv-product-page,
body.wv-catalog-item-page{font-size:13.5px}
body.wv-product-page .hero h1,
body.wv-catalog-item-page .hero h1{font-size:clamp(31px,3vw,47px)!important;line-height:1.04!important;letter-spacing:-.035em!important}
body.wv-product-page .hero .short,
body.wv-catalog-item-page .hero .short{font-size:14px!important;line-height:1.55!important}
body.wv-product-page .reason,
body.wv-catalog-item-page .reason{font-size:13px!important;line-height:1.55!important}
body.wv-product-page .badge,
body.wv-catalog-item-page .badge{font-size:11.5px!important}
body.wv-product-page .buy-price,
body.wv-catalog-item-page .buy-price{font-size:clamp(25px,2.25vw,34px)!important;line-height:1.12!important;white-space:normal!important;overflow-wrap:anywhere}
body.wv-product-page .buy-box,
body.wv-catalog-item-page .buy-box{font-size:12.5px}
body.wv-product-page .panel h2,
body.wv-catalog-item-page .panel h2{font-size:clamp(19px,2vw,24px)!important}

/* Footer uses full public width and remains compact. */
.footer,.wv2-footer{width:100%}
.footer-top{grid-template-columns:1.4fr repeat(5,minmax(0,1fr))!important;gap:18px!important}
.footer h4{font-size:13px!important}
.footer p,.footer a,.footer li{font-size:12px!important;line-height:1.6!important}
.footer-bottom{font-size:11px!important}
.wv2-footer__grid{grid-template-columns:1.55fr repeat(4,minmax(0,1fr))!important;gap:24px!important}
.wv2-footer__grid a{font-size:11.5px!important}
.wv2-footer__grid strong{font-size:12px!important}

/* Product sharing is visible in the purchase card. */
.buy-box .wv-share-tools--compact{margin-top:14px;padding:12px;border-radius:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.buy-box .wv-share-tools--compact strong{grid-column:1/-1;margin:0 0 2px;font-size:12px}
.buy-box .wv-share-tools--compact .wv-share-btn{min-height:36px;padding:0 8px;font-size:11px}
.buy-box .wv-share-tools--compact .wv-share-feedback{grid-column:1/-1}

@media(max-width:1180px){
  .footer-top{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .footer-top>:first-child{grid-column:1/-1}
  .wv2-footer__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .wv2-footer__brand{grid-column:1/-1}
}
@media(max-width:760px){
  body .container,body .site-container,body .wv2-shell{width:min(100% - 20px,var(--wahlivo-public-width))!important;padding-left:0!important;padding-right:0!important}
  body.wv-product-page .hero h1,body.wv-catalog-item-page .hero h1{font-size:clamp(28px,9vw,38px)!important}
  .footer-top,.wv2-footer__grid{grid-template-columns:1fr 1fr!important}
  .footer-top>:first-child,.wv2-footer__brand{grid-column:1/-1!important}
}
@media(max-width:520px){
  .footer-top,.wv2-footer__grid{grid-template-columns:1fr!important}
  .buy-box .wv-share-tools--compact{grid-template-columns:1fr 1fr}
}

/* Home hero and recommendation card stay readable at the wider desktop width. */
body.home-page .hero-title{font-size:clamp(32px,2.65vw,43px)!important;line-height:1.035!important}
body.home-page .hero-text{font-size:clamp(14px,1vw,16px)!important;line-height:1.55!important}
body.home-page .home-recommendation__identity h2{font-size:20px!important;line-height:1.15!important}
body.home-page .home-recommendation__identity p{font-size:13px!important}
body.home-page .home-recommendation .section-head h2{font-size:21px!important}
body.home-page .home-recommendation .product-title{font-size:21px!important;line-height:1.22!important}
body.home-page .home-recommendation .recommendation-basis,
body.home-page .home-recommendation .product-subtitle,
body.home-page .home-recommendation .score-row,
body.home-page .home-recommendation .merchant-note,
body.home-page .home-recommendation .variant-note{font-size:12px!important}
