/**
 * ==========================================================================
 * HEADER STYLES v4.0 — Premium SaaS 2025
 * ==========================================================================
 * 
 * Stripe/Linear/Framer inspired design
 * Все стили шапки изолированы под селектор .sh-header
 * Без backdrop-filter/blur — используем layered gradients
 * 
 * Структура:
 * 1. CSS Variables (Design Tokens)
 * 2. Base Header
 * 3. Top Bar
 * 4. Main Header
 * 5. Logo
 * 6. Navigation
 * 7. CTA Buttons
 * 8. Action Buttons
 * 9. Glow Line
 * 10. Responsive
 * 11. Reduced Motion
 */

/* ==========================================================================
   1. CSS VARIABLES — Premium Design Tokens (LIGHT THEME)
   ========================================================================== */
.sh-header {
    /* Surface Colors — Light theme with subtle warmth */
    --sh-surface-0: #fafafa;
    --sh-surface-1: #f5f5f5;
    --sh-surface-2: #eeeeee;
    --sh-surface-3: #e0e0e0;
    
    /* Brand Colors — Orange accent */
    --sh-accent: #f97316;
    --sh-accent-light: #fb923c;
    --sh-accent-subtle: rgba(249, 115, 22, 0.1);
    --sh-accent-glow: rgba(249, 115, 22, 0.15);
    
    --sh-success: #16a34a;
    --sh-success-subtle: rgba(22, 163, 74, 0.1);
    
    /* Text — Dark on light */
    --sh-text-primary: #1a1a1a;
    --sh-text-secondary: #404040;
    --sh-text-tertiary: #666666;
    --sh-text-inverse: #ffffff;
    
    /* Borders — More visible */
    --sh-border-subtle: rgba(0, 0, 0, 0.08);
    --sh-border-default: rgba(0, 0, 0, 0.12);
    --sh-border-hover: rgba(249, 115, 22, 0.4);
    
    /* Shadows — More pronounced */
    --sh-shadow-sm: 
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.06);
    --sh-shadow-md: 
        0 4px 6px rgba(0, 0, 0, 0.07),
        0 2px 4px rgba(0, 0, 0, 0.05);
    --sh-shadow-lg: 
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.06);
    --sh-shadow-glow: 
        0 0 20px rgba(249, 115, 22, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.1);
    
    /* Timing */
    --sh-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --sh-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --sh-duration: 0.2s;
    --sh-duration-slow: 0.3s;
}

/* ==========================================================================
   2. BASE HEADER — Premium container
   ========================================================================== */
.sh-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    
    /* Light background with subtle warmth */
    background: var(--sh-surface-0);
    
    /* Bottom definition */
    border-bottom: 1px solid var(--sh-border-default);
    
    /* Visible shadow for separation */
    box-shadow: var(--sh-shadow-lg);
}

/* ==========================================================================
   3. TOP BAR — Minimal & Elegant
   ========================================================================== */
.sh-header .sh-header__topbar {
    background: var(--sh-surface-0);
    border-bottom: 1px solid var(--sh-border-subtle);
    padding: 8px 0;
}

.sh-header .sh-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Info Items — Clean minimal */
.sh-header .sh-topbar__info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.sh-header .sh-topbar__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--sh-text-tertiary);
    letter-spacing: -0.01em;
    transition: color var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-topbar__item:hover {
    color: var(--sh-text-secondary);
}

.sh-header .sh-topbar__icon {
    width: 14px;
    height: 14px;
    color: var(--sh-accent);
    flex-shrink: 0;
    opacity: 0.8;
}

.sh-header .sh-topbar__divider {
    width: 1px;
    height: 12px;
    background: var(--sh-border-default);
}

/* Search — Premium input */
.sh-header .sh-topbar__search {
    flex: 1;
    max-width: 400px;
    position: relative;
    display: flex;
    align-items: center;
}

