/* NoverivoHome design layer (loaded site-wide by mu-plugin noverivohome-design.php) */
:root{--nvh-navy:#1F2A5A;--nvh-navy-d:#161f44;--nvh-teal:#17B3A3;--nvh-teal-d:#0E8F82;--nvh-ink:#172033;--nvh-mut:#566074;--nvh-line:#e3e8ef;--nvh-bg:#f4f7fa}
/* font stack fallback (webfonts are not self-hosted) */
body,button,input,select,textarea,body p,body li,body td,body th,body label,body a,body h1,body h2,body h3,body h4,body h5,body h6,body .nvh-bleed,body .nvh-bleed *,.nvh-btn,.button{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif!important}
/* global accents (replace theme green) */
body .button,body .button.alt,body button.button,body a.button,body .added_to_cart,body .single_add_to_cart_button,body .checkout-button,body #place_order,body .woocommerce #respond input#submit,body input[type=submit]:not(.nvh-x),body .wpforms-submit,body .wc-block-components-button:not(.is-link){background:var(--nvh-navy)!important;border-color:var(--nvh-navy)!important;color:#fff!important;border-radius:8px!important}
body .button:hover,body .button.alt:hover,body .single_add_to_cart_button:hover,body .checkout-button:hover,body #place_order:hover,body .wpforms-submit:hover{background:var(--nvh-teal-d)!important;border-color:var(--nvh-teal-d)!important}
body .col-full-nav,body .main-navigation,body .shoptimizer-primary-navigation{background:var(--nvh-navy)!important}
body .site-header .col-full-nav .menu-primary-menu-container>ul>li>a,body .main-navigation ul.menu>li>a{color:#fff!important}
a{color:var(--nvh-navy)} a:hover{color:var(--nvh-teal-d)}
body .woocommerce ul.products li.product .woocommerce-loop-product__title a{color:var(--nvh-ink)}
.woocommerce ul.products li.product .price,.price{color:var(--nvh-navy)!important;font-weight:700}
body .onsale,body .badge{background:var(--nvh-teal-d)!important;color:#fff!important}
body h1,body h2,body h3{color:var(--nvh-ink)}
/* full-bleed helper */
.nvh-bleed{width:100vw;position:relative;left:50%;margin-left:-50vw}
.nvh-wrap{max-width:1200px;margin:0 auto;padding:0 20px;box-sizing:border-box}
/* hero */
.nvh-hero{position:relative;min-height:560px;display:flex;align-items:center;background:#eef2f6 center right/cover no-repeat}
.nvh-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.80) 38%,rgba(255,255,255,0) 68%)}
.nvh-hero__in{position:relative;max-width:1200px;width:100%;margin:0 auto;padding:56px 20px;box-sizing:border-box}
.nvh-eyebrow{display:inline-block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--nvh-teal-d);margin:0 0 14px}
.nvh-hero h1{font-size:clamp(32px,4.2vw,54px);line-height:1.08;margin:0 0 18px;max-width:640px;color:var(--nvh-navy)!important;letter-spacing:-.02em}
.nvh-lead{font-size:18px;line-height:1.6;color:var(--nvh-mut);max-width:560px;margin:0 0 28px}
.nvh-cta{display:flex;flex-wrap:wrap;gap:12px}
.nvh-btn{display:inline-block;padding:14px 26px;border-radius:8px;font-weight:700;font-size:15px;text-decoration:none!important;background:var(--nvh-navy);color:#fff!important;border:2px solid var(--nvh-navy)}
.nvh-btn:hover{background:var(--nvh-teal-d);border-color:var(--nvh-teal-d);color:#fff!important}
.nvh-btn--ghost{background:transparent;color:var(--nvh-navy)!important}
.nvh-btn--ghost:hover{background:var(--nvh-navy);color:#fff!important;border-color:var(--nvh-navy)}
/* facts */
.nvh-facts{background:#fff;border-bottom:1px solid var(--nvh-line)}
.nvh-facts .nvh-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.nvh-fact{padding:22px 20px;border-left:1px solid var(--nvh-line)}
.nvh-fact:first-child{border-left:0}
.nvh-fact strong{display:block;font-size:16px;color:var(--nvh-navy);margin-bottom:4px}
.nvh-fact span{font-size:14px;color:var(--nvh-mut);line-height:1.45}
/* sections */
.nvh-sec{padding:64px 0}
.nvh-sec--alt{background:var(--nvh-bg)}
.nvh-h2{font-size:clamp(26px,2.6vw,34px);line-height:1.15;margin:0 0 10px;letter-spacing:-.01em;color:var(--nvh-ink)}
.nvh-sub{font-size:16px;color:var(--nvh-mut);margin:0 0 32px;max-width:680px;line-height:1.6}
/* category tiles */
.nvh-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.nvh-cat{position:relative;display:flex;align-items:flex-end;aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#dfe5ec center right/cover no-repeat;text-decoration:none!important;isolation:isolate;transition:transform .25s,box-shadow .25s}
.nvh-cat:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(23,32,51,0) 35%,rgba(23,32,51,.78) 100%);z-index:-1}
.nvh-cat:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(31,42,90,.18)}
.nvh-cat__t{padding:18px 18px 16px;color:#fff!important}
.nvh-cat__t b{display:block;font-size:19px;line-height:1.2;color:#fff}
.nvh-cat__t small{display:block;font-size:13px;opacity:.9;margin-top:4px;color:#fff}
/* how we work */
.nvh-how{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.nvh-card{background:#fff;border:1px solid var(--nvh-line);border-radius:14px;padding:26px}
.nvh-card h3{font-size:19px;margin:0 0 8px;color:var(--nvh-navy)}
.nvh-card p{margin:0;color:var(--nvh-mut);line-height:1.6;font-size:15px}
.nvh-card:before{content:"";display:block;width:36px;height:4px;border-radius:2px;background:var(--nvh-teal);margin-bottom:16px}
/* about strip */
.nvh-about{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;align-items:center}
.nvh-about p{color:var(--nvh-mut);line-height:1.7;margin:0 0 20px}
/* category archive banners */
.woocommerce-products-header{position:relative;border-radius:0}
body.tax-product_cat .woocommerce-products-header,body.post-type-archive-product .woocommerce-products-header{background:#e9eef3 center right/cover no-repeat;padding:54px 0;margin-bottom:24px;position:relative}
body.tax-product_cat .woocommerce-products-header:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.7) 40%,rgba(255,255,255,0) 70%)}
body.tax-product_cat .woocommerce-products-header>*{position:relative}
body.tax-product_cat .woocommerce-products-header__title{color:var(--nvh-navy)!important;font-size:clamp(28px,3vw,40px);margin-bottom:8px}
/* v2 additions */
.nvh-facts2{margin-top:-34px;position:relative;z-index:6;padding:0 20px}
.nvh-facts2 .nvh-wrap{background:#fff;border-radius:14px;box-shadow:0 16px 44px rgba(31,42,90,.16);display:grid;grid-template-columns:repeat(4,1fr)}
.nvh-fact2{padding:20px 22px;border-left:1px solid var(--nvh-line);display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center}
.nvh-fact2:first-child{border-left:0}
.nvh-fact2 svg{width:38px;height:38px;color:var(--nvh-teal-d)}
.nvh-fact2 strong{display:block;font-size:15.5px;color:var(--nvh-navy)}
.nvh-fact2 span{font-size:13.5px;color:var(--nvh-mut);line-height:1.4;display:block}
.nvh-sec{padding:48px 0}
.nvh-sec--head h2{margin-bottom:6px}
.nvh-card svg{width:34px;height:34px;color:var(--nvh-teal-d);margin-bottom:12px}
.nvh-card:before{display:none}
.nvh-aboutband{background:linear-gradient(180deg,#eef3f8 0%,#e6edf5 100%)}
.nvh-about2{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center}
.nvh-photo{border-radius:18px;min-height:480px;background:#d9e1ea center/cover no-repeat;box-shadow:0 22px 56px rgba(31,42,90,.22)}
.nvh-aboutp{color:var(--nvh-mut);line-height:1.7;margin:0 0 14px}
.nvh-ticks{list-style:none;margin:0 0 20px;padding:0;display:grid;gap:8px}
.nvh-ticks li{position:relative;padding-left:28px;color:var(--nvh-ink);font-weight:600}
.nvh-ticks li:before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:50%;background:var(--nvh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
.nvh-datacard{margin-top:20px}
.nvh-datacard h3{margin:0 0 6px!important}
/* highlighted prices */
body .price,body .woocommerce-Price-amount,body ul.products li.product .price .amount,body .summary .price .amount{color:var(--nvh-teal-d)!important;font-weight:800!important}
body ul.products li.product .price{display:inline-block;background:#e6f6f4;border-radius:8px;padding:4px 12px;font-size:1.12em}
body ul.products li.product .price del,body .price del .amount{color:#8a93a6!important;font-weight:500!important;opacity:.8}
body ul.products li.product .price ins{background:none;text-decoration:none}
body .single-product .summary .price{font-size:2em;display:block;margin:6px 0 14px}
body .widget .price,body .cart_item .amount,body .woocommerce-mini-cart .amount{color:var(--nvh-teal-d)!important;font-weight:800}
@media(max-width:900px){.nvh-facts2 .nvh-wrap{grid-template-columns:repeat(2,1fr)}.nvh-fact2:nth-child(3){border-left:0}.nvh-fact2:nth-child(n+3){border-top:1px solid var(--nvh-line)}.nvh-about2{grid-template-columns:1fr}.nvh-photo{min-height:300px}}
@media(max-width:520px){.nvh-facts2 .nvh-wrap{grid-template-columns:1fr}.nvh-fact2{border-left:0;border-top:1px solid var(--nvh-line)}.nvh-fact2:first-child{border-top:0}}
/* service pages */
body.nvh-service .entry-content{max-width:900px;margin-left:auto;margin-right:auto}
body.nvh-service .entry-content>h1:first-child{display:block;background:linear-gradient(90deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.7) 52%,rgba(255,255,255,0) 85%),url(/wp-content/uploads/2026/10/nvh/page.webp) center right/cover no-repeat;border-radius:14px;padding:58px 36px;margin:0 0 28px;color:var(--nvh-navy)!important;font-size:clamp(28px,3.2vw,40px);line-height:1.1;letter-spacing:-.01em;overflow:hidden}
body.nvh-service .entry-content h2{font-size:24px;margin:34px 0 10px;padding-top:14px;border-top:1px solid var(--nvh-line)}
body.nvh-service .entry-content h3{font-size:18px;margin:22px 0 8px}
body.nvh-service .entry-content table{width:100%;border-collapse:collapse;margin:14px 0 22px;font-size:15px}
body.nvh-service .entry-content th,body.nvh-service .entry-content td{border:1px solid var(--nvh-line);padding:10px 12px;text-align:left;vertical-align:top}
body.nvh-service .entry-content th{background:var(--nvh-bg);color:var(--nvh-navy)}
body.nvh-service .entry-content ul,body.nvh-service .entry-content ol{line-height:1.7}
body.nvh-service .entry-content p{line-height:1.7}
@media(max-width:900px){.nvh-facts .nvh-wrap{grid-template-columns:repeat(2,1fr)}.nvh-fact:nth-child(3){border-left:0}.nvh-cats{grid-template-columns:repeat(2,1fr)}.nvh-how{grid-template-columns:1fr}.nvh-about{grid-template-columns:1fr}.nvh-hero{min-height:480px}.nvh-hero:before{background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.75) 60%,rgba(255,255,255,.35) 100%)}.nvh-sec{padding:44px 0}}
@media(max-width:520px){.nvh-facts .nvh-wrap{grid-template-columns:1fr}.nvh-fact{border-left:0;border-top:1px solid var(--nvh-line)}.nvh-fact:first-child{border-top:0}}
/* recolour legacy green accents */
body .cv-hero__cta,body .widget-image-caption span,body .cv-brand__cta{background:var(--nvh-navy)!important;color:#fff!important;border-color:var(--nvh-navy)!important}
body .cv-hero__cta:hover,body .widget-image-caption span:hover{background:var(--nvh-teal-d)!important}
body .cv-brand__cta{background:#fff!important;color:var(--nvh-navy)!important}
body .cv-hero__eyebrow,body .cv-hero__kicker{color:var(--nvh-teal-d)!important}
/* v3: visual "Why shop" cards */
.nvh-how--visual{gap:24px;align-items:stretch}
.nvh-how--visual .nvh-hcard{padding:0;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 30px rgba(31,42,90,.08);transition:transform .25s ease,box-shadow .25s ease}
.nvh-how--visual .nvh-hcard:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(31,42,90,.14)}
.nvh-hcard__img{position:relative;margin:0;aspect-ratio:16/10;overflow:hidden;background:#e9edf1}
.nvh-hcard__img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;transition:transform .6s ease}
.nvh-hcard:hover .nvh-hcard__img img{transform:scale(1.04)}
.nvh-hcard__icon{position:absolute;left:20px;bottom:-22px;width:48px;height:48px;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 6px 18px rgba(31,42,90,.18)}
.nvh-card .nvh-hcard__icon svg{width:24px;height:24px;margin:0;color:var(--nvh-teal-d)}
.nvh-hcard__body{padding:34px 24px 26px}
.nvh-hcard__body h3{font-size:19px;line-height:1.3;margin:0 0 10px;text-wrap:balance}
.nvh-hcard__body p{font-size:15px;line-height:1.65;text-wrap:pretty;hyphens:manual;overflow-wrap:normal}
.nvh-sub{text-wrap:pretty}
@media (max-width:900px){.nvh-how--visual{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.nvh-how--visual{grid-template-columns:1fr}.nvh-hcard__body{padding:32px 20px 22px}}

/* 12.10 fix: facts card must not cover the hero button on tablet/phone */
@media (max-width:1024px){
  .nvh-facts2{margin-top:18px}
}
@media (max-width:640px){
  .nvh-facts2{padding:0 14px}
  .nvh-facts2 .nvh-wrap{grid-template-columns:1fr 1fr;border-radius:12px;box-shadow:0 8px 24px rgba(31,42,90,.12)}
  .nvh-facts2 .nvh-fact2{grid-template-columns:1fr;gap:6px;padding:14px 12px;align-items:start;border-left:0;border-top:0}
  .nvh-facts2 .nvh-fact2:nth-child(2n){border-left:1px solid var(--nvh-line)}
  .nvh-facts2 .nvh-fact2:nth-child(n+3){border-top:1px solid var(--nvh-line)}
  .nvh-facts2 .nvh-fact2 svg{width:26px;height:26px}
  .nvh-facts2 .nvh-fact2 strong{font-size:13.5px;line-height:1.3}
  .nvh-facts2 .nvh-fact2 span{font-size:12px;line-height:1.4}
}

/* 12.10 fix: category banner text readable — description sits on a light card, photo stays visible */
body.tax-product_cat .woocommerce-products-header{padding:40px 36px;min-height:260px;display:flex;align-items:center}
body.tax-product_cat .woocommerce-products-header:before{background:linear-gradient(90deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.15) 45%,rgba(255,255,255,0) 65%)}
body.tax-product_cat .woocommerce-products-header .term-description{max-width:520px;background:rgba(255,255,255,.95);border-radius:12px;padding:22px 26px;box-shadow:0 12px 32px rgba(31,42,90,.14);color:#1f2a37}
body.tax-product_cat .woocommerce-products-header .term-description p{margin:0 0 .6em;font-size:15px;line-height:1.62;color:#1f2a37;text-wrap:pretty}
body.tax-product_cat .woocommerce-products-header .term-description p:last-child{margin-bottom:0}
@media (max-width:1024px){
  body.tax-product_cat .woocommerce-products-header .term-description{max-width:60%}
}
@media (max-width:767px){
  body.tax-product_cat .woocommerce-products-header{display:block;min-height:0;padding:calc(62.5% + 16px) 0 4px!important;background-color:#fff!important;background-size:100% auto!important;background-position:center top!important;border-radius:10px}
  body.tax-product_cat .woocommerce-products-header:before{display:none}
  body.tax-product_cat .woocommerce-products-header .term-description{max-width:none;background:none;box-shadow:none;padding:0;border-radius:0}
  body.tax-product_cat .woocommerce-products-header .term-description p{font-size:14.5px}
}
@media (max-width:767px){
  html body.tax-product_cat header.woocommerce-products-header{background-size:100% auto!important;background-position:center top!important;background-color:#fff!important}
}

/* 12.10 visual audit: tablet/phone hero arrows to bottom-right (were over the hero text); carousel arrows inside viewport (page was 8px wider than screen) */
@media (max-width:1024px){
  .cv-hero__controls{align-items:flex-end!important;justify-content:flex-end!important;gap:10px!important;padding:0 18px 18px!important;box-sizing:border-box}
  .cv-carousel__next{right:6px!important}
  .cv-carousel__prev{left:6px!important}
}

/* 12.10 visual audit: policy tables on phones scroll inside their box (5-column shipping table made the whole page 100px wider than the screen) */
@media (max-width:767px){
  .entry-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .entry-content table td,.entry-content table th{min-width:96px;font-size:13px!important;line-height:1.45}
}
