/* ============================================================
   BTF HEADER v3 — FINAL
   - Sticky, mobile-first
   - Overrides global SVG rules (fixes dropdown on tour pages)
   - No Vite dependency
   ============================================================ */

/* ============================================================
   1. HEADER CONTAINER
   ============================================================ */
.hdr {
    position: sticky;
    top: 0;
    z-index: 900;
    background: color-mix(in srgb, var(--bg, #fff) 85%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line, #e5e7eb);
    height: 64px;
}

.hdr-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ============================================================
   2. BRAND
   ============================================================ */
.hdr-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink, #111);
    font-family: var(--f-display, inherit);
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.hdr-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand, #ff5a36) 0%, #ff8f6b 55%, var(--gold, #f5a623) 130%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 90, 54, 0.25);
    flex-shrink: 0;
}

.hdr-brand-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* ============================================================
   3. INLINE SEARCH (desktop)
   ============================================================ */
.hdr-search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    max-width: 640px;
    height: 42px;
    padding: 0 6px 0 14px;
    background: var(--surface-3, #f3f4f6);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 12px;
    position: relative;
    transition: all 0.15s;
    margin: 0 auto;
    box-sizing: border-box;
}

.hdr-search:focus-within {
    background: var(--surface, #fff);
    border-color: var(--brand, #ff5a36);
    box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.1);
}

.hdr-search-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    color: var(--muted, #6b7280);
    flex-shrink: 0;
    pointer-events: none;
    display: block;
}

.hdr-search input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 14px;
    color: var(--ink, #111);
    font-family: inherit;
    padding: 0;
}

.hdr-search input::placeholder {
    color: var(--muted, #6b7280);
}

.hdr-search-go {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--brand, #ff5a36);
    color: #fff;
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s;
    padding: 0;
}

.hdr-search-go:hover {
    transform: scale(1.05);
}

.hdr-search-go svg {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    display: block;
    color: #fff;
}

/* ============================================================
   4. ACTIONS
   ============================================================ */
.hdr-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.hdr-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--ink-2, #374151);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.15s;
    padding: 0;
    font-family: inherit;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.hdr-btn:hover {
    background: var(--surface-3, #f3f4f6);
    border-color: var(--line, #e5e7eb);
    color: var(--ink, #111);
}

.hdr-btn svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    display: block;
}

/* ============================================================
   5. THEME TOGGLE
   ============================================================ */
.hdr-theme {
    position: relative;
}

.hdr-theme svg {
    position: absolute;
    transition: opacity 0.2s, transform 0.2s;
}

.hdr-theme .i-sun {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.hdr-theme .i-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}

html[data-theme="dark"] .hdr-theme .i-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

html[data-theme="dark"] .hdr-theme .i-moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* ============================================================
   6. LANGUAGE SWITCHER
   ============================================================ */
.hdr-lang {
    position: relative;
}

.hdr-lang-btn {
    width: auto !important;
    padding: 0 8px !important;
    gap: 6px !important;
    display: inline-flex !important;
    align-items: center;
}

.hdr-lang-flag {
    font-size: 16px;
    line-height: 1;
}

.hdr-lang-code {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--ink-2, #374151);
}

.hdr-chev {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    opacity: 0.5;
    transition: transform 0.2s;
    display: block;
}

.hdr-lang.is-open .hdr-chev,
.hdr-account.is-open .hdr-chev {
    transform: rotate(180deg);
}

.hdr-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s;
}

.hdr-lang.is-open .hdr-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hdr-lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--ink-2, #374151);
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.12s;
}

.hdr-lang-option:hover {
    background: var(--surface-3, #f3f4f6);
    color: var(--ink, #111);
}

.hdr-lang-option .flag {
    font-size: 16px;
    line-height: 1;
}

.hdr-lang-option .name {
    flex: 1;
}

.hdr-lang-option .check {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    color: var(--brand, #ff5a36);
    display: block;
}

.hdr-lang-option.is-active {
    background: var(--surface-3, #f3f4f6);
    color: var(--ink, #111);
    font-weight: 600;
}

/* ============================================================
   7. ACCOUNT MENU
   ============================================================ */
.hdr-account {
    position: relative;
}

.hdr-account-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    border-radius: 99px;
    background: var(--surface-3, #f3f4f6);
    border: 1px solid var(--line, #e5e7eb);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink, #111);
    transition: all 0.15s;
    height: 38px;
    box-sizing: border-box;
}

.hdr-account-btn:hover {
    border-color: var(--brand, #ff5a36);
}

.hdr-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand, #ff5a36), var(--gold, #f5a623));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
}

.hdr-account-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hdr-account-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    background: var(--surface, #fff);
    border: 1px solid var(--line, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.18s;
}

.hdr-account.is-open .hdr-account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hdr-account-menu a,
.hdr-account-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink-2, #374151);
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.12s;
    box-sizing: border-box;
}

.hdr-account-menu a:hover,
.hdr-account-menu button:hover {
    background: var(--surface-3, #f3f4f6);
    color: var(--ink, #111);
}

.hdr-account-menu a svg,
.hdr-account-menu button svg {
    width: 15px;
    height: 15px;
    min-width: 15px;
    min-height: 15px;
    opacity: 0.7;
    flex-shrink: 0;
    display: block;
}

.hdr-account-menu .badge {
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px;
    background: var(--brand, #ff5a36);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    display: grid;
    place-items: center;
    line-height: 1;
}

.hdr-account-menu hr {
    border: 0;
    height: 1px;
    background: var(--line, #e5e7eb);
    margin: 6px 0;
}

/* ============================================================
   8. LINK / CTA BUTTONS
   ============================================================ */
.hdr-link,
.hdr-cta {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 9px;
    white-space: nowrap;
    transition: all 0.15s;
    box-sizing: border-box;
}

.hdr-link {
    font-weight: 600;
    color: var(--ink-2, #374151);
    border: 1px solid var(--line, #e5e7eb);
    background: transparent;
}

.hdr-link:hover {
    background: var(--surface-3, #f3f4f6);
    color: var(--ink, #111);
}

.hdr-cta {
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand, #ff5a36), #ea3d1c);
    box-shadow: 0 4px 14px -4px rgba(255, 90, 54, 0.4);
}

.hdr-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -6px rgba(255, 90, 54, 0.5);
}

/* ============================================================
   9. HAMBURGER
   ============================================================ */
.hdr-menu-btn {
    display: none;
}

.hdr-burger {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    width: 18px;
    height: 14px;
    justify-content: center;
}

.hdr-burger span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: width 0.2s;
}

.hdr-burger span:nth-child(1) { width: 100%; }
.hdr-burger span:nth-child(2) { width: 80%; }
.hdr-burger span:nth-child(3) { width: 60%; }

.hdr-menu-btn:hover .hdr-burger span:nth-child(2),
.hdr-menu-btn:hover .hdr-burger span:nth-child(3) {
    width: 100%;
}

/* ============================================================
   10. SEARCH MODAL
   ============================================================ */
.hdr-search-btn {
    display: none;
}

.hdr-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8vh;
}

.hdr-modal[hidden] {
    display: none;
}

.hdr-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: hdrFadeIn 0.2s;
}

.hdr-modal-body {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 16px;
    background: var(--surface, #fff);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
    animation: hdrModalIn 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes hdrFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes hdrModalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hdr-modal-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface-3, #f3f4f6);
    border: 1px solid var(--brand, #ff5a36);
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(255, 90, 54, 0.1);
    position: relative;
}

.hdr-modal-search > svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    color: var(--muted, #6b7280);
    flex-shrink: 0;
    display: block;
}

.hdr-modal-search input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 16px;
    color: var(--ink, #111);
    font-family: inherit;
    min-width: 0;
    padding: 0;
}

.hdr-modal-search input::placeholder {
    color: var(--muted, #6b7280);
}

.hdr-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    color: var(--muted, #6b7280);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    padding: 0;
    font-family: inherit;
}

.hdr-modal-close:hover {
    color: var(--ink, #111);
    background: var(--surface-3, #f3f4f6);
}

.hdr-modal-hints {
    margin-top: 16px;
    padding: 0 4px;
}

.hdr-modal-hints .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted, #6b7280);
    margin-bottom: 10px;
}

.hdr-modal-hints a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 6px 6px 0;
    border-radius: 99px;
    background: var(--surface-3, #f3f4f6);
    border: 1px solid var(--line, #e5e7eb);
    color: var(--ink-2, #374151);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s;
}

.hdr-modal-hints a:hover {
    background: rgba(255, 90, 54, 0.08);
    color: var(--brand, #ff5a36);
    border-color: var(--brand, #ff5a36);
}

/* ============================================================
   11. DRAWER
   ============================================================ */
.hdr-drawer {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.hdr-drawer[hidden] {
    display: none;
}

.hdr-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    animation: hdrFadeIn 0.2s;
}

.hdr-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: var(--surface, #fff);
    box-shadow: -20px 0 60px -12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    animation: hdrDrawerIn 0.24s cubic-bezier(0.2, 0.8, 0.3, 1);
    overflow: hidden;
}

@keyframes hdrDrawerIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}

.hdr-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line, #e5e7eb);
    flex-shrink: 0;
}

.hdr-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hdr-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hdr-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: var(--ink-2, #374151);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.12s;
}

.hdr-drawer-nav a:hover {
    background: var(--surface-3, #f3f4f6);
    color: var(--ink, #111);
}

.hdr-drawer-nav a.is-active {
    background: rgba(255, 90, 54, 0.08);
    color: var(--brand, #ff5a36);
}

.hdr-drawer-nav a svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
    display: block;
}

.hdr-drawer-nav a.is-active svg {
    opacity: 1;
}

.hdr-drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line, #e5e7eb);
    margin-top: 8px;
}

.hdr-drawer-auth .hdr-link,
.hdr-drawer-auth .hdr-cta {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    height: 42px;
}

.hdr-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    background: var(--surface-3, #f3f4f6);
    margin-top: 8px;
}

.hdr-drawer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand, #ff5a36), var(--gold, #f5a623));
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
}

.hdr-drawer-username {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink, #111);
}

.hdr-drawer-useremail {
    font-size: 12px;
    color: var(--muted, #6b7280);
}

.hdr-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
}

.hdr-drawer-links a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--ink-2, #374151);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.12s;
}

.hdr-drawer-links a:hover {
    background: var(--surface-3, #f3f4f6);
}

.hdr-drawer-logout {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line, #e5e7eb);
}

.hdr-drawer-logout button {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    color: #dc2626;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.12s;
}

.hdr-drawer-logout button:hover {
    background: rgba(220, 38, 38, 0.08);
}

/* ============================================================
   12. DESTINATION AUTOCOMPLETE — GLOBAL FIX
   Bu blok, her sayfada (tur detay, destinasyon, liste, blog…)
   dropdown'ın doğru görünmesini sağlar. Global svg { width:100% }
   kuralına karşı body prefix + !important ile direnir.
   ============================================================ */

/* --- WRAPPER --- */
body .dh-suggest {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--surface, #fff) !important;
    border: 1px solid var(--line, #e5e7eb) !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.25) !important;
    padding: 8px !important;
    z-index: 9999 !important;
    max-height: 480px;
    overflow-y: auto;
    color: var(--ink, #111) !important;
    box-sizing: border-box !important;
}

body .dh-suggest[hidden] {
    display: none !important;
}

/* --- GROUP --- */
body .dh-sug-group {
    display: block !important;
    padding: 0 !important;
    margin: 0 0 4px 0 !important;
}

body .dh-sug-group:last-child {
    margin-bottom: 0 !important;
}

/* --- GROUP HEADER --- */
body .dh-sug-group-head {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--muted, #6b7280) !important;
    box-sizing: border-box !important;
}

body .dh-sug-group-head svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    flex: 0 0 14px !important;
    display: block !important;
    opacity: 0.7;
    color: currentColor !important;
}

body .dh-sug-group-label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--muted, #6b7280) !important;
    line-height: 1.2 !important;
}

body .dh-sug-group-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 20px !important;
    height: 18px !important;
    padding: 0 6px !important;
    border-radius: 99px !important;
    background: var(--surface-3, #f3f4f6) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: var(--muted, #6b7280) !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

/* --- ITEM --- */
body .dh-sug {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: var(--ink, #111) !important;
    cursor: pointer !important;
    transition: background 0.12s !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.3 !important;
}

body .dh-sug:hover,
body .dh-sug:focus,
body .dh-sug.is-active {
    background: var(--surface-3, #f3f4f6) !important;
    text-decoration: none !important;
    outline: none !important;
}

/* --- ICON BOX --- */
body .dh-sug-ic {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 8px !important;
    background: var(--surface-3, #f3f4f6) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

body .dh-sug-ic svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    flex: 0 0 18px !important;
    display: block !important;
    color: var(--muted, #6b7280) !important;
}

body .dh-sug-ic img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* --- TEXT BODY --- */
body .dh-sug-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    overflow: hidden !important;
}

body .dh-sug-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--ink, #111) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

body .dh-sug-sub {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: var(--muted, #6b7280) !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */

/* Tablet & below: hide inline search, show search icon */
@media (max-width: 900px) {
    .hdr-search {
        display: none;
    }
    .hdr-search-btn {
        display: grid !important;
    }
    .hdr-menu-btn {
        display: grid !important;
    }
    .hdr-link,
    .hdr-cta {
        display: none !important;
    }
    .hdr-account-name {
        display: none !important;
    }
    .hdr-account-btn {
        padding: 4px !important;
        height: 38px;
        width: 38px;
        justify-content: center;
    }
    .hdr-account-btn .hdr-chev {
        display: none !important;
    }
}

/* Mobile: compact layout, 4-5 clean icons */
@media (max-width: 640px) {
    .hdr {
        height: 60px;
    }
    .hdr-inner {
        padding: 0 12px;
        gap: 8px;
    }
    .hdr-brand-name {
        display: none !important;
    }
    .hdr-brand {
        font-size: 16px;
    }
    .hdr-brand-icon {
        width: 34px;
        height: 34px;
    }
    .hdr-account {
        display: none !important;
    }
    .hdr-lang-code {
        display: none !important;
    }
    .hdr-lang-btn {
        padding: 0 6px !important;
        min-width: 38px;
    }
    .hdr-lang-flag {
        font-size: 18px;
    }
    .hdr-btn {
        width: 36px;
        height: 36px;
    }
    .hdr-btn svg {
        width: 17px;
        height: 17px;
        min-width: 17px;
        min-height: 17px;
    }
    .hdr-actions {
        gap: 2px;
    }
    .hdr-modal {
        padding-top: 12px;
    }
    .hdr-modal-body {
        margin: 0 12px;
        border-radius: 14px;
        padding: 12px;
    }
    .hdr-modal-search {
        padding: 10px 12px;
    }
    .hdr-modal-search input {
        font-size: 15px;
    }
    .hdr-lang-menu,
    .hdr-account-menu {
        right: -8px;
    }
}

/* Very small (iPhone SE 1st gen / 320px) */
@media (max-width: 360px) {
    .hdr-inner {
        padding: 0 10px;
        gap: 6px;
    }
    .hdr-btn {
        width: 34px;
        height: 34px;
    }
    .hdr-btn svg {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }
    .hdr-brand-icon {
        width: 32px;
        height: 32px;
    }
    .hdr-lang-btn {
        min-width: 34px;
    }
}