.sh-header .sh-topbar__search-icon {
    position: absolute;
    left: 14px;
    width: 15px;
    height: 15px;
    color: var(--sh-text-tertiary);
    pointer-events: none;
    transition: color var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-topbar__search-input {
    width: 100%;
    height: 38px;
    padding: 0 48px 0 40px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 450;
    color: var(--sh-text-primary);
    letter-spacing: -0.01em;
    background: var(--sh-surface-2);
    border: 1px solid var(--sh-border-default);
    border-radius: 10px;
    outline: none;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-topbar__search-input::placeholder {
    color: var(--sh-text-tertiary);
    font-weight: 400;
}

.sh-header .sh-topbar__search-input:hover {
    border-color: var(--sh-border-hover);
    background: var(--sh-surface-3);
}

.sh-header .sh-topbar__search-input:focus {
    background: var(--sh-surface-3);
    border-color: var(--sh-accent);
    box-shadow: 0 0 0 3px var(--sh-accent-subtle);
}

.sh-header .sh-topbar__search-input:focus ~ .sh-topbar__search-icon {
    color: var(--sh-accent);
}

.sh-header .sh-topbar__search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--sh-accent) 0%, #c49a47 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--sh-duration) var(--sh-ease);
    box-shadow: 0 2px 4px rgba(212, 168, 83, 0.2);
}

.sh-header .sh-topbar__search-btn svg {
    width: 13px;
    height: 13px;
    color: var(--sh-text-inverse);
}

.sh-header .sh-topbar__search-btn:hover {
    background: linear-gradient(135deg, var(--sh-accent-light) 0%, var(--sh-accent) 100%);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(212, 168, 83, 0.3);
}

/* Contact Section — Premium */
.sh-header .sh-topbar__contact {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.sh-header .sh-topbar__callback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--sh-text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--sh-border-default);
    border-radius: 8px;
    letter-spacing: -0.01em;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-topbar__callback:hover {
    color: var(--sh-accent-light);
    background: var(--sh-accent-subtle);
    border-color: var(--sh-border-hover);
}

/* Phone — Prominent CTA */
.sh-header .sh-topbar__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 6px 12px;
    background: var(--sh-success-subtle);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-topbar__phone:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

.sh-header .sh-topbar__phone-icon {
    width: 16px;
    height: 16px;
    color: var(--sh-success);
    flex-shrink: 0;
}

.sh-header .sh-topbar__phone span {
    font-size: 11px;
    font-weight: 500;
    color: var(--sh-text-tertiary);
    letter-spacing: -0.01em;
}

.sh-header .sh-topbar__phone strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--sh-text-primary);
    letter-spacing: -0.02em;
}

/* Remove old phone animation — too busy */
@keyframes sh-phoneRing {
    0%, 100% { transform: rotate(0deg); }
}

/* ==========================================================================
   4. MAIN HEADER — Clean minimal bar
   ========================================================================== */
.sh-header .sh-header__main {
    background: var(--sh-surface-1);
    padding: 12px 0;
    border-bottom: 1px solid var(--sh-border-subtle);
}

.sh-header .sh-header__main-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* ==========================================================================
   5. LOGO — Image-based
   ========================================================================== */
.sh-header .sh-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    padding: 4px 8px;
    margin: 0;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    transition: all var(--sh-duration-slow) var(--sh-ease);
}

.sh-header .sh-logo:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: transparent;
}

