.kesc-market-open{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:24px;padding:8px 12px;background:var(--surface,#fff);color:var(--ink);font-size:12px;white-space:nowrap;cursor:pointer;min-height:40px}
#kesc-market-dialog{width:calc(100% - 32px);max-width:530px;border:1px solid var(--line);border-radius:16px;padding:32px;background:var(--surface,#fff);color:var(--ink);max-height:85dvh;overflow:auto}#kesc-market-dialog::backdrop{background:#00192399}#kesc-market-dialog h2{font-size:1.9rem;margin:10px 0 18px}.kesc-market-close{position:absolute;right:12px;top:10px;width:44px;height:44px;border:0;background:none;color:var(--ink);font-size:26px;cursor:pointer}.kesc-market-eyebrow{font-size:.7rem;letter-spacing:.15em;color:var(--green);margin:0}.kesc-market-options{display:grid;gap:12px;margin:24px 0}.kesc-market-options button{text-align:left;padding:18px;border-radius:10px;border:1px solid var(--line);background:var(--surface-soft,#f4f8f7);color:var(--ink);cursor:pointer}.kesc-market-options button[aria-pressed=true]{border:2px solid var(--green)}.kesc-market-options strong,.kesc-market-options span{display:block}.kesc-market-options span,.kesc-market-fine{font-size:.85rem;color:var(--muted)}
#kesc-market-suggestion{position:fixed;bottom:24px;right:24px;z-index:9999;width:390px;max-width:calc(100% - 32px);padding:24px;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 50px #0003;background:var(--surface,#fff);color:var(--ink)}#kesc-market-suggestion[hidden]{display:none}#kesc-market-suggestion h2{font-size:1.3rem;margin:0 0 12px}#kesc-market-suggestion p{font-size:.9rem}#kesc-market-suggestion>div{display:flex;gap:10px;flex-wrap:wrap}#kesc-market-suggestion button{padding:10px 12px;min-height:44px;border:1px solid var(--line);border-radius:6px;background:#087750;color:#fff;font-size:.85rem;cursor:pointer}#kesc-market-suggestion .kesc-market-stay{background:var(--surface,#fff);color:var(--ink)}.kesc-market-checkout{padding:20px;margin:20px 0 28px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft,#f4f8f7)}.kesc-market-checkout p{margin:8px 0}.kesc-market-checkout a{text-decoration:underline}.kesc-market-checkout .kesc-market-open{border:0;background:none;padding:0;font-size:inherit}

.topline .wrap,.topline .top-contacts{align-items:center}.topline .top-contacts{display:flex;gap:20px}.topline .kesc-market-open{color:#fff;background:transparent;border-color:#ffffff55;min-height:30px;padding:3px 10px;font-size:12px}.topline .kesc-market-open span{opacity:1;padding:0}.topline .kesc-market-open:hover{background:#ffffff15}
@media(max-width:760px){.topline .top-contacts{gap:12px;justify-content:center;flex-wrap:wrap}.topline .top-contacts a[href^="https://wa.me"]{font-size:0;gap:5px}.topline .top-contacts a[href^="https://wa.me"]::after{content:'WhatsApp';font-size:12px}.topline .kesc-market-open{min-height:32px;font-size:11px;padding:3px 8px}#kesc-market-suggestion{bottom:16px;right:16px}#kesc-market-dialog{padding:28px 22px}}

.topline .theme-control{display:inline-flex;align-items:center;gap:4px;padding:0 6px;border:1px solid #ffffff66;border-radius:24px;color:#fff;background:transparent;margin:0}
.topline .theme-control select{min-height:36px;padding:4px 2px;background:transparent;color:#fff;font-size:12px;border:0;max-width:64px}
.topline .theme-control select option{background:#fff;color:#15343f}
.topline .theme-control-icon{font-size:14px}
.topline .top-contacts{gap:12px}
@media(max-width:480px){
 .topline .top-contacts{gap:8px;justify-content:space-between;flex-wrap:nowrap;width:100%}
 .topline .top-contacts>a{font-size:0!important;min-width:26px;min-height:36px;justify-content:center}
 .topline .top-contacts>a::after{display:none!important}
 .topline .kesc-market-open{font-size:11px;gap:4px;padding:6px 8px}
 .topline .theme-control{flex-shrink:0}
}
/* Shared top-bar control geometry, including the native theme select. */
.topline .kesc-market-open,.topline .theme-control{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:25px;min-height:25px;padding:0 12px;gap:8px;margin:0;border:1px solid #ffffff66;border-radius:22px;background:transparent;color:#fff;font-family:inherit;font-size:12px;font-weight:500;line-height:1;vertical-align:middle;flex-shrink:0}
.topline .kesc-market-open>span:first-child,.topline .theme-control-icon{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:16px;line-height:1;flex:0 0 16px}
.topline .kesc-market-open>span:last-child{display:none}
.topline .kesc-market-open::after,.topline .theme-control::after{content:'';display:block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);flex:0 0 6px;pointer-events:none}
.topline .theme-control select{-webkit-appearance:none;appearance:none;width:38px;max-width:none;min-height:23px;height:23px;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;color:inherit;font:inherit;line-height:normal;cursor:pointer}
.topline .kesc-market-open:hover,.topline .theme-control:hover{background:#ffffff12}
.topline .kesc-market-open:focus-visible,.topline .theme-control:focus-within{outline:2px solid #fff;outline-offset:3px}
@media(max-width:480px){.topline .kesc-market-open,.topline .theme-control{padding:0 10px;gap:6px}}
