/* =========================================
   PRODUCTS SECTION
========================================= */

.products-section {
    padding: 90px 0;

    background: #fff;
}


.products-heading {
    margin-bottom: 45px;
}


/* =========================================
   PRODUCT GRID
========================================= */

.product-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 28px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.product-card {
    position: relative;

    min-width: 0;
}


.product-card-link {
    display: block;
}


.product-image {
    position: relative;

    overflow: hidden;

    aspect-ratio: 1 / 1;

    border-radius: 18px;

    background: var(--light);
}


.product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform .35s ease;
}


.product-card:hover
.product-image img {
    transform: scale(1.05);
}


/* =========================================
   SALE
========================================= */

.product-sale {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 6px 12px;

    border-radius: 20px;

    background: var(--primary);

    color: #fff;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;
}


/* =========================================
   PRODUCT INFO
========================================= */

.product-info {
    padding-top: 16px;
}


.product-category {
    display: block;

    margin-bottom: 7px;

    color: #888;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.product-title {
    margin: 0 0 8px;

    color: var(--dark);

    font-size: 17px;

    line-height: 1.35;

    font-weight: 600;
}


/* =========================================
   RATING
========================================= */

.product-rating {
    margin-bottom: 7px;

    color: #777;

    font-size: 13px;
}


.product-rating span {
    color: #d99a3d;

    margin-right: 3px;
}


/* =========================================
   PRICE
========================================= */

.product-price {
    color: var(--primary);

    font-size: 17px;

    font-weight: 700;
}


.product-price del {
    margin-right: 6px;

    color: #999;

    font-size: 13px;

    font-weight: 400;
}


.product-price ins {
    text-decoration: none;
}


/* =========================================
   ADD TO CART
========================================= */

.product-actions {
    margin-top: 13px;
}


.product-actions .button {
    width: 100%;

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 10px 18px;

    border: 1px solid var(--primary);

    border-radius: 30px;

    background: transparent;

    color: var(--primary);

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease;
}


.product-actions .button:hover {
    background: var(--primary);

    color: #fff;
}


/* =========================================
   EMPTY STATE
========================================= */

.products-empty {
    grid-column: 1 / -1;

    padding: 60px 20px;

    border-radius: 18px;

    background: var(--light);

    text-align: center;
}


.products-empty h3 {
    margin-bottom: 10px;

    font-size: 24px;
}


.products-empty p {
    color: #777;
}


/* =========================================
   VIEW ALL
========================================= */

.products-view-all {
    margin-top: 45px;

    text-align: center;
}