/* Customer dialog presentation shared by lookup, notices and existing checkout dialogs. */
body:not(.admin-page) .modal{background:rgba(10,35,26,.48)!important}
body:not(.admin-page) .modal:not(#detailModal)>.sheet{border-radius:22px!important;background:#fffefa!important;box-shadow:0 16px 52px #092e2530!important}
body:not(.admin-page) .customer-modal-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;background:#0e3a2b!important;color:#fffdf4!important;border:0!important;border-radius:15px!important;padding:14px 16px!important;margin:0 0 14px!important;min-height:60px;box-sizing:border-box}
body:not(.admin-page) .customer-modal-heading h2,body:not(.admin-page) .customer-modal-heading h3{min-width:0;flex:1;margin:0!important;color:#fffdf4!important;font-size:21px!important;line-height:1.35!important;letter-spacing:-.4px;font-weight:800}
body:not(.admin-page) .customer-modal-heading button,body:not(.admin-page) .customer-modal-heading .btn{flex:none!important;width:auto!important;min-width:56px!important;min-height:36px!important;padding:6px 12px!important;border:1px solid #e1c584!important;border-radius:12px!important;background:transparent!important;color:#fffdf4!important;font-size:14px!important;line-height:1.3!important;white-space:nowrap}
body:not(.admin-page) .customer-modal-heading button:focus-visible{outline:2px solid #fff;outline-offset:3px}
body:not(.admin-page) .customer-content-modal{z-index:1000!important}
body:not(.admin-page) .customer-content-modal>.sheet{width:min(760px,100%)!important;padding:16px!important;max-height:90dvh!important;overflow-y:auto!important;overscroll-behavior:contain}
.customer-content-modal .customer-modal-heading{position:sticky;top:0;z-index:2}
body:not(.admin-page) #customerOrdersModal #myOrderLookupSection{display:block!important;position:static!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;width:100%!important;max-width:none!important}
#customerOrdersModal .lookup-head .section-title{display:none}
#customerOrdersModal .lookup-head{display:flex!important;gap:10px;align-items:center;margin-bottom:12px}
#customerOrdersModal .lookup-head small{font-size:12px;line-height:1.5;color:#627268}
#customerOrdersModal .lookup-head-actions button[hidden]{display:none!important}
#customerOrdersModal .lookup-box-two{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
#customerOrdersModal .lookup-box-two>input{width:100%!important;min-width:0;min-height:48px!important;border:1px solid #cfdbd3;border-radius:12px!important;font-size:15px!important;box-sizing:border-box}
#customerOrdersModal .lookup-box-two>button{grid-column:1/-1;min-height:46px!important;background:#0e3a2b!important;color:white!important;border-radius:12px!important}
#customerOrdersModal #lookupResult{margin-top:14px}
body:not(.admin-page) #customerNoticeModal .customer-help-notice{display:block!important;margin:0 0 14px!important;padding:12px!important;background:#f2f7f2!important;border:1px solid #d7e3da;border-radius:14px}
#customerNoticeModal .customer-help-notice-title{font-size:17px!important;font-weight:750;color:#173e2e}
#customerNoticeModal .customer-help-notice p,#customerNoticeModal .customer-install-steps{font-size:13px!important;line-height:1.65}
#customerNoticeModal .customer-help-actions{display:flex!important;gap:8px;flex-wrap:wrap}
#customerNoticeModal .customer-help-actions .btn{min-height:40px!important;font-size:13px!important;padding:9px 12px!important;border-radius:10px!important}
body:not(.admin-page) #customerNoticeModal .delivery-guide-banner,body:not(.admin-page) #customerNoticeModal #pageNoticeSaleWrap:not(.hide),body:not(.admin-page) #customerNoticeModal .sale-calendar-wrap{display:block!important;margin:12px 0!important}
#customerNoticeModal .section-title{font-size:17px!important}
#customerNoticeModal .sale-calendar-head small{font-size:12px}
#customerNoticeModal .customer-content-body>[hidden],#customerNoticeModal #pageNoticeSaleWrap.hide{display:none!important}
body:not(.admin-page) .checkout-editor-sheet{border-radius:22px!important;background:#fffefa!important}
@media(max-width:780px){body:not(.admin-page) .customer-content-modal{align-items:flex-end!important;padding:8px!important}body:not(.admin-page) .customer-modal-heading{padding:12px!important;min-height:54px}body:not(.admin-page) .customer-modal-heading h2,body:not(.admin-page) .customer-modal-heading h3{font-size:19px!important}}

/* Order lookup occupies the full viewport even before any results are available. */
body:not(.admin-page) #customerOrdersModal.modal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
body:not(.admin-page) #customerOrdersModal.modal>.sheet{display:flex!important;flex-direction:column!important;width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;min-height:100vh!important;min-height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;padding:12px!important;padding-top:max(12px,env(safe-area-inset-top))!important;padding-bottom:max(16px,env(safe-area-inset-bottom))!important;box-sizing:border-box!important;overflow-y:auto!important}
#customerOrdersModal>.sheet>.customer-modal-heading{flex:none;position:sticky;top:0}
#customerOrdersModal>.sheet>.customer-content-body{flex:1 0 auto;min-height:0}

/* Full-width green title band, flush with the top and sides of each dialog. */
body:not(.admin-page) .modal:not(#detailModal)>.sheet{--dialog-edge:16px;padding:var(--dialog-edge)!important}
body:not(.admin-page) .modal:not(#detailModal)>.sheet>.customer-modal-heading,
body:not(.admin-page) #optionModal .option-modal-title-row.customer-modal-heading{width:calc(100% + 32px)!important;max-width:none!important;margin:-16px -16px 14px!important;padding:16px!important;border-radius:22px 22px 0 0!important;box-sizing:border-box!important}
body:not(.admin-page) #cartModal.checkout-summary>.sheet>.checkout-summary-header.customer-modal-heading{width:calc(100% + 32px)!important;margin:-16px -16px 14px!important;padding:16px!important;border-radius:22px 22px 0 0!important}
body:not(.admin-page) .checkout-editor-sheet{padding:16px!important;overflow:hidden}
body:not(.admin-page) .checkout-editor-sheet>.checkout-editor-head.customer-modal-heading{width:calc(100% + 32px)!important;max-width:none!important;margin:-16px -16px 0!important;padding:16px!important;border-radius:22px 22px 0 0!important}
body:not(.admin-page) .checkout-pickup-modal>section{padding:16px!important;overflow:hidden;border-radius:22px!important}
body:not(.admin-page) .checkout-pickup-modal>section>.customer-modal-heading{width:calc(100% + 32px)!important;margin:-16px -16px 14px!important;padding:16px!important;border-radius:22px 22px 0 0!important}
body:not(.admin-page) #customerOrdersModal.modal>.sheet{padding:0!important;padding-top:0!important;padding-bottom:0!important}
body:not(.admin-page) #customerOrdersModal.modal>.sheet>.customer-modal-heading{width:100%!important;margin:0 0 14px!important;border-radius:0!important;padding:16px!important;padding-top:max(16px,env(safe-area-inset-top))!important}
body:not(.admin-page) #customerOrdersModal>.sheet>.customer-content-body{padding:0 16px max(16px,env(safe-area-inset-bottom));box-sizing:border-box}

/* Remove the option heading wrapper inset and sticky header top gap. */
body:not(.admin-page) #optionModal .option-modal-head{padding:0!important}
body:not(.admin-page) #customerNoticeModal>.sheet>.customer-modal-heading{top:-16px!important}

/* Store contact entry and compact business information dialog. */
body:not(.admin-page) #customerBrandHeader{position:relative}
#customerContactButton,#customerShareButton{position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:42px;min-height:48px;padding:5px;border:1px solid #ecd28c;border-radius:13px;background:#f8dc89;color:#0e3a2b;font-size:12px;font-weight:800;line-height:1.2;cursor:pointer;box-shadow:0 2px 5px #0002;z-index:2}
#customerContactButton svg,#customerShareButton svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}
#customerContactButton:focus-visible,#customerShareButton:focus-visible{outline:2px solid white;outline-offset:3px}
body:not(.admin-page) #customerContactModal{align-items:center!important;padding:12px!important}
body:not(.admin-page) #customerContactModal>.sheet{width:min(520px,100%)!important;max-height:calc(100dvh - 24px)!important;box-sizing:border-box}
#customerContactModal .customer-modal-heading{position:relative;top:auto}
#customerContactModal .customer-modal-heading h2{text-align:center}
body:not(.admin-page) #customerContactModal .customer-dialog-close{min-width:32px!important;padding:0!important;font-size:28px!important;border:0!important}
.contact-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:2px 0 16px}
.contact-action{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px;padding:15px 8px;border-radius:14px;color:#0e3a2b;text-decoration:none;min-height:76px;box-sizing:border-box}
.contact-action>span{font-size:24px}.contact-action strong{font-size:18px}.contact-action small{flex-basis:100%;text-align:center;font-size:13px}
.contact-kakao{background:#ffe36b;color:#302511}.contact-phone{background:#e0f2d9}
.contact-store{padding:14px 0;border-top:1px solid #d8ded7;border-bottom:1px solid #d8ded7}
.contact-store h3{font-size:22px;line-height:1.3;color:#0e3a2b;margin:0 0 10px}
.contact-store p{margin:7px 0;font-size:14px;line-height:1.65;color:#505850}
.contact-store a,.contact-business a{color:inherit;text-decoration:none}
.contact-hours{display:flex;gap:10px;font-size:14px;line-height:1.65;color:#505850}
.contact-hours>b{flex:none}
.contact-business{padding:12px 0 5px}
.contact-business p{margin:0;font-size:12px;line-height:1.9;color:#606660;overflow-wrap:anywhere}
.contact-policies{display:flex;justify-content:center;gap:0;flex-wrap:wrap;margin:12px 0 16px}
.contact-policies button{border:0;border-right:1px solid #c9cec6;background:none;color:#596158;padding:3px 9px;font:inherit;font-size:11px;cursor:pointer;min-height:32px}
.contact-policies button:last-child{border-right:0}
.contact-close-bottom{width:100%;min-height:44px;border:0;border-radius:12px;background:#f2efe4;color:#0e3a2b;font-size:18px;font-weight:800;cursor:pointer}
@media(max-width:780px){
 body:not(.admin-page)>.shell>#customerBrandHeader>.brand{box-sizing:border-box;padding:0 44px!important}
 body:not(.admin-page)>.shell>#customerBrandHeader>.brand b{font-size:clamp(16px,4.65vw,23px)!important;gap:5px!important;letter-spacing:-.8px!important}
 body:not(.admin-page)>.shell>#customerBrandHeader>.brand small{font-size:10px!important;letter-spacing:-.3px!important}
}
@media(min-width:781px){body:not(.admin-page)>.shell>#customerBrandHeader>.brand{padding-left:44px;box-sizing:border-box}}

/* Matching share entry at the opposite header corner. */
#customerShareButton{left:auto;right:10px}
body.customer-admin-return-enabled #customerBrandHeader>.header-actions{margin-right:48px!important}

/* Smaller visible header buttons with comfortable touch targets. */
#customerContactButton,#customerShareButton{width:36px;min-height:41px;padding:4px;border-radius:11px;font-size:10px;gap:1px}
#customerContactButton svg,#customerShareButton svg{width:18px;height:18px}
#customerContactButton::after,#customerShareButton::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:max(100%,48px);transform:translate(-50%,-50%)}

/* Compact install guide below the storefront subtitle. */
#customerHomeGuideButton:not([hidden]){
 display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:2px 8px;
 border:1px solid #f4d77f;border-radius:999px;background:transparent;color:#f8dc89;
 font:inherit;font-size:12px;font-weight:800;line-height:1.3;white-space:nowrap;cursor:pointer;
}
#customerHomeGuideButton span{font-size:15px;line-height:1}
#customerHomeGuideButton:focus-visible{outline:2px solid white;outline-offset:2px}
body:not(.admin-page)>.shell>#customerBrandHeader:has(#customerHomeGuideButton:not([hidden])){
 padding-bottom:3px!important;
}
body:not(.admin-page)>.shell>#customerBrandHeader>.brand:has(#customerHomeGuideButton:not([hidden])){
 display:grid!important;grid-template-columns:max-content;justify-content:center;justify-items:start;row-gap:3px;
}
#customerBrandHeader .brand:has(#customerHomeGuideButton:not([hidden]))>b{position:relative;justify-content:flex-start!important}
#customerBrandHeader .brand:has(#customerHomeGuideButton:not([hidden])) .brand-steak{
 position:absolute;right:100%;margin-right:4px;
}
#customerHomeGuideButton{margin-inline-start:-23px}
.customer-home-guide-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}
.customer-home-guide-options button{
 min-height:44px;padding:8px;border:1px solid #b8ccbf;border-radius:12px;background:#f2f7f2;
 color:#0e3a2b;font:inherit;font-weight:750;cursor:pointer;
}
.customer-home-guide-options button[aria-pressed="true"]{background:#0e3a2b;border-color:#0e3a2b;color:#fff}
#customerHomeGuideModal [data-guide-panel] img{display:block;width:100%;height:auto;margin:0 auto 10px;border-radius:8px}

body:not(.admin-page) #customerHomeGuideModal.modal{
 align-items:flex-start!important;
 padding-top:max(12px, env(safe-area-inset-top))!important;
}

/* Notices fill the visible viewport; only the content area scrolls. */
body:not(.admin-page) #customerNoticeModal.modal{padding:0!important;align-items:stretch!important;justify-content:stretch!important}
body:not(.admin-page) #customerNoticeModal.modal>.sheet{display:flex!important;flex-direction:column!important;width:100%!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:100vh!important;max-height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-sizing:border-box!important;overflow:hidden!important}
body:not(.admin-page) #customerNoticeModal.modal>.sheet>.customer-modal-heading{position:static!important;flex:none;width:100%!important;margin:0!important;border-radius:0!important;padding:16px!important;padding-top:max(16px,env(safe-area-inset-top))!important}
#customerNoticeModal>.sheet>.customer-content-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 16px max(16px,env(safe-area-inset-bottom));box-sizing:border-box}
#customerNoticeModal .notice-load-status{margin:24px 0;text-align:center;color:#627268}
