/* Shared phone/tablet layer, loaded after both markets' desktop styles. */
.mobile-market-row,.mobile-product-bar{display:none}
.card-content{min-width:0}.card-title-link{display:block}
@media(max-width:900px){
 :root{--mobile-product-bar-height:86px}
 html{scroll-padding-top:calc(var(--header-height,104px) + 16px)}
 body{font-size:16px}
 .container{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));min-width:0}
 .header{background:#fffffff7;backdrop-filter:blur(18px);isolation:isolate}
 .header .nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;min-height:64px;padding:8px max(16px,env(safe-area-inset-left));gap:8px}
 .header .nav-wrap{padding-top:max(8px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .header .desktop-nav{display:none}.header .mobile-only{display:inline-flex}
 .header .logo,.header .brand-logo-art{width:132px}
 .header .brand-logo-art{height:32px}
 .header .brand-logo-art img{width:147px;left:-10.7px;top:-33.3px}
 .header .nav-actions{gap:0;min-width:0}
 .header .nav-actions .market-switch,.header .nav-actions .account-link{display:none}
 .header .nav-actions .icon-button{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;border-radius:12px}
 .header .nav-actions .icon-button[aria-expanded=true]{background:#eceef2}
 #cart-count{top:3px;right:3px;min-width:18px;height:18px;line-height:18px}
 .mobile-market-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 max(16px,env(safe-area-inset-left));border-top:1px solid #ededf1;background:#f7f8fa;font-size:12px}
 .mobile-market-row{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .mobile-market-row button,.mobile-market-row a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:12px;font-weight:600;color:#333d49}
 .mobile-market-row button{gap:6px;text-align:start}
 .header #mobile-nav,.header #header-search{position:absolute;top:100%;inset-inline:0;margin:0;background:#fff;border-top:1px solid #e4e7ec;box-shadow:0 18px 28px #18273716;max-height:calc(var(--mobile-viewport-height,100dvh) - var(--header-height,108px) - 16px);overflow:auto;overscroll-behavior:contain}
 .header #mobile-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:16px max(16px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-bottom))}
 .header #mobile-nav a{display:flex;align-items:center;min-height:52px;margin:0;padding:14px;border:1px solid #e7e9ee;border-radius:14px;font-size:14px;line-height:1.4;overflow-wrap:anywhere;text-align:start}
 .header #mobile-nav a:first-child{background:#182737;color:#fff;border-color:#182737}
 .header #mobile-nav a[aria-current=page]{box-shadow:inset 0 0 0 1px currentColor}
 .header #header-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:18px 16px}
 .header-search label{grid-column:1/-1;width:auto;font-size:13px;font-weight:600}
 .header-search input{width:100%;min-width:0;margin:0;font-size:16px}
 .header-search .button{padding:12px 18px;min-height:48px}
 .announcement{font-size:10px;letter-spacing:0;line-height:1.5;padding:6px 16px}
 .mirror-israel-message{padding:6px 16px;font-size:14px}
 .mirror-market-note{padding:7px 16px;font-size:10px;line-height:1.5}
 .mirror-promo,.xmas-promo{gap:6px 12px;padding:10px 16px}
 .mirror-promo strong,.xmas-promo strong{font-size:16px}
 .mirror-promo-detail,.xmas-promo-detail{font-size:10px;line-height:1.5}
 .hero{grid-template-columns:1fr 1fr;min-height:0;border-radius:22px}
 .hero .hero-copy{padding:30px 24px!important}
 .hero .hero-copy h1{font-size:clamp(32px,4vw,44px);line-height:1.12}
 .hero-copy>p{font-size:15px;line-height:1.7}
 .hero-buttons .button{min-height:48px;font-size:14px}
 .hero-meta{flex-wrap:wrap;gap:8px 16px;font-size:11px}
 .section{padding-block:40px}.section-heading{gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}
 .section-heading h2{font-size:clamp(26px,4vw,34px)}
 .section-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
 .product-grid,.catalog-layout .product-grid,.blends-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 .catalog-header{padding-top:24px;padding-bottom:22px}.catalog-header h1{font-size:clamp(28px,5vw,38px);line-height:1.2}
 .catalog-header>p{font-size:14px;line-height:1.7}
 .breadcrumb{flex-wrap:wrap;gap:5px 9px;font-size:12px;margin-bottom:18px;overflow-wrap:anywhere}
 .catalog-layout{grid-template-columns:minmax(0,1fr);gap:14px;padding-bottom:40px}
 .catalog-layout .filters{padding:0;border:0;position:static}
 .catalog-mobile-category{display:block;font-size:13px}
 .catalog-mobile-category select{display:block;width:100%;margin:6px 0 0;min-height:48px;padding:12px;font-size:16px}
 .catalog-layout .filter-list,.catalog-layout .filters>h2{display:none}
 .catalog-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.65fr);gap:10px;align-items:stretch;margin-bottom:14px}
 .catalog-controls input,.catalog-controls select{min-width:0;width:100%;max-width:none;font-size:16px;min-height:48px}
 .catalog-collection-links{gap:8px;flex-wrap:wrap}
 .catalog-collection-links a{min-height:44px;display:inline-flex;align-items:center;line-height:1.35;font-size:12px;padding:10px 13px}
 .results-label{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:16px}
 .product-detail{grid-template-columns:minmax(0,1fr);gap:24px;padding-bottom:28px}
 .product-gallery{position:static;max-width:500px;width:100%;margin-inline:auto}
 .detail-photo{border-radius:20px;max-width:400px;margin-inline:auto}
 .detail-photo img{max-height:none}
 .detail-copy{min-width:0}.detail-copy h1{font-size:clamp(28px,5vw,38px)}
 .detail-copy .compound-alias,.detail-copy .research-product-note{font-size:13px;line-height:1.6}
 .product-subnav{position:static}.product-subnav>.container{gap:8px;flex-wrap:wrap;padding-block:10px}
 .product-subnav nav{gap:4px 16px;flex-wrap:wrap}.product-subnav a{display:inline-flex;align-items:center;min-height:44px;font-size:12px}
 .variant-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;scroll-margin-top:calc(var(--header-height,108px) + 24px)}
 .variant{min-width:0;min-height:78px;padding:14px;text-align:start;border-radius:14px}
 .variant strong{font-size:18px}.variant span{font-size:13px;white-space:normal;overflow-wrap:anywhere}
 .variant.active{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:#f4f7fb}
 .supply-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .supply-option{min-height:84px;padding:14px 8px}.supply-option span{font-size:14px}.supply-option small{font-size:11px}
 .detail-copy .quantity-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:stretch}
 .detail-copy .quantity-row>.button{width:100%;min-height:50px;height:auto;font-size:14px;padding:12px}
 .detail-copy #subscribe-save{grid-column:1/-1}
 .quantity-control button{min-width:44px;width:44px;min-height:48px}
 .quantity-control input{width:40px;font-size:16px}
 .selection-heading{gap:6px 12px;flex-wrap:wrap}.selection-heading h2{font-size:17px}
 .mini-coa{padding:14px;gap:10px;flex-wrap:wrap}.mini-coa a{display:inline-flex;align-items:center;min-height:44px}
 .mobile-product-bar{position:fixed;inset-inline:0;bottom:0;z-index:35;display:grid;grid-template-columns:minmax(0,1fr) minmax(126px,.85fr);gap:12px;align-items:center;padding:10px max(16px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #dfe4eb;box-shadow:0 -8px 24px #18273710;backdrop-filter:blur(18px)}
 .mobile-product-bar{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}
 .mobile-product-size{display:flex;gap:3px;flex-direction:column;justify-content:center;min-height:44px;font-size:12px;line-height:1.4}
 .mobile-product-size bdi{font-size:13px;font-weight:650}.mobile-product-size span{font-size:11px;text-decoration:underline;text-underline-offset:2px;color:#5c6674}
 .mobile-product-price{font-size:14px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
 .mobile-product-bar .button{width:100%;min-height:52px;padding:12px 10px;font-size:14px}
 body.has-mobile-product-bar{padding-bottom:var(--mobile-product-bar-height,86px)}
 body.has-mobile-product-bar .chat-launcher{bottom:calc(var(--mobile-product-bar-height,86px) + 12px)}
 .mobile-keyboard-open .mobile-product-bar,.mobile-keyboard-open .chat-launcher{visibility:hidden}
 .section-jump{top:var(--header-height,108px);display:flex;gap:0;padding:0;overflow:auto;overscroll-behavior-inline:contain}
 .section-jump a{flex:1;min-height:48px;padding:12px 10px;white-space:nowrap;font-size:12px;text-align:center}
 .document-section{scroll-margin-top:calc(var(--header-height,108px) + 64px)}
 .cart-layout{grid-template-columns:minmax(0,1fr);gap:24px}.compact-cart>div,.compact-summary{grid-row:auto}
 .cart-summary,.checkout-summary,.checkout-form{min-width:0;padding:22px 18px;border-radius:18px}
 .cart-item{display:grid;grid-template-columns:64px minmax(0,1fr) 44px;gap:12px;padding-block:20px}
 .cart-item img{width:64px;height:86px;object-fit:contain}.cart-item h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
 .cart-item .remove{min-width:44px;min-height:44px;font-size:11px}
 .cart-item .quantity-control{max-width:100%}.cart-item .quantity-control button{min-width:40px;width:40px}
 .cart-item .quantity-control input{width:34px}
 .cart-drawer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;inset:0;margin:0}
 .cart-drawer>header{padding:14px 16px;padding-top:max(14px,env(safe-area-inset-top));flex-shrink:0}.cart-drawer>header button,.cart-drawer [data-drawer-remove]{min-width:44px;min-height:44px}
 .cart-drawer-items{padding-inline:16px;min-height:90px}.cart-drawer-items article{gap:12px;padding-block:18px}
 .cart-drawer-items img{width:58px;height:78px;flex-shrink:0}.cart-drawer-items article>button{flex:0 0 44px}
 .cart-drawer h3{font-size:16px;line-height:1.4;overflow-wrap:anywhere}.cart-drawer-items label{display:flex;flex-wrap:wrap}
 .cart-drawer footer{flex-shrink:0;max-height:46dvh;overflow:auto;padding:16px 16px max(16px,env(safe-area-inset-bottom))}
 .cart-drawer footer .button{min-height:50px;margin-top:12px}.cart-drawer-full{min-height:44px;display:flex;align-items:center;justify-content:center;margin-top:4px}
 .cart-drawer .order-total{gap:10px;flex-wrap:wrap;font-size:14px}.cart-drawer .order-total strong{font-size:18px}
 .bac-addon{padding:16px;border-radius:16px}.bac-addon h3{font-size:17px}
 .bac-addon-choice select{font-size:16px;min-height:48px}.bac-addon-content>.button{min-height:48px}
 .locale-dialog{width:calc(100% - 24px);max-width:480px;max-height:calc(var(--mobile-viewport-height,100dvh) - 24px);padding:22px 20px;overflow:auto}
 .locale-dialog select{font-size:16px;min-height:48px}.locale-close{min-width:44px;min-height:44px}.locale-apply{min-height:50px}
 .chat-launcher{right:16px;left:auto;bottom:max(16px,env(safe-area-inset-bottom));width:48px;height:48px;padding:14px;border-radius:50%;justify-content:center}
 html[lang=he] .chat-launcher{left:16px;right:auto}
 .chat-launcher>span:not(#chat-unread){display:none}
 .chat-panel{left:12px;right:12px;bottom:calc(var(--mobile-keyboard-inset,0px) + 12px);width:auto;max-width:none;max-height:calc(var(--mobile-viewport-height,100dvh) - 24px);border-radius:18px}
 .chat-heading{padding:16px}.chat-heading h2{font-size:21px}.chat-heading .icon-button{min-width:44px;width:44px;min-height:44px}
 .chat-body{flex:1;max-height:none;min-height:64px;padding:16px}
 .chat-panel form{padding:0 16px 12px;min-height:0;max-height:calc(var(--mobile-viewport-height,100dvh) - 120px);flex-shrink:1}.chat-panel input,.chat-panel textarea{font-size:16px}
 .chat-send button{min-height:44px}
 .toast{bottom:16px;max-width:calc(100vw - 32px);font-size:13px;padding:12px 16px}
 .has-mobile-product-bar .toast{bottom:calc(var(--mobile-product-bar-height,86px) + 16px)}
 .analytics-consent{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-width:none;max-height:calc(100dvh - 32px);overflow:auto}
 body:has(.analytics-consent:not([hidden])) .chat-launcher{visibility:hidden}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px}.footer-grid>div:first-child{grid-column:1/-1}
 .footer-grid a:not(.logo),.footer-grid .text-button{min-height:44px;display:flex;align-items:center;margin:0;font-size:13px}
 .footer-grid h3{margin-bottom:12px}.footer-grid p{font-size:12px}
 .footer-bottom{flex-direction:column;gap:12px;padding-bottom:max(24px,env(safe-area-inset-bottom))}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}
}
@media(max-width:600px){
 .hero{display:flex;flex-direction:column;margin:12px;border-radius:20px}
 .hero .hero-copy{padding:28px 22px!important}.hero .hero-copy h1{font-size:34px;line-height:1.12}
 .hero-copy>.eyebrow{font-size:9px}.hero-copy>p{font-size:14px;margin-bottom:20px}
 .hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero-buttons .button{padding:12px;font-size:13px}
 .hero-visual{height:210px;min-height:0}.hero-meta{margin-top:22px;font-size:10px}
 .hero-image{object-fit:contain}.holiday-line{font-size:15px;margin-top:14px}
 .partner-heading{display:block}.partner-heading h2{font-size:25px}.motion-toggle{margin-top:12px;min-height:44px}
 .product-grid,.catalog-layout .product-grid,.blends-section .product-grid{grid-template-columns:minmax(0,1fr);gap:14px}
 /* Match the legacy flex selector so absolutely positioned vial images retain a real grid track. */
 .product-grid>.product-card{display:grid;grid-template-columns:minmax(86px,30%) minmax(0,1fr);gap:14px;padding:16px;border:1px solid #e5e8ed;border-radius:20px;background:#fff;align-items:start}
 .product-card>.card-product-link{display:block;min-width:0;width:100%}.product-card .product-photo{width:100%;aspect-ratio:1;border-radius:14px;overflow:hidden}
 .product-card .card-arrow{display:none}.product-card .card-tag{top:5px;left:5px;padding:3px 5px;letter-spacing:0;font-size:8px}
 .product-card h3,.catalog-layout .product-card h3{margin:0;font-size:17px;line-height:1.35;overflow-wrap:anywhere;letter-spacing:-.02em}
 .product-card .compound-alias{font-size:12px;line-height:1.5;margin:5px 0 8px;overflow-wrap:anywhere}
 .product-card .card-sizes{margin:8px 0;gap:6px}.product-card .card-sizes button{min-height:44px;padding:9px 10px;font-size:12px;white-space:normal;line-height:1.35}
 .product-card .card-meta{font-size:11px}.product-card .card-price{font-size:14px;margin-top:6px;overflow-wrap:anywhere}
 .product-card .card-add{min-height:46px;margin-top:10px;font-size:13px;padding:10px 8px;border-radius:12px}
 html[lang=he] .product-card .hebrew-product-label{white-space:normal;font-size:16px!important;line-height:1.45}
 html[lang=he] .product-card .compound-alias.hebrew-product-label{font-size:12px!important}
 .catalog-controls{grid-template-columns:minmax(0,1fr)}
 .hebrew-category-guide{padding:14px}.hebrew-category-guide summary{min-height:44px}
 .detail-photo{max-width:300px}.product-container{padding-top:18px}.price-row{margin-block:18px}
 .technical-specifications{display:block;padding:20px}.technical-profile{width:100%;min-width:0}
 .molecular-grid{grid-template-columns:minmax(0,1fr);gap:8px}.molecular-grid>div{padding:16px}
 .coa-feature-card h3{font-size:26px}.coa-feature-meta{grid-template-columns:1fr}
 .coa-panel-rows>div{grid-template-columns:minmax(0,1fr);gap:6px}.coa-panel-rows dd{text-align:start}
 .israel-discovery{padding-block:30px}.israel-discovery h2{font-size:23px}.israel-discovery summary{min-height:44px}
}
@media(max-width:360px){
 .product-grid>.product-card{padding:12px;gap:12px;grid-template-columns:80px minmax(0,1fr)}
 .product-card .card-tag{font-size:7px}.product-card .card-sizes button{padding:9px 8px}
 .hero .hero-copy h1{font-size:30px}.hero-buttons{grid-template-columns:1fr}
 .mobile-product-bar{gap:8px;grid-template-columns:minmax(0,1fr) 124px}
 .cart-item{grid-template-columns:50px minmax(0,1fr) 44px;gap:8px}.cart-item img{width:50px;height:70px}
}
@media(max-width:900px) and (max-height:500px){
 .chat-heading .eyebrow,.chat-heading p{display:none}.chat-heading h2{margin:0}.chat-heading{padding:8px 12px}
 .cart-drawer>header{padding-block:8px}.cart-drawer footer .fineprint{margin:8px 0}
}
@media(prefers-reduced-motion:reduce){.mobile-product-bar,.header #mobile-nav,.header #header-search{animation:none;transition:none}}
/* Evidence tables scroll within their own region, never the whole page. */
.scientific-evidence{min-width:0;max-width:100%}
.scientific-evidence section{scroll-margin-top:100px}
.scientific-evidence .reference-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #d9dde5;border-radius:14px;margin-block:20px}
.scientific-evidence .reference-scroll:focus-visible{outline:3px solid #3168d8;outline-offset:3px}
.scientific-evidence .reference-table{min-width:680px;width:100%;table-layout:fixed;margin:0}
.scientific-evidence .reference-table th,.scientific-evidence .reference-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;line-height:1.65;padding:16px;text-align:start}
.scientific-evidence .reference-table caption{padding:16px;text-align:start;font-weight:600}
.scientific-evidence .education-actions{display:flex;flex-wrap:wrap;gap:10px 14px;line-height:1.8}
.scientific-evidence .education-actions a{padding-block:6px}
@media(max-width:600px){.scientific-evidence .reference-table{min-width:620px;font-size:14px}.scientific-evidence .reference-table th,.scientific-evidence .reference-table td{padding:12px}.education-toc a{display:inline-block;padding-block:5px}}
