/* Artisan Duka — store switch (v1.9.3): footer "Store" row, Kenya dialog, checkout hint */

.adk-storerow,
.adk-ss,
.adk-ke-hint {
    --ss-ink:     #1F1B16;
    --ss-muted:   #6B645B;
    --ss-line:    #E7E2DA;
    --ss-surface: #F4F1EC;
    --ss-focus:   var(--ad-teal, #0F4747);
}

/* ── Footer "Store" row ── */
.adk-storerow {
    background: var(--ss-surface);
    border-top: 1px solid var(--ss-line);
    color: var(--ss-muted);
    font-size: 14px;
    line-height: 1.4;
}
.adk-storerow__inner {
    max-width: 1290px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    box-sizing: border-box;
}
.adk-storerow__current { display: inline-flex; align-items: center; gap: 8px; }
.adk-storerow__current svg { flex: none; color: var(--ss-ink); }
.adk-storerow a.adk-storerow__switch .adk-flag { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.adk-flag { flex: none; border-radius: 2px; }
.adk-storerow a.adk-storerow__switch {
    display: inline-flex;
    align-items: center;
    color: var(--ss-ink);
    font-weight: 600;
    text-decoration: none;
}
.adk-storerow__label {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.adk-storerow a.adk-storerow__switch:hover .adk-storerow__label { text-decoration-thickness: 2px; }
.adk-storerow a.adk-storerow__switch:focus-visible { outline: 2px solid var(--ss-focus); outline-offset: 3px; border-radius: 2px; }
@media (max-width: 600px) {
    .adk-storerow__inner { justify-content: flex-start; padding: 14px 16px; }
}

/* ── Dialog ── */
html.adk-ss-lock, html.adk-ss-lock body { overflow: hidden; }

.adk-ss {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    font-family: var(--ad-font, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif);
}
.adk-ss__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 17, 13, .45);
    opacity: 0;
    transition: opacity .2s ease;
}
.adk-ss__panel {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    color: var(--ss-ink);
    border-radius: 16px;
    padding: 32px 28px 24px;
    box-shadow: 0 24px 60px rgba(20, 17, 13, .22);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(8px) scale(.98);
    transition: opacity .2s ease, transform .2s ease;
    outline: none;
}
.adk-ss.is-open .adk-ss__backdrop { opacity: 1; }
.adk-ss.is-open .adk-ss__panel { opacity: 1; transform: none; }

.adk-ss__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ss-muted);
    cursor: pointer;
}
.adk-ss__close:hover { background: var(--ss-surface); color: var(--ss-ink); }

.adk-ss__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ss-muted);
}
.adk-ss__title {
    margin: 0 36px 10px 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--ss-ink);
}
.adk-ss__body {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ss-muted);
}
.adk-ss__actions { display: grid; gap: 10px; }
.adk-ss .adk-ss__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 0 18px;
    border-radius: 10px;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color .15s ease, border-color .15s ease;
}
.adk-ss .adk-ss__btn--go,
.adk-ss .adk-ss__btn--go:visited { background: var(--ss-ink); color: #fff; border: 1px solid var(--ss-ink); }
.adk-ss .adk-ss__btn--go:hover { background: #000; color: #fff; }
.adk-ss .adk-ss__btn--stay { background: #fff; color: var(--ss-ink); border: 1px solid var(--ss-line); }
.adk-ss .adk-ss__btn--stay:hover { border-color: var(--ss-ink); background: #fff; color: var(--ss-ink); }
.adk-ss__close:focus-visible,
.adk-ss .adk-ss__btn:focus-visible { outline: 2px solid var(--ss-focus); outline-offset: 3px; }

.adk-ss__note {
    margin: 16px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--ss-muted);
    text-align: center;
}

/* Phones: bottom sheet, thumb-reachable buttons */
@media (max-width: 600px) {
    .adk-ss { align-items: flex-end; padding: 0; }
    .adk-ss__panel {
        max-width: none;
        border-radius: 18px 18px 0 0;
        padding: 28px 20px calc(20px + env(safe-area-inset-bottom, 0px));
        transform: translateY(24px);
    }
    .adk-ss__title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .adk-ss__backdrop, .adk-ss__panel { transition: none; }
    .adk-ss__panel { transform: none; }
}

/* ── Checkout hint ── */
.woocommerce form .adk-ke-hint,
.adk-ke-hint {
    margin: 4px 0 16px;
    padding: 12px 14px;
    background: var(--ss-surface);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ss-muted);
}
.adk-ke-hint a { color: var(--ss-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.adk-ke-hint__new { font-weight: 400; color: var(--ss-muted); }
