.katalog-form {
    width: 100%;
    max-width: calc(100% - 16.375rem);
    margin: 0 auto;
}

@media only screen and (min-width: 576px) {
    .katalog-form__categories {
        gap: 15px;
    }

    .katalog-form__fields {
        padding: 1.875rem 1.5rem;
        margin-bottom: 1.875rem;
        gap: 15px;
    }

    /* pole select */
    .katalog-form__fields .field {
        padding: 1rem 2.5rem 1rem 1.25rem;
        flex: 1 1 0;
    }

    .katalog-form__fields .field {
        min-width: 200px;
    }
}


.katalog-form__category {
    font-weight: 500;
    color: #fff;
    background: var(--bs-gray);
    padding: .75rem 1.25rem;
    gap: 6px;
    cursor: pointer;
    min-width: 160px;
}

.katalog-form__category.active {
    font-weight: 700;
    background: var(--bs-lightgray);
    color: var(--bs-primary);
}

.custom-radio {
    vertical-align: middle;
    background: transparent;
    border: 1px solid var(--bs-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-right: 3px;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.katalog-form__category.active .custom-radio {
    border: var(--bs-primary) 1px solid;
}

.katalog-form__category:not(.active) .custom-radio>span {
    display: none;
}

.custom-radio input[type="radio"] {
    opacity: 0;
    cursor: pointer;
}

.custom-radio input[type="radio"]+span {
    background: #fff;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: block;
    position: absolute;
    top: 4px;
    left: 4px;
}

.custom-radio input[type="radio"]:checked+span {
    background: var(--bs-primary);
}

.katalog-form__fields .select-field span {
    font-family: var(--bs-body-font-family);
    font-weight: 300 !important;
    font-size: 18px;
}

/* chevron */
.katalog-form__fields .field:not([data-type="checkbox"])[data-type="select"] svg {
    top: unset;
    bottom: 1rem;
}

/* pole select */
.katalog-form__fields .field {
    padding: 1rem;
    flex: 1 1 0;
}

/* selected field */
.katalog-form__fields .field {
    border-left: var(--bs-white) 3px solid;
    justify-content: space-between;
    min-width: 150px;
}

.katalog-form__fields .field.selected {
    border-left: var(--bs-primary) 3px solid;
}

.katalog-form__fields .field.selected .select-field span {
    color: var(--bs-primary);
    font-weight: 700 !important;
}

.katalog-form__fields .field.selected span[data-select-preview] {
    text-wrap: nowrap;
    overflow: hidden
}

.katalog-form__fields .field.selected .select-field::before {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    width: 20px;
    height: 30px;
    right: 0;
    bottom: 0;
    z-index: 2;
}

@media (max-width: 767.98px) {
    .katalog-form {
        max-width: calc(100% - 3.375rem);
    }

    .katalog-form .field:not([data-type="checkbox"])[data-type="select"] .options .options-wrapper .option {
        padding-right: 1.5rem;
        text-wrap: wrap;
    }

    .katalog-form .field:not([data-type="checkbox"]) label {
        margin-bottom: 0.5rem;
    }
}

.used-vehicles .vehicle {
    display: flex;
}

.vehicle-list li {
    margin-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
}

.vehicle-list li>svg {
    flex: 0 0 auto;
}

/** novinky a akce **/

@media (max-width:991px) {
    #novinky-a-akce-slider .owl-carousel.hp .owl-item .slider-item img {
        height: auto;
        position: relative;
        aspect-ratio: 765 / 340;
    }

    section#novinky-a-akce-slider {
        height: auto;
        overflow: visible !important;
    }

    #novinky-a-akce-slider,
    #novinky-a-akce-slider .owl-carousel.hp,
    #novinky-a-akce-slider .owl-carousel.hp .owl-stage-outer,
    #novinky-a-akce-slider .owl-carousel.hp .owl-stage,
    #novinky-a-akce-slider .owl-carousel.hp .owl-item,
    #novinky-a-akce-slider .owl-carousel.hp .slider-item,
    #novinky-a-akce-slider .owl-carousel.hp .slider-content {
        min-height: unset;
    }

    #novinky-a-akce-slider .slider-nav-custom,
    #novinky-a-akce-slider .owl-nav-custom {
        padding: 0 1.75rem;
        bottom: -15px !important
    }
}

