/* Storefront design pass: one spacing and legibility system, scoped to commerce. */
#main{--store-ink:#173b2a;--store-muted:#475f50;--store-line:#d6e6da;--store-green:#075b35;--store-focus:#78b952}
#main .home-top .top-actions{gap:8px}
#main .home-top .top-actions button,#main .catalog-page-top>button,#main .detail-top>button{min-width:44px;min-height:44px}
#main .home-top .brand-mark{min-width:0}
#main .hero h1{letter-spacing:-.025em}
#main .hero p{max-width:20em;line-height:1.45}
#main .hero-cta{min-height:44px;line-height:1.3;color:#4b3000}
#main .trust-strip{gap:0}
#main .trust-strip b{line-height:1.3}
#main .promo-panel{overflow:hidden}
#main .promo-body>div:nth-child(2){min-width:0;overflow-wrap:anywhere}
#main .promo-body button,#main .home-section-title button{min-height:44px;line-height:1.25}
#main .history-shortcut{min-height:68px;line-height:1.4}
#main .history-shortcut-copy strong{line-height:1.35}
#main .history-shortcut-copy small{line-height:1.45;color:var(--store-muted)}

/* Product cards reserve predictable space while preserving status colors. */
#main .home-products{gap:8px;}
#main .home-products .mini-product{padding:6px 5px 8px;border-color:var(--store-line);border-radius:14px}
#main .home-products .mini-product h3{min-height:2.8em;margin:8px 0 5px;color:var(--store-ink);font-size:12px;overflow-wrap:anywhere}
#main .home-products .mini-product>small{line-height:1.35;color:var(--store-muted)}
#main .home-products .mini-product .home-value{margin:3px 0 7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#main .home-products .mini-tag,#main .catalog-grid .mini-tag{padding:4px 7px;}
#main .home-products .mini-price,#main .catalog-grid .cardbody .wide{min-height:44px;line-height:1.25;overflow-wrap:anywhere}
#main .home-products .sale-selling .mini-price,#main .catalog-grid .sale-selling .cardbody .wide{background:#bd251d;border:1px solid #aa1e18;}
#main .catalog-search input{min-width:0;font-size:16px}
#main .category-chips{gap:8px}
#main .category-chips button{min-width:48px;min-height:48px}
#main .catalog-grid{gap:10px}
#main .catalog-grid .card{min-width:0;border-color:var(--store-line);border-radius:15px}
#main .catalog-grid .cardbody h3{margin-bottom:8px;color:var(--store-ink);overflow-wrap:anywhere}
#main .catalog-grid .value-box{gap:4px;padding:7px;min-width:0}
#main .catalog-grid .value-box small{white-space:normal;font-size:11px;line-height:1.3;color:var(--store-muted)}
#main .catalog-grid .value-box .price{white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#main .catalog-grid .catalog-progress-label{white-space:normal;margin:7px 0 6px;line-height:1.4;color:#425b4b}
#main .catalog-grid progress{margin-bottom:10px}


/* Number picker controls: larger targets without changing number state semantics. */
#picker{--store-picker-ink:#173b2a;--store-picker-border:#d2e2d5;--store-picker-focus:#79bb54}
#picker .flow-head button{min-width:44px;min-height:44px}
#picker .mode-tabs button{height:auto!important;min-height:46px!important;line-height:1.25!important}
#picker .mode-tabs button:focus-visible{outline:3px solid #a5dc72!important;outline-offset:2px!important}
#picker .purchase-card{gap:10px!important;padding:12px!important;border-color:var(--store-picker-border)!important}
#picker .purchase-card #pickTitle{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;overflow-wrap:anywhere;font-size:15px!important;line-height:1.35!important}
#picker .purchase-card p:first-of-type,#picker .purchase-card p:last-of-type{font-size:12px!important;line-height:1.35!important}
#picker .random-panel{height:auto!important;min-height:186px!important;padding:12px 10px!important}
#picker .random-content{min-width:0}
#picker .random-panel h2{white-space:normal;line-height:1.25!important}
#picker .random-panel p{white-space:normal;line-height:1.4!important;font-size:12px!important}
#picker .random-panel small{font-size:11px!important;line-height:1.35}
#picker .random-counter{height:44px!important;min-height:44px;width:min(100%,164px)!important;padding:0!important}
#picker .random-counter button{width:40px!important;min-width:40px;height:40px!important;min-height:40px!important;line-height:1!important}
#picker .random-counter input{min-width:0;min-height:40px!important;height:40px!important;font-size:18px!important}
#picker #randomDraw{min-height:44px!important;height:auto!important;line-height:1.3!important}
#picker #numbers{grid-auto-rows:44px;max-height:220px!important;gap:8px!important}
#picker #numbers button{height:44px!important;min-height:44px!important;line-height:1.2!important}
#picker .number-legend{gap:8px;flex-wrap:wrap;white-space:normal}
#picker .number-legend span{font-size:12px;line-height:1.4}
#picker .range-summary strong,#picker .range-summary p{line-height:1.45;overflow-wrap:anywhere}
#picker .selected-overview h3{line-height:1.35}
#picker .selected-overview #clearInline{min-height:44px}
#picker #pickStep>.flow-actions{min-height:80px!important;padding-bottom:max(12px,env(safe-area-inset-bottom))!important}
#picker #pickStep{padding-bottom:calc(104px + env(safe-area-inset-bottom))}
#picker #reviewButton,#picker #goCheckout,#picker #submitOrder{min-height:44px;line-height:1.3}
#picker :is(button,input,select,textarea):focus-visible{outline:3px solid var(--store-picker-focus);outline-offset:2px}

