/* ALBION MOTORS - SOCIAL ICONS */
.albion-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.albion-social__icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff !important;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.albion-social__icon svg {
    width: 9px;
    height: 9px;
    display: block;
}

.albion-social__whatsapp {
    background: #25D366;
}

.albion-social__telegram {
    background: #229ED9;
}

.albion-social__viber {
    background: #7360F2;
}

.albion-social__icon:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,.2);
}

@media (max-width: 576px) {
    .albion-social {
        gap: 5px;
    }

    .albion-social__icon {
        width: 20px;
        height: 20px;
    }

    .albion-social__icon svg {
        width: 9px;
        height: 9px;
    }
}

/* ALBION MOTORS - TOP BAR BACKGROUND */
#sp-top-bar {
    background-color: #042186 !important;
}

#sp-top-bar,
#sp-top-bar a,
#sp-top-bar span,
#sp-top-bar i {
    color: #ffffff !important;
}

/* ALBION MOTORS - FOOTER BACKGROUND */
#sp-footer {
    background-color: #042186 !important;
    color: #ffffff !important;
}

#sp-footer a,
#sp-footer p,
#sp-footer span,
#sp-footer h1,
#sp-footer h2,
#sp-footer h3,
#sp-footer h4 {
    color: #ffffff !important;
}

/* ALBION MOTORS - TOP BAR LAYOUT */

/* Правая часть верхней панели */
#sp-top2 .sp-column {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
}

/* Контакты по центру */

/* ALBION MOTORS - TOP BAR FIX */

#sp-top-bar .container-inner > .row {
    display: flex;
    align-items: center;
}

#sp-top1 {
    width: 25%;
    flex: 0 0 25%;
}

#sp-top2 {
    width: 75%;
    flex: 0 0 75%;
}

#sp-top2 .sp-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Контакты занимают доступное пространство */
#sp-top2 .sp-contact-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 12px;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Языки справа, без наложения */
#sp-top2 .mod-languages {
    position: static;
    transform: none;
    flex: 0 0 auto;
}

#sp-top2 .mod-languages ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

/* Мобильная версия */
@media (max-width: 991px) {
    #sp-top-bar .container-inner > .row {
        flex-wrap: wrap;
    }

    #sp-top1,
    #sp-top2 {
        width: 100%;
        flex: 0 0 100%;
    }

    #sp-top2 .sp-column {
        flex-direction: column;
        gap: 8px;
    }

    #sp-top2 .sp-contact-info {
        justify-content: center;
        text-align: center;
    }

    #sp-top2 .mod-languages {
        align-self: center;
    }
}
/* ALBION MOTORS - CONTACT SOCIAL */

.albion-contact-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.albion-contact-social .albion-social {
    display: flex;
    align-items: center;
    gap: 5px;
}

.albion-contact-social__phone {
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    white-space: nowrap;
}

.albion-contact-social__phone:hover {
    color: #ffffff !important;
    opacity: .8;
}
/* ALBION MOTORS - BRAND CARDS */

.albion-brand-card {
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(4, 33, 134, 0.13);
    border-radius: 14px;
    padding: 18px 14px !important;
    box-shadow: 0 5px 18px rgba(4, 33, 134, 0.10);
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover effect */
.albion-brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(4, 33, 134, 0.16);
    border-color: rgba(4, 33, 134, 0.35);
}

/* Button spacing */
.albion-brand-card .sppb-btn {
    margin-top: 12px;
    border-radius: 25px;
    padding: 9px 25px;
    font-weight: 600;
}
/* ALBION MOTORS - BRAND BUTTON */