.offers .offer .offer-image img {
    aspect-ratio: 1 / 1;
}

/* MAN pages */
.header-man .header-logo-text {
    margin-right: auto;
    font-size: 12px;
    max-width: 240px;
    padding-top: 5px;
}

.header-man .header-logo-text img {
    margin-bottom: 0.5rem;
}

.header-man .custom-logo {
    margin-right: 1rem;
    max-width: 180px;
    display: block;
}

.header-man .header-left {
    flex: 1
}

.header-man .menu-mobile-toggle {
    margin-left: 1.5rem;
}

header .header-man .header-contact {
    text-align: right;
}


@media (min-width:992) {
    #section-offers.man .offers {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
    }
}


@media (max-width: 767.98px) {
    #content.man .offers .offer .offer-image {
        aspect-ratio: 1 / 1;
    }
}


@media (max-width:920px) {
    header .header-man .header-contact {
        display: none !important
    }
}

@media (max-width:720px) {
    header .header-man .header-left>.socialicons {
        display: none !important
    }
}

@media (max-width:430px) {
    img.custom-logo.man {
        max-width: 70px;
    }

    .header-man .custom-logo {
        max-width: 100px;
    }

    .header-man .header-logo-text {
        font-size: 10px;
        padding-top: 5px;
    }

}


@media (min-width:1250) {
    #section-offers.man .offers {
        grid-template-columns: repeat(3, 1fr);

    }
}




#section-hero {
    position: relative;
}

section#section-hero .man-page-intro {
    position: relative;
}

section#section-hero .man-page-intro::before {
    content: "";
    background: linear-gradient(45deg, #000000d6, #00000059);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

.man-page-intro>img,
.man-page-intro>picture img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.man-page-intro-content {
    position: relative;
    height: 65vH;
    min-height: 600px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 6.5rem 0;
    z-index: 2;
    max-width: 500px;
    font-family: var(--bs-title-font-family);
    font-size: 1.375rem;
}

.man-page-intro-content h1 {
    color: white;
}

.man-page-intro-content .btn {
    max-width: max-content;
    margin-top: 1.75rem;
}

.man-content-block .checkboxes,
.man-content-block .subtitle,
.contact-position,
.contact-name {
    text-transform: uppercase;
    font-family: var(--bs-title-font-family);
    font-weight: 600;
}

.man-content-block .subtitle {
    font-size: 1.425rem;
}

.man-offer-card-content {
    background: var(--bs-gray-100);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.man-offer-card-content p:last-of-type {
    margin-bottom: 1.25rem;
}

.man-offer-card-content .btn {
    margin-top: auto;
    padding: 1rem;
}

@media (min-width:992px) and (max-width:1213px) {
    .man-offer-card-content h4 {
        min-height: 60px;
    }
}

.contact-box {
    color: var(--bs-gray-darker)
}

.contact-position {
    font-size: 1.275rem;
}

.contact-name {
    font-size: 1.125rem;
}

.contact-box {
    padding-right: 1rem;
}

.contact-box>div {
    margin-bottom: 0.25rem;
}

.contact-box a {
    margin: 0.5rem 0;
    display: block;
}

.contact-box a {
    color: inherit;
}

.contact-box svg {
    fill: var(--bs-primary)
}

/* katalogy */
.dflip-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

._3d-flip-book .book-thumbnail img {
    max-width: 100%;
}

.fb3d-thumbnail-lightbox-mode .book-heading h3,
.fb3d-thumbnail-mode .book-heading h3 {
    padding: 12px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    background: rgb(230 0 51 / 90%) !important;
}

.fb3d-thumbnail-lightbox-mode:hover .book-heading h3,
.fb3d-thumbnail-mode:hover .book-heading h3 {
    bottom: 8px !important;
}


@media (max-width:1200px) {
    .dflip-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:800px) {
    .dflip-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:420px) {
    .dflip-archive-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}

.partners-loga-grid-wrap {
    display: flex;
    padding-bottom: 40px
}

.partners-block {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.25rem;
    width: 100%;
}

.partners-block picture,
.partners-block a {
    text-align: center;
}

.partners-block img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
    padding: 0.5rem;
    max-width: 100%;
    height: auto;
}

@media (max-width:1200px) {
    .partners-block {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width:920px) {
    .partners-block {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:520px) {
    .partners-block {
        grid-template-columns: repeat(2, 1fr);
    }

}