@media(max-width:350px){
  #main .home-products{gap:5px}
  #main .home-products .mini-product{padding:5px 4px 7px}
  #main .home-products .mini-product h3{font-size:11px;line-height:1.4}
  #main .home-products .mini-tag,#main .catalog-grid .mini-tag{font-size:10px}
  #main .catalog-grid{gap:7px}
  #picker .random-panel{padding:10px 8px!important}
  #picker .random-panel h2{font-size:17px!important}
  #picker .random-counter{width:min(100%,150px)!important}
}
@media(prefers-reduced-motion:reduce){#main :is(.hero-cta,.mini-price,.wide),#picker button{transition:none!important;animation:none!important}}

/* Restore number search and legend in the regular picker. */
#picker:not(.interval-mode) #singlePanel>.number-legend{display:flex!important;align-items:center;justify-content:flex-start!important;gap:8px 14px;margin:4px 0 10px!important;padding:4px 2px;color:#233d2b}
#picker:not(.interval-mode) #singlePanel>.number-legend span{font-size:12px;line-height:1.4;color:#263c2d}
#picker #singlePanel>.search-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:end;margin:8px 0 12px!important}
#picker #singlePanel>.search-toolbar label{display:grid;gap:4px;min-width:0;margin:0;font-size:12px;line-height:1.3;color:#354d3d}
#picker #singlePanel>.search-toolbar input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;margin:0;padding:8px 9px;border:1px solid #b9d0bd;border-radius:10px;background:#fff;color:#173b2a;font-size:16px}
#picker #singlePanel>.search-toolbar button{box-sizing:border-box;min-width:48px;min-height:44px;margin:0;padding:8px 10px;border-radius:10px;font-size:13px;line-height:1.2}
@media(max-width:350px){#picker #singlePanel>.search-toolbar{gap:6px}#picker #singlePanel>.search-toolbar button{min-width:44px;padding:7px 8px}}

/* Keep long product values and progress counts inside the purchase summary. */
#picker .purchase-card p:first-of-type,#picker .purchase-card p:last-of-type{white-space:normal;overflow:visible;overflow-wrap:anywhere}

/* Long selections remain manageable without covering the next-step controls. */
#picker #selectedPreview{max-height:none;overflow:visible;padding:3px 4px}
#picker #selectedPreview .chip{min-height:44px;line-height:1.3}
#picker #selectedList{scroll-padding:6px;scrollbar-width:thin}
#picker #selectedList{max-height:none;overflow:visible}
#picker .selected-pages{flex:0 0 100%;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;padding:2px 0;color:#436650;font-size:12px}
#picker .selected-page-button{position:relative;isolation:isolate;min-width:44px;min-height:44px;max-width:100%;padding:9px 10px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:#086637;font-size:13px;font-weight:700;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
#picker .selected-page-button::before{position:absolute;inset:4px 0;z-index:-1;border:1px solid #bad8bd;border-radius:10px;background:#f5fbf3;content:''}
#picker .selected-page-button:disabled{opacity:.48;cursor:default}
#picker .selected-search{flex:0 0 100%;width:100%}
#picker .selected-search input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:8px 12px;border:1px solid #bad8bd;border-radius:12px;background:#fff;color:#173d35;font:inherit;font-size:16px;line-height:1.3}
#picker .selected-jump{display:flex;align-items:center;min-width:0}
#picker .selected-jump input{box-sizing:border-box;width:58px;min-height:44px;padding:6px;border:1px solid #bad8bd;border-radius:10px;text-align:center;background:#fff;color:#173d35;font:inherit;font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums}
#picker #numbers{scroll-padding:7px;padding:6px!important}

/* Match touch target sizes across random, range, review and checkout actions. */
#picker .random-counter button{width:44px!important;min-width:44px;height:44px!important;min-height:44px!important}
#picker #prevRange,#picker #nextRange{min-width:44px;min-height:44px}
#picker:not(.interval-mode) #singlePanel::before,#picker:not(.interval-mode) .range-controls,#picker:not(.interval-mode) .range-controls .toolbar{height:44px}
#picker:not(.interval-mode) #range{height:44px;min-height:44px;line-height:normal}
#picker #checkout #copyRecipient,#picker #checkout .conflict-panel button{min-height:44px}
#picker #reviewStep>p{flex-wrap:wrap;gap:4px 10px;overflow-wrap:anywhere}
#picker #checkoutSummary,#picker #checkout .conflict-panel{overflow-wrap:anywhere}

/* Commerce visual system: forest green, natural surfaces and one warm accent. */
#main{
  --store-ink:#173a2b;
  --store-muted:#53685a;
  --store-line:#dbe7dd;
  --store-surface:#fff;
  --store-green:#075c39;
}
#main .home-top{align-items:center}
#main .hero{background-color:#073b29;}
#main .hero::before{display:none}
#main .hero::after{height:38px;background:linear-gradient(180deg,transparent,#f7f8f4)}
#main .hero-crown{display:none}
#main .hero h1{font-size:31px!important;font-style:normal;letter-spacing:-.04em;}
#main .hero p{color:#edf5ec;text-shadow:none;}
#main .hero-cta{border:0;background:#ebd596;color:#283620;box-shadow:none;}
#main .trust-strip{border:1px solid #e1ebe1;background:#fff;box-shadow:0 2px 10px #163e2710}
#main .trust-strip b{color:#304c3b;font-weight:650}
#main .promo-panel{border:1px solid #d7e5d7;background:#fbfcf8;box-shadow:none}
#main .promo-heading{min-height:36px;background:#315c41;}
#main .promo-heading b{background:#fff;color:#315c41}
#main .promo-body{padding:12px;}
#main .promo-body b{color:#1c3a29}
#main .promo-body em{color:#9d531e}
#main .promo-body small{color:#596b5d}
#main .promo-body button{border:1px solid #c7d8c7;border-radius:11px;background:#eff6eb;color:#155d37;box-shadow:none;font-weight:700}
#main .history-shortcut{border:1px solid #dce8dc;box-shadow:none}
#main .home-section-title{border-color:#dbe7dd}
#main .home-section-title h2{color:#173a2b;}
#main .home-section-title button{color:#17613c;}
#main .home-products .mini-product,#main .catalog-grid .card{border:1px solid #dce8dd;background:#fff;box-shadow:0 2px 10px #173e2410}
#main .home-products .mini-product{padding:7px 6px 9px}
#main .home-products .mini-art,#main .catalog-grid .catalog-art{overflow:hidden;border-radius:10px}
#main .home-products .mini-product h3{color:#233b2b;font-weight:700}
#main .home-products .mini-tag,#main .catalog-grid .mini-tag{border-radius:7px;font-weight:700;box-shadow:0 1px 3px #142c1d26}
#main .home-products .sale-selling .mini-price,#main .catalog-grid .sale-selling .cardbody .wide{border:1px solid #075c39;border-radius:11px;background:#075c39;box-shadow:none}
#main :is(.sale-sold,.sale-held,.sale-drawn) .mini-price,#main .catalog-grid :is(.sale-sold,.sale-held,.sale-drawn) .cardbody .wide{border-radius:11px;font-weight:700}
#main .catalog-grid .cardbody h3{font-weight:700}
#main .catalog-grid .value-box{border:1px solid #e4ede3;border-radius:9px;background:#f5f9f2}
#main .catalog-grid .value-box .price,#main .home-products .home-value,#main .home-products .home-value .money-amount,#main .catalog-grid .value-box .money-amount{color:#165c39}
#main .catalog-grid progress{accent-color:#208451}

/* One visual language through number selection and checkout. */
#picker .flow-head strong{letter-spacing:0!important}
#picker .purchase-card{border-radius:15px!important;box-shadow:0 2px 10px #173e2410!important}
#picker .mode-tabs button{border-radius:11px!important;background:#f5f8f3!important;border:1px solid #d7e6d8!important;color:#31543c!important;box-shadow:none!important;font-weight:700!important}
#picker .mode-tabs button.active{border-color:#075c39!important;background:#075c39!important;box-shadow:none!important}
#picker .random-panel{background:radial-gradient(ellipse at 25% 70%,#208a55 0,#075c39 53%,#06432c 100%)!important;box-shadow:none!important}
#picker .random-panel h2{color:#fff!important;text-shadow:none!important}
#picker #randomDraw{border:0!important;border-radius:11px!important;background:#ebd596!important;color:#263d2b!important;box-shadow:none!important}
#picker #reviewButton:not(:disabled),#picker #goCheckout:not(:disabled),#picker #submitOrder:not(:disabled){border:1px solid #075c39!important;border-radius:12px!important;background:#075c39!important;box-shadow:none!important}
#picker #continuePicking{border-radius:12px!important}
#picker #reviewStep>.flow-actions,#picker #checkout>.flow-actions,#picker #pickStep>.flow-actions{box-shadow:0 -3px 16px #183d2312!important}
@media(max-width:350px){
  #main .hero h1{font-size:27px!important}
  #main .home-products .mini-product{padding:5px 4px 8px}
  #main .promo-body{padding:10px 8px;gap:7px}
}

/* Each selection mode presents only its own controls. */
#picker #singlePanel[hidden]{display:none!important}

/* Forest and champagne: a quieter frame lets real product imagery lead. */
#main {
  --store-ink:#17382c;
  --store-muted:#53695e;
  --store-line:#dce8df;
  --store-surface:#ffffff;
  --store-green:#08784b;
  --store-gold:#d7ae55;
}


