/* =========================================
   PRODUCTS SECTION
========================================= */

.products-section {

    padding: 120px 0;

    background: #ffffff;

}

.products-container {

    width: min(1400px, 90%);

    margin: auto;

}


/* =========================================
   PRODUCTS HEADING
========================================= */

.products-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 50px;

}

.products-heading h2 {

    margin-top: 10px;

    font-family: var(--serif);

    font-size: clamp(48px, 5vw, 70px);

    font-weight: 400;

    line-height: 0.9;

    color: var(--black);

}


/* =========================================
   VIEW ALL
========================================= */

.view-all-link {

    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--black);

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    transition: all 0.3s ease;

}

.view-all-link span {

    font-size: 15px;

}

.view-all-link:hover {

    gap: 18px;

    color: var(--gold);

    border-color: var(--gold);

}


/* =========================================
   GRID
========================================= */

.products-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;

}


/* =========================================
   PRODUCT CARD
========================================= */

.product-card {

    min-width: 0;

}


/* =========================================
   IMAGE
========================================= */

.product-image {

    position: relative;

    height: 430px;

    overflow: hidden;

    background: #f3f1ed;

}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2,.65,.25,1);

}

.product-card:hover .product-image img {

    transform: scale(1.055);

}


/* =========================================
   BADGE
========================================= */

.product-badge {

    position: absolute;

    top: 15px;

    left: 15px;

    z-index: 4;

    padding: 7px 10px;

    background: var(--black);

    color: var(--white);

    font-size: 7px;

    letter-spacing: 1.5px;

}


/* =========================================
   WISHLIST
========================================= */

.wishlist-btn {

    position: absolute;

    top: 13px;

    right: 14px;

    z-index: 5;

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.88);

    font-size: 20px;

    line-height: 1;

    color: var(--black);

    transition:
        background 0.3s ease,
        color 0.3s ease;

}

.wishlist-btn:hover {

    background: var(--black);

    color: var(--white);

}


/* =========================================
   QUICK VIEW
========================================= */

.quick-add {

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 15px;

    z-index: 4;

    padding: 15px;

    background: rgba(255,255,255,0.96);

    color: var(--black);

    text-align: center;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    transform: translateY(70px);

    opacity: 0;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease;

}

.product-card:hover .quick-add {

    transform: translateY(0);

    opacity: 1;

}

.quick-add:hover {

    background: var(--black);

    color: var(--white);

}


/* =========================================
   PRODUCT INFO
========================================= */

.product-info {

    padding: 18px 2px 0;

}

.product-category {

    margin-bottom: 7px;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: 2px;

    color: var(--gold);

}

.product-info h3 {

    margin-bottom: 8px;

    font-family: var(--serif);

    font-size: 24px;

    font-weight: 500;

    color: var(--black);

}

.product-price {

    font-size: 12px;

    font-weight: 400;

    color: #55514c;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 35px 18px;

    }

    .product-image {

        height: 500px;

    }

}


@media (max-width: 600px) {

    .products-section {

        padding: 80px 0;

    }

    .products-container {

        width: 88%;

    }

    .products-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 25px;

        margin-bottom: 35px;

    }

    .products-heading h2 {

        font-size: 48px;

    }

    .products-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 28px 10px;

    }

    .product-image {

        height: 250px;

    }

    .product-info h3 {

        font-size: 19px;

    }

    .product-price {

        font-size: 11px;

    }

    .quick-add {

        display: none;

    }

    .product-badge {

        top: 9px;

        left: 9px;

    }

    .wishlist-btn {

        top: 8px;

        right: 8px;

        width: 29px;

        height: 29px;

        font-size: 17px;

    }

}