/**
 * Professional Auction Header CSS - OpenDataCar
 * Clean, neutral design
 */

:root {
    --pro-header-bg: #f8fafc;
    --pro-header-solid: #f8fafc;
    --pro-header-border: rgba(0, 0, 0, 0.06);
    --pro-nav-bg: rgba(241, 245, 249, 0.9);
    --pro-text: #1e293b;
    --pro-text-secondary: #334155;
    --pro-text-muted: #64748b;
    --pro-accent: #0285ff;
    --pro-accent-hover: #0070e0;
    --pro-accent-light: rgba(2, 133, 255, 0.08);
    --pro-dropdown-bg: #ffffff;
    --pro-dropdown-border: rgba(0, 0, 0, 0.06);
    --pro-dropdown-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --pro-hover-bg: rgba(2, 133, 255, 0.04);
}

/* ==========================================================================
   Smart Scroll Header
   ========================================================================== */

.pro-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.pro-header.scrolled-down {
    transform: translateY(-100%);
}

.pro-header.scrolled-up {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

.pro-top-bar {
    background: transparent;
    border-bottom: 1px solid var(--pro-header-border);
}

.pro-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    gap: 32px;
}

/* Logo */
.pro-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.pro-logo img {
    height: 32px;
    width: auto;
}

/* ==========================================================================
   Search Bar
   ========================================================================== */

.pro-search {
    flex: 1;
    max-width: 600px;
}

