a.qhlk:link {
  color: black;
} 
a.qhlk:visited {
  color: black;
} 
a.qhlk:hover {
  color: black;
}
a.qhlk:active {
  color: black;
}
@media screen and (max-width: 2400px) {
/* start of desktop styles */
	.qb_header{
		padding-left : 4% ;
		padding-right : 5% ;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 30% ;
		order :  2 ;
		margin-top : 2vh ;
	}
	.qb_header_logo{
		width : 25vw ;
		order : 1 ;
	}
	.qb_header_nav{
		width : 40vw ;
		order : 3 ;
	}
}
@media screen and (max-width: 1400px) {
/* start of desktop styles */
	.qb_header{
		padding-left : 4% ;
		padding-right : 5% ;
		padding-top : 0px;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 35% ;
		order :  2 ;
		margin-left : auto ;
		margin-top : 0px;
	}
	.qb_header_logo{
		width : 220px;
		order : 1 ;
		margin-top : 0px;
	}
	.qb_header_nav{
		width : 35vw ;
		order : 3 ;
		margin-top : 2vh;
	}
}
@media screen and (max-width: 991px) {
/* start of large tablet styles */
	.qb_header{
		padding-left : 2% ;
		padding-right : 2% ;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 30% ;
		order :  2 ;
		margin-top : 2vh ;
	}
	.qb_header_logo{
		width : 25vw ;
		order : 1 ;
	}
	.qb_header_nav{
		width : 40vw ;
		order : 3 ;
	}
}

@media screen and (max-width: 767px) {
/* start of medium tablet styles */
	.qb_header{
		padding-left : 4% ;
		padding-right : 4% ;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 100% ;
		order :  3 ;
		margin-top : 2vh ;
	}
	.qb_header_logo{
		width : 25vw ;
		order : 1 ;
	}
	.qb_header_nav{
		width : 60vw ;
		order : 2 ;
	}
}
@media screen and (max-width: 767px) and (max-height: 400px) {
/* start of medium tablet styles */
	.qb_header{
		padding-left : 2% ;
		padding-right: 2% ;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 100vw ;
		order :  3 ;
		margin-top : 2vh ;
	}
	.qb_header_logo{
		width : 25vw ;
		order : 1 ;
	}
	.qb_header_nav{
		width : 60vw ;
		order : 2 ;
	}
}

@media screen and (max-width: 479px){
/* start of phone styles */
	.qb_header{
		padding-left : 3% ;
		padding-right : 2% ;
		display: flex;
		flex-direction: row; 
		justify-content: space-between;
	}
	.qb_header_src{
		width: 100% ;
		order :  3 ;
		margin-top : 2vh ;
		margin-left : 0px;
	}
	.qb_header_logo{
		width : 25vw ;
		order : 1 ;
	}
	.qb_header_nav{
		width : 65vw ;
		order : 2 ;
	}
}

/* ── Search bar, nav, CTA button ──────────────────────────────── */
.qb-header-search {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 52px 0 20px;
    border: 1px solid #d6dce5 !important;
    border-radius: 16px;
    background: #f3f5f7 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px rgba(15, 23, 42, 0.05) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.qb-header-search:hover,
.qb-header-search:focus-within {
    border-color: #c8d0da !important;
    background: #eef2f5 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 18px rgba(15, 23, 42, 0.08) !important;
    transform: translateY(-1px);
}

.qb-header-search i {
    position: absolute;
    left: 9px;
    top: 50%;
    color: #64748b;
    transform: translateY(-50%);
    pointer-events: none;
}

.qb-header-search-wrap {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.qb-header-search .form-control {
    height: 46px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #0f172a;
    font-size: 0.95rem;
}

.qb-header-search .form-control:focus {
    background: transparent;
    box-shadow: none;
}

.qb-header-search .form-control::placeholder {
    color: #94a3b8;
}

.qb-header-search-submit {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.qb-header-search-submit:hover,
.qb-header-search-submit:focus {
    background: #2563eb;
    color: #fff;
    outline: none;
}

.qb-search-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1050;
    display: none;
    padding: 10px;
    border: 1px solid #dbe3ee;
    border-radius: 16px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(8px);
}

.qb-search-suggestions.is-open {
    display: block;
}

.qb-search-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #64748b;
}

.qb-search-clear {
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0;
}

.qb-search-list {
    display: grid;
    gap: 6px;
}

.qb-search-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #0f172a;
    text-align: left;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.qb-search-item:hover,
.qb-search-item:focus,
.qb-search-item.is-active {
    background: #eff6ff;
    color: #1d4ed8;
    outline: none;
    transform: translateY(-1px);
}

.qb-search-item-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    flex-shrink: 0;
}