.sh-header .sh-logo__img {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   6. NAVIGATION — Clean minimal links
   ========================================================================== */
.sh-header .sh-navbar {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.sh-header .sh-navbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: -0.01em;
    transition: all var(--sh-duration) var(--sh-ease);
    white-space: nowrap;
}

.sh-header .sh-navbar__link:hover {
    color: var(--sh-text-primary);
    background: var(--sh-surface-3);
}

/* Catalog link — accent style */
.sh-header .sh-navbar__link--catalog {
    color: var(--sh-accent);
    background: var(--sh-accent-subtle);
    font-weight: 600;
    border: 1px solid rgba(212, 168, 83, 0.15);
}

.sh-header .sh-navbar__link--catalog:hover {
    background: var(--sh-accent-glow);
    border-color: var(--sh-border-hover);
    color: var(--sh-accent-light);
}

.sh-header .sh-navbar__icon {
    width: 14px;
    height: 14px;
    color: var(--sh-accent);
    transition: transform var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-navbar__link:hover .sh-navbar__icon {
    transform: scale(1.1);
}

/* ==========================================================================
   7. CTA BUTTONS — Premium pill buttons
   ========================================================================== */
.sh-header .sh-header__cta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sh-header .sh-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    height: 36px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: -0.01em;
    white-space: nowrap;
    cursor: pointer;
    background: var(--sh-surface-3);
    border: 1px solid var(--sh-border-default);
    color: var(--sh-text-secondary);
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-cta__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--sh-text-tertiary);
    transition: color var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-cta:hover {
    background: var(--sh-accent-subtle);
    border-color: var(--sh-border-hover);
    color: var(--sh-accent-light);
    transform: translateY(-1px);
}

.sh-header .sh-cta:hover .sh-cta__icon {
    color: var(--sh-accent);
}

/* ==========================================================================
   8. ACTION BUTTONS — Icon buttons with badges
   ========================================================================== */
.sh-header .sh-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.sh-header .sh-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    height: 36px;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    background: #fef7ed;
    border: 1px solid rgba(255, 149, 0, 0.15);
    color: var(--sh-text-secondary);
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-action__icon {
    width: 18px;
    height: 18px;
    color: #b07830;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-action:hover {
    background: #fef0dc;
    border-color: rgba(255, 149, 0, 0.3);
    transform: translateY(-1px);
}

.sh-header .sh-action:hover .sh-action__icon {
    color: #8b5a20;
}

/* Active state — for favorites, compare */
.sh-header .sh-action--active {
    background: var(--sh-success-subtle);
    border-color: rgba(34, 197, 94, 0.2);
}

.sh-header .sh-action--active .sh-action__icon {
    color: var(--sh-success);
}

.sh-header .sh-action--active:hover {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

/* Admin button */
.sh-header .sh-action--admin {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.15);
}

.sh-header .sh-action--admin .sh-action__icon {
    color: #fbbf24;
}

.sh-header .sh-action--admin:hover {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.25);
}

/* Labels */
.sh-header .sh-action__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--sh-text-tertiary);
    letter-spacing: -0.01em;
}

.sh-header .sh-action:hover .sh-action__label {
    color: var(--sh-text-secondary);
}

.sh-header .sh-action--active .sh-action__label {
    color: var(--sh-success);
}

.sh-header .sh-action--admin .sh-action__label {
    color: #fbbf24;
}

/* Cart Button — Primary action */
.sh-header .sh-action--cart {
    background: linear-gradient(135deg, var(--sh-accent) 0%, #c49a47 100%);
    border: none;
    box-shadow: var(--sh-shadow-sm);
}

.sh-header .sh-action--cart .sh-action__icon {
    color: var(--sh-text-inverse);
}

.sh-header .sh-action--cart:hover {
    background: linear-gradient(135deg, var(--sh-accent-light) 0%, var(--sh-accent) 100%);
    box-shadow: 
        0 4px 12px rgba(212, 168, 83, 0.25),
        0 2px 4px rgba(212, 168, 83, 0.15);
}

.sh-header .sh-action--cart:hover .sh-action__icon {
    color: var(--sh-text-inverse);
}

/* Badge — notification dot */
.sh-header .sh-action__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    color: var(--sh-text-inverse);
    background: var(--sh-success);
    border: 2px solid var(--sh-surface-1);
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
}

/* Spacer */
.sh-header .sh-header__spacer {
    flex: 1;
}

/* ==========================================================================
   9. GLOW LINE — Subtle accent divider
   ========================================================================== */