.pro-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--pro-nav-bg);
    border: 1px solid var(--pro-header-border);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.pro-search-wrapper:focus-within {
    background: #fff;
    border-color: var(--pro-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pro-search-type {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    border-right: 1px solid var(--pro-header-border);
    cursor: pointer;
    user-select: none;
}

@media (min-width: 768px) {
    .pro-search-type {
        display: flex;
    }
}

.pro-type-current {
    color: var(--pro-accent);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.pro-type-archive {
    color: var(--pro-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.pro-type-arrow {
    color: var(--pro-text-muted);
    transition: transform 0.2s ease;
}

.pro-search-input {
    flex: 1;
    height: 42px;
    padding: 0 12px;
    background: transparent;
    border: none;
    color: var(--pro-text);
    font-size: 14px;
    outline: none;
}

.pro-search-input::placeholder {
    color: var(--pro-text-muted);
}

.pro-search-count {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    background: var(--pro-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 9px;
    margin-right: 8px;
}

.pro-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--pro-header-border);
    color: var(--pro-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pro-search-submit:hover {
    color: var(--pro-accent);
    background: var(--pro-accent-light);
}

.pro-search-results {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--pro-dropdown-bg);
    border: 1px solid var(--pro-dropdown-border);
    border-radius: 8px;
    box-shadow: var(--pro-dropdown-shadow);
    display: none;
    z-index: 100;
    overflow: hidden;
}

.pro-search-results.active {
    display: block;
}


/* ==========================================================================
   Right Buttons
   ========================================================================== */

.pro-buttons {
    display: none;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .pro-buttons {
        display: flex;
    }
}

.pro-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.pro-btn-login {
    color: var(--pro-text-secondary);
    background: transparent;
}

.pro-btn-login:hover {
    color: var(--pro-text);
    background: var(--pro-hover-bg);
}

.pro-btn-signup {
    color: #fff;
    background: var(--pro-accent);
}

.pro-btn-signup:hover {
    background: var(--pro-accent-hover);
}

/* ==========================================================================
   Mobile Toggle
   ========================================================================== */

.pro-menu-toggle {
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {
    .pro-menu-toggle {
        display: none;
    }
}

.pro-menu-toggle input {
    display: none;
}

.pro-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
    gap: 5px;
}

.pro-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--pro-text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

#pro-hamburger:checked + .pro-hamburger .pro-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#pro-hamburger:checked + .pro-hamburger .pro-line:nth-child(2) {
    opacity: 0;
}

#pro-hamburger:checked + .pro-hamburger .pro-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Links Line (Navigation Bar)
   ========================================================================== */

.pro-links-line {
    display: none;
    background: var(--pro-nav-bg);
    border-bottom: 1px solid var(--pro-header-border);
}

@media (min-width: 992px) {
    .pro-links-line {
        display: block;
    }
}

.pro-links-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    height: 44px;
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */

.pro-navigation {
    flex: 1;
}

.pro-menu {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro-menu-item {
    position: relative;
}

.pro-menu-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--pro-text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-right: 1px solid #e3e7ea;
}

.pro-menu-item:last-child > a {
    border-right: none;
}

.pro-menu-item > a:hover,
.pro-menu-item:hover > a {
    color: var(--pro-accent);
    background: var(--pro-accent-light);
}

.pro-arrow {
    opacity: 0.6;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

.pro-menu-item:hover .pro-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* ==========================================================================
   Dropdown Menus - Professional Style
   ========================================================================== */

.pro-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: var(--pro-dropdown-bg);
    border: 1px solid var(--pro-dropdown-border);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    margin: 0;
    padding: 8px;
    z-index: 100;
}

.pro-menu-item:hover > .pro-dropdown,
.pro-quick-item:hover > .pro-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pro-dropdown li {
    margin: 0;
}

.pro-dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--pro-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.pro-dropdown li a:hover {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
    transform: translateX(4px);
}

/* Hours Dropdown */
.pro-dropdown-hours {
    min-width: 220px;
}

.pro-dropdown-hours li {
    display: flex;
    justify-content: space-between;
    padding: 8px 14px;
    color: var(--pro-text-secondary);
    font-size: 13px;
}

.pro-dropdown-hours li span:first-child {
    color: var(--pro-text);
}

.pro-dropdown-hours .pro-closed {
    color: #dc2626;
}

/* Contacts Dropdown */
.pro-dropdown-contacts li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language Toggle */
.pro-lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pro-lang-icon {
    opacity: 0.7;
}

/* Language Dropdown */
.pro-dropdown-lang {
    min-width: 160px;
    left: auto;
    right: 0;
}

.pro-dropdown-lang li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pro-lang-code {
    font-weight: 600;
    color: var(--pro-text);
    min-width: 24px;
}

.pro-lang-name {
    color: var(--pro-text-secondary);
}

.pro-dropdown-lang li a.active {
    background: var(--pro-accent-light);
}

.pro-dropdown-lang li a.active .pro-lang-code {
    color: var(--pro-accent);
}

.pro-dropdown-lang li a.active .pro-lang-name {
    color: var(--pro-accent);
}

/* ==========================================================================
   Mega Menu - Professional Dropdown
   ========================================================================== */

.pro-mega-dropdown {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border: 1px solid var(--pro-dropdown-border);
    box-shadow: 0 30px 30px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.pro-has-mega:hover > .pro-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.pro-mega-list {
    list-style: none;
    margin: 0;
}

.pro-mega-item {
    position: relative;
}

.pro-mega-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: var(--pro-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pro-mega-item > a:hover,
.pro-mega-item.pro-has-panel:hover > a {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
}

.pro-mega-item > a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.5;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.pro-mega-item:first-child > a::after {
    display: none;
}

.pro-mega-item.pro-has-panel:hover > a::after {
    transform: rotate(-45deg) translate(2px, 2px);
    opacity: 1;
}

/* Side Panel - Professional Sub-menu */
.pro-side-panel {
    position: absolute;
    top: -9px;
    left: calc(100% + 4px);
    min-width: 300px;
    max-width: 400px;
    background: var(--pro-dropdown-bg);
    border: 1px solid var(--pro-dropdown-border);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pro-has-panel:hover > .pro-side-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.pro-panel-section {
    padding: 8px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.5) 0%, rgba(226, 232, 240, 0.3) 100%);
    border-radius: 8px;
}

.pro-panel-section:last-child {
    margin-bottom: 0;
}

.pro-panel-heading {
    padding: 4px 8px 8px;
    color: var(--pro-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--pro-header-border);
    margin-bottom: 6px;
}

.pro-panel-section a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--pro-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.pro-panel-section a:hover {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
}

/* Panel List */
.pro-panel-list {
    padding: 0;
}

.pro-panel-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro-panel-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: var(--pro-text-secondary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.pro-panel-list li a:hover {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
    transform: translateX(4px);
}

/* Brands Panel - Three Columns */
.pro-panel-brands {
    min-width: 380px;
}

.pro-panel-brands ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.pro-panel-brands li a {
    padding: 10px 12px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
}

.pro-panel-brands li a:hover {
    transform: translateY(-2px);
}

/* ==========================================================================
   Quick Links
   ========================================================================== */

.pro-quick-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro-quick-item {
    position: relative;
}

.pro-quick-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    color: var(--pro-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.pro-quick-item > a:hover,
.pro-quick-item:hover > a {
    color: var(--pro-text-secondary);
    background: var(--pro-hover-bg);
}

.pro-desktop-only {
    display: none;
}

@media (min-width: 1100px) {
    .pro-desktop-only {
        display: block;
    }
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.pro-mobile-menu {
    display: flex;
    flex-direction: column;
    background: var(--pro-header-bg);
    border-top: 1px solid var(--pro-header-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
    opacity: 0;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    .pro-mobile-menu {
        top: 52px;
    }
}

@media (max-width: 420px) {
    .pro-mobile-menu {
        top: 50px;
    }
}

@media (max-width: 360px) {
    .pro-mobile-menu {
        top: 48px;
    }
}

.pro-mobile-menu.menu-open {
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    opacity: 1;
}

@media (max-width: 576px) {
    .pro-mobile-menu.menu-open {
        max-height: calc(100vh - 52px);
    }
}

@media (max-width: 420px) {
    .pro-mobile-menu.menu-open {
        max-height: calc(100vh - 50px);
    }
}

@media (max-width: 360px) {
    .pro-mobile-menu.menu-open {
        max-height: calc(100vh - 48px);
    }
}

@media (min-width: 992px) {
    .pro-mobile-menu {
        display: none !important;
    }
}

.pro-mobile-search {
    display: flex;
    padding: 12px;
    gap: 8px;
    background: #fff;
    border-bottom: 1px solid var(--pro-header-border);
}

.pro-mobile-search input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    background: var(--pro-nav-bg);
    border: 1px solid var(--pro-header-border);
    border-radius: 10px;
    color: var(--pro-text);
    font-size: 15px;
}

.pro-mobile-search input:focus {
    outline: none;
    border-color: var(--pro-accent);
    background: #fff;
}

.pro-mobile-search button {
    width: 44px;
    height: 44px;
    background: var(--pro-accent);
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.pro-mobile-search button:active {
    background: var(--pro-accent-hover);
}

/* Quick Actions Grid */
.pro-mobile-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--pro-header-border);
}

.pro-mobile-quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px;
    text-decoration: none;
    color: var(--pro-text-secondary);
    font-size: 12px;
    font-weight: 500;
    border-radius: 10px;
    background: var(--pro-nav-bg);
    transition: all 0.15s ease;
}

.pro-mobile-quick-item:active {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
}

.pro-mobile-quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 12px;
    color: var(--pro-text-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.pro-mobile-quick-accent {
    background: var(--pro-accent);
    color: #fff;
}

/* Mobile Sections */
.pro-mobile-section {
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--pro-header-border);
}

.pro-mobile-section-title {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pro-text-muted);
    margin-bottom: 10px;
    padding: 0 4px;
}

/* Popular Brands */
.pro-mobile-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pro-mobile-brands a {
    padding: 8px 14px;
    background: var(--pro-nav-bg);
    border: 1px solid var(--pro-header-border);
    border-radius: 20px;
    color: var(--pro-text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pro-mobile-brands a:active {
    background: var(--pro-accent);
    border-color: var(--pro-accent);
    color: #fff;
}

/* Mobile Nav with Icons */
.pro-mobile-nav {
    display: flex;
    flex-direction: column;
}

.pro-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 4px;
    color: var(--pro-text-secondary);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--pro-header-border);
    transition: all 0.15s ease;
}

.pro-mobile-nav a:last-child {
    border-bottom: none;
}

.pro-mobile-nav a svg {
    color: var(--pro-text-muted);
    flex-shrink: 0;
}

.pro-mobile-nav a:active {
    background: var(--pro-accent-light);
    color: var(--pro-accent);
}

.pro-mobile-nav a:active svg {
    color: var(--pro-accent);
}

/* Auth Buttons */
.pro-mobile-buttons {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid var(--pro-header-border);
}

.pro-mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    text-align: center;
    color: var(--pro-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    background: var(--pro-nav-bg);
    border: 1px solid var(--pro-header-border);
    transition: all 0.15s ease;
}

.pro-mobile-btn:active {
    background: var(--pro-accent-light);
}

.pro-mobile-btn-primary {
    background: var(--pro-accent);
    border-color: var(--pro-accent);
    color: #fff;
}

.pro-mobile-btn-primary:active {
    background: var(--pro-accent-hover);
}

/* Mobile Footer */
.pro-mobile-footer {
    padding: 12px;
    background: var(--pro-nav-bg);
}

.pro-mobile-lang {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.pro-mobile-lang a {
    padding: 8px 14px;
    color: var(--pro-text-muted);
    font-size: 13px;
    text-decoration: none;
    background: #fff;
    border: 1px solid var(--pro-header-border);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.pro-mobile-lang a.active {
    color: #fff;
    background: var(--pro-accent);
    border-color: var(--pro-accent);
}

.pro-mobile-contacts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.pro-mobile-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pro-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.pro-mobile-social {
    display: flex;
    gap: 12px;
}

.pro-mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--pro-text-muted);
    background: #fff;
    border: 1px solid var(--pro-header-border);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.pro-mobile-social a:active {
    color: var(--pro-accent);
    border-color: var(--pro-accent);
}

/* Mobile Backdrop Overlay */
.pro-mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.pro-mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (min-width: 992px) {
    .pro-mobile-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   Page Content
   ========================================================================== */

.auction-page {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.pro-page-content {
    min-height: calc(100vh - 280px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.pro-footer {
    background: linear-gradient(135deg, #3a3a3a 0%, #080808 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-footer-main {
    padding: 48px 0 32px;
}

.pro-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 992px) {
    .pro-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .pro-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.pro-footer-brand {
    max-width: 280px;
}

@media (max-width: 576px) {
    .pro-footer-brand {
        max-width: none;
        margin: 0 auto;
    }
}

.pro-footer-logo img {
    height: 32px;
    width: auto;
}

.pro-footer-brand p {
    margin: 16px 0 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
}

.pro-footer-social {
    display: flex;
    gap: 8px;
}

@media (max-width: 576px) {
    .pro-footer-social {
        justify-content: center;
    }
}

.pro-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.pro-footer-social a:hover {
    color: #fff;
    border-color: var(--pro-accent);
    background: var(--pro-accent);
}

.pro-footer-col h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.pro-footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pro-footer-col li {
    margin-bottom: 8px;
}

.pro-footer-col a,
.pro-footer-col span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pro-footer-col a:hover {
    color: #fff;
}

.pro-footer-bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pro-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 576px) {
    .pro-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

.pro-footer-bottom span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.pro-footer-bottom nav {
    display: flex;
    gap: 24px;
}

.pro-footer-bottom nav a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.pro-footer-bottom nav a:hover {
    color: #fff;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Tablet and small desktop */
@media (max-width: 992px) {
    .pro-top-inner {
        gap: 20px;
    }
    
    .pro-search {
        max-width: none;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .pro-header {
        position: sticky;
        top: 0;
    }
    
    .ant-row.css-byeoj0.item {
        grid-template-columns: 1fr;
        border-radius: 0;
    }
    
    .pro-top-bar {
        position: relative;
    }
    
    .pro-top-inner {
        height: 56px;
        padding: 0 12px;
        gap: 12px;
    }
    
    .pro-logo {
        flex-shrink: 0;
    }
    
    .pro-logo img {
        height: 26px;
        width: auto;
    }
    
    /* Hide search on mobile - use mobile menu search instead */
    .pro-search {
        display: none !important;
        visibility: hidden;
        pointer-events: none;
    }
    
    .pro-search-results {
        display: none !important;
    }
    
    .pro-menu-toggle {
        margin-left: 4px;
    }
    
    .pro-hamburger {
        width: 28px;
        height: 28px;
        padding: 4px;
    }
    
    .pro-footer-main {
        padding: 32px 0 24px;
    }
    
    .pro-footer-grid {
        padding: 0 16px;
    }
    
    .pro-footer-bottom-inner {
        padding: 0 16px;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 576px) {
    .pro-top-inner {
        height: 52px;
        padding: 0 10px;
        gap: 10px;
    }
    
    .pro-logo img {
        height: 24px;
    }
    
    .pro-hamburger {
        width: 26px;
        height: 26px;
    }
    
    .pro-line {
        height: 2px;
    }
    
    .pro-mobile-search {
        padding: 10px;
    }
    
    .pro-mobile-search input {
        height: 42px;
        font-size: 14px;
    }
    
    .pro-mobile-search button {
        width: 42px;
        height: 42px;
    }
    
    .pro-mobile-quick {
        padding: 10px;
        gap: 6px;
    }
    
    .pro-mobile-quick-item {
        padding: 10px 2px;
        font-size: 11px;
    }
    
    .pro-mobile-quick-icon {
        width: 40px;
        height: 40px;
    }
    
    .pro-mobile-section {
        padding: 10px;
    }
    
    .pro-mobile-brands a {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pro-mobile-buttons {
        padding: 10px;
        gap: 8px;
    }
    
    .pro-mobile-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .pro-mobile-nav a {
        padding: 12px 4px;
        font-size: 14px;
    }
    
    .pro-mobile-footer {
        padding: 10px;
    }
    
    .pro-mobile-phone {
        font-size: 14px;
    }
}

/* Small mobile phones */
@media (max-width: 420px) {
    .pro-top-inner {
        height: 50px;
        padding: 0 8px;
        gap: 8px;
    }
    
    .pro-logo img {
        height: 22px;
    }
    
    .pro-hamburger {
        width: 24px;
        height: 24px;
        gap: 4px;
    }
    
    .pro-line {
        height: 1.5px;
    }
    
    #pro-hamburger:checked + .pro-hamburger .pro-line:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    #pro-hamburger:checked + .pro-hamburger .pro-line:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    .pro-mobile-search {
        padding: 8px;
        gap: 6px;
    }
    
    .pro-mobile-search input {
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .pro-mobile-search button {
        width: 40px;
        height: 40px;
    }
    
    .pro-mobile-quick {
        padding: 8px;
        gap: 4px;
    }
    
    .pro-mobile-quick-item {
        padding: 8px 2px;
        font-size: 10px;
    }
    
    .pro-mobile-quick-icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .pro-mobile-quick-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .pro-mobile-section {
        padding: 8px;
    }
    
    .pro-mobile-brands {
        gap: 6px;
    }
    
    .pro-mobile-brands a {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .pro-mobile-buttons {
        padding: 8px;
        gap: 6px;
    }
    
    .pro-mobile-btn {
        padding: 10px;
        font-size: 13px;
    }
    
    .pro-mobile-nav a {
        padding: 12px 2px;
        font-size: 14px;
        gap: 10px;
    }
    
    .pro-mobile-footer {
        padding: 8px;
    }
    
    .pro-mobile-lang {
        gap: 6px;
    }
    
    .pro-mobile-lang a {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .pro-mobile-contacts {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .pro-mobile-phone {
        font-size: 15px;
    }
    
    .pro-mobile-social {
        gap: 10px;
    }
    
    .pro-mobile-social a {
        width: 34px;
        height: 34px;
    }
}

/* Extra small phones (iPhone SE, etc.) */
@media (max-width: 360px) {
    .pro-top-inner {
        height: 48px;
        padding: 0 6px;
        gap: 6px;
    }
    
    .pro-logo img {
        height: 20px;
    }
    
    .pro-hamburger {
        width: 22px;
        height: 22px;
    }
}

/* Container utility */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */

.main-ant-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

@media (max-width: 1024px) {
    .main-ant-row {
        grid-template-columns: 260px 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .main-ant-row {
        grid-template-columns: 1fr;
        padding: 0;
    }
}

/* Ant Design Cards */
.css-byeoj0 {
    box-sizing: border-box;
}

.ant-row.css-byeoj0.item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.ant-row.css-byeoj0.item:hover {
}

@media (max-width: 768px) {
    .ant-row.css-byeoj0.item {
        grid-template-columns: 1fr;
        border-radius: 0;
    }
}

.ant-card.css-byeoj0 {
    border-radius: 10px;
}

.filter-panel {
    padding: 0 10px;
    padding-left: 0;
    min-height: 450px;
}

/* SEO Content Block */
.seo-content {
    background: #fff;
    border: 1px solid var(--pro-header-border);
    border-radius: 12px;
    padding: 32px;
    margin-top: 32px;
}

.seo-content h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--pro-text);
    margin: 0 0 16px 0;
}

.seo-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--pro-text);
    margin: 24px 0 12px 0;
}

.seo-content p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pro-text-secondary);
    margin: 0 0 16px 0;
}

.seo-content ul {
    margin: 0 0 16px 0;
    padding-left: 20px;
}

.seo-content li {
    font-size: 14px;
    line-height: 1.7;
    color: var(--pro-text-secondary);
    margin-bottom: 8px;
}

.seo-content strong {
    color: var(--pro-text);
}

.seo-content a {
    color: var(--pro-accent);
    text-decoration: none;
}

.seo-content a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .seo-content {
        padding: 20px;
        margin-top: 24px;
    }
    
    .seo-content h2 {
        font-size: 18px;
    }
    
    .seo-content h3 {
        font-size: 15px;
    }
}

/* SEO Brands Section */
.seo-brands-section {
    background: #fff;
    border: 1px solid var(--pro-header-border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
}

.seo-brands-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #18181b;
    margin: 0 0 20px 0;
}

.seo-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.seo-brand-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.seo-brand-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #18181b;
}

.seo-brand-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.seo-brand-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .seo-brands-section {
        padding: 16px;
        margin-top: 20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .seo-brands-section h2 {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .seo-brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .seo-brand-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .seo-brand-logo {
        width: 16px;
        height: 16px;
    }
}
