/* Adforest-like header with search and categories */
.adf2-header{
    position: relative;
    z-index: 10000;
    margin-top: 0 !important;
}

/* Premium marketplace header refresh */
.adf2-header {
    background: var(--tdv-card, #fff);
    border-bottom: 1px solid var(--tdv-border, #e5e7eb);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.adf2-container {
    max-width: var(--pixi-site-shell-max-width, 1380px);
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--pixi-site-shell-gutter, 20px);
}
.adf2-topbar {
    background: #f8fafc;
    color: var(--tdv-muted, #6b7280);
    font-size: 14px;
    border-bottom: 1px solid var(--tdv-border, #e5e7eb);
}
.adf2-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 8px 0;
}
.adf2-topbar__left,
.adf2-topbar__center,
.adf2-topbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.adf2-topbar__center { position: relative; min-width: 0; }
.adf2-social a {
    color: #4B5563;
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform .15s ease, opacity .15s ease;
}
.adf2-social a:hover { transform: translateY(-1px); opacity: .85; }
.adf2-location {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    cursor: pointer;
}
.adf2-location__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    max-height: 320px;
    overflow: auto;
    background: #fff;
    color: #111827;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    transform: translateY(6px);
    z-index: 30;
}
.adf2-location__dropdown.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.adf2-location__search-wrap { position: sticky; top: 0; z-index: 2; background: #fff; padding-bottom: 8px; margin-bottom: 6px; }
.adf2-location__search {
    width: 100%;
    border: 1px solid #0F172A;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
}
.adf2-location__list { list-style: none; margin: 0; padding: 0; }
.adf2-location__list li { margin: 4px 0; }
.adf2-location__list a { color: #111827; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.adf2-location__list a.is-search-selected,
.adf2-location__toggle.is-search-selected{
    font-weight: 800;
    background: #F5D5D0;
    border-radius: 6px;
}
.adf2-location__toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 2px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #111827;
    cursor: pointer;
    font: inherit;
    text-align: left;
}
.adf2-location__name { font-weight: 700; }
.adf2-location__hint { color: #0F172A; font-size: 11px; font-weight: 600; white-space: nowrap; }
.adf2-location__hint-arrow { display: inline-block; transition: transform .18s ease; margin-right: 3px; }
.adf2-location__toggle.is-open .adf2-location__hint-arrow { transform: rotate(180deg); }
.adf2-location__children { display: none; margin-left: 14px; padding-left: 10px; border-left: 1px solid #eee; }
.adf2-location__children.is-open { display: block; }
.adf2-postad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--tdv-accent, #f59e0b);
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
    transition: transform var(--tdv-transition, 180ms ease), box-shadow var(--tdv-transition, 180ms ease), background var(--tdv-transition, 180ms ease);
}
.adf2-postad:hover {
    background: #fbbf24;
    color: #111827;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.3);
}
.adf2-bar2 {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid var(--tdv-border, #e5e7eb);
}
.adf2-bar2__inner {
    display: grid;
    grid-template-columns: 220px 1fr 280px;
    gap: 16px;
    align-items: center;
    min-width: 0;
}
.adf2-brand{ min-width: 0; }
.adf2-brand img { max-height: 65px; }
.adf2-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--tdv-border, #e5e7eb);
    border-radius: 999px;
    padding: 5px;
    box-shadow: var(--tdv-shadow-sm, 0 1px 2px rgba(15,23,42,.06));
    min-width: 0;
    position: relative;
    overflow: visible;
}
.adf2-search:focus-within {
    border-color: rgba(245, 158, 11, 0.72);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14), var(--tdv-shadow-md, 0 12px 30px rgba(15,23,42,.08));
}
.adf2-search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 14px;
    font-size: 15px;
    outline: none;
    min-width: 0;
    color: var(--tdv-text, #111827);
    border-radius: 999px;
}
.adf2-search input::placeholder{ color: rgba(71,85,105,0.85); }
.adf2-search__select{
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-weight: 700;
    color: var(--tdv-text, #111827);
    outline: none;
    max-width: 240px;
    min-width: 160px;
}
.adf2-search__category{
    position: relative;
    flex: 0 0 auto;
    min-width: 190px;
    max-width: 280px;
}
.adf2-search__category-toggle{
    width: 100%;
    border: none;
    background: transparent;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--tdv-text, #111827);
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}
.adf2-search__category-label{
    display: block;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.adf2-search__category-caret{
    flex: 0 0 auto;
    font-size: 12px;
    color: #4B5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.adf2-search__category-caret i{
    font-size: 11px;
}
.adf2-category-picker__dropdown{
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(380px, calc(100vw - 32px));
    max-height: 420px;
    overflow: auto;
    background: #fff;
    border: 1px solid rgba(42,33,21,.10);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(42,33,21,.16);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 10060;
}
.adf2-category-picker__dropdown.is-open{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.adf2-search__category:hover .adf2-category-picker__dropdown,
.adf2-search__category:focus-within .adf2-category-picker__dropdown{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.adf2-category-picker__search-wrap{
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
.adf2-category-picker__search{
    width: 100%;
    border: 1px solid #0F172A;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    outline: none;
}
.adf2-category-picker__clear,
.adf2-category-picker__select{
    width: 100%;
    border: 0;
    background: transparent;
    color: #111827;
    text-align: left;
    font: inherit;
    cursor: pointer;
}
.adf2-category-picker__clear,
.adf2-category-picker__row{
    display: flex;
    align-items: center;
    gap: 8px;
}
.adf2-category-picker__clear{
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 10px;
    font-weight: 800;
    color: #0F172A;
}
.adf2-category-picker__tree{
    min-height: 0;
}
.adf2-category-picker__list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.adf2-category-picker__node{
    margin: 4px 0;
}
.adf2-category-picker__row{
    min-width: 0;
}
.adf2-category-picker__select{
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 10px;
}
.adf2-category-picker__label{
    min-width: 0;
    line-height: 1.3;
}
.adf2-category-picker__check{
    opacity: 0;
    color: #0F172A;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.adf2-category-picker__check i{
    font-size: 11px;
}
.adf2-category-picker__clear.is-selected .adf2-category-picker__check,
.adf2-category-picker__select.is-selected .adf2-category-picker__check{
    opacity: 1;
}
.adf2-category-picker__clear:hover,
.adf2-category-picker__clear.is-selected,
.adf2-category-picker__select:hover,
.adf2-category-picker__select.is-selected,
.adf2-category-picker__select.is-search-selected{
    background: #F5D5D0;
}
.adf2-category-picker__toggle{
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 10px;
    background: #ffffff;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.adf2-category-picker__toggle-arrow{
    display: inline-block;
    transition: transform .18s ease;
}
.adf2-category-picker__toggle.is-open .adf2-category-picker__toggle-arrow{
    transform: rotate(180deg);
}
.adf2-category-picker__children{
    display: none;
    margin-left: 16px;
    padding-left: 10px;
    border-left: 1px solid #e5e7eb;
}
.adf2-category-picker__children.is-open{
    display: block;
}
.adf2-search > button[type="submit"] {
    background: #0F172A;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0,0,0,.16);
}

/* ---------------- TDV mock (header_variant=adforest2) ---------------- */
.adf2-header--tdv-mock .adf2-topbar{
    background: #0F172A;
    color: rgba(255,255,255,0.92);
    font-size: 13px;
}
.adf2-header--tdv-mock .adf2-topbar__inner{
    padding: 10px 0;
    gap: 14px;
}
.adf2-header--tdv-mock .tdv-mock-topbar__welcome{
    flex: 0 0 auto;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 36vw;
}
.adf2-header--tdv-mock .tdv-mock-topbar__admin-btn{
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: #0F172A;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.25;
    border: 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.12);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.adf2-header--tdv-mock .tdv-mock-topbar__admin-btn:hover{
    filter: brightness(1.05);
    text-decoration: none;
    color: #fff !important;
}
.adf2-header--tdv-mock .tdv-mock-topbar__trust{
    display: flex;
    gap: 18px;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
    /* Don't clip on narrower shells (e.g. embedded pages). */
    flex-wrap: wrap;
    white-space: normal;
}
.adf2-header--tdv-mock .tdv-mock-trust-i{
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
}
.adf2-header--tdv-mock .tdv-mock-trust-i i{
    color: #F59E0B;
}
.adf2-header--tdv-mock .tdv-mock-topbar__account{
    gap: 10px;
    flex: 0 0 auto;
    white-space: nowrap;
}
.adf2-header--tdv-mock .tdv-mock-auth-link{
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 800;
}
.adf2-header--tdv-mock .tdv-mock-auth-link:hover{
    color: #F59E0B;
}
.adf2-header--tdv-mock a.tdv-mock-trust-i--dash{
    text-decoration:none;
    color:inherit;
    border-radius:8px;
    padding:4px 10px;
    margin-inline:-6px -2px;
    transition:
        background-color .15s ease,
        color .15s ease;
}
.adf2-header--tdv-mock a.tdv-mock-trust-i--dash:hover{
    background:rgba(96,161,162,0.16);
    color:#F59E0B;
}
.adf2-header--tdv-mock .pixi-theme-toggle--tdv-mock{
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.92);
    box-shadow: none;
    padding: 8px 12px;
    min-height: 36px;
}
.adf2-header--tdv-mock .pixi-theme-toggle--tdv-mock:hover{
    border-color: rgba(215,167,94,0.55);
}

.adf2-header--tdv-mock .adf2-bar2{
    border-bottom-color: #e5e7eb;
}
.adf2-header--tdv-mock .adf2-bar2__inner{
    grid-template-columns: 240px 1fr 360px;
    align-items: center;
}
.adf2-header--tdv-mock .adf2-search{
    background: #f5f6f7;
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(0,0,0,0.05);
}
.adf2-header--tdv-mock .adf2-search input{
    background: transparent;
    color: #111827;
}
.adf2-header--tdv-mock .adf2-search__submit-main{
    width: auto;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: #F59E0B;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(179,35,27,0.30);
}
.adf2-header--tdv-mock .adf2-search__submit-main i{
    display: none;
}
.adf2-header--tdv-mock .adf2-right{
    gap: 12px;
}
.adf2-header--tdv-mock .tdv-mock-phone{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff7ed;
    border: 1px solid rgba(215,167,94,0.25);
    border-radius: 14px;
    padding: 8px 12px;
}
.adf2-header--tdv-mock .tdv-mock-phone__ico{
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(215,167,94,0.18);
    color: #F59E0B;
}
.adf2-header--tdv-mock .tdv-mock-phone__label{
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #4B5563;
    line-height: 1.1;
}
.adf2-header--tdv-mock .tdv-mock-phone__nr{
    display: block;
    font-weight: 900;
    color: #111827;
    text-decoration: none;
    line-height: 1.1;
}
.adf2-header--tdv-mock .adf2-cart{
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    text-decoration: none;
    position: relative;
}
.adf2-header--tdv-mock .adf2-cart__badge{
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 5px;
    background: #0F172A;
    color: #ffffff;
    font-weight: 900;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.adf2-header--tdv-mock .adf2-bar3{
    border-bottom: 1px solid rgba(0,0,0,0.07);
    background: #0F172A;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.adf2-header--tdv-mock .adf2-bar3__inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}
.adf2-header--tdv-mock .adf2-nav__link{
    color: rgba(255,255,255,0.88);
    font-weight: 800;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 10px;
}
.adf2-header--tdv-mock .adf2-nav__link:hover{
    background: rgba(255,255,255,0.06);
}
.adf2-header--tdv-mock .adf2-nav__postad--tdv-mock{
    background: #F59E0B;
    color: #fff;
    font-weight: 900;
    border-radius: 12px;
    padding: 10px 14px;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(179,35,27,0.35);
}

@media (max-width: 980px){
    .adf2-header--tdv-mock .tdv-mock-topbar__welcome{ display:none; }
    .adf2-header--tdv-mock .tdv-mock-topbar__trust{ justify-content:flex-start; }
    .adf2-header--tdv-mock .adf2-topbar__inner{ flex-wrap: wrap; }
    .adf2-header--tdv-mock .adf2-bar2__inner{ grid-template-columns: 200px 1fr; }
    .adf2-header--tdv-mock .tdv-mock-phone{ display:none; }
}
.adf2-search__visual-btn{
    background: #111827;
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(42,33,21,.18);
}
.adf2-search__visual-btn.is-active{
    background: linear-gradient(135deg, #0ea5e9, #F59E0B);
}
.adf2-search__visual-btn.is-loading{
    opacity: .7;
    pointer-events: none;
}
.cad-visual-chooser{
    position: fixed;
    inset: 0;
    z-index: 20050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    box-sizing: border-box;
}
.cad-visual-chooser.is-open{
    display: flex;
}
body.cad-visual-chooser-open{
    overflow: hidden;
    touch-action: none;
}
.cad-visual-chooser__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(42,33,21,.48);
    backdrop-filter: blur(4px);
}
.cad-visual-chooser__dialog{
    position: relative;
    z-index: 20051;
    width: min(360px, calc(100vw - 32px));
    max-width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 22px;
    padding: 22px 18px 18px;
    box-shadow: 0 28px 60px rgba(42,33,21,.28);
}
.cad-visual-chooser__close{
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eeeeee;
    color: #1e293b;
    font-size: 20px;
    cursor: pointer;
}
.cad-visual-chooser__title{
    font-size: 18px;
    font-weight: 900;
    color: #111827;
    margin: 0 0 14px;
    text-align: center;
}
.cad-visual-chooser__actions{
    display: grid;
    gap: 12px;
}
.cad-visual-chooser__btn{
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}
.cad-visual-chooser__btn--camera{
    background: linear-gradient(135deg, #111827, #F59E0B);
    color: #fff;
    border-color: transparent;
}
.cad-visual-chooser__btn--gallery{
    background: linear-gradient(135deg, #ffffff, #eeeeee);
}
.cad-visual-chooser__cancel{
    margin-top: 12px;
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: #eeeeee;
    color: #4B5563;
    font-weight: 800;
    cursor: pointer;
}
.adf2-search-suggest{
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(42,33,21,.18);
    z-index: 150;
    display: none;
    overflow: hidden;
}
.adf2-search-suggest.is-open{ display:block; }
.adf2-search-suggest__list{
    max-height: 360px;
    overflow: auto;
}
.adf2-search-suggest__item{
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    border-bottom: 1px solid #eeeeee;
    text-decoration: none;
}
.adf2-search-suggest__item:last-child{ border-bottom: 0; }
.adf2-search-suggest__item:hover,
.adf2-search-suggest__item.is-active{
    background: #ffffff;
}
.adf2-search-suggest__title{
    font-weight: 800;
    color: #111827;
    font-size: 14px;
    line-height: 1.35;
}
.adf2-search-suggest__meta{
    color: #6B7280;
    font-size: 12px;
}
.adf2-search-suggest__empty{
    padding: 11px 12px;
    color: #6B7280;
    font-size: 13px;
}
.adf2-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}
.adf2-cart{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}
.adf2-cart:hover{ background:#fff; transform: translateY(-1px); }
.adf2-cart__badge{
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    font-weight: 800;
    text-align: center;
}
.adf2-link {
    color: #111827;
    text-decoration: none;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-weight: 600;
}
.adf2-bar3 {
    border-bottom: 1px solid rgba(0,0,0,0.07);
    background: #ffffff;
    color: #111827;
    position: relative;
    z-index: 40;
}
.adf2-bar3__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
    overflow: visible;
}
.adf2-cats {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}
.adf2-cats__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    bottom: auto;
    background: #fff;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    padding: 0;
    width: min(860px, calc(100vw - 32px));
    max-height: min(70vh, 640px);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 45;
    border: 1px solid rgba(42,33,21,.10);
    transform-origin: top left;
}
.adf2-cats__dropdown.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.adf2-cats:hover .adf2-cats__dropdown,
.adf2-cats:focus-within .adf2-cats__dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.adf2-cats__panel{
    display:grid;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
}
.adf2-cats__panel-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:18px 18px 14px;
    border-bottom:1px solid rgba(42,33,21,.08);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}
.adf2-cats__eyebrow{
    margin:0 0 4px;
    font-size:11px;
    line-height:1;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#6B7280;
    font-weight:800;
}
.adf2-cats__title{
    margin:0;
    font-size:20px;
    line-height:1.2;
    color:#111827;
}
.adf2-cats__desktop{
    display:grid;
    grid-template-columns:minmax(240px, 270px) minmax(0, 1fr);
    min-height:360px;
    height: calc(min(80vh, 720px) - 76px);
    max-height: calc(min(80vh, 720px) - 76px);
}
.adf2-cats__roots{
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:14px;
    background:#ffffff;
    border-right:1px solid rgba(42,33,21,.08);
    overflow:auto;
}
.adf2-cats__root{
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px;
    border:none;
    border-radius:16px;
    background:transparent;
    color:#111827;
    text-align:left;
    font-weight:700;
    cursor:pointer;
}
.adf2-cats__root:hover{
    background:#e5e7eb;
}
.adf2-cats__root.is-active{
    background:#fff;
    color:#111827;
    box-shadow:0 8px 20px rgba(42,33,21,.08);
}
.adf2-cats__root-icon,
.adf2-cats__subcat-icon{
    width:34px;
    height:34px;
    border-radius:12px;
    background:rgba(215,167,94,.16);
    color:#111827;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    font-size:15px;
}
.adf2-cats__icon-fallback{
    font-size:13px;
    font-weight:800;
}
.adf2-cats__root-text{
    flex:1 1 auto;
    min-width:0;
}
.adf2-cats__root-arrow{
    color:#6B7280;
    font-size:18px;
    display:inline-flex;
    align-items:center;
}
.adf2-cats__root-arrow i{font-size:12px;line-height:1;}
.adf2-cats__desktop-panels{
    min-width:0;
    padding:16px;
    overflow:auto;
    min-height: 0;
}
.adf2-cats__desktop-panel{
    display:none;
}
.adf2-cats__desktop-panel.is-active{
    display:block;
}
.adf2-cats__all-link,
.adf2-cats__subcat{
    width:100%;
    display:flex;
    align-items:center;
    gap:10px;
    padding:13px 14px;
    border:1px solid rgba(42,33,21,.08);
    border-radius:16px;
    background:#fff;
    color:#111827;
    text-decoration:none;
    font-weight:700;
}
.adf2-cats__all-link{
    margin-bottom:12px;
    background:#fffbea;
}
.adf2-cats__subcat:hover,
.adf2-cats__all-link:hover{
    text-decoration:none;
    border-color:rgba(215,167,94,.45);
    background:#fffdf5;
}
.adf2-cats__subgrid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
    gap:10px;
}
.adf2-cats__empty{
    margin:0;
    color:#6B7280;
    font-weight:600;
}
.adf2-cats__commerce-leaf{
    margin:0;
    padding:8px 0 4px;
}
.adf2-cats__commerce-leaf .adf2-cats__all-link{
    margin:0;
}
.adf2-cats__mobile{
    display:none;
    padding:14px;
    max-height: calc(min(80vh, 720px) - 76px);
    overflow: auto;
}
.adf2-cats__accordion{
    display:grid;
    gap:8px;
}
.adf2-cats__accordion + .adf2-cats__accordion{
    margin-top:10px;
}
.adf2-cats__accordion-trigger{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:13px 14px;
    border:1px solid rgba(42,33,21,.08);
    border-radius:16px;
    background:#fff;
    color:#111827;
    text-align:left;
    font-weight:700;
    cursor:pointer;
}
.adf2-cats__accordion-trigger-main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
}
.adf2-cats__accordion-arrow{
    color:#6B7280;
    transition:transform .2s ease;
    display:inline-flex;
    align-items:center;
}
.adf2-cats__accordion-arrow i{font-size:12px;line-height:1;}
.adf2-cats__accordion-panel{
    display:none;
    padding-left:10px;
    gap:8px;
}
.adf2-cats__accordion.is-open .adf2-cats__accordion-panel{
    display:grid;
}
.adf2-cats__accordion.is-open .adf2-cats__accordion-arrow{
    transform:rotate(180deg);
}
.adf2-nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.adf2-nav__postad{
    display: none;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.adf2-nav__postad:hover{ filter: brightness(1.05); text-decoration: none; }
.adf2-nav a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    padding: 4px 2px;
}
.adf2-nav a:hover::after {
    width: 100%;
    opacity: 1;
}
.adf2-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: #111827;
    opacity: 0;
    transition: width .2s ease, opacity .2s ease;
}

/* User dropdown styles (compact) */
.adf-user {
    position: relative;
}
.adf-user__toggle--compact {
    background: #eeeeee;
    color: #111827;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.adf-user__toggle--compact span{
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
}
.adf-user__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
    z-index: 20;
}
.adf-user__menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.adf-user__menu--compact {
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 10px 28px rgba(0,0,0,.14);
}
.adf-user__lang{
    display: none;
    margin: 4px 0;
    padding: 8px 10px;
}
.adf-user__lang .pixi-lang-select{
    display: inline-flex;
    min-width: 100%;
}
.adf-user__lang .pixi-lang-select__menu{
    left: 10px;
    right: 10px;
    min-width: auto;
}
.adf-user__menu a {
    display: block;
    padding: 8px 10px;
    color: #111827;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}
.adf-user__menu a:hover {
    background: #ffffff;
}

@media (max-width: 1180px){
    .adf2-bar2__inner { grid-template-columns: 200px 1fr 240px; }
    .adf2-search__category { max-width: 220px; min-width: 140px; }
}

@media (max-width: 720px){
    .adf2-topbar__inner { flex-wrap: wrap; }
    .adf2-bar2__inner{
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand right"
            "search search";
    }
    .adf2-brand{ grid-area: brand; }
    .adf2-right{ grid-area: right; justify-content: flex-end; }
    .adf2-search{ grid-area: search; width: 100%; }
    .adf2-topbar__right{ width: auto; }
}

@media (max-width: 900px){
    .adf2-topbar{ background: #0F172A; border-bottom: 1px solid #eeeeee; }
    .adf2-topbar__inner{ justify-content: space-between; padding: 6px 0; }
    .adf2-topbar__left,
    .adf2-topbar__center{ display: none; }
    .adf2-topbar__right{
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }
    .adf2-link{
        font-size: 13px;
        padding: 6px 8px;
        border-radius: 999px;
        background: #fff;
        border: 1px solid #e5e7eb;
    }
    .adf2-postad{
        padding: 7px 10px;
        border-radius: 999px;
        background: #111827;
        color: #fff;
    }

    .adf2-location__dropdown{
        width: calc(100vw - 24px);
        max-width: 560px;
        left: 50%;
        right: auto;
        transform: translate(-50%, 6px);
    }
    .adf2-location__dropdown.is-open{ transform: translate(-50%, 0); }

    .adf2-bar3__inner{ flex-direction: column; align-items: stretch; }
    .adf2-cats{
        width: 100%;
        justify-content: space-between;
        padding: 10px 12px;
        background: rgba(255,255,255,0.25);
        border-radius: 12px;
    }
    .adf2-cats__dropdown{
        width: calc(100vw - 24px);
        max-width: 560px;
        left: 50%;
        right: auto;
        transform: translate(-50%, 6px);
    }
    .adf2-cats__dropdown.is-open{ transform: translate(-50%, 0); }
    .adf2-cats__desktop{ display:none; }
    .adf2-cats__mobile{ display:block; }

    .adf2-nav{
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 2px 8px 6px;
        scroll-padding-left: 8px;
        scroll-padding-right: 8px;
        justify-content: center;
    }
    .adf2-nav::-webkit-scrollbar{ height: 8px; }
    .adf2-nav::-webkit-scrollbar-thumb{ background: rgba(0,0,0,0.18); border-radius: 999px; }
    .adf2-nav::-webkit-scrollbar-track{ background: rgba(0,0,0,0.06); border-radius: 999px; }
    .adf2-nav a{
        flex: 0 0 auto;
        padding: 7px 12px;
        white-space: nowrap;
        background: rgba(255,255,255,0.35);
        border-radius: 999px;
        border: 1px solid rgba(17,24,39,0.08);
    }
    .adf2-nav__postad{ display: inline-flex; }
    .adf2-nav__link--home{
        display:none;
    }
}

@media (max-width: 520px){
    .adf2-bar2__inner{
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand right"
            "search search";
        align-items: center;
        justify-items: stretch;
    }
    .adf2-brand{ justify-self: start; }
    .adf2-right{ justify-content: flex-end; }
    .adf2-search{ border-radius: 16px; padding: 8px; flex-wrap: wrap; }
    .adf2-search input{ flex: 1 1 100%; padding: 10px 12px; }
    .adf2-search__category{ flex: 1 1 auto; min-width: 0; max-width: 100%; width: 100%; }
    .adf2-search__category-toggle{ padding: 10px 12px; }
    .adf2-category-picker__dropdown{
        left: 0;
        right: 0;
        width: auto;
        max-height: 60vh;
    }
    .adf2-search > button[type="submit"]{ width: 44px; height: 44px; }
    .adf2-postad span{ display: none; }
    .adf2-cats__dropdown{
        max-width:none;
        max-height:72vh;
    }
}

@media (max-width: 980px){
    .adf2-topbar.adf2-topbar--auth{ display: none; }
    .adf-user__lang{ display: block; }
}

/* Notification bell styles */
.notification {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    padding: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: 300ms;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 40px;
    height: 40px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
    margin-left: 10px;
}

.notification:hover {
    background: rgba(170, 170, 170, 0.062);
    transform: translateY(-1px);
}

.notification:hover > .bell-container {
    animation: bell-animation 650ms ease-out 0s 1 normal both;
}

.bell-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bell {
    border: 2.17px solid #111;
    border-radius: 10px 10px 0 0;
    width: 15px;
    height: 17px;
    background: transparent;
    display: block;
    position: relative;
    top: -3px;
}

.bell::before,
.bell::after {
    content: "";
    background: #111827;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2.17px;
}

.bell::before {
    top: 100%;
    width: 20px;
}

.bell::after {
    top: calc(100% + 4px);
    width: 7px;
}

.notification__count {
    color: white;
    font-size: 12px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background-color: #0F172A;
    position: absolute;
    right: -6px;
    top: -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    line-height: 18px;
    font-weight: 800;
    text-align: center;
}

@keyframes bell-animation {
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-15deg);
        scale: 1.1;
    }
    60% {
        transform: rotate(10deg);
        scale: 1.1;
    }
    80% {
        transform: rotate(-10deg);
    }
    0%,
    100% {
        transform: rotate(0deg);
    }
}

@media (max-width: 420px){
    .adf-user__toggle--compact span{ display: none; }
}

/* Dark theme support for Adforest Search header */
html[data-user-theme="dark"] .adf2-topbar {
    background: #111827;
    color: #e5e7eb;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
html[data-user-theme="dark"] .adf2-social a,
html[data-user-theme="dark"] .adf2-location,
html[data-user-theme="dark"] .adf2-link {
    color: #d1d5db;
}
html[data-user-theme="dark"] .adf2-location__dropdown {
    background: #111827;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 38px rgba(0,0,0,.45);
}
html[data-user-theme="dark"] .adf2-location__search-wrap { background: #111827; }
html[data-user-theme="dark"] .adf2-location__search {
    background: #111827;
    border-color: rgba(179,35,27, 0.7);
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-location__toggle { color: #e5e7eb; }
html[data-user-theme="dark"] .adf2-location__hint { color: #D06060; }
html[data-user-theme="dark"] .adf2-location__list a.is-search-selected,
html[data-user-theme="dark"] .adf2-location__toggle.is-search-selected{
    background: rgba(179,35,27, 0.22);
}
html[data-user-theme="dark"] .adf2-location__list a {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-location__children {
    border-left-color: rgba(148, 163, 184, 0.25);
}
html[data-user-theme="dark"] .adf2-postad {
    #0F172A;
    color: #111827;
}

html[data-user-theme="dark"] .adf2-bar2 {
    background: #111827;
    border-bottom-color: rgba(148, 163, 184, 0.2);
}
html[data-user-theme="dark"] .adf2-search {
    background: rgba(42,33,21, 0.92);
    box-shadow: inset 0 1px 0 rgba(148,163,184,.12);
    border: 1px solid rgba(148, 163, 184, 0.24);
}
html[data-user-theme="dark"] .adf2-search-suggest{
    background: #111827;
    border-color: rgba(148, 163, 184, 0.26);
    box-shadow: 0 18px 40px rgba(0,0,0,.42);
}
html[data-user-theme="dark"] .adf2-search-suggest__item{
    border-bottom-color: rgba(148, 163, 184, 0.14);
}
html[data-user-theme="dark"] .adf2-search-suggest__item:hover,
html[data-user-theme="dark"] .adf2-search-suggest__item.is-active{
    background: rgba(56, 189, 248, 0.12);
}
html[data-user-theme="dark"] .adf2-search-suggest__title{
    color: #ffffff;
}
html[data-user-theme="dark"] .adf2-search-suggest__meta,
html[data-user-theme="dark"] .adf2-search-suggest__empty{
    color: #6B7280;
}
html[data-user-theme="dark"] .adf2-search input {
    background: rgba(30, 41, 59, 0.95);
    color: #ffffff;
}
html[data-user-theme="dark"] .adf2-search input::placeholder {
    color: #6B7280;
}
html[data-user-theme="dark"] .adf2-search__select {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-search__category-toggle {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-search__category-caret {
    color: #6B7280;
}
html[data-user-theme="dark"] .adf2-category-picker__dropdown,
html[data-user-theme="dark"] .adf2-category-picker__search-wrap {
    background: #111827;
}
html[data-user-theme="dark"] .adf2-category-picker__dropdown {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 42px rgba(42,33,21,.55);
}
html[data-user-theme="dark"] .adf2-category-picker__search {
    background: rgba(42,33,21,0.92);
    color: #e5e7eb;
    border-color: rgba(179,35,27,0.72);
}
html[data-user-theme="dark"] .adf2-category-picker__search::placeholder {
    color: #6B7280;
}
html[data-user-theme="dark"] .adf2-category-picker__clear,
html[data-user-theme="dark"] .adf2-category-picker__select {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-category-picker__toggle {
    background: rgba(148,163,184,.12);
    color: #D08080;
}
html[data-user-theme="dark"] .adf2-category-picker__children {
    border-left-color: rgba(148,163,184,.18);
}
html[data-user-theme="dark"] .adf2-category-picker__clear:hover,
html[data-user-theme="dark"] .adf2-category-picker__clear.is-selected,
html[data-user-theme="dark"] .adf2-category-picker__select:hover,
html[data-user-theme="dark"] .adf2-category-picker__select.is-selected,
html[data-user-theme="dark"] .adf2-category-picker__select.is-search-selected {
    background: rgba(127,29,29,.24);
}

html[data-user-theme="dark"] .adf2-cart,
html[data-user-theme="dark"] .notification {
    background: rgba(42,33,21, 0.92);
    border-color: rgba(148, 163, 184, 0.26);
    color: #e5e7eb;
    box-shadow: 0 10px 24px rgba(0,0,0,.38);
}
html[data-user-theme="dark"] .bell {
    border-color: #e5e7eb;
}
html[data-user-theme="dark"] .bell::before,
html[data-user-theme="dark"] .bell::after {
    background: #e5e7eb;
}
html[data-user-theme="dark"] .adf-user__toggle--compact {
    background: rgba(30, 41, 59, 0.9);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.2);
}
html[data-user-theme="dark"] .adf-user__menu {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 38px rgba(0,0,0,.45);
}
html[data-user-theme="dark"] .adf-user__menu a {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf-user__menu a:hover {
    background: rgba(56, 189, 248, 0.12);
}

html[data-user-theme="dark"] .adf2-bar3 {
    border-bottom: 1px solid rgba(0,0,0,0.07);
    background: #374151;
    color: #e5e7eb;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}
html[data-user-theme="dark"] .adf2-cats {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-cats__dropdown {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 38px rgba(0,0,0,.45);
}
html[data-user-theme="dark"] .adf2-cats__panel-head{
    border-bottom-color: rgba(148,163,184,.18);
}
html[data-user-theme="dark"] .adf2-cats__eyebrow{
    color:#8AC5C6;
}
html[data-user-theme="dark"] .adf2-cats__title,
html[data-user-theme="dark"] .adf2-cats__root,
html[data-user-theme="dark"] .adf2-cats__accordion-trigger,
html[data-user-theme="dark"] .adf2-cats__subcat,
html[data-user-theme="dark"] .adf2-cats__all-link{
    color:#e5e7eb;
}
html[data-user-theme="dark"] .adf2-cats__roots{
    background:#111827;
    border-right-color: rgba(148,163,184,.14);
}
html[data-user-theme="dark"] .adf2-cats__root:hover{
    background:#374151;
}
html[data-user-theme="dark"] .adf2-cats__root.is-active{
    background:#1e293b;
    box-shadow:none;
}
html[data-user-theme="dark"] .adf2-cats__root-icon,
html[data-user-theme="dark"] .adf2-cats__subcat-icon{
    background:rgba(215,167,94,.14);
    color:#ffffff;
}
html[data-user-theme="dark"] .adf2-cats__subcat,
html[data-user-theme="dark"] .adf2-cats__all-link,
html[data-user-theme="dark"] .adf2-cats__accordion-trigger{
    background:#111827;
    border-color: rgba(148,163,184,.18);
}
html[data-user-theme="dark"] .adf2-cats__all-link{
    background:#374151;
}
html[data-user-theme="dark"] .adf2-cats__subcat:hover,
html[data-user-theme="dark"] .adf2-cats__all-link:hover{
    background:#111827;
    border-color: rgba(215,167,94,.32);
}
html[data-user-theme="dark"] .adf2-cats__empty{
    color:#6B7280;
}
html[data-user-theme="dark"] .adf2-nav a {
    color: #e5e7eb;
}
html[data-user-theme="dark"] .adf2-nav a::after {
    background: #F59E0B;
}

/* Final premium light overrides, scoped after legacy variants. */
.adf2-header--tdv-mock .adf2-container {
    max-width: var(--pixi-site-shell-max-width, 1380px);
    padding-inline: var(--pixi-site-shell-gutter, 20px);
}
.adf2-header--tdv-mock .adf2-topbar,
.adf2-header--tdv-mock .adf2-bar3 {
    background: #ffffff;
    color: var(--tdv-muted, #6b7280);
    border-color: var(--tdv-border, #e5e7eb);
}
.adf2-header--tdv-mock .tdv-mock-trust-i,
.adf2-header--tdv-mock .tdv-mock-auth-link,
.adf2-header--tdv-mock .adf2-nav__link {
    color: var(--tdv-muted, #6b7280);
}
.adf2-header--tdv-mock .tdv-mock-trust-i i,
.adf2-header--tdv-mock .tdv-mock-auth-link:hover,
.adf2-header--tdv-mock .adf2-nav__link:hover {
    color: var(--tdv-accent, #f59e0b);
}
.adf2-header--tdv-mock .adf2-bar2 {
    background: #ffffff;
    border-bottom: 1px solid var(--tdv-border, #e5e7eb);
}
.adf2-header--tdv-mock .adf2-bar2__inner {
    grid-template-columns: 220px minmax(320px, 1fr) auto;
    gap: 18px;
}
.adf2-header--tdv-mock .adf2-brand img {
    max-height: 58px;
}
.adf2-header--tdv-mock .adf2-search {
    background: #ffffff;
    border: 1px solid var(--tdv-border, #e5e7eb);
    border-radius: 999px;
    padding: 5px;
    box-shadow: var(--tdv-shadow-sm, 0 1px 2px rgba(15,23,42,.06));
}
.adf2-header--tdv-mock .adf2-search input,
.adf2-header--tdv-mock .adf2-search__category-toggle,
.adf2-header--tdv-mock .adf2-search__category-caret {
    color: var(--tdv-text, #111827);
}
.adf2-header--tdv-mock .adf2-search__submit-main,
.adf2-header--tdv-mock .adf2-nav__postad--tdv-mock,
.adf2-header--tdv-mock .tdv-mock-topbar__admin-btn {
    background: var(--tdv-accent, #f59e0b);
    color: #111827 !important;
    border: 0;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.24);
    transition: transform var(--tdv-transition, 180ms ease), box-shadow var(--tdv-transition, 180ms ease), background var(--tdv-transition, 180ms ease);
}
.adf2-header--tdv-mock .adf2-search__submit-main:hover,
.adf2-header--tdv-mock .adf2-nav__postad--tdv-mock:hover,
.adf2-header--tdv-mock .tdv-mock-topbar__admin-btn:hover {
    background: #fbbf24;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.32);
}
.adf2-header--tdv-mock .tdv-mock-phone,
.adf2-header--tdv-mock .adf2-cart,
.adf2-header--tdv-mock .notification {
    background: #ffffff;
    border: 1px solid var(--tdv-border, #e5e7eb);
    box-shadow: var(--tdv-shadow-sm, 0 1px 2px rgba(15,23,42,.06));
}
.adf2-header--tdv-mock .tdv-mock-phone__ico {
    background: rgba(245, 158, 11, 0.12);
    color: var(--tdv-accent, #f59e0b);
}
.adf2-header--tdv-mock .tdv-mock-phone__nr,
.adf2-header--tdv-mock .adf2-cart {
    color: var(--tdv-primary, #0f172a);
}
.adf2-header--tdv-mock .adf2-cart__badge {
    background: var(--tdv-accent, #f59e0b);
    color: #111827;
}
.adf2-header--tdv-mock .adf2-cats {
    background: var(--tdv-primary, #0f172a);
    color: #ffffff;
    border-radius: 999px;
}
.adf2-header--tdv-mock .adf2-nav {
    gap: 4px;
}
.adf2-header--tdv-mock .adf2-nav__link {
    border-radius: 999px;
    padding: 9px 12px;
}
.adf2-header--tdv-mock .adf2-nav__link:hover {
    background: #f8fafc;
}
@media (max-width: 980px) {
    .adf2-header--tdv-mock .adf2-bar2__inner {
        grid-template-columns: 180px minmax(0, 1fr);
    }
}
@media (max-width: 680px) {
    .adf2-header--tdv-mock .adf2-bar2__inner {
        grid-template-columns: 1fr;
    }
    .adf2-header--tdv-mock .adf2-brand {
        justify-self: center;
    }
    .adf2-header--tdv-mock .adf2-search {
        width: 100%;
    }
    .adf2-header--tdv-mock .adf2-search__category {
        min-width: 120px;
        max-width: 42%;
    }
}

@media (max-width: 720px){
    html[data-user-theme="dark"] .adf2-topbar {
        background: #111827;
        border-bottom-color: rgba(148, 163, 184, 0.2);
    }
    html[data-user-theme="dark"] .adf2-link {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(148, 163, 184, 0.24);
    }
    html[data-user-theme="dark"] .adf2-cats {
        background: rgba(0,0,0,0.45);
    }
    html[data-user-theme="dark"] .adf2-nav a {
        background: rgba(30, 41, 59, 0.65);
        border-color: rgba(148, 163, 184, 0.2);
    }
}
