/* =====================================================
   EVARA PRODUCT DETAILS PAGE
===================================================== */

.product-details-page {

    padding: 70px 20px;

    background: #faf8f5;
}


.product-details-container {

    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


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

.product-details-gallery {

    background: #f1ece6;

    overflow: hidden;
}


.product-main-image {

    width: 100%;

    aspect-ratio: 4 / 5;

    overflow: hidden;
}


.product-main-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}


.product-main-image:hover img {

    transform: scale(1.03);
}


/* =====================================================
   PRODUCT INFO
===================================================== */

.product-details-info {

    padding: 20px 0;
}


.product-details-category {

    display: block;

    font-size: 12px;

    letter-spacing: 3px;

    font-weight: 600;

    color: #9a6b47;

    margin-bottom: 14px;
}


#productName {

    font-family: Georgia, serif;

    font-size: 44px;

    font-weight: 400;

    line-height: 1.2;

    color: #27221f;

    margin-bottom: 18px;
}


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

.product-rating {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    color: #777;

    margin-bottom: 25px;
}


.rating-stars {

    color: #a87547;

    letter-spacing: 2px;
}


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

.product-details-price {

    font-family: Georgia, serif;

    font-size: 30px;

    color: #222;

    margin-bottom: 20px;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.product-details-description {

    max-width: 520px;

    font-size: 15px;

    line-height: 1.8;

    color: #777;

    margin-bottom: 30px;
}


/* =====================================================
   PRODUCT INFO
===================================================== */

.product-info-list {

    border-top: 1px solid #e5dfda;

    border-bottom: 1px solid #e5dfda;

    margin-bottom: 30px;

    padding: 12px 0;
}


.product-info-row {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    padding: 9px 0;

    font-size: 14px;
}


.product-info-row span {

    color: #888;
}


.product-info-row strong {

    color: #333;

    font-weight: 500;

    text-align: right;
}


.in-stock {

    color: #69805e !important;
}


/* =====================================================
   WHATSAPP
===================================================== */

.product-whatsapp {

    width: 100%;

    min-height: 54px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: #8f603d;

    color: #fff;

    text-decoration: none;

    border-radius: 4px;

    font-size: 14px;

    font-weight: 600;

    transition: all 0.3s ease;

    margin-bottom: 12px;
}


.product-whatsapp:hover {

    background: #70482e;

    color: #fff;

    transform: translateY(-2px);
}


.product-whatsapp i {

    font-size: 19px;
}


/* =====================================================
   WISHLIST
===================================================== */

.product-wishlist-btn {

    width: 100%;

    min-height: 52px;

    background: transparent;

    border: 1px solid #d8d0c9;

    color: #444;

    border-radius: 4px;

    cursor: pointer;

    font-size: 14px;

    transition: all 0.3s ease;
}


.product-wishlist-btn:hover {

    border-color: #8f603d;

    color: #8f603d;
}


/* =====================================================
   DESCRIPTION SECTION
===================================================== */

.product-description-section {

    margin-top: 38px;

    padding-top: 25px;

    border-top: 1px solid #e5dfda;
}


.product-description-section h3 {

    font-family: Georgia, serif;

    font-size: 20px;

    font-weight: 400;

    color: #292522;

    margin-bottom: 10px;
}


.product-description-section p {

    font-size: 14px;

    line-height: 1.8;

    color: #777;

    margin: 0;
}


/* =====================================================
   RELATED PRODUCTS
===================================================== */

.related-products {

    padding: 80px 20px;

    background: #fff;
}


.related-products-container {

    max-width: 1180px;

    margin: auto;
}


.related-heading {

    text-align: center;

    margin-bottom: 40px;
}


.related-heading span {

    font-size: 11px;

    letter-spacing: 3px;

    color: #9a6b47;
}


.related-heading h2 {

    font-family: Georgia, serif;

    font-weight: 400;

    font-size: 34px;

    margin-top: 10px;

    color: #292522;
}


.related-grid {

    display: grid;

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

    gap: 22px;
}


.related-card {

    text-decoration: none;

    color: inherit;

    display: block;
}


.related-card img {

    width: 100%;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    display: block;

    margin-bottom: 15px;
}


.related-card span {

    font-size: 10px;

    letter-spacing: 2px;

    color: #9a6b47;
}


.related-card h4 {

    font-family: Georgia, serif;

    font-weight: 400;

    font-size: 18px;

    margin: 7px 0;

    color: #292522;
}


.related-card p {

    font-size: 14px;

    color: #555;

    margin: 0;
}


/* =====================================================
   NOT FOUND
===================================================== */

.product-not-found {

    text-align: center;

    padding: 100px 20px;
}


.product-not-found h2 {

    font-family: Georgia, serif;

    font-weight: 400;

    margin-bottom: 10px;
}


.product-not-found a {

    color: #8f603d;

    text-decoration: none;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .product-details-page {

        padding: 50px 20px;
    }


    .product-details-container {

        grid-template-columns: 1fr;

        gap: 45px;

        max-width: 700px;
    }


    .product-main-image {

        aspect-ratio: 4 / 5;
    }


    .product-details-info {

        padding: 0;
    }


    #productName {

        font-size: 38px;
    }


    .related-grid {

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

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 576px) {

    .product-details-page {

        padding: 25px 15px 50px;
    }


    .product-details-container {

        gap: 30px;
    }


    .product-main-image {

        aspect-ratio: 4 / 5;

        border-radius: 3px;
    }


    .product-details-info {

        padding: 0 5px;
    }


    .product-details-category {

        font-size: 10px;

        letter-spacing: 2.5px;

        margin-bottom: 10px;
    }


    #productName {

        font-size: 30px;

        line-height: 1.25;

        margin-bottom: 13px;
    }


    .product-rating {

        font-size: 12px;

        gap: 7px;

        margin-bottom: 18px;
    }


    .rating-stars {

        font-size: 12px;

        letter-spacing: 1px;
    }


    .product-details-price {

        font-size: 25px;

        margin-bottom: 15px;
    }


    .product-details-description {

        font-size: 14px;

        line-height: 1.7;

        margin-bottom: 22px;
    }


    .product-info-list {

        margin-bottom: 22px;
    }


    .product-info-row {

        font-size: 13px;

        padding: 8px 0;
    }


    .product-whatsapp {

        min-height: 50px;

        font-size: 13px;
    }


    .product-wishlist-btn {

        min-height: 48px;

        font-size: 13px;
    }


    .product-description-section {

        margin-top: 28px;

        padding-top: 20px;
    }


    .product-description-section h3 {

        font-size: 18px;
    }


    .product-description-section p {

        font-size: 13px;

        line-height: 1.7;
    }


    /* Related */

    .related-products {

        padding: 55px 15px;
    }


    .related-heading {

        margin-bottom: 30px;
    }


    .related-heading h2 {

        font-size: 28px;
    }


    .related-grid {

        grid-template-columns: 1fr 1fr;

        gap: 15px;
    }


    .related-card img {

        margin-bottom: 10px;
    }


    .related-card h4 {

        font-size: 15px;

        line-height: 1.4;
    }


    .related-card p {

        font-size: 13px;
    }

}