.albion-brand-card .sppb-btn {
    background: transparent !important;
    color: #042186 !important;
    border: 1px solid #042186 !important;
    border-radius: 25px !important;
    padding: 9px 26px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* Hover */
.albion-brand-card .sppb-btn:hover {
    background: #042186 !important;
    color: #ffffff !important;
    border-color: #042186 !important;
    box-shadow: 0 4px 12px rgba(4, 33, 134, 0.2) !important;
}

/* ALBION MOTORS - CAR WASH PRICE LIST */

.albion-wash {
    max-width: 1200px;
    margin: 0 auto;
    color: #333;
}

.albion-wash-intro {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.7;
}

.albion-wash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.albion-wash-card {
    background: #fff;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 5px 18px rgba(4, 33, 134, 0.07);
}

.albion-wash-card h2,
.albion-wash-featured h2 {
    color: #042186;
    font-size: 21px;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8edf8;
}

.albion-wash-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
    line-height: 1.5;
}

.albion-wash-item:last-child {
    border-bottom: 0;
}

.albion-wash-item strong {
    color: #042186;
    white-space: nowrap;
    font-size: 16px;
}

.albion-wash-featured {
    grid-column: 1 / -1;
    background: #042186;
    color: #fff;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(4, 33, 134, 0.18);
}

.albion-wash-featured h2 {
    color: #fff;
    border-color: rgba(255,255,255,.25);
}

.albion-wash-price {
    font-size: 36px;
    font-weight: 800;
    margin: 12px 0;
}

.albion-wash-featured p {
    margin: 0;
    color: #fff;
}

.albion-wash-note {
    margin-top: 22px;
    color: #777;
    font-size: 13px;
}

@media (max-width: 767px) {
    .albion-wash-grid {
        grid-template-columns: 1fr;
    }

    .albion-wash-featured {
        grid-column: auto;
    }

    .albion-wash-card {
        padding: 18px;
    }

    .albion-wash-item {
        font-size: 14px;
    }

    .albion-wash-item strong {
        font-size: 14px;
    }
}

.albion-wash-booking {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px;
    background: #f0f4fc;
    border-left: 4px solid #042186;
    border-radius: 6px;
    font-size: 16px;
}

.albion-wash-booking span {
    color: #333;
    font-weight: 600;
}

.albion-wash-booking a {
    color: #042186 !important;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.albion-wash-booking a:hover {
    color: #229ED9 !important;
}
#sp-main-body {
    padding: 20px 0;
}
/* === СЕТКА === */
.albion-catalog-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 0 auto !important;
    align-items: center !important;
}

/* === ЛОГОТИПЫ (занимают всю ширину - 5 колонок) === */
.albion-logo-row {
    grid-column: 1 / 6 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 0 !important;
}

.albion-logo-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.albion-logo-content img {
    max-width: 160px !important;
    max-height: 70px !important;
    object-fit: contain !important;
    margin-bottom: 10px !important;
}

.albion-logo-name {
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    color: #111 !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
}

.albion-logo-subtitle-premium {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
    font-style: italic !important;
    margin-bottom: 4px !important;
}

.albion-logo-subtitle {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #888 !important;
    letter-spacing: 1px !important;
}

/* === КАРТОЧКИ МАШИН === */
.albion-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.3s ease, transform 0.2s ease !important;
}

.albion-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    transform: translateY(-3px) !important;
}

.albion-link-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    z-index: 10 !important;
    font-size: 0 !important; line-height: 0 !important;
}

/* === РАСПОЛОЖЕНИЕ МАШИН ПО РЯДАМ === */

/* РЯД 2: 3 машины Dongfeng (колонки 1, 2, 3) */
.albion-item:nth-of-type(2) { grid-column: 1 / 2 !important; grid-row: 2 / 3 !important; }
.albion-item:nth-of-type(3) { grid-column: 2 / 3 !important; grid-row: 2 / 3 !important; }
.albion-item:nth-of-type(4) { grid-column: 3 / 4 !important; grid-row: 2 / 3 !important; }

/* РЯД 4: 5 машин Forthing (колонки 1-5) */
.albion-item:nth-of-type(6) { grid-column: 1 / 2 !important; grid-row: 4 / 5 !important; }
.albion-item:nth-of-type(7) { grid-column: 2 / 3 !important; grid-row: 4 / 5 !important; }
.albion-item:nth-of-type(8) { grid-column: 3 / 4 !important; grid-row: 4 / 5 !important; }
.albion-item:nth-of-type(9) { grid-column: 4 / 5 !important; grid-row: 4 / 5 !important; }
.albion-item:nth-of-type(10) { grid-column: 5 / 6 !important; grid-row: 4 / 5 !important; }