.sh-header .sh-header__glow-line {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--sh-border-default) 20%,
        rgba(212, 168, 83, 0.2) 50%,
        var(--sh-border-default) 80%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}

/* Subtle shimmer animation */
.sh-header .sh-header__glow-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 168, 83, 0.4) 50%,
        transparent 100%
    );
    animation: sh-shimmer 6s ease-in-out infinite;
}

@keyframes sh-shimmer {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ==========================================================================
   10. RESPONSIVE — Mobile-first adaptations
   ========================================================================== */
@media (max-width: 1199px) {
    .sh-header .sh-navbar__link {
        padding: 7px 12px;
        font-size: 12px;
    }
    
    .sh-header .sh-topbar__search {
        max-width: 320px;
    }
    
    .sh-header .sh-header__main-inner {
        gap: 16px;
    }
}

@media (max-width: 991px) {
    .sh-header .sh-header__cta {
        display: none;
    }
    
    .sh-header .sh-topbar__search {
        max-width: 260px;
    }
    
    .sh-header .sh-navbar__link {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .sh-header .sh-topbar__callback {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .sh-header .sh-header__topbar {
        padding: 6px 0;
    }
    
    .sh-header .sh-header__topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .sh-header .sh-topbar__info {
        order: 1;
        gap: 12px;
    }
    
    .sh-header .sh-topbar__search {
        order: 3;
        flex: 1 1 100%;
        max-width: none;
        margin-top: 8px;
    }
    
    .sh-header .sh-topbar__contact {
        order: 2;
    }
    
    .sh-header .sh-header__main {
        padding: 10px 0;
    }
    
    .sh-header .sh-header__main-inner {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .sh-header .sh-logo {
        order: 1;
    }
    
    .sh-header .sh-header__actions {
        order: 2;
        margin-left: auto;
    }
    
    .sh-header .sh-navbar {
        order: 3;
        flex: 1 1 100%;
        margin-top: 8px;
        padding-bottom: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        mask-image: linear-gradient(to right, transparent, black 8px, black calc(100% - 8px), transparent);
    }
    
    .sh-header .sh-navbar::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 480px) {
    .sh-header .sh-header__topbar {
        padding: 4px 0;
    }
    
    .sh-header .sh-topbar__info {
        gap: 8px;
    }
    
    .sh-header .sh-topbar__item {
        font-size: 10px;
    }
    
    .sh-header .sh-topbar__icon {
        width: 12px;
        height: 12px;
    }
    
    .sh-header .sh-topbar__callback {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .sh-header .sh-topbar__phone {
        padding: 4px 8px;
    }
    
    .sh-header .sh-topbar__phone span {
        display: none;
    }
    
    .sh-header .sh-topbar__phone strong {
        font-size: 12px;
    }
    
    .sh-header .sh-topbar__search-input {
        height: 34px;
        font-size: 12px;
    }
    
    .sh-header .sh-header__main {
        padding: 8px 0;
    }
    
    .sh-header .sh-logo {
        min-height: 48px;
        padding: 4px 6px;
    }
    
    .sh-header .sh-logo__img {
        max-width: 180px;
    }
    
    .sh-header .sh-action {
        padding: 6px 8px;
        height: 32px;
    }
    
    .sh-header .sh-action__icon {
        width: 16px;
        height: 16px;
    }
    
    .sh-header .sh-action__label {
        display: none;
    }
    
    .sh-header .sh-navbar__link {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* ==========================================================================
   10.5. CATALOG DROPDOWN — Premium Panel
   ========================================================================== */
.sh-header .sh-dd {
    position: relative;
    margin-left: 8px;
}

/* Remove default marker */
.sh-header .sh-dd summary {
    list-style: none;
}

.sh-header .sh-dd summary::-webkit-details-marker {
    display: none;
}

/* Toggle Button — Clean minimal */
.sh-header .sh-dd__toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sh-accent);
    letter-spacing: -0.01em;
    background: var(--sh-accent-subtle);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-dd__toggle:hover {
    background: var(--sh-accent-glow);
    border-color: var(--sh-border-hover);
}

.sh-header .sh-dd__toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--sh-accent-subtle);
}

.sh-header .sh-dd__toggle-icon {
    width: 16px;
    height: 16px;
    color: var(--sh-accent);
}

.sh-header .sh-dd__toggle-arrow {
    width: 12px;
    height: 12px;
    color: var(--sh-text-tertiary);
    transition: transform var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-dd[open] .sh-dd__toggle-arrow {
    transform: rotate(180deg);
}

/* Panel — Premium dropdown */
.sh-header .sh-dd__panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 440px;
    background: var(--sh-surface-1);
    border: 1px solid var(--sh-border-default);
    border-radius: 14px;
    box-shadow: var(--sh-shadow-glow);
    padding: 20px;
    z-index: 1100;
}

/* Panel arrow indicator */
.sh-header .sh-dd__panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: var(--sh-surface-1);
    border: 1px solid var(--sh-border-default);
    border-right: none;
    border-bottom: none;
    transform: rotate(45deg);
}

.sh-header .sh-dd__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.sh-header .sh-dd__col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sh-header .sh-dd__title {
    font-size: 10px;
    font-weight: 700;
    color: var(--sh-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--sh-border-subtle);
}

.sh-header .sh-dd__col .sh-dd__title:not(:first-child) {
    margin-top: 12px;
}

.sh-header .sh-dd__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sh-header .sh-dd__link {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text-secondary);
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: -0.01em;
    transition: all var(--sh-duration) var(--sh-ease);
}

.sh-header .sh-dd__link:hover {
    background: var(--sh-surface-3);
    color: var(--sh-text-primary);
}

.sh-header .sh-dd__link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--sh-accent-subtle);
    background: var(--sh-surface-3);
}

