/* Shop editor and public timetable. Kept separate from shared form controls. */
#editShopModal .modal-dialog{width:min(820px,calc(100% - 28px));max-width:820px;margin:28px auto}
#editShopModal .modal-content{border:1px solid #dfe9ec;border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #173b4929}
.ze-editor{--ze-ink:#173640;--ze-muted:#617780;--ze-line:#e1ebee;color:var(--ze-ink);text-align:left}
.ze-editor *{box-sizing:border-box}.ze-editor [hidden],.zh-hours [hidden]{display:none!important}
.ze-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 28px 19px;background:linear-gradient(115deg,#f1faf7,#f1f8ff)}
.ze-editor .ze-eyebrow{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#557b88;display:block;margin-bottom:7px}
.ze-editor .ze-heading h2{font-size:25px;line-height:1.2;letter-spacing:-.6px;margin:0;font-weight:700;color:var(--ze-ink)}
.ze-editor button{font:inherit;cursor:pointer}.ze-editor button:disabled{opacity:.55;cursor:wait}
.ze-icon{width:36px;height:36px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;border:1px solid #dbe8ed;background:#ffffffc9;color:#315b6a}.ze-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}
.ze-tabs{display:flex;gap:5px;border-bottom:1px solid var(--ze-line);padding:0 24px;background:#fff}
.ze-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;border-bottom:3px solid transparent;color:#627881;padding:16px 12px;font-size:14px;font-weight:600;min-width:0}
.ze-tabs button[aria-selected=true]{color:#067faa;border-color:#09a7cd}.ze-tabs i{font-size:18px}
.ze-body{padding:24px 28px;max-height:calc(100dvh - 270px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;min-height:240px}
.ze-editor .ze-field{display:flex;flex-direction:column;gap:7px;margin:0 0 19px;font-size:13px;line-height:1.4;font-weight:600;color:#48636e;min-width:0}
.ze-editor input:not([type=hidden]):not([type=file]),.ze-editor textarea,.ze-editor select{width:100%;max-width:100%;min-width:0;border:1px solid #d8e5e9;border-radius:10px;padding:11px 12px;background:#fff;color:#203f4a;font-size:15px;line-height:1.4;min-height:43px;box-shadow:none;outline:none;font-weight:400}
.ze-editor select{padding-right:30px;appearance:auto;cursor:pointer}.ze-editor textarea{resize:vertical;min-height:105px}.ze-editor input:focus,.ze-editor select:focus,.ze-editor textarea:focus{border-color:#2caaca;box-shadow:0 0 0 3px #07aad414}
.ze-editor :focus-visible,.zh-hours :focus-visible{outline:2px solid #078db6;outline-offset:3px}
.ze-logo-card{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:17px;border:1px solid var(--ze-line);border-radius:16px;background:#f9fcfd;margin-bottom:24px}
.ze-logo-preview{width:96px;height:96px;flex-shrink:0;display:grid;place-items:center;border:1px solid #deeaee;background:white;border-radius:20px;overflow:hidden;color:#2096ad;font-size:36px;font-weight:700}.ze-logo-preview img{width:100%;height:100%;object-fit:contain;padding:7px}.ze-logo-controls{flex:1;min-width:150px}.ze-logo-controls strong{font-size:15px;font-weight:700}.ze-logo-controls p{font-size:12px;color:#348579;margin:5px 0 10px;line-height:1.4}.ze-logo-controls small{display:block;font-size:11px;color:var(--ze-muted);margin-top:7px}
.ze-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d4e3e8;background:white;border-radius:9px;padding:9px 13px;color:#376779;font-size:13px!important;min-height:39px}
.ze-text-button{border:0;background:transparent;color:#087fa4;padding:7px 0;font-size:12px!important;text-align:left}.ze-logo-controls .ze-text-button{margin-left:10px}
.ze-advanced{margin-top:7px;border-top:1px solid var(--ze-line);padding-top:14px}.ze-advanced summary,.ze-exceptions summary{cursor:pointer;font-size:14px;font-weight:600;padding:5px 0;list-style:none}.ze-advanced summary:before,.ze-exceptions summary:before{content:'+';margin-right:10px;color:#25879e}.ze-advanced[open] summary:before,.ze-exceptions[open] summary:before{content:'−'}.ze-advanced[open] summary{margin-bottom:15px}
.ze-url{display:flex;align-items:center;border:1px solid #d8e5e9;border-radius:10px;overflow:hidden}.ze-url>span{font-size:12px;padding-left:12px;color:#79929c;white-space:nowrap}.ze-editor .ze-url input{border:0}.ze-danger{border:0;background:transparent;color:#a34742;font-size:12px!important;padding:8px 0}
.ze-editor .ze-hint{font-size:13px;line-height:1.6;color:var(--ze-muted);margin:0 0 15px}
.ze-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:21px}.ze-presets button{background:#f3f9fb;border:1px solid #dcebef;padding:11px 8px;border-radius:10px;color:#296579;font-size:12px;line-height:1.4;min-height:45px}.ze-presets button:hover{background:#e7f7fc;border-color:#72bed2}
.ze-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ze-copy-days{display:flex;gap:20px;flex-wrap:wrap;margin:0 0 7px}
.ze-day{display:grid;grid-template-columns:115px 128px minmax(0,1fr);gap:10px;align-items:start;padding:12px 0;border-bottom:1px solid #e9f0f2}.ze-day-name{font-size:13px;line-height:43px;font-weight:600}.ze-editor .ze-day select{font-size:13px;padding:10px 6px;min-height:40px;border-radius:8px}
.ze-slots{display:flex;flex-direction:column;gap:8px;min-width:0}.ze-slot{display:grid;grid-template-columns:1fr 12px 1fr;gap:6px;align-items:center}.ze-slot>span{color:#8098a2;text-align:center}.ze-slots .ze-text-button{font-size:11px!important;padding:0}
.ze-exceptions{margin-top:22px;border:1px solid #dce8eb;border-radius:13px;padding:13px 15px}.ze-exceptions summary{display:flex;align-items:center}.ze-exceptions summary>span{margin-left:auto;background:#eef5f7;border-radius:7px;padding:2px 7px;color:#567780;font-size:11px}.ze-exceptions[open] summary{margin-bottom:14px}.ze-exception{background:#f7fafb;border-radius:10px;border:1px solid #e2ebef;padding:12px;margin-bottom:12px}.ze-exception .ze-field{margin-bottom:12px}.ze-exception .ze-day{grid-template-columns:128px 1fr;border:0;padding:0 0 6px}.ze-exception-head{display:flex;gap:10px;margin-bottom:12px;align-items:center}.ze-exception-head select{flex:1}.ze-exception .ze-icon{width:32px;height:32px}.ze-exception .ze-two{gap:9px}
.ze-hours-preview{margin-top:20px;padding:14px;border-radius:12px;background:linear-gradient(120deg,#f0faf6,#f0f8ff);border:1px solid #e2efee}.ze-hours-preview>span{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#66848b}.ze-hours-preview>div{font-size:14px;line-height:1.6;font-weight:600;margin-top:6px}
.ze-footer{padding:16px 28px 20px;border-top:1px solid var(--ze-line);background:white}.ze-footer>p:first-child{font-size:11px;color:#738991;margin:0 0 11px}.ze-save-row{display:flex;justify-content:flex-end;gap:10px}.ze-save{border:0;border-radius:10px;background:#00a9d7;color:white;padding:12px 22px;font-size:14px!important;font-weight:600!important;min-height:44px}.ze-save:hover{background:#009cc8}.ze-error{color:#b1423c!important;font-size:12px!important;line-height:1.5;font-weight:400;margin:8px 0 0}.ze-save-status{padding-top:3px}.ze-editor .modal-shop-container-search-geo{width:100%}
.zh-hours{border:1px solid #deeaee;border-radius:13px;background:#f8fcfd;margin:0 0 25px;color:#244955;font-size:14px}.zh-hours summary{cursor:pointer;display:flex;align-items:center;gap:13px;padding:14px 17px;list-style:none}.zh-hours summary::-webkit-details-marker{display:none}.zh-hours summary>svg{width:22px;height:22px;fill:none;stroke:#32889f;stroke-width:1.6;flex-shrink:0}.zh-hours summary>span{display:flex;align-items:center;gap:16px;flex:1;flex-wrap:wrap}.zh-hours summary strong{font-size:14px;font-weight:600}.zh-hours [data-hours-status]{font-size:13px;color:#56717c}.zh-hours [data-hours-status][data-open=true]{color:#237868}.zh-hours summary .zh-chevron{width:17px;height:17px;margin-left:auto}.zh-hours[open] .zh-chevron{transform:rotate(180deg)}.zh-content{padding:0 17px 17px;max-width:650px}.zh-content p{font-size:13px;line-height:1.6}.zh-hours h3{font-size:14px;font-weight:600;margin:18px 0 9px}.zh-hours dl{margin:0}.zh-hours dl>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;border-bottom:1px solid #e8f0f2;font-size:13px}.zh-hours dt{font-weight:400}.zh-hours dd{margin:0;text-align:right}.zh-hours .zh-today{font-weight:600;color:#0c819e}.zh-hours dt small{display:block;color:#6c858f;font-size:11px;margin-top:4px}.zh-zone{display:block;color:#78909a;font-size:11px;margin-top:12px}
@media(max-width:600px){#editShopModal .modal-dialog{width:100%;margin:0;max-width:none;min-height:100dvh}#editShopModal .modal-content{border-radius:0;border:0;min-height:100dvh}.ze-editor{min-height:100dvh;display:flex;flex-direction:column}.ze-editor form{display:flex;flex:1;flex-direction:column;min-height:0}.ze-heading{padding:18px 17px 16px}.ze-editor .ze-heading h2{font-size:23px}.ze-tabs{padding:0 12px;gap:0}.ze-tabs button{flex:1;font-size:12px;padding:14px 6px;gap:5px}.ze-tabs i{font-size:16px}.ze-body{padding:20px 17px;max-height:calc(100dvh - 248px);flex:1;min-height:160px}.ze-logo-card{gap:13px;padding:13px}.ze-logo-preview{width:76px;height:76px;border-radius:16px}.ze-logo-controls{min-width:140px}.ze-logo-controls strong{font-size:14px}.ze-logo-controls .ze-text-button{margin:4px 0 0}.ze-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.ze-two{grid-template-columns:1fr;gap:0}.ze-day{grid-template-columns:1fr 130px;gap:8px}.ze-day-name{font-size:13px}.ze-day .ze-slots{grid-column:1/-1}.ze-editor .ze-day select{font-size:15px}.ze-exception .ze-two{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ze-exception .ze-day{grid-template-columns:1fr}.ze-exceptions{padding:12px}.ze-editor input:not([type=hidden]):not([type=file]),.ze-editor textarea,.ze-editor select{font-size:16px}.ze-footer{padding:13px 17px max(16px,env(safe-area-inset-bottom));}.ze-save-row .ze-save{flex:1}.ze-save-row .ze-button{min-width:75px}.ze-footer>p:first-child{font-size:10px}.ze-copy-days{gap:3px}.ze-copy-days button{flex-basis:100%}.zh-hours{margin-bottom:20px}.zh-hours summary{padding:12px}.zh-hours summary>span{display:block}.zh-hours summary strong{display:block;font-size:13px;margin-bottom:3px}.zh-hours [data-hours-status]{font-size:12px}.zh-content{padding:0 12px 13px}}
@media(prefers-reduced-motion:reduce){.ze-editor *{scroll-behavior:auto!important}}

/* The modal owns its scroll area; shared site footer styles must not clip Save. */
#editShopModal .modal-content{max-height:calc(100dvh - 56px)}
.ze-editor{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 58px)}
.ze-editor form{display:flex;flex-direction:column;min-height:0;flex:1;margin:0}
.ze-heading,.ze-tabs,.ze-editor .ze-footer{flex-shrink:0}
.ze-body{flex:1;max-height:none;min-height:0}
.ze-editor .ze-footer{margin:0;width:auto;max-width:none;box-shadow:none;border-radius:0}
.ze-tabs svg,.ze-button svg{width:18px;height:18px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7}
@media(max-width:600px){#editShopModal .modal-content{height:100dvh;min-height:0;max-height:100dvh}.ze-editor{height:100dvh;min-height:0;max-height:100dvh}.ze-body{max-height:none;min-height:0}.ze-tabs svg{width:16px;height:16px}}

.ze-date-input{position:relative;display:flex;align-items:center;min-height:44px;border:1px solid #d8e5e9;border-radius:10px;background:#fff;padding:11px 33px 11px 10px;color:#203f4a;font-size:14px;font-weight:400}
.ze-date-input:after{content:'';position:absolute;right:11px;width:13px;height:13px;border:1.5px solid #71909b;border-top:4px solid #71909b;border-radius:3px;pointer-events:none}
.ze-editor .ze-date-input input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.ze-date-input:focus-within{box-shadow:0 0 0 3px #07aad426;border-color:#2caaca}
