/* Universal appearance layer. Internal fdh-* selectors remain for upgrade compatibility. */
.fdh-header {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fdh-font-modern {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.fdh-font-serif {
    font-family: Georgia, "Times New Roman", serif;
}
.fdh-font-system .fdh-logo-text,
.fdh-font-modern .fdh-logo-text {
    font-family: inherit;
    font-weight: 800;
}
.fdh-font-serif .fdh-logo-text { font-family: inherit; }
.fdh-menu-desktop-list > li > a {
    font-size: var(--fdh-menu-font-size, 14px);
    font-weight: var(--fdh-menu-font-weight, 700);
}
.fdh-mainbar { border-bottom-width: var(--fdh-main-border, 1px); }
.fdh-container {
    padding-left: var(--fdh-desktop-side-padding, 32px);
    padding-right: var(--fdh-desktop-side-padding, 32px);
}
.fdh-search-panel,
.fdh-search-form,
.fdh-search-form input[type="search"],
.fdh-mobile-drawer {
    background-color: var(--fdh-main-bg, #fff) !important;
}
.fdh-mobile-search-form input[type="search"] { background: var(--fdh-surface, #f3f4f6) !important; }
.fdh-search-form input[type="search"] { color: var(--fdh-text, #111827) !important; }
.fdh-drawer-title,
.fdh-drawer-store { color: var(--fdh-text, #111827); }
.fdh-menu-desktop-list .sub-menu { background: var(--fdh-main-bg, #fff); }
.fdh-menu-mobile-list .current-menu-item > a,
.fdh-menu-mobile-list a:hover,
.fdh-menu-mobile-list a:focus-visible,
.fdh-menu-mobile-list li.is-open > .fdh-submenu-toggle { background: var(--fdh-surface, #f3f4f6); border-color: var(--fdh-line, #e5e7eb); }

.fdh-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--fdh-action-size, 40px);
    padding: 0 18px;
    border-radius: var(--fdh-radius, 999px);
    background: var(--fdh-accent, #2563eb);
    color: #fff !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.fdh-cta:hover,
.fdh-cta:focus-visible {
    background: var(--fdh-accent-dark, #1d4ed8);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(17, 24, 39, .12);
}
.fdh-cta-mobile {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
}

.fdh-shadow-none .fdh-mainbar { box-shadow: none !important; }
.fdh-shadow-soft .fdh-mainbar { box-shadow: 0 8px 28px rgba(20, 25, 32, .06); }
.fdh-shadow-strong .fdh-mainbar { box-shadow: 0 16px 45px rgba(20, 25, 32, .14); }

.fdh-width-contained .fdh-mainbar,
.fdh-width-floating .fdh-mainbar {
    width: min(calc(100% - 28px), calc(var(--fdh-container, 1240px) + 64px));
    margin-left: auto;
    margin-right: auto;
}
.fdh-width-contained .fdh-mainbar { border-left: 1px solid var(--fdh-line); border-right: 1px solid var(--fdh-line); }
.fdh-width-floating { padding-top: 12px; }
.fdh-width-floating .fdh-mainbar {
    border: var(--fdh-main-border, 1px) solid var(--fdh-line);
    border-radius: var(--fdh-floating-radius, 22px);
    overflow: visible;
}
.fdh-width-floating.fdh-is-sticky { top: 0; }

.fdh-header:not(.fdh-mobile-layout).fdh-layout-centered .fdh-main-inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    min-height: var(--fdh-desktop-height, 84px);
    padding-top: 13px;
    padding-bottom: 12px;
    row-gap: 8px;
}
.fdh-header:not(.fdh-mobile-layout).fdh-layout-centered .fdh-brand-wrap {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
}
.fdh-header:not(.fdh-mobile-layout).fdh-layout-centered .fdh-desktop-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
}
.fdh-header:not(.fdh-mobile-layout).fdh-layout-centered .fdh-right-wrap {
    grid-column: 3;
    grid-row: 1;
}
.fdh-header:not(.fdh-mobile-layout).fdh-layout-centered .fdh-menu-desktop-list { justify-content: center; }

/* Clean is the neutral default for any brand. */
.fdh-visual-clean .fdh-action,
.fdh-visual-clean .fdh-mobile-toggle,
.fdh-visual-clean .fdh-drawer-close {
    background: transparent;
    border: 1px solid var(--fdh-line);
    box-shadow: none;
}
.fdh-visual-clean .fdh-menu-desktop-list > li > a { transform: none; }
.fdh-visual-clean .fdh-menu-desktop-list .sub-menu { border-radius: 12px; }

.fdh-visual-soft .fdh-mainbar { background: var(--fdh-main-bg); }
.fdh-visual-soft .fdh-action,
.fdh-visual-soft .fdh-mobile-toggle,
.fdh-visual-soft .fdh-drawer-close { background: var(--fdh-surface); }

.fdh-visual-minimal .fdh-mainbar { border-bottom-color: transparent; box-shadow: none; }
.fdh-visual-minimal .fdh-action,
.fdh-visual-minimal .fdh-mobile-toggle,
.fdh-visual-minimal .fdh-drawer-close { background: transparent; border: 0; box-shadow: none; }
.fdh-visual-minimal .fdh-menu-desktop-list .sub-menu { border: 0; border-radius: 8px; }

.fdh-visual-bold .fdh-mainbar { background: var(--fdh-accent); border-color: var(--fdh-accent-dark); }
.fdh-visual-bold .fdh-mainbar .fdh-logo,
.fdh-visual-bold .fdh-menu-desktop-list > li > a,
.fdh-visual-bold .fdh-mainbar .fdh-action,
.fdh-visual-bold .fdh-mobile-toggle { color: #fff !important; }
.fdh-visual-bold .fdh-mainbar .fdh-action,
.fdh-visual-bold .fdh-mobile-toggle { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }
.fdh-visual-bold .fdh-menu-desktop-list > li > a:hover { color: #fff !important; opacity: .78; }
.fdh-visual-bold .fdh-mainbar .fdh-cta-desktop { background: #fff; color: var(--fdh-accent-dark) !important; }
.fdh-visual-bold .fdh-mobile-drawer .fdh-action { background: var(--fdh-surface); color: var(--fdh-text) !important; }

.fdh-mobile-drawer-fullscreen .fdh-mobile-drawer {
    width: 100vw;
    max-width: none;
    border-radius: 0;
}
.fdh-mobile-menu-clean .fdh-menu-mobile-list { gap: 0; }
.fdh-mobile-menu-clean .fdh-menu-mobile-list a {
    min-height: var(--fdh-mobile-item-height, 48px);
    padding-left: 4px !important;
    border: 0;
    border-bottom: 1px solid var(--fdh-line);
    border-radius: 0;
    background: transparent;
    font-size: 15px;
}
.fdh-mobile-menu-clean .fdh-menu-mobile-list .sub-menu { margin-left: 14px !important; }
.fdh-mobile-menu-clean .fdh-menu-mobile-list .sub-menu a { background: transparent; }
.fdh-mobile-menu-clean .fdh-submenu-toggle { right: 0; }
.fdh-mobile-menu-cards .fdh-menu-mobile-list a { box-shadow: 0 5px 18px rgba(20,25,32,.035); }
.fdh-submenus-open .fdh-submenu-toggle { display: none; }
.fdh-submenus-open .fdh-menu-mobile-list .menu-item-has-children > a,
.fdh-submenus-open .fdh-menu-mobile-list .page_item_has_children > a { padding-right: 13px !important; }

@media (max-width: 560px) {
    .fdh-header.fdh-mobile-layout.fdh-width-contained .fdh-mainbar,
    .fdh-header.fdh-mobile-layout.fdh-width-floating .fdh-mainbar {
        width: calc(100% - 16px);
    }
    .fdh-header.fdh-mobile-layout.fdh-width-floating { padding-top: 8px; }
}

.fdh-header.fdh-mobile-layout .fdh-container {
    padding-left: var(--fdh-mobile-side-padding, 16px);
    padding-right: var(--fdh-mobile-side-padding, 16px);
}
.fdh-header.fdh-mobile-layout .fdh-cta-desktop { display: none; }
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-mobile-drawer { gap: 9px; }
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-drawer-head { min-height: 38px; padding-bottom: 8px; }
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-menu-mobile-list { gap: 4px; }
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-menu-mobile-list a { padding-top: 8px !important; padding-bottom: 8px !important; }
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-drawer-store { padding-top: 8px; padding-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
    .fdh-cta { transition: none; }
}

/* Mobile drawer redesign — v2.2.0 */
.fdh-header.fdh-mobile-layout .fdh-mobile-drawer {
    overflow: hidden;
    gap: 0;
    padding: 18px;
    background: var(--fdh-main-bg, #fff) !important;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-head,
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-drawer-head {
    min-height: 48px;
    padding: 0 0 14px;
    margin: 0 0 12px;
    border-bottom: 1px solid var(--fdh-line, #e5e7eb);
    flex: 0 0 auto;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-head-no-title {
    border-bottom: 1px solid var(--fdh-line, #e5e7eb);
}
.fdh-header.fdh-mobile-layout .fdh-drawer-logo {
    min-width: 0;
    display: flex;
    align-items: center;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-logo .fdh-logo-img {
    max-height: 38px;
    max-width: min(205px, 58vw);
}
.fdh-header.fdh-mobile-layout .fdh-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: var(--fdh-surface, #f3f4f6);
    border: 0;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 2px 14px;
    margin: 0 -2px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-search-wrap {
    position: relative;
    margin-bottom: 12px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--fdh-muted, #6b7280);
    pointer-events: none;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-search-icon svg {
    width: 19px;
    height: 19px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-search-form input[type="search"] {
    height: 48px !important;
    padding: 0 15px 0 44px !important;
    border: 1px solid var(--fdh-line, #e5e7eb) !important;
    border-radius: 16px !important;
    background: var(--fdh-surface, #f3f4f6) !important;
    font-size: 15px;
    font-weight: 600;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-search-form input[type="search"]:focus {
    border-color: var(--fdh-accent, #2563eb) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fdh-accent, #2563eb) 14%, transparent) !important;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-nav {
    border: 1px solid var(--fdh-line, #e5e7eb);
    border-radius: 18px;
    background: var(--fdh-main-bg, #fff);
    overflow: hidden;
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list,
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-menu-mobile-list,
.fdh-header.fdh-mobile-layout.fdh-mobile-menu-clean .fdh-menu-mobile-list {
    gap: 0;
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li > a,
.fdh-header.fdh-mobile-layout.fdh-mobile-menu-clean .fdh-menu-mobile-list > li > a,
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-menu-mobile-list > li > a {
    min-height: 50px;
    padding: 0 48px 0 15px !important;
    border: 0;
    border-bottom: 1px solid var(--fdh-line, #e5e7eb);
    border-radius: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.25;
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li:last-child > a {
    border-bottom: 0;
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li.current-menu-item > a,
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li.current-menu-ancestor > a,
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li > a:hover,
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list > li > a:focus-visible {
    background: var(--fdh-surface, #f3f4f6);
    color: var(--fdh-accent, #2563eb) !important;
}
.fdh-header.fdh-mobile-layout .fdh-submenu-toggle {
    right: 8px;
    top: 7px;
    width: 36px;
    height: 36px;
    border-radius: 11px;
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list .sub-menu,
.fdh-header.fdh-mobile-layout.fdh-mobile-menu-clean .fdh-menu-mobile-list .sub-menu {
    margin: 0 0 8px 16px !important;
    padding: 4px 8px 2px 11px !important;
    gap: 2px;
    border-left: 2px solid var(--fdh-line, #e5e7eb);
}
.fdh-header.fdh-mobile-layout .fdh-menu-mobile-list .sub-menu a,
.fdh-header.fdh-mobile-layout.fdh-mobile-menu-clean .fdh-menu-mobile-list .sub-menu a {
    min-height: 39px;
    padding: 8px 12px !important;
    border: 0;
    border-radius: 11px;
    background: transparent;
    font-size: 13.5px;
    font-weight: 650;
}
.fdh-header.fdh-mobile-layout.fdh-has-language-switcher .fdh-mobile-nav .lang-item,
.fdh-header.fdh-mobile-layout.fdh-has-language-switcher .fdh-mobile-nav .menu-item-language,
.fdh-header.fdh-mobile-layout.fdh-has-language-switcher .fdh-mobile-nav .wpml-ls-item,
.fdh-header.fdh-mobile-layout.fdh-has-language-switcher .fdh-mobile-nav .pll-parent-menu-item {
    display: none !important;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--fdh-line, #e5e7eb);
    background: var(--fdh-main-bg, #fff);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language,
.fdh-header.fdh-mobile-layout .fdh-mobile-utility {
    min-height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--fdh-line, #e5e7eb);
    border-radius: 16px;
    background: var(--fdh-main-bg, #fff);
    color: var(--fdh-text, #111827) !important;
    box-shadow: 0 3px 12px rgba(17, 24, 39, .025);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language {
    padding: 6px 7px 6px 10px;
    justify-content: space-between;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language-label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 750;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--fdh-surface, #f3f4f6);
    color: var(--fdh-text, #111827);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility-icon svg {
    width: 19px;
    height: 19px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language-options {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border-radius: 12px;
    background: var(--fdh-surface, #f3f4f6);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language-option {
    min-width: 35px;
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--fdh-muted, #6b7280) !important;
    text-decoration: none !important;
    font-size: 11.5px;
    font-weight: 850;
    letter-spacing: .035em;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language-option.is-current {
    background: var(--fdh-main-bg, #fff);
    color: var(--fdh-text, #111827) !important;
    box-shadow: 0 2px 7px rgba(17, 24, 39, .08);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-language-option:not(.is-current):hover,
.fdh-header.fdh-mobile-layout .fdh-mobile-language-option:not(.is-current):focus-visible {
    color: var(--fdh-accent, #2563eb) !important;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utilities {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility {
    position: relative;
    min-height: 52px;
    padding: 8px 11px 8px 9px;
    text-decoration: none !important;
    transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility:hover,
.fdh-header.fdh-mobile-layout .fdh-mobile-utility:focus-visible {
    border-color: color-mix(in srgb, var(--fdh-accent, #2563eb) 35%, var(--fdh-line, #e5e7eb));
    background: var(--fdh-surface, #f3f4f6);
    transform: none;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility-label {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 750;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility-arrow {
    flex: 0 0 auto;
    color: var(--fdh-muted, #6b7280);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility-arrow svg {
    width: 17px;
    height: 17px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-utility .fdh-cart-count {
    position: static;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    box-shadow: none;
    font-size: 10.5px;
}
.fdh-header.fdh-mobile-layout .fdh-cta-mobile {
    min-height: 50px;
    margin: 0;
    border-radius: 16px;
}
.fdh-header.fdh-mobile-layout .fdh-drawer-store,
.fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-drawer-store {
    margin: 0;
    min-height: 46px;
    padding: 9px 11px;
    border-radius: 15px;
    background: var(--fdh-surface, #f3f4f6);
    font-size: 12.5px;
    font-weight: 650;
    box-shadow: none;
}
@media (max-width: 560px) {
    .fdh-header.fdh-mobile-layout .fdh-mobile-drawer {
        width: min(94vw, var(--fdh-mobile-max-width, 430px));
        padding: 14px;
    }
    .fdh-header.fdh-mobile-layout.fdh-use-safe-area .fdh-mobile-drawer {
        padding-top: max(14px, env(safe-area-inset-top));
        padding-bottom: max(14px, env(safe-area-inset-bottom));
    }
    .fdh-header.fdh-mobile-layout .fdh-drawer-head,
    .fdh-header.fdh-mobile-layout.fdh-mobile-compact .fdh-drawer-head {
        margin-bottom: 10px;
        padding-bottom: 11px;
    }
    .fdh-header.fdh-mobile-layout .fdh-mobile-language,
    .fdh-header.fdh-mobile-layout .fdh-mobile-utility {
        min-height: 50px;
    }
}

/* Mobile bottom cart separation — v2.2.1 */
.fdh-header.fdh-mobile-layout .fdh-drawer-footer {
    margin-bottom: 12px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-dock {
    flex: 0 0 auto;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--fdh-line, #e5e7eb);
    background: var(--fdh-main-bg, #fff);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-button {
    width: 100%;
    min-height: 58px;
    padding: 9px 14px 9px 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: 18px;
    background: var(--fdh-accent, #2563eb);
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--fdh-accent, #2563eb) 24%, transparent);
    transition: background-color .18s ease, box-shadow .18s ease;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-button:hover,
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-button:focus-visible {
    background: var(--fdh-accent-dark, #1d4ed8);
    color: #fff !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--fdh-accent, #2563eb) 30%, transparent);
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-icon svg,
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-arrow svg {
    width: 20px;
    height: 20px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-label {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 800;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-button .fdh-cart-count {
    position: static;
    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    background: #fff;
    color: var(--fdh-accent-dark, #1d4ed8);
    box-shadow: none;
    font-size: 11px;
}
.fdh-header.fdh-mobile-layout .fdh-mobile-cart-arrow {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .82);
}
@media (max-width: 560px) {
    .fdh-header.fdh-mobile-layout .fdh-drawer-footer {
        margin-bottom: 10px;
    }
    .fdh-header.fdh-mobile-layout .fdh-mobile-cart-dock {
        padding-top: 10px;
    }
    .fdh-header.fdh-mobile-layout .fdh-mobile-cart-button {
        min-height: 56px;
        border-radius: 17px;
    }
}

/* Desktop language switcher — restored in v2.2.2 */
.fdh-desktop-language {
    position: relative;
    flex: 0 0 auto;
    margin: 0;
}
.fdh-desktop-language > summary {
    list-style: none;
}
.fdh-desktop-language > summary::-webkit-details-marker {
    display: none;
}
.fdh-desktop-language-toggle {
    min-width: var(--fdh-action-size, 40px);
    height: var(--fdh-action-size, 40px);
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--fdh-line, #e5e7eb);
    border-radius: var(--fdh-radius, 999px);
    background: var(--fdh-surface, #f3f4f6);
    color: var(--fdh-text, #111827);
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .04em;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.fdh-desktop-language-toggle:hover,
.fdh-desktop-language-toggle:focus-visible,
.fdh-desktop-language[open] .fdh-desktop-language-toggle {
    background: var(--fdh-main-bg, #fff);
    border-color: var(--fdh-accent, #2563eb);
    color: var(--fdh-accent, #2563eb);
    outline: none;
}
.fdh-desktop-language-toggle:hover {
    transform: translateY(-1px);
}
.fdh-desktop-language-globe,
.fdh-desktop-language-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.fdh-desktop-language-globe svg {
    width: 17px;
    height: 17px;
}
.fdh-desktop-language-chevron svg {
    width: 13px;
    height: 13px;
    transition: transform .18s ease;
}
.fdh-desktop-language[open] .fdh-desktop-language-chevron svg {
    transform: rotate(180deg);
}
.fdh-desktop-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    width: max-content;
    min-width: 180px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--fdh-line, #e5e7eb);
    border-radius: 15px;
    background: var(--fdh-main-bg, #fff);
    box-shadow: 0 18px 45px rgba(17, 24, 39, .14);
}
.fdh-desktop-language-item {
    min-height: 40px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    color: var(--fdh-text, #111827) !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1.15;
    white-space: nowrap;
}
.fdh-desktop-language-item:hover,
.fdh-desktop-language-item:focus-visible {
    background: var(--fdh-surface, #f3f4f6);
    color: var(--fdh-accent, #2563eb) !important;
    outline: none;
}
.fdh-desktop-language-item.is-current {
    background: var(--fdh-surface, #f3f4f6);
    color: var(--fdh-accent, #2563eb) !important;
}
.fdh-desktop-language-item-code {
    font-weight: 900;
    letter-spacing: .035em;
}
.fdh-desktop-language-item-name {
    font-weight: 650;
}
.fdh-desktop-language-check {
    font-size: 13px;
    font-weight: 900;
}
.fdh-visual-minimal .fdh-desktop-language-toggle {
    border-color: transparent;
    background: transparent;
}
.fdh-visual-bold .fdh-desktop-language-toggle {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.14);
    color: #fff;
}
.fdh-header.fdh-mobile-layout .fdh-desktop-language {
    display: none !important;
}
@media (max-width: 980px) {
    .fdh-desktop-language { display: none !important; }
}
