/* =====================================================================
   MushVeri UI polish — 2026-11-16 (POLISH38)
   CSS-only refinement layer: blocks, copy and images are untouched.
   Loaded after updates.css (see functions.php "mushveri-polish").
   To revert: remove the "mushveri-polish" lines in functions.php
   (or delete this file).
   ===================================================================== */

/* ---------- Tokens: text-safe bronze on cream (WCAG AA), soft gold on dark ---------- */
html:root{
	--mv-gold:#7F6030;
	--mv-gold-soft:#C8A873;
	--mv-radius-img:10px;
	--mv-radius-card:14px;
}
.mv-hero,.r3-contact,.r3-footer,.mv-about-sign{--mv-gold:var(--mv-gold-soft)}

/* ---------- Hero ---------- */
.mv-hero-copy h1 em{font-size:1.14em!important;letter-spacing:-.01em}
.mv-hero-copy .r3-subtitle{font-family:var(--wp--preset--font-family--inter)!important;font-weight:400!important;font-size:clamp(16px,1.25vw,18px)!important;line-height:1.6!important;letter-spacing:0!important;color:rgba(255,255,255,.9)!important;max-width:30em}
@media(min-width:782px){
	.mv-hero .mv-hero-copy{width:min(720px,64%)!important;max-width:720px!important}
	.mv-hero .mv-hero-copy h1{font-size:clamp(46px,5vw,80px)!important;line-height:1.04!important}
	.mv-hero .mv-hero-copy .wp-block-buttons{flex-wrap:nowrap}
	.mv-hero .mv-hero-copy .wp-element-button{white-space:nowrap}
}
@media(max-width:781px){
	.mv-hero-copy h1{font-size:clamp(30px,9.2vw,44px)!important;line-height:1.06!important}
}

/* ---------- Product tiles ---------- */
.is-style-product-tile figure{line-height:0;border-radius:var(--mv-radius-img)!important}
.is-style-product-tile figure a{display:block}
.r3-product-copy .r3-card-link{margin-top:8px!important}
@media(hover:hover) and (pointer:fine){
	.r3-ingredients .mv-main-products .r3-card-link a{min-height:32px}
}
@media(max-width:480px){
	.r3-ingredients .mv-main-products .r3-product-copy>p:not(.r3-card-link){min-height:3.2em}
}

/* ---------- About: founder block + advantage list ---------- */
.r3-founder-image img{border-radius:var(--mv-radius-card)!important}
.r3-advantages{border-bottom:1px solid var(--mv-hair)}
.is-style-advantage-row{grid-template-columns:40px minmax(0,1fr)!important;gap:14px!important;align-items:start!important}
.is-style-advantage-row:last-child{border-bottom:0!important}
.r3-advantage-symbol{font-size:24px!important;line-height:1.25!important;margin:0!important}
.is-style-advantage-row h3{margin:0!important}
@media(max-width:1100px){
	.r3-advantages{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:48px!important;row-gap:0!important}
}
@media(max-width:600px){
	.r3-advantages{grid-template-columns:minmax(0,1fr)!important}
}

/* ---------- Why MushVeri cards ---------- */
.mv-why-item{background:rgba(255,255,255,.6)}

/* ---------- Applications ---------- */
.r3-app-card{border-radius:var(--mv-radius-card)!important}

/* ---------- Certification marks: uniform white tiles ---------- */
.r3-certification{background:var(--mv-paper-2)!important;border-bottom:0!important}
.r3-cert-marks{align-items:start!important}
.r3-cert-slot figure{display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:104px;height:104px;margin:0 auto!important;padding:16px;background:#fff;border:1px solid var(--mv-hair);border-radius:16px}
.r3-cert-slot figure img,#certification-documentation .r3-cert-badge img{width:100%!important;height:100%!important;object-fit:contain!important}
.r3-cert-slot p{margin-top:12px!important}
@media(max-width:480px){
	.r3-cert-slot figure{width:74px;height:74px;padding:10px;border-radius:12px}
}

/* ---------- Working process: restore top spacing ---------- */
.r3-process{padding-top:clamp(72px,9vw,128px)!important}

/* ---------- Contact + inquiry form ---------- */
.r3-contact-links{font-size:15px!important}
.r3-contact-links a,.r3-footer a[href^="tel:"],.r3-footer a[href*="wa.me"]{white-space:nowrap}
.r3-form-panel form .r3-inquiry-form{align-items:end!important;gap:16px 14px!important}
.r3-inquiry-form>.grunion-field-wrap:has([id$="targetspecifications"]){grid-column:1/-1}
.r3-form-panel .grunion-label-required{font-weight:400;opacity:.7}

/* ---------- Footer ---------- */
.r3-footer-grid{grid-template-columns:1.7fr .9fr 1.1fr 1.1fr 1.8fr!important;gap:28px!important}
@media(max-width:781px){
	.r3-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* ---------- Inner pages: rhythm, heading spacing, closing CTA band ---------- */
.r3-destination{padding-block:clamp(56px,7vw,104px)!important}
#main-content.r3-destination{padding-block:clamp(36px,5vw,64px) clamp(40px,5vw,72px)!important}
.r3-destination .r3-section-inner>h2+p,.r3-destination .r3-reading>h2+p{margin-top:14px!important}
.r3-destination .r3-reading>p+p{margin-top:16px}
.r3-destination .r3-section-inner>p+.wp-block-buttons,#main-content .r3-intro+.wp-block-buttons{margin-top:28px!important}
#main-content .r3-intro+p{margin-top:26px!important;line-height:2.1}
.r3-destination#inquire .r3-section-inner,.r3-destination#next-step .r3-section-inner{max-width:760px!important;margin-inline:auto!important;text-align:center}
.r3-destination#inquire h2,.r3-destination#next-step h2{margin-top:0!important}
.r3-destination#inquire .wp-block-buttons,.r3-destination#next-step .wp-block-buttons{justify-content:center}

/* ---------- Product + catalogue pages: bands run edge to edge, content lines up with the header ---------- */
.entry-content>.mv-product-page,.entry-content>.mv-catalog.alignfull{width:auto!important;max-width:none!important;margin-inline:calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1)!important}
.r3-detail-image img,.r3-business-image img{border-radius:var(--mv-radius-card)!important}
