.site-header-sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #FFFFFF;
    box-shadow: 0 2px 12px rgba(18, 19, 22, 0.06);
}

.top-bar {
    background: #121316;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 32px;
    font-size: 11.5px;
    color: #D1D5DB;
    user-select: none;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 32px;
    flex-wrap: nowrap;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-loc, .top-hours {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #D1D5DB;
    font-size: 11.5px;
}

.top-loc svg, .top-hours svg {
    color: #9CA3AF;
    flex-shrink: 0;
}

.top-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 9px;
}

.top-phone-mobile,
.top-sep-phone {
    display: none;
}

.top-rate-chip {
    background: transparent;
    border: none;
    color: #D1D5DB;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    font-size: 11.5px;
    padding: 0;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-block;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 500;
    text-decoration: none;
    padding: 2px 7px;
    border-radius: 4px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.top-link svg { flex-shrink: 0; }
.top-link-user { color: #D1D5DB; }
.top-link-user:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); }

.top-link-admin {
    color: #E5E7EB;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    padding-right: 10px;
    margin-right: 2px;
    font-weight: 500;
}
.top-link-admin:hover { color: #FFFFFF; }

.top-link-logout {
    color: #9CA3AF;
    display: inline-flex;
    align-items: center;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.15s ease;
}
.top-link-logout:hover { color: #FFFFFF; }

.lang-switch-mini {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 1px;
    font-size: 10.5px;
    line-height: 1;
}
.lang-cur {
    background: #B81028;
    color: #FFFFFF;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
}
.lang-oth {
    color: #9CA3AF;
    font-weight: 600;
    padding: 2px 6px;
    text-decoration: none;
    transition: color 0.15s ease;
}
.lang-oth:hover { color: #FFFFFF; }

.main-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5E7EB;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 40;
}

.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 60px;
    width: 100%;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.main-logo { height: 42px; width: auto; display: block; object-fit: contain; }
.logo-compact { display: none; }

@media (max-width: 480px) {
    .logo-full { height: 26px; max-width: 136px; }
    .header-actions { gap: 6px; }
    .head-phone-num { font-size: 11.5px; }
    .head-btn-cart { height: 34px; padding: 0 9px; font-size: 12px; gap: 5px; }
}

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.head-phone-link {
    display: inline-flex; align-items: center; gap: 8px;
    height: 38px; padding: 0 12px 0 4px; margin-right: 2px;
    background: transparent; border: none; border-right: 1px solid #E5E7EB;
    text-decoration: none; cursor: pointer; font-family: inherit;
    color: #121316; flex-shrink: 0; transition: color 0.15s ease;
}
.head-phone-icon { color: #6B7280; flex-shrink: 0; transition: color 0.15s ease; }
.head-phone-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.head-phone-num {
    font-family: var(--font-body); font-variant-numeric: tabular-nums;
    font-size: 13.5px; font-weight: 700; color: #121316; white-space: nowrap;
}
.head-phone-sub { font-family: var(--font-body); font-size: 10.5px; font-weight: 600; color: #6B7280; white-space: nowrap; }
.head-phone-callback { color: #B81028; border-bottom: 1px dashed rgba(184, 16, 40, 0.45); line-height: 1.1; }
.head-phone-link:hover .head-phone-num,
.head-phone-link:hover .head-phone-icon { color: #B81028; }
.head-phone-link:hover .head-phone-callback { color: #990D22; border-bottom-color: #990D22; }

.head-btn-msg {
    height: 38px; padding: 0 12px; border-radius: 4px;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none; background: #F6F7F9; border: 1px solid #E5E7EB;
    color: #121316; font-family: var(--font-body); font-size: 13px; font-weight: 600;
    white-space: nowrap; flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.head-btn-msg:hover { background: #FFFFFF; border-color: #121316; color: #121316; }

.head-btn-cart {
    height: 38px;
    padding: 0 14px;
    background: #121316;
    border: 1px solid #121316;
    border-radius: 4px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
}
.head-btn-cart:hover { background: #1C1E22; border-color: #1C1E22; color: #FFFFFF; }
.head-btn-cart .head-btn-icon { color: #D1D5DB; }

.cart-badge-pill {
    background: #B81028;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
}

@media (max-width: 1480px), (max-height: 860px) {
    .top-bar, .top-bar-inner { height: 28px; font-size: 11px; }
    .main-header, .main-header-inner { height: 52px; gap: 12px; }
    .main-logo { height: 34px; }
    .head-phone-link, .head-btn-msg, .head-btn-cart { height: 35px; }
    .head-btn-cart { padding: 0 12px; font-size: 12.5px; }
}

@media (max-width: 1240px) {
    .head-phone-link { padding: 0 10px 0 2px; }
    .head-btn-msg { padding: 0 10px; font-size: 12.5px; }
}

@media (max-width: 1120px) {
    .head-btn-msg { width: 35px; padding: 0; }
    .head-msg-label { display: none; }
}

@media (max-width: 992px) { .top-hours, .top-sep { display: none; } }

@media (max-width: 768px) {
    .main-header { height: 50px; padding: 0; }
    .main-header-inner { flex-wrap: nowrap; height: 50px; gap: 8px; }
}