#main .home-top .top-actions button{border:1px solid #d2dfd5;border-radius:50%;color:#173b2a}
#main .home-top .top-actions button:hover{background:#eaf3ed}
#main .hero{
  min-height:238px;
  padding:32px 24px 38px;
  border-radius:0 0 26px 26px;
  background-color:#073b2b;
  background-image:linear-gradient(90deg,#073b2b 0%,#073b2be8 36%,#073b2b66 77%,#073b2b25 100%),url('/home-products.jpg');
  background-position:center,63% center;
  background-size:cover,cover;
  box-shadow:none;
}
#main .hero::after{height:24px;background:linear-gradient(180deg,transparent,#f8f9f5)}
#main .hero>div:first-child{max-width:72%;padding:0}
#main .hero h1{margin:0 0 11px!important;color:#fff!important;font-size:32px!important;font-weight:780;line-height:1.12;letter-spacing:-.035em;white-space:normal;text-shadow:none}
#main .hero p{max-width:18em;margin:0 0 18px!important;color:#dceee2;font-size:13px!important;font-weight:500;line-height:1.55;white-space:normal}
#main .hero-cta{min-height:46px;padding:11px 17px;border:1px solid #f4d99b;border-radius:12px;background:linear-gradient(120deg,#f4dfa9,#dfbb70);color:#23382b;font-size:12px;font-weight:750;box-shadow:0 5px 14px #001e1640}