/* Mobile: full width panel */
@media (max-width: 768px) {
    .sh-header .sh-dd__panel {
        position: fixed;
        left: 12px;
        right: 12px;
        min-width: auto;
        max-height: 70vh;
        overflow-y: auto;
    }
    
    .sh-header .sh-dd__panel::before {
        display: none;
    }
    
    .sh-header .sh-dd__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sh-header .sh-dd__toggle {
        padding: 7px 10px;
        font-size: 12px;
    }
    
    .sh-header .sh-dd__toggle span {
        display: none;
    }
    
    .sh-header .sh-dd__toggle-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .sh-header .sh-dd {
        margin-left: 4px;
    }
    
    .sh-header .sh-dd__toggle {
        padding: 6px 8px;
    }
    
    .sh-header .sh-dd__toggle-icon {
        width: 14px;
        height: 14px;
    }
}

/* ==========================================================================
   11. REDUCED MOTION — Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sh-header .sh-header__glow-line::after {
        animation: none;
    }
    
    .sh-header .sh-logo,
    .sh-header .sh-topbar__search-input,
    .sh-header .sh-topbar__search-btn,
    .sh-header .sh-topbar__callback,
    .sh-header .sh-topbar__phone,
    .sh-header .sh-cta,
    .sh-header .sh-action,
    .sh-header .sh-navbar__link,
    .sh-header .sh-navbar__icon,
    .sh-header .sh-dd__toggle,
    .sh-header .sh-dd__toggle-arrow,
    .sh-header .sh-dd__link {
        transition: none;
    }
}

/* ==========================================================================
   12. FOCUS VISIBLE — Keyboard navigation
   ========================================================================== */
.sh-header .sh-topbar__search-input:focus-visible,
.sh-header .sh-topbar__callback:focus-visible,
.sh-header .sh-topbar__phone:focus-visible,
.sh-header .sh-logo:focus-visible,
.sh-header .sh-navbar__link:focus-visible,
.sh-header .sh-cta:focus-visible,
.sh-header .sh-action:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--sh-accent-subtle);
}
