/* =========================================================
   VicMos Wellness Theme 3.8
   Homepage polish, mobile overflow protection and lighter surfaces.
========================================================= */
:root{
  --vwt-surface:#ffffff;
  --vwt-surface-soft:#f8faf8;
  --vwt-surface-green:#eef7f2;
  --vwt-surface-cream:#fff9ef;
  --vwt-ink:#17231d;
  --vwt-text:#66716b;
  --vwt-line:#e3e9e5;
}
html,body{max-width:100%;overflow-x:hidden}
.vwt-page-content,.vms2-home,.vms2-home *{box-sizing:border-box}
.vms2-home{max-width:100%;overflow:hidden;background:#fff;color:var(--vwt-ink)}
.vms2-container{width:min(1180px,calc(100% - 36px));max-width:100%;margin-inline:auto}

/* Brand color is used as an accent, not as a large wall of color. */
.vms2-order-banner,.vms2-delivery,.vms2-final{
  color:var(--vwt-ink)!important;
  background:radial-gradient(circle at 10% 10%,rgba(46,125,89,.08),transparent 30%),radial-gradient(circle at 92% 12%,rgba(209,154,58,.10),transparent 27%),#f8faf8!important;
}
.vms2-order-banner h2,.vms2-delivery h2,.vms2-final h2,.vms2-delivery-card h3{color:var(--vwt-ink)!important}
.vms2-order-banner p,.vms2-delivery p,.vms2-final p,.vms2-delivery-card p{color:var(--vwt-text)!important}
.vms2-order-kicker,.vms2-delivery .vms2-kicker,.vms2-final-kicker{color:#2e7d59!important}
.vms2-delivery-card{background:#fff!important;color:var(--vwt-ink)!important;border:1px solid var(--vwt-line)!important;box-shadow:0 12px 32px rgba(31,67,49,.045)}
.vms2-delivery-primary{background:linear-gradient(145deg,#edf7f1,#fafcfb)!important}
.vms2-path-shop{background:linear-gradient(145deg,#edf7f1,#fbfdfc)!important;color:var(--vwt-ink)!important}
.vms2-path-consult{background:linear-gradient(145deg,#fff7ea,#fffdf9)!important;color:var(--vwt-ink)!important}
.vms2-path-shop h2,.vms2-path-consult h2{color:var(--vwt-ink)!important}
.vms2-path-shop p,.vms2-path-consult p{color:var(--vwt-text)!important}
.vms2-btn-white{background:#21644a!important;color:#fff!important}

/* Home grid safety */
.vms2-hero-grid,.vms2-needs-grid,.vms2-guide-grid,.vms2-path-grid,.vms2-delivery-grid,.vms2-benefit-grid{min-width:0;max-width:100%}
.vms2-hero-grid>* ,.vms2-needs-grid>* ,.vms2-guide-grid>* ,.vms2-path-grid>* ,.vms2-delivery-grid>* ,.vms2-benefit-grid>*{min-width:0}
.vms2-product-shell{max-width:100%;overflow:hidden}
.vms2-product-shell ul.products{max-width:100%}

@media(max-width:960px){
  .vms2-hero-grid,.vms2-path-grid,.vms2-delivery-grid{grid-template-columns:1fr!important}
  .vms2-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:640px){
  .vms2-container{width:calc(100% - 24px)!important}
  .vms2-hero-grid,.vms2-needs-grid,.vms2-guide-grid,.vms2-path-grid,.vms2-delivery-grid,.vms2-benefit-grid{display:grid!important;grid-template-columns:1fr!important;width:100%!important;gap:12px!important}
  .vms2-need-card,.vms2-guide-card,.vms2-delivery-card,.vms2-path-grid article{width:100%!important;min-width:0!important;grid-column:auto!important}
  .vms2-need-card{grid-template-columns:38px minmax(0,1fr) 20px!important}
  .vms2-need-card strong,.vms2-need-card small{overflow-wrap:anywhere}
  .vms2-product-shell ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
  .vms2-product-shell ul.products li.product{float:none!important;clear:none!important;width:100%!important;min-width:0!important;margin:0!important}
  .vms2-journal-head h2{font-size:34px!important;line-height:1.08!important}
  body{padding-bottom:max(88px,env(safe-area-inset-bottom))}
}
@media(max-width:380px){.vms2-product-shell ul.products{grid-template-columns:1fr!important}}

/* Product experience 4.5 */
.vwt-product-offer-strip{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 18px;background:#e9f7ec;color:#124f32!important;text-decoration:none!important;text-align:center;border-bottom:1px solid #d4ebda}
.vwt-product-offer-strip strong{font-size:14px;line-height:1.35}
@media(min-width:783px){.single-product div.product .woocommerce-product-gallery{padding:16px;border:1px solid #e4ebe6;border-radius:24px;background:#fff;box-shadow:0 12px 36px rgba(17,65,43,.06)}.single-product .woocommerce-product-gallery__image a{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;padding:20px;background:#fbfcfb;border-radius:18px;overflow:hidden}.single-product .woocommerce-product-gallery__image img{width:100%!important;height:100%!important;max-height:610px;object-fit:contain}.single-product .flex-control-thumbs{display:flex;gap:10px;margin-top:12px!important}.single-product .flex-control-thumbs li{width:72px!important}.single-product .flex-control-thumbs img{width:72px!important;height:72px!important;object-fit:contain;padding:5px;border:1px solid #e2e9e4;border-radius:11px}}