/* A wider, partially visible next card makes the horizontal collection discoverable. */
#main .home-section-title{gap:10px;margin:0;padding:19px 0 10px;border:0}
#main .home-section-title h2{margin:0;color:#17382c;font-size:19px;font-weight:760;line-height:1.3;letter-spacing:-.02em}
#main .home-section-title h2 em{font-style:normal;color:#08784b}
#main .home-section-title button{min-height:44px;padding:7px 2px;color:#356a50;font-size:12px;font-weight:700}
#main .home-products{display:flex;gap:10px;align-items:stretch;margin:0 -14px 15px 0;padding:2px 14px 9px 0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b6cbbc transparent}
#main .home-products .mini-product{display:flex;flex:0 0 clamp(148px,42vw,172px);min-width:0;flex-direction:column;align-items:stretch;padding:7px 7px 10px;border:1px solid #e0e9df;border-radius:18px;background:#fff;text-align:left;box-shadow:0 5px 16px #173e2610;scroll-snap-align:start}
#main .home-products .mini-art{border-radius:12px;background-color:#0d4f35}
#main .home-products .mini-product h3{min-height:2.7em;margin:10px 4px 6px;color:#17382c;font-size:13px;line-height:1.4;font-weight:730}
#main .home-products .mini-product>small{margin:0 4px;color:#627468;font-size:11px;line-height:1.3}
#main .home-products .mini-product .home-value{margin:2px 4px 10px;color:#0b6c43;font-size:19px;font-weight:780;line-height:1.2}
#main .home-products .mini-product .home-value .money-amount{color:#0b6c43}
#main .home-products .mini-price{min-height:44px;margin-top:auto;padding:9px 8px;border-radius:11px;font-size:12px;font-weight:750;letter-spacing:0}
#main .home-products .mini-tag,#main .catalog-grid .mini-tag{top:13px;left:13px;padding:5px 8px;border:1px solid #ffffff42;border-radius:8px;font-size:11px;line-height:1.2;box-shadow:0 3px 10px #07291b30}
#main .home-products .sale-selling .mini-price,#main .catalog-grid .sale-selling .cardbody .wide{border-color:#08784b;background:#08784b;}
#main .home-products :is(.sale-drawn,.sale-sold,.sale-held) .mini-price{border:1px solid #c9ddd3;background:#edf5f0;color:#275e49;box-shadow:none}

