/* Responsive storefront and order flow. Loaded after the desktop theme. */
html{-webkit-text-size-adjust:100%}body{min-width:0}input,textarea,select{max-width:100%}main,.catalogLayout,.catalogLayout>div,.layout,.panel,.purchaseProduct>div{min-width:0}img{max-width:100%}
@media(max-width:900px) and (min-width:701px){
 header{padding-left:24px;padding-right:24px;gap:20px}nav{gap:18px;font-size:10px}.hero{min-height:0}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.add,.details,.cat{min-height:44px}.sectionHead{gap:20px}.search{max-width:40%}.search input{width:100%;min-width:0}.benefits{gap:18px}.benefits>div{min-width:0}.benefits span{font-size:10px}
}
@media(max-width:700px){
 html{scroll-padding-top:16px}body{padding-top:0}
 header{height:auto;min-height:112px;display:flex;flex-wrap:wrap;align-items:center;gap:0;padding:10px 16px 2px;border-top-width:24px;overflow:hidden}
 header::before{top:-17px;font-size:6px;letter-spacing:.8px;white-space:nowrap}
 header .brand{font-size:22px;font-weight:900;letter-spacing:-1px;min-height:38px}
 header nav{display:flex;flex:0 0 100%;width:100%;height:44px;justify-content:space-between;align-items:center;margin:0;padding:0;gap:8px;font-size:10px;letter-spacing:.3px}
 header nav a,header nav .text{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:6px 0;font-size:10px;letter-spacing:.3px;white-space:nowrap}
 header nav a:first-child{border:0;margin:0;padding:6px 0}
 .hero{height:auto;min-height:560px;max-height:none;aspect-ratio:auto;padding:260px 20px 30px;display:flex;align-items:flex-end;background:#080908;isolation:isolate}
 .hero::before{display:block;content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(0deg,#080908 0%,#080908 42%,#08090800 75%),url('custom-hero.png');background-size:100% 100%,auto 340px;background-position:center,right -42px;background-repeat:no-repeat}
 .hero::after{display:none}.hero>div:first-child{position:relative;inset:auto;max-width:100%;width:100%}
 .hero .eyebrow,.hero h1,.hero p,.heroFoot{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
 .hero .eyebrow{font-size:8px;line-height:1.6;letter-spacing:1px;color:#eee}.hero .eyebrow span{background:white}
 .hero h1{font-size:clamp(34px,10.1vw,46px);line-height:1.04;letter-spacing:-1.3px;font-style:italic;font-weight:900;margin:16px 0;color:white;overflow-wrap:normal}
 .hero h1 em{color:#c2ff00;font-style:italic}.hero p{font-size:13px;line-height:1.7;max-width:340px;margin:16px 0;color:#eee}.hero p br{display:none}
 .hero .primary{position:relative;left:auto;top:auto;opacity:1;width:min(100%,310px);height:auto;min-width:0;min-height:48px;margin:8px 0 5px;padding:13px 20px;box-shadow:3px 3px 0 #080908,4px 4px 0 white;font-size:11px;background:#fff;color:#111;letter-spacing:.3px}
 .hero .primary:hover{opacity:1;background:#eee}.heroFoot{font-size:9px;line-height:1.7;margin-top:20px;color:#ddd}.heroFoot i{margin:0 6px}
 .benefits{margin:0;padding:22px 18px;grid-template-columns:1fr;gap:16px}.benefits>div{gap:12px}.benefits b{flex:0 0 34px;padding:9px 0;text-align:center}.benefits span{font-size:11px}.benefits small{display:block;margin:5px 0 0;font-size:11px}
 .catalog{padding:30px 14px 36px}.sectionHead{display:block;margin-bottom:20px}.sectionHead h2{font-size:25px;line-height:1.25;letter-spacing:-.8px}.sectionHead .eyebrow{font-size:9px}sup{margin-left:2px;padding:4px}
 .search{display:flex;width:100%;max-width:none;margin-top:16px;min-height:48px;padding:8px 12px}.search input{width:100%;min-width:0;font-size:16px;line-height:1.4}
 .catalogLayout{display:flex;flex-direction:column;gap:12px}.catalogLayout aside{width:100%;min-width:0}
 #categories{display:flex;flex-flow:row nowrap;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;gap:7px;padding:0 0 10px;scrollbar-width:thin;scrollbar-color:#aaa transparent;-webkit-overflow-scrolling:touch}
 .cat{flex-shrink:0;min-height:44px;padding:11px 13px;font-size:10px;letter-spacing:.4px;white-space:nowrap}.cat small{margin-left:10px}
 .toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:8px;padding-bottom:0}.toolbar label{display:flex;align-items:center;gap:6px;min-height:44px;margin:0;white-space:nowrap}.toolbar input[type=checkbox]{width:18px;height:18px;margin:0}.toolbar select{max-width:55%;min-height:44px;font-size:12px;padding:9px 6px;background:white}
 .catalog .notice{font-size:11px;line-height:1.7;padding:12px;margin-bottom:16px;overflow-wrap:anywhere}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{min-width:0;padding:0 9px 13px;border:1px solid #e6e6e6;overflow:hidden}.productTop{margin:0 -9px;min-width:0}.productArt{width:100%;height:100%;min-height:0;object-fit:contain}.product h3{font-size:12px;line-height:1.45;min-height:52px;max-height:52px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:14px 0 8px;overflow-wrap:anywhere}.description{font-size:11px;line-height:1.6;min-height:53px;margin-bottom:4px;-webkit-line-clamp:3}.details{min-height:44px;display:flex;align-items:center;margin:0 0 8px;padding:6px 0;font-size:11px}.productBottom{flex-direction:column;align-items:stretch;gap:12px;padding-top:0}.price{font-size:21px;line-height:1.2}.price small{font-size:9px;line-height:1.3;margin-top:4px}.add{width:100%;min-height:44px;font-size:11px;padding:12px 8px;letter-spacing:.5px}
 .productTop .stock{font-size:9px;padding:5px 6px;left:6px;bottom:6px}.businessBadge{top:6px;left:6px;font-size:8px;padding:4px;gap:4px;max-width:calc(100% - 12px)}
 .how{margin:0;padding:30px 18px;display:grid;grid-template-columns:1fr;gap:18px}.how h2{font-size:26px}.how p{font-size:13px;line-height:1.7}.how b{font-size:12px}
 footer{padding:24px 18px;gap:16px;flex-wrap:wrap}footer .brand{font-size:20px}footer>span{font-size:11px}.brandDisclaimer{padding:18px;font-size:10px;line-height:1.7}
 dialog{width:calc(100% - 20px);max-width:560px;max-height:calc(100dvh - 24px);margin:auto;padding:18px 16px;overflow-y:auto;overscroll-behavior:contain}.modalHead{align-items:flex-start;gap:10px;margin-bottom:16px;padding-bottom:12px}.modalHead h2{font-size:20px;line-height:1.25;letter-spacing:-.5px;overflow-wrap:anywhere;flex:1;min-width:0}.modalHead button{flex:0 0 44px;min-height:44px;margin:-8px -8px 0 0;line-height:1}.purchaseProduct{align-items:flex-start;gap:12px}.purchaseProduct img{width:72px;height:72px;flex-shrink:0}.purchaseProduct b{font-size:12px;overflow-wrap:anywhere}.bodyText{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.field{font-size:13px;margin:17px 0}.field input,.field textarea{font-size:16px;line-height:1.4;min-height:48px;padding:12px;border-radius:0}.field input[type=number]{max-width:100%;width:100%}.field textarea{min-height:86px}.sum{font-size:16px;gap:14px;align-items:baseline}.sum b{text-align:right}.primary.full{min-height:48px;font-size:12px;letter-spacing:.3px;padding:15px 12px;gap:8px}.detailArt{max-height:220px}.cartRow{min-width:0}.cartRow>div{min-width:0}.cartRow h4{overflow-wrap:anywhere}#toast{width:max-content;max-width:calc(100% - 32px);bottom:max(20px,env(safe-area-inset-bottom));text-align:center;line-height:1.6}
}
@media(max-width:359px){
 .catalog{padding-left:10px;padding-right:10px}.grid{gap:8px}.product{padding-left:7px;padding-right:7px}.productTop{margin-left:-7px;margin-right:-7px}.product h3{font-size:11px}.price{font-size:19px}.businessBadge{font-size:7px;gap:3px}.businessBadge b{width:12px;height:12px;font-size:13px}.toolbar{gap:6px;font-size:10px}.toolbar select{font-size:11px;max-width:52%}.hero{padding-left:16px;padding-right:16px}.hero .eyebrow{font-size:7px}.sectionHead h2{font-size:23px}
}
/* Payment and fulfillment pages use a separate visual theme. */
@media(max-width:700px){
 body.order-page header{min-height:82px;flex-wrap:wrap;gap:6px;padding:14px 16px;border-top-width:4px;overflow:visible}
 body.order-page header .brand{font-size:23px;min-height:30px}body.order-page header>span{flex:0 0 100%;font-size:9px;letter-spacing:.5px;line-height:1.6}
 body.order-page main{width:100%;max-width:620px;margin:25px auto;padding:0 12px}body.order-page .heading h1{font-size:clamp(27px,8vw,34px);line-height:1.15;letter-spacing:-1px}body.order-page .heading>.muted{overflow-wrap:anywhere;font-size:11px}
 body.order-page .layout{grid-template-columns:minmax(0,1fr);gap:16px}body.order-page .layout>.panel{padding:20px 16px}body.order-page .item b{overflow-wrap:anywhere}body.order-page .subtotal{gap:10px;flex-wrap:wrap;line-height:1.5}body.order-page .subtotal b{font-size:17px}body.order-page .fine{font-size:11px;overflow-wrap:anywhere}body.order-page .state{font-size:11px;padding:13px 10px;letter-spacing:.4px}
 body.order-page .row{display:flex;position:static;align-items:center;justify-content:space-between;padding:0;gap:10px}body.order-page .row .label{margin:0;text-align:left;font-size:9px;letter-spacing:.4px}body.order-page .row .button{position:static;flex-shrink:0;font-size:10px;min-height:44px;margin:0;padding:11px}
 body.order-page .amount{font-size:clamp(29px,8.8vw,39px);line-height:1.25;overflow-wrap:anywhere;letter-spacing:-1px}body.order-page .amount small{font-size:12px;margin-left:3px}body.order-page .paymentDestination{grid-template-columns:minmax(0,1fr);gap:16px}body.order-page .paymentQr{width:min(100%,250px);padding:14px}body.order-page .paymentQr img{width:220px;max-width:100%;height:auto}body.order-page .paymentQr figcaption{font-size:10px}
 body.order-page .destinationText{width:100%;min-width:0}body.order-page .wallet{font-size:12px;line-height:1.8;overflow-wrap:anywhere;padding:12px}body.order-page .button{min-height:44px;font-size:11px;padding:14px 12px}body.order-page .note{font-size:12px;line-height:1.7;padding:14px 12px}body.order-page .statusLine{font-size:11px;overflow-wrap:anywhere}body.order-page .delivery{font-size:16px;min-height:190px;padding:12px;resize:vertical}body.order-page .back{min-height:44px;display:inline-flex;align-items:center;font-size:11px}
 body.order-page #refresh{width:min(100%,330px);min-height:46px;font-size:9px;padding:12px 50px 12px 18px;letter-spacing:.1px;gap:5px}
}
