/* EE Multisite Store Switcher v3.0.3 */

/* Cart warning + language hint (v3.0.3) */
.ee-ss-cart-warning{margin:0 0 16px;padding:10px 14px;background:#fff7d9;border:1px solid #f0d97f;border-radius:6px;color:#5d4a00;font-size:13px;line-height:1.45}
.ee-ss-cart-warning strong{color:#3a2e00}
.ee-ss-cart-warning-sheet{margin:8px 6px 4px;font-size:12px;padding:8px 10px}
.ee-ss-lang-hint{margin:0 0 14px;padding:9px 12px;background:#eef4ff;border:1px solid #bdd1ff;border-radius:6px;color:#22336a;font-size:13px;line-height:1.45}
.ee-ss-lang-hint a{color:#22336a;text-decoration:underline;font-weight:700}
.ee-ss-lang-hint a:hover{color:#0f1f4d}


/* ===== Switcher trigger ===== */
.ee-ss-switcher{position:relative;display:inline-flex;align-items:center;gap:8px;font-family:inherit;font-size:14px;color:inherit}
.ee-ss-switcher .ee-ss-label{font-weight:600;letter-spacing:.02em;opacity:.85}
.ee-ss-switcher .ee-ss-trigger{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;background:#fff;border:1px solid #d8d3c0;border-radius:4px;cursor:pointer;font:inherit;color:inherit;line-height:1.2;transition:border-color .15s ease,box-shadow .15s ease}
.ee-ss-switcher .ee-ss-trigger:hover,
.ee-ss-switcher .ee-ss-trigger:focus-visible{border-color:#bbcd07;outline:0;box-shadow:0 0 0 2px rgba(187,205,7,.18)}
.ee-ss-switcher .ee-ss-flag{font-size:1.2em;line-height:1}
.ee-ss-switcher .ee-ss-name{font-weight:600}
.ee-ss-switcher .ee-ss-currency{opacity:.7;font-weight:400}
.ee-ss-switcher .ee-ss-caret{margin-left:2px;font-size:.85em;opacity:.55}

/* ===== Desktop dropdown sheet ===== */
.ee-ss-switcher .ee-ss-sheet{position:absolute;top:calc(100% + 6px);right:0;z-index:9000;min-width:280px;background:#fff;border:1px solid #e2decb;border-radius:6px;box-shadow:0 6px 24px rgba(71,61,28,.18);overflow:hidden}
.ee-ss-switcher .ee-ss-sheet[hidden]{display:none}
.ee-ss-switcher .ee-ss-sheet-header{display:none;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #ece8c6;background:#f6f3df}
.ee-ss-switcher .ee-ss-sheet-title{font-weight:700;color:#473d1c;font-size:15px}
.ee-ss-switcher .ee-ss-sheet-close{background:none;border:0;font-size:26px;line-height:1;color:#473d1c;cursor:pointer;padding:0 6px}
.ee-ss-switcher .ee-ss-list{margin:0;padding:6px;list-style:none}
.ee-ss-switcher .ee-ss-list li{margin:0;padding:0}
.ee-ss-switcher .ee-ss-list a{display:flex;align-items:center;gap:10px;padding:9px 10px;text-decoration:none;color:#473d1c;border-radius:4px;transition:background-color .12s ease}
.ee-ss-switcher .ee-ss-list a:hover,
.ee-ss-switcher .ee-ss-list a:focus-visible{background:#f6f3df;outline:0}
.ee-ss-switcher .ee-ss-list .ee-ss-subname{display:block;font-weight:400;font-size:11px;opacity:.65;letter-spacing:.02em;text-transform:uppercase}

/* ===== Inline list variant (chips) ===== */
.ee-ss-style-inline .ee-ss-trigger{display:none}
.ee-ss-style-inline .ee-ss-sheet{position:static!important;border:0!important;background:transparent!important;box-shadow:none!important;min-width:0}
.ee-ss-style-inline .ee-ss-sheet[hidden]{display:block!important}
.ee-ss-style-inline .ee-ss-sheet-header{display:none}
.ee-ss-style-inline .ee-ss-list{display:flex;flex-wrap:wrap;gap:6px;padding:0}
.ee-ss-style-inline .ee-ss-list a{padding:5px 11px;background:#f6f3df;border-radius:20px;font-size:12px}

/* ===== Modal layout (explicit modal trigger) ===== */
.ee-ss-style-modal .ee-ss-modal-trigger{}
.ee-ss-explicit-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px}
.ee-ss-explicit-modal[hidden]{display:none}
.ee-ss-modal-card-grid{max-width:560px;width:100%;background:#fff;border-radius:10px;padding:28px 26px 22px;box-shadow:0 18px 60px rgba(0,0,0,.25);position:relative}
.ee-ss-stores-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin-top:18px}
.ee-ss-store-card{display:flex;flex-direction:column;gap:4px;padding:14px 12px;text-decoration:none;border:1px solid #e2decb;border-radius:8px;color:#473d1c;background:#fff;text-align:center;transition:transform .12s ease,border-color .12s ease,background-color .12s ease}
.ee-ss-store-card:hover{transform:translateY(-2px);border-color:#bbcd07;background:#f6f3df}
.ee-ss-store-card .ee-ss-flag{font-size:1.8em;line-height:1}
.ee-ss-store-card .ee-ss-name{font-weight:700;font-size:14px;margin-top:4px}
.ee-ss-store-card .ee-ss-subname{font-size:11px;opacity:.6;text-transform:uppercase;letter-spacing:.04em}

/* ===== Welcome modal (auto geo-detect) ===== */
.ee-ss-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:16px;font-family:inherit}
.ee-ss-modal[hidden]{display:none}
.ee-ss-modal-backdrop{position:absolute;inset:0;background:rgba(28,24,12,.55);backdrop-filter:blur(2px);cursor:pointer}
.ee-ss-modal-card{position:relative;max-width:480px;width:100%;background:#fff;border-radius:10px;padding:28px 26px 22px;box-shadow:0 18px 60px rgba(0,0,0,.25);animation:eess-pop .2s ease-out}
@keyframes eess-pop{from{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}
.ee-ss-modal-close{position:absolute;top:8px;right:10px;background:none;border:0;font-size:24px;line-height:1;color:#473d1c;opacity:.6;cursor:pointer;padding:6px 10px}
.ee-ss-modal-close:hover{opacity:1}
.ee-ss-modal-title{margin:0 0 12px;font-size:20px;line-height:1.3;color:#473d1c;display:flex;align-items:center;gap:10px}
.ee-ss-modal-title .ee-ss-flag{font-size:1.6em}
.ee-ss-modal-body{margin:0 0 20px;font-size:14.5px;line-height:1.55;color:#3a3417}
.ee-ss-modal-actions{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.ee-ss-modal-actions .ee-ss-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:6px;font-weight:600;font-size:14px;line-height:1.2;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:transform .08s ease,background-color .15s ease}
.ee-ss-modal-actions .ee-ss-btn:active{transform:translateY(1px)}
.ee-ss-btn-primary{background:#bbcd07;color:#1d1900;border-color:#a4b405}
.ee-ss-btn-primary:hover{background:#a4b405}
.ee-ss-btn-secondary{background:#f6f3df;color:#473d1c;border-color:#e1dcc1}
.ee-ss-btn-secondary:hover{background:#ece8c6}
.ee-ss-modal-foot{margin:6px 0 0;text-align:center;color:#6b5e2f}
.ee-ss-modal-foot small{font-size:11.5px;opacity:.75}

/* ===== Mobile (<480px): dropdown becomes bottom-sheet ===== */
@media (max-width:480px){
    .ee-ss-style-dropdown .ee-ss-sheet{position:fixed;top:auto;right:0;left:0;bottom:0;border-radius:14px 14px 0 0;min-width:0;width:100%;max-height:80vh;overflow-y:auto;animation:eess-slide-up .25s ease-out;z-index:99998}
    .ee-ss-style-dropdown .ee-ss-sheet-header{display:flex}
    .ee-ss-style-dropdown .ee-ss-list a{padding:14px 14px;font-size:15px}
    .ee-ss-style-dropdown .ee-ss-list .ee-ss-subname{font-size:12px}
    /* Backdrop when bottom-sheet is open */
    body.ee-ss-sheet-open::before{content:"";position:fixed;inset:0;background:rgba(28,24,12,.55);z-index:99997;animation:eess-fade .25s ease-out}

    .ee-ss-modal-card{padding:22px 18px 16px}
    .ee-ss-modal-title{font-size:18px}
    .ee-ss-stores-grid{grid-template-columns:repeat(2,1fr)}
}
@keyframes eess-slide-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
@keyframes eess-fade{from{opacity:0}to{opacity:1}}