#main .history-shortcut{min-height:76px;margin:2px 0 16px;padding:12px 14px;border:1px solid #dce8df;border-radius:16px;background:#fff;color:#17382c;box-shadow:0 4px 15px #153d2410}
#main .history-shortcut-icon{width:44px;height:44px;border-radius:13px;background:#e7f3e9;color:#08784b}
#main .history-shortcut-copy strong{font-size:14px;font-weight:750}
#main .history-shortcut-copy small{color:#63796b;font-size:12px}
#main .promo-panel{border:1px solid #e6dbc2;border-radius:18px;background:#fffdf7;box-shadow:0 4px 15px #674b1710}
#main .promo-heading{min-height:42px;padding:8px 12px;background:#36563d;box-shadow:none}
#main .promo-heading strong{font-weight:750}
#main .promo-heading .promo-countdown-label{color:#f0e3bb}
#main .promo-body{padding:13px;gap:10px}
#main .promo-body em{color:#946321}
#main .promo-body button{border:1px solid #d0b675;background:#fcf2db;color:#725322}
#main .trust-strip{margin-top:14px;border:0;border-radius:15px;background:#edf4ec;box-shadow:none}
#main .trust-strip b{color:#466653;font-size:11px}
#main .trust-strip .ui-icon{color:#378358}

/* The catalog uses the same hierarchy as the home collection. */
#main .catalog-controls{padding:12px 16px 4px;}
#main .catalog-search{border:1px solid #dbe7dd;border-radius:14px;box-shadow:0 5px 14px #002b1b16}
#main .category-chips{gap:7px;margin-bottom:12px}
#main .category-chips button{min-height:58px;height:auto;border:1px solid #deeadf;border-radius:14px;background:#fff;color:#345346;box-shadow:0 3px 10px #173d2410;font-size:12px}
#main .category-chips button.active{border-color:#08784b;background:#08784b;}
#main .order-filters{gap:7px;padding:2px 0 8px}
#main .order-filters button{border:1px solid #dce8df;border-radius:11px;background:#fff;color:#52695d;box-shadow:none;font-size:12px;font-weight:650}
#main .order-filters button.active{border-color:#d3b670;background:#f8edce;color:#624b20;box-shadow:none}
#main .catalog-grid{gap:10px!important}
#main .catalog-grid .card{border:1px solid #e0e9df;border-radius:18px;background:#fff;background-image:none;box-shadow:0 5px 16px #173e2610}
#main .catalog-grid .catalog-art{border-radius:13px}
#main .catalog-grid .cardbody{padding:10px 3px 3px!important}
#main .catalog-grid .cardbody h3{color:#17382c;font-size:14px;font-weight:730;line-height:1.4}
#main .catalog-grid .value-box{padding:8px;border:1px solid #e7eddd;border-radius:10px;background:#f7f9f2}
#main .catalog-grid .value-box .price,#main .catalog-grid .value-box .price .money-amount{color:#0b6c43}
#main .catalog-grid .catalog-progress-label{color:#627468;font-size:11px}
#main .catalog-grid .cardbody .wide{border-radius:11px;font-size:13px!important;font-style:normal;letter-spacing:0}
#main .catalog-grid :is(.sale-drawn,.sale-sold,.sale-held) .cardbody .wide{border:1px solid #c9ddd3;background:#edf5f0;color:#275e49;}