/* РЯД 6: 3 машины Voyah (колонки 1, 2, 3) */
.albion-item:nth-of-type(12) { grid-column: 1 / 2 !important; grid-row: 6 / 7 !important; }
.albion-item:nth-of-type(13) { grid-column: 2 / 3 !important; grid-row: 6 / 7 !important; }
.albion-item:nth-of-type(14) { grid-column: 3 / 4 !important; grid-row: 6 / 7 !important; }

/* РЯД 8: 1 машина M-HERO (колонка 1) */
.albion-item:nth-of-type(16) { grid-column: 1 / 2 !important; grid-row: 8 / 9 !important; }

/* === КАРТИНКА И ТЕКСТ === */
.albion-img-wrap {
    position: relative !important;
    width: 100% !important; 
    height: 130px !important;
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    margin-bottom: 12px !important; 
    z-index: 1 !important;
}

.albion-img-wrap > img {
    max-width: 100% !important; 
    max-height: 100% !important;
    object-fit: contain !important;
}

.albion-text-wrap {
    display: flex !important; 
    flex-direction: column !important;
    gap: 4px !important; 
    width: 100% !important; 
    z-index: 1 !important;
}

.albion-name { 
    font-size: 15px !important;
    font-weight: 600 !important; 
    color: #111 !important; 
    line-height: 1.3 !important;
}

.albion-price { 
    font-size: 14px !important; 
    color: #555 !important; 
    font-weight: 500 !important;
}

.albion-badge {
    position: absolute !important; 
    top: 0 !important; 
    right: 0 !important;
    padding: 4px 6px !important; 
    font-size: 10px !important; 
    font-weight: 700 !important;
    color: #fff !important; 
    background: #ed3030 !important; 
    border-radius: 4px !important; 
    z-index: 2 !important;
}

.albion-badge-new {
    background: #cccccc !important;
    color: #222 !important;
}