.qb-search-item-copy {
    min-width: 0;
    flex: 1 1 auto;
}

.qb-search-item-title {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qb-search-item-sub {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qb-search-item mark {
    padding: 0;
    background: transparent;
    color: #dc2626;
    font-weight: 700;
}

.qb-search-mobile-tip {
    display: none;
    margin-top: 8px;
    padding: 0 4px;
    font-size: 0.72rem;
    color: #64748b;
}

.qb-site-nav .qb-site-nav-link {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #475569;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.qb-site-nav .qb-site-nav-link:hover,
.qb-site-nav .qb-site-nav-link:focus {
    color: #0f172a;
}

.qb-site-nav .qb-site-nav-link.active {
    font-weight: 600;
    color: #0f172a;
}

#btn_smb_offer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Country selector link — prevent flag+name from wrapping */
.qb-country-link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Login link — compact pill style matching avatar size */
.qb-login-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid #d1d9e6;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151 !important;
    background: #fff;
    transition: border-color 0.18s, background 0.18s, color 0.18s;
    text-decoration: none;
    margin-left: 10px;
}

.qb-login-link:hover,
.qb-login-link:focus {
    border-color: #2563eb;
    color: #2563eb !important;
    background: #eff6ff;
    text-decoration: none;
}

#btn_smb_offer:hover,
#btn_smb_offer:focus {
    color: #ffffff !important;
    box-shadow: 0 16px 30px rgba(29, 78, 216, 0.3);
    filter: brightness(1.03);
    transform: translateY(-1px);
}

#btn_smb_offer i {
    width: 16px;
    height: 16px;
}

@media (max-width: 767.98px) {
    .qb-header-search {
        min-height: 44px;
        padding-left: 18px;
        padding-right: 48px;
    }

    .qb-header-search .form-control {
        height: 42px;
        font-size: 0.9rem;
    }

    .qb-header-search-submit {
        width: 32px;
        height: 32px;
        right: 6px;
    }

    #btn_smb_offer {
        min-height: 40px;
        padding: 0 14px;
    }

    .qb-header-search-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .qb-search-suggestions {
        top: calc(100% + 6px);
        padding: 8px;
        border-radius: 14px;
    }

    .qb-search-item {
        padding: 9px 10px;
    }

    .qb-search-mobile-tip {
        display: block;
    }
}

/* ── Nav row (Yahoo-style second row inside header) ──────── */
.qb-header-nav-row {
    order: 100 !important;
    flex-basis: 100% !important;
    flex-shrink: 0;
    width: 100%;
    padding: 0 4%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #fff;
}
.qb-header-nav-row::-webkit-scrollbar { display: none; }
.qb-header-nav-row .qb-site-nav {
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
    gap: 2px;
}
.qb-header-nav-row .qb-site-nav-link {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 0.88rem;
}

/* Compact shared header overrides */
.qb-site-header {
    align-items: center;
    row-gap: 4px;
    padding: 6px 4% 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.qb-site-header > [class*="col-"] {
    min-height: 46px;
    align-items: center;
}

.qb-header-logo-wrap,
.qb-header-logo-icon-wrap {
    display: flex;
    align-items: center;
}

.qb-header-logo-full {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 32px;
}

.qb-header-logo-icon {
    width: 34px !important;
    height: 34px !important;
}

.qb-header-actions {
    gap: 8px;
}

.qb-header-country-wrap {
    padding-left: 10px !important;
}

.qb-header-search-shell {
    margin: 2px 0 0;
}

.qb-header-search {
    min-height: 40px;
    padding: 0 46px 0 18px;
    border-radius: 14px;
}

.qb-header-search i {
    left: 10px;
}

.qb-header-search .form-control {
    height: 38px;
    font-size: 0.9rem;
}

.qb-header-search-submit {
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

#btn_smb_offer {
    gap: 6px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.84rem;
}

.qb-country-link {
    font-size: 0.875rem;
    line-height: 1;
}

.qb-country-link img {
    width: 26px;
}

.qb-login-link {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.8rem;
}

.qb-header-nav-row {
    box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.06);
}

.qb-header-nav-row .qb-site-nav-link {
    padding: 5px 10px 6px;
    font-size: 0.84rem;
}