/* Floating navigation: light frame, clear selected destination and comfortable targets. */
.mobile-nav{border:1px solid #dbe7dc;border-bottom:0;border-radius:20px 20px 0 0;background:#fffffefa;box-shadow:0 -5px 20px #143d2112}
.mobile-nav button{color:#60776a}
.mobile-nav button.active{border-radius:14px;background:#e3f2e6;color:#08784b;box-shadow:none}
.mobile-nav button svg{stroke-width:1.8}
.mobile-nav button.active svg{stroke-width:2.2}
.mobile-nav button span{font-size:11px;font-weight:650}

/* Keep selection and checkout in the same palette without masking errors or winner states. */
#picker{background:#f8f9f5}

#picker .purchase-card{border:1px solid #e0e9df!important;border-radius:17px!important;background:#fff!important;box-shadow:0 4px 16px #173e2410!important}
#picker .purchase-card b{border-color:#d8e8d5!important;background:#eff7ec!important;color:#08784b!important}
#picker .mode-tabs button{border-radius:12px!important;border-color:#dbe7dd!important;background:#fff!important;color:#476456!important}
#picker .mode-tabs button.active{border-color:#08784b!important;background:#08784b!important;color:#fff!important}
#picker .random-panel{border:1px solid #176844!important;border-radius:18px!important;background:radial-gradient(ellipse at 25% 65%,#167e4e 0,#075a38 54%,#073b2b 100%)!important}
#picker #randomDraw{border:1px solid #efd69d!important;background:#ecd092!important;color:#264334!important}
#picker .range-summary{border-color:#e7d9b5!important;background:#fcf5e5!important;color:#564926}
#picker #numbers button:not(.selected):not(:disabled){border-color:#d7e6d9!important;background:#fff!important;color:#18392a!important;box-shadow:0 2px 6px #1e4d2910!important}
#picker #numbers button.selected{border-color:#08784b!important;background:#08784b!important;color:#fff!important}
#picker #reviewButton:not(:disabled),#picker #goCheckout:not(:disabled),#picker #submitOrder:not(:disabled){border-color:#08784b!important;background:#08784b!important}
#picker :is(#reviewButton,#goCheckout,#submitOrder):disabled{background:#dce7de!important;border-color:#dce7de!important;color:#819586!important;opacity:1}
#picker #selection b{color:#08784b}
#picker :is(.selected-overview h3,.range-heading h3){border-color:#d7ae55!important;color:#17382c}
@media(max-width:350px){
  #main .hero{min-height:218px;padding:27px 20px 32px}
  #main .hero h1{font-size:28px!important}
  #main .hero p{font-size:12px!important}
  #main .home-products .mini-product{flex-basis:148px;padding:7px 7px 10px}
  #main .home-products .mini-product h3{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#main .home-products{scroll-behavior:auto}}

/* Fine detail pass: readable labels, resilient content and comfortable touch targets. */
#main .hero-cta{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#main .promo-heading{height:auto;flex-wrap:wrap;gap:5px 10px;line-height:1.4}
#main .promo-heading>strong,#main .promo-heading>.promo-countdown{min-width:0}
#main .promo-body>div:nth-child(2)>b{overflow:visible;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;line-height:1.4}
#main .home-products .mini-product .home-value .money-amount,#main .catalog-grid .value-box .price .money-amount{white-space:normal;overflow-wrap:anywhere}
#main .catalog-grid .value-box small{font-size:12px;line-height:1.4}
#main .catalog-grid .catalog-progress-label{font-size:12px;line-height:1.45;color:#536b5b}
#main .catalog-grid .wide:focus-visible,#main .home-products .mini-price:focus-visible,#main .history-shortcut:focus-visible{outline:3px solid #d7ae55;outline-offset:2px}
#picker.interval-mode :is(#prevRange,#nextRange){width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;line-height:1!important}
#picker .number-scroll-hint{color:#536b5b!important;font-size:12px!important;line-height:1.45!important}
#picker #purchasePercent{font-size:12px!important;line-height:1.2!important;color:#3e5b49!important}
#picker .legend-swatch.selected{background:#08784b!important}
#picker .range-slider-wrap>div{color:#536b5b!important;font-size:12px!important}
#picker .range-summary p{color:#4b5d4c;line-height:1.5}
#picker #checkoutSummary{line-height:1.55;overflow-wrap:anywhere}
#picker #checkout label,#picker #reviewStep p{line-height:1.5}
@media(max-width:350px){
  #main .home-products .mini-product h3{line-height:1.45}
  #main .promo-body{gap:8px}
  #main .catalog-grid .value-box{gap:2px}
  #main .catalog-grid .value-box small{font-size:11px}
}

/* Keep number review controls and availability states readable and consistent. */
#picker #selectedList .chip{min-height:44px;line-height:1.3}
#picker #randomShortcut{min-width:44px;min-height:44px}
#picker #reviewStep>p strong,#picker #reviewStep>p strong :is(.money-amount,.money-symbol,.money-value){color:#08643e!important}
#picker #reviewStep>h3,#picker #checkout>h3{border-left-color:#d7ae55}
#picker #numbers button:disabled{border-color:#ccd8cf!important;background:#edf1ed!important;color:#52685b!important;opacity:1}
#picker #numbers button.selected:after{background:#08784b!important}
#picker.interval-mode .random-shortcut{background:#eaf5ed;color:#315c43}
#picker.interval-mode .random-shortcut button{border-color:#bdd7c5;color:#075c39}

/* Commerce emphasis: red marks price, promotion and the next buying action. */
#main{--store-commerce-red:#b62027;--store-commerce-ink:#ad1e26;--store-commerce-soft:#fff7f5}
#main .hero-cta{border:1px solid #aa1d24;background:var(--store-commerce-red);color:#fff;box-shadow:0 5px 14px rgba(91,11,18,.19)}
#main .home-section-title h2{display:flex;align-items:center;gap:8px}
#main .home-section-title h2:before{content:"";display:block;flex:none;width:4px;height:19px;border-radius:4px;background:var(--store-commerce-red)}
#main .home-products .sale-selling .mini-price,#main .catalog-grid .sale-selling .cardbody .wide{border-color:#a91e24;background:var(--store-commerce-red);color:#fff}
#main .home-products .mini-product .home-value,#main .home-products .mini-product .home-value :is(.money-amount,.money-symbol,.money-value),#main .catalog-grid .value-box .price,#main .catalog-grid .value-box .price :is(.money-amount,.money-symbol,.money-value){color:var(--store-commerce-ink)}
#main .catalog-grid .value-box{border-color:#f1dcd7;background:var(--store-commerce-soft)}
#main .promo-panel{border-color:#ead3ce;background:#fffaf7}
#main .promo-heading{background:#a92a2c;color:#fff}
#main .promo-heading .promo-countdown-label{color:#fff5ea}
#main .promo-heading .promo-time b{color:#9b2427}
#main .promo-body :is(.promo-offer em,.promo-offer .money-amount,.promo-offer .money-symbol,.promo-offer .money-value){color:var(--store-commerce-ink)}
#main .promo-body button{border-color:#e4c5ba;background:#fff3ed;color:#93272a}
#picker #purchaseValue,#picker #purchaseValue :is(.money-amount,.money-symbol,.money-value),#picker #selection span:nth-child(2) :is(b,.money-amount,.money-symbol,.money-value){color:#ad1e26!important}
#picker #reviewStep>p #reviewAmount,#picker #reviewStep>p #reviewAmount :is(.money-amount,.money-symbol,.money-value){color:#ad1e26!important}
#picker #reviewButton:not(:disabled),#picker #goCheckout:not(:disabled),#picker #submitOrder:not(:disabled){border-color:#a91e24!important;background:#b62027!important;color:#fff!important}
@media(max-width:350px){#main .home-section-title h2:before{height:17px}}

/* Catalogue follows the green, gold and red treatment of the supplied design. */
#main:has(.catalog-page-top){position:relative;isolation:isolate}
#main:has(.catalog-page-top)::before{
  content:"";position:absolute;z-index:-1;top:0;left:0;right:0;height:164px;pointer-events:none;
  background:linear-gradient(165deg,#00351f 0%,#00542d 50%,#07823d 78%,rgba(7,130,61,0) 100%);
}
#main .catalog-page-top h1,#main .catalog-page-top>button{color:#fff}
#main .catalog-page-top>button svg{stroke:currentColor}
#main .catalog-page-top>button:focus-visible{outline-color:#ffe080}
#main .catalog-controls{padding-top:8px;padding-bottom:6px}
#main .catalog-search{min-height:48px;margin-bottom:12px;border:1px solid #e2dfd6;border-radius:25px;background:#fff;box-shadow:0 3px 8px rgba(31,52,36,.12)}
#main .category-chips{gap:6px;margin-bottom:10px}
#main .category-chips button{min-width:0;min-height:56px;padding:5px 2px;border:1px solid #ebe4d9;border-radius:13px;background:linear-gradient(#fff,#f7f4ee);color:#17251b;font-weight:750;box-shadow:0 3px 6px rgba(67,48,26,.12)}
#main .category-chips button.active{border-color:#08742c;background:linear-gradient(180deg,#15a839,#007525);color:#fff;box-shadow:inset 0 1px 0 #ffffff57,0 3px 7px #075c2d40}
#main .category-chips button[data-category="all"] span{display:none}
#main .order-filters{gap:6px;padding:0 0 8px}
#main .order-filters button{min-width:0;min-height:44px;padding:6px 3px;border:1px solid #e9e3db;border-radius:22px;background:linear-gradient(#fff,#f8f5f0);color:#222c23;font-weight:700;box-shadow:0 2px 5px rgba(61,43,22,.1)}
#main .order-filters button.active{border-color:#f4d88d;background:linear-gradient(#fff4c9,#ffe4a1);color:#b52216;box-shadow:0 2px 5px #b985292a}
#main .order-filters button[data-catalog-filter="all"]::before{content:'🔥';margin-right:3px}
#main .catalog-grid{display:block!important;padding-bottom:16px}
#main .catalog-grid .card{display:grid!important;grid-template-columns:40% minmax(0,1fr);align-items:stretch;gap:10px!important;margin-bottom:10px!important;padding:8px!important;border-color:#e9e2d7;border-radius:17px;background:#fffdfa;box-shadow:0 3px 8px rgba(77,49,19,.13)}
#main .catalog-grid .catalog-art{height:100%!important;min-height:186px!important;aspect-ratio:auto;border:1px solid #e4d4a9;border-radius:11px}
#main .catalog-grid .mini-tag{top:5px;left:0;border-radius:8px 3px 8px 3px}
#main .catalog-grid .cardbody{padding:3px 2px!important}
#main .catalog-grid .cardbody h3{min-height:0;margin:0 0 7px;color:#161f18;font-size:15px;font-weight:800;line-height:1.32}
#main .catalog-grid .value-box{gap:3px 5px;min-height:35px;padding:5px 8px;border:1px solid #f2d99a;border-radius:18px;background:linear-gradient(180deg,#fff5d1,#ffe5a3)}
#main .catalog-grid .value-box small{color:#493d25;font-weight:700}
#main .catalog-grid .value-box .price,#main .catalog-grid .value-box .price :is(.money-amount,.money-symbol,.money-value){color:#bd1f1a}
#main .catalog-grid .catalog-progress-label{margin:8px 0 5px;color:#303e32;font-weight:650;line-height:1.35}
#main .catalog-grid progress{height:7px;margin:0 0 8px}
#main .catalog-grid .cardbody .wide{min-height:44px;border-radius:24px;font-size:14px!important;font-weight:800}
#main .catalog-grid .sale-selling .cardbody .wide{border-color:#bf1d16;background:linear-gradient(180deg,#ff4c37,#e32119 52%,#bd1712);color:#fff;box-shadow:inset 0 1px 0 #ffffff8c,0 2px 5px #ac2d1c38}
#main .catalog-grid :is(.sale-drawn,.sale-sold,.sale-held) .cardbody .wide{border-color:#bfd7df;background:#eaf3f6;color:#315a6c;box-shadow:none}
@media(max-width:350px){
  #main .category-chips{gap:4px}
  #main .category-chips button{font-size:11px}
  #main .order-filters{gap:4px}
  #main .order-filters button{font-size:11px}
  #main .catalog-grid .card{gap:8px!important}
  #main .catalog-grid .cardbody h3{font-size:13px}
  #main .catalog-grid .catalog-art{min-height:176px!important}
  #main .catalog-grid .value-box{padding:5px 6px}
}

/* Keep shopping actions consistent with the rounded red and gold reference. */
#main .catalog-grid .cardbody .wide{
  display:flex;align-items:center;justify-content:center;min-height:44px;
  padding:8px 10px;line-height:1.25;text-align:center;overflow-wrap:anywhere;
}
#picker .mode-tabs button{min-height:46px!important;padding:8px 6px!important;line-height:1.25!important}
#picker .mode-tabs button.active{
  border-color:#078235!important;background:linear-gradient(180deg,#16a84a,#087b32 55%,#056326)!important;
  color:#fff!important;box-shadow:inset 0 1px 1px #ffffff70,0 2px 4px #00532733!important;
}
#picker #randomDraw{
  min-height:44px!important;padding:8px 12px!important;border:1px solid #dda728!important;
  border-radius:22px!important;background:linear-gradient(180deg,#fff0a3,#ffd455 56%,#efb72c)!important;
  color:#302409!important;font-size:14px!important;line-height:1.3!important;
  box-shadow:inset 0 1px 1px #fff8ce,0 2px 5px #06341b55!important;
}
#picker :is(#reviewButton,#goCheckout,#submitOrder):not(:disabled){
  min-height:44px!important;padding:8px 10px!important;border:1px solid #b71614!important;
  border-radius:24px!important;background:linear-gradient(180deg,#f5422d,#dc1e18 52%,#b91613)!important;
  color:#fff!important;line-height:1.25!important;box-shadow:inset 0 1px 0 #ffffff75,0 2px 5px #9c281b35!important;
}
@media(max-width:350px){
  #main .catalog-grid .cardbody .wide{padding-inline:6px;font-size:13px!important}
  #picker .mode-tabs button{padding-inline:4px!important}
}

/* Concise explanations for catalogue ranking and availability filters. */
#main #storefront-catalog .catalog-filter-hint{margin:8px 2px 0;color:#587060;font-size:12px;line-height:1.45;overflow-wrap:anywhere}
#main #storefront-catalog .catalog-filter-hint[hidden]{display:none}
#main :is(#catalogEmpty,[data-i18n-key="storefront.noProducts"]){font-size:12px;line-height:1.5;overflow-wrap:anywhere}

/* Keep compact filter pills inside a full-height touch target. */
#main #storefront-catalog .order-filters button{position:relative;isolation:isolate;min-height:44px;border:0;background:transparent;box-shadow:none}
#main #storefront-catalog .order-filters button::after{position:absolute;inset:4px 0;z-index:-1;border:1px solid #e9e3db;border-radius:999px;background:linear-gradient(#fff,#f8f5f0);box-shadow:0 2px 5px rgba(61,43,22,.1);content:''}
#main #storefront-catalog .order-filters button.active{border:0;background:transparent;box-shadow:none}
#main #storefront-catalog .order-filters button.active::after{border-color:#f4d88d;background:linear-gradient(#fff4c9,#ffe4a1);box-shadow:0 2px 5px #b985292a}