.albion-fuel { 
    position: absolute !important; 
    top: 0 !important; 
    left: 0 !important; 
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.albion-fuel img { 
    width: 22px !important; 
    height: 22px !important;
    object-fit: contain !important;
}

/* === АДАПТИВНОСТЬ (ИСПРАВЛЕННАЯ И УСИЛЕННАЯ) === */

/* Планшеты и большие телефоны (до 768px) - делаем 2 колонки */
@media (max-width: 768px) {
    .albion-catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* ПОЛНЫЙ СБРОС жёсткого позиционирования для мобильных! */
    .albion-item,
    .albion-logo-row,
    .albion-divider {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    /* Логотипы и разделители всегда растягиваются на всю ширину (2 колонки) */
    .albion-logo-row,
    .albion-divider {
        grid-column: 1 / -1 !important;
    }

    .albion-img-wrap {
        height: 120px !important;
    }
    
    .albion-name {
        font-size: 14px !important;
    }
    
    .albion-price {
        font-size: 13px !important;
    }
}

/* Маленькие телефоны (до 480px) - делаем 1 колонку для удобства чтения */
@media (max-width: 480px) {
    .albion-catalog-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .albion-logo-row,
    .albion-divider {
        grid-column: 1 / -1 !important;
    }

    .albion-img-wrap {
        height: 140px !important;
    }
}
/* === ЯДЕРНЫЙ СБРОС ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ === */
@media (max-width: 768px) {
    /* 1. Заставляем сетку быть строго 2 колонки и растягиваться по высоте */
    .albion-catalog-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: minmax(min-content, max-content) !important;
        gap: 15px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /* 2. ПОЛНОСТЬЮ уничтожаем любые привязки к строкам и колонкам у ВСЕХ элементов */
    .albion-catalog-grid > * {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* 3. Логотипы и разделители всегда занимают всю ширину (2 колонки) */
    .albion-logo-row,
    .albion-divider {
        grid-column: 1 / -1 !important;
    }

    /* 4. Исправляем размеры для мобильных */
    .albion-img-wrap {
        height: 110px !important;
    }
    .albion-name {
        font-size: 13px !important;
    }
    .albion-price {
        font-size: 12px !important;
    }
}

/* Для очень узких телефонов (iPhone SE и т.д.) делаем 1 колонку */
@media (max-width: 400px) {
    .albion-catalog-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === ШАГ 1.5: ЛЕЧЕНИЕ "ОБРЕЗАННОГО" МОДУЛЯ JOOMLA === */
/* Эти правила заставляют родительские блоки Joomla показывать всё содержимое */
.sp-column, .sp-row, .container, .article-body, .custom {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
/* === ФИКС ДЛЯ МОБИЛЬНЫХ - ПОЛНЫЙ СБРОС === */
@media (max-width: 768px) {
    /* Принудительно 2 колонки */
    .albion-catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-flow: row !important;
    }
    
    /* ПОЛНОСТЬЮ убираем все привязки к строкам и колонкам */
    .albion-item:nth-of-type(2),
    .albion-item:nth-of-type(3),
    .albion-item:nth-of-type(4),
    .albion-item:nth-of-type(6),
    .albion-item:nth-of-type(7),
    .albion-item:nth-of-type(8),
    .albion-item:nth-of-type(9),
    .albion-item:nth-of-type(10),
    .albion-item:nth-of-type(12),
    .albion-item:nth-of-type(13),
    .albion-item:nth-of-type(14),
    .albion-item:nth-of-type(16) {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    
    /* Логотипы и разделители всегда на всю ширину */
    .albion-logo-row,
    .albion-divider {
        grid-column: 1 / -1 !important;
    }
    
    /* Исправляем размеры для мобильных */
    .albion-img-wrap {
        height: 100px !important;
    }
    .albion-name {
        font-size: 13px !important;
    }
    .albion-price {
        font-size: 12px !important;
    }
}

/* Лечим обрезание контента в Joomla/Helix3 */
@media (max-width: 768px) {
    .sp-column, .sp-row, .container, .article-content, .custom, .albion-catalog-grid {
        overflow: visible !important;
        height: auto !important;
        max-height: none !important;
    }
}
/* === УБИРАЕМ ВЕРХНИЙ ОТСТУП НА МОБИЛЬНЫХ === */
@media (max-width: 768px) {
    .albion-catalog-grid {
        margin-top: -30px !important;
        padding-top: 0 !important;
    }
    
    .albion-logo-row:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .albion-logo-row:first-child .albion-logo-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* === УБИРАЕМ ВЕРХНИЙ ОТСТУП НА ВСЕХ УСТРОЙСТВАХ === */
.albion-catalog-grid {
    margin-top: -30px !important;
    padding-top: 0 !important;
}

.albion-logo-row:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.albion-logo-row:first-child .albion-logo-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* === СЕТКА RENAULT === */
.renault-catalog-grid {
    display: grid !important;
    /* На больших экранах 4 колонки, на средних 3, на маленьких 2 */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* === КАРТОЧКА МАШИНЫ === */
.renault-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important; /* Чуть более скругленные углы для стиля Renault */
    padding: 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.renault-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-5px) !important;
    border-color: #ffcc00 !important; /* Желтый акцент при наведении (цвет Renault) */
}

/* Ссылка-оверлей */
.renault-link-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    z-index: 10 !important;
    font-size: 0 !important; line-height: 0 !important;
}

/* Обертка картинки */
.renault-img-wrap {
    width: 100% !important;
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 16px !important;
}

.renault-img-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Текстовый блок */
.renault-text-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
}

.renault-name {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #000 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.renault-price {
    font-size: 15px !important;
    color: #555 !important;
    font-weight: 500 !important;
}

.renault-cta {
    font-size: 13px !important;
    color: #0055a4 !important; /* Синий цвет Renault */
    font-weight: 600 !important;
    margin-top: 4px !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
}

.renault-item:hover .renault-cta {
    opacity: 1 !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .renault-catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .renault-img-wrap {
        height: 110px !important;
    }
    .renault-name {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .renault-catalog-grid {
        grid-template-columns: 1fr !important;
    }
    .renault-img-wrap {
        height: 160px !important;
    }
}
/* === ЗАГОЛОВОК КАТЕГОРИИ === */
.renault-category-title {
    grid-column: 1 / -1 !important;
    text-align: center !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #000 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin: 30px 0 20px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #ffcc00 !important; /* Желтая линия в стиле Renault */
    width: 100% !important;
    display: block !important;
}

/* Если заголовок вне сетки (как в HTML выше) */
.renault-catalog-grid + .renault-category-title,
.renault-category-title + .renault-catalog-grid {
    margin-top: 30px !important;
}

/* === ИСПРАВЛЕНИЕ ДЛЯ ДЛИННЫХ НАЗВАНИЙ === */
/* Чтобы "MASTER VEOKASTIGA/KALLUR/FURGOON" не ломал карточку */
.renault-name {
    word-break: break-word !important;
    hyphens: auto !important;
    line-height: 1.2 !important;
    min-height: 44px !important; /* Выравнивает карточки по высоте */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* === ВЫРАВНИВАНИЕ КАРТОЧЕК ПО ВЫСОТЕ === */
.renault-item {
    justify-content: flex-start !important;
}

.renault-text-wrap {
    margin-top: auto !important; /* Прижимает текст к низу карточки */
}

/* === АДАПТИВНОСТЬ ЗАГОЛОВКА === */
@media (max-width: 768px) {
    .renault-category-title {
        font-size: 18px !important;
        margin: 20px 0 15px 0 !important;
    }
    .renault-name {
        font-size: 14px !important;
        min-height: 36px !important;
    }
}

@media (max-width: 480px) {
    .renault-category-title {
        font-size: 16px !important;
    }
    .renault-name {
        font-size: 13px !important;
    }
}
/* === ИКОНКА ТОПЛИВА ДЛЯ RENAULT === */
.renault-fuel {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2 !important;
}

.renault-fuel img {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
}

/* === АДАПТИВНОСТЬ ДЛЯ ДЛИННЫХ НАЗВАНИЙ === */
@media (max-width: 768px) {
    .renault-name {
        font-size: 13px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .renault-name {
        font-size: 12px !important;
        min-height: 36px !important;
    }
}
/* === БЕЙДЖ НОВИНКИ ДЛЯ DACIA === */
.renault-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    padding: 4px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: #ed3030 !important;
    border-radius: 4px !important;
    z-index: 2 !important;
}

.renault-badge-new {
    background: #cccccc !important;
    color: #222 !important;
}
/* === ФИКС ДЛЯ МОБИЛЬНЫХ: СТРОГО 2 КОЛОНКИ === */
@media (max-width: 768px) {
    .renault-catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Всегда 2 колонки на телефонах и планшетах */
        gap: 8px !important; /* Минимальный отступ между карточками */
    }

    .renault-item {
        padding: 8px !important; /* Уменьшаем внутренние отступы карточки */
        border-radius: 8px !important;
    }

    .renault-img-wrap {
        height: 90px !important; /* Компактная высота картинки */
        margin-bottom: 8px !important;
    }

    .renault-name {
        font-size: 11px !important; /* Уменьшаем шрифт названия */
        min-height: 28px !important; /* Выравниваем высоту заголовков в 2 строки */
        line-height: 1.2 !important;
        word-break: break-word !important;
    }

    .renault-price {
        font-size: 10px !important; /* Уменьшаем шрифт цены */
        margin-top: 2px !important;
    }

    .renault-cta {
        font-size: 9px !important; /* Уменьшаем текст кнопки */
        margin-top: 2px !important;
    }

    /* Уменьшаем иконку топлива на мобильных */
    .renault-fuel img {
        width: 18px !important;
        height: 18px !important;
    }
    
    .renault-fuel {
        top: 4px !important;
        left: 4px !important;
    }
}

/* Для ОЧЕНЬ узких экранов (например, старые iPhone SE 320px) делаем еще компактнее */
@media (max-width: 360px) {
    .renault-catalog-grid {
        gap: 6px !important;
    }
    .renault-img-wrap {
        height: 75px !important;
    }
    .renault-name {
        font-size: 10px !important;
        min-height: 26px !important;
    }
    .renault-price, 
    .renault-cta {
        font-size: 9px !important;
    }
}
 

/* ALBION MOTORS - SERVICE CARDS */

.albion-wash .albion-wash-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.albion-wash .albion-wash-card {
    display: block;
    padding: 22px;
}

.albion-wash .albion-wash-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.albion-wash .albion-wash-item h3 {
    width: 100%;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
    color: #12376B;
}

.albion-wash .albion-wash-item p {
    width: 100%;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767px) {
    .albion-wash .albion-wash-grid {
        grid-template-columns: 1fr;
    }
}
/* ALBION MOTORS - CONTACT INTRO SPACING */

.albion-wash .albion-contact-intro {
    background: #042186;
    color: #ffffff;
    border-radius: 12px;
    padding: 25px 30px;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
}

.albion-wash .albion-contact-intro h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 12px;
}

.albion-wash .albion-contact-intro p {
    color: #ffffff;
    margin-bottom: 0;
}
/* ALBION - FULL WIDTH SERVICE CARD */

.albion-wash .albion-wash-card-wide {
    grid-column: 1 / -1;
}
/* ALBION - BOOKING BLOCK FIX */

.albion-wash .albion-wash-booking {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px;
}

.albion-wash .albion-wash-booking h2,
.albion-wash .albion-wash-booking > p,
.albion-wash .albion-booking-phones {
    display: block;
    width: 100%;
    margin: 0;
}

.albion-wash .albion-booking-phones {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px;
    margin-top: 8px;
}

.albion-wash .albion-booking-phones p {
    margin: 0;
}
/* ALBION MOTORS GOOGLE MAP */
.albion-footer-map {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.albion-footer-map iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 767px) {
    .albion-footer-map iframe {
        height: 300px;
    }
}


/* ALBION MOTORS - UED AUTOD DROPDOWN */

/* Строки выпадающего меню */
.sp-megamenu-parent .sp-dropdown li > a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    min-height: 58px;
    padding: 10px 20px !important;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.3;
    transition: background 0.2s ease;
}

/* Единая колонка для всех логотипов */
.sp-megamenu-parent .sp-dropdown li > a img {
    display: block !important;
    width: 48px !important;
    height: 36px !important;
    max-width: 48px !important;
    max-height: 36px !important;
    object-fit: contain !important;
    object-position: center;
    flex: 0 0 48px !important;
    margin: 0 !important;
}

/* Подсветка при наведении */
.sp-megamenu-parent .sp-dropdown li > a:hover {
    background: #f2f5fa !important;
    color: #042186 !important;
}

/* ALBION MOTORS - HOMEPAGE INTRO */

.albion-home-info {
    max-width: 1050px;
    margin: 0 auto 35px;
    text-align: center;
}

.albion-home-info h2 {
    color: #042186;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.albion-home-info h3 {
    color: #26354d;
    font-size: 21px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
}

.albion-home-info p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

@media (max-width: 767px) {
    .albion-home-info h2 {
        font-size: 25px;
    }

    .albion-home-info h3 {
        font-size: 18px;
    }

    .albion-home-info p {
        font-size: 15px;
    }
}

/* ALBION MOTORS - HOMEPAGE FOOTER TEXT */

.albion-home-footer {
    text-align: center;
    color: #042186;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin: 35px auto 0px;
    padding: 15px 0px;
    border-top: 1px solid #e3e8f0;
}

/* ALBION MOTORS - FOOTER CONTACT TITLES */

#sp-kontakt .sp-module-title {
    color: #042186 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
    text-transform: uppercase;
}

#sp-kontakt .sp-module-title a {
    color: #042186 !important;
}

