/* =========================================================
   NEW PRODUCTS
   ========================================================= */

.new {
    width: 100%;
    padding: 60px 0 70px;
    background: #f8f9fa;
}

.new .container {
    max-width: 1320px;
}


/* =========================================================
   TITLE
   ========================================================= */

.new .title-info {
    text-align: center;
    margin-bottom: 40px;
}

.new .title-info .title {
    position: relative;

    margin: 0;
    padding-bottom: 16px;

    color: #333;

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 600;
}

.new .title-info .title::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: 55px;
    height: 3px;

    transform: translateX(-50%);

    background: #007bff;

    border-radius: 3px;
}


/* =========================================================
   PRODUCTS WRAPPER
   ========================================================= */

.new-info {
    display: flex;
    flex-wrap: wrap;

    margin-left: -12px;
    margin-right: -12px;
}


/* =========================================================
   PRODUCT COLUMN
   ========================================================= */

.new-grid {
    position: relative;

    width: 25%;
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;

    box-sizing: border-box;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.new-grid {
    display: flex;
}

.new-grid > .new-top,
.new-grid > .new-bottom {
    box-sizing: border-box;
}


/*
   Правим цялата комбинация top + bottom
   да изглежда като една карта
*/
.new-grid {
    display: block;
}

.new-grid .new-top {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e8eaed;
    border-bottom: 0;

    border-radius: 8px 8px 0 0;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.045);

    transition:
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.new-grid .new-bottom {
    min-height: 145px;

    padding: 18px 20px 20px;

    background: #fff;

    border: 1px solid #e8eaed;
    border-top: 0;

    border-radius: 0 0 8px 8px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.055);

    transition:
        box-shadow 0.25s ease;
}

.new-grid:hover .new-top {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.10);
}

.new-grid:hover .new-bottom {
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.new-grid .new-top > a:first-child {
    display: block;

    width: 100%;
    height: 260px;

    overflow: hidden;

    background: #fff;
}

.new-grid .new-top img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.45s ease;
}

.new-grid:hover .new-top img {
    transform: scale(1.045);
}


/* =========================================================
   HOVER MENU
   ========================================================= */

.new-grid .new-text {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 12px 15px;

    background: rgba(255, 255, 255, 0.96);

    border-top: 1px solid rgba(0, 0, 0, 0.06);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.new-grid:hover .new-text {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.new-grid .new-text ul {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;
}

.new-grid .new-text li {
    margin: 0;
    padding: 0 8px;
}

.new-grid .new-text li + li {
    border-left: 1px solid #ddd;
}

.new-grid .new-text a {
    color: #444;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    transition: color 0.2s ease;
}

.new-grid .new-text a:hover {
    color: #007bff;
}


/* =========================================================
   PRODUCT NAME
   ========================================================= */

.new-grid .new-bottom h5 {
    min-height: 43px;

    margin: 0 0 15px;
    padding: 0;
}

.new-grid .new-bottom h5 a.name {
    display: -webkit-box;

    overflow: hidden;

    color: #333;

    font-family: "Open Sans", Arial, sans-serif;

    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;

    text-decoration: none;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    transition: color 0.2s ease;
}

.new-grid .new-bottom h5 a.name:hover {
    color: #007bff;
}


/* =========================================================
   PRICE
   ========================================================= */

.new-grid .ofr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin: 0;
}

.new-grid .ofr p {
    margin: 0;
    padding: 0;
}

.new-grid .ofr .pric1 {
    color: #999;

    font-size: 13px;
    line-height: 1.4;
}

.new-grid .ofr .pric1 del {
    color: #999;
}

.new-grid .ofr .item_price {
    color: #007bff;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}


/* =========================================================
   EMPTY / CLEARFIX
   ========================================================= */

.new .clearfix {
    width: 100%;
    clear: both;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .new-grid {
        width: 33.333333%;
    }

    .new-grid .new-top > a:first-child {
        height: 245px;
    }

}


/* =========================================================
   TABLET SMALL
   ========================================================= */

@media (max-width: 991.98px) {

    .new {
        padding: 50px 0 60px;
    }

    .new .title-info {
        margin-bottom: 30px;
    }

    .new .title-info .title {
        font-size: 27px;
    }

    .new-grid {
        width: 50%;
    }

    .new-grid .new-top > a:first-child {
        height: 250px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .new {
        padding: 40px 0 45px;
    }

    .new .title-info {
        margin-bottom: 25px;
    }

    .new .title-info .title {
        font-size: 24px;
    }

    .new-info {
        margin-left: -8px;
        margin-right: -8px;
    }

    .new-grid {
        width: 50%;

        padding-left: 8px;
        padding-right: 8px;

        margin-bottom: 16px;
    }

    .new-grid .new-top > a:first-child {
        height: 220px;
    }

    .new-grid .new-bottom {
        min-height: 130px;

        padding: 15px;
    }

    .new-grid .new-bottom h5 {
        min-height: 40px;

        margin-bottom: 10px;
    }

    .new-grid .new-bottom h5 a.name {
        font-size: 14px;
    }

    .new-grid .ofr .item_price {
        font-size: 18px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .new {
        padding: 30px 0 40px;
    }

    .new .title-info .title {
        font-size: 22px;
    }

    .new-grid .new-top > a:first-child {
        height: 190px;
    }

    .new-grid .new-bottom {
        min-height: 125px;

        padding: 13px;
    }

    .new-grid .new-bottom h5 a.name {
        font-size: 13px;
    }

    .new-grid .ofr {
        gap: 7px;
    }

    .new-grid .ofr .pric1 {
        font-size: 11px;
    }

    .new-grid .ofr .item_price {
        font-size: 17px;
    }

    /*
       На телефон hover менюто не е особено удобно.
       Оставяме го скрито, а самият продукт си остава кликаем.
    */
    .new-grid .new-text {
        display: none;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 380px) {

    .new-grid .new-top > a:first-child {
        height: 165px;
    }

    .new-grid .new-bottom {
        min-height: 120px;
        padding: 11px;
    }

    .new-grid .new-bottom h5 a.name {
        font-size: 12px;
    }

    .new-grid .ofr .item_price {
        font-size: 16px;
    }

}