/* Keep the Georgian variable font separate from the original static Raleway
   faces: aliasing both under one name can hide normal-weight Raleway faces. */
@font-face {
    font-family: "Noto Sans Georgian";
    src: url("fonts/NotoSansGeorgian.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F;
}
/* Theme templates declare their own font families in late inline styles.
   This language-scoped fallback covers those declarations without changing
   the original font weights, sizes or the Russian/English typography.
   Pseudo-elements retain their own icon font declarations. */
html[lang="ka"] body,
html[lang="ka"] body * { font-family: "Raleway", "Noto Sans Georgian", sans-serif !important; }
.locale-switch_list-item__WEAfJ[lang="ka"] { font-family: "Raleway", "Noto Sans Georgian", sans-serif !important; }
.locale-switch_list-item__WEAfJ[aria-current="true"] { font-weight: 600; }
html[lang="ka"] .header-nav { letter-spacing: 0; }
@media (max-width: 767px) {
    html[lang="ka"] h1, html[lang="ka"] h2 { overflow-wrap: anywhere; }
}

/* Keep the language picker inside the menu, including narrow iPhone layouts. */
body .menu-container {
    --language-surface: #fff;
    --language-ink: #626262;
    --language-border: #e5e5e5;
    --language-hover: #f5f5f5;
}
html[data-theme="dark"] body .menu-container {
    --language-surface: #141418;
    --language-ink: #c6c6c8;
    --language-border: #36363a;
    --language-hover: #222226;
}
body .menu-container .locale-switch_list__sqU4s {
    left: 0;
    right: auto;
    top: calc(100% + 4px);
    width: 184px;
    max-width: calc(100vw - 40px);
    z-index: 20;
    background: var(--language-surface);
    border: 1px solid var(--language-border);
    box-sizing: border-box;
}
body .menu-container .locale-switch_list__sqU4s[hidden] { display: none; }
body .menu-container .locale-switch_list__sqU4s ul {
    list-style: none;
    padding: 6px 0;
    margin: 0;
}
html body .menu-container .locale-switch_list-item__WEAfJ,
html[data-theme="dark"] body .menu-container .locale-switch_list-item__WEAfJ {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 16px;
    text-align: left;
    white-space: nowrap;
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: var(--language-ink);
    -webkit-text-fill-color: currentColor;
    background: transparent;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
html body .menu-container .locale-switch_list-item__WEAfJ[aria-current="true"] { font-weight: 500; }
body .menu-container .locale-switch_list-item__WEAfJ[aria-current="true"]::after {
    content: "";
    width: 6px;
    height: 11px;
    flex: none;
    margin-right: 3px;
    border: solid currentColor;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg) translateY(-2px);
}
body .menu-container .locale-switch_list-item__WEAfJ:focus-visible {
    outline: 1px solid var(--language-ink);
    outline-offset: -4px;
}
@media (hover: hover) {
    body .menu-container .locale-switch_list-item__WEAfJ:hover { background: var(--language-hover); }
}
/* iOS button defaults must not turn the close icon blue. */
html body .menu-container .top-controls_close-icon__cgGdb,
html[data-theme="dark"] body .menu-container .top-controls_close-icon__cgGdb,
html body .menu-container .compact-menu-controls button:last-child,
html[data-theme="dark"] body .menu-container .compact-menu-controls button:last-child {
    appearance: none;
    -webkit-appearance: none;
    color: var(--language-ink);
    -webkit-text-fill-color: currentColor;
    background: transparent;
    border: 0;
    border-radius: 0;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}
body .menu-container .top-controls_close-icon__cgGdb .menu-close-icon { color: inherit; }
body .menu-container .top-controls_close-icon__cgGdb path { fill: none; }
body .menu-container .top-controls_close-icon__cgGdb path[stroke] { stroke: currentColor; }
body .menu-container .top-controls_close-icon__cgGdb:focus-visible {
    outline: 1px solid var(--language-ink);
    outline-offset: -6px;
}

/* Balanced display copy without changing type sizes or intentional line breaks. */
body :is(h1,h2,h3,h4,.slide-title,.slide-brand-title,.category-card-title,.category-card-desc,.home-collection__title,.dauri-boutique-title,.dauri-live-mobile__slide-title){text-wrap:balance}
body :is(p,li,blockquote,.item-card-desc,.dc-auth-intro){text-wrap:pretty}
