/*==========  Desktop First Method  ==========*/

@media only screen and (max-width: 1400px) {}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
    .product-item-image-wrapper {
        height: 160px;
    }

    .product-item-image-original {
        background-size: cover;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
    #content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contacts-section .contact-item h2 {
        font-size: 30px;
    }

    .card-title a {
        font-size: 30px !important;
    }

    .card-body {
        height: 130px !important;
    }

    header .container-xxl {
        padding-left: 10px;
        padding-right: 10px;
    }

    footer .col-lg-4:not(:last-child) {
        margin-bottom: 30px;
    }

    ol {
        margin-bottom: 0;
    }

    .video-block img {
        max-width: 500px;
        width: 100%;
    }

    .header-row {
        align-items: center;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
    
    body:not(.page-home) #content {
        padding-top: 50px;
        padding-bottom: 0px;
    }
    body[class^="page-catalog"] .catalog-section {
        margin-bottom: 0 !important;
    }
}

@media only screen and (max-width: 575px) {
    .section {
        padding: 50px 0;
    }
    .page-catalog .product-item {
        height: 300px;
    }
    .product-item-image-original {
        background-size: cover;
    }
    #content {
        padding-left: 0;
        padding-right: 0;
    }
.product-item-image-wrapper {
    margin-bottom: 5px;
}
    .breadcrumb-block,
    .section-title {
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

.product-item-image-wrapper {
    height: 150px;
}


.product-item-title {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
}

.card-img-top {
    height: 250px !important;
}

.card-body {
    height: auto !important;
}

.card-title a {
    font-size: 20px !important;
}

.contacts-section .contact-item h2 {
    font-size: 20px;
}

.contacts-section .contact-item {
    font-size: 18px;
}
}


/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {
    .product-item-image-wrapper {
        height: 120px;
    }
}

@media only screen and (max-width : 400px) {}

/* Custom, iPhone Retina */
@media only screen and (max-width : 320px) {}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {}


@media only screen and (min-width : 576px) {}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .header-row {
        align-items: flex-end;
    }

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    h1 {
        font-size: 40px;
    }
}

@media only screen and (min-width : 1400px) {}

@media (min-width: 767px) and (max-width : 991px) {}