:root{--ink:#f7f2e9;--muted:#a99f91;--bg:#14120f;--panel:#201c17;--panel2:#29231b;--line:#393126;--lime:#b9d96d;--orange:#ef8e45;--cream:#f4ecd9;--red:#dc7058;--shadow:0 18px 45px #0007;--r:18px;--font:"DM Sans",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:15px var(--font);line-height:1.45}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.shell{width:min(1240px,calc(100% - 40px));margin:auto}.utility{height:30px;background:#0e0d0b;color:var(--muted);display:flex;justify-content:space-between;align-items:center;padding:0 28px;font-size:11px}.utility-center{color:var(--cream)}.dot{color:var(--orange);margin:0 7px}.header{position:sticky;top:0;z-index:20;background:#14120fee;backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.header-main{height:82px;display:flex;align-items:center;gap:38px}.brand{display:flex;align-items:center;gap:10px;font:700 21px "Playfair Display",serif;white-space:nowrap}.brand img{width:38px;height:38px;object-fit:contain}.brand i{color:var(--orange);font-style:normal}.search-wrap{position:relative;flex:1;max-width:650px}.search-wrap input{width:100%;height:46px;border:1px solid #514638;background:#282219;border-radius:11px;color:var(--ink);padding:0 42px;font-size:14px;outline:none}.search-wrap input:focus{border-color:var(--lime);box-shadow:0 0 0 3px #b9d96d20}.search-icon{position:absolute;left:15px;top:9px;font-size:24px;color:var(--muted);z-index:1}.clear-search{position:absolute;right:10px;top:6px;background:none;border:0;color:var(--muted);font-size:23px;display:none}.search-suggest{display:none;position:absolute;top:52px;left:0;right:0;background:#272119;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:10px;z-index:30}.search-suggest.show{display:block}.suggest-item{padding:11px 12px;border-radius:10px;display:flex;align-items:center;gap:12px}.suggest-item:hover{background:#342b20}.suggest-item img{width:36px;height:36px;object-fit:contain;background:#eee7d7;border-radius:7px}.suggest-item small{display:block;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.head-action{display:flex;flex-direction:column;align-items:center;color:var(--muted);gap:1px}.head-action span{font-size:22px;line-height:20px}.head-action small{font-size:11px}.cart-pill{display:flex;align-items:center;gap:8px;background:var(--lime);color:#16200f;border-radius:12px;padding:9px 12px;font-size:13px}.cart-pill b{background:#16200f;color:#fff;border-radius:50%;min-width:20px;height:20px;text-align:center;line-height:20px;font-size:11px}.cart-pill strong{font-size:13px}.category-nav{border-top:1px solid #2a241d}.category-scroll{display:flex;gap:25px;overflow:auto;scrollbar-width:none}.category-scroll a{padding:12px 0 13px;color:var(--muted);font-size:13px;white-space:nowrap;border-bottom:2px solid transparent}.category-scroll a:hover,.category-scroll a.active{color:var(--cream);border-color:var(--lime)}.mobile-nav{display:none}.hero{display:grid;grid-template-columns:1.05fr .95fr;min-height:390px;margin:28px 0 20px;background:linear-gradient(120deg,#254f3d,#183a30 55%,#1c2620);border-radius:25px;overflow:hidden}.hero-copy{padding:55px 56px}.eyebrow{color:var(--lime);font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:700}.hero h1{font:800 clamp(36px,5vw,64px)/1.03 "Playfair Display",serif;letter-spacing:-.03em;margin:14px 0}.hero p{color:#d0d1bd;max-width:430px;font-size:9.14px}.hero .eyebrow{font-size:6.86px}.hero h1{font-size:clamp(20.57px,2.86vw,36.57px)}.hero-art{position:relative;background:linear-gradient(90deg,#0d2b2155,#0d2b2125),url("assets/brand/storefront-hero.webp") center 58%/cover no-repeat}.hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#183a30b8 0%,transparent 38%,#0d2b2110 100%);pointer-events:none}.btn{border:0;border-radius:10px;padding:12px 18px;font-weight:700;display:inline-flex;align-items:center;gap:8px}.btn-primary{background:var(--lime);color:#18200f}.btn-ghost{border:1px solid #c6bba8;background:transparent;color:var(--ink)}.hero .btn{margin:18px 8px 0 0;font-size:8.57px;padding:6.86px 10.29px;gap:4.57px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:34px}.trust-card{background:var(--panel);border:1px solid var(--line);padding:15px 18px;border-radius:13px;display:flex;gap:12px;align-items:center}.trust-card b{display:block;font-size:13px}.trust-card span{font-size:22px}.trust-card small{color:var(--muted);font-size:11px}.section-title{display:flex;justify-content:space-between;align-items:end;margin:36px 0 17px}.section-title h2{font:700 25px "Playfair Display",serif;margin:0}.section-title a{color:var(--lime);font-size:13px}.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.shortcut{min-height:112px;border:1px solid var(--line);border-radius:15px;padding:20px;background:linear-gradient(135deg,var(--panel),#29221a);display:flex;flex-direction:column;justify-content:space-between;transition:.18s}.shortcut:hover{transform:translateY(-3px);border-color:var(--lime)}.shortcut span{font-size:27px}.shortcut b{font-size:14px}.shortcut small{color:var(--muted)}.rail{display:flex;gap:12px;overflow:auto;padding-bottom:8px;scrollbar-width:thin}.rail .product-card{min-width:205px;max-width:205px}.shop-layout{display:grid;grid-template-columns:215px 1fr;gap:26px;margin:32px 0 70px}.filters{border-right:1px solid var(--line);padding-right:20px}.filters h3{font-size:14px;margin:0 0 20px}.filter-block{border-top:1px solid var(--line);padding:17px 0}.filter-block b{font-size:12px}.filter-block label{display:block;color:var(--muted);margin-top:10px;font-size:12px}.filter-block input{accent-color:var(--lime);margin-right:7px}.catalog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.catalog-head h1{font:700 28px "Playfair Display",serif;margin:0}.catalog-head p{color:var(--muted);margin:3px 0 0;font-size:12px}.sort{background:var(--panel);color:var(--ink);border:1px solid var(--line);padding:9px;border-radius:9px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.product-card{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:10px;min-width:0;transition:.18s}.product-card:hover{border-color:#827252;transform:translateY(-2px)}.product-image{height:150px;background:#f0eadc;border-radius:10px;display:grid;place-items:center;margin-bottom:10px}.product-image img{width:100%;height:100%;object-fit:contain;padding:10px}.favorite{position:absolute;right:17px;top:17px;border:0;background:#fff;color:#4b473f;border-radius:50%;width:29px;height:29px;font-size:17px}.favorite.active{color:var(--red);background:#ffe9df}.badge{position:absolute;left:16px;top:16px;background:var(--orange);color:#28160c;padding:3px 7px;border-radius:5px;font-size:9px;font-weight:700}.product-card h3{font-size:13px;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-meta{color:var(--muted);font-size:11px;min-height:17px}.price{font-size:18px;font-weight:700;margin-top:7px}.price small{font-size:11px;color:var(--muted);font-weight:400}.add-row{display:flex;gap:6px;margin-top:10px}.add-row button{flex:1;border:0;border-radius:8px;background:var(--lime);color:#17200d;padding:8px 4px;font-weight:700;font-size:12px}.qty{display:flex;align-items:center;justify-content:space-between;border:1px solid #655740;border-radius:8px;overflow:hidden;width:100%}.qty button{border:0;background:transparent;color:var(--cream);font-size:19px;width:31px}.qty span{font-weight:700;font-size:12px}.stock{font-size:10px;color:var(--lime);margin-top:5px}.stock.out{color:var(--red)}.mini-cart{position:fixed;right:22px;bottom:24px;z-index:15;background:#f5efdf;color:#1c1c15;border-radius:13px;box-shadow:var(--shadow);padding:13px 15px;display:none;align-items:center;gap:14px}.mini-cart.show{display:flex;animation:slide .3s ease}.mini-cart img{width:40px;height:40px;object-fit:contain;background:#fff;border-radius:7px}.mini-cart small{display:block;color:#716b5d}.mini-cart a{background:#1d301a;color:#e9f0d4;padding:9px 11px;border-radius:8px;font-size:12px;font-weight:700}@keyframes slide{from{transform:translateY(15px);opacity:0}}.cart-page{display:grid;grid-template-columns:1fr 340px;gap:25px;margin:34px 0 70px}.cart-panel,.summary,.account-card,.checkout-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px}.cart-item{display:grid;grid-template-columns:72px 1fr auto auto;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:15px 0}.cart-item img{width:72px;height:72px;object-fit:contain;background:#eee7d7;border-radius:9px}.cart-item h3{font-size:14px;margin:0 0 4px}.cart-item small{color:var(--muted)}.summary{height:max-content;position:sticky;top:145px}.summary h3{margin:0 0 20px;font:700 20px "Playfair Display",serif}.sum-row{display:flex;justify-content:space-between;color:var(--muted);font-size:13px;margin:12px 0}.sum-row.total{border-top:1px solid var(--line);padding-top:16px;color:var(--ink);font-size:18px;font-weight:700}.full{width:100%;justify-content:center}.empty{padding:50px 20px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:15px}.page-title{margin:35px 0 18px;font:700 32px "Playfair Display",serif}.detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;margin:40px 0}.detail-image{height:470px;background:#f1ebdf;border-radius:18px;display:grid;place-items:center}.detail-image img{height:90%;width:90%;object-fit:contain}.detail h1{font:700 42px/1.05 "Playfair Display",serif;margin:8px 0 12px}.detail .price{font-size:28px}.detail-copy{padding:30px 0}.detail-desc{color:var(--muted);max-width:460px;margin:20px 0}.checkout-steps{display:flex;gap:0;margin:28px 0}.step{flex:1;padding:12px 15px;border-bottom:2px solid var(--line);color:var(--muted);font-size:12px}.step.active{color:var(--lime);border-color:var(--lime)}.checkout-layout{max-width:850px;margin-bottom:70px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:15px}.field label{font-size:12px;color:var(--muted)}.field input,.field select{background:var(--panel2);border:1px solid var(--line);color:var(--ink);border-radius:9px;padding:11px;outline:none}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:25px 0 70px}.account-card span{font-size:26px}.account-card b{display:block;margin-top:10px}.account-card small{color:var(--muted)}.footer{border-top:1px solid var(--line);margin-top:50px;padding:38px 0 20px;color:var(--muted)}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:28px}.footer-grid .brand{color:var(--ink);margin-bottom:12px}.footer-grid b{display:block;color:var(--ink);font-size:12px;margin-bottom:11px}.footer-grid a,.footer-grid p{display:block;font-size:12px;margin:7px 0}.footer-bottom{border-top:1px solid var(--line);margin-top:30px;padding-top:17px;font-size:11px;display:flex;justify-content:space-between}.toast-host{position:fixed;top:125px;right:20px;z-index:50}.toast{background:#eaf2d5;color:#18200f;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);margin:8px 0;font-weight:700;font-size:13px;animation:slide .25s ease}@media(max-width:1050px){.product-grid{grid-template-columns:repeat(3,1fr)}.header-main{gap:18px}.header-actions{gap:12px}}@media(max-width:760px){.shell{width:min(100% - 28px,600px)}.utility{padding:0 14px;font-size:9px}.utility-center{display:none}.header-main{height:auto;padding:12px 0;display:grid;grid-template-columns:1fr auto;gap:10px}.brand{font-size:18px}.brand img{width:31px;height:31px}.header-actions{grid-column:2;grid-row:1}.head-action{display:none}.cart-pill{padding:8px}.search-wrap{grid-column:1/-1;grid-row:2;max-width:none}.category-scroll{gap:20px}.category-scroll a{font-size:12px}.hero{grid-template-columns:1fr;min-height:0;margin-top:16px}.hero-copy{padding:32px 24px}.hero h1{font-size:24px}.hero-art{height:130px}.trust-row{grid-template-columns:1fr;gap:7px}.trust-card{padding:10px 14px}.shortcut-grid{grid-template-columns:repeat(2,1fr)}.shortcut{min-height:95px;padding:15px}.product-grid{grid-template-columns:repeat(2,1fr);gap:9px}.product-image{height:120px}.product-card{padding:8px}.product-card h3{font-size:12px}.shop-layout{display:block;margin-top:24px}.filters{display:none}.catalog-head h1{font-size:24px}.sort{font-size:11px}.cart-page,.detail{display:block;margin-top:25px}.summary{margin-top:16px;position:static}.cart-item{grid-template-columns:55px 1fr auto;gap:9px}.cart-item img{width:55px;height:55px}.cart-item .qty{grid-column:2}.cart-item .line-total{grid-column:3;grid-row:1}.detail-image{height:300px}.detail h1{font-size:34px}.form-grid{grid-template-columns:1fr}.account-grid{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:6px}.mini-cart{left:14px;right:14px;bottom:73px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:25;background:#1c1915f7;border-top:1px solid var(--line);justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--muted);font-size:20px}.mobile-nav a.active,.mobile-nav a:hover{color:var(--lime)}.mobile-nav small{font-size:10px}.footer{padding-bottom:90px}}
.customer-order-status{margin:14px 0 12px;padding:12px 14px;border:1px solid #b9d96d55;border-radius:11px;background:#b9d96d12;color:var(--lime);font-weight:700;line-height:1.4}.customer-order-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0 0 17px}.customer-order-progress span{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px;line-height:1.2}.customer-order-progress i{display:grid;place-items:center;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;font-style:normal;color:var(--muted)}.customer-order-progress span.active,.customer-order-progress span.complete{color:var(--ink)}.customer-order-progress span.active i{border-color:var(--lime);background:var(--lime);color:#18200f;font-weight:700}.customer-order-progress span.complete i{border-color:#829d46;color:var(--lime)}
.product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.product-card{padding:7px;border-radius:11px}.product-image{height:104px;margin-bottom:7px;border-radius:8px;overflow:hidden;background:#f4eee2}.product-image img{width:100%;height:100%;padding:6px;object-fit:contain;object-position:center}.favorite{right:11px;top:11px;width:25px;height:25px;font-size:15px}.badge{left:11px;top:11px;padding:2px 5px;font-size:8px}.product-card h3{font-size:11px;margin-bottom:2px}.product-meta{font-size:9px;min-height:14px}.price{font-size:15px;margin-top:4px}.price small{font-size:9px}.stock{font-size:8px;margin-top:3px}.add-row{gap:4px;margin-top:6px}.add-row button{padding:6px 3px;font-size:10px;border-radius:6px}.qty button{width:25px;font-size:16px}.qty span{font-size:10px}.rail .product-card{min-width:170px;max-width:170px}@media(max-width:1180px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:980px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.product-image{height:92px}.product-card{padding:6px}.product-card h3{font-size:10px}.price{font-size:14px}.add-row button{font-size:9px;padding:5px 2px}}@media(max-width:520px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-image{height:116px}.product-card h3{font-size:11px}.price{font-size:15px}.add-row button{font-size:10px;padding:6px 3px}}

/* Order tracking */
.order-tracking-page{max-width:1030px;margin:34px auto 70px}.tracking-topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:13px}.tracking-back{color:var(--lime);font-weight:700}.tracking-order{color:var(--muted);font-size:12px}.preview-label{border:1px solid var(--line);padding:5px 9px;border-radius:999px}.tracking-layout{display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;background:linear-gradient(135deg,#241f18,#151c18);border:1px solid #49402f;border-radius:24px;min-height:390px}.tracking-copy{padding:48px;display:flex;flex-direction:column;justify-content:center}.tracking-kicker{color:var(--lime);font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.tracking-copy h1{font:800 clamp(32px,4vw,51px)/1.03 "Playfair Display",serif;letter-spacing:-.035em;margin:15px 0}.tracking-copy p{color:var(--muted);font-size:16px;max-width:410px;margin:0}.tracking-detail{display:flex;gap:16px;align-items:center;margin-top:28px;color:var(--muted);font-size:13px}.tracking-detail b{color:var(--cream);font-size:18px}.tracking-visual{min-height:390px;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(circle at 50% 42%,#4b513147,transparent 50%)}.tracking-scene{width:min(420px,90%);height:270px;position:relative}.tracking-steps{display:grid;grid-template-columns:repeat(4,1fr);margin:22px 20px 0}.tracking-steps>div{position:relative;display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px}.tracking-steps>div:not(:last-child):after{content:"";position:absolute;height:2px;background:var(--line);top:14px;left:29px;right:-4px}.tracking-steps i{z-index:1;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--panel);border:1px solid var(--line);font-style:normal}.tracking-steps .complete,.tracking-steps .active{color:var(--cream)}.tracking-steps .complete i{background:#344522;border-color:var(--lime);color:var(--lime)}.tracking-steps .complete:after,.tracking-steps .active:after{background:var(--lime)!important}.tracking-steps .active i{background:var(--lime);border-color:var(--lime);color:#17200d;box-shadow:0 0 0 7px #b9d96d18}.tracking-preview-controls{margin-top:27px}.tracking-preview-controls>span{color:var(--muted);font-size:12px}.tracking-preview-controls>div{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.tracking-preview-controls button{background:#29271d;border:1px solid var(--line);color:var(--cream);border-radius:999px;padding:7px 9px;font-size:11px}.tracking-preview-controls button.selected{background:var(--lime);color:#19210f;border-color:var(--lime);font-weight:700}.tracking-cancel-note{margin:22px 0;padding:13px 16px;border-radius:12px;background:#dc705814;color:#e5b9aa;font-size:13px}.tracking-cancel-note a{color:var(--lime);font-weight:700}
/* Pending: electricity travels between home and shop. */
.scene-house,.scene-shop{position:absolute;bottom:64px;width:78px;height:62px;background:#dcd2af;border-radius:5px 5px 8px 8px}.scene-house{left:27px}.scene-house:before{content:"";position:absolute;width:61px;height:61px;background:#dcd2af;transform:rotate(45deg);top:-30px;left:9px;border-radius:5px}.scene-house .roof{position:absolute;z-index:1;width:68px;height:37px;top:-29px;left:5px;background:#e9854b;clip-path:polygon(50% 0,100% 100%,0 100%)}.scene-house .door{position:absolute;z-index:2;background:#455738;width:15px;height:29px;bottom:0;left:31px;border-radius:7px 7px 0 0}.scene-shop{right:25px;background:#e3d9bb;text-align:center;padding-top:26px;color:#304020;font:700 16px "Playfair Display"}.scene-shop:before{content:"";position:absolute;top:-14px;left:-7px;width:92px;height:18px;background:repeating-linear-gradient(90deg,#e46d50 0 11px,#f4e8cb 11px 22px);border-radius:5px 5px 0 0}.shop-awning{position:absolute;top:-2px;left:0;width:100%;border-top:3px solid #af4e3a}.energy-line{position:absolute;left:112px;right:113px;bottom:91px;border-top:2px dashed #8ca956}.energy-dot{position:absolute;width:10px;height:10px;background:#d7f478;border-radius:50%;bottom:87px;box-shadow:0 0 15px #d7f478;animation:energy 2.4s linear infinite}.d1{left:111px}.d2{left:111px;animation-delay:.8s}.d3{left:111px;animation-delay:1.6s}@keyframes energy{to{transform:translateX(178px);opacity:.2}}
/* Preparing: boxes bounce gently through the stocked shelves. */
.scene-preparing{border-radius:20px;background:#263328}.shelf{position:absolute;left:34px;right:34px;height:95px;border-bottom:8px solid #b88c58}.shelf-top{top:32px}.shelf-bottom{bottom:29px}.shelf i{position:absolute;bottom:8px;width:42px;height:48px;border-radius:5px 5px 2px 2px;background:#e7b957;box-shadow:inset 0 -14px #c8733f}.shelf i:after{content:"";position:absolute;background:#f1d76a;width:20px;height:20px;border-radius:50%;top:-9px;left:11px}.shelf i:nth-child(1){left:14px}.shelf i:nth-child(2){left:calc(50% - 21px);background:#b8d96d;box-shadow:inset 0 -14px #698d43}.shelf i:nth-child(3){right:14px;background:#e17953;box-shadow:inset 0 -14px #ad483a}.packing-box{position:absolute;left:calc(50% - 31px);top:98px;width:62px;height:48px;display:grid;place-items:center;background:#e2b46e;color:#38441f;font-weight:800;border-radius:4px;box-shadow:0 8px 10px #0004;animation:box-pack 1.8s ease-in-out infinite}.packing-hand{position:absolute;left:calc(50% + 36px);top:72px;color:#f4dc82;font-size:27px;animation:spark 1.8s ease-in-out infinite}@keyframes box-pack{50%{transform:translateY(-17px) rotate(-3deg)}}@keyframes spark{50%{transform:scale(1.35) rotate(45deg);opacity:.4}}
/* Driving: a delivery car rolls across a moving road. */
.scene-driving{border-radius:22px;background:linear-gradient(#284a4a 0 62%,#698e5c 62% 74%,#34372c 74%)}.road{position:absolute;bottom:0;left:0;right:0;height:70px;background:#292c26}.road i{position:absolute;top:32px;width:46px;height:5px;background:#e3d989;border-radius:9px;animation:road 1.2s linear infinite}.road i:nth-child(1){left:10px}.road i:nth-child(2){left:155px;animation-delay:.4s}.road i:nth-child(3){left:300px;animation-delay:.8s}@keyframes road{to{transform:translateX(-130px)}}.delivery-car{position:absolute;left:calc(50% - 72px);bottom:48px;width:145px;height:62px;animation:car-bob .55s ease-in-out infinite alternate}.car-cab{position:absolute;right:0;bottom:8px;width:51px;height:40px;background:#ef8e45;border-radius:6px 18px 4px 4px}.car-cab:before{content:"";position:absolute;top:6px;left:11px;width:24px;height:16px;background:#b8d9cc;border-radius:3px 10px 2px 2px}.car-box{position:absolute;left:0;bottom:8px;width:94px;height:46px;background:#f2dfb9;color:#405433;display:grid;place-items:center;font-weight:800;border-radius:5px}.delivery-car i{position:absolute;z-index:1;bottom:0;width:20px;height:20px;background:#182019;border:5px solid #d9d5bc;border-radius:50%}.delivery-car i:nth-of-type(1){left:18px}.delivery-car i:nth-of-type(2){right:14px}.drive-sun{position:absolute;right:34px;top:28px;width:40px;height:40px;border-radius:50%;background:#ebd16a;box-shadow:0 0 36px #ebd16a88}.drive-tree{position:absolute;width:34px;height:60px;bottom:70px;background:#386040;clip-path:polygon(50% 0,100% 66%,72% 66%,100% 100%,0 100%,28% 66%,0 66%)}.t1{left:32px}.t2{right:93px;transform:scale(.72)}@keyframes car-bob{to{transform:translateY(-3px)}}
/* Delivered and cancelled states. */
.scene-delivered{display:grid;place-items:center}.delivered-ring{position:absolute;width:155px;height:155px;border:2px solid #b9d96d55;border-radius:50%;animation:ring 2.4s ease-out infinite}.delivered-check{position:relative;z-index:1;display:grid;place-items:center;width:100px;height:100px;border-radius:50%;background:#b9d96d;color:#1d2912;font-size:54px;font-weight:700;box-shadow:0 0 0 14px #b9d96d16,0 18px 40px #0005;animation:check-in .7s cubic-bezier(.2,1.5,.4,1) both}.confetti{position:absolute;width:9px;height:19px;border-radius:5px;animation:confetti 2.5s ease-in-out infinite}.c1{left:24%;top:22%;background:#ef8e45}.c2{right:25%;top:17%;background:#b9d96d;animation-delay:.5s}.c3{left:16%;bottom:25%;background:#dc7058;animation-delay:1s}.c4{right:16%;bottom:22%;background:#f4ecd9;animation-delay:1.5s}.c5{left:48%;top:7%;background:#e7c85f;animation-delay:.75s}@keyframes ring{to{transform:scale(1.5);opacity:0}}@keyframes check-in{from{transform:scale(0) rotate(-25deg)}}@keyframes confetti{50%{transform:translateY(16px) rotate(110deg)}}.scene-cancelled{display:grid;place-items:center}.cancel-circle{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;border:3px solid #dc7058;color:#dc7058;font-size:65px;line-height:1;animation:cancel-pulse 2.2s ease-in-out infinite}.cancel-line{position:absolute;width:210px;border-top:1px dashed #dc705877;transform:rotate(-25deg)}.cancel-particle{position:absolute;width:7px;height:7px;border-radius:50%;background:#dc7058;animation:fade-particle 2s ease-out infinite}.p1{top:43px;left:90px}.p2{bottom:51px;right:94px;animation-delay:.65s}.p3{top:65px;right:69px;animation-delay:1.2s}@keyframes cancel-pulse{50%{box-shadow:0 0 0 14px #dc705813}}@keyframes fade-particle{to{transform:translate(14px,-15px);opacity:0}}
@media(max-width:760px){.order-tracking-page{margin-top:24px}.tracking-layout{grid-template-columns:1fr}.tracking-copy{padding:31px 25px}.tracking-copy h1{font-size:35px}.tracking-visual{min-height:280px}.tracking-scene{height:240px}.tracking-steps{margin:16px 4px 0}.tracking-steps>div{font-size:10px}.tracking-steps>div:not(:last-child):after{left:25px}.tracking-steps i{width:26px;height:26px}.scene-house{left:8px}.scene-shop{right:7px}.energy-line{left:93px;right:94px}.energy-dot{left:92px}.d1{left:92px}.d2{left:92px}.d3{left:92px}@keyframes energy{to{transform:translateX(140px)}}}
/* Basket confirmation: one composed moment instead of duplicate notifications. */
.mini-cart{right:22px;bottom:24px;z-index:55;min-width:360px;max-width:min(440px,calc(100vw - 32px));padding:12px 13px 15px;border:1px solid #fff9;background:linear-gradient(135deg,#fffdf7,#eae7d8);border-radius:17px;gap:10px;box-shadow:0 20px 55px #0009;color:#202116;overflow:hidden}.mini-cart.show{display:flex;animation:basket-enter .42s cubic-bezier(.2,1.35,.35,1) both}.mini-cart-check{display:grid;place-items:center;align-self:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;background:#223a20;color:#e8f5cb;font-weight:900;box-shadow:0 5px 12px #1c351a44}.mini-cart img{width:48px;height:48px;flex:0 0 48px;border:1px solid #e7dfca;border-radius:11px}.mini-cart-copy{min-width:0;display:grid;gap:1px;line-height:1.24}.mini-cart-copy b{font-size:13px}.mini-cart-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#5d6052}.mini-cart-copy span{font-size:11px;color:#7a704f;font-weight:700}.mini-cart a{margin-left:auto;white-space:nowrap;background:#253c20;color:#eff6dc;border-radius:10px;padding:9px 10px;font-size:11px;transition:transform .18s}.mini-cart a:hover{transform:translateY(-1px)}.mini-cart a i{font-style:normal;font-size:15px;line-height:0}.mini-cart-progress{position:absolute;bottom:0;left:0;height:3px;width:100%;background:linear-gradient(90deg,var(--lime),#e0be71);transform-origin:left;animation:basket-progress 3.55s linear both}.cart-fly-item{position:fixed;z-index:60;width:44px;height:44px;object-fit:contain;padding:4px;pointer-events:none;background:#f5efdf;border:1px solid #fff;border-radius:12px;box-shadow:0 10px 25px #0006;animation:cart-fly .45s cubic-bezier(.25,.9,.35,1) forwards}.cart-pill.cart-bump{animation:cart-bump .4s cubic-bezier(.2,1.5,.4,1)}@keyframes basket-enter{from{opacity:0;transform:translateY(22px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes basket-progress{to{transform:scaleX(0)}}@keyframes cart-fly{85%{opacity:1}to{transform:translate(var(--fly-x),var(--fly-y)) scale(.24) rotate(16deg);opacity:0}}@keyframes cart-bump{50%{transform:scale(1.12)}}@media(max-width:760px){.mini-cart{left:14px;right:14px;bottom:73px;min-width:0}.mini-cart-check{display:none}.mini-cart a{padding:8px}.mini-cart-copy b{font-size:12px}}@media(prefers-reduced-motion:reduce){.mini-cart.show,.mini-cart-progress,.cart-fly-item,.cart-pill.cart-bump{animation:none}}
/* Checkout stages: delivery details are confirmed before payment is shown. */
#checkoutPaymentStep:not([hidden]) { animation: checkout-step-in .34s ease both; }
.checkout-back { margin-top: 10px; }
@keyframes checkout-step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { #checkoutPaymentStep:not([hidden]) { animation: none; } }

/* Order journey refresh: one cohesive animated language for every delivery state. */
.tracking-visual { background: radial-gradient(circle at 50% 12%, #d7f47818, transparent 36%), linear-gradient(145deg, #17251f, #101714 70%); }
.journey-scene { width: min(480px, 92%); height: 300px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid #d7f47824; border-radius: 28px; background: #14221d; box-shadow: 0 22px 55px #0006, inset 0 1px #ffffff12; }
.journey-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(to bottom, #000, transparent 86%); }
.journey-sheen { position: absolute; inset: -35% -25%; z-index: -1; background: linear-gradient(110deg, transparent 42%, #d7f47810 50%, transparent 58%); transform: translateX(-32%); animation: journey-sheen 5s ease-in-out infinite; }
.journey-header { position: absolute; top: 17px; left: 21px; right: 21px; display: flex; justify-content: space-between; align-items: center; color: #dce7c8; font-size: 10px; letter-spacing: .13em; font-weight: 800; }
.journey-header span { display: inline-flex; align-items: center; gap: 7px; }
.journey-header span i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #d7f478; box-shadow: 0 0 0 5px #d7f47816, 0 0 15px #d7f478; animation: live-blink 1.6s ease-in-out infinite; }
.journey-header b { color: #92a392; font-size: 10px; letter-spacing: .03em; font-weight: 700; }
@keyframes journey-sheen { 50% { transform: translateX(32%); } }
@keyframes live-blink { 50% { opacity: .35; transform: scale(.72); } }

/* Pending: a living connection between destination and shop. */
.scene-pending { background: radial-gradient(circle at 50% 58%, #354c3c, #15231d 66%); }
.place-card { position: absolute; z-index: 2; top: 78px; width: 142px; min-height: 52px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border: 1px solid #ffffff16; border-radius: 15px; background: #f5efdc; color: #273422; box-shadow: 0 11px 25px #0004; animation: card-float 3s ease-in-out infinite; }
.place-home { left: 17px; }
.place-store { right: 17px; animation-delay: -.9s; }
.place-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; background: #d9e895; color: #334729; font: 800 14px/1 "Playfair Display", serif; }
.place-home .place-icon { background: #efbc7d; font-size: 23px; }
.place-card span:last-child { min-width: 0; display: grid; gap: 3px; }
.place-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.place-card small { color: #707965; font-size: 9px; }
.route-rail { position: absolute; top: 135px; left: 145px; right: 145px; height: 62px; }
.route-rail::before { content: ""; position: absolute; top: 30px; left: 0; right: 0; border-top: 2px dashed #9bb36b66; }
.route-progress { position: absolute; top: 29px; left: 0; width: 100%; height: 4px; transform-origin: left; background: linear-gradient(90deg, transparent, #d7f478, transparent); filter: drop-shadow(0 0 6px #d7f478); animation: route-scan 2.5s ease-in-out infinite; }
.route-pin { position: absolute; top: 24px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid #d7f478; background: #16251d; box-shadow: 0 0 0 5px #d7f47818; }
.route-start { left: -3px; }
.route-end { right: -3px; }
.route-package { position: absolute; top: 12px; left: 50%; width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #f5e0ad; border-radius: 10px; background: #e6b56f; color: #3a4524; font-size: 11px; box-shadow: 0 7px 15px #0005; animation: package-journey 2.5s ease-in-out infinite; }
.route-package::after { content: ""; position: absolute; inset: -6px; border: 1px solid #d7f47855; border-radius: 14px; animation: package-ring 2.5s ease-out infinite; }
.journey-footnote { position: absolute; right: 0; bottom: 18px; left: 0; display: flex; justify-content: center; align-items: center; gap: 9px; color: #a7b399; font-size: 11px; }
.pulse-orbit { width: 8px; height: 8px; border-radius: 50%; background: #d7f478; box-shadow: 0 0 0 6px #d7f47818; animation: live-blink 1.6s ease-in-out infinite; }
@keyframes card-float { 50% { transform: translateY(-4px); } }
@keyframes route-scan { 0%, 100% { opacity: .35; transform: scaleX(.25); } 50% { opacity: 1; transform: scaleX(1); } }
@keyframes package-journey { 0%, 100% { transform: translateX(-53px) rotate(-5deg); } 50% { transform: translateX(53px) rotate(5deg); } }
@keyframes package-ring { 70%, 100% { transform: scale(1.7); opacity: 0; } }

/* Preparing: a scan line gathers the fresh items into the order box. */
.scene-preparing { background: linear-gradient(160deg, #263d31, #13221b 72%); }
.prep-glow { position: absolute; top: 84px; left: 50%; width: 160px; height: 100px; transform: translateX(-50%); border-radius: 50%; background: #d7f47820; filter: blur(25px); animation: prep-glow 2.4s ease-in-out infinite; }
.prep-shelf { position: absolute; left: 34px; right: 34px; display: flex; align-items: flex-end; justify-content: space-around; padding: 0 17px 9px; border-bottom: 6px solid #bd8751; border-radius: 2px; }
.prep-shelf::after { content: ""; position: absolute; right: -3px; bottom: -10px; left: -3px; height: 7px; border-radius: 0 0 5px 5px; background: #734b32; }
.prep-shelf-back { top: 64px; height: 53px; opacity: .7; transform: scale(.9); }
.prep-shelf-front { top: 104px; height: 61px; }
.prep-shelf span { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 35px; border-radius: 11px 11px 8px 8px; background: #f0bb57; font-size: 22px; filter: drop-shadow(0 7px 4px #0005); animation: ingredient-bob 1.9s ease-in-out infinite; }
.prep-shelf span:nth-child(2) { background: #b7d96b; animation-delay: -.55s; }
.prep-shelf span:nth-child(3) { background: #e27b55; animation-delay: -1.05s; }
.prep-shelf span:nth-child(4) { background: #e8d0a1; animation-delay: -1.45s; }
.prep-shelf-front span:nth-child(1) { animation-delay: -.35s; }
.prep-shelf-front span:nth-child(2) { animation-delay: -.9s; }
.prep-shelf-front span:nth-child(3) { animation-delay: -1.5s; }
.prep-counter { position: absolute; right: 20px; bottom: 29px; left: 20px; height: 37px; border-radius: 11px 11px 6px 6px; background: linear-gradient(#765239, #4d382b); box-shadow: inset 0 3px #b88651, 0 10px 18px #0006; }
.prep-box { position: absolute; z-index: 3; bottom: 48px; left: 50%; width: 78px; height: 58px; display: grid; place-items: center; transform: translateX(-50%); border: 2px solid #b27b49; border-radius: 5px 5px 9px 9px; background: #dbaa67; color: #42532a; font-weight: 900; box-shadow: 0 12px 20px #0006; animation: box-lift 2.4s ease-in-out infinite; }
.prep-box::before { content: ""; position: absolute; inset: 8px 11px; border: 1px dashed #73503566; border-radius: 4px; }
.prep-box i { position: absolute; top: -3px; bottom: -3px; left: 50%; width: 9px; transform: translateX(-50%); background: #f0d48c; box-shadow: 0 0 8px #f0d48c88; }
.box-flap { position: absolute; top: -13px; width: 39px; height: 18px; background: #c79559; border: 1px solid #a77447; }
.box-flap-left { left: 0; transform: skewY(18deg); transform-origin: left bottom; }
.box-flap-right { right: 0; transform: skewY(-18deg); transform-origin: right bottom; }
.prep-scan { position: absolute; z-index: 4; bottom: 36px; left: 50%; width: 120px; height: 2px; transform: translateX(-50%); background: #d7f478; box-shadow: 0 0 17px 4px #d7f478aa; animation: scan-box 2.4s ease-in-out infinite; }
.prep-note { position: absolute; right: 0; bottom: 16px; left: 0; display: flex; justify-content: center; align-items: center; gap: 8px; color: #a7b399; font-size: 10px; }
.check-mark { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #d7f478; color: #27351c; font-weight: 900; }
@keyframes prep-glow { 50% { transform: translateX(-50%) scale(1.25); opacity: .55; } }
@keyframes ingredient-bob { 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes box-lift { 50% { transform: translate(-50%, -7px) rotate(-1deg); } }
@keyframes scan-box { 0%, 100% { transform: translate(-50%, 17px); opacity: .2; } 50% { transform: translate(-50%, -45px); opacity: 1; } }

/* On the way: a courier follows a moving route through the neighbourhood. */
.scene-driving { background: linear-gradient(170deg, #1b3640 0 57%, #25433a 57% 100%); }
.map-skyline { position: absolute; right: 0; bottom: 87px; left: 0; height: 62px; display: flex; align-items: flex-end; gap: 9px; padding: 0 25px; opacity: .48; }
.map-skyline i { width: 27px; height: 31px; border-radius: 4px 4px 0 0; background: #587b70; box-shadow: inset 6px 0 #6e9380; animation: skyline-breathe 3.5s ease-in-out infinite; }
.map-skyline i:nth-child(2) { height: 48px; animation-delay: -.9s; }
.map-skyline i:nth-child(3) { height: 37px; animation-delay: -1.5s; }
.map-skyline i:nth-child(4) { height: 55px; animation-delay: -2.2s; }
.map-skyline i:nth-child(5) { height: 42px; animation-delay: -.4s; }
.map-route { position: absolute; top: 78px; right: 22px; bottom: 32px; left: 22px; }
.route-stroke { position: absolute; top: 10px; right: 32px; bottom: 7px; left: 30px; border: 3px dashed #d7f478a8; border-left-color: transparent; border-radius: 46% 58% 52% 48%; transform: rotate(-7deg); filter: drop-shadow(0 0 6px #d7f47855); animation: route-dash 2s linear infinite; }
.route-stroke-two { top: 28px; right: 68px; bottom: 24px; left: 82px; border-color: #f5efdc44; border-right-color: transparent; border-width: 1px; transform: rotate(12deg); animation-direction: reverse; }
.map-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 31px; height: 31px; border: 2px solid #d7f478; border-radius: 50%; background: #193028; color: #eff5d6; font: 800 13px/1 "Playfair Display", serif; box-shadow: 0 0 0 6px #d7f47816; }
.map-node-home { bottom: 14px; left: 4px; font-size: 20px; }
.map-node-shop { top: 2px; right: 2px; font-size: 10px; }
.courier { position: absolute; z-index: 3; bottom: 42px; left: 10%; width: 76px; height: 70px; animation: courier-travel 4.8s cubic-bezier(.4,0,.2,1) infinite; }
.courier-shadow { position: absolute; bottom: 0; left: 0; width: 76px; height: 10px; border-radius: 50%; background: #08120e88; filter: blur(3px); }
.courier-bike { position: absolute; bottom: 9px; left: 12px; width: 55px; height: 19px; border-bottom: 5px solid #e8864d; border-radius: 0 0 35px 35px; transform: skewX(-13deg); }
.courier-bike::before,.courier-bike::after { content: ""; position: absolute; bottom: -8px; width: 15px; height: 15px; border: 4px solid #d9e1c9; border-radius: 50%; background: #17231d; }
.courier-bike::before { left: 2px; }
.courier-bike::after { right: -2px; }
.courier-rider { position: absolute; bottom: 28px; left: 27px; width: 25px; height: 34px; border-radius: 13px 13px 8px 8px; background: #ef8e45; transform: rotate(13deg); }
.courier-rider::before { content: ""; position: absolute; top: -15px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #edc18f; box-shadow: 0 -5px #d7f478; }
.courier b { position: absolute; z-index: 2; top: 16px; left: 13px; color: #3b4a2c; font-size: 8px; transform: rotate(13deg); }
.map-label { position: absolute; padding: 5px 8px; border: 1px solid #ffffff14; border-radius: 999px; background: #13231dcc; color: #cbd6ba; font-size: 9px; }
.map-label-one { top: 87px; left: 32px; transform: rotate(-8deg); }
.map-label-two { right: 28px; bottom: 57px; transform: rotate(7deg); }
.delivery-signal { position: absolute; right: 21px; bottom: 15px; display: flex; align-items: center; gap: 5px; color: #cbd6ba; font-size: 10px; }
.delivery-signal i { width: 5px; height: 5px; border-radius: 50%; background: #d7f478; animation: signal-dot 1.4s ease-in-out infinite; }
.delivery-signal i:nth-child(2) { animation-delay: .2s; }
.delivery-signal i:nth-child(3) { animation-delay: .4s; }
@keyframes skyline-breathe { 50% { opacity: .65; transform: translateY(-2px); } }
@keyframes route-dash { to { stroke-dashoffset: -34px; } }
@keyframes courier-travel { 0%, 8% { transform: translateX(0) translateY(2px) rotate(-2deg); } 46% { transform: translateX(115px) translateY(-2px) rotate(3deg); } 92%, 100% { transform: translateX(220px) translateY(1px) rotate(-2deg); } }
@keyframes signal-dot { 50% { opacity: .25; transform: scale(.65); } }

/* Delivered: the bag arrives at the door and resolves into a clear success moment. */
.scene-delivered { background: radial-gradient(circle at 50% 46%, #466242, #14231d 66%); }
.arrival-glow { position: absolute; top: 64px; left: 50%; width: 180px; height: 150px; transform: translateX(-50%); border-radius: 50%; background: #d7f4782e; filter: blur(23px); animation: arrival-glow 2.8s ease-in-out infinite; }
.arrival-door { position: absolute; bottom: 42px; left: calc(50% - 51px); width: 102px; height: 147px; border: 6px solid #d9c28f; border-bottom: 0; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, #7d654b, #b28a60 47%, #6c523e 48% 53%, #9a7551); box-shadow: 0 0 0 11px #d9c28f16, 0 18px 28px #0006; }
.arrival-door::before { content: ""; position: absolute; inset: 12px 12px 0; border: 1px solid #f7e6b866; border-bottom: 0; border-radius: 3px 3px 0 0; }
.door-number { position: absolute; top: 37px; left: 50%; transform: translateX(-50%); color: #f9e6b4; font: 800 18px/1 "Playfair Display", serif; opacity: .75; }
.door-handle { position: absolute; right: 14px; top: 82px; width: 8px; height: 8px; border-radius: 50%; background: #e6c779; box-shadow: 0 0 0 3px #573f2d; }
.arrival-step { position: absolute; bottom: 34px; left: calc(50% - 77px); width: 154px; height: 17px; border-radius: 50%; background: #0b1510aa; filter: blur(3px); }
.arrival-bag { position: absolute; z-index: 2; bottom: 38px; left: calc(50% - 79px); width: 55px; height: 63px; display: grid; place-items: center; border: 2px solid #af794a; border-radius: 6px 6px 11px 11px; background: #e2ad64; color: #3d4b28; font-weight: 900; box-shadow: 0 11px 15px #0006; animation: bag-arrive .9s cubic-bezier(.2,1.4,.35,1) both, bag-breathe 2.3s 1s ease-in-out infinite; }
.arrival-bag::before { content: ""; position: absolute; top: -17px; width: 29px; height: 22px; border: 4px solid #e2ad64; border-bottom: 0; border-radius: 14px 14px 0 0; }
.arrival-bag i { position: absolute; right: -9px; top: -8px; display: grid; place-items: center; width: 23px; height: 23px; border: 3px solid #254025; border-radius: 50%; background: #d7f478; color: #254025; font-style: normal; font-size: 12px; }
.arrival-badge { position: absolute; z-index: 4; right: 18px; bottom: 47px; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #d7f4784a; border-radius: 999px; background: #17291ed9; color: #dce7c8; font-size: 9px; font-weight: 800; animation: badge-in .7s .3s both; }
.arrival-badge span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #d7f478; color: #254025; }
.arrival-spark { position: absolute; color: #d7f478; font-size: 22px; animation: arrival-spark 2.4s ease-in-out infinite; }
.spark-a { top: 70px; left: 23%; }
.spark-b { top: 106px; right: 21%; animation-delay: -.8s; font-size: 15px; }
.spark-c { top: 53px; right: 36%; animation-delay: -1.4s; font-size: 19px; }
@keyframes arrival-glow { 50% { transform: translateX(-50%) scale(1.18); opacity: .65; } }
@keyframes bag-arrive { from { opacity: 0; transform: translateY(-25px) scale(.78) rotate(-8deg); } to { opacity: 1; transform: translateY(0) scale(1) rotate(-3deg); } }
@keyframes bag-breathe { 50% { transform: translateY(-4px) rotate(-3deg); } }
@keyframes badge-in { from { opacity: 0; transform: translateX(10px); } }
@keyframes arrival-spark { 50% { opacity: .32; transform: translateY(-8px) scale(.75) rotate(12deg); } }

/* Cancelled: keep the state calm and intentional rather than looking like an error page. */
.scene-cancelled { background: radial-gradient(circle at 50% 45%, #563936, #241e1c 70%); }
.cancel-orbit { position: absolute; top: 50%; left: 50%; width: 132px; height: 132px; border: 1px solid #dc705855; border-radius: 50%; transform: translate(-50%, -50%) rotate(18deg); animation: cancel-orbit 4s linear infinite; }
.orbit-two { width: 180px; height: 82px; border-color: #f1c1a022; transform: translate(-50%, -50%) rotate(-23deg); animation-direction: reverse; }
.cancel-mark { position: absolute; top: 50%; left: 50%; width: 82px; height: 82px; display: grid; place-items: center; transform: translate(-50%, -62%); border: 2px solid #dc7058; border-radius: 50%; color: #f0b5a7; font-size: 49px; line-height: 1; box-shadow: 0 0 0 12px #dc705812; animation: cancel-breathe 2.5s ease-in-out infinite; }
.cancel-copy { position: absolute; right: 0; bottom: 29px; left: 0; text-align: center; color: #f0b5a7; font-size: 11px; font-weight: 700; }
@keyframes cancel-orbit { to { transform: translate(-50%, -50%) rotate(378deg); } }
@keyframes cancel-breathe { 50% { box-shadow: 0 0 0 21px #dc70580a; } }

/* The progress rail now feels like a connected route, not four unrelated dots. */
.tracking-steps { position: relative; padding: 3px 10px 0; }
.tracking-steps > div { z-index: 1; }
.tracking-steps i { transition: transform .25s ease, box-shadow .25s ease; }
.tracking-steps .active i { animation: progress-pulse 1.8s ease-in-out infinite; }
.tracking-steps .complete i { box-shadow: 0 0 0 4px #b9d96d12; }
@keyframes progress-pulse { 50% { transform: scale(1.08); box-shadow: 0 0 0 8px #b9d96d14; } }

@media (max-width: 760px) {
  .journey-scene { width: min(470px, 94%); height: 285px; }
  .journey-header { left: 16px; right: 16px; }
  .place-card { width: 127px; }
  .place-home { left: 12px; }
  .place-store { right: 12px; }
  .route-rail { left: 127px; right: 127px; }
  .route-package { animation-name: package-journey-small; }
  .arrival-badge { right: 10px; }
  @keyframes package-journey-small { 0%, 100% { transform: translateX(-38px) rotate(-5deg); } 50% { transform: translateX(38px) rotate(5deg); } }
  @keyframes courier-travel { 0%, 8% { transform: translateX(0) translateY(2px) rotate(-2deg); } 46% { transform: translateX(72px) translateY(-2px) rotate(3deg); } 92%, 100% { transform: translateX(144px) translateY(1px) rotate(-2deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .journey-scene *, .journey-scene::before { animation: none !important; transition: none !important; }
}

/* Cancellation policy and legal information stay visible at the decision point. */
.checkout-policy { margin-top: 20px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); color: var(--muted); font-size: 13px; line-height: 1.55; }
.checkout-policy strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 14px; }
.checkout-policy p { margin: 0 0 5px; }
.checkout-policy a { color: var(--lime); font-weight: 700; }
.order-cancellation-panel { margin: 18px 0 4px; padding: 16px; border: 1px solid #d97a5b55; border-radius: 12px; background: #d97a5b0d; }
.order-cancellation-panel strong { display: block; color: var(--ink); }
.order-cancellation-panel p { margin: 5px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.legal-page { max-width: 820px; margin: 46px auto 80px; }
.legal-back { display: inline-block; margin-bottom: 30px; color: var(--lime); font-weight: 700; }
.legal-page h1 { max-width: 660px; margin: 8px 0 14px; font: 800 clamp(34px, 5vw, 58px)/1.04 'Playfair Display', serif; letter-spacing: -.03em; }
.legal-lead { max-width: 700px; margin: 0 0 30px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.legal-card { margin-top: 16px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 12px 30px #0000000a; }
.legal-card h2 { margin: 0 0 10px; font: 700 24px/1.15 'Playfair Display', serif; }
.legal-card p, .legal-card li { color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal-card p { margin: 0; }
.legal-card ul { margin: 0; padding-left: 1.25rem; }
.legal-card li + li { margin-top: 9px; }
.legal-card b { color: var(--ink); }
.legal-action-card { border-color: #c4d97f66; background: linear-gradient(135deg, #c4d97f13, transparent 55%); }
.legal-action-card .btn { margin-top: 16px; }
.footer-bottom a { color: inherit; }

/* Customer account and saved-address UI */
.auth-page{max-width:1050px;margin:45px auto 80px}.auth-intro{max-width:690px;margin-bottom:25px}.auth-intro h1{font:800 clamp(34px,5vw,56px)/1.05 "Playfair Display",serif;margin:10px 0}.auth-intro p,.account-heading p{color:var(--muted);font-size:15px}.auth-panels{display:grid;grid-template-columns:1fr 1.3fr;gap:16px}.auth-card{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:24px}.auth-card h2,.account-card h2{font:700 23px "Playfair Display",serif;margin:0 0 7px}.auth-help{color:var(--muted);font-size:12px;margin:0 0 18px}.auth-error{min-height:20px;color:#f2a58b;font-size:12px;margin:6px 0 10px}.auth-card button:disabled,.account-card button:disabled{opacity:.55;cursor:wait}.account-page{margin:40px 0 80px}.account-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:23px}.account-heading .page-title{margin:8px 0 0}.account-columns{display:grid;grid-template-columns:minmax(240px,.75fr) minmax(0,1.4fr);gap:16px;align-items:start}.account-card h3{font-size:15px;margin:22px 0 12px}.account-section-heading{display:flex;justify-content:space-between;gap:12px}.saved-address-list{display:grid;gap:10px}.saved-address-card{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel2)}.saved-address-card h3{margin:5px 0 2px;font-size:14px}.saved-address-card p{margin:0;color:var(--ink);font-size:13px}.saved-address-card small{color:var(--muted);font-size:11px}.address-default{display:inline-block;margin-left:8px;border-radius:20px;padding:3px 7px;background:#b9d96d22;color:var(--lime);font-size:10px;font-weight:700}.address-delete{padding:7px 10px;font-size:11px;white-space:nowrap}.address-form{border-top:1px solid var(--line);margin-top:20px;padding-top:5px}.address-default-toggle{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;margin:3px 0 12px}.address-default-toggle input{accent-color:var(--lime)}.checkout-auth{display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:11px;margin-bottom:21px;border:1px solid var(--line)}.checkout-auth-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#b9d96d22;color:var(--lime);font-weight:700}.checkout-auth div{flex:1}.checkout-auth b,.checkout-auth small{display:block}.checkout-auth b{font-size:12px}.checkout-auth small{color:var(--muted);font-size:11px}.checkout-auth>a{color:var(--lime);font-size:11px;font-weight:700;white-space:nowrap}.checkout-auth-guest{background:#ef8e4510;border-color:#ef8e4544}.checkout-auth-guest .checkout-auth-icon{background:#ef8e4520;color:var(--orange)}.delivery-save-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-2px 0 18px;padding:11px 13px;border:1px solid #b9d96d38;border-radius:10px;background:#b9d96d0c}.delivery-save-row .clear-delivery{padding:0;border:0;background:none;color:var(--lime);font-size:12px;font-weight:700}.delivery-save-row .delivery-save-note{color:var(--muted);font-size:11px}.checkout-account-save{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-2px 0 18px;padding:11px 13px;border:1px solid #ef8e4544;border-radius:10px;background:#ef8e450d;font-size:12px}.checkout-account-save a{color:var(--lime);font-weight:700}.checkout-account-save small{display:block;width:100%;color:var(--muted);font-size:11px}.account-loading{margin:60px auto;max-width:500px}
.delivery-distance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:15px 0 18px;padding:14px;border:1px solid #b9d96d55;border-radius:12px;background:linear-gradient(135deg,#b9d96d0f,transparent 70%)}
.delivery-distance-card>div:first-child{min-width:0}.delivery-distance-card b,.delivery-distance-card small{display:block}.delivery-distance-card b{font-size:13px;color:var(--ink)}.delivery-distance-card small{margin-top:4px;color:var(--muted);font-size:11px;line-height:1.45}.delivery-distance-card .btn{padding:9px 12px;font-size:11px;white-space:nowrap}
.delivery-estimate{grid-column:1/-1;width:100%;padding:10px 12px;border-radius:9px;background:var(--panel2)}.delivery-estimate strong,.delivery-estimate small{display:block}.delivery-estimate strong{color:var(--lime);font-size:12px}.delivery-estimate[data-state="unavailable"] strong,.delivery-estimate[data-state="error"] strong{color:var(--orange)}
@media (max-width: 760px) {
  .legal-page { margin: 28px auto 56px; }
  .legal-card { padding: 19px; }
  .auth-page{margin:28px auto 56px}.auth-panels,.account-columns{grid-template-columns:1fr}.account-heading{align-items:start;flex-direction:column}.account-heading .btn{width:100%;justify-content:center}.saved-address-card{align-items:flex-start;flex-direction:column}.saved-address-card .address-delete{align-self:flex-end}.checkout-auth{align-items:flex-start;flex-wrap:wrap}.checkout-auth>a{width:100%;padding-left:36px}.delivery-distance-card{grid-template-columns:1fr}.delivery-distance-card .btn{justify-self:start}
}

/* Mobile home browsing: keep four product cards visible in one row. */
@media (max-width:760px) {
  .rail {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 24px) / 4);
    grid-template-rows:1fr;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 0 8px;
    scroll-snap-type:x proximity;
    scrollbar-width:thin;
  }
  .rail .product-card {
    min-width:0;
    max-width:none;
    padding:6px;
    scroll-snap-align:start;
  }
  .rail .product-image { height:78px; margin-bottom:6px; }
  .rail .product-card h3 { font-size:10px; line-height:1.2; }
  .rail .product-meta,
  .rail .stock { display:none; }
  .rail .price { font-size:12px; margin-top:4px; }
  .rail .price small { font-size:8px; }
  .rail .add-row { margin-top:5px; gap:3px; }
  .rail .add-row button { font-size:8px; padding:5px 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .rail .favorite { right:7px; top:7px; width:22px; height:22px; font-size:13px; }
  .rail .badge { left:7px; top:7px; font-size:7px; padding:2px 4px; }
}
@media (max-width:520px) {
  .rail { grid-auto-columns:calc((100% - 18px) / 4); gap:6px; }
  .rail .product-image { height:70px; }
}

/* Mobile catalog browsing: four-up product grid */
@media (max-width: 760px) {
  .shop-layout { margin: 18px 0 60px; }
  .catalog-head {
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: linear-gradient(135deg, var(--panel), #252018);
  }
  .catalog-head h1 { font-size: 22px; line-height: 1.1; }
  .catalog-head p { margin-top: 5px; font-size: 10px; }
  .catalog-head .sort { min-width: 112px; padding: 8px 7px; font-size: 10px; border-radius: 10px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .product-grid .product-card { padding: 6px; border-radius: 12px; }
  .product-grid .product-image { height: 78px; margin-bottom: 6px; border-radius: 8px; }
  .product-grid .product-card h3 { font-size: 10px; line-height: 1.2; }
  .product-grid .product-meta { font-size: 8px; min-height: 12px; }
  .product-grid .price { font-size: 13px; margin-top: 4px; }
  .product-grid .price small { font-size: 8px; }
  .product-grid .stock { font-size: 8px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-grid .add-row { gap: 3px; margin-top: 5px; }
  .product-grid .add-row button { padding: 5px 2px; font-size: 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-grid .qty button { width: 20px; font-size: 15px; }
  .product-grid .qty span { font-size: 9px; }
  .product-grid .favorite { right: 7px; top: 7px; width: 22px; height: 22px; font-size: 13px; }
  .product-grid .badge { left: 7px; top: 7px; padding: 2px 4px; font-size: 7px; }
}
@media (max-width: 520px) {
  .catalog-head { padding: 10px; }
  .catalog-head h1 { font-size: 19px; }
  .catalog-head .sort { min-width: 100px; }
  .product-grid { gap: 6px; }
  .product-grid .product-card { padding: 5px; }
  .product-grid .product-image { height: 68px; }
  .product-grid .product-card h3 { font-size: 9px; }
  .product-grid .product-meta { display: none; }
  .product-grid .price { font-size: 12px; }
  .product-grid .stock { display: none; }
  .product-grid .add-row button { font-size: 7px; padding: 5px 1px; }
  .product-grid .qty button { width: 17px; font-size: 13px; }
  .product-grid .qty span { font-size: 8px; }
  .product-grid .favorite { right: 5px; top: 5px; width: 20px; height: 20px; font-size: 12px; }
  .product-grid .badge { left: 5px; top: 5px; font-size: 6px; }
}

/* Visual baseline and lightweight mobile polish */
.hero p { font-size: 15px; }
.hero .eyebrow { font-size: 12px; }
.hero h1 { font-size: clamp(36px, 5vw, 64px); }
.hero .btn { font-size: 13px; padding: 12px 18px; gap: 8px; }
.category-scroll, .rail, .trust-row { overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 760px) {
  .hero { border-radius: 20px; }
  .hero-copy { padding: 30px 22px; }
  .hero h1 { font-size: clamp(28px, 8vw, 38px); }
  .hero p { font-size: 13px; line-height: 1.5; }
  .hero .eyebrow { font-size: 10px; }
  .hero .btn { font-size: 12px; padding: 10px 13px; gap: 6px; }
  .hero-art { height: 150px; }
  .trust-row { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 26px; padding: 0 0 4px; scrollbar-width: none; }
  .trust-row::-webkit-scrollbar { display: none; }
  .trust-card { flex: 0 0 min(76vw, 240px); min-height: 72px; padding: 12px; border-radius: 13px; }
  .trust-card b { font-size: 12px; }
  .trust-card small { font-size: 10px; }
  .shortcut-grid { gap: 9px; }
  .shortcut { min-height: 94px; padding: 14px; border-radius: 13px; }
  .shortcut span { font-size: 24px; }
  .section-title { margin: 28px 0 13px; }
  .section-title h2 { font-size: 21px; }
  .section-title a { font-size: 11px; }
}
@media (max-width: 520px) {
  .hero-copy { padding: 26px 18px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 12px; }
  .hero .btn { font-size: 11px; padding: 9px 11px; }
  .trust-card { flex-basis: 80vw; }
  .shortcut small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card, .shortcut { transition: none; }
}

/* Mobile page surfaces and navigation polish */
@media (max-width: 760px) {
  .header-main { gap: 8px; }
  .search-wrap input { height: 42px; font-size: 13px; }
  .category-scroll { gap: 18px; }
  .category-scroll a { padding: 10px 0 11px; }
  .page-title { margin: 26px 0 14px; font-size: 28px; line-height: 1.1; }
  .cart-panel, .summary, .account-card, .checkout-card { padding: 16px; border-radius: 14px; }
  .cart-item { grid-template-columns: 50px 1fr auto; gap: 9px; padding: 12px 0; }
  .cart-item img { width: 50px; height: 50px; }
  .cart-item h3 { font-size: 12px; }
  .cart-item small { font-size: 10px; }
  .cart-item .line-total { font-size: 12px; }
  .summary h3 { font-size: 18px; }
  .detail-image { height: 260px; border-radius: 16px; }
  .detail-copy { padding: 20px 0 0; }
  .detail h1 { font-size: 30px; }
  .detail-desc { font-size: 13px; line-height: 1.55; }
  .checkout-steps { overflow-x: auto; margin: 20px 0; scrollbar-width: none; }
  .checkout-steps::-webkit-scrollbar { display: none; }
  .step { min-width: 115px; padding: 10px 8px; font-size: 10px; }
  .account-grid { gap: 9px; margin: 18px 0 55px; }
  .account-card { min-height: 112px; }
  .mobile-nav a { min-width: 58px; padding: 5px 7px; border-radius: 11px; transition: background .18s ease, color .18s ease; }
  .mobile-nav a.active { background: #b9d96d18; }
  .mobile-nav small { font-weight: 600; }
  .footer-grid { gap: 20px; }
  .toast-host { top: 112px; right: 12px; left: 12px; }
  .toast { font-size: 11px; }
}
@media (max-width: 520px) {
  .page-title { font-size: 25px; }
  .detail-image { height: 220px; }
  .detail h1 { font-size: 27px; }
  .cart-panel, .summary, .account-card, .checkout-card { padding: 14px; }
  .account-card { min-height: 104px; }
}

/* Keep the mobile shell cheap to composite on older phones. */
@media (max-width: 760px) {
  .header-main { grid-template-columns: minmax(0, 1fr) 58px; overflow: hidden; }
  .brand { min-width: 0; }
  .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .header-actions { width: 58px; min-width: 0; margin-left: 0; overflow: hidden; justify-content: flex-end; }
  .cart-pill { width: 58px; min-width: 58px; max-width: 58px; justify-content: center; gap: 5px; padding: 8px 6px; }
  .cart-pill strong { display: none; }
  .shop-layout,
  .shop-layout > section,
  .product-grid { min-width: 0; width: 100%; max-width: 100%; }
  .shop-layout > section { overflow: hidden; }
  .catalog-head { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; min-width: 0; max-width: 100%; overflow: hidden; }
  .catalog-head > div { min-width: 0; }
  .catalog-head .sort { width: 104px; min-width: 0; height: 44px; align-self: center; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; overflow: hidden; }
  .header,
  .mobile-nav {
    background: #14120f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .product-card,
  .shortcut,
  .trust-card {
    contain: layout paint;
  }

  .shop-layout .filters {
    display: grid;
    gap: 7px;
    border-right: 0;
    padding: 8px 0 3px;
    margin-bottom: 10px;
    overflow: hidden;
  }
  .shop-layout .filters > h3 { display: none; }
  .shop-layout .filter-block {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    border: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .shop-layout .filter-block::-webkit-scrollbar { display: none; }
  .shop-layout .filter-block b {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 11px;
    padding: 0 3px 0 2px;
  }
  .shop-layout .filter-block label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink);
    font-size: 12px;
    line-height: 1.15;
    white-space: nowrap;
  }
  .shop-layout .filter-block input { width: 14px; height: 14px; margin: 0; }
}
