/* ==========================================
   PRODUCT ARCHIVE
========================================== */

.product-archive-section {
    margin-top: 90px;
}

.archive-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
}

.archive-header h1 {
    margin: 0;
    font-size: 2.6666666666667rem;
    line-height: 120%;
}

/* ==========================================
   MASONRY GRID
========================================== */

.product-masonry {
    column-count: 3;
    column-gap: 24px;
}

/* ==========================================
   PRODUCT CARD
========================================== */

.product-card {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    background: #F8F8F8 !important;
    border-radius: 0;
    overflow: hidden;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    transition: all .3s ease;

}

.term-description {
    width: 70%;
}

.archive-description {
    display: flex;
    justify-content: center;
}

.product-thumb {
    display: block;
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 350px;
    display: block;
    transition: transform .4s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

/* ==========================================
   CONTENT
========================================== */

.product-content {
    padding: 20px;
    width: 100%;
}

.product-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.4;
}

.product-content h3 a {
    color: #222;
    font-weight: 800 !important;
    font-size: 23px !important;
    text-decoration: none;
}

.product-content p {
    margin: 0 0 15px;
    color: #202020;
    line-height: 1.7;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    justify-content: center;
    padding: 8px 20px;
    background: #000000;
    color: #fff !important;
    text-decoration: none;
    border-radius: 0px;
    transition: .3s;
}

.product-btn:hover {
    background: #E21E25;
    color: #fff;
}

/* ==========================================
   PAGINATION
========================================== */

.archive-pagination {
    margin-top: 60px;
    text-align: center;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 5px;
    border-radius: 0px;
    text-decoration: none;
    background: #f5f5f5;
    color: #222;
}

.archive-pagination .current {
    background: #E21E25;
    color: #fff;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:1200px) {

    .product-masonry {
        column-count: 3;
    }

}

@media (max-width:991px) {

    .archive-header h1 {
        font-size: 40px;
    }

    .product-masonry {
        column-count: 2;
    }

}

@media (max-width:767px) {

    .product-archive-section {
        margin-top: 90px;
    }

    .archive-header {
        margin-bottom: 30px;
    }

    .archive-header h1 {
        font-size: 32px;
    }

    .product-masonry {
        column-count: 1;
        column-gap: 0;
    }

    .product-content {
        padding: 15px;
    }

    .product-content h3 {
        font-size: 20px;
    }

}