#sp-kontakt .sp-module-content {
    margin-top: 0 !important;
}
#sp-kontakt .sp-module-title {
    margin-top: 20px !important;
}
/* ALBION MOTORS - FOOTER CONTACT TITLES EST */

#sp-kontaktid .sp-module-title {
    color: #042186 !important;
    font-size: 19px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    padding-bottom: 0 !important;
    text-transform: uppercase;
}

#sp-kontaktid .sp-module-title a {
    color: #042186 !important;
}

#sp-kontaktid .sp-module-content {
    margin-top: 0 !important;
}
#sp-kontaktid .sp-module-title {
    margin-top: 20px !important;
}

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    display: inline-block;
    padding: 0 15px;
    line-height: 60px;
    font-size: 16px;
    margin: 0;
}
.sp-megamenu-parent>li.active>a, .sp-megamenu-parent>li.active:hover>a {
    color: #042186;
}
/* ========================================
   HEADER - высота белой области
   ======================================== */

#sp-header {
    height: 70px !important;
}

#sp-header .container-inner {
    min-height: 70px !important;
    height: 70px !important;
}

#sp-header .logo,
#sp-header .sp-logo {
    height: 70px !important;
    display: flex;
    align-items: center;
}

.albion-brand-card {
    height: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.albion-brand-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
}
.albion-brand-ad img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.albion-brand-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.albion-brand-ad img {
    width: 100%;
    height: 100%;
    max-height: 290px;
    object-fit: contain;
    object-position: center;
    border-radius: 14px;
}
.albion-brand-ad img {
    border-radius: 18px !important;
    overflow: hidden;
}

