/* Mobile-only progressive enhancement. Native cards and purchase controls remain authoritative. */
@media(max-width:900px){
#products.vm-enhanced{--vm-ink:#233e70;position:relative;isolation:isolate;overflow:hidden;padding:28px 0 14px!important;background:#dce9b6;color:var(--vm-ink);touch-action:pan-y}
#products.vm-enhanced .vm-base,#products.vm-enhanced .vm-liquid{position:absolute;inset:0;width:100%;height:100%;z-index:-2;pointer-events:none}#products.vm-enhanced .vm-liquid{z-index:-1}
#products.vm-enhanced .pl-section-head{margin:0 20px 0!important;padding:0!important;text-align:center}#products.vm-enhanced .pl-section-head h2{font-family:'IRANSansX',sans-serif!important;font-size:27px!important;line-height:1.4!important;color:var(--vm-ink);margin:0 0 7px!important}#products.vm-enhanced .vm-subtitle{font-size:13px;line-height:1.5;margin:0}
#products.vm-enhanced [data-product-rail]{display:block!important;position:relative;overflow:hidden!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;scroll-snap-type:none!important;gap:0!important;min-height:620px}
#products.vm-enhanced [data-product-card]{position:absolute!important;inset:0 0 auto;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;padding:0 20px 14px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;visibility:hidden}
#products.vm-enhanced [data-product-card].vm-active{visibility:visible}
#products.vm-enhanced .vm-word{font-family:'IRANSansX',sans-serif;font-size:clamp(58px,19vw,88px);font-weight:900;letter-spacing:-4px;line-height:1;opacity:.17;white-space:nowrap;text-align:center;position:absolute;top:31px;left:0;right:0;pointer-events:none}
#products.vm-enhanced .vm-word.vm-long{font-size:clamp(38px,13vw,70px);letter-spacing:-3px}
#products.vm-enhanced .pl-product-media{display:block!important;position:relative!important;width:min(365px,calc(100vw - 20px))!important;height:min(365px,calc(100vw - 20px))!important;aspect-ratio:1!important;margin:88px auto 0!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important}
#products.vm-enhanced .pl-product-media img{width:100%!important;height:100%!important;object-fit:contain!important;padding:0!important;transition:none!important;border-radius:0!important;mix-blend-mode:normal!important}
#products.vm-enhanced .pl-product-media small{position:absolute;top:0;right:0;background:#33518f;color:#fff;border-radius:20px;padding:5px 12px;z-index:1}
#products.vm-enhanced .pl-product-info{padding:12px 0 0!important;text-align:center!important;color:var(--vm-ink)}#products.vm-enhanced .pl-product-info>div:first-child{text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important}#products.vm-enhanced h3{ text-align:center!important;font-size:24px!important;line-height:1.35!important;margin:0!important;font-family:'IRANSansX',sans-serif!important}#products.vm-enhanced h3 a{color:inherit!important}#products.vm-enhanced .pl-product-info b{font-size:21px!important;color:inherit!important;line-height:1.3}#products.vm-enhanced .pl-product-info p{text-align:center!important;font-size:13px!important;line-height:1.6!important;margin:7px 0 13px!important;color:inherit!important}
#products.vm-enhanced .pl-product-purchase{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}#products.vm-enhanced [data-add]{border-radius:30px!important;background:#33518f!important;color:white!important;min-height:46px!important;padding:0 23px!important;font-size:14px!important}#products.vm-enhanced [data-add]:disabled{opacity:.5}#products.vm-enhanced .sf-quantity{border-color:#233e7040!important;background:transparent!important}#products.vm-enhanced .sf-quantity button{color:var(--vm-ink)!important;min-width:36px;min-height:44px}
#products.vm-enhanced .pl-rail-nav{display:flex!important;position:relative!important;justify-content:center!important;align-items:center!important;margin:0 20px!important;gap:12px!important;direction:ltr}#products.vm-enhanced .pl-rail-nav>button{width:44px!important;height:44px!important;border:1px solid #233e7055!important;background:#ffffffb8!important;border-radius:50%!important;color:var(--vm-ink)!important;font-size:0!important;font-weight:600;display:grid!important;place-items:center;line-height:0!important;padding:0!important;position:relative;box-shadow:0 2px 8px #233e7012}#products.vm-enhanced .pl-rail-nav>button::before{content:"";position:absolute;left:50%;top:50%;width:11px;height:17px;background:currentColor;clip-path:polygon(68% 0,85% 17%,45% 50%,85% 83%,68% 100%,15% 50%);transform:translate(-50%,-50%)}#products.vm-enhanced .pl-rail-nav>button[data-product-next]::before{clip-path:polygon(32% 0,85% 50%,32% 100%,15% 83%,55% 50%,15% 17%)}#products.vm-enhanced [data-product-position]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#products.vm-enhanced .vm-dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:70%}#products.vm-enhanced .vm-dots button{display:grid;place-items:center;width:30px;height:44px;padding:0;border:0;background:transparent}#products.vm-enhanced .vm-dots button::after{content:'';width:7px;height:7px;border-radius:20px;background:#233e7040;transition:width .35s,background .35s}#products.vm-enhanced .vm-dots button[aria-current=true]::after{width:24px;background:#33518f}#products.vm-enhanced .pl-rail-nav[hidden]{display:none!important}#products.vm-enhanced .vm-rotation{display:block;margin:0 auto 4px;min-height:32px;padding:4px 12px;border:0;border-radius:16px;background:#ffffff70;color:var(--vm-ink);font:inherit;font-size:11px;cursor:pointer}#products.vm-enhanced .vm-rotation[hidden]{display:none}#products.vm-enhanced .vm-rotation:disabled{opacity:.5}#products.vm-enhanced .pl-rail-nav>button:hover{background:#fff!important}#products.vm-enhanced .vm-hint{text-align:center;font-size:11px;opacity:.65;margin:5px 0 0}#products.vm-enhanced button:focus-visible,#products.vm-enhanced a:focus-visible{outline:3px solid #233e70;outline-offset:3px}
@media(max-width:360px){#products.vm-enhanced .pl-section-head h2{font-size:24px!important}#products.vm-enhanced h3{ text-align:center!important;font-size:22px!important}}
@media(prefers-reduced-motion:reduce){#products.vm-enhanced .vm-dots button::after{transition:none}}


}

/* Desktop-only title must not enter mobile slider layout or fallback cards. */
@media(max-width:900px){.vd-product-word{display:none}}

#products.vm-enhanced .vm-hint{font-size:10px;margin:-4px 48px 4px;line-height:1.6}#products.vm-enhanced .vm-all-products{display:block;margin:8px auto 0;padding:8px 16px;min-height:40px;border:0;border-bottom:1px solid #33518f44;border-radius:0;background:transparent;color:#233e70;font:600 12px 'IRANSansX',sans-serif;cursor:pointer}.vm-overview{width:min(780px,calc(100% - 24px));max-height:88dvh;border:0;border-radius:20px;padding:16px;background:#fff;color:#233e70;font-family:'IRANSansX',sans-serif;box-sizing:border-box;overflow:auto}.vm-overview::backdrop{background:#18344f66}.vm-overview header{display:flex;align-items:center;justify-content:space-between;position:sticky;top:-16px;background:#fff;z-index:5;padding:8px 0}.vm-overview h2{font-size:18px;margin:0}.vm-overview header button{min-width:44px;min-height:44px;border:1px solid #d9e4ef;border-radius:50%;background:#fff;color:#233e70;font-size:24px}.vm-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vm-overview-grid [data-product-card]{display:block!important;position:relative!important;width:auto!important;min-width:0!important;height:auto!important;visibility:visible!important;opacity:1!important;transform:none!important;background:var(--vd-tone,#e9f1fb);border-radius:14px;padding:12px;overflow:hidden}.vm-overview-grid .vm-word{display:none!important}.vm-overview-grid .pl-product-media{position:relative!important;display:flex!important;align-items:center;justify-content:center;width:100%!important;height:150px!important;min-height:0!important;transform:none!important;margin:0!important}.vm-overview-grid .pl-product-media img{position:relative!important;width:90%!important;height:140px!important;object-fit:contain!important;transform:none!important;transition:transform .3s}.vm-overview-grid .pl-product-media:hover img{transform:translateY(-4px) rotate(-2deg)!important}.vm-overview-grid .vd-product-word{font-size:30px;opacity:.16;position:absolute;inset:24% 0 auto;text-align:center}.vm-overview-grid .pl-product-info{position:relative!important;transform:none!important;opacity:1!important;padding:8px 0!important;display:block!important}.vm-overview-grid h3{font-size:13px!important;line-height:1.8;margin:0}.vm-overview-grid h3 a{color:inherit;text-decoration:none}.vm-overview-grid .pl-product-info b{font-size:12px!important;white-space:normal!important}.vm-overview-grid .pl-product-info p{font-size:10px!important;line-height:1.8!important;margin:8px 0!important}.vm-overview-grid .pl-product-purchase{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px}.vm-overview-grid .sf-quantity{justify-content:center}.vm-overview-grid button[data-add]{width:100%;min-height:44px;padding:8px 2px;border:0;border-radius:8px;background:#33518f;color:#fff;font:600 11px 'IRANSansX',sans-serif}.vm-overview-grid .sf-quantity button{min-width:36px;min-height:40px}.vm-overview-grid .sf-quantity output{min-width:24px}.vm-overview .sf-added-bar{z-index:10}.vm-overview:has(.sf-added-bar:not([hidden])){padding-bottom:190px}.vm-overview button:focus-visible,.vm-overview a:focus-visible{outline:3px solid #33518f;outline-offset:2px}
@media(min-width:650px){.vm-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.vm-overview .pl-product-media{background:var(--vd-tone,#e9f1fb)!important;border-radius:14px!important}.vm-overview .pl-product-card{background:transparent!important}

/* Compact overview with equal row height and aligned purchasing controls. */
.vm-overview{max-height:calc(100dvh - 24px);padding:12px;margin-block:auto}.vm-overview header{top:-12px;padding:0 0 8px;min-height:36px}.vm-overview h2{font-size:15px;line-height:1.5}.vm-overview header button{min-width:36px;min-height:36px;width:36px;height:36px;font-size:21px}
.vm-overview-grid{gap:12px 16px;align-items:stretch;grid-auto-rows:auto}.vm-overview-grid [data-product-card]{display:grid!important;grid-template-rows:124px 1fr!important;align-content:start;padding:0;background:transparent!important;overflow:visible}.vm-overview-grid .pl-product-media{height:124px!important;border-radius:14px;background:var(--vd-tone,#e9f1fb);overflow:hidden}.vm-overview-grid .pl-product-media img{height:116px!important;width:90%!important}
.vm-overview-grid .pl-product-info{display:grid!important;grid-template-rows:auto 1fr auto!important;align-content:start;gap:4px;padding:6px 0 0!important}.vm-overview-grid .pl-product-info>div:first-child{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important}.vm-overview-grid .pl-product-info h3{display:block!important;min-height:40px;font-size:12px!important;line-height:1.65}.vm-overview-grid .pl-product-info b{display:block!important;min-height:20px;font-size:11px!important}.vm-overview-grid .pl-product-info p{margin:0!important;min-height:44px;font-size:9px!important;line-height:1.7!important}
.vm-overview-grid .pl-product-purchase{margin-top:auto!important;gap:5px}.vm-overview-grid .sf-quantity{min-height:36px!important;border-radius:10px}.vm-overview-grid .sf-quantity button{min-height:36px;min-width:36px}.vm-overview-grid button[data-add]{min-height:36px;padding:5px 2px;font-size:10px}
@media(min-width:768px){.vm-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
