/* Ajustări peste șablonul Zauto. Conținutul AutoHunter stă pe clasele temei. */

.site-logo img {
    width: 176px;
    height: auto;
}

.menu-list > li > a.is-active {
    color: #fb3838;
}

.menu-list > li > a.is-active:after {
    background: #fb3838;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.header-phone {
    color: #253242;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.header-phone:hover {
    color: #fb3838;
}

.mobile-contact {
    display: none;
}

.hero-heading h1 {
    line-height: 1.22;
}

.hero-heading h1 span {
    display: block;
    margin-top: 0.12em;
    padding-top: 0.06em;
}

.banner-header h1 {
    font-size: 42px;
    position: relative;
    line-height: 1.25em;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
}

.hero-image img {
    height: 440px;
    object-fit: cover;
    border-radius: 16px;
}

.fact {
    padding: 8px 10px;
}

.fact strong {
    display: block;
    color: #253242;
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.fact span {
    color: #646464;
}

.offer-area .site-heading > p {
    color: #d8d8d8;
}

.welcome-list i {
    color: #c60202;
}

.filter-bar .nav-link {
    background: #253242;
    color: #fff;
    border-radius: 5px;
    padding: 10px 14px;
    font-weight: 600;
}

.filter-bar .nav-link.active,
.filter-bar .nav-link:hover {
    background: #fb3838;
    color: #fff;
}

.item figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-info p {
    color: #646464;
    margin-bottom: 14px;
}

.card-info .service-link {
    color: #fb3838;
}

.offer-area .item,
.light-cards .item {
    margin-bottom: 24px;
}

.service-row {
    padding: 34px 0;
    border-bottom: 1px solid rgba(37, 50, 66, 0.12);
}

.service-row img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 20px;
}

.service-row h2 {
    color: #253242;
    font-size: 40px;
    margin-bottom: 12px;
}

.brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.brand-list span {
    background: #253242;
    color: #fff;
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 700;
    font-size: 13px;
}

.gallery-area .item-image {
    margin-bottom: 24px;
}

.gallery-area .item-image img {
    height: 210px;
    object-fit: cover;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.filter-bar button {
    border: 0;
    cursor: pointer;
}

.panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 28px;
}

.panel h3 {
    color: #253242;
    margin-bottom: 8px;
}

.panel label {
    display: block;
    font-weight: 700;
    color: #253242;
    margin: 12px 0 6px;
}

.panel input,
.panel select,
.panel textarea {
    width: 100%;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 12px 14px;
    color: #253242;
    background: #fff;
}

.panel textarea {
    min-height: 120px;
}

.contact-lines {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

.contact-lines li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.contact-lines span {
    display: block;
    color: #646464;
    font-size: 13px;
}

.contact-lines a {
    color: #253242;
    font-weight: 700;
    text-decoration: none;
}

.contact-lines a:hover {
    color: #fb3838;
}

.map-frame {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: 12px;
    margin-top: 16px;
}

.footer-logo {
    width: 168px;
    height: auto;
    background: #fff;
    border-radius: 12px;
    padding: 6px 8px;
}

.footer-bottom-area {
    padding: 16px 0 22px;
}

.policy {
    max-width: 980px;
}

.policy h2 {
    color: #253242;
    font-size: 32px;
    margin: 42px 0 16px;
    line-height: 1.2;
}

.policy h2:after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 8px;
    background: #fb3838;
    border-radius: 2px;
}

.policy p,
.policy li {
    color: #4d4d4d;
    line-height: 1.7;
}

.policy p {
    margin-bottom: 14px;
}

.policy ul {
    list-style: none;
    margin: 8px 0 18px;
    padding: 0;
}

.policy li {
    position: relative;
    margin: 0 0 10px;
    padding: 14px 18px 14px 46px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(37, 50, 66, 0.06);
}

.policy li:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fb3838;
}

.policy a {
    color: #c60202;
    font-weight: 600;
}

.policy .updated {
    font-style: italic;
    color: #7a7a6e;
}

.policy-table-wrap {
    overflow-x: auto;
    margin: 18px 0 12px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(37, 50, 66, 0.08);
}

