:root{
--green:#16a34a;--green-dark:#15803d;--green-soft:#ecfdf3;--ink:#172033;
--muted:#64748b;--line:#e2e8f0;--surface:#fff;--canvas:#f4f7f5;
--danger:#dc2626;--shadow:0 16px 45px rgba(15,23,42,.09);--radius:20px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:var(--canvas);font-family:Inter,Segoe UI,Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{cursor:pointer}
[hidden]{display:none!important}
.app-container{width:min(100% - 32px,1220px);margin-inline:auto}
.site-main{min-height:70vh}
.site-header{position:sticky;top:0;z-index:1000;border-bottom:1px solid rgba(226,232,240,.9);background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.topbar{min-height:74px;display:flex;align-items:center;gap:26px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand-mark{width:44px;height:44px;display:grid;place-items:center;color:#fff;border-radius:15px;background:linear-gradient(145deg,var(--green),var(--green-dark));box-shadow:0 10px 24px rgba(22,163,74,.25);font-size:21px}
.brand-mark.large{width:70px;height:70px;border-radius:22px;font-size:34px}
.brand strong{display:block;font-size:19px;line-height:1}
.brand small{display:block;margin-top:4px;color:var(--muted);font-size:9px}
.store-pill{min-width:210px;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:#fff;text-align:left}
.store-pill>i:first-child{color:var(--green);font-size:18px}
.store-pill span{min-width:0;flex:1}
.store-pill small{display:block;color:var(--muted);font-size:9px}
.store-pill strong{display:block;max-width:145px;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.desktop-actions{display:flex;align-items:center;gap:7px;margin-left:auto}
.icon-action,.cart-action{min-height:46px;display:flex;align-items:center;gap:7px;padding:8px 12px;border-radius:13px;color:#334155;font-size:11px;font-weight:800}
.icon-action:hover,.cart-action:hover{background:#f1f5f9}
.icon-action i,.cart-action i{font-size:18px}
.cart-action{position:relative;color:#fff;background:var(--green)}
.cart-action:hover{background:var(--green-dark)}
.cart-action b,.mobile-bottom-nav b{min-width:18px;height:18px;display:grid;place-items:center;padding:0 4px;border-radius:99px;color:var(--green-dark);background:#fff;font-size:9px}
.search-row{padding-bottom:11px}
.global-search{display:flex;align-items:center;gap:8px;padding:5px 5px 5px 14px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}
.global-search i{color:var(--muted)}
.global-search input{min-width:0;flex:1;height:38px;border:0;outline:0;background:transparent;font-size:12px}
.global-search button{height:38px;padding:0 18px;border:0;border-radius:10px;color:#fff;background:var(--green);font-size:11px;font-weight:900}
.home-shell,.catalog-shell,.product-detail-shell,.checkout-shell,.orders-shell,.profile-shell,.health-shell{padding-block:22px 42px}
.hero-slider{position:relative;min-height:330px;overflow:hidden;border-radius:26px;background:#dff6e7;box-shadow:var(--shadow)}
.hero-track{display:flex;height:330px;transition:transform .45s ease}
.hero-slide{position:relative;min-width:100%;overflow:hidden;color:#fff;background:linear-gradient(90deg,rgba(6,78,59,.88),rgba(22,163,74,.32)),var(--slide-image,linear-gradient(145deg,#15803d,#4ade80));background-position:center;background-size:cover}
.hero-content{width:min(550px,80%);padding:64px 58px}
.hero-content span{display:inline-flex;padding:6px 10px;border-radius:99px;background:rgba(255,255,255,.18);font-size:10px;font-weight:900;text-transform:uppercase}
.hero-content h1{margin:14px 0 10px;font-size:43px;line-height:1.05}
.hero-content p{max-width:470px;margin:0 0 22px;color:rgba(255,255,255,.86);line-height:1.5}
.hero-content a{display:inline-flex;align-items:center;gap:7px;padding:12px 17px;border-radius:12px;color:var(--green-dark);background:#fff;font-size:11px;font-weight:900}
.hero-dots{position:absolute;right:20px;bottom:18px;z-index:2;display:flex;gap:6px}
.hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.5)}
.hero-dots button.active{width:25px;background:#fff}
.section-block{margin-top:32px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:15px}
.eyebrow{display:block;margin-bottom:5px;color:var(--green);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.section-heading h2,.page-heading h1,.catalog-head h1{margin:0;font-size:27px;line-height:1.1}
.section-heading>a{color:var(--green-dark);font-size:11px;font-weight:900}
.category-rail{display:grid;grid-auto-columns:120px;grid-auto-flow:column;gap:12px;overflow-x:auto;padding:3px 2px 11px;scrollbar-width:none}
.category-rail::-webkit-scrollbar{display:none}
.category-card{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:12px;border:1px solid var(--line);border-radius:18px;background:#fff;text-align:center;box-shadow:0 8px 25px rgba(15,23,42,.05)}
.category-card:hover{border-color:#86efac;transform:translateY(-2px)}
.category-card img{width:67px;height:67px;object-fit:contain;border-radius:15px;background:#f8fafc}
.category-card strong{font-size:10px;line-height:1.25}
.promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:21px}
.promo-card{min-height:150px;overflow:hidden;border-radius:21px;background:#fff;box-shadow:var(--shadow)}
.promo-card img{width:100%;height:100%;min-height:150px;object-fit:cover}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.product-card{position:relative;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(15,23,42,.055);transition:.2s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-media{position:relative;display:block;aspect-ratio:1/1;padding:13px;background:linear-gradient(145deg,#f8fafc,#f1f5f9)}
.product-media img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.discount-badge{position:absolute;top:10px;left:10px;z-index:2;padding:5px 7px;border-radius:8px;color:#fff;background:#ef4444;font-size:9px;font-weight:900}
.stock-badge{position:absolute;right:10px;bottom:10px;padding:5px 7px;border-radius:8px;color:#166534;background:#dcfce7;font-size:8px;font-weight:900}
.stock-badge.out{color:#991b1b;background:#fee2e2}
.product-info{padding:12px}
.product-category{display:block;overflow:hidden;color:var(--green);font-size:8px;font-weight:900;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}
.product-title{min-height:36px;display:-webkit-box;margin:5px 0 4px;overflow:hidden;font-size:12px;font-weight:850;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.product-size{display:block;min-height:15px;color:var(--muted);font-size:9px}
.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px;margin-top:10px}
.price-stack strong{display:block;font-size:15px}
.price-stack del{color:#94a3b8;font-size:9px}
.add-button{min-width:76px;height:34px;border:1px solid var(--green);border-radius:10px;color:var(--green-dark);background:#fff;font-size:10px;font-weight:900}
.add-button:hover{color:#fff;background:var(--green)}
.add-button:disabled{cursor:not-allowed;border-color:#cbd5e1;color:#94a3b8;background:#f1f5f9}
.catalog-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:17px}
.catalog-head p,.page-heading p{margin:7px 0 0;color:var(--muted);font-size:11px}
.select-control,.form-grid input,.form-grid textarea,.form-grid select,.auth-form-wrap input{width:100%;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:#fff;outline:0}
.select-control{min-width:190px;height:43px;padding:0 12px;font-size:11px}
.form-grid input,.form-grid select,.auth-form-wrap input{height:46px;padding:0 12px}
.form-grid textarea{padding:12px;resize:vertical}
.select-control:focus,.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.auth-form-wrap input:focus{border-color:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.15)}
.filter-chips{display:flex;gap:8px;overflow-x:auto;margin-bottom:17px;padding-bottom:7px;scrollbar-width:none}
.filter-chips::-webkit-scrollbar{display:none}
.filter-chip{flex-shrink:0;height:36px;padding:0 13px;border:1px solid var(--line);border-radius:99px;color:#475569;background:#fff;font-size:10px;font-weight:800}
.filter-chip.active{border-color:var(--green);color:#fff;background:var(--green)}
.load-more-wrap{display:flex;justify-content:center;margin-top:24px}
.primary-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 18px;border:0;border-radius:12px;color:#fff;background:linear-gradient(145deg,var(--green),var(--green-dark));box-shadow:0 10px 22px rgba(22,163,74,.18);font-size:11px;font-weight:900}
.primary-button:disabled{cursor:not-allowed;opacity:.65}
.product-detail-card{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,.9fr);gap:28px;min-height:520px;padding:22px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}
.gallery-main{aspect-ratio:1/1;overflow:hidden;border-radius:20px;background:#f8fafc}
.gallery-main img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.gallery-thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.gallery-thumb{aspect-ratio:1;padding:5px;border:1px solid var(--line);border-radius:11px;background:#fff}
.gallery-thumb.active{border-color:var(--green)}
.gallery-thumb img{width:100%;height:100%;object-fit:contain}
.product-copy{padding:10px 5px}
.product-copy h1{margin:5px 0 8px;font-size:31px;line-height:1.15}
.product-copy .description{color:var(--muted);font-size:12px;line-height:1.7}
.detail-price{display:flex;align-items:center;gap:10px;margin:18px 0}
.detail-price strong{font-size:28px}
.detail-price del{color:#94a3b8;font-size:13px}
.detail-price span{padding:5px 8px;border-radius:8px;color:#166534;background:#dcfce7;font-size:10px;font-weight:900}
.detail-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin:17px 0}
.detail-meta div{padding:11px;border-radius:12px;background:#f8fafc}
.detail-meta small{display:block;color:var(--muted);font-size:8px;text-transform:uppercase}
.detail-meta strong{display:block;margin-top:3px;font-size:11px}
.buy-row{display:flex;gap:10px;margin-top:20px}
.qty-control{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:#fff}
.qty-control button{width:40px;height:44px;border:0;background:transparent;font-weight:900}
.qty-control span{min-width:34px;text-align:center;font-weight:900}
.buy-row .primary-button{flex:1}
.page-heading{margin-bottom:19px}
.panel-card{border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.75fr);gap:18px;align-items:start}
.cart-items,.checkout-form{padding:18px}
.cart-row{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}
.cart-row:last-child{border-bottom:0}
.cart-image{width:86px;height:86px;padding:7px;border-radius:14px;background:#f8fafc;object-fit:contain}
.cart-info h3{margin:0 0 5px;font-size:13px}
.cart-info p{margin:0 0 8px;color:var(--muted);font-size:9px}
.cart-price strong{font-size:13px}
.cart-price del{margin-left:5px;color:#94a3b8;font-size:9px}
.cart-actions{display:flex;align-items:center;gap:8px;margin-top:10px}
.remove-link{border:0;color:var(--danger);background:transparent;font-size:9px;font-weight:900}
.price-panel{position:sticky;top:142px;padding:18px}
.price-panel h2,.checkout-form h2{margin:0 0 14px;font-size:18px}
.price-line{display:flex;justify-content:space-between;gap:12px;margin:10px 0;color:#475569;font-size:11px}
.price-line.savings{color:var(--green-dark)}
.price-line.total{margin-top:14px;padding-top:14px;border-top:1px dashed var(--line);color:var(--ink);font-size:15px;font-weight:900}
.price-panel .primary-button{width:100%;margin-top:11px}
.empty-state{padding:48px 18px;text-align:center}
.empty-state i{display:block;margin-bottom:12px;color:#86efac;font-size:52px}
.empty-state h2{margin:0;font-size:20px}
.empty-state p{margin:8px auto 17px;max-width:420px;color:var(--muted);font-size:11px;line-height:1.5}
.checkout-form h2{margin-bottom:18px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.form-grid label{display:block}
.form-grid label>span,.auth-form-wrap label>span{display:block;margin-bottom:6px;color:#334155;font-size:10px;font-weight:850}
.full-field{grid-column:1/-1}
.coupon-box{display:flex;gap:8px;margin-top:16px}
.coupon-box input{min-width:0;flex:1;height:44px;padding:0 12px;border:1px dashed #86efac;border-radius:11px;outline:0}
.coupon-box button{padding:0 15px;border:0;border-radius:11px;color:#166534;background:#dcfce7;font-size:10px;font-weight:900}
.form-message{min-height:18px;margin:7px 0 0;color:var(--muted);font-size:10px}
.form-message.error{color:var(--danger)}
.form-message.success{color:var(--green-dark)}
.checkout-submit{width:100%;margin-top:14px}
.orders-list{display:grid;gap:13px}
.order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 25px rgba(15,23,42,.05)}
.order-top{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.order-top h3{margin:0;font-size:14px}
.status-pill{display:inline-flex;padding:5px 8px;border-radius:99px;color:#166534;background:#dcfce7;font-size:8px;font-weight:900}
.order-meta{display:flex;gap:15px;flex-wrap:wrap;margin-top:8px;color:var(--muted);font-size:9px}
.order-images{display:flex;margin-top:11px}
.order-images img{width:42px;height:42px;padding:4px;margin-right:-6px;border:2px solid #fff;border-radius:12px;background:#f8fafc;object-fit:contain}
.order-amount{align-self:center;text-align:right}
.order-amount strong{display:block;font-size:16px}
.order-amount a{display:inline-flex;margin-top:8px;color:var(--green-dark);font-size:10px;font-weight:900}
.order-detail-page{display:grid;gap:16px}
.order-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border-radius:21px;color:#fff;background:linear-gradient(145deg,#166534,#16a34a)}
.order-hero h1{margin:3px 0;font-size:24px}
.order-hero p{margin:0;color:rgba(255,255,255,.78);font-size:10px}
.timeline{display:grid;grid-template-columns:repeat(4,1fr);padding:18px}
.timeline-step{position:relative;text-align:center}
.timeline-step:not(:last-child)::after{content:"";position:absolute;top:17px;left:56%;width:88%;height:3px;background:#e2e8f0}
.timeline-step.done:not(:last-child)::after{background:#22c55e}
.timeline-icon{position:relative;z-index:2;width:36px;height:36px;display:grid;place-items:center;margin:0 auto 7px;border:3px solid #e2e8f0;border-radius:50%;color:#94a3b8;background:#fff}
.timeline-step.done .timeline-icon{border-color:#22c55e;color:#fff;background:#22c55e}
.timeline-step strong{font-size:9px}
.order-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px}
.order-items-panel,.order-address-panel{padding:17px}
.order-item-row{display:grid;grid-template-columns:65px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.order-item-row img{width:65px;height:65px;padding:5px;border-radius:12px;background:#f8fafc;object-fit:contain}
.order-item-row h4{margin:0 0 4px;font-size:11px}
.order-item-row p{margin:0;color:var(--muted);font-size:9px}
.profile-card{padding:20px}
.profile-head{display:flex;align-items:center;gap:16px}
.profile-avatar{width:74px;height:74px;display:grid;place-items:center;overflow:hidden;border-radius:22px;color:#fff;background:linear-gradient(145deg,var(--green),var(--green-dark));font-size:30px;font-weight:900}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-copy{min-width:0;flex:1}
.profile-copy h1{margin:0 0 4px;font-size:22px}
.profile-copy p{margin:0;color:var(--muted);font-size:10px}
.profile-actions{display:flex;gap:8px}
.secondary-button,.danger-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 13px;border:1px solid var(--line);border-radius:11px;background:#fff;font-size:10px;font-weight:900}
.danger-button{border-color:#fecaca;color:#b91c1c;background:#fff7f7}
.saved-address-card{margin-top:16px;padding:20px}
.auth-shell{padding-block:28px 50px}
.auth-card{width:min(100%,900px);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;margin:auto;border:1px solid var(--line);border-radius:25px;background:#fff;box-shadow:var(--shadow)}
.auth-visual{display:flex;flex-direction:column;justify-content:center;padding:50px;color:#fff;background:radial-gradient(circle at top right,rgba(255,255,255,.16),transparent 30%),linear-gradient(145deg,#166534,#16a34a)}
.auth-visual h1{margin:18px 0 8px;font-size:31px}
.auth-visual p{color:rgba(255,255,255,.8);font-size:12px;line-height:1.6}
.auth-benefits{display:grid;gap:9px;margin-top:18px;font-size:11px;font-weight:800}
.auth-benefits i{margin-right:6px;color:#bbf7d0}
.auth-form-wrap{padding:38px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;border-radius:12px;background:#f1f5f9}
.auth-tabs button{height:38px;border:0;border-radius:9px;color:#64748b;background:transparent;font-size:10px;font-weight:900}
.auth-tabs button.active{color:var(--green-dark);background:#fff;box-shadow:0 5px 15px rgba(15,23,42,.07)}
.google-button{width:100%;height:45px;margin-top:17px;border:1px solid var(--line);border-radius:11px;color:#334155;background:#fff;font-size:11px;font-weight:900}
.google-button i{margin-right:7px;color:#4285f4}
.or-divider{display:flex;align-items:center;gap:10px;margin:15px 0;color:#94a3b8;font-size:9px}
.or-divider::before,.or-divider::after{content:"";height:1px;flex:1;background:var(--line)}
.auth-form-wrap form{display:grid;gap:12px}
.auth-form-wrap .primary-button{width:100%}
.text-button{width:100%;margin-top:12px;border:0;color:var(--green-dark);background:transparent;font-size:10px;font-weight:900}
.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.health-card{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}
.health-card i{font-size:23px}
.health-card.ok i{color:#16a34a}
.health-card.bad i{color:#dc2626}
.health-card strong{display:block;font-size:11px}
.health-card p{margin:4px 0 0;color:var(--muted);font-size:9px}
.mt-card{margin-top:15px;padding:18px}
.mt-card h2{margin:0 0 7px;font-size:18px}
.mt-card p{color:var(--muted);font-size:11px;line-height:1.6}
.site-footer{margin-top:25px;padding:32px 0 0;color:#cbd5e1;background:#0f172a}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;padding-bottom:28px}
.footer-brand{display:flex;align-items:center;gap:7px;color:#fff;font-size:19px}
.footer-grid p{max-width:430px;color:#94a3b8;font-size:10px;line-height:1.6}
.footer-grid>div:not(:first-child){display:grid;align-content:start;gap:9px}
.footer-grid>div:not(:first-child)>strong{color:#fff;font-size:11px}
.footer-grid a{color:#94a3b8;font-size:10px}
.footer-bottom{padding:13px;border-top:1px solid rgba(148,163,184,.16);color:#64748b;text-align:center;font-size:9px}
.mobile-bottom-nav{display:none}
.modal-overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:flex-end;justify-content:center;padding:16px;background:rgba(15,23,42,.55)}
.modal-card{width:min(100%,520px);max-height:75vh;overflow:auto;padding:18px;border-radius:22px;background:#fff;box-shadow:0 30px 80px rgba(15,23,42,.28)}
.modal-head{display:flex;justify-content:space-between;gap:15px;margin-bottom:12px}
.modal-head h3{margin:0;font-size:19px}
.modal-head p{margin:4px 0 0;color:var(--muted);font-size:9px}
.modal-head button{width:36px;height:36px;border:0;border-radius:10px;background:#f1f5f9}
.store-list{display:grid;gap:8px}
.store-option{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}
.store-option.active{border-color:#4ade80;background:#f0fdf4}
.store-option i{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;color:#166534;background:#dcfce7}
.store-option span{flex:1}
.store-option strong{display:block;font-size:11px}
.store-option small{color:var(--muted);font-size:8px}
.toast-root{position:fixed;top:18px;right:18px;z-index:5000;display:grid;gap:8px}
.app-toast{min-width:260px;max-width:370px;display:flex;align-items:flex-start;gap:9px;padding:12px;border-radius:13px;color:#fff;background:#0f172a;box-shadow:0 20px 50px rgba(15,23,42,.22);animation:toastIn .25s ease;font-size:10px;line-height:1.45}
.app-toast.success{background:#166534}
.app-toast.error{background:#991b1b}
@keyframes toastIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
.skeleton-block{position:relative;overflow:hidden;background:#e2e8f0!important}
.skeleton-block::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);animation:skeleton 1.2s infinite}
@keyframes skeleton{to{transform:translateX(100%)}}
.spinner{width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1024px){
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-detail-card{grid-template-columns:1fr 1fr}
.desktop-actions span{display:none}
.icon-action,.cart-action{padding-inline:10px}
}
@media(max-width:760px){
body{padding-bottom:72px}
.app-container{width:min(100% - 18px,1220px)}
.topbar{min-height:62px;gap:9px}
.brand small{display:none}
.brand strong{font-size:16px}
.brand-mark{width:38px;height:38px;border-radius:12px;font-size:18px}
.store-pill{min-width:0;flex:1;padding:7px 9px}
.store-pill strong{max-width:115px}
.desktop-actions{display:none}
.search-row{padding-bottom:8px}
.global-search{padding-left:11px}
.global-search button{display:none}
.hero-slider,.hero-track{min-height:220px;height:220px;border-radius:19px}
.hero-content{width:88%;padding:38px 24px}
.hero-content h1{margin-top:10px;font-size:28px}
.hero-content p{display:-webkit-box;overflow:hidden;font-size:10px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.section-block{margin-top:24px}
.section-heading h2,.page-heading h1,.catalog-head h1{font-size:22px}
.category-rail{grid-auto-columns:95px;gap:9px}
.category-card{min-height:108px;padding:9px;border-radius:15px}
.category-card img{width:54px;height:54px}
.promo-grid{grid-template-columns:1fr}
.promo-card,.promo-card img{min-height:110px}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.product-card{border-radius:16px}
.product-media{padding:9px}
.product-info{padding:9px}
.product-title{min-height:32px;font-size:10px}
.product-bottom{align-items:center}
.price-stack strong{font-size:13px}
.add-button{min-width:59px;height:31px;font-size:9px}
.catalog-head{align-items:flex-start;flex-direction:column}
.select-control{width:100%}
.product-detail-card{grid-template-columns:1fr;gap:13px;min-height:0;padding:12px;border-radius:18px}
.product-copy h1{font-size:23px}
.gallery-thumbs{grid-template-columns:repeat(5,1fr)}
.detail-price strong{font-size:22px}
.buy-row{position:sticky;bottom:77px;z-index:5;padding:8px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 25px rgba(15,23,42,.14)}
.cart-layout,.checkout-layout,.order-detail-grid{grid-template-columns:1fr}
.cart-items,.checkout-form{padding:12px}
.cart-row{grid-template-columns:72px minmax(0,1fr)}
.cart-image{width:72px;height:72px}
.cart-row>div:last-child{grid-column:2}
.price-panel{position:static}
.form-grid{grid-template-columns:1fr}
.full-field{grid-column:auto}
.order-card{grid-template-columns:1fr}
.order-amount{text-align:left}
.timeline{padding:14px 7px}
.timeline-step strong{font-size:7px}
.timeline-step:not(:last-child)::after{left:58%;width:84%}
.profile-head{align-items:flex-start;flex-wrap:wrap}
.profile-actions{width:100%}
.profile-actions>*{flex:1}
.auth-card{grid-template-columns:1fr}
.auth-visual{padding:27px}
.auth-visual h1{font-size:24px}
.auth-form-wrap{padding:21px}
.health-grid{grid-template-columns:1fr}
.site-footer{display:none}
.mobile-bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:1500;display:grid;grid-template-columns:repeat(5,1fr);padding:7px max(7px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(7px,env(safe-area-inset-left));border-top:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);box-shadow:0 -10px 30px rgba(15,23,42,.07)}
.mobile-bottom-nav a{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;color:#64748b;font-size:8px;font-weight:850}
.mobile-bottom-nav i{font-size:19px}
.mobile-bottom-nav a.active{color:var(--green)}
.mobile-bottom-nav b{position:absolute;top:-2px;right:20%;color:#fff;background:#ef4444}
.toast-root{top:8px;right:8px;left:8px}
.app-toast{min-width:0;max-width:none}
}
@media(max-width:360px){
.product-grid{grid-template-columns:1fr 1fr}
.product-bottom{align-items:flex-start;flex-direction:column}
.add-button{width:100%}
}


/* Firebase Mobile OTP Authentication */

.otp-heading{
    margin-bottom:17px;
}

.otp-heading h2{
    margin:0;
    font-size:23px;
}

.otp-heading p{
    margin:6px 0 0;
    color:var(--muted);
    font-size:10px;
    line-height:1.5;
}

#phoneOtpForm,
#mobileStep,
#otpStep{
    display:grid;
    gap:12px;
}

#phoneOtpForm label>span{
    display:block;
    margin-bottom:6px;
    color:#334155;
    font-size:10px;
    font-weight:850;
}

#phoneOtpForm input{
    width:100%;
    height:46px;
    padding:0 12px;
    border:1px solid var(--line);
    border-radius:12px;
    color:var(--ink);
    background:#fff;
    outline:0;
}

#phoneOtpForm input:focus{
    border-color:#4ade80;
    box-shadow:0 0 0 4px rgba(74,222,128,.15);
}

.phone-input-group{
    display:flex;
    align-items:center;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:12px;
    background:#fff;
}

.phone-input-group:focus-within{
    border-color:#4ade80;
    box-shadow:0 0 0 4px rgba(74,222,128,.15);
}

.phone-input-group strong{
    height:46px;
    display:flex;
    align-items:center;
    padding:0 12px;
    border-right:1px solid var(--line);
    color:#334155;
    background:#f8fafc;
    font-size:12px;
}

.phone-input-group input{
    min-width:0;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
}

.otp-code-input{
    text-align:center;
    letter-spacing:.42em;
    font-size:21px!important;
    font-weight:900;
}

.otp-sent-box{
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px;
    border-radius:13px;
    color:#166534;
    background:#ecfdf3;
}

.otp-sent-box>i{
    font-size:22px;
}

.otp-sent-box>div{
    min-width:0;
    flex:1;
}

.otp-sent-box strong{
    display:block;
    font-size:10px;
}

.otp-sent-box p{
    margin:3px 0 0;
    font-size:9px;
}

.otp-sent-box button{
    border:0;
    color:#166534;
    background:transparent;
    font-size:9px;
    font-weight:900;
}

.otp-resend-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:var(--muted);
    font-size:9px;
}

.otp-resend-row .text-button{
    width:auto;
    margin:0;
}

.recaptcha-status{
    display:flex;
    align-items:center;
    gap:7px;
    margin-top:13px;
    padding:9px 11px;
    border-radius:11px;
    color:#475569;
    background:#f8fafc;
    font-size:9px;
}

.recaptcha-status.ready{
    color:#166534;
    background:#ecfdf3;
}

.recaptcha-status.error{
    color:#991b1b;
    background:#fef2f2;
}

.otp-terms{
    margin:11px 0 0;
    color:#94a3b8;
    text-align:center;
    font-size:8px;
    line-height:1.5;
}

.spinner{
    width:15px;
    height:15px;
    display:inline-block;
    border:2px solid rgba(255,255,255,.45);
    border-top-color:#fff;
    border-radius:50%;
    animation:rbSpin .7s linear infinite;
}

@keyframes rbSpin{
    to{transform:rotate(360deg)}
}
