:root{font-family:Arial,Helvetica,sans-serif;color:#183d32;background:#f6f7f2;line-height:1.45;--green:#183d32;--lime:#d5ef78;--line:#dce3d9;--muted:#66756a}*{box-sizing:border-box}body{margin:0}main{max-width:850px;margin:auto;padding:0 16px 110px}button,input,select,textarea{font:inherit}button{background:var(--green);color:#fff;border:1px solid var(--green);border-radius:10px;padding:10px 14px;min-height:48px;cursor:pointer;font-weight:700}button:disabled{opacity:.5;cursor:default}button:hover:not(:disabled){filter:brightness(.93)}button.secondary{background:#fff;color:var(--green);border-color:var(--line)}button.text-button{background:transparent;color:var(--green);border-color:transparent;text-decoration:underline;padding:8px 0}button.full{width:100%}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b68a28;outline-offset:3px}.search-header{display:flex;gap:12px;align-items:center;position:sticky;top:0;background:#f6f7f2;z-index:500;padding:14px 0 9px}.search{min-width:0;margin:0;display:flex;flex-direction:row;gap:8px;align-items:center;background:white;border:1px solid #bcc9bd;border-radius:13px;padding-left:14px;flex:1}.search svg{flex-shrink:0;height:20px;width:20px;fill:none;stroke:var(--green);stroke-width:1.8}.search input{border:0;background:transparent;min-width:0}.brand-label{font-size:13px;font-weight:900;letter-spacing:1px}.preview-note{font-size:11px;font-weight:bold;color:#826126;padding:1px 0 8px}.preview-note span{font-weight:normal}p{margin:6px 0 14px}h1{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:7px 0}h2{font-size:18px;margin:15px 0 8px}h3{font-size:15px;margin:0}.small{font-size:12px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#status{position:fixed;bottom:95px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;z-index:1100;background:#183d32;color:#fff;padding:11px 16px;font-size:13px;border-radius:12px;box-shadow:0 5px 20px #0002;pointer-events:none}#status:empty{display:none}#welcome{padding:35px 0}.welcome-logo{width:64px;height:64px;border-radius:14px}.view{padding:12px 0 20px}.shop-toolbar,.heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.shop-toolbar p{font-size:11px;margin:4px 0;color:var(--muted)}.view-options{display:flex;border:1px solid var(--line);background:white;border-radius:10px;flex-shrink:0}.view-options button{width:48px;padding:0;border:0;background:transparent;color:#617263;border-radius:8px;font-size:22px}.view-options button[aria-pressed=true]{background:var(--green);color:white}.offer-strip{display:flex;gap:8px;overflow:auto;padding:15px 0 8px;scrollbar-width:none}.offer{flex-shrink:0;min-height:48px;padding:7px 13px;border:1px solid var(--line);background:white;color:var(--green);font-size:12px}.offer.active{background:#e7efdc;border-color:#aebf97}.products{display:grid;gap:12px;margin:14px 0}.layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product{background:white;border:1px solid var(--line);border-radius:14px;padding:12px;min-width:0;display:flex;flex-direction:column;position:relative}.product img{width:100%;height:145px;object-fit:contain;mix-blend-mode:multiply}.product-info{flex:1;min-width:0}.product h2{font-size:15px;line-height:1.25;margin:10px 0 5px}.product p{font-size:12px;margin:3px 0;overflow-wrap:anywhere}.product .pack-caption{color:#486340;font-weight:700;font-size:11px}.product-controls{margin-top:12px;display:flex;flex-direction:column;gap:7px}.product-controls select{font-size:12px;padding:6px;min-height:48px}.product-controls>.add{width:100%;font-size:13px}.stepper{display:flex;align-items:center;justify-content:space-between;gap:2px;border:1px solid var(--line);border-radius:10px;background:#f9faf6}.stepper button{width:48px;min-width:48px;padding:0;background:transparent;border:0;color:var(--green);font-size:23px}.stepper output{min-width:20px;text-align:center;font-size:14px;font-weight:bold}.layout-list{grid-template-columns:1fr;gap:8px}.layout-list .product{display:grid;grid-template-columns:minmax(0,1fr) 126px;align-items:center;gap:12px}.layout-list .product>img{display:none}.layout-list .product h2{margin-top:0}.layout-list .product-controls{margin:0}.layout-thumb{grid-template-columns:1fr;gap:8px}.layout-thumb .product{display:grid;grid-template-columns:56px minmax(0,1fr) 126px;align-items:center;gap:10px}.layout-thumb .product>img{height:66px}.layout-thumb .product h2{margin-top:0}.layout-thumb .product-controls{margin:0}.more{display:block;margin:16px auto}.receipt{padding:20px;background:white;border:1px solid var(--line);border-radius:4px;box-shadow:0 3px 14px #183d3208}.receipt-heading{display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px dashed #c0c9be;margin-bottom:5px}.receipt-heading img{height:46px;width:46px;object-fit:contain;border-radius:9px}.receipt-heading strong{font-size:17px}.receipt-heading p{font-family:monospace;font-size:10px;letter-spacing:.5px;margin:3px 0}.receipt-row{padding:12px 0;border-bottom:1px dashed #d6dcd2}.receipt-row-head{display:flex;justify-content:space-between;align-items:start;gap:8px}.receipt-row p{font-size:11px;color:var(--muted);margin:2px 0}.receipt-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:7px}.receipt-controls .stepper{width:126px}.receipt-controls select{max-width:100px;min-height:48px;font-size:12px}.receipt-controls .remove{background:transparent;border:0;color:#78594d;font-size:12px;padding:8px}.receipt-total{display:flex;justify-content:space-between;gap:10px;font-size:13px;padding-top:16px}.receipt-note{font-size:10px;color:var(--muted);margin:8px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}label{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:700;margin:13px 0}input,select,textarea{font-size:16px;min-height:48px;width:100%;padding:10px;border:1px solid #bbc8ba;border-radius:9px;background:white;color:var(--green)}textarea{min-height:72px;resize:vertical}.check,fieldset label{flex-direction:row;align-items:center;font-weight:normal;font-size:12px}.check input,fieldset input{width:22px;min-height:22px;height:22px;flex:0 0 22px;margin:10px}.payment-options{border:1px solid var(--line);border-radius:12px;padding:12px;margin:18px 0;background:#fff}.payment-options legend{font-weight:bold;font-size:14px}.payment-options p{margin-bottom:4px}.payment-options label{margin:0;min-height:48px}details{border:1px solid var(--line);padding:10px 12px;border-radius:10px;background:#fff;margin:10px 0}summary{font-size:13px;font-weight:bold;cursor:pointer;min-height:28px;align-content:center}.search-address{display:flex;gap:8px}.search-address input{min-width:0}#address-results button{display:block;text-align:left;background:#f6f8f1;color:var(--green);border-color:var(--line);width:100%;font-size:12px;margin:7px 0}#delivery-map{height:280px;margin:12px 0;border-radius:10px;z-index:1}.leaflet-control-zoom a{width:48px!important;height:48px!important;line-height:48px!important}.delivery-marker{background:var(--green);color:white;border:3px solid white;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 8px #0004}.leaflet-container{font:12px Arial,sans-serif}#pin-summary{font-size:12px}.order-row,.info-card{background:white;border:1px solid var(--line);border-radius:12px;padding:15px;margin:10px 0}.order-row h2{font-family:monospace;font-size:14px;overflow-wrap:anywhere;margin:0}.order-row p{font-size:12px;color:var(--muted);margin:5px 0}.order-meta{display:flex;justify-content:space-between;align-items:center;gap:8px}.stage-badge{font-size:11px;background:#eef1df;padding:4px 8px;border-radius:20px;color:#435838;white-space:nowrap}#order-detail{scroll-margin-top:90px;margin-top:20px;outline-offset:5px}.timeline{list-style:none;padding:0;margin:20px 0}.timeline li{border-left:2px solid #dce3d9;padding:0 0 20px 20px;margin-left:7px;position:relative;font-size:13px;color:#879084}.timeline li:before{content:'';position:absolute;left:-7px;top:3px;width:12px;height:12px;background:#dce3d9;border-radius:50%}.timeline li.done,.timeline li.current{color:var(--green)}.timeline li.done{border-color:#aac57a}.timeline li.done:before,.timeline li.current:before{background:#557e3c}.timeline li.current{font-weight:bold}.timeline li p{font-size:11px;font-weight:normal;margin-bottom:0}.notification{background:#edf3e3;border-radius:12px;padding:14px;font-size:13px}.notification p{font-size:12px;margin-bottom:0}.demo-badge{font-size:11px;color:#826126;background:#fff3d9;padding:8px;border-radius:7px}.info-card h2{margin-top:0}.info-card p{font-size:13px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,850px);display:grid;grid-template-columns:repeat(5,1fr);z-index:1000;background:#fff;border-top:1px solid var(--line);padding:7px 8px max(8px,env(safe-area-inset-bottom));gap:4px}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;color:#71816e;border:0;font-size:10px;min-height:62px;gap:3px;padding:4px 0}nav button>span{font-size:22px;line-height:25px}nav button[aria-current]{background:#edf3e3;color:var(--green)}.basket-wrap{display:block;position:relative;height:26px}#basket-icon{height:25px;width:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}#cart-count{position:absolute;top:-5px;right:-13px;min-width:18px;height:18px;line-height:18px;background:var(--green);color:white;border-radius:20px;font-size:10px;font-weight:700}.flying-product{position:fixed;z-index:2000;width:50px;height:50px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:10px;pointer-events:none}#use-profile{font-size:12px}#profile-form{max-width:550px}[hidden]{display:none!important}@media(max-width:600px){.layout-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{padding:10px}.product img{height:122px}.product h2{font-size:14px}.shop-toolbar h1{font-size:20px}.view-options button{width:48px}.form-grid{grid-template-columns:1fr}.receipt{padding:15px}.receipt-heading strong{font-size:16px}h1{font-size:23px}}@media(max-width:370px){main{padding-inline:12px}.layout-thumb .product{grid-template-columns:40px minmax(0,1fr) 122px;gap:6px}.shop-toolbar{flex-wrap:wrap}.view-options button{width:48px;min-height:48px}.shop-toolbar h1{font-size:18px}.receipt-controls{gap:6px}.receipt-controls .remove{padding-inline:3px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.address-tools{border:1px solid var(--line);border-radius:12px;padding:14px;background:white;margin:14px 0}.address-tools h3{margin:0 0 8px;font-size:16px}#address-search-status{min-height:32px}#delivery-map{isolation:isolate}

.copy-field{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px dashed var(--line)}.copy-field>div{min-width:0}.copy-field p{margin:4px 0;overflow-wrap:anywhere;user-select:text}.order-reference{background:#edf3e3;border:1px solid #c4d2b4;border-radius:10px;padding:12px;margin:12px 0}.order-reference h2,.order-row .order-reference h2{font-size:19px;font-weight:800;line-height:1.35;letter-spacing:.3px;margin:4px 0 0;overflow-wrap:anywhere;user-select:all}.copy-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;flex-shrink:0;padding:10px}.copy-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}.copy-button[data-copied=true]{background:#dcecc9}.copy-summary{margin:10px 0;width:100%}.copy-fallback{min-height:100px}.order-meta{flex-wrap:wrap}

.help-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.help-shortcuts button{font-size:12px;flex:1 1 120px}.help-flow{padding:12px;background:#edf3e3;border-radius:8px;font-weight:700;line-height:1.7}.help-steps{padding-left:22px;font-size:13px}.help-steps li{padding-left:4px;margin:14px 0;line-height:1.65}.help-steps strong{display:block}.help-faq summary{min-height:48px;line-height:1.5;padding:8px 0}.help-faq p{font-size:13px;line-height:1.65;margin:10px 0}

.copy-field:has(.copy-fallback){flex-wrap:wrap}.copy-fallback{flex:1 0 100%;width:100%;min-width:0}

.custom-select{width:100%;min-width:0}.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#fff;color:var(--green);border:1px solid #bbc8ba;border-radius:9px;min-height:48px;width:100%;padding:10px 12px;text-align:left;font-size:13px;font-weight:500}.select-trigger>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-chevron{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px}.select-chevron svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.select-trigger[aria-expanded=true]{border-color:#58764b;box-shadow:0 0 0 3px #c6d9ae66}.select-trigger[aria-expanded=true] .select-chevron{transform:rotate(180deg)}.select-menu{position:fixed;z-index:2100;padding:5px;background:#fff;border:1px solid #c4d2bc;border-radius:12px;box-shadow:0 8px 24px #183d3226;max-height:240px;overflow-y:auto}.select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;width:100%;border:0;border-radius:7px;background:transparent;color:var(--green);text-align:left;font-size:13px;padding:10px 12px}.select-option[aria-selected=true]{font-weight:700;background:#edf3e3}.select-option[aria-selected=true]:after{content:'✓';font-size:16px}.select-option.active,.select-option:hover{background:#e3edda}.product-controls .select-trigger{font-size:12px;padding-inline:8px}.order-row{padding:16px;border-radius:16px;box-shadow:0 2px 10px #183d3205}.order-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.7px;font-weight:700;color:#617260}.stage-badge{display:inline-flex;align-items:center;gap:6px;font-size:10px}.stage-badge:before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#759252}.order-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.order-date{font-size:11px;color:var(--muted);line-height:1.5;max-width:45%}.view-request{display:inline-flex;align-items:center;justify-content:center;gap:9px;margin-left:auto;flex-shrink:0;font-size:12px;padding:10px 12px}.view-request svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

#messenger-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted)}#messenger-controls button{min-height:48px;font-size:12px}

.payment-options .payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.payment-options .payment-choice{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:106px;padding:14px 7px;border:1px solid var(--line);border-radius:13px;background:#fff;cursor:pointer;text-align:center}.payment-choice:has(input:checked){border-color:var(--green);background:#edf3e3;box-shadow:inset 0 0 0 1px var(--green)}.payment-choice input{position:absolute;opacity:0;width:1px;height:1px}.payment-choice:has(input:focus-visible){outline:3px solid #b68a28;outline-offset:3px}.payment-icon{display:grid;place-items:center;height:34px}.payment-icon svg{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.payment-brand-logo{display:block;object-fit:contain;max-width:100%;height:34px;width:auto}.payment-brand-logo--maya{width:100px;height:auto;max-height:34px}.payment-label{font-size:11px;font-weight:700;line-height:1.3}.payment-tick{display:none;position:absolute;right:5px;top:4px;font-size:12px;color:var(--green)}.payment-choice:has(input:checked) .payment-tick{display:block}.receipt-row.has-thumbnail{position:relative;padding-left:66px;min-height:88px}.order-item-thumbnail{position:absolute;top:12px;left:0;width:52px;height:64px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px;padding:4px}.payment-options .payment-choice[hidden]{display:none}@media(max-width:340px){.payment-options .payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep native mobile text focus at the page scale. Preserve pinch zoom. */
@media(max-width:850px){input,select,textarea{font-size:16px}.search input{width:100%;max-width:100%}}

.map-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.map-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px}.map-actions svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
/* Guided first visit and explicit replacement consent. */
.onboarding-guide{margin:16px 0;border-left:4px solid var(--primary,#183b63)}
.onboarding-guide ol{padding-left:24px;display:grid;gap:8px;line-height:1.5}
.guide-actions,.replacement-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.guide-actions button,.replacement-actions button{flex:1 1 160px;min-height:48px}
.replacement-card ul{padding-left:20px;line-height:1.65;overflow-wrap:anywhere}
#existing-store{margin:16px 0}#existing-store summary{min-height:48px;padding:12px 0;cursor:pointer;font-weight:700}
#store-link-form{margin:12px 0 24px}#store-account-status{padding:12px;border-radius:12px;background:#eef4fb;color:#183b63}

/* Order details: separate proposal, current status, and dated activity. */
#order-detail > .info-card,#order-detail > .order-status-panel{margin-block:18px}
#order-detail .order-section-label{display:block;font-size:12px;line-height:1.5;font-weight:700;color:var(--muted);letter-spacing:.04em;margin-bottom:6px}
#order-detail .replacement-card,#order-detail .order-updates,#order-detail .order-reason{padding:22px;border-radius:16px}
#order-detail :is(.replacement-card,.order-updates,.order-reason) h3{font-size:18px;line-height:1.4}
.order-card-header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.order-state{display:inline-flex;align-items:center;border:1px solid var(--line);padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.5;flex-shrink:0;background:#f4f5f2;color:#4c5c52}
.order-state--accepted{background:#eaf5ee;border-color:#bdd8c7;color:#245b3d}
.order-state--pending{background:#fff6df;border-color:#e9d69c;color:#735616}
.order-state--declined{background:#fceeee;border-color:#e6c5c2;color:#8c3731}
.replacement-reason{padding-block:18px}
#order-detail .replacement-reason p,#order-detail .order-reason p{font-size:15px;line-height:1.65;max-width:65ch;margin:0;overflow-wrap:anywhere}
.replacement-items{padding-top:2px}
#order-detail .replacement-item-list{list-style:none;padding:0;margin:8px 0 18px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.replacement-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;background:#fafbf8}
.replacement-item+.replacement-item{border-top:1px solid var(--line)}
.replacement-item-product{display:flex;flex-direction:column;gap:4px;min-width:0;overflow-wrap:anywhere}
.replacement-item-product strong{font-size:17px;line-height:1.4}
.replacement-item-size{font-size:14px;color:var(--muted)}
.replacement-item-quantity{display:flex;align-items:baseline;gap:6px;flex-shrink:0;color:var(--green)}
.replacement-item-quantity strong{font-size:22px;font-variant-numeric:tabular-nums}
.replacement-item-quantity span{font-size:14px;color:var(--muted)}
.replacement-review-note{padding:14px 16px;border-left:3px solid #bdcbb9;background:#f5f7f1;border-radius:4px 10px 10px 4px}
.replacement-review-note strong{font-size:13px}
#order-detail .replacement-review-note p{font-size:14px;line-height:1.6;margin:4px 0 0;color:#526052}
.replacement-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding-top:16px;color:var(--muted);font-size:13px;line-height:1.6}
#order-detail .replacement-meta p{margin:0;font-size:13px}
.replacement-meta p+p{flex-basis:100%}
#order-detail .replacement-actions{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
#order-detail .replacement-actions~.small{font-size:13px;line-height:1.6;margin:12px 0 0;overflow-wrap:anywhere}
#order-detail .order-status-panel{padding:18px 20px;border:1px solid #cbd7df;border-left:4px solid #4f6b80;background:#f0f5f8;color:#28475a;border-radius:12px}
#order-detail .order-status-panel strong{display:block;font-size:15px;line-height:1.6}
#order-detail .order-status-panel p{font-size:14px;line-height:1.6;margin:6px 0 0;color:inherit}
#order-detail .order-status-panel--cancelled{background:#fff3f1;border-color:#ebc9c4;border-left-color:#b55349;color:#7d312b}
#order-detail .order-status-panel--paused{background:#fff8e9;border-color:#e7d6aa;border-left-color:#a47a28;color:#6e501b}
#order-detail .order-updates-caption{font-size:13px;line-height:1.5;color:var(--muted);margin:4px 0 20px}
.order-update-list{list-style:none;padding:0;margin:0}
.order-update{position:relative;margin-left:6px;border-left:2px solid var(--line);padding:0 0 20px 22px}
.order-update:last-child{border-left-color:transparent;padding-bottom:4px}
.order-update:before{content:'';position:absolute;top:5px;left:-6px;width:10px;height:10px;border:2px solid #fff;border-radius:50%;background:#b6c4b5;box-shadow:0 0 0 1px var(--line)}
.order-update:first-child:before{background:var(--green);box-shadow:0 0 0 2px #e3ebe0}
.order-update-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
.order-update-heading strong{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.order-update-latest{font-size:11px;font-weight:700;line-height:1.5;padding:2px 7px;border-radius:5px;background:#edf3e3;color:#435838}
.order-update time{display:block;font-size:13px;line-height:1.6;color:var(--muted);margin-top:3px;font-variant-numeric:tabular-nums}
#order-detail .order-updates-footnote{border-top:1px solid var(--line);padding-top:16px;margin:18px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
@media(max-width:600px){#order-detail .replacement-card,#order-detail .order-updates,#order-detail .order-reason{padding:18px 16px}.order-card-header{align-items:flex-start;flex-wrap:wrap;gap:10px}.order-state{max-width:100%;white-space:normal}.replacement-item{padding:14px 12px}.replacement-item-quantity{flex-direction:column;align-items:flex-end;gap:0}#order-detail .order-status-panel{padding:16px}}

/* Website desktop layout. The same controls and ordering state serve both layouts. */
.desktop-brand,.desktop-basket{display:none}
.empty-cart-shop{margin-top:16px}
.receipt:has(.receipt-row) .empty-cart-shop{display:none}
@media(min-width:1024px){
  html[data-entry-channel="website"]{
    & body{border-top:4px solid var(--green)}
    & body:before{content:'';position:fixed;inset:0 0 auto;height:84px;background:#fff;border-bottom:1px solid var(--line);z-index:900}
    & main{max-width:1328px;padding:86px 32px 48px}
    & .desktop-brand{position:fixed;top:17px;left:max(32px,calc((100vw - 1264px)/2));z-index:1001;display:flex;gap:12px;align-items:center;color:var(--green);text-decoration:none;font-size:15px;font-weight:900;letter-spacing:.5px;min-height:48px}
    & .desktop-brand img{width:52px;height:48px;object-fit:contain}
    & .desktop-brand small{display:block;font-size:11px;letter-spacing:.6px;font-weight:500;margin-top:3px;color:var(--muted)}
    & nav{top:12px;bottom:auto;left:auto;right:max(32px,calc((100vw - 1264px)/2));transform:none;width:560px;border:0;padding:0;gap:6px;background:transparent}
    & nav button{min-height:56px;flex-direction:row;gap:8px;padding:8px 10px;font-size:13px;border-radius:10px;white-space:nowrap}
    & nav button>span{font-size:20px}
    & .search-header{top:84px;padding:14px 0;gap:20px;z-index:800}
    & .search{max-width:760px}
    & .brand-label{margin-left:auto;color:var(--muted);font-size:11px;letter-spacing:1.6px}
    & .preview-note{padding:0 0 16px;font-size:12px;border-bottom:1px solid var(--line);margin-bottom:18px}
    & #workspace{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:0 28px;align-items:start}
    & #first-time-guide{grid-column:1/-1;margin:0 0 24px;padding:22px 26px;border-left-color:var(--green);border-radius:14px;display:grid;grid-template-columns:1fr auto;gap:0 24px}
    & #first-time-guide h2{margin:0 0 6px;font-size:20px}
    & #first-time-guide ol{grid-column:1/-1;grid-row:3;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:18px 0;padding:18px 0 18px 22px;border-block:1px solid var(--line);font-size:14px}
    & #first-time-guide>p{grid-column:1}
    & #first-time-guide>p:last-of-type{grid-column:1/-1;margin-bottom:0}
    & #first-time-guide .guide-actions{grid-column:2;grid-row:1/3;align-self:center;margin:0;min-width:180px}
    & #shop{grid-column:1;grid-row:2;min-width:0;padding-top:0}
    & .desktop-basket{display:block;grid-column:2;grid-row:2;position:sticky;top:184px;background:white;border:1px solid var(--line);border-radius:16px;padding:24px;box-shadow:0 5px 20px #183d3206}
    & .desktop-eyebrow{font-size:10px;letter-spacing:1.4px;font-weight:700;color:var(--muted)}
    & .desktop-basket h2{font-size:23px;margin:12px 0 20px}
    & #desktop-cart-count{font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums}
    & .desktop-basket p>span{font-size:12px;color:var(--muted)}
    & .desktop-basket button{margin:10px 0 14px}
    & .desktop-next{border-top:1px solid var(--line);margin-top:24px;padding-top:20px;font-size:13px}
    & .desktop-next p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:8px}
    &:not([data-active-view="shop"]) .desktop-basket{display:none}
    & .view:not(#shop){grid-column:1/-1;padding-top:0}
    & h1{font-size:30px;margin-top:0}
    & .shop-toolbar p{font-size:12px}
    & .layout-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
    & .product{padding:14px;border-radius:12px}
    & .product img{height:150px}
    & .product h2{font-size:15px}
    & .offer-strip{padding-top:18px}
    & #cart{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.35fr);gap:32px;align-items:start}
    & #cart>.receipt{position:sticky;top:182px;padding:26px;border-radius:14px}
    & #order-form{background:#fff;border:1px solid var(--line);border-radius:14px;padding:26px}
    & #order-form>h2{margin-top:0;font-size:23px}
    & #profile{max-width:860px;width:100%;margin:auto;background:white;padding:28px;border:1px solid var(--line);border-radius:14px}
    & #profile-form{max-width:none;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
    & #profile-form label:has(textarea),& #profile-form .check{grid-column:1/-1}
    & #profile-form button{justify-self:start}
    & #help{max-width:960px;width:100%;margin:auto}
    & .help-faq{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
    & .help-faq details{margin:0;padding:16px}
    & #orders{max-width:1040px;width:100%;margin:auto}
    & #order-detail{scroll-margin-top:182px}
    & #status{bottom:28px}
  }
}
@media(min-width:1024px) and (max-width:1199px){
  html[data-entry-channel="website"] .layout-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

html[data-local-preview="true"] .preview-note:before{content:"Local preview · "}

.replacement-switch-from{font-size:13px;line-height:1.6;color:#526052;background:#f1f5ed;padding:8px 10px;border-radius:8px}.replacement-history h3{font-size:18px}.switch-history-entry{padding:18px 0;border-bottom:1px solid var(--line)}.switch-history-entry p{line-height:1.65;font-size:14px;overflow-wrap:anywhere}.original-order{padding:18px;margin-block:18px}.original-order summary{min-height:48px}

/* Receipt-style status: emphasize the final outcome independently from its history. */
#order-detail .order-status-panel{border-left:1px solid currentColor;border-radius:4px;padding:20px}
#order-detail .order-status-panel>strong{border-block:2px solid currentColor;padding:13px 0;letter-spacing:.04em;font-weight:800}
#order-detail .order-status-panel--cancelled>strong{font-size:18px;text-transform:uppercase}
#order-detail .order-status-panel>p{margin-top:14px;line-height:1.7}

.order-item-thumbnail{display:grid;place-items:center;overflow:hidden}.order-item-thumbnail svg{width:24px;height:30px;fill:none;stroke:var(--muted);stroke-width:1.6}.order-item-thumbnail img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:contain;background:#fff}.replacement-item.has-thumbnail{position:relative;padding-left:80px;min-height:96px}.replacement-item .order-item-thumbnail{left:12px;top:16px}.order-product-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-block:16px}.order-product-preview,.switch-product{position:relative;padding:12px 0 12px 66px;min-height:88px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:4px;overflow-wrap:anywhere}.order-product-preview strong,.switch-product strong{font-size:13px}.switch-product-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid var(--line);margin-top:12px}.switch-product .small{margin:0}@media(max-width:600px){.order-product-previews,.switch-product-pair{grid-template-columns:1fr}.order-product-previews{gap:0}.switch-product-pair{gap:0}.order-product-preview{border-bottom:1px solid var(--line)}}

/* Keep corrected items visible while earlier order versions stay compact. */
.replacement-history>summary,.switch-history-entry>summary,.replacement-card>summary{min-height:48px;cursor:pointer;font-weight:700;line-height:1.5;overflow-wrap:anywhere;padding-block:12px}
.replacement-history>summary{font-size:18px}.replacement-history:not([open]),.replacement-card:is(details):not([open]){padding-block:10px!important}.switch-history-entry:not([open]){padding-block:4px}.replacement-card:is(details)[open]>summary{margin-bottom:14px}

/* Compact My orders hierarchy: 16px headings, 14px content, 12px supporting text. */
#orders{font-size:14px;line-height:1.45}
#orders>.heading h1{font-size:20px}
#orders .small,#orders .order-section-label{font-size:12px;line-height:1.45;letter-spacing:0}
#order-detail>.info-card,#order-detail>.order-status-panel,#order-detail>.original-order{margin-block:10px}
#order-detail .receipt,#order-detail .info-card,#order-detail .order-status-panel,#order-detail .original-order{padding:14px;border-radius:12px}
#order-detail details:not([open]){padding-block:0!important}
#order-detail details>summary{font-size:14px;line-height:1.4;padding-block:0;font-weight:700}
#order-detail details[open]>summary{margin-bottom:10px}
#order-detail .switch-history-entry{border-bottom:1px solid var(--line);padding-block:0}
#order-detail .receipt-heading{gap:10px;padding-bottom:10px;margin-bottom:4px}
#order-detail .receipt-heading strong,#order-detail :is(.replacement-card,.order-updates,.order-reason) h3{font-size:16px;line-height:1.4}
#order-detail .copy-field{gap:10px;padding-block:6px}
#order-detail .copy-field p{font-size:14px;line-height:1.45;margin-block:2px}
#order-detail .order-reference{padding:10px;margin-block:8px}
#order-detail .order-reference h2{font-size:18px;line-height:1.4;margin-top:2px;letter-spacing:0}
#order-detail .receipt-row{padding-block:10px;font-size:14px}
#order-detail .receipt-row p{font-size:12px}
#order-detail .receipt-row.has-thumbnail{padding-left:58px;min-height:76px}
#order-detail .order-item-thumbnail{width:46px;height:56px;top:10px}
#order-detail .order-card-header{gap:10px;padding-bottom:10px}
#order-detail .order-state{padding:4px 8px;font-size:12px}
#order-detail .order-section-label{margin-bottom:4px}
#order-detail .replacement-reason{padding-block:10px}
#order-detail .replacement-reason p,#order-detail .order-reason p,#order-detail .order-status-panel p{font-size:14px;line-height:1.45}
#order-detail .replacement-item-list{margin:6px 0 10px;border-radius:8px}
#order-detail .replacement-item{padding:10px;gap:10px}
#order-detail .replacement-item-product strong,#order-detail .replacement-item-quantity strong{font-size:14px;line-height:1.45}
#order-detail .replacement-item-size,#order-detail .replacement-item-quantity span{font-size:12px}
#order-detail .replacement-review-note{padding:10px 12px}
#order-detail .replacement-review-note p,#order-detail .replacement-meta,#order-detail .replacement-meta p{font-size:12px;line-height:1.45}
#order-detail .replacement-meta{padding-top:10px}
#order-detail .replacement-actions{gap:8px;margin-top:10px;padding-top:10px}
#order-detail .order-status-panel strong,#order-detail .order-update-heading strong{font-size:14px;line-height:1.45}
#order-detail .order-updates-caption{font-size:12px;margin-bottom:12px}
#order-detail .order-update{padding-bottom:12px;padding-left:18px}
#order-detail .order-update time,#order-detail .order-updates-footnote{font-size:12px;line-height:1.45}
#order-detail .order-updates-footnote{padding-top:10px;margin-top:12px}
#order-detail .timeline{margin-block:14px}
#order-detail .timeline li{padding-bottom:12px;font-size:14px}
#order-detail .timeline li p{font-size:12px}
#order-detail .switch-history-entry p{margin:6px 0;font-size:12px;line-height:1.45}
#order-detail .switch-product-pair{gap:10px;margin-top:8px}
#order-detail .switch-product{padding-left:58px;min-height:76px;gap:2px}
#order-detail .switch-product strong{font-size:14px;line-height:1.45}
@media(max-width:600px){#order-detail .receipt,#order-detail .info-card,#order-detail .order-status-panel,#order-detail .original-order{padding:12px}#order-detail .switch-product-pair{gap:0}}
#orders .order-row{padding:12px;border-radius:12px;font-size:14px}
#orders .order-row .order-reference h2{font-size:18px;line-height:1.4}
#order-detail .replacement-item.has-thumbnail{padding-left:68px;min-height:76px}

#order-detail .current-items-title{font-size:16px;line-height:1.4;margin:12px 0 4px}
#order-detail .order-contact-details{border-top:1px solid var(--line);margin-top:10px;padding:0!important}
#order-detail .order-contact-details[open]>summary{margin-bottom:0}
#order-detail .order-contact-details .copy-field:last-child{border-bottom:0}

#order-detail .order-status-panel>strong{border-block:1px solid currentColor;padding:6px 0;letter-spacing:0;font-weight:700}

.availability-copy{white-space:pre-line}

.availability-total-copy{white-space:pre-line;line-height:1.7;font-weight:600;padding:16px 0;border-top:1px solid #dce5dd}

#cart-price-note{font-size:12px;line-height:1.5;margin-top:12px;padding:12px;border:1px solid #dce3d9;border-radius:8px;background:#f4f7ef;color:#3d5144}