.policy table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.policy th,
.policy td {
    border: 1px solid #eee;
    padding: 14px 16px;
    vertical-align: top;
    text-align: left;
}

.policy th {
    background: #253242;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.policy td {
    background: #fff;
}

.policy tr:nth-child(even) td {
    background: #faf8f6;
}

.footer-area .usful-links .js-cookie-settings {
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.8);
    font: inherit;
    font-weight: 600;
    padding: 0 0 0 20px;
    cursor: pointer;
    position: relative;
}

.footer-area .usful-links .js-cookie-settings:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fb3838;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 8px;
}

.copyright .js-cookie-settings,
.map-note .js-cookie-settings {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.copyright .js-cookie-settings {
    color: #fff;
    font-weight: 500;
}

.map-slot .map-note {
    margin: 12px 0 0;
    padding: 16px;
    border-radius: 12px;
    background: #f7f4ee;
    color: #253242;
}

.cookie-banner,
.cookie-modal {
    position: fixed;
    font-family: "Open Sans", sans-serif;
}

.cookie-banner {
    z-index: 1000;
}

.cookie-modal {
    z-index: 1100;
}

.cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: none;
    background: #fff;
    color: #253242;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    padding: 22px 22px 18px;
    border-top: 4px solid #fb3838;
}

.cookie-banner.is-open {
    display: block;
}

.cookie-banner h2,
.cookie-modal h2 {
    margin: 0 0 8px;
    font-family: "Oswald", sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    color: #253242;
}

.cookie-banner h2:after,
.cookie-modal h2:after {
    display: none;
}

.cookie-banner p,
.cookie-modal p {
    margin: 0 0 14px;
    color: #4d4d4d;
    line-height: 1.55;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-actions button,
.cookie-row button {
    border: 0;
    border-radius: 10px;
    min-height: 44px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
}

.cookie-accept {
    background: #fb3838;
    color: #fff;
}

.cookie-necessary {
    background: #253242;
    color: #fff;
}

.cookie-settings {
    background: #fff;
    color: #253242;
    border: 1px solid #253242 !important;
}

.cookie-modal {
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(20, 24, 28, 0.55);
}

.cookie-modal.is-open {
    display: flex;
}

.cookie-card {
    width: min(520px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.cookie-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.cookie-row strong {
    display: block;
    color: #253242;
}

.cookie-row span {
    color: #646464;
    font-size: 14px;
}

.cookie-row .cookie-switch {
    position: relative;
    width: 52px;
    height: 30px;
    min-height: 30px;
    flex: 0 0 52px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: #d7d7d7;
    cursor: pointer;
}

.cookie-switch[aria-pressed="true"] {
    background: #fb3838;
}

.cookie-switch:disabled {
    cursor: default;
    opacity: 0.75;
}

.cookie-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: left 0.15s ease;
}

.cookie-switch[aria-pressed="true"] .cookie-knob {
    left: 25px;
}

.cookie-card .cookie-actions {
    margin-top: 16px;
}

body.cookie-open {
    padding-bottom: 180px;
}

.footer-contact-link-wrapper span {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
    .site-logo {
        max-width: 150px;
    }

    .site-logo img {
        width: 140px;
    }

    .header-phone {
        display: none;
    }

    .banner-header h1 {
        font-size: 32px;
    }

    .mobile-contact {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1001;
        display: flex;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
    }

    .mobile-contact a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 56px;
        color: #fff;
        font-weight: 700;
        text-decoration: none;
    }

    .mobile-contact a:first-child {
        background: #253242;
    }

    .mobile-contact a:last-child {
        background: #fb3838;
    }

    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }

    .cookie-banner {
        bottom: calc(72px + env(safe-area-inset-bottom));
    }

    body.cookie-open {
        padding-bottom: calc(250px + env(safe-area-inset-bottom));
    }

    .hero-image img,
    .service-row img {
        height: 260px;
    }
}

@media (max-width: 767px) {
    .footer-contact-links-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-contact-links-divider {
        width: 100%;
        height: 1px;
    }

    .hero-heading h1 {
        font-size: 40px;
    }
}
