        /* Stapel Font */
        @font-face {
            font-family: Stapel;
            font-style: normal;
            font-weight: 700;
            src: url(/selene-static/spa/f5d62647aa878849.woff2) format("woff2");
            font-display: swap;
        }
        
        /* Базові змінні */
        :root {
            --brand_primary_500: #00639b;
            --white: #ffffff;
            --ink_800: #1a1a1a;
            --general-text-color: #0c131d;
            --page-header-color: #0c73fe;
        }
        
        body {
            color: var(--general-text-color);
            font-family: "Stapel", -apple-system, BlinkMacSystemFont, Inter, system-ui, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
            font-size: 100%;
            line-height: 1.75;
            margin: 0;
            padding: 0;
            background-color: var(--page-header-color);
            min-height: 100vh;
        }
        
        .container {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .page-wrapper {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        .header {
            background: transparent;
            padding: 10px 0;
        }
        
        .header-nav {
            display: flex;
            align-items: center;
            gap: 0;
            margin-left: auto;
            position: relative;
        }
        
        .nav-links {
            display: flex;
            align-items: center;
        }
        
        .nav-toggle {
            display: none;
            align-items: center;
            justify-content: center;
            padding: 10px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .nav-toggle svg {
            width: 24px;
            height: 24px;
        }
        
        .nav-toggle:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .nav-button {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: transparent;
            border: none;
            border-radius: 8px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 14px;
        }
        
        .nav-button:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .nav-button svg {
            width: 20px;
            height: 20px;
        }
        
        .nav-icon-only {
            padding: 10px;
            border-radius: 50%;
        }
        
        .locale-text {
            font-weight: 600;
            text-transform: uppercase;
        }
        
        /* Dropdown Menu Styles */
        .locale-dropdown {
            position: relative;
        }
        
        .dropdown-menu {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            background: #fff;
            border: 1px solid rgba(12, 19, 29, 0.08);
            border-radius: 14px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            min-width: 260px;
            padding: 6px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.2s ease;
            z-index: 1000;
        }
        
        .dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-section {
            padding: 10px 10px 12px;
        }
        
        .dropdown-section:not(:last-child) {
            border-bottom: 1px solid rgba(12, 19, 29, 0.06);
        }
        
        .dropdown-title {
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.04em;
            color: rgba(12, 19, 29, 0.45);
            text-transform: uppercase;
            margin: 0 0 8px 4px;
        }
        
        .dropdown-select {
            width: 100%;
            padding: 10px 36px 10px 12px;
            font-size: 14px;
            font-weight: 500;
            color: var(--ink_800);
            background-color: #fff;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 16px;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        
        .dropdown-select:hover {
            border-color: var(--page-header-color);
        }
        
        .dropdown-select:focus {
            outline: none;
            border-color: var(--page-header-color);
            box-shadow: 0 0 0 3px rgba(12, 115, 254, 0.12);
        }
        
        /* Кастомний список валют/мов */
        .locale-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .locale-option {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            padding: 9px 10px;
            border: none;
            background: transparent;
            border-radius: 9px;
            cursor: pointer;
            font-family: inherit;
            font-size: 14px;
            color: var(--ink_800);
            text-align: left;
            transition: background 0.15s ease;
        }
        
        .locale-option:hover {
            background: #f3f6ff;
        }
        
        .locale-option.is-active {
            background: #eef4ff;
            color: var(--page-header-color);
            font-weight: 600;
        }
        
        .locale-option .flag {
            font-size: 18px;
            line-height: 1;
            width: 22px;
            text-align: center;
        }
        
        .locale-option .sym {
            width: 22px;
            text-align: center;
            font-weight: 700;
            color: rgba(12, 19, 29, 0.55);
        }
        
        .locale-option.is-active .sym {
            color: var(--page-header-color);
        }
        
        .locale-option .opt-label {
            flex: 1;
        }
        
        .locale-option .check {
            width: 16px;
            height: 16px;
            color: var(--page-header-color);
            opacity: 0;
            flex-shrink: 0;
        }
        
        .locale-option.is-active .check {
            opacity: 1;
        }
        
        .logo img {
            height: 30px;
            filter: brightness(0) invert(1);
        }
        
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 10px;
            gap: 24px;
        }
        
        .page-title {
            font-family: "Stapel", sans-serif;
            font-size: 48px;
            font-weight: 700;
            color: white;
            text-align: center;
            margin: 0;
            line-height: 1.2;
        }
        
        .search-history {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            max-width: 1240px;
            width: 100%;
            margin: 0 auto 20px;
            padding: 0 20px;
        }
        
        .history-item {
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            padding: 8px 16px;
            font-size: 14px;
            color: var(--ink_800);
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .history-item:hover {
            background: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .history-item-close {
            margin-left: 4px;
            opacity: 0.5;
            font-weight: bold;
            font-size: 16px;
            line-height: 1;
        }
        
        .history-item-close:hover {
            opacity: 1;
        }
        
        /* SEO-секція */
        .seo-section {
            max-width: 1240px;
            width: 100%;
            margin: 20px auto 0;
            padding: 0 0px;
            box-sizing: border-box;
            /* Тимчасово приховано */
            display: none;
        }
        
        .seo-card {
            background: rgba(255, 255, 255, 0.98);
            border-radius: 20px;
            padding: 40px 44px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
            color: var(--general-text-color);
        }
        
        .seo-card h2 {
            font-family: "Stapel", sans-serif;
            font-size: 30px;
            font-weight: 700;
            line-height: 1.25;
            margin: 0 0 16px;
            color: var(--ink_800);
        }
        
        .seo-card h3 {
            font-size: 20px;
            font-weight: 700;
            margin: 28px 0 12px;
            color: var(--ink_800);
        }
        
        .seo-card p {
            font-size: 16px;
            line-height: 1.7;
            margin: 0 0 16px;
            color: #33404f;
        }
        
        .seo-card p:last-child {
            margin-bottom: 0;
        }
        
        .seo-features {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 8px 0 24px;
        }
        
        .seo-feature {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 18px 20px;
            background: #f5f8ff;
            border: 1px solid #e5edff;
            border-radius: 14px;
        }
        
        .seo-feature-icon {
            flex: 0 0 40px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
            background: var(--page-header-color);
            color: #fff;
        }
        
        .seo-feature-icon svg {
            width: 22px;
            height: 22px;
        }
        
        .seo-feature-text h4 {
            font-size: 16px;
            font-weight: 700;
            margin: 0 0 4px;
            color: var(--ink_800);
        }
        
        .seo-feature-text p {
            font-size: 14px;
            line-height: 1.55;
            margin: 0;
            color: #55606e;
        }
       
        
        .search-section {
            display: flex;
            flex-flow: wrap;
            gap: 2px;
            max-width: 1240px;
            width: auto;
            height: auto;
            min-height: 60px;
            margin: 0 auto;
            padding: 20px;
            border-radius: 16px;
            position: relative;
            justify-content: center;
        }
        
        .search-form {
            display: flex;
            flex-flow: row wrap;
            gap: 3px;
            align-items: flex-end;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex: 1;
            min-width: 180px;
            position: relative;
        }
        
        .form-group:has(#year_from),
        .form-group:has(#year_to) {
            flex: 0 0 120px;
            min-width: 120px;
        }
        
        .dropdown-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            pointer-events: none;
            opacity: 0.5;
            transition: transform 0.3s ease;
        }
        
        .form-group:has(.dropdown-list.active) .dropdown-icon {
            transform: translateY(-50%) rotate(180deg);
        }
        
        .form-label {
            position: absolute;
            left: 16px;
            top: 18px;
            color: rgba(12, 19, 29, 0.5);
            font-size: 15px;
            transition: all 0.3s ease;
            pointer-events: none;
            background: white;
            padding: 0 4px;
            border-radius: 4px;
        }
        
        .form-input:focus + .form-label,
        .form-input:not(:placeholder-shown) + .form-label {
            top: -8px;
            font-size: 12px;
            color: #fa742d;
        }
        
        .dropdown-list {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #e0e0e0;
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }
        
        .dropdown-list.active {
            display: block;
        }
        
        .dropdown-item {
            padding: 10px 16px;
            cursor: pointer;
            transition: background 0.2s ease;
            display: flex;
            align-items: center;
        }
        
        .dropdown-item:hover {
            background: #f5f5f5;
        }
        
        .dropdown-item.selected {
            background: var(--page-header-color);
            color: white;
        }
        
        .dropdown-divider {
            height: 1px;
            background: #e0e0e0;
            margin: 4px 0;
        }
        
        .brand-logo {
            width: 24px;
            height: 24px;
            margin-right: 10px;
            vertical-align: middle;
            object-fit: contain;
        }
        
        .brand-name {
            vertical-align: middle;
        }
        
        .form-input {
            padding: 10px 16px;
            border: 0px solid #e0e0e0;
            border-radius: 0;
            font-size: 15px;
            height: 44px;
            transition: all 0.3s ease;
        }
        
        .form-input:disabled {
            background: #f5f5f5;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .form-input:focus {
            outline: none;
            box-shadow: inset 0 0 0 2px #fa742d, 0 0 0 3px rgba(250, 116, 45, 0.1);
        }
        
        input#make {
            border-radius: 10px 0 0 10px;
        }
        
        input#year_to {
            border-radius: 0 10px 10px 0;
        }
        
        .search-button {
            padding: 32px 32px;
            background: #fa742d;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            white-space: nowrap;
            align-self: flex-end;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
        }
        
        .search-button:hover {
            background: #e86624;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(250, 116, 45, 0.3);
        }
        
        .search-button:active {
            transform: translateY(0);
        }
        
        /* ===== Мобільна версія ===== */
        @media (max-width: 768px) {
            .container {
                width: auto;
            }
            
            .header-nav {
                gap: 4px;
            }
            
            .logo img {
                height: 24px;
            }
            
            .page-title {
                font-size: 32px;
            }
            
            /* Бургер-меню */
            .nav-toggle {
                display: flex;
            }
            
            .nav-links {
                position: absolute;
                top: calc(100% + 10px);
                right: 0;
                min-width: 220px;
                flex-direction: column;
                align-items: stretch;
                background: #fff;
                border-radius: 12px;
                box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
                padding: 8px;
                display: none;
                z-index: 1001;
            }
            
            .nav-links.open {
                display: flex;
            }
            
            .nav-links .nav-button {
                color: #1a1a1a;
                width: 100%;
                justify-content: flex-start;
                gap: 12px;
                padding: 12px 16px;
                border-radius: 8px;
            }
            
            .nav-links .nav-button span {
                display: inline;
            }
            
            .nav-links .nav-button:hover {
                background: #f3f4f6;
            }
            
            /* Пошукова форма — мобільна версія */
            .search-section {
                padding: 12px;
                width: auto;
            }
            
            .search-form {
                width: 100%;
                flex-flow: row wrap;
                align-items: stretch;
                gap: 3px;
            }
            
            .form-group {
                flex: 1 1 100%;
                min-width: 0;
            }
            
            .form-group:has(#year_from),
            .form-group:has(#year_to) {
                flex: 1 1 49%;
                min-width: 0;
            }
            
            .form-input {
                border-radius: 0;
                max-width: 100%;
            }
            
            input#make {
                border-radius: 10px 10px 0 0;
            }
            
            input#year_from {
                border-radius: 0 0 0 10px;
            }
            
            input#year_to {
                border-radius: 0 0 10px 0;
            }
            
            .search-button {
                flex: 1 1 100%;
                width: 100%;
                margin-left: 0;
                margin-top: 10px;
                padding: 0 24px;
                height: 48px;
            }
            
            /* SEO-блок */
            .seo-card {
                padding: 24px 20px;
            }
            
            .seo-card h2 {
                font-size: 24px;
            }
            
            .seo-card h3 {
                font-size: 18px;
            }
            
            .seo-features {
                grid-template-columns: 1fr;
                gap: 12px;
            }
        }

