/* Scoped presentation only. Native WooCommerce interactions remain intact. */
body.vu-market-home{background:var(--vu-home-bg,#f3f5f7)}
.vu-market-home .vu-home-block{padding:14px 0}
.vu-market-home .vu-home-products>.container{background:var(--vu-home-card-bg,#fff);padding:16px;border-radius:var(--vu-home-radius,8px)}
.vu-market-home .vu-market-banner{padding:12px 0 0}
.vu-market-home .vu-market-banner-inner{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:18px;min-height:180px;background:var(--vu-home-intro-bg,#eef2f6);border-radius:var(--vu-home-radius,8px);overflow:hidden}
.vu-market-home .vu-market-banner-copy{padding:22px 26px}
.vu-market-home .vu-market-banner h1{font-size:clamp(22px,2.7vw,34px);line-height:1.15;margin:0 0 8px;letter-spacing:-.02em}
.vu-market-home .vu-market-banner p{font-size:15px;margin:0 0 12px}
.vu-market-home .vu-market-banner .btn{padding:9px 14px;font-size:13px}
.vu-market-home .vu-market-banner-media{height:190px;min-width:0;display:grid;place-items:center}
.vu-market-home .vu-market-banner-media img,.vu-market-home .vu-market-banner-media video{width:100%;height:100%;object-fit:contain;background:transparent}
.vu-market-home .vu-market-banner-icons{font-size:52px;letter-spacing:8px}
.vu-market-home .vu-market-department-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.vu-market-home .vu-market-department{padding:16px;background:var(--vu-home-card-bg,#fff);border:1px solid var(--vu-home-border,#e5e9ef);border-radius:var(--vu-home-radius,8px);display:flex;flex-direction:column;min-width:0}
.vu-market-home .vu-market-department h3{font-size:18px;line-height:1.2;margin:0 0 8px}
.vu-market-home .vu-market-department p{font-size:13px;line-height:1.4;margin:0 0 10px;color:var(--vu-home-muted,#667085)}
.vu-market-home .vu-market-department-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:140px;flex:1}
.vu-market-home .vu-market-department-media img{width:100%;height:85px;object-fit:contain;background:#fafafa;border-radius:6px}
.vu-market-home .vu-market-department-media.is-single{display:block}
.vu-market-home .vu-market-department-media.is-single img{height:180px}
.vu-market-home .vu-market-department-media>span{grid-column:1/-1;align-self:center;text-align:center;font-size:54px}
.vu-market-home .vu-market-department-link{display:block;font-size:13px;margin-top:12px;color:var(--primary-dark);text-align:center}
.vu-market-home .vu-home-products .section-head h2{font-size:22px}
/* Both WooCommerce archive routing and the existing category template. */
.vu-market-category .woocommerce-main{padding-top:20px}
.vu-market-category .woocommerce-products-header__title{font-size:clamp(23px,3vw,32px);line-height:1.2;margin:0 0 8px}
.vu-market-category .woocommerce-products-header{margin-bottom:14px}
.vu-market-category .term-description{font-size:14px;line-height:1.5;max-width:850px}
.vu-market-category .woocommerce-result-count{font-size:13px;margin:10px 0 14px}
.vu-market-category .woocommerce-ordering{margin-bottom:14px}
.vu-market-category .woocommerce-ordering select{font-size:13px;border:1px solid var(--line);border-radius:7px;padding:9px;background:#fff;max-width:100%}
body.vu-market-category ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}
body.vu-market-category ul.products:before,body.vu-market-category ul.products:after{display:none!important}
body.vu-market-category ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:12px!important;border-radius:10px!important;border:1px solid var(--line)}
body.vu-market-category ul.products li.product a img{height:180px!important;min-height:0!important;object-fit:contain;margin-bottom:10px!important}
body.vu-market-category ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.4;min-height:2.8em}
body.vu-market-category ul.products li.product .price{font-size:17px!important;font-weight:750;color:var(--ink)}
body.vu-market-category ul.products li.product .button{min-height:42px;text-align:center;font-size:13px;align-self:stretch;padding:10px 8px}
.vu-market-category .vu-market-category-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px}
.vu-market-category .vu-market-category-chips a{border:1px solid var(--line);border-radius:8px;padding:8px 12px;font-size:13px;background:var(--soft)}
.vu-market-category .vu-cat-hero{padding:18px 0}
.vu-market-category .vu-cat-hero-copy h1{font-size:clamp(23px,3vw,32px);line-height:1.2}
.vu-market-category .vu-cat-hero-grid{grid-template-columns:1fr!important;gap:12px}
.vu-market-category .vu-cat-hero-media{display:none}
.vu-market-category .vu-cat-description{font-size:14px;max-width:850px}
.vu-market-category .vu-subcats-section{padding:0 0 12px}
.vu-market-category .vu-subcats-section .section-head{display:none}
.vu-market-category .vu-subcats-grid{display:flex;flex-wrap:wrap;gap:8px}
.vu-market-category .vu-subcat-card.premium{padding:8px 12px;display:block;border-radius:8px}
.vu-market-category .vu-subcat-media,.vu-market-category .vu-subcat-copy small{display:none}
.vu-market-category .vu-subcat-copy strong{font-size:13px}
.vu-market-category .vu-cat-trust{padding:10px 0}
.vu-market-category .vu-cat-products{padding:12px 0 24px}
.vu-market-category .vu-cat-products-head{display:none}
@media(max-width:760px){
 .vu-market-home .vu-market-banner-inner{grid-template-columns:1.1fr 1fr;min-height:140px;gap:6px}
 .vu-market-home .vu-market-banner-copy{padding:14px 12px}
 .vu-market-home .vu-market-banner h1{font-size:21px}
 .vu-market-home .vu-market-banner p{font-size:12px}
 .vu-market-home .vu-market-banner-media{height:160px}
 .vu-market-home .vu-market-banner-icons{font-size:26px;letter-spacing:0}
 .vu-market-home .vu-market-department-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .vu-market-home .vu-market-department{padding:12px}
 .vu-market-home .vu-market-department h3{font-size:16px}
 .vu-market-home .vu-market-department-media{min-height:100px;gap:6px}
 .vu-market-home .vu-market-department-media img{height:65px}
 .vu-market-home .vu-market-department-media.is-single img{height:120px}
 .vu-market-home .vu-home-products .section-head h2{font-size:19px}
 body.vu-market-category ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.vu-market-category ul.products li.product{padding:9px!important}
 body.vu-market-category ul.products li.product a img{height:135px!important}
 body.vu-market-category ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
 .vu-market-category .woocommerce-ordering select{font-size:16px}
 .vu-market-category .vu-market-category-chips{flex-wrap:nowrap;overflow-x:auto}
 .vu-market-category .vu-market-category-chips a{white-space:nowrap;flex-shrink:0}
}
@media(prefers-reduced-motion:reduce){.vu-market-home *{scroll-behavior:auto!important}}

/* 1.19.13: hide department heading visually; show the entire banner video. */
.vu-market-home .vu-market-departments .section-head{margin-bottom:0}
.vu-market-home .vu-market-departments .section-head:has(p){margin-bottom:14px}
.vu-market-home .vu-market-banner-media.is-video{height:auto;min-width:0;align-self:center}
.vu-market-home .vu-market-banner-media.is-video video{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}

/* 1.19.14: native woocommerce.php category header and stronger archive scope. */
body.vu-market-category .woocommerce-main{padding-top:20px;padding-bottom:30px}
body.vu-market-category .vu-market-archive-header{margin:0 0 12px}
body.vu-market-category .vu-market-archive-header h1{font-size:clamp(23px,3vw,32px);line-height:1.2;margin:0 0 8px}
body.vu-market-category .vu-market-archive-header .woocommerce-breadcrumb{font-size:12px;margin:0 0 10px;color:var(--muted)}
body.vu-market-category.woocommerce-page ul.products li.product a img{height:180px!important;min-height:0!important;object-fit:contain}
body.vu-market-category.woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.4}
@media(max-width:760px){
 body.vu-market-category.woocommerce-page ul.products li.product a img{height:135px!important}
 body.vu-market-category.woocommerce-page ul.products li.product .woocommerce-loop-product__title{font-size:13px!important}
 body.vu-market-category .woocommerce-result-count{float:none;margin:8px 0}
 body.vu-market-category .woocommerce-ordering{float:none;width:100%;margin:0 0 12px}
 body.vu-market-category .woocommerce-ordering select{width:100%}
}
/* 1.19.15: authorized category shopping layout and compact commercial home. */
.vu-market-home .vu-market-banner-inner{min-height:0}
.vu-market-home .vu-market-banner-copy{padding:18px 24px}
.vu-market-home .vu-market-banner h1{font-size:clamp(22px,2.3vw,30px)}
.vu-market-home .vu-market-banner-media.is-video video{max-height:250px;background:transparent}
.vu-market-home.vu-departments-rail .vu-market-department-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:clamp(240px,23%,340px);overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}
.vu-market-home.vu-departments-rail .vu-market-department{scroll-snap-align:start}
.vu-market-home .vu-market-department h3{font-size:20px}
body.vu-market-category .vu-cat-shopping{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:start}
body.vu-market-category .vu-cat-shopping-products{min-width:0}
body.vu-market-category .vu-cat-filter{background:var(--soft,#f5f6f8);border:1px solid var(--line,#e5e9ef);border-radius:9px;padding:14px;font-size:13px}
body.vu-market-category .vu-cat-filter summary{font-size:15px;font-weight:750;cursor:pointer;margin-bottom:16px}
body.vu-market-category .vu-cat-filter fieldset{border:0;border-bottom:1px solid var(--line,#e5e9ef);padding:0 0 16px;margin:0 0 16px}
body.vu-market-category .vu-cat-filter legend{font-size:14px;font-weight:700;padding:0 0 10px}
body.vu-market-category .vu-cat-filter label{display:block;margin:0 0 9px}
body.vu-market-category .vu-cat-filter input[type=checkbox]{width:16px;height:16px;vertical-align:middle;margin:0 5px 0 0;accent-color:#15803d}
body.vu-market-category .vu-cat-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.vu-market-category .vu-cat-price-fields input{width:100%;min-width:0;padding:7px;border:1px solid var(--line);border-radius:6px;background:#fff}
body.vu-market-category .vu-cat-filter .button{width:100%;border:0;border-radius:6px;background:var(--vu-cat-button,#15803d);color:#fff;padding:10px;cursor:pointer}
body.vu-market-category .vu-cat-reset{display:block;text-align:center;margin-top:12px;font-size:12px}
body.vu-market-category .vu-market-category-intro{font-size:15px;line-height:1.5;margin-bottom:12px}
body.vu-market-category .vu-market-category-chips .is-current{background:#ff6900;color:#fff;border-color:#ff6900}
body.vu-market-category.woocommerce-page ul.products li.product{padding:10px!important;display:flex;flex-direction:column;min-width:0}
body.vu-market-category.woocommerce-page ul.products li.product a img{height:180px!important;width:100%!important;object-fit:contain}
body.vu-market-category.woocommerce-page ul.products li.product .price{font-size:20px!important;line-height:1.2}
body.vu-market-category.woocommerce-page ul.products li.product .button{background:var(--vu-cat-button,#15803d)!important;color:#fff!important;border-radius:6px!important;box-shadow:none;min-height:38px;margin-top:auto;font-size:13px;line-height:1.3;padding:9px 6px}
body.vu-market-category.woocommerce-page ul.products li.product .button:hover{background:var(--vu-cat-button-hover,#166534)!important}
body.vu-market-category.woocommerce-page ul.products li.product .added_to_cart{font-size:12px;margin-top:8px}
@media(max-width:1000px) and (min-width:761px){body.vu-market-category .vu-cat-shopping ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:760px){
 .vu-market-home .vu-market-banner-copy{padding:14px 12px}
 .vu-market-home .vu-market-banner-media.is-video video{max-height:180px}
 .vu-market-home.vu-departments-rail .vu-market-department-grid{grid-auto-columns:46%}
 .vu-market-home .vu-market-department h3{font-size:16px}
 body.vu-market-category .vu-cat-shopping{grid-template-columns:1fr;gap:12px}
 body.vu-market-category .vu-cat-filter{padding:10px 12px}
 body.vu-market-category .vu-cat-filter summary{margin-bottom:0}
 body.vu-market-category .vu-cat-filter details[open] summary{margin-bottom:14px}
 body.vu-market-category .vu-cat-price-fields input{font-size:16px}
 body.vu-market-category.woocommerce-page ul.products li.product a img{height:135px!important}
 body.vu-market-category.woocommerce-page ul.products li.product .price{font-size:17px!important}
 body.vu-market-category.woocommerce-page ul.products li.product .button{font-size:12px;min-height:42px}
}

body.vu-market-category .vu-category-delivery-note{display:block;font-size:11px;line-height:1.4;margin:0 0 10px;color:var(--muted)}
/* 1.19.16: direct discovery tiles; no redundant department footer link. */
.vu-market-home .vu-market-department h3 a{color:inherit;text-decoration:none}
.vu-market-home .vu-market-department h3 a:hover{text-decoration:underline}
.vu-market-home .vu-market-product-discovery{display:flex;flex-direction:column;gap:5px;min-width:0;color:var(--ink);text-decoration:none}
.vu-market-home .vu-market-product-discovery span{font-size:11px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vu-market-home .vu-market-product-discovery:hover span{text-decoration:underline}
.vu-market-home .vu-market-department-media.is-single>a{display:block}
.vu-market-home .vu-market-department-media>a>span[aria-hidden]{display:block;text-align:center;font-size:54px;padding:20px}
.vu-market-home.vu-departments-rail .vu-market-department-grid{scrollbar-width:none;-ms-overflow-style:none}
.vu-market-home.vu-departments-rail .vu-market-department-grid::-webkit-scrollbar{display:none}

/* 1.19.19: only homepage content; header, category pages and checkout retain their widths. */
.vu-market-home #primary.vu-home-wide .container{width:calc(100% - 32px);max-width:2000px;margin-inline:auto}
.vu-market-home .vu-market-department-media img{height:clamp(120px,10vw,180px)}
.vu-market-home .vu-market-product-discovery span{font-size:12px}
@media(max-width:760px){
 .vu-market-home #primary.vu-home-wide .container{width:calc(100% - 20px)}
 .vu-market-home .vu-market-department-media img{height:clamp(74px,20vw,110px)}
 .vu-market-home .vu-market-department-media.is-single img{height:140px}
}
