/* Honvidora V8 — shared visual rhythm, media and control sizes.
   Loaded after page CSS; scoped to avoid overriding editorial/page-specific compositions. */
:root{
  --hv-space-section:76px;
  --hv-space-section-mobile:48px;
  --hv-inline-page:5%;
  --hv-inline-page-mobile:6%;
  --hv-control-height:46px;
}
/* Same whitespace between section heading, intro and content across the six main pages. */
main .seo-intro.section{padding-top:52px;padding-bottom:52px}
main :is(.seo-hub,.seo-buyers,.seo-proof){padding-top:var(--hv-space-section);padding-bottom:var(--hv-space-section)}
:is(.oem-page,.factory-page,.resources-page,.contact-page) main :is(.oem-section,.factory-section,.resource-section,.contact-section){padding-top:var(--hv-space-section);padding-bottom:var(--hv-space-section)}
:is(.oem-page,.factory-page,.resources-page,.contact-page) main :is(.oem-section,.factory-section,.resource-section,.contact-section) h2{margin-top:12px;margin-bottom:20px}
:is(.oem-page,.factory-page,.resources-page,.contact-page) main :is(.oem-section,.factory-section,.resource-section,.contact-section) .eyebrow{margin-bottom:8px}
/* Preserve deliberate hero scaling while aligning the distance to the next section. */
:is(.products-page,.oem-page,.factory-page,.resources-page,.contact-page) main :is(.products-hero,.oem-hero,.factory-intro,.resources-hero,.contact-hero){column-gap:clamp(26px,5vw,80px)}
/* Normalise primary action dimensions without changing each page's chosen colors. */
main a.button,main button.button{min-height:var(--hv-control-height);padding:12px 21px;display:inline-flex;align-items:center;justify-content:center;gap:14px;line-height:1.35;box-sizing:border-box;text-align:center}
main :is(a.button.small,button.button.small){min-height:40px;padding:10px 16px}
main :is(.hero-actions,.oem-actions,.factory-actions,.resource-actions,.channel-actions,.detail-actions){row-gap:14px;column-gap:22px}
main .text-link{display:inline-flex;align-items:center;min-height:32px;line-height:1.45}
/* Product imagery should show the whole object rather than cut off edges. */
.products-page main :is(.catalog-image,.products-hero-art),
.factory-page main .factory-range-image{min-width:0}
.products-page main :is(.catalog-image img,.products-hero-art img,.detail-photo img,.related-grid img),
.factory-page main .factory-range-image img,
.oem-page main .board-art img,
.resources-page main :is(.manual-preview img,.catalog-preview img){object-fit:contain}
/* Product tiles: a comparable vertical rhythm, with variable width as needed. */
.products-page main .series-product-grid{column-gap:22px;row-gap:30px}
.products-page main .catalog-image{height:clamp(205px,22vw,290px)}
.factory-page main .factory-range-image{height:clamp(185px,19vw,235px)}
/* Lifestyle and real workshop photos intentionally fill their frames. */
.home-lifestyle img,.factory-page main .factory-main-photo img{object-fit:cover}
.factory-page main .factory-main-photo>img{height:auto;aspect-ratio:16/9}
/* Heading and cards: predictable rhythm without removing existing grids. */
main :is(.section-heading,.oem-section-heading,.factory-section-head,.resource-section-head,.contact-section-head){margin-bottom:32px}
main :is(.seo-hub-grid,.factory-range-grid){row-gap:24px}
main .seo-hub-grid article{min-height:220px;padding:26px 23px}
/* Prevent buttons, captions and long B2B headings from overflowing narrower columns. */
main :is(h1,h2,h3,p,a,figcaption){overflow-wrap:break-word}
main :is(.oem-hero,.products-hero,.resources-hero,.contact-hero,.factory-intro)>*{min-width:0}
@media(max-width:1050px){
  :root{--hv-space-section:62px}
  .products-page main .catalog-image{height:clamp(190px,24vw,260px)}
}
@media(max-width:760px){
 :root{--hv-space-section:var(--hv-space-section-mobile);--hv-control-height:44px}
 main .seo-intro.section{padding-top:36px;padding-bottom:36px}
 :is(.oem-page,.factory-page,.resources-page,.contact-page) main :is(.oem-section,.factory-section,.resource-section,.contact-section){padding-left:var(--hv-inline-page-mobile);padding-right:var(--hv-inline-page-mobile)}
 main :is(.section-heading,.oem-section-heading,.factory-section-head,.resource-section-head,.contact-section-head){margin-bottom:24px}
 main a.button,main button.button{padding:11px 17px}
 main :is(.hero-actions,.oem-actions,.factory-actions,.resource-actions,.channel-actions,.detail-actions){column-gap:16px;row-gap:12px}
 .products-page main .catalog-image{height:clamp(175px,43vw,230px)}
 .factory-page main .factory-range-image{height:clamp(155px,38vw,195px)}
 .factory-page main .factory-main-photo>img{aspect-ratio:4/3}
 main .seo-hub-grid article{min-height:0;padding:22px 20px}
}
@media(max-width:390px){
 main .hero-actions .button{max-width:100%}
 .products-page main .catalog-image{height:175px}
}

/* V9 focused acceptance adjustment — preserve tile geometry, improve procurement readability. */
.products-page main .catalog-product .model-label{font-size:11px;line-height:1.45;letter-spacing:.7px;font-weight:700}
.products-page main .catalog-product h4{font-size:16px;line-height:1.4;min-height:44px}
.products-page main .catalog-product .catalog-product-copy>p{font-size:12px;line-height:1.65;min-height:40px}
.products-page main .catalog-product-links{margin-top:13px}
@media(max-width:760px){
 .products-page main .catalog-product .model-label{font-size:10px}
 .products-page main .catalog-product h4{font-size:14px;min-height:60px}
 .products-page main .catalog-product .catalog-product-copy>p{font-size:11px;min-height:54px}
}