.albion-brand-ad {
    overflow: hidden;
}

.albion-brand-ad .sppb-addon-single-image-container {
    border-radius: 18px !important;
    overflow: hidden;
}

/* Albion Motors — кнопка записи на услугу */
.albion-booking-btn {
    display: inline-block;
    width: auto;
    padding: 12px 28px;
    background-color: #042186 !important;
    color: #ffffff !important;
    border: 1px solid #042186 !important;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Наведение */
.albion-booking-btn:hover {
    background-color: #4b8fe8 !important;
    border-color: #4b8fe8 !important;
    color: #ffffff !important;
}

/* Нажатие */
.albion-booking-btn:active {
    background-color: #4b8fe8 !important;
    border-color: #4b8fe8 !important;
    color: #ffffff !important;
}

/* После нажатия — возврат к исходному цвету */
.albion-booking-btn:focus {
    background-color: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
    outline: none;
    box-shadow: none !important;
}
/* Albion Motors — кнопка записи в popup */
.sppb-addon-module .albion-booking-btn {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;

    background: #042186 !important;
    border: 1px solid #042186 !important;
    color: #ffffff !important;

    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Наведение и нажатие */
.sppb-addon-module .albion-booking-btn:hover,
.sppb-addon-module .albion-booking-btn:active {
    background: #4b8fe8 !important;
    border-color: #4b8fe8 !important;
    color: #ffffff !important;
}

/* После отпускания кнопки */
.sppb-addon-module .albion-booking-btn:focus {
    background: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

/* VikRentCar — убрать лишнюю высоту в карточках автомобилей */
.vrc-car-result-inner {
    min-height: auto !important;
    height: auto !important;
}

/* Компактное расположение описания и цены */
.vrc-car-result-rightinner-deep {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vrc-car-lastblock {
    margin-top: auto;
}


/* VikRentCar — кнопка «Запросить информацию» */
.vrc-reqinfo-cont .vrc-reqinfo-opener {
    background-color: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
}

/* Наведение мыши */
.vrc-reqinfo-cont .vrc-reqinfo-opener:hover {
    background-color: #03165E !important;
    border-color: #03165E !important;
    color: #ffffff !important;
}

/* Кнопка «Забронировать» */
.car_buttons_box input.btn.booknow {
    background-color: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
}

/* Цвет при наведении */
.car_buttons_box input.btn.booknow:hover {
    background-color: #0633b8 !important;
    border-color: #0633b8 !important;
    color: #ffffff !important;
}

/* Кнопка «Подтвердить заказ» */
.vrc-save-order-block input[name="saveorder"] {
    background-color: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
}

/* При наведении */
.vrc-save-order-block input[name="saveorder"]:hover {
    background-color: #0633b8 !important;
    border-color: #0633b8 !important;
    color: #ffffff !important;
}

.albion-rental-intro {
    width: 100%;
    margin: 25px auto 30px;
    padding: 5px 10px;
    text-align: center;
    box-sizing: border-box;
}

.albion-rental-intro .albion-rental-line {
    width: 110px;
    height: 2px;
    margin: 0 auto 20px;
    background-color: #042186;
}

.albion-rental-intro h2 {
    color: #042186 !important;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
    text-transform: none;
}

.albion-rental-intro p {
    max-width: 760px;
    margin: 0 auto;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

@media (max-width: 767px) {
    .albion-rental-intro h2 {
        font-size: 21px;
    }

    .albion-rental-intro p {
        font-size: 14px;
    }
}
/* ALBION MOTORS - HOMEPAGE autorent */

.albion-home-infoa {
    max-width: 1050px;
    margin: 0 auto 0px;
    text-align: center;
}

.albion-home-infoa h2 {
    color: #042186;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.albion-home-infoa h3 {
    color: #26354d;
    font-size: 21px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 0px;
}

.albion-home-infoa p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 0px;
}

@media (max-width: 767px) {
    .albion-home-infoa h2 {
        font-size: 25px;
    }

    .albion-home-infoa h3 {
        font-size: 18px;
    }

    .albion-home-infoa p {
        font-size: 15px;
    }
}
/* Albion Motors – VikRentCar Cars button */

.vrcmodcarsgridview .btn-vrcmodcarsgrid-btn {
    background-color: #042186 !important;
    border-color: #042186 !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.vrcmodcarsgridview .btn-vrcmodcarsgrid-btn:hover,
.vrcmodcarsgridview .btn-vrcmodcarsgrid-btn:focus {
    background-color: #03165f !important;
    border-color: #03165f !important;
    color: #ffffff !important;
}

/* Albion Motors — VikRentCar slider navigation */

#vrc-modcars-144 .owl-nav button.owl-prev,
#vrc-modcars-144 .owl-nav button.owl-next {
    width: 40px !important;
    height: 20px !important;
    min-width: 40px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #042186 !important;
    border: 1px solid #042186 !important;
    border-radius: 4px !important;

    opacity: 1 !important;
    transition: background-color 0.25s ease !important;
}

#vrc-modcars-144 .owl-nav button.owl-prev span,
#vrc-modcars-144 .owl-nav button.owl-next span {
    display: block !important;
    font-size: 20px !important;
    line-height: 1 !important;
    color: #ffffff !important;
}

#vrc-modcars-144 .owl-nav button.owl-prev:hover,
#vrc-modcars-144 .owl-nav button.owl-next:hover {
    background: #03165f !important;
    border-color: #03165f !important;
}

/* Mobile */
@media (max-width: 767px) {
    #vrc-modcars-144 .owl-nav button.owl-prev,
    #vrc-modcars-144 .owl-nav button.owl-next {
        width: 30px !important;
        height: 20px !important;
        min-width: 30px !important;
    }
}

#vrc-modcars-144 .owl-nav button.owl-prev,
#vrc-modcars-144 .owl-nav button.owl-next {
    line-height: 20px !important;
    vertical-align: middle !important;
}

#vrc-modcars-144 .owl-nav button.owl-prev span,
#vrc-modcars-144 .owl-nav button.owl-next span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    transform: translateY(-2px);
}
/* Albion Motors – VikRentCar phone field */

.vrcdivcustomfield .iti {
    width: 100% !important;
}

.vrcdivcustomfield .iti input {
    padding-left: 85px !important;
    box-sizing: border-box !important;
}
.sp-page-title {
    background-color: #042186 !important;
}