@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-Regular.eot);
    src: url(fonts/Montserrat-Regular.eot) format('embedded-opentype'),
        url(fonts/Montserrat-Regular.woff2) format('woff2'),
        url(fonts/Montserrat-Regular.woff) format('woff'),
        url(fonts/Montserrat-Regular.ttf) format('ttf');
    font-weight: 100 400;
}
@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-SemiBold.eot);
    src: url(fonts/Montserrat-SemiBold.eot) format('embedded-opentype'),
        url(fonts/Montserrat-SemiBold.woff2) format('woff2'),
        url(fonts/Montserrat-SemiBold.woff) format('woff'),
        url(fonts/Montserrat-SemiBold.ttf) format('ttf');
    font-weight: 500 800;
}
@font-face {
    font-family: Montserrat;
    src: url(fonts/Montserrat-Bold.eot);
    src: url(fonts/Montserrat-Bold.eot) format('embedded-opentype'),
        url(fonts/Montserrat-Bold.woff2) format('woff2'),
        url(fonts/Montserrat-Bold.woff) format('woff'),
        url(fonts/Montserrat-Bold.ttf) format('ttf');
    font-weight: 900;
}

body {
    font-family: Montserrat, sans-serif;
    --main-color: #BA9856;
    --main-font-color: #232323;
    --white: #fff;
    --grey-bg: #EEEEEE;
    --dark-bg: #232323;
    --gold-bg: #BA98564D;
    color: var(--main-font-color);
}

p {
    font-size: 14px;
    line-height: 20px;
}

img {
    width: 100%;
    display: block;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1150px;
    }
}

