/* =========================================
   REEWALL PRODUCTS LIST
   Light Turquoise / Modern
========================================= */

.reewall-products-section {
    direction: rtl;
    padding: 40px 0 70px;
    margin-top: 60px;
    background:
        radial-gradient(circle at 5% 10%,
            rgba(0, 200, 190, .07),
            transparent 25%),
        linear-gradient(180deg,
            #ffffff,
            #f7ffff);
}


/* =========================================
   SEARCH BAR
========================================= */

.reewall-products-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 16px;

    margin-bottom: 30px;

    background: #ffffff;

    border: 1px solid rgba(0, 175, 180, .14);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 150, 160, .06);
}

.reewall-search-wrapper {
    position: relative;
    flex: 1;
}

.reewall-search-wrapper i {
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #00aeb5;

    font-size: 18px;

    pointer-events: none;
}

.reewall-search-input {
    width: 100%;

    height: 48px;

    padding:
        10px 45px 10px 16px;

    border-radius: 12px;

    border: 1px solid rgba(0, 170, 180, .15);

    background: #f9ffff;

    color: #315d63;

    font-size: 13px;

    outline: none;

    transition: .3s ease;
}

.reewall-search-input:focus {
    background: #fff;

    border-color: #00b7b5;

    box-shadow:
        0 0 0 4px rgba(0, 190, 185, .08);
}

.reewall-per-page {
    width: 120px;
}

.reewall-per-page select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border-radius: 12px;

    border: 1px solid rgba(0, 170, 180, .15);

    background: #f9ffff;

    color: #315d63;

    font-size: 13px;

    outline: none;

    cursor: pointer;
}


/* =========================================
   PRODUCT CARD
========================================= */

.reewall-products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;
}

.reewall-product-item {
    min-width: 0;
}

.reewall-product-list-card {
    position: relative;

    height: 100%;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid rgba(0, 175, 180, .13);

    border-radius: 20px;

    box-shadow:
        0 10px 35px rgba(0, 140, 150, .06);

    transition: .35s ease;
}

.reewall-product-list-card:hover {
    transform:
        translateY(-6px);

    border-color:
        rgba(0, 185, 185, .28);

    box-shadow:
        0 20px 45px rgba(0, 140, 150, .12);
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.reewall-product-list-image {
    position: relative;

    height: 190px;

    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(145deg,
            #e9fbfa,
            #f8ffff);

    overflow: hidden;
}

.reewall-product-list-image img {
    position: relative;

    z-index: 1;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    border-radius: 14px;

    transition: .4s ease;
}

.reewall-product-list-card:hover .reewall-product-list-image img {
    transform: scale(1.03);
}

@media(max-width:650px) {

    .reewall-product-list-image {
        height: 220px;
        padding: 18px;
    }

    .reewall-product-list-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* =========================================
   NEW BADGE
========================================= */

.reewall-product-new-badge {
    position: absolute;

    z-index: 3;

    top: 13px;
    right: 13px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding: 6px 11px;

    border-radius: 50px;

    color: #008e8e;

    background: #e2faf7;

    border:
        1px solid rgba(0, 180, 175, .18);

    font-size: 10px;

    font-weight: 800;
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.reewall-product-list-body {
    padding: 21px;

    display: flex;

    flex-direction: column;

    min-height: 245px;
}

.reewall-product-list-title {
    margin: 0 0 9px;

    font-size: 17px;

    font-weight: 800;

    line-height: 1.8;
}

.reewall-product-list-title a {
    color: #20545c;

    text-decoration: none !important;

    transition: .25s ease;
}

.reewall-product-list-title a:hover {
    color: #00aeb5;
}

.reewall-product-list-description {
    color: #789095;

    font-size: 12px;

    line-height: 2;

    margin: 0 0 13px;

    min-height: 48px;
}


/* =========================================
   RATING
========================================= */

.reewall-product-list-rating {
    display: flex;

    align-items: center;

    gap: 3px;

    margin-bottom: 15px;
}

.reewall-product-list-rating i {
    color: #f2bd45;

    font-size: 12px;
}

.reewall-product-list-rating small {
    color: #8aa0a4;

    font-size: 10px;

    margin-right: 6px;
}


/* =========================================
   PRICE
========================================= */

.reewall-product-list-price {
    display: flex;

    align-items: baseline;

    gap: 7px;

    margin-top: auto;

    margin-bottom: 15px;

    padding-top: 13px;

    border-top:
        1px solid rgba(0, 170, 180, .08);
}

.reewall-product-list-price .amount {
    color: #009fa8;

    font-size: 20px;

    font-weight: 900;
}

.reewall-product-list-price .currency {
    color: #82979a;

    font-size: 10px;
}


/* =========================================
   BUY BUTTON
========================================= */

.reewall-product-buy {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 12px;

    border-radius: 11px;

    background:
        linear-gradient(135deg,
            #00cbbd,
            #00a6b3);

    color: #fff !important;

    text-decoration: none !important;

    font-size: 12px;

    font-weight: 800;

    box-shadow:
        0 8px 20px rgba(0, 175, 180, .15);

    transition: .3s ease;
}

.reewall-product-buy:hover {
    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 12px 27px rgba(0, 175, 180, .25);
}


/* =========================================
   PAGINATION
========================================= */

.reewall-products-pagination {
    display: flex;

    justify-content: center;

    margin-top: 35px;
}

.reewall-products-pagination nav {
    display: flex;

    justify-content: center;
}

.reewall-products-pagination .pagination {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.reewall-products-pagination .page-item {
    margin: 0;
}

.reewall-products-pagination .page-link {
    min-width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px !important;

    border:
        1px solid rgba(0, 170, 180, .15);

    background: #fff;

    color: #438087;

    font-size: 12px;

    box-shadow:
        0 5px 15px rgba(0, 130, 140, .04);

    transition: .25s ease;
}

.reewall-products-pagination .page-link:hover {
    background: #edffff;

    color: #00a4ad;

    border-color:
        rgba(0, 180, 180, .25);
}

.reewall-products-pagination .active .page-link {
    background:
        linear-gradient(135deg,
            #00cbbd,
            #00a6b3);

    color: #fff;

    border-color: transparent;
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px) {

    .reewall-products-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
}

@media(max-width:650px) {

    .reewall-products-section {
        padding:
            10px 12px 40px;
    }

    .reewall-products-toolbar {
        flex-direction: column;

        align-items: stretch;
    }

    .reewall-per-page {
        width: 100%;
    }

    .reewall-products-grid {
        grid-template-columns: 1fr;

        gap: 17px;
    }

    .reewall-product-list-image {
        height: 210px;
    }

    .reewall-product-list-image img {
        height: 180px;
    }
}
