/* LORAINE V1.19 — quiet luxury checkout, understated forms and mobile-first hierarchy */
#checkout-modal .modal-card.checkout-modal{width:min(1060px,100%);border-radius:12px;background:#fcfbf9;box-shadow:0 30px 90px #17120c20;}
#checkout-modal .checkout-wrap{padding:clamp(28px,4.4vw,64px);}
#checkout-modal .checkout-wrap h2{font-family:Georgia,serif;font-size:clamp(30px,3.3vw,43px);font-weight:400;letter-spacing:.01em;margin:12px 0 15px;}
#checkout-modal .checkout-heading{font-size:13px;font-weight:600;letter-spacing:.04em;margin:35px 0 18px;padding-bottom:12px;border-bottom:1px solid #eeeae5;color:#292522;}
#checkout-modal .form-field label{font-size:12px;font-weight:500;line-height:1.6;color:#47423d;}
#checkout-modal .form-field input,#checkout-modal .form-field select,#checkout-modal .form-field textarea,#checkout-modal .malaysia-couriers select{border:0;border-radius:0;background:transparent;border-bottom:1px solid #cbc5bf;padding:15px 4px 13px;font-size:14px;min-height:48px;outline-offset:3px;}
#checkout-modal .form-field :is(input,select,textarea):focus{border-bottom:1px solid #3b3632;outline:0;box-shadow:none;}
#checkout-modal .form-field input::placeholder{color:#9d9690;}
#checkout-modal .checkout-grid{gap:19px 26px;}
#checkout-modal .delivery-option{border:0!important;border-top:1px solid #e8e4df!important;border-radius:0!important;background:transparent!important;padding:20px 8px!important;box-shadow:none!important;}
#checkout-modal .delivery-option.selected{border-top-color:#a39588!important;background:#f4f1eb!important;}
#checkout-modal .delivery-price{font-weight:500;}
#checkout-modal .pay-method{background:transparent;border:0;border-top:1px solid #ebe6e0;border-bottom:1px solid #ebe6e0;padding:16px 0;border-radius:0;}
#checkout-modal .checkout-confirm{background:transparent;border:0;font-size:12px;}
#checkout-modal #submit-order{background:#25221f;border:0;border-radius:5px;padding:18px 22px;min-height:54px;letter-spacing:.07em;transition:background .2s;}
#checkout-modal #submit-order:hover{background:#534a41;}
#checkout-modal .at13-checkout-sidebar{background:#f7f5f1;border-radius:7px;}
#checkout-modal .at13-sidebar-inner{padding:24px;}
.market-choice{margin:24px 0 28px;display:grid;gap:12px;}
.market-choice>span{color:#766e66;font-size:11px;letter-spacing:.08em;}
.market-switch{display:flex;gap:8px;flex-wrap:wrap;}
.market-btn{border:1px solid #e0d9d0;background:transparent;color:#70665e;border-radius:50px;padding:11px 20px;font-size:12px;letter-spacing:.04em;}
.market-btn.is-current{background:#2a2521;border-color:#2a2521;color:white;}
.malaysia-couriers{margin:18px 0 24px;padding:0 0 13px;display:grid;gap:9px;}
.malaysia-couriers.hidden{display:none!important;}
.malaysia-couriers label{font-size:12px;color:#554c45;}
.malaysia-couriers p{font-size:11px;line-height:1.75;color:#79716a;margin:5px 0 0;}
@media(max-width:760px){
 #checkout-modal .modal-card.checkout-modal{border-radius:0;min-height:100dvh;}
 #checkout-modal .checkout-wrap{padding:24px 21px calc(110px + env(safe-area-inset-bottom));}
 #checkout-modal .checkout-grid{grid-template-columns:1fr 1fr;gap:18px 12px;}
 #checkout-modal .form-field.full{grid-column:1/-1;}
 #checkout-modal .checkout-wrap h2{font-size:34px;margin-bottom:8px;}
 #checkout-modal .at13-checkout-layout{display:block;}
 #checkout-modal .at13-checkout-sidebar{border-radius:5px;margin:30px 0 0;}
 #checkout-modal .checkout-heading{margin-top:29px;}
 #checkout-modal .checkout-form{padding:0;}
 #checkout-modal .delivery-option{min-height:80px;}
 #checkout-modal .market-btn{flex:1;}
}

.announcement{position:relative;padding-right:80px!important;}
.announce-market-toggle{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex;align-items:center;gap:4px;font:500 10px/1 Arial,sans-serif;letter-spacing:.07em;}
.announce-market-toggle button{border:0;background:none;color:#afaaa5;padding:4px;line-height:1.4;}
.announce-market-toggle button.is-current{color:white;border-bottom:1px solid #d6c1a8;}
.announce-market-toggle i{color:#8e867f;font-style:normal;}
@media(max-width:760px){.announcement{font-size:9px!important;padding-right:62px!important;padding-left:7px!important;}.announce-market-toggle{right:6px;font-size:9px;}}

/* LORAINE customer-care refinements: elegant spacing, airy bubbles, fewer heavy rectangles */
#support-panel{border:0!important;background:#fdfcfa!important;box-shadow:0 14px 50px #2b21171a!important;}
#support-panel .support-panel-header{padding-bottom:15px;border-bottom:1px solid #eee9e4;}
#support-panel .support-panel-header h2{font-family:Georgia,serif;font-size:clamp(21px,3vw,27px);font-weight:400;}
#support-panel #support-panel-copy{font-size:12px;line-height:1.85;max-width:40ch;}
#support-panel .support-line-link{background:transparent!important;border:0!important;border-bottom:1px solid #eee8e2!important;color:#2a2520!important;padding:12px 6px!important;border-radius:0!important;box-shadow:none!important;}
#support-panel .support-whatsapp{display:flex;align-items:center;gap:14px;padding:13px 6px;border-bottom:1px solid #eee8e2;color:#2b2723;text-decoration:none;font-size:13px;}
#support-panel .support-whatsapp>span:first-child{display:grid;place-items:center;background:#e4efe6;color:#277c45;border-radius:50%;width:35px;height:35px;font-weight:700;font-size:11px;flex:none;}
#support-panel .support-whatsapp small{display:block;color:#8d8176;font-size:10px;letter-spacing:.04em;margin-top:3px;}
#support-panel .support-email{border-bottom:1px solid #eee8e2;padding:12px 5px!important;}
#support-panel .live-support-message.from-customer>div{background:#ded9d2;color:#302925;border-radius:18px 18px 5px 18px;}
#support-panel .live-support-message.from-admin>div{background:#f4f1ed;color:#302925;border-radius:18px 18px 18px 5px;}
#support-panel .live-support-form{border-top:1px solid #eee8e2;padding-top:15px;}
#support-panel .live-support-form textarea{border:0;border-bottom:1px solid #cdc4bb;border-radius:0;background:transparent;resize:none;}
#support-panel .live-support-form button{border-radius:50%;min-width:48px;width:48px;padding:0;background:#2d2925;}
@media(max-width:760px){#support-panel{max-height:calc(100dvh - 130px);gap:9px!important;padding:19px!important;}#support-panel .live-support-messages{min-height:85px;max-height:min(210px,26dvh);}#support-panel .support-panel-header{padding-right:40px;}}

/* Override legacy display rules and remove old boxed-control treatments. */
body#shop-app #checkout-modal .delivery-options.hidden{display:none!important;}
body#shop-app #checkout-modal .form-field input,
body#shop-app #checkout-modal .form-field select,
body#shop-app #checkout-modal .form-field textarea,
body#shop-app #checkout-modal .malaysia-couriers select{border:0!important;border-bottom:1px solid #c9c1b9!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;}
body#shop-app #checkout-modal .form-field :is(input,select,textarea):focus{border-bottom-color:#4a413a!important;box-shadow:none!important;}
body#shop-app #checkout-modal .checkout-wrap{background:#fdfbf8!important;}
body#shop-app #checkout-modal .pay-method{border-radius:0!important;border-left:0!important;border-right:0!important;background:transparent!important;}
body#shop-app #checkout-modal .delivery-option{border:0!important;border-bottom:1px solid #e7e1d9!important;box-shadow:none!important;}
@media(max-width:760px){
 body#shop-app #checkout-modal .checkout-grid{grid-template-columns:minmax(0,1fr)!important;gap:15px!important;}
 body#shop-app #checkout-modal .form-field{grid-column:1/-1!important;min-width:0;}
 body#shop-app #checkout-modal .checkout-wrap{padding-left:23px!important;padding-right:23px!important;}
 body#shop-app #checkout-modal .checkout-heading{margin-top:28px!important;}
}
