.brand-mark .brand-logo{display:block;width:150px;height:35px;object-fit:contain;object-position:left center}
.install-float{position:fixed;z-index:3;right:max(14px,calc((100vw - 390px)/2 + 14px));bottom:calc(88px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;min-height:46px;padding:0 15px;border:1px solid #e2efa9;border-radius:999px;font:700 13px/1.2 inherit;cursor:pointer}
.install-float svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.install-float:focus-visible{outline:3px solid #b8dc5e;outline-offset:3px}body:has(dialog[open]) .install-float{display:none}
@media(max-width:350px){.install-float{right:10px;bottom:calc(82px + env(safe-area-inset-bottom))}}
.install-float[hidden]{display:none}.install-float{font-family:inherit;font-size:13px;line-height:1.2}.install-help{width:min(340px,calc(100% - 32px));padding:24px;background:#fff}.install-help::backdrop{background:#001b1499}.install-help h2{margin:0 0 12px;font-size:20px}.install-help p{font-size:15px;line-height:1.7}.install-help button{min-height:44px;margin-top:10px;padding:0 20px;border:0;border-radius:12px;background:#075335;color:#fff;font-weight:700}
/* Keep order status, countdown and shipping details unobstructed. */
body:has(#main .orders-top) .install-float{display:none}
/* Keep the home action floating without covering product purchase controls. */
body:not(:has(#main .home-top)) .install-float{display:none}

/* Shared visual foundation for the storefront, account and installation UI. */
:root{
  --n-forest:#073b2b;
  --n-emerald:#08784b;
  --n-gold:#d7ae55;
  --n-paper:#f8f9f5;
  --n-ink:#17382b;
  --n-muted:#66796e;
  --n-line:#dfe8e0;
}
html{background:#dce5df}
body{background:var(--n-paper);color:var(--n-ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
.mobile-nav{border:1px solid #e0e9e2;border-bottom:0;border-radius:18px 18px 0 0}
.mobile-nav button{border-radius:13px;transition:background .18s ease,color .18s ease}
.mobile-nav button svg{stroke-width:1.8}
.mobile-nav button span{font-size:11px;letter-spacing:.02em}
.mobile-nav button:focus-visible,.install-float:focus-visible{outline:3px solid #d7ae55;outline-offset:2px}
.install-float{background:#0b4834;border-color:#d7ae55;color:#fff;box-shadow:0 5px 16px rgba(0,37,23,.22);font-weight:700}
.install-help{border:1px solid #dbe8dd;border-radius:20px;color:#17382b;box-shadow:0 20px 60px rgba(5,38,25,.24)}
.install-help button{background:#08784b}
#toast:not([hidden]){background:#103e2d;color:#fff;border:1px solid #cfb473;border-radius:12px;box-shadow:0 8px 24px rgba(5,43,27,.18)}
@media(prefers-reduced-motion:reduce){.mobile-nav button{transition:none}}
/* Selection controls retain brand colours. */
#picker.interval-mode #rangeLabel{background:#08784b!important;color:#fff!important}
#picker.interval-mode .range-slider-wrap strong:after{border-top-color:#08784b!important}
#picker .range-summary .range-bar{background:#08784b!important}
#picker.interval-mode .range-slider-wrap input#pageSlider::-webkit-slider-thumb{border-color:#08784b}

#main .home-products:focus-visible{outline:3px solid #d7ae55;outline-offset:2px}
/* Keep the visual track slim while giving touch users a generous slider target. */
#picker.interval-mode .range-slider-wrap input#pageSlider{
  height:44px!important;min-height:44px!important;margin:4px 0 -10px!important;
  background:linear-gradient(to right,#54cf54 0%,#54cf54 var(--range-progress,0%),#aaa var(--range-progress,0%),#aaa 100%) center / 100% 5px no-repeat!important;
}
#picker.interval-mode .range-controls .toolbar{inset:35.5px 0 auto!important}

/* Reference-aligned home hero, service bar and promotion; content remains live. */
#main .hero{
  display:flex;align-items:center;position:relative;isolation:isolate;
  min-height:206px;margin:0 -14px;padding:15px 20px 31px;
  border-radius:0;overflow:hidden;background-color:#003a20;
  background-image:linear-gradient(90deg,rgba(0,39,22,.97) 0%,rgba(0,44,25,.85) 38%,rgba(0,48,26,.17) 77%,rgba(0,42,23,.05) 100%),url('/home-products.jpg');
  background-position:center,right center;background-size:cover,auto 100%;
  background-repeat:no-repeat;box-shadow:none;
}
#main .hero::before{
  content:"";display:block;position:absolute;z-index:0;top:7px;right:-6px;width:190px;height:176px;
  border:2px solid rgba(255,214,91,.85);border-radius:50%;transform:rotate(-13deg);
  box-shadow:0 0 6px rgba(255,233,144,.9),0 0 17px rgba(228,174,46,.72),inset 0 0 12px rgba(255,214,94,.3);
  -webkit-mask-image:none;mask-image:none;pointer-events:none;
}
#main .hero::after{display:block;position:absolute;z-index:0;left:0;right:0;bottom:0;height:25px;content:"";background:linear-gradient(0deg,rgba(1,42,20,.84),transparent);pointer-events:none}
#main .hero>div:first-child{position:relative;z-index:1;max-width:70%;padding:0}
#main .hero h1{
  margin:0 0 7px!important;color:#ffe58f!important;font-size:36px!important;font-weight:850;font-style:italic;
  line-height:1.12;letter-spacing:-.035em;white-space:nowrap;
  text-shadow:0 2px 3px rgba(0,24,11,.72),0 0 12px rgba(255,205,61,.16);
}
#main .hero p{max-width:none;margin:0 0 13px!important;color:#fff;font-size:12px!important;font-weight:700;line-height:1.45;white-space:normal;text-shadow:0 1px 3px rgba(0,25,10,.8)}
#main .hero .hero-cta{
  min-height:44px;max-width:100%;padding:8px 14px;border:1px solid #e8b92e;border-radius:24px;
  background:linear-gradient(180deg,#fff1a1 0%,#ffd552 48%,#eab322 100%);color:#2e260d;
  font-size:12px;font-weight:800;line-height:1.25;box-shadow:inset 0 1px 1px rgba(255,255,232,.9),0 3px 6px rgba(0,21,8,.4);
}
#main .hero .hero-cta:focus-visible{outline:3px solid #fff;outline-offset:3px}
#main .trust-strip{
  position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
  margin:-12px 0 12px;padding:10px 1px;border:1px solid #e7ded1;border-radius:17px;
  background:linear-gradient(180deg,#fff,#f6f2ec);box-shadow:0 3px 7px rgba(56,38,16,.15),inset 0 1px 1px #fff;
}
#main .trust-strip>div{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;border-right:1px solid #ded6cc}
#main .trust-strip>div:last-child{border-right:0}
#main .trust-strip span{display:grid;place-items:center;min-height:28px;line-height:1}
#main .trust-strip .trust-art{display:block;width:35px;height:35px;overflow:visible;filter:drop-shadow(0 2px 2px rgba(61,44,12,.22))}
#main .trust-strip b{color:#171b18;font-size:12px;font-weight:800;line-height:1.25;text-align:center;white-space:nowrap}
#main .promo-panel{
  margin:0 0 12px;border:1px solid #f54538;border-radius:17px;overflow:hidden;
  background:#fff1ed;box-shadow:0 3px 7px rgba(153,36,23,.18),inset 0 1px 2px #fff;
}
#main .promo-heading{
  display:flex;align-items:center;justify-content:space-between;gap:4px 8px;min-height:37px;padding:7px 10px;
  background:linear-gradient(180deg,#ff5c47 0%,#ef1f18 58%,#ca120e 100%);color:#fff;
  box-shadow:inset 0 1px 2px rgba(255,255,255,.65);
}
#main .promo-heading strong{min-width:0;color:#fff;font-size:16px;font-weight:850;line-height:1.2;text-shadow:0 1px 2px rgba(106,7,7,.35)}
#main .promo-heading .promo-countdown{min-width:0;color:#fff;font-weight:700}
#main .promo-heading .promo-countdown-label{color:#fff}
#main .promo-heading .promo-time b{border-color:#f9bbb5;background:#fff;color:#bc1b16}
#main .promo-body{
  display:flex!important;align-items:center;gap:9px;min-height:76px;padding:10px;
  border:1px solid rgba(255,255,255,.8);border-radius:20px 20px 16px 16px;
  background:linear-gradient(180deg,#ffe8e3,#ffd9d2);box-shadow:inset 0 1px 2px rgba(255,255,255,.9);
}
#main .promo-body .promo-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:14px;background:linear-gradient(145deg,#f64127,#c41410);color:#ffdb70;box-shadow:inset 0 1px 2px rgba(255,255,255,.5),0 2px 5px rgba(154,24,15,.25)}
#main .promo-body .promo-icon .ui-icon{width:30px;height:30px;stroke:currentColor;stroke-width:2}
#main .promo-body>div:nth-child(2){flex:1;min-width:0;gap:2px}
#main .promo-body>div:nth-child(2)>b{color:#24201c;font-size:11px;font-weight:750;line-height:1.3;overflow-wrap:anywhere;white-space:normal}
#main .promo-body .promo-offer{display:flex;align-items:baseline;flex-wrap:wrap;gap:1px 4px;line-height:1.2}
#main .promo-body .promo-offer span{color:#2f201a;font-size:13px;font-weight:750}
#main .promo-body :is(.promo-offer em,.promo-offer .money-amount,.promo-offer .money-symbol,.promo-offer .money-value){color:#c81718;font-weight:850}
#main .promo-body .promo-offer em{font-size:22px;line-height:1.1}
#main .promo-body small{color:#5b3933;font-size:10px;line-height:1.35}
#main .promo-body button{
  flex:none;min-height:44px;padding:8px 12px;border:1px solid #e5ac27;border-radius:22px;
  background:linear-gradient(180deg,#fff0a4,#ffcf45 70%,#ebb129);color:#392604;font-size:12px;font-weight:800;
  box-shadow:inset 0 1px 2px #fff7c9,0 2px 5px rgba(140,77,17,.25);white-space:nowrap;
}
#main .promo-body button:focus-visible{outline:3px solid #7b290f;outline-offset:2px}
@media(max-width:350px){
  #main .hero{min-height:194px;padding:13px 16px 28px}
  #main .hero::before{top:9px;right:-23px;width:170px;height:160px}
  #main .hero h1{font-size:30px!important}
  #main .hero .hero-cta{padding:8px 10px}
  #main .trust-strip{padding:9px 0}
  #main .trust-strip .trust-art{width:32px;height:32px}
  #main .trust-strip b{font-size:11px}
  #main .promo-heading{padding:7px 8px}
  #main .promo-heading strong{font-size:14px}
  #main .promo-body{gap:6px;padding:9px 7px}
  #main .promo-body .promo-icon{width:38px;height:38px;border-radius:12px}
  #main .promo-body .promo-icon .ui-icon{width:26px;height:26px}
  #main .promo-body .promo-offer span{font-size:11px}
  #main .promo-body .promo-offer em{font-size:19px}
  #main .promo-body button{padding:8px;font-size:11px}
}


/* Home product grid: compact three-column showcase matching the reference. */
#main .home-section-title{padding:17px 0 9px;gap:6px;align-items:center}
#main .home-section-title h2{display:flex;align-items:center;gap:5px;min-width:0;margin:0;color:#131b15;font-size:20px;font-weight:800;line-height:1.2;letter-spacing:0;white-space:nowrap}
#main .home-section-title h2 em{color:#ce1815;font-style:normal}
#main .home-section-title h2:before{border-radius:0;box-shadow:none}
#main .home-section-title button{min-height:44px;padding:6px 0;color:#18251d;font-size:12px;font-weight:750;white-space:nowrap}
#main .home-products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;margin:0 0 14px;padding:0;overflow:visible;scroll-snap-type:none}
#main .home-products .mini-product{display:flex;position:relative;min-width:0;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:0 0 6px;overflow:hidden;border:1px solid #e9d7af;border-radius:15px;background:linear-gradient(180deg,#fffdf8 44%,#fff4d4 76%,#ffe1a0 100%);box-shadow:0 3px 7px rgba(72,42,5,.15),inset 0 1px 0 rgba(255,255,255,.85);text-align:center;scroll-snap-align:none}
#main .home-products .mini-art{display:block;flex:none;box-sizing:border-box;width:100%!important;min-width:0;min-height:0;height:auto!important;aspect-ratio:1/1;margin:0;padding:0;border:0;border-radius:13px 13px 0 0;background-color:#06432a}
#main .home-products .mini-product h3{position:relative;z-index:1;display:flex;flex:1 0 auto;align-items:center;justify-content:center;min-width:0;min-height:2.7em;margin:-7px 0 0;padding:7px 4px 1px;border-radius:11px 11px 0 0;background:linear-gradient(180deg,#fffdf5 0%,#fff9e8 100%);color:#111b14;font-size:clamp(11px,3.5vw,14px);font-weight:800;line-height:1.26;letter-spacing:0;text-align:center;overflow-wrap:anywhere}
#main .home-products .mini-product>small{display:block;margin:2px 3px 0;color:#4b3d29;font-size:11px;font-weight:600;line-height:1.2}
#main .home-products .mini-product .home-value{display:block;min-width:0;margin:1px 3px 5px;color:#c51b17;font-size:clamp(15px,4.7vw,20px);font-weight:850;line-height:1.12;text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#main .home-products .mini-product .home-value :is(.money-amount,.money-symbol,.money-value){color:#c51b17;white-space:normal;overflow-wrap:anywhere}
#main .home-products .mini-price{display:flex;align-items:center;justify-content:center;min-height:44px;margin:auto 6px 0;padding:5px 3px;border-radius:999px;font-size:clamp(11px,3.4vw,14px);font-weight:850;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
#main .home-products .sale-selling .mini-price{border:1px solid #d0211a;box-shadow:inset 0 1px 0 #ffffff91,0 2px 4px #9e2b1638}
#main .home-products :is(.sale-drawn,.sale-sold,.sale-held) .mini-price{border:1px solid #b9d2dd;background:#e9f3f7;color:#30586c;box-shadow:none}
#main .home-products .mini-tag{position:absolute;z-index:2;top:4px;left:0;max-width:calc(100% - 6px);padding:5px 7px;border:1px solid #ffffff75;border-radius:9px 4px 9px 3px;font-size:10px;font-weight:800;line-height:1.15;box-shadow:0 2px 5px #38170635;white-space:normal}
#main .home-products .mini-art:focus-visible,#main .home-products .mini-price:focus-visible{outline:3px solid #08784b;outline-offset:-3px}
@media(max-width:350px){
  #main .home-products{gap:5px}
  #main .home-products .mini-product{padding:0 0 5px;border-radius:13px}
  #main .home-products .mini-product h3{padding-inline:2px}
  #main .home-products .mini-product .home-value{font-size:15px}
  #main .home-products .mini-price{margin-inline:4px}
  #main .home-products .mini-tag{padding:4px 5px}
  #main .home-section-title h2{font-size:17px}
}


#main .promo-time[hidden]{display:none!important}
/* Decorative symbols follow the supplied visual reference. */
#main .hero h1::before{content:'👑';display:block;width:auto;height:auto;margin:0 0 3px 50px;background:none;font-size:25px;line-height:1}
#main .home-section-title h2::before{content:'🔥';display:block;flex:0 0 auto;width:auto;height:auto;background:none;font-size:23px;line-height:1}
@media(max-width:350px){#main .hero h1::before{margin-left:42px;font-size:22px}#main .home-section-title h2::before{font-size:21px}}
/* Keep the install action on the hero without covering lower-page content. */
body:has(#main .home-top) .install-float{position:absolute;right:14px;top:calc(72px + env(safe-area-inset-top));bottom:auto}

/* The home controls sit directly on the artwork, without a separate top bar. */
#main:has(.home-top){position:relative}
#main .home-top.page-top{position:absolute;z-index:3;top:0;left:0;width:100%;margin:0!important;background:transparent}
#main .home-top .top-actions button{border-color:rgba(255,255,255,.55);background:rgba(0,32,19,.28);color:#fff}
#main .home-top .top-actions button:hover{background:rgba(255,255,255,.14)}
#main .home-top .top-actions svg{stroke:currentColor}
#main .home-top .top-actions button:focus-visible{outline-color:#fff}
#main .home-top + .hero{min-height:262px;padding-top:71px}
@media(max-width:350px){#main .home-top + .hero{min-height:250px;padding-top:69px}}

/* Reference palette and compact spacing shared across the main pages. */
.mobile-nav{border-color:#e4e2d9;background:#fffefa;box-shadow:0 -2px 8px rgba(41,36,20,.10)}
.mobile-nav button{color:#1b251d}
.mobile-nav button.active{background:linear-gradient(180deg,#e0f9ce,#c6efa9);color:#006d25;box-shadow:none}
#main .home-section-title{padding-top:7px}
#main .home-top + .hero{background-position:center,65% center}

#main .home-products .sale-selling .mini-price{background:linear-gradient(180deg,#d62820 0%,#c31d17 55%,#b41613 100%);border-color:#b81716;color:#fff}

/* Keep the three-column reference readable without clipping long names or controls. */
@media(max-width:350px){
  #main .hero p{font-size:12px!important;line-height:1.4}
  #main .hero .hero-cta{font-size:12px}
  #main .home-products .mini-product h3{font-size:12px;line-height:1.3;overflow-wrap:anywhere}
  #main .home-products .mini-product>small{font-size:11px;line-height:1.3}
  #main .home-products .mini-price{font-size:12px}
  #main .home-products .mini-tag{font-size:11px;line-height:1.2}
}


/* Account overview: a branded green header and four overlapping shortcuts. */
#main:has(> .account-screen){background:#f4f1e8}
#main .account-overview{position:relative;overflow:hidden;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:40px;border-radius:0 0 28px 28px;background:linear-gradient(120deg,#003b25,#006338)}
#main .account-overview::before{content:"";position:absolute;top:0;right:0;width:190px;height:130px;pointer-events:none;background:linear-gradient(133deg,transparent 0 35%,#03734470 35% 58%,transparent 58%),linear-gradient(46deg,transparent 0 44%,#16894b55 44% 72%,#064d31 72%);clip-path:polygon(45% 0,100% 0,100% 100%,0 100%)}
#main .account-overview::after{content:"";position:absolute;top:0;right:0;width:145px;height:115px;pointer-events:none;background:linear-gradient(133deg,transparent 49.4%,#d9ba65 50%,transparent 50.6%);opacity:.8}
#main .account-brand{position:relative;z-index:1;display:flex;align-items:center;gap:5px;min-width:0;padding:0 10px;color:#fff;font-size:22px;font-style:italic;font-weight:800;line-height:1.1;letter-spacing:-.5px}
#main .account-brand img{width:30px;height:30px;object-fit:contain;clip-path:none;flex-shrink:0}
#main .account-screen .account-hero{padding-top:16px;padding-bottom:0}
#main .account-profile{min-height:56px;gap:13px;align-items:center}
#main .account-profile .avatar-photo{width:56px;height:56px;border:2px solid #f5e7b7;box-shadow:none}
#main .account-profile h1{color:#fff;font-weight:750}
#main .account-profile p{color:#e1f2e4}
#main .account-profile .chevron{display:grid;place-items:center;flex:0 0 20px;width:20px;min-height:44px;line-height:1;color:#fff}
#main .account-stats,#main .account-menu{
  border:1px solid #e8e4d9;background:#fffdfa;
  box-shadow:0 3px 10px rgba(34,54,40,.07);
}
#main .account-stats{min-height:0;margin-top:-27px;margin-bottom:15px;padding:12px 3px;border-radius:17px}
#main .account-stats button{display:grid;grid-template-rows:24px 24px minmax(16px,auto);justify-items:center;align-items:center;align-content:center;min-width:0;min-height:72px;gap:4px;border-right-color:#e8e2d6}
#main .account-stats .ui-icon{width:24px;height:24px;stroke-width:2}
#main .account-stats button:nth-child(1) .ui-icon{color:#07843a!important}
#main .account-stats button:nth-child(2) .ui-icon{color:#1c2420!important}
#main .account-stats button:nth-child(3) .ui-icon{color:#eb9300!important}
#main .account-stats button:nth-child(4) .ui-icon{color:#df2b2b!important}
#main .account-stats strong{color:#142f22;font-size:21px;line-height:1.15}
#main .account-stats small{align-self:start;min-width:0;max-width:100%;color:#183729;font-size:12px;font-weight:700;line-height:1.3;text-align:center;overflow-wrap:break-word}
#main .account-menu{margin-bottom:16px;padding-inline:16px;border-radius:17px}
#main .account-screen .account-menu .account-row{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(0,clamp(64px,22vw,92px)) 10px;align-items:center;column-gap:6px;min-height:44px;padding:8px 0;border-bottom-color:#e9e2d8}
#main .account-screen .account-menu .account-row strong{grid-column:2;padding-left:6px;min-width:0;color:#103423;font-size:14px;font-weight:700;line-height:1.35;overflow-wrap:break-word}
#main .account-screen .account-menu .menu-icon{display:grid;grid-column:1;place-items:center;width:24px;height:24px;float:none;color:#103423}
/* Use a geometric chevron so font baselines cannot pull the arrow below the row center. */
#main .account-screen .account-menu .account-row>*{grid-row:1;align-self:center}
#main .account-screen .account-menu .chevron{position:relative;display:block;grid-column:4;width:10px;height:24px;margin:0;padding:0;float:none;color:#103423;font-size:0;line-height:0}
#main .account-screen .account-menu .chevron::before{content:'';position:absolute;top:50%;left:50%;display:block;width:7px;height:7px;box-sizing:border-box;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translate(-50%,-50%) rotate(45deg);transform-origin:center}
#main .account-screen .account-menu :is(.account-points-balance,.account-language-name,.coupon-count,.unread-dot){grid-column:3;justify-self:center;align-self:center}
#main .account-screen .account-menu :is(.account-points-balance,.account-language-name){width:100%;text-align:right}
#main .account-screen .account-menu :is(.account-points-balance,.account-language-name,.coupon-count){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
#main .account-menu .menu-icon .ui-icon{width:22px;height:22px;stroke-width:2}
#main .account-menu .coupon-count{border-radius:16px;background:#df2928;color:#fff;font-weight:700}
#main .account-menu .unread-dot{background:#e32625}
#main .account-trust{
  min-height:56px;padding-block:10px;border-color:#f0d596;border-radius:15px;
  background:linear-gradient(180deg,#fff6d8,#ffe8a4);color:#263422;
  box-shadow:0 3px 8px rgba(75,53,20,.08);
}
#main .account-trust .trust-laurel{width:20px;height:42px;opacity:1;filter:none}
#main .account-trust .trust-shield{filter:none}
#main .account-trust .trust-shield .ui-icon{width:23px;height:23px}
#main .account-trust strong{font-size:12px;line-height:1.4}
#main .guest-identity-note{display:flex;align-items:flex-start;gap:10px;margin:12px 0 24px;padding:12px 14px;border:1px solid #dce1bf;border-radius:15px;background:#f4f5e7;color:#173b29;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
#main .guest-identity-note>.ui-icon{flex:none;width:22px;height:22px;margin-top:1px;color:#08743a;stroke-width:2}
#main .guest-identity-note p{min-width:0;margin:0}
@media(max-width:350px){
  #main .account-menu{padding-inline:12px}
  #main .account-screen .account-menu .account-row{column-gap:9px}
}

/* Home product cards: restore the rounded red commerce button from the reference. */
#main .home-products .mini-product{
  padding-bottom:6px;
  border-color:#ead6a1;
  background:linear-gradient(180deg,#fffefa 46%,#fff5d7 73%,#ffe3a1 100%);
}
#main .home-products .mini-price{
  box-sizing:border-box;
  width:auto;
  max-width:100%;
  align-self:stretch;
  min-height:44px;
  margin: auto 6px 0;
  padding:7px 4px;
  border-radius:999px;
  font-size:clamp(12px,3.6vw,15px);
  line-height:1.12;
  letter-spacing:0;
}
#main .home-products .sale-selling .mini-price{
  border:1px solid #c4100e;
  background:linear-gradient(180deg,#ff4034 0%,#ed1b14 42%,#c6060d 100%);
  color:#fff;
  box-shadow:inset 0 1px 1px #ffb5a6,0 2px 4px rgba(142,26,12,.25);
}
/* Results and unavailable states remain visually distinct from purchasing. */
#main .home-products :is(.sale-drawn,.sale-sold,.sale-held) .mini-price{
  border:1px solid #c59435;
  background:linear-gradient(180deg,#fff2bb 0%,#f7d676 100%);
  color:#60420d;
  box-shadow:inset 0 1px 1px #fff8df,0 2px 4px rgba(111,79,20,.14);
}
@media(max-width:350px){
  #main .home-products .mini-price{margin-inline:4px;font-size:12px}
}

/* Longer translations may wrap without clipping adjacent controls. */
html:not(:lang(zh)) #main .hero h1{font-size:clamp(22px,7vw,30px)!important;line-height:1.14;white-space:normal;overflow-wrap:anywhere}
html:not(:lang(zh)) #main .trust-strip b{white-space:normal;overflow-wrap:anywhere;padding-inline:2px;line-height:1.2}
html:not(:lang(zh)) #main .home-products .content-source{flex:none;white-space:nowrap;overflow-wrap:normal;font-size:9px}
html:not(:lang(zh)) #main .promo-body .promo-offer span{min-width:0;max-width:100%;overflow-wrap:anywhere}
html:not(:lang(zh)) #main .home-section-title h2{flex:1 1 auto;flex-wrap:wrap;gap:2px 5px;min-width:0;font-size:clamp(15px,4.7vw,19px);white-space:normal;overflow-wrap:anywhere;line-height:1.2}
html:not(:lang(zh)) #main .home-section-title h2 em{flex:none;white-space:nowrap}
html:not(:lang(zh)) #main .home-section-title button{flex:0 1 auto;min-width:44px;max-width:35%;white-space:normal;overflow-wrap:anywhere;text-align:right;line-height:1.2}
html:not(:lang(zh)) #main :is(.mini-price,.promo-body button,.orders-filters button,.order-filters button){white-space:normal;overflow-wrap:anywhere;line-height:1.2}
html:not(:lang(zh)) .mobile-nav button span{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.1;text-align:center}
html:not(:lang(zh)) #main .account-stats small{max-width:100%;white-space:normal;overflow-wrap:anywhere}
html:not(:lang(zh)) #main .account-overview .membership-card button{flex:0 1 auto;min-width:0;max-width:42%;height:auto;min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.25}
@media(max-width:350px){
  html:not(:lang(zh)) #main .prize-claim .claim-steps li>b{max-width:100%;word-break:normal;overflow-wrap:anywhere;hyphens:auto}
}

/* Translation spans in account statistics are labels, not the icon spans. */
#main .account-stats button small { min-width:0; max-width:100%; overflow-wrap:break-word; word-break:normal; }
#main .account-stats button small span { display:inline; color:inherit; font:inherit; line-height:inherit; }
#main .account-trust strong span { display:inline; color:inherit; font:inherit; line-height:inherit; }

/* Pickluno brand styling. */
header .brand::before{content:"";width:30px;height:30px;vertical-align:middle;background:url('/icon.svg') center/contain no-repeat}
#main .about-brand>div{background:none}
#main .about-brand img{display:block;margin:auto;border-radius:15px}

/* The link and its arrow form one unit while the title takes remaining space. */
html:not(:lang(zh)) body #main .home-section-title{gap:10px}
html:not(:lang(zh)) body #main .home-section-title h2{flex:1 1 0;min-width:0}
html:not(:lang(zh)) body #main .home-section-title button{flex:0 0 auto;max-width:none;white-space:nowrap;overflow-wrap:normal;word-break:normal}

/* Account settings share the same compact rows and reading order as the account page. */
#main .account-settings-page .account-settings-list{margin:0 0 16px;padding:0 16px;border:1px solid #e9e2d4;border-radius:16px;background:#fffdfa;box-shadow:0 3px 10px rgba(34,54,40,.07)}
#main .account-settings-page .account-settings-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto 10px;align-items:center;column-gap:6px;width:100%;min-height:52px;margin:0;padding:9px 0;border:0;border-bottom:1px solid #e9e2d8;border-radius:0;background:transparent;color:#103423;text-align:left}
#main .account-settings-page .account-settings-row:last-child{border-bottom:0}
#main .account-settings-page .account-settings-row>*{grid-row:1;align-self:center;min-width:0}
#main .account-settings-page .account-settings-row .menu-icon{grid-column:1;display:grid;place-items:center;width:24px;height:24px;color:#103423}
#main .account-settings-page .account-settings-row .menu-icon .ui-icon{width:22px;height:22px;stroke-width:2}
#main .account-settings-page .account-settings-row strong{grid-column:2;padding-left:6px;font-size:14px;line-height:1.35;font-weight:700;overflow-wrap:break-word}
#main .account-settings-page .account-settings-value{grid-column:3;max-width:130px;font-size:12px;line-height:1.35;color:#647c6c;text-align:right;overflow-wrap:anywhere}
#main .account-settings-page .account-settings-row .chevron{position:relative;display:block;grid-column:4;width:10px;height:24px;margin:0;padding:0;font-size:0;line-height:0;color:#103423}
#main .account-settings-page .account-settings-row .chevron::before{content:'';position:absolute;top:50%;left:50%;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translate(-50%,-50%) rotate(45deg)}
#main .account-settings-page .account-settings-row:focus-visible{outline:3px solid #8bbf55;outline-offset:-3px}
@media(max-width:350px){#main .account-settings-page .account-settings-list{padding-inline:12px}#main .account-settings-page .account-settings-value{max-width:100px}}

/* Match buttons on touch screens while retaining keyboard focus outlines. */
#main summary{-webkit-tap-highlight-color:transparent}

/* The home shortcuts remain aligned, with a full touch target and no hover overlay. */
#main .trust-strip>.trust-link{display:flex;min-width:0;min-height:64px;width:100%;padding:2px 3px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;border-right:1px solid #ded6cc;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
#main .trust-strip>.trust-link:last-child{border-right:0}
#main .trust-strip>.trust-link:hover,#main .trust-strip>.trust-link:active{background:transparent;box-shadow:none}
#main .trust-strip>.trust-link:focus-visible{outline:2px solid #b88919;outline-offset:-3px}
#main .trust-strip>.trust-link b,html:not(:lang(zh)) #main .trust-strip>.trust-link b{max-width:100%;padding-inline:2px;white-space:normal;overflow-wrap:break-word;word-break:normal;line-height:1.2;hyphens:auto}