.btn {
    background-color: var(--main-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 10px;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
    font-weight: 600;
    transition: all .3s;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn > img {
    height: 10px;
    width: 10px !important;
}

.btn:hover {
    background-color: var(--dark-bg);
}

.btn.loading:disabled {
    user-select: none;
    pointer-events: none;
    opacity: .5;
    background-image: url(https://assets.digitalhamster.com/bymycar/img/icons/loader.gif);
    background-position: center;
    background-size: 50px;
    background-repeat: no-repeat;
}

a.btn {
    text-decoration: none;
}

/*****************************/
/********** HEADER ***********/
/*****************************/

header {
    padding: 13px 0;
    background-color: var(--dark-bg);
}

header img {
    margin: 0 auto;
    width: auto;
}

/*****************************/
/********** BANNER ***********/
/*****************************/

.banner {
    color: var(--white);
    text-align: center;
}

.banner .banner-img {
    height: 142px;
}

@media (min-width: 768px) {
    .banner .banner-img {
        height: 300px;
    }
}

.banner img {
    object-fit: cover;
    object-position: left center;
    height: 100%;
}

.banner .text {
    background-color: var(--dark-bg);
    padding: 20px 0 29px;
}

.banner h1 {
    font-weight: 600;
    font-size: 30px;
    line-height: 37px;
    margin-bottom: 10px;
}

.banner p {
    margin-bottom: 21px;
}

.banner .stars {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.banner .stars > img {
    width: 24px;
    height: 24px;
}

@media (min-width: 992px) {
    .banner {
        position: relative;
    }

    .banner .text {
        padding: 0;
        background-color: transparent;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banner p {
        max-width: 531px;
        margin: 0 auto 10px;
    }
}

/*****************************/
/********** TITLES ***********/
/*****************************/

h2 {
    font-weight: 900;
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
    text-align: center;
}

h2 + p {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    h2 + p {
        max-width: 680px;
        margin: 0 auto 40px;
    }
}

/*****************************/
/*********** CARDS ***********/
/*****************************/

.cards.no-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
}

.cards.no-slider > div, .cards.owl-carousel .owl-item > div {
    width: 100%;
    max-width: 555px;
}

.cards.owl-carousel .owl-item > div {
    margin: 0 auto;
}

.cards .card {
    background-color: #fff;
    height: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.cards .card > div:last-child {
    padding: 20px 30px 40px;
}

.cards h3 {
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
}

.cards ul {
    margin: 0 0 20px 0;
    list-style: none;
    padding: 0;
}

.cards ul li {
    display: flex;
    column-gap: 6px;
    font-size: 12px;
    line-height: 15px;
}

.cards ul li:not(:last-child) {
    margin-bottom: 6px;
}

.cards ul li > img {
    height: 10px;
    width: 10px !important;
    margin-top: 2px;
}

@media (min-width: 576px) {
    .cards .card {
        flex-direction: row;
    }
    
    .cards .card > div:first-child {
        width: 47%;
    }
    
    .cards .card > div:last-child {
        width: 53%;
        padding: 30px;
    }
    
    .cards h3 {
        margin-bottom: 10px;
    }
}

@media (min-width: 992px) {
    .cards.slick-slider .card {
        width: 555px;
    }
}

.cards .price {
    font-size: 15px;
    line-height: 15px;
    font-weight: 900;
}

.cards .price > span {
    font-size: 10px;
    line-height: 10px;
    font-weight: 400;
}

.cards .price span:not(.not-smaller) > small {
    font-size: 70%;
}

@media (min-width: 576px) {
    .cards .price {
        font-size: 18px;
        line-height: 18px;
    }
}

.cards .card .columns {
    display: flex;
    align-items: center;
    column-gap: 23px;
}

/*****************************/
/************ VN *************/
/*****************************/

.vn {
    background-color: var(--grey-bg);
    padding: 80px 0;
}

.vn .cards .price.mobile {
    margin-bottom: 20px;
}

.vn .cards .price.desktop {
    display: none;
    text-align: center;
}

@media (min-width: 576px) {
    .vn .cards .card > div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .vn .cards .card > div:first-child {
        padding: 30px 10px 30px 30px;
    }
    
    .vn .cards .card > div:last-child {
        padding: 30px 30px 30px 0;
    }

    .vn .cards .price.desktop {
        display: block;
    }

    .vn .cards .price.mobile {
        display: none;
    }
}

/*****************************/
/******* VO & POSVENTA *******/
/*****************************/

.vo .card > div:first-child, .posventa .card > div:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-size: cover;
    background-position: center;
    height: 271px;
}

@media (min-width: 576px) {
    .vo .card > div:first-child, .posventa .card > div:first-child {
        height: unset;
        border-bottom-left-radius: 10px;
        border-top-right-radius: 0;
    }
}

/*****************************/
/************ VO *************/
/*****************************/

.vo {
    background-color: var(--gold-bg);
    padding: 80px 0;
}

.vo .card p {
    margin-bottom: 18px;
}

/*****************************/
/********* POSVENTA **********/
/*****************************/

.posventa {
    background-color: var(--grey-bg);
    padding: 80px 0 100px;
}

.posventa .card p:not(.price), .posventa .card ul {
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .posventa .cards .card > div {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.posventa .card.itv .columns > div:first-child {
    min-width: 45px;
}

.posventa .card.itv .columns > div:last-child {
    width: 100%;
}

.posventa .cards .price .not-smaller {
    display: block;
}

@media (min-width: 576px) {
    .posventa .card.itv .columns > div:first-child {
        min-width: 65px;
    }

    .posventa .cards .price {
        font-size: 25px;
        line-height: 25px;
    }
}

/*****************************/
/********** FOOTER ***********/
/*****************************/

footer {
    background-color: var(--dark-bg);
    padding: 15px 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

footer p, footer a {
    font-size: 12px;
    line-height: 15px;
    color: var(--white);
}

footer p.conditions {
    margin-bottom: 4px;
}

@media (min-width: 768px) {
    footer .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    footer p {
        max-width: 560px;
    }
}

/*****************************/
/********** SLIDER ***********/
/*****************************/

.container.no-width {
    max-width: unset;
}

@media (min-width: 1500px) {
    .container.no-width {
        max-width: 1150px;
    }
}

.cards.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.cards.owl-carousel .owl-stage .owl-item > div {
    height: 100%;
}

.slider-controllers {
    display: flex;
    align-items: center;
    column-gap: 30px;
}

@media (min-width: 992px) {
    section.needs-slider .slider-controllers {
        margin-top: 40px;
    }
}

.slider-controllers > .dots {
    width: 100%;
}

.slider-controllers > .dots > div {
    display: flex;
}

.slider-controllers > .dots .owl-dot {
    width: 100%;
    background-color: var(--main-color);
    transition: all .3s;
    border: none;
    height: 4px;
}

.slider-controllers > .dots .owl-dot:not(.active) {
    opacity: .2;
}

.slider-controllers > .nav {
    display: flex;
    column-gap: 10px;
}

.slider-controllers > .nav > button {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    padding: 0;
    background: transparent url(https://image.bymycar.site/lib/fe4511717564047d711470/m/6/8049d997-30d4-4297-a63b-3bea44c9813b.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
}

.slider-controllers > .nav > button.disabled {
    background-image: url(https://image.bymycar.site/lib/fe4511717564047d711470/m/6/2f0e5dc3-e77c-455d-88bb-652bf1b22429.png);
    cursor: default;
}

.slider-controllers > .nav > button.owl-next.disabled, .slider-controllers > .nav > button.owl-prev:not(.disabled) {
    transform: rotate(180deg);
}

.slider-controllers > .nav > button > span {
    font-size: 0;
}

/*****************************/
/*********** MODAL ***********/
/*****************************/
.modal {
    --dh-bs-modal-max-width: 746px;
    --dh-bs-modal-border-radius: 2px;
    --dh-bs-modal-close-btn-icon: url(https://assets.digitalhamster.com/bymycar/img/icons/cross-gold.svg);
    --dh-bs-modal-close-btn-icon-size: 30px;
    --dh-bs-modal-close-btn-top-d: 17px;
    --dh-bs-modal-close-btn-right-d: 18px;
    --dh-bs-modal-close-btn-top-m: 14px;
    --dh-bs-modal-close-btn-right-m: 14px;
}

.modal .modal-header h4 {
    font-size: 25px;
    line-height: 30px;
    font-weight: 900;
    color: var(--main-color);
    margin-bottom: 8px;
}

.modal .modal-header p {
    margin-bottom: 24px;
}

/*****************************/
/*********** FORM ************/
/*****************************/

.modal form {
    --gap: 12px;
    --error-color: #EE4545;
}

.modal p.note {
    font-size: 12px;
    line-height: 14px;
}

.modal form .columns {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap);
    margin-bottom: var(--gap);
}

.modal form .columns.space-between {
    justify-content: space-between;
}

@media (min-width: 768px) {
    .modal form .columns {
        flex-direction: row;
        column-gap: var(--gap);
    }
}

.modal form .columns > div {
    width: 100%;
}

.modal form .columns.space-between > div {
    width: unset;
}

.modal form input:not([type=checkbox]), .modal form select {
    background: #EEEEEE;
    border-radius: 2px;
    padding: 14px 16px;
    border: none;
    box-sizing: border-box;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    border: 1px solid #EEEEEE;
}

.modal form input:not([type=checkbox]):focus-visible, .modal form select:focus-visible {
    outline: none;
    border-color: var(--main-color);
}

.modal form input::placeholder {
    color: var(--secondary-color);
}

.modal form select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: #EEEEEE url(https://assets.digitalhamster.com/bymycar/img/icons/caret-down-gold.svg) no-repeat center right 16px;
    background-size: 16px;
    padding: 14px 48px 14px 16px;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.modal form button.btn {
    max-width: unset;
    margin-top: 26px;
}

/* checkbox */

.modal form label.checkbox {
    text-align: left;
    width: 100%;
}
  
.modal form label.checkbox a {
    font-size: 12px;
    line-height: 14px;
    color: var(--secondary-color);
    text-underline-offset: 2px;
}
  
.modal form input[type=checkbox] {
    visibility: hidden;
}
  
.modal form input[type=checkbox]+span {
    font-size: 12px;
    line-height: 14px;
    background: transparent url(https://assets.digitalhamster.com/bymycar/img/icons/checkbox-unselected-gold.svg) no-repeat center left;
    background-size: 20px;
    padding: 5px 0 5px 30px;
    cursor: pointer;
    margin-left: -20px;
}
  
.modal form input[type=checkbox]:checked+span {
    background-image: url(https://assets.digitalhamster.com/bymycar/img/icons/checkbox-selected-gold.svg);
}

/* errors */
.modal form label:not(.checkbox).error {
    color: var(--error-color);
    font-size: 12px;
    line-height: 15px;
    width: 100%;
    text-align: left;
    display: block;
}

.modal form input[type=checkbox]+span.error, form input[type=checkbox]+span.error a {
    color: var(--error-color);
    margin-bottom: 5px;
}

.modal form input[type=checkbox]+span.error {
    background-image: url(https://assets.digitalhamster.com/bymycar/img/icons/checkbox-error.svg);
}

.modal form input[type=checkbox] ~ label.error { 
    margin: 5px 0 0;
}
  
.modal form input:not([type=checkbox]).error, .modal form select.error {
    border: 1px solid var(--error-color);
    margin-bottom: 5px;
}