/* P16z #376: shared cart badge color (native pages omit app.css) */
.vb-native-page, .vb-demo {
  --cart-badge-bg: #b12704;
  --cart-badge-fg: #fff;
}
/* Native demo documents share this small reset; imported styles remain scoped to their template. */
@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn-Regular.woff2') format('woff2');font-weight:100 900;font-display:swap}
body.vb-preview,body.vb-native-page{margin:0;background:#fff;color:#172026;font-family:Vazirmatn,Tahoma,sans-serif}
.container.vb-native-shell{width:100%;max-width:none;margin:0;padding:0;border-radius:0;background:transparent}
.vb-native-shell>.public-main{padding:0;margin:0;max-width:none}.vb-native-page .tabbar{display:none!important}.vb-native-page .skip{position:absolute;inset-inline-start:12px;top:-80px;z-index:9999;padding:12px;background:#fff;color:#111}.vb-native-page .skip:focus{top:12px}
.vb-demo{display:flow-root;isolation:isolate;width:100%;margin:0;padding:0;color:#172026;background:#fff;font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;font-weight:400;line-height:1.7;text-align:start;overflow-wrap:break-word}
.vb-demo :where(*){box-sizing:border-box;min-width:0}
.vb-demo :where(h1,h2,h3,h4,h5,h6,p,ul,ol,dl,figure,blockquote,form,fieldset){margin:0;padding:0;font-size:inherit;line-height:inherit;letter-spacing:normal;color:inherit;max-width:none}
.vb-demo :where(h1,h2,h3,h4,h5,h6,strong,b){font-weight:700}.vb-demo :where(a){color:inherit;text-decoration:none}.vb-demo :where(img){max-width:100%;height:auto;display:block}.vb-demo :where(svg){display:inline-block;flex-shrink:0}.vb-demo :where(button,input,textarea,select){font:inherit;line-height:inherit;color:inherit;max-width:100%}.vb-demo :where(button){cursor:pointer}.vb-demo :where(table){border-collapse:collapse;max-width:100%}.vb-demo :where([hidden]){display:none!important}.vb-demo :where(:focus-visible){outline:3px solid currentColor;outline-offset:3px}.vb-demo .vb-section{display:contents}.vb-demo .vb-screen-reader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vb-demo .sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.vb-sample-notice{position:relative;z-index:1000;padding:8px 16px;background:#fff6dc;color:#56400c;font:13px/1.7 Vazirmatn,"Vazirmatn Fallback",Tahoma,sans-serif;text-align:center;border-bottom:1px solid #eadcb5;min-height:52px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}
.vb-demo .vb-menu-control{position:relative;display:inline-flex}.vb-demo .vb-native-menu{position:absolute;top:100%;inset-inline-end:0;z-index:999;display:flex;flex-direction:column;min-width:220px;max-width:90vw;padding:12px;border:1px solid #dce2e7;border-radius:12px;background:#fff;color:#172026;box-shadow:0 8px 30px #17202622}.vb-demo .vb-native-menu a{display:block;padding:10px 12px;min-height:44px;border-radius:8px}.vb-demo .vb-native-menu a:hover{background:#f2f5f8}
.vb-demo .vb-live-catalog,.vb-demo .vb-live-services,.vb-demo .vb-native-catalog,.vb-demo .vb-native-services{max-width:1320px;width:100%;margin:24px auto;padding:20px;display:block}
.vb-demo .vb-live-product-grid,.vb-demo .vb-live-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.vb-demo .vb-live-product,.vb-demo .vb-live-services>article{display:flex;flex-direction:column;gap:12px;min-width:0;padding:16px;background:#fff;color:#172026;border:1px solid #dce2e7;border-radius:var(--vb-radius,16px)}
.vb-demo .vb-live-product img{width:100%;aspect-ratio:1;object-fit:contain;border-radius:calc(var(--vb-radius,16px)/2)}.vb-demo .vb-live-product h3,.vb-demo .vb-live-services h3{font-size:18px;font-weight:700;line-height:1.65;margin:0}.vb-demo .vb-live-product p,.vb-demo .vb-live-services p{font-size:14px;line-height:1.8;margin:0}.vb-demo .vb-live-product strong{margin-top:auto}.vb-demo .price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.vb-demo .compare-at{color:#5c6b76;font-weight:500;text-decoration:line-through}.vb-demo .discount-pct{color:#9a3412;font-weight:700}.vb-demo .promo-note{display:block;width:100%;color:#9a3412;font-size:13px;font-weight:600;line-height:1.7}
.vb-demo .vb-action,.vb-demo .vb-live-search button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid currentColor;border-radius:var(--vb-radius,12px);font:inherit;text-decoration:none;background:var(--vb-primary,#173e58);color:var(--vb-on-primary,#fff);cursor:pointer}
.vb-demo .vb-live-search{margin:0 0 20px;max-width:720px;display:block}.vb-demo .vb-live-search label{display:block;margin:0 0 8px;font-weight:700}.vb-demo .vb-live-search>div{display:flex;gap:10px}.vb-demo .vb-live-search input{flex:1;min-width:0;min-height:44px;border:1px solid #b3bcc4;border-radius:10px;padding:8px 12px;background:white;color:#172026}
.vb-demo .vb-live-categories,.vb-demo .vb-live-pagination{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.vb-demo .vb-live-categories>a,.vb-demo .vb-live-pagination>a{min-height:44px;padding:10px 16px;border:1px solid #c9d1d8;border-radius:30px;color:#172026;background:#fff}.vb-demo .vb-live-categories>a[aria-current]{border-color:currentColor;font-weight:700}
.vb-demo .vb-empty{grid-column:1/-1;padding:24px;background:#f4f6f8;border-radius:12px;color:#4b5964;line-height:1.9}.vb-demo .vb-shop-contact{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:center;padding:24px;border-top:1px solid #dce2e7;background:#fff;color:#172026}.vb-demo .vb-shop-contact>p{margin:0}.vb-demo .vb-shop-contact>a{text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}.vb-demo .vb-form-notice{margin-top:12px;padding:12px;border:1px solid #dce2e7;border-radius:8px;font-size:13px;line-height:1.8;background:#fff;color:#33434f}.vb-demo .vb-form-notice a{text-decoration:underline}
.vb-demo [data-visual-form="preview"] input,.vb-demo [data-visual-form="preview"] textarea,.vb-demo [data-visual-form="preview"] select{max-width:100%}
.vb-demo .vb-system-page{max-width:760px;margin:40px auto;padding:32px;display:grid;gap:20px;border:1px solid #dce2e7;border-radius:var(--vb-radius,16px);background:#fff;color:#172026}.vb-demo .vb-system-page h1{font-size:clamp(24px,4vw,36px)}.vb-demo .vb-system-page .vb-action{justify-self:start}
@media(max-width:1024px){.vb-demo .vb-live-product-grid,.vb-demo .vb-live-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.vb-demo .vb-live-product-grid,.vb-demo .vb-live-services{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vb-demo .vb-live-catalog,.vb-demo .vb-live-services{padding:12px}.vb-demo .vb-live-product{padding:10px}.vb-demo .vb-live-product h3{font-size:16px}.vb-demo .vb-live-search>div{flex-wrap:wrap}.vb-demo .vb-live-search input{flex-basis:65%}}
@media(max-width:360px){.vb-demo .vb-live-product-grid,.vb-demo .vb-live-services{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.vb-demo *,.vb-demo *:before,.vb-demo *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Prices, order fields and gallery controls are server-owned inside the chosen demo geometry. */
.vb-demo .vb-commerce-container{max-width:1340px;margin:0 auto;padding:28px 24px 48px;color:inherit}
.vb-demo dialog:not([open]){display:none!important}.vb-demo dialog::backdrop{background:#10182080}
.vb-preview .vb-demo:has([aria-modal="true"][aria-hidden="false"]),.vb-preview .vb-demo[data-visual-overlay-open="true"]{position:relative;z-index:10000}
.vb-preview .vb-demo[data-demo="plumberman"]{padding-top:0!important}.vb-preview .vb-demo[data-demo="plumberman"] :is(.pm-topbar,.pm-header){position:relative!important;top:auto!important}
.vb-demo[data-demo="amazon-to"] .hd2-l>a{flex-shrink:0}
.vb-demo .vb-commerce-container :where(h1){font-size:clamp(23px,3vw,34px);font-weight:800;line-height:1.6;margin:10px 0 18px}.vb-demo .vb-commerce-container :where(h2){font-size:22px;font-weight:700;line-height:1.7;margin:0 0 16px}.vb-demo .vb-commerce-container :where(h3){font-size:18px;font-weight:700}
.vb-demo .vb-commerce-container :where(.breadcrumbs){font-size:13px;margin-bottom:24px;line-height:2;color:#56626a}.vb-demo .vb-commerce-container :where(.breadcrumbs a){text-decoration:underline;text-underline-offset:3px}
.vb-demo [data-visual-commerce-grid="product"]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:start}.vb-demo [data-visual-commerce-grid="product"]:has(>[data-visual-commerce-purchase]){grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) minmax(240px,.8fr)}
.vb-demo .vb-commerce-container :where(.product-gallery){display:block;width:100%;min-width:0}.vb-demo .vb-commerce-container :where(.product-gallery-stage){position:relative;display:grid;place-items:center;border:1px solid #e0e5e9;border-radius:var(--vb-radius);overflow:hidden;background:#fff}.vb-demo .vb-commerce-container :where(.detail-photo){display:block;width:100%;height:auto;max-height:580px;aspect-ratio:1;object-fit:contain}
@media(max-width:760px){
  /* P23 #130: gallery cap so price+ATC sit in first screen under title (amazon-to header ~220px) */
  .vb-demo .vb-commerce-container :where(.detail-photo),
  .vb-native-page .vb-commerce-container :where(.detail-photo){
    max-height:min(28vh,160px)!important;aspect-ratio:auto;object-fit:contain
  }
  .vb-demo .vb-commerce-container :where(.product-gallery-stage),
  .vb-native-page .vb-commerce-container :where(.product-gallery-stage){
    max-height:min(28vh,160px)
  }
  /* thumbs sit under photo; keep gallery column from eating first-screen ATC budget */
  .vb-native-page .vb-commerce-container [data-visual-commerce-gallery]{
    max-height:min(36vh,210px);overflow:hidden
  }
  .vb-native-page .vb-commerce-container :where(.gallery){gap:4px;padding:2px;margin:0;max-height:44px}
  .vb-native-page .vb-commerce-container :where(.gallery a){flex:0 0 36px}
  .vb-native-page .vb-commerce-container :where(.gallery img){width:36px;height:36px}
  .vb-native-page .vb-commerce-container :where(.gallery-count){margin:0;font-size:11px;line-height:1.2}
  .vb-demo .vb-commerce-container :where(.gallery),
  .vb-native-page .vb-commerce-container :where(.gallery){gap:4px;padding:2px;margin:0}
  .vb-demo .vb-commerce-container :where(.gallery a),
  .vb-native-page .vb-commerce-container :where(.gallery a){flex:0 0 40px}
  .vb-demo .vb-commerce-container :where(.gallery img),
  .vb-native-page .vb-commerce-container :where(.gallery img){width:40px;height:40px}
  .vb-demo .vb-commerce-container :where(.gallery-count),
  .vb-native-page .vb-commerce-container :where(.gallery-count){margin:2px 0;font-size:11px;line-height:1.2}
  .vb-native-page .vb-commerce-container [data-visual-commerce-grid="product"]{
    display:flex;flex-direction:column;gap:6px
  }
  .vb-native-page .vb-commerce-container [data-visual-commerce-gallery]{order:1}
  .vb-native-page .vb-commerce-container [data-visual-commerce-details]{order:2}
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase]{order:3;margin:0}
  .vb-native-page .vb-commerce-container [data-visual-commerce-details] h1,
  .vb-native-page .vb-commerce-container .detail h1{margin:4px 0 6px;font-size:clamp(18px,4.5vw,24px);line-height:1.35}
  /* P23 #130: keep price + ATC tight under title */
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase] .price{margin:4px 0;font-size:22px}
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase] .form-footer{margin-top:6px}
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase] .notice{margin:4px 0;padding:6px 8px;font-size:12px;line-height:1.4}
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase] .promo-note{display:none} /* first-purchase promo; ATC stays */
  .vb-native-page .vb-commerce-container [data-visual-commerce-purchase] .form-hint{display:none} /* guest hint; ATC stays visible */
  .vb-native-page .vb-commerce-container .product-short-description,
  .vb-native-page .vb-commerce-container .product-jump-links{order:4}
}
.vb-demo .vb-commerce-container :where(.gallery-arrow){position:absolute;top:45%;border:1px solid #cfd6dc;border-radius:50%;background:#fff;color:#172026;width:42px;height:42px;font-size:26px;display:grid;place-items:center;z-index:1}.vb-demo .vb-commerce-container :where(.gallery-prev){inset-inline-start:10px}.vb-demo .vb-commerce-container :where(.gallery-next){inset-inline-end:10px}.vb-demo .vb-commerce-container :where(.gallery-count){text-align:center;font-size:12px;color:#56626a;margin:8px}.vb-demo .vb-commerce-container :where(.gallery){display:flex;gap:10px;overflow:auto;padding:4px}.vb-demo .vb-commerce-container :where(.gallery a){flex:0 0 70px;border:1px solid #dce2e7;border-radius:8px;overflow:hidden}.vb-demo .vb-commerce-container :where(.gallery img){display:block;width:70px;height:70px;object-fit:contain}.vb-demo .vb-commerce-container :where(.gallery a[aria-current="true"]){border-color:var(--vb-primary);outline:1px solid var(--vb-primary)}
.vb-demo .vb-commerce-container :where(.badge){display:inline-flex;padding:4px 10px;border-radius:30px;background:#edf2f5;font-size:12px;line-height:1.7}.vb-demo .vb-commerce-container :where(.price){display:block;font-size:26px;font-weight:800;margin:18px 0}.vb-demo .vb-commerce-container :where(.product-short-description){line-height:2;margin:12px 0}.vb-demo .vb-commerce-container :where(.product-jump-links){display:flex;flex-wrap:wrap;gap:16px;margin:16px 0}.vb-demo .vb-commerce-container :where(.product-jump-links a){text-decoration:underline;text-underline-offset:4px}.vb-demo .vb-commerce-container :where(.notice){padding:14px;margin:14px 0;border:1px solid #dce2e7;border-radius:var(--vb-radius);background:#f5f8fa;color:#33434f;line-height:1.9;font-size:14px}.vb-demo .vb-commerce-container :where(.notice.error){background:#fff1ee;border-color:#f1b7ad;color:#8b2c1c}
.vb-demo .vb-commerce-container :where(.card){background:#fff;color:#172026;border:1px solid #dce2e7;border-radius:var(--vb-radius);padding:22px;min-width:0}.vb-demo .vb-commerce-container :where(.stack,.vb-commerce-copy){display:grid;gap:20px}.vb-demo .vb-commerce-copy{margin-top:32px}.vb-demo .vb-commerce-container :where(.split){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:24px;align-items:start}.vb-demo .vb-commerce-container :where(.line){display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid #e4e9ed}.vb-demo .vb-commerce-container :where(.line:last-child){border-bottom:0}.vb-demo .vb-commerce-container :where(.total){font-size:19px;font-weight:800}.vb-demo .vb-commerce-container :where(.mini-product){display:flex;gap:14px;align-items:center;min-width:0}.vb-demo .vb-commerce-container :where(.mini-product img){width:54px;height:54px;flex:0 0 54px;object-fit:contain;border-radius:8px}.vb-demo .vb-commerce-container :where(small){font-size:12px;line-height:1.8}.vb-demo .vb-commerce-container :where(.narrow){max-width:760px;margin:24px auto}.vb-demo .vb-commerce-container :where(.progress){display:flex;gap:12px;flex-wrap:wrap;font-size:13px;margin:0 0 18px}.vb-demo .vb-commerce-container :where(.current){font-weight:800;color:var(--vb-primary)}
.vb-demo .vb-commerce-container :where(.btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid transparent;border-radius:var(--vb-radius);font:inherit;font-weight:700;line-height:1.7;background:var(--vb-primary,#173e58);color:#fff;cursor:pointer;text-decoration:none;text-align:center}.vb-demo .vb-commerce-container :where(.btn.secondary){background:#fff;color:#172026;border-color:#bcc9d2}.vb-demo .vb-commerce-container :where(.btn.danger){background:#C6283A;color:#fff;border-color:#C6283A}.vb-demo .vb-commerce-container :where(.btn.danger:hover){background:#A81428}.vb-demo .vb-commerce-container :where(.btn.full){width:100%}.vb-demo .vb-commerce-container :where(.btn.small){padding:7px 12px;font-size:13px}.vb-demo .vb-commerce-container :where(.btn svg){width:20px;height:20px}.vb-demo .vb-commerce-container :where(.actions,.form-footer){display:flex;flex-wrap:wrap;align-items:center;gap:10px}.vb-demo .vb-commerce-container :where(.form-footer){margin-top:18px}.vb-demo .vb-commerce-container :where(.form-footer form){display:flex;flex-wrap:wrap;gap:10px}
.vb-demo .vb-commerce-container :where(label){display:block;font-size:14px;font-weight:700;margin-bottom:7px}.vb-demo .vb-commerce-container :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select){width:100%;min-height:44px;padding:10px 12px;background:#fff;border:1px solid #b7c3cb;border-radius:10px;color:#172026;font:inherit;line-height:1.7}.vb-demo .vb-commerce-container :where(input[type="checkbox"],input[type="radio"]){width:20px;height:20px;margin:0;flex:0 0 20px;accent-color:var(--vb-primary)}.vb-demo .vb-commerce-container :where(.field){margin-bottom:16px}.vb-demo .vb-commerce-container :where(.check){display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:16px 0}.vb-demo .vb-commerce-container :where(.form-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.vb-demo .vb-commerce-container :where(.field.full){grid-column:1/-1}.vb-demo .vb-commerce-container :where(details){border-block:1px solid #dce2e7;padding:14px 0}.vb-demo .vb-commerce-container :where(summary){cursor:pointer;min-height:32px}.vb-demo .vb-commerce-container :where(details p,.product-long-description){white-space:pre-line;line-height:2}.vb-demo .vb-commerce-container :where(table){width:100%;margin:14px 0}.vb-demo .vb-commerce-container :where(th,td){padding:12px;border-bottom:1px solid #e0e6eb;text-align:start}.vb-demo .vb-commerce-container :where(.screen-reader){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1000px){.vb-demo [data-visual-commerce-grid="product"]:has(>[data-visual-commerce-purchase]){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.vb-demo [data-visual-commerce-purchase]{grid-column:1/-1}}
@media(max-width:700px){.vb-demo .vb-commerce-container{padding:18px 14px 32px}.vb-demo [data-visual-commerce-grid="product"],.vb-demo [data-visual-commerce-grid="product"]:has(>[data-visual-commerce-purchase]),.vb-demo .vb-commerce-container :where(.split,.form-grid){grid-template-columns:minmax(0,1fr);gap:18px}.vb-demo .vb-commerce-container :where(.card){padding:16px}.vb-demo .vb-commerce-container :where(.line){gap:10px;flex-wrap:wrap}.vb-demo .vb-commerce-container :where(.mini-product){flex:1 1 180px}.vb-demo .vb-commerce-container :where(.detail-photo){max-height:min(38vh,240px)}.vb-demo .vb-commerce-container :where(.form-footer .btn){flex:1 1 auto}}
.vb-demo form.vb-search{display:flex;align-items:center;gap:8px;flex-wrap:nowrap;width:min(100%,640px);max-width:100%;position:relative;margin:12px 0}
.vb-demo form.vb-search input[type="search"]{flex:1 1 auto;min-width:0;width:auto;min-height:48px;border:1px solid #c5d0d6;border-radius:12px;padding:8px 14px;background:#fff}
.vb-demo form.vb-search button{flex:0 0 auto;min-height:48px;border:0;border-radius:12px;padding:0 18px;background:#07325a;color:#fff}
.vb-demo .vb-commerce-container [data-cart-line] img{display:block;width:54px;height:54px;object-fit:cover}
.vb-demo .vb-commerce-container [data-cart-line] form{width:auto;flex:0 0 auto}
.vb-demo .vb-commerce-container [data-cart-line] input[name="qty"]{width:72px;min-width:72px;flex:0 0 72px}
.vb-native-page,.vb-demo{overflow-x:clip}
.vb-demo :where(h1,h2,img,video,table,.sb-brand){max-width:100%}
.vb-demo h1,.vb-page-title{overflow-wrap:anywhere}
.vb-demo :is([class*="why"],[class*="benefit"],.sb-benefits){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.vb-demo :is([class*="why"],[class*="benefit"],.sb-benefits) :is(h2,h3,p,li){overflow-wrap:break-word;word-break:normal}
@media(max-width:640px){.vb-demo :is([class*="why"],[class*="benefit"],.sb-benefits){grid-template-columns:1fr !important}}
.vb-demo form[data-search-styled],.vb-demo form.header-search,.vb-demo form.vb-search{display:flex;align-items:center;gap:8px;width:100%;min-width:0;grid-template-columns:minmax(0,1fr) auto !important}
.vb-demo form[data-search-styled] button,.vb-demo form.header-search button,.vb-demo form.vb-search button{width:auto !important;min-width:max-content !important;height:auto !important;white-space:nowrap !important;flex:none}
.vb-native-page .vb-demo{padding-top:0}.vb-demo header{margin-top:0}.vb-page-title{margin:12px 16px 8px;font-size:1.35rem;line-height:1.5;font-weight:700}
.vb-demo h1.vb-page-title,.vb-demo h1[data-search-results]{box-sizing:border-box;max-width:100%;margin-block:12px 8px;padding-inline:16px}
.vb-demo .vb-brand-copy{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vb-demo[data-search-page] .sx,.vb-demo[data-search-page] .sx-scrim{display:none!important}
.vb-native-page .notice.warn[data-orders-closed]{box-sizing:border-box;width:min(720px,calc(100% - 32px));margin:16px auto;padding:14px 16px;border:1px solid #e2c36b;border-radius:12px;background:#fff8e8;color:#3d2e04;line-height:1.7}
.vb-demo :is(a,button).vb-action:not(.secondary),.vb-demo :is(a,button).btn:not(.secondary){background-color:var(--vb-primary,#123044) !important;color:var(--vb-on-primary,#ffffff) !important}
/* P16j #287: add-to-cart on product cards is secondary */
.vb-demo :is(a,button).vb-action.secondary{background:#fff !important;color:#172026 !important;border-color:#bcc9d2 !important}

/* P16 BUGS #166: disabled / orders-closed actions look inactive */
.vb-demo :is(a,button).vb-action:disabled,
.vb-demo :is(a,button).vb-action[disabled],
.vb-demo :is(a,button).vb-action[data-orders-closed],
.vb-demo button.vb-action:disabled,
.vb-demo :is(a,button).btn:disabled,
.vb-demo :is(a,button).btn[disabled],
.vb-demo :is(a,button).btn[data-orders-closed]{
  background-color:#c5cdd3 !important;
  color:#5a6570 !important;
  border-color:#b7c0c7 !important;
  box-shadow:none !important;
  cursor:default;
  opacity:.9;
  pointer-events:none;
}
.vb-demo form.vb-search button,.vb-demo form[data-search-styled] button,.vb-demo form.header-search button{background:var(--vb-primary,#07325a) !important;color:var(--vb-on-primary,#fff) !important}
.vb-shop-menu-toggle{display:none;white-space:nowrap}
@media(max-width:900px){.vb-shop-menu-toggle{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid #dce2e7;border-radius:10px;background:#fff;color:#172026;cursor:pointer}.vb-demo .vb-shop-menu:not(.is-open)>nav,.vb-native-page .vb-shop-menu:not(.is-open)>nav{display:none!important}.vb-demo .vb-shop-menu.is-open>nav,.vb-native-page .vb-shop-menu.is-open>nav{display:flex!important;flex-direction:column;gap:4px;padding:8px 0;padding-bottom:calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom) + 16px)}.vb-shop-menu.is-open>nav a{min-height:44px;display:flex;align-items:center}}

.vb-demo .vb-native-catalog,.vb-demo .vb-native-services,.vb-shop-bundles{box-sizing:border-box;width:min(1120px,calc(100% - 32px));margin:28px auto;padding:8px 0 28px;overflow-wrap:anywhere}
.vb-demo .vb-live-heading,.vb-shop-bundles h2{margin:0 0 16px;font-size:1.35rem;line-height:1.4}
.vb-demo .vb-live-product-grid,.vb-demo .vb-live-services,.vb-shop-bundles .v4-three{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}
.vb-shop-bundles .card{min-width:0;padding:16px}
@media(max-width:640px){.vb-demo .vb-native-catalog,.vb-demo .vb-native-services,.vb-shop-bundles{width:calc(100% - 24px);margin-inline:12px}}
.vb-demo :is([class*="why"],[class*="benefit"],.sb-benefits) :is([class*="why"],[class*="benefit"],.sb-benefits){display:block;width:100%;min-width:0;grid-template-columns:none}
.vb-demo .sb-section.sb-block-benefits{display:block;width:100%;grid-template-columns:none}
.vb-demo .sb-section.sb-block-benefits>.sb-benefits{display:grid;width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media(max-width:700px){.vb-demo .sb-section.sb-block-benefits>.sb-benefits{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.vb-demo .sb-section.sb-block-benefits>.sb-benefits{grid-template-columns:1fr}}

@media(min-width:761px){.vb-demo header form.vb-search,.vb-demo header form[data-search-styled]{min-width:240px}.vb-demo header form.vb-search input,.vb-demo header form[data-search-styled] input{min-width:9rem}}
/* P17 #371: reserved logo box — late image load must not shift header/product taps */
.vb-demo img.vb-own-logo,img.vb-own-logo{display:block;width:120px!important;height:40px!important;max-height:52px!important;max-width:180px!important;object-fit:contain;object-position:center;aspect-ratio:3/1;flex-shrink:0}
/* P17 #371: product cards keep 1:1 box; late badges/overlays must not push layout */
.vb-demo .vb-live-product{position:relative}
.vb-demo .vb-live-product img{width:100%;aspect-ratio:1;height:auto;object-fit:contain;background:#f4f6f8}
.vb-demo .vb-live-product .badge,.vb-demo .vb-live-product [data-badge]{position:absolute;z-index:1;top:10px;inset-inline-start:10px}
.vb-demo .vb-live-product .favorite,.vb-demo .vb-live-product [data-favorite]{position:absolute;z-index:1;top:8px;inset-inline-end:8px}

/* P16a sticky buy bar inside visual storefront */
@media(max-width:760px){
  .vb-native-page .product-sticky-buy{display:block;position:fixed;inset-inline:0;bottom:calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom));z-index:40;background:#fffffff8;border-top:1px solid #dce2e7;box-shadow:0 -8px 24px #172a370f;backdrop-filter:blur(12px)}
  .vb-native-page .product-sticky-buy-inner{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px}
  .vb-native-page .product-sticky-buy .form-hint{display:none}
  .vb-native-page .product-sticky-buy .btn,.vb-native-page .product-sticky-buy .vb-action{flex:1 1 auto;min-height:44px}
  .vb-native-page:has(.product-sticky-buy){padding-bottom:calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom) + 88px)}
}

/* P16e #263 equal product CTAs */
.vb-demo .vb-product-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:4px}
.vb-demo .vb-product-actions .vb-action,
.vb-demo .vb-product-actions form{width:100%;margin:0}
.vb-demo .vb-product-actions form .vb-action{width:100%}
.vb-demo .vb-product-actions form{display:block}
@media(min-width:701px){
 .vb-demo .vb-product-actions{grid-template-columns:1fr 1fr}
 .vb-demo .vb-product-actions:has(> :only-child){grid-template-columns:1fr}
}


/* P16g #202: shared layout .mobile-nav styles on native pages (app.css is omitted) */
.vb-native-page{--mobile-nav-height:113px} /* P25 #403/#400: SoT 113; nav uses border-box so outer==var (was 130 with padding) */
@media(max-width:760px){
  .vb-native-page{padding-bottom:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 16px)}
  .vb-native-page .mobile-nav[data-storefront-tabbar]{
    /* P25 #403/#400: border-box so padding+border sit INSIDE --mobile-nav-height (was 130 vs var 113) */
    box-sizing:border-box;
    position:fixed;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    bottom:0;inset-inline:0;height:calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    padding:8px 8px calc(8px + env(safe-area-inset-bottom));
    background:#fffffff8;border-top:1px solid #dbe4e9;z-index:30;backdrop-filter:blur(12px)
  }
  .vb-native-page .mobile-nav[data-storefront-tabbar] a{
    min-height:52px;min-width:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:4px;font-size:12px;border-radius:10px;color:#536978;white-space:normal;text-align:center;text-decoration:none
  }
  .vb-native-page .mobile-nav[data-storefront-tabbar] a.active{background:#e7f2ee;color:#14533f}
  .vb-native-page .mobile-nav[data-storefront-tabbar] .icon{width:22px;height:22px}
  /* P16y #366 — bottom-tab cart badge (app.css omitted on native pages) */
  .vb-native-page .mobile-nav a.mobile-nav-cart{position:relative}
  .vb-native-page .mobile-nav a .mobile-nav-icon-slot{
    position:relative;display:inline-flex;align-items:center;justify-content:center;
    width:22px;height:22px;flex-shrink:0;line-height:0
  }
  .vb-native-page .mobile-nav a.mobile-nav-cart .mobile-nav-cart-count,
  .vb-native-page .mobile-nav a.mobile-nav-cart .header-cart-count.mobile-nav-cart-count,
  .vb-native-page .mobile-nav a.mobile-nav-cart .header-cart-count.mobile-nav-cart-count[data-cart-count]{
    position:absolute;top:-6px;inset-inline-end:-10px;right:auto;
    min-width:18px;min-height:18px;height:18px;padding:0 5px;border-radius:999px;
    background:var(--cart-badge-bg,#b12704);color:var(--cart-badge-fg,#fff);font-size:0.68rem;font-weight:800;
    line-height:18px;text-align:center;box-sizing:border-box;pointer-events:none;z-index:2
  }
}
@media(min-width:761px){
  .vb-native-page .mobile-nav[data-storefront-tabbar]{display:none}
}

/* P16g #203: clear-cart as small text link (not red .btn.secondary) */
.vb-demo .vb-commerce-container .cart-clear-link,
.vb-native-page .cart-clear-link,
.cart-clear-link{
  display:inline;background:none;border:0;padding:0;margin-top:10px;font:inherit;font-size:13px;
  color:#566875;text-decoration:underline;cursor:pointer;min-height:44px
}
.vb-demo .vb-commerce-container .cart-clear-link:hover,
.cart-clear-link:hover{color:#14533f}

/* P16g #281: shop share on visual home */
.vb-storefront-share{margin:12px 16px 0;justify-content:flex-start}
@media(max-width:640px){.vb-storefront-share{margin-inline:12px}}

/* #203 */.vb-demo :is(a,button).btn.secondary:hover{background:#f6f7f9 !important;color:#172026 !important;border-color:#bcc9d2 !important}

/* P16j #281/#293: confirm overlay on vb-native-page (no app.css) */
.hojreto-confirm-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;background:#0b1b2acc;backdrop-filter:blur(2px)}
.hojreto-confirm-card{width:min(420px,100%);background:var(--surface,#fff);color:var(--ink,#122);border-radius:16px;padding:22px 20px;box-shadow:0 18px 50px #0005}
.hojreto-confirm-msg{margin:0 0 18px;line-height:1.7;font-size:1rem}
.hojreto-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.hojreto-confirm-actions .btn{min-width:7rem}

.product-photo-placeholder{object-fit:contain;background:#f3f4f6;opacity:.92}

/* P16l CRO: add-to-cart touch target on visual storefront */
[data-add-to-cart],.vb-product-actions .vb-action.secondary{
  min-height:48px;min-width:48px;padding:12px 16px;touch-action:manipulation;z-index:2;position:relative
}


/* #342: dark theme commerce/search forms — use --vb-* (no hard light fills) */
.vb-demo[data-color-scheme="dark"] .vb-commerce-container :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select),
.vb-demo[data-color-scheme="dark"] .vb-live-search input,
.vb-demo[data-color-scheme="dark"] form.vb-search input[type="search"]{
  background:var(--vb-surface,#1b2532);
  color:var(--vb-text,#edf2f7);
  border-color:var(--vb-border,color-mix(in srgb,var(--vb-text,#edf2f7) 45%,var(--vb-surface,#1b2532)));
}
.vb-demo[data-color-scheme="dark"] .vb-commerce-container :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),textarea,select)::placeholder,
.vb-demo[data-color-scheme="dark"] .vb-live-search input::placeholder,
.vb-demo[data-color-scheme="dark"] form.vb-search input[type="search"]::placeholder{
  color:var(--vb-muted,color-mix(in srgb,var(--vb-text,#edf2f7) 75%,var(--vb-surface,#1b2532)));
  opacity:1;
}
.vb-demo[data-color-scheme="dark"] .vb-commerce-container :where(label){
  color:var(--vb-text,#edf2f7);
}
.vb-demo[data-color-scheme="dark"] .vb-commerce-container :where(.btn.secondary){
  background:var(--vb-surface,#1b2532);
  color:var(--vb-text,#edf2f7);
  border-color:var(--vb-border,color-mix(in srgb,var(--vb-text,#edf2f7) 45%,var(--vb-surface,#1b2532)));
}
.vb-demo[data-color-scheme="dark"] .vb-commerce-container :where(.card){
  background:var(--vb-surface,#1b2532);
  color:var(--vb-text,#edf2f7);
  border-color:var(--vb-border,color-mix(in srgb,var(--vb-text,#edf2f7) 45%,var(--vb-surface,#1b2532)));
}

/* P16w #361/#362/#366 shared coupon + cart badge */
.vb-demo[data-demo] form[data-coupon-form] button.btn.coupon-apply-btn,
.vb-demo[data-demo] form[data-coupon-form] .btn.coupon-apply-btn{min-height:44px;height:44px;box-sizing:border-box}
.vb-demo[data-demo] form[data-coupon-form] input.coupon-code-input{direction:ltr;text-align:left;unicode-bidi:isolate;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"tnum" 1,"lnum" 1;font-family:ui-monospace,"Cascadia Mono","Segoe UI Mono","Roboto Mono",Menlo,Consolas,"Liberation Mono",monospace,system-ui}
.vb-demo [data-cart-count]{font-variant-numeric:tabular-nums}

/* P16x #366 cart badge — shared, after theme; beats amazon-to L88 */
.vb-demo .crt,
.vb-demo a.header-cart,
.vb-demo button.header-cart,
.vb-demo [data-visual-kind="cart"]{position:relative}
.vb-demo .crt .cc[data-cart-count],
.vb-demo .header-cart-count[data-cart-count],
.vb-demo .badge-count[data-cart-count],
.vb-demo[data-demo] .crt .cc[data-cart-count],
.vb-demo[data-demo="amazon-to"] .crt .cc[data-cart-count]{
  position:absolute;top:0;inset-inline-end:0;right:auto;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  min-width:18px;min-height:18px;width:auto;height:auto;padding:0 5px;
  border-radius:999px;background:var(--cart-badge-bg,#b12704);color:var(--cart-badge-fg,#fff)!important;
  font-size:11px;font-weight:700;line-height:1;text-align:center;
  box-sizing:border-box;pointer-events:none;font-variant-numeric:tabular-nums
}
.vb-demo .crt .cc[data-cart-count][hidden],
.vb-demo .header-cart-count[data-cart-count][hidden],
.vb-demo .crt .cc[data-cart-count="0"],
.vb-demo .header-cart-count[data-cart-count="0"]{display:none!important}

/* P19 #389: demo chrome lives on /demos/selected/* which only loads this file (not app.css) */
.demo-gallery-bar{position:sticky;top:0;z-index:9999;background:#fff;color:#17334c;display:flex;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #d8e4eb;flex-wrap:wrap;font:14px/1.5 Vazirmatn,"Vazirmatn Fallback",Tahoma,system-ui,sans-serif;min-height:56px;box-sizing:border-box}
.demo-gallery-bar details.u-rel{min-height:44px;display:inline-flex;align-items:center;position:relative}
.demo-gallery-title{font-weight:700;margin:2px 0 6px}
.demo-chip,.demo-chip-lg,.demo-chip-cta,.demo-chip-summary{box-sizing:border-box}
.demo-chip{display:inline-flex;align-items:center;min-height:40px;min-width:2.75rem;padding:0 12px;border-radius:8px;background:#eef4f8;border:1px solid #c5d6e6;color:#17334c;text-decoration:none}
.demo-chip-lg{display:inline-flex;align-items:center;min-height:44px;min-width:2.75rem;padding:0 16px;border:1px solid #9fb8c8;border-radius:10px;background:#fff;color:#17334c;font-weight:700;text-decoration:none}
.demo-chip-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:2.75rem;padding:0 22px;border-radius:10px;background:#0f766e;color:#fff;font-weight:800;font-size:16px;text-decoration:none}
.demo-chip-summary{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #9fb8c8;border-radius:10px;cursor:pointer;font-weight:700;list-style-position:inside}
.demo-chip-row{max-height:300px;overflow:auto;display:flex;gap:8px;flex-wrap:wrap;padding:10px 0}
.u-rel{position:relative}
.phone-frame{width:min(100%,var(--phone-w,360px));height:780px;border:8px solid #203c34;border-radius:30px;margin:24px auto;display:block;background:#f7f6f2}
.phone-frame[data-phone-w="360"]{--phone-w:360px;width:min(100%,360px)}
.phone-frame[data-phone-w="375"]{--phone-w:375px;width:min(100%,375px)}
.phone-frame[data-phone-w="390"]{--phone-w:390px;width:min(100%,390px)}
.phone-frame[data-phone-w="412"]{--phone-w:412px;width:min(100%,412px)}
.phone-frame[data-phone-w="430"]{--phone-w:430px;width:min(100%,430px)}

/* P19 #386: card promo is a short badge on its own line; no overflow past the card */
.vb-demo .price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px}
.vb-demo .price-row .price{order:1}
.vb-demo .price-row .compare-at{order:0}
.vb-demo .price-row .discount-pct{order:2}
.vb-demo .price-row .promo-badge,.vb-demo .promo-badge{
  order:3;flex:0 0 100%;display:inline-flex;align-items:center;max-width:100%;
  box-sizing:border-box;padding:2px 8px;border-radius:999px;background:#fff1ee;color:#9a3412;
  font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.vb-demo .price-row .promo-note{
  order:3;flex:0 0 100%;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:#9a3412;font-size:12px;font-weight:600;line-height:1.4;
}

/* P19 #390: theme filter chips — enforce 44px min hit area (beat theme min-height 36/38/40) */
.vb-demo .chip,
.vb-demo .filter-chip,
.vb-demo a.filter,
.vb-demo button.filter,
.vb-demo .filters a,
.vb-demo .filters button,
.vb-demo .pm-gallery-filter,
.vb-demo[data-demo] .chip,
.vb-demo[data-demo] .filter-chip{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px!important;min-width:44px;
}



/* P20 #394: category sort chips ≥44px (schema-2 loads visual-storefront, not app.css alone) */
.vb-native-page [data-category-sort],
.vb-demo [data-category-sort],
[data-shop-chrome] [data-category-sort]{
  display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0 18px;
}
.vb-native-page [data-category-sort] a,
.vb-demo [data-category-sort] a,
[data-shop-chrome] [data-category-sort] a{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px!important;min-width:44px;padding:8px 16px;
  border:1px solid var(--line,#dbe4e9);border-radius:999px;font-size:13px;line-height:1.2;
  text-decoration:none;color:inherit;background:#fff;
}
.vb-native-page [data-category-sort] a[aria-current="true"],
.vb-demo [data-category-sort] a[aria-current="true"],
[data-shop-chrome] [data-category-sort] a[aria-current="true"]{
  background:var(--soft,#e7f2ee);border-color:#b8d4c7;font-weight:700;
}
.vb-native-page [data-category-sort] .vb-sort-sep,
.vb-demo [data-category-sort] .vb-sort-sep,
[data-shop-chrome] [data-category-sort] .vb-sort-sep{display:none}

/* P19 #392 salon Slow-4G first-paint reserves (also inlined critical in visualAssets) */
.vb-demo[data-demo="salon-nobat"] .hero{min-height:100svh;min-height:100vh}
.vb-demo[data-demo="salon-nobat"] .hero-in{min-height:min(70vh,520px);box-sizing:border-box}
.vb-demo[data-demo="salon-nobat"] a.btn.pill,.vb-demo[data-demo="salon-nobat"] .btn.pill{min-height:44px;height:44px;box-sizing:border-box;line-height:1;padding-block:0;padding-inline:14px;white-space:nowrap;min-width:max-content;flex-shrink:0}
.vb-demo[data-demo="salon-nobat"] .btn.pill.lg{min-height:48px;height:48px}


/* P23 #92 #401: compact search result cards at narrow phones (incl. 390 proof viewport) */
@media(max-width:400px){
  .vb-native-page .vb-live-product-grid,
  .vb-demo .vb-live-product-grid{
    display:flex;flex-direction:column;gap:10px
  }
  .vb-native-page .vb-live-product,
  .vb-demo .vb-live-product{
    display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:start;
    padding:8px;border:1px solid #e0e5e9;border-radius:12px;background:#fff
  }
  .vb-native-page .vb-live-product > a:first-child,
  .vb-demo .vb-live-product > a:first-child{
    display:block;width:88px;height:88px;overflow:hidden;border-radius:10px
  }
  .vb-native-page .vb-live-product > a:first-child img,
  .vb-demo .vb-live-product > a:first-child img{
    width:100%;height:100%;object-fit:cover
  }
  .vb-native-page .vb-live-product .vb-action,
  .vb-demo .vb-live-product .vb-action{min-height:44px;font-size:13px}
}


/* P23 #400: drawer clears bottom-nav; pad so باشگاه مشتریان can sit fully above it */
@media(max-width:760px){
  .vb-demo .dw,
  .vb-native-page .dw,
  #drawer.dw,
  #drawer{
    bottom:calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom,0px));
    max-height:calc(100% - var(--mobile-nav-height,72px) - env(safe-area-inset-bottom,0px));
  }
  .vb-demo .dw .dw-p,
  .vb-native-page .dw .dw-p,
  #drawer .dw-p{
    padding-bottom:calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom,0px) + 16px);
    max-height:100%;
    overflow:auto;
    overscroll-behavior:contain;
    scroll-padding-bottom:calc(var(--mobile-nav-height,72px) + 16px);
  }
}

/* P24 #402: product name outside image link — readable at 360 across themes */
.vb-demo .vb-live-product{display:flex;flex-direction:column;min-width:0}
.vb-demo .vb-live-product>h3,
.vb-demo .vb-live-product h3{margin:8px 0 4px;font-size:14px;line-height:1.6;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.vb-demo .vb-live-product h3 a{color:inherit;text-decoration:none}
.vb-demo .vb-live-product-media{display:block;min-width:0}
.vb-demo .vb-live-product-media img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:12px}
@media(max-width:400px){
  .vb-demo .vb-live-product-grid{display:grid;grid-template-columns:1fr;gap:14px}
  .vb-demo .vb-live-product{display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;align-items:start}
  .vb-demo .vb-live-product-media{grid-row:1/span 3;grid-column:1}
  .vb-demo .vb-live-product>h3,
  .vb-demo .vb-live-product h3{grid-column:2;grid-row:1;margin:0;font-size:13px;line-height:1.55;max-height:none;overflow:visible;-webkit-line-clamp:unset}
  .vb-demo .vb-live-product>p{grid-column:2;grid-row:2;margin:2px 0;font-size:12px;color:#566875}
  .vb-demo .vb-live-product .vb-product-actions,
  .vb-demo .vb-live-product .vb-live-price{grid-column:2}
}

/* P24 #132: header tap targets ≥44×44 (menu, login, cart) across themes */
.vb-demo .login,
.vb-demo .cartb,
.vb-demo .crt,
.vb-demo [aria-controls="drawer"],
.vb-demo button[aria-controls="drawer"],
.vb-demo .hmb,
.vb-demo .menu-btn,
.vb-demo .hdr .ic-btn,
.vb-demo header .login,
.vb-demo header .cartb{
  min-width:44px!important;min-height:44px!important;
  display:inline-flex!important;align-items:center;justify-content:center;
  box-sizing:border-box;
}
.vb-demo[data-demo="digito"] .login{height:44px;padding:0 14px}
.vb-demo[data-demo="digito"] .cartb{min-width:44px;min-height:44px;padding:8px}

/* P24 #133: brand wraps at 320/360; category links ≥44 */
.vb-demo .logo,
.vb-demo .logo strong,
.vb-demo .brand,
.vb-demo .sb-brand,
.vb-demo .sb-brand strong,
.vb-demo header .brand,
.vb-demo[data-demo="digito"] .logo{
  overflow-wrap:anywhere;word-break:break-word;max-width:min(100%,220px);
  white-space:normal;line-height:1.3;
  font-size:clamp(13px,3.8vw,20px);
}
.vb-demo .vb-live-categories>a,
.vb-demo .sb-navigation a,
.vb-demo nav.cats a,
.vb-demo .hdr-r2 a{
  min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box;
}

/* P25 #132: sepid/amazon-to .hl.acct tap target ≥44 */
.vb-demo .hl.acct,
.vb-demo a.hl.acct,
.vb-demo[data-demo="amazon-to"] .hl.acct{
  min-height:44px!important;display:inline-flex!important;align-items:center;box-sizing:border-box;
}
/* P25 #133: .logo .wm must wrap (amazon-to had nowrap + width:80px truncating «بازارچه سپید») */
.vb-demo .logo .wm,
.vb-demo[data-demo="amazon-to"] .logo .wm,
.vb-demo[data-demo="amazon-to"] .wm{
  white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;
  max-width:min(100%,220px);width:auto!important;line-height:1.3;
  text-overflow:clip;overflow:visible;
}

/* UI audit: only the header search and the page end share button change inside a demo; a demo's own design stays as it is. */
.vb-demo form.vb-search button,.vb-demo form[data-search-styled] button,.vb-demo form.header-search button{padding-inline:14px !important;border-radius:var(--vb-radius,12px)}
.vb-storefront-share{display:flex;justify-content:center;padding:20px 16px}
.vb-storefront-share .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border:1px solid currentColor;border-radius:var(--vb-radius,12px);background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer}
.vb-demo>header+h1.vb-page-title,.vb-demo header~h1.vb-page-title{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:760px){
 .product-sticky-buy-inner{gap:8px}
 .product-sticky-buy .product-sticky-price{flex:1 1 100%}
 .product-sticky-buy form{flex:1 1 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}
 .product-sticky-buy form .btn{width:100%;min-width:0;padding-inline:8px;font-size:14px;margin:0}
}
.vb-demo form.vb-search.vb-search button,.vb-demo form.header-search.header-search button{padding:0 14px !important;box-sizing:border-box}
/* Shop system pages (not found, sign-in prompt) sit in main beside the demo header. */
.vb-native-shell main.public-main{--green:var(--vb-primary,#173e58)}
.vb-native-shell main.public-main .narrow.card{width:calc(100% - 32px);max-width:560px;box-sizing:border-box;margin:24px auto}
.vb-native-shell main.public-main .narrow.card>*+*,.vb-native-shell main.public-main .narrow>.card>*+*{margin-block-start:12px}
.vb-native-shell main.public-main .btn:not(.secondary):not(.ghost):not(.danger){background:var(--vb-primary,#173e58);border-color:var(--vb-primary,#173e58);color:var(--vb-on-primary,#fff)}
.vb-native-shell main.public-main .btn:not(.secondary):not(.ghost):not(.danger):hover{background:var(--vb-primary,#173e58);filter:brightness(.92);color:var(--vb-on-primary,#fff)}
@media(max-width:600px){.vb-native-shell main.public-main .narrow.card{width:auto!important;margin-inline:16px!important}}

.vb-page-menu{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1rem;padding:.6rem 1rem;font:inherit}
.vb-page-menu a{color:inherit;text-decoration:underline;text-underline-offset:.15em}

.t42-wordmark{display:inline-block;font-family:inherit;font-size:clamp(14px,4vw,22px);font-weight:800;line-height:1.25;color:var(--vb-accent,currentColor);white-space:nowrap}
