#accueil:focus,#accueil:focus-visible{outline:none}
.checkout-v80[open]{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:30px;background:#fff5e3;color:#173f2b;border:1px solid #164b2e33;border-radius:22px;box-shadow:0 24px 90px #07170e66;overflow:auto}
.checkout-v80 [hidden]{display:none!important}
.checkout-v80 h2{font-size:clamp(29px,5vw,38px);line-height:1.1;margin:12px 32px 24px 0;color:#173f2b}
.checkout-v80 h2:focus{outline:none}
.checkout-v80 h3{font:800 20px 'DM Sans',sans-serif;line-height:1.25;margin:25px 0 18px;color:#173f2b}
.checkout-v80 .close{border-radius:50%;background:#164b2e0c;color:#173f2b;right:14px;top:14px;width:38px;height:38px}
.checkout-steps{display:grid;grid-template-columns:repeat(3,1fr);list-style:none;margin:0 0 26px;padding:0;border-bottom:1px solid #164b2e25;gap:12px;font-size:11px;font-weight:700;line-height:1.3}
.checkout-steps li{padding:0 0 15px;color:#687365;border-bottom:3px solid transparent;display:flex;align-items:center;gap:7px}
.checkout-steps span{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:50%;background:#e4e5d7}
.checkout-steps [aria-current]{color:#164b2e;border-color:#164b2e}.checkout-steps [aria-current] span{background:#164b2e;color:#fff5e3}.checkout-steps .complete span{background:#cfdec8;color:#164b2e}
.checkout-choice-summary{display:flex;gap:14px;align-items:center;justify-content:space-between;border:1px solid #164b2e45;border-radius:15px;padding:18px;background:#edf0e3}
.checkout-choice-summary p{font-size:13px;line-height:1.5;margin:6px 0 0;color:#53614f}
.checkout-text-button{font:700 13px 'DM Sans',sans-serif;color:#164b2e;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:12px 0;min-height:44px;cursor:pointer;flex-shrink:0}
#checkout-form .fulfillment-choice{margin:12px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0}
#checkout-form .fulfillment-choice label{font-size:14px;min-height:0;padding:16px 12px;display:flex;align-items:center;gap:8px;margin:0}
#checkout-form .fulfillment-choice label.unavailable{opacity:.5;cursor:not-allowed}
.checkout-notice{font-size:13px;line-height:1.5;background:#f1e7d0;padding:12px 15px;border-radius:10px}
#checkout-dialog #pickup-schedule{background:transparent;color:#173f2b;padding:0;border:0;margin:24px 0 0}
#checkout-dialog #pickup-schedule label{font:700 14px 'DM Sans',sans-serif;color:#173f2b;display:block;margin:0 0 9px}
#checkout-dialog label{font:600 13px 'DM Sans',sans-serif;line-height:1.5;display:block;margin:16px 0 7px;color:#173f2b}
#checkout-dialog :is(input,select,textarea){font:400 16px 'DM Sans',sans-serif;line-height:1.4;min-height:49px;width:100%;padding:12px 14px;background:#fffaf0;color:#173f2b;border:1px solid #164b2e50;border-radius:10px;box-sizing:border-box;margin:0}
#checkout-dialog input[type=radio]{width:19px!important;min-height:19px;height:19px;padding:0;flex:none}
#checkout-dialog textarea{min-height:75px;resize:vertical}
#checkout-dialog #pickup-time{font-weight:600;font-size:15px}
#checkout-slots-status,#location-status,#checkout-login-status{font-size:13px;line-height:1.5;margin:10px 0}
#checkout-dialog .address-search{display:flex;gap:8px}#checkout-dialog .address-search input{min-width:0}#search-address{padding:0 13px;border-radius:10px;border:0;background:#164b2e;color:#fff5e3;font-weight:700;cursor:pointer}
#address-results button{width:100%;text-align:left;padding:14px;background:#fffaf0;border:1px solid #164b2e35;border-radius:9px;font-size:14px;margin-top:6px;cursor:pointer}
#checkout-dialog .gps-confirm-card{background:#edf0e3;border:1px solid #164b2e35;border-radius:14px;padding:16px;margin:10px 0}
.gps-confirm-card .delivery-source{display:block;font-size:9px;line-height:1.4;margin-top:12px;color:#5a6b51}
#checkout-identity{padding:0 0 14px;margin:0 0 16px;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid #164b2e25;border-radius:0;background:none;gap:12px;font-size:13px}
#checkout-dialog .phone-entry{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px}#checkout-dialog .phone-entry select{font-size:13px;padding:12px 10px}
.optional{font-size:11px;font-weight:400;color:#697564;margin-left:5px}
.checkout-login-methods{display:flex;gap:10px}.checkout-login-methods button{flex:1;background:#fffaf0;border:1px solid #164b2e40;color:#164b2e;padding:12px;border-radius:10px;font-weight:700;cursor:pointer}.checkout-login-methods [aria-pressed=true]{background:#164b2e;color:#fff5e3}
#checkout-login-panel .button{margin-top:15px}
.checkout-review-box{position:relative;border-bottom:1px solid #164b2e25;padding:0 72px 15px 0;margin:0 0 18px;font-size:14px;line-height:1.5}.checkout-review-box p{font-size:13px;margin:5px 0;color:#53614f;overflow-wrap:anywhere}.checkout-review-box .checkout-text-button{position:absolute;top:0;right:0;padding-top:0}
.checkout-v80 .confirmation-items{font-size:14px;line-height:1.4;margin:10px 0 18px}.confirmation-items small{color:#66705e;font-size:12px}.review-line{display:flex;justify-content:space-between;font-size:13px}
.checkout-payment-method{padding:16px;border:1px solid #164b2e35;border-radius:12px;margin-top:20px;display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:14px}.checkout-payment-method span{font-size:11px;color:#63705c}
.checkout-v80 .allergy-order-note{font-size:11px;line-height:1.5;color:#63705c;margin:18px 0}
.checkout-footer{border-top:1px solid #164b2e30;padding-top:18px;margin-top:22px}
#checkout-dialog #checkout-summary{display:flex;justify-content:space-between;align-items:baseline;padding:0;margin:0 0 18px;border:0;border-radius:0;background:transparent;font-size:13px}#checkout-summary strong{font-size:25px;color:#164b2e}
.checkout-actions{display:flex;gap:12px}.checkout-actions .button{justify-content:center;text-align:center;flex:1;min-width:0;margin:0;padding:15px 10px;font-size:14px;min-height:52px;border-radius:12px}
.checkout-v80 .button{background:#164b2e;color:#fff5e3;border:1px solid #164b2e;box-shadow:none}.checkout-v80 .button.secondary{background:#fffaf0;color:#164b2e;border:1px solid #164b2e50}.checkout-v80 .button:disabled{opacity:.5;cursor:not-allowed}.checkout-v80 .button:not(:disabled):hover{filter:brightness(.94)}
#checkout-error:empty,#confirm-order-error:empty,#checkout-slots-status:empty,#checkout-login-status:empty,#location-status:empty,#free-delivery-message:empty{display:none}
#checkout-error,#confirm-order-error{font-size:13px;line-height:1.5;color:#9b3023}
#payment-status-dialog .button{margin-top:12px;display:block;text-align:center}#payment-status-message{font-size:16px;line-height:1.6}
#order-result .order-progress{grid-template-columns:repeat(var(--stages,4),minmax(0,1fr));font-size:10px;gap:5px}#order-result .tracking-status{font-size:23px;color:#164b2e;margin:15px 0;font-weight:700}#order-result .tracking-reference{font-size:12px;color:#63705c;overflow-wrap:anywhere}#order-result .checkout-review-box{padding-right:0}.last-order-link{display:block;margin:0 auto 20px;padding:14px 20px;border:1px solid #164b2e55;background:#fff5e3;color:#164b2e;border-radius:12px;font-weight:700;cursor:pointer}.last-order-link[hidden]{display:none}
@media(max-width:480px){.checkout-v80[open]{padding:23px 18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:18px}.checkout-steps{gap:7px;font-size:10px}.checkout-steps li{gap:5px}.checkout-steps span{width:22px;height:22px}.checkout-actions{gap:8px}.checkout-actions .button{font-size:13px}#checkout-dialog .phone-entry{grid-template-columns:125px minmax(0,1fr)}.checkout-payment-method{align-items:flex-start;flex-direction:column;gap:5px}.checkout-v80 h3{font-size:19px}}
.cart-item-actions{display:flex;gap:20px;margin-top:7px}.cart-item-actions button{border:0;background:none;padding:8px 0;color:#164b2e;text-decoration:underline;text-underline-offset:3px;font:600 12px 'DM Sans',sans-serif;cursor:pointer;min-height:36px}
/* Closed modes stay visible, with an explicit status and a steady red highlight. */
#accueil .welcome-modes>a.unavailable,#accueil .welcome-modes>a.unavailable:hover{background:#f9ded8!important;color:#86251f!important;border:2px solid #b83227;box-shadow:0 0 0 3px #b8322725;opacity:1!important;cursor:not-allowed;transform:none;text-shadow:none}
#accueil .welcome-modes>a.unavailable small{color:#86251f;font-weight:700;line-height:1.45}
#checkout-form .fulfillment-choice label.unavailable,#checkout-mode-summary.unavailable{background:#fff0eb;color:#86251f;border:2px solid #b83227;box-shadow:0 0 0 2px #b8322718;opacity:1}
#checkout-mode-summary.unavailable p,#checkout-form .fulfillment-choice label.unavailable small{color:#86251f}
#checkout-form .fulfillment-choice label{align-items:flex-start}#checkout-form .fulfillment-choice small{font-size:11px;line-height:1.4;margin-top:6px}