@media (max-width: 767.98px) {
    .qb-site-header {
        row-gap: 6px;
        padding: 8px 3% 0;
    }

    .qb-site-header > [class*="col-"] {
        min-height: auto;
    }

    .qb-header-logo-full {
        max-height: 30px;
    }

    .qb-header-logo-icon {
        width: 30px !important;
        height: 30px !important;
    }

    .qb-header-search-shell {
        margin: 4px 0 0;
    }

    .qb-header-search {
        min-height: 40px;
        padding-left: 16px;
        padding-right: 44px;
    }

    .qb-header-search .form-control {
        height: 38px;
        font-size: 0.88rem;
    }

    .qb-header-search-submit {
        width: 28px;
        height: 28px;
        right: 6px;
    }

    #btn_smb_offer {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   AI search bar: visible mic, expanding panel, query echo,
   voice states. Icons are inline SVG (no feather dependency).
   ============================================================ */

/* Leading search glyph (replaces the old <i data-feather> icon). */
.qb-header-search .qb-hs-lead {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    color: #64748b;
    pointer-events: none;
}
.qb-header-search { padding-left: 40px; }

/* Room on the right for the action buttons. */
.qb-header-search { padding-right: 48px; }
.qb-header-search.qb-hs-has-voice { padding-right: 86px; }

/* Action buttons (mic + submit) */
.qb-hs-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.qb-hs-go {
    right: 8px;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, .28);
}
.qb-hs-go:hover, .qb-hs-go:focus { background: #1d4ed8; color: #fff; outline: none; }

.qb-hs-mic {
    right: 46px;
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .12);
}
.qb-hs-mic:hover, .qb-hs-mic:focus { background: #eff6ff; outline: none; }
.qb-hs-mic .qb-hs-mic-stop { display: none; }
.qb-hs-mic .qb-hs-mic-idle { display: inline-flex; }

/* Listening state: red pulsing mic that becomes a stop button. */
.qb-hs-mic.is-listening {
    background: #dc2626;
    color: #fff;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, .55);
    animation: qbMicPulse 1.4s infinite;
}
.qb-hs-mic.is-listening .qb-hs-mic-idle { display: none; }
.qb-hs-mic.is-listening .qb-hs-mic-stop { display: inline-flex; }
@keyframes qbMicPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, .5); }
    70%  { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Processing (server transcription) state: amber spinner tint. */
.qb-hs-mic.is-processing { background: #f59e0b; color: #fff; }
.qb-hs-mic.is-processing .qb-hs-mic-idle,
.qb-hs-mic.is-processing .qb-hs-mic-stop { opacity: .5; }

/* Expanding panel */
.qb-hs-panel {
    background: rgba(255, 255, 255, 0.99) !important;
    padding: 0;
    overflow: hidden;
}
/* ID specificity: a page-level inline #suggestions{display:none} rule otherwise wins. */
#suggestions.qb-hs-panel.is-open { display: block !important; }

/* Query echo: shows the full typed / spoken text (wraps), plus voice state. */
.qb-hs-echo {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid #eef2f7;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.qb-hs-echo[hidden] { display: none; }
.qb-hs-echo-badge {
    flex-shrink: 0;
    margin-top: 1px;
    padding: 2px 9px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    white-space: nowrap;
}
.qb-hs-echo.is-voice .qb-hs-echo-badge { background: #fee2e2; color: #b91c1c; }
.qb-hs-echo-text {
    flex: 1;
    min-width: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}
.qb-hs-echo-text.is-placeholder { color: #94a3b8; font-weight: 500; }

/* Voice equalizer bars */
.qb-hs-eq { display: inline-flex; align-items: center; gap: 3px; height: 18px; margin-top: 3px; }
.qb-hs-eq[hidden] { display: none; }
.qb-hs-eq i {
    width: 3px;
    height: 6px;
    border-radius: 2px;
    background: #dc2626;
    animation: qbEq 1s infinite ease-in-out;
}
.qb-hs-eq i:nth-child(2) { animation-delay: .15s; }
.qb-hs-eq i:nth-child(3) { animation-delay: .3s; }
.qb-hs-eq i:nth-child(4) { animation-delay: .45s; }
.qb-hs-eq i:nth-child(5) { animation-delay: .6s; }
@keyframes qbEq { 0%, 100% { height: 6px; } 50% { height: 16px; } }

/* Suggestion list */
.qb-hs-list { padding: 8px; }
.qb-hs-list:empty { display: none; }
.qb-sugg-item { display: block; border-radius: 9px; text-decoration: none; }
.qb-sugg-item:hover, .qb-sugg-active { background: #f1f5f9; }

@media (max-width: 767.98px) {
    .qb-header-search.qb-hs-has-voice { padding-right: 82px; }
    .qb-hs-btn { width: 32px; height: 32px; }
    .qb-hs-mic { right: 44px; }
    .qb-hs-echo-text { font-size: 14px; }
}