/*====================================
        PRODUCT PAGE
=====================================*/

.product-page{

    width:90%;
    max-width:1300px;
    margin:50px auto 80px;

    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:45px;
    align-items:start;

}



/*====================================
            BREADCRUMB
=====================================*/

.breadcrumb{

    width:90%;
    max-width:1300px;
    margin:35px auto 20px;

    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;

    font-size:16px;

}

.breadcrumb{

    overflow-wrap:anywhere;

}

.current-page{

    overflow-wrap:anywhere;

    word-break:break-word;

}

.breadcrumb > *{

    min-width:0;

}

.breadcrumb a{

    color:#666;

    transition:.3s;

}

.breadcrumb a:hover{

    color:#ff4f87;

}

.breadcrumb span{

    color:#999;

}

.current-page{

    color:#ff4f87 !important;

    font-weight:bold;

}



/*====================================
        GALLERY
=====================================*/

.gallery-section{

    display:grid;

    grid-template-columns:100px 1fr;

    gap:25px;

    align-items:start;

}



.thumbnail-gallery{

    display:flex;

    flex-direction:column;

    gap:15px;

}



.thumbnail{

    width:90px;

    height:90px;

    object-fit:cover;

    border-radius:14px;

    cursor:pointer;

    border:2px solid transparent;

    transition:.3s;

}



.thumbnail:hover{

    border-color:#ff4f87;

    transform:translateY(-3px);

}



.active-thumbnail{

    border-color:#ff4f87;

}



.main-image-container{

    background:white;

    padding:25px;

    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}



.main-product-image{

    width:100%;

    display:block;

    border-radius:18px;

}



.no-image{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:500px;

    background:#fafafa;

    border-radius:18px;

    color:#999;

}


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

.product-info-card{

    background:#fff;

    padding:40px;

    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.product-category{

    display:inline-block;

    background:#ffe6ef;

    color:#ff4f87;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:bold;

    margin-bottom:20px;

}

.product-title{

    font-size:42px;

    color:#333;

    margin-bottom:18px;

    line-height:1.3;

}

.product-rating{

    color:#f7b500;

    font-size:20px;

    margin-bottom:22px;

}

.product-rating span{

    color:#777;

    font-size:16px;

}

.product-description{

    color:#666;

    line-height:2;

    font-size:18px;

    margin-bottom:30px;

}

.product-price{

    color:#ff4f87;

    font-size:42px;

    font-weight:bold;

    margin-bottom:30px;

}

.add-cart-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    width:100%;

    text-align:center;

    background:#ff4f87;

    color:rgb(255, 255, 255);

    padding:18px;

    border-radius:14px;

    font-size:19px;

    font-weight:bold;

    transition:.3s;

}

/*====================================
        CUSTOM ORDER CARD
=====================================*/

.custom-order-card{

    margin-top:22px;

    padding:24px;

    border-radius:18px;

    background:#f8fff9;

    border:2px solid #dff5e5;

}

.custom-order-text h3{

    color:#25D366;

    font-size:22px;

    margin-bottom:10px;

}

.custom-order-text p{

    color:#666;

    line-height:1.9;

    margin-bottom:20px;

}

.custom-order-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    width:100%;

    padding:17px;

    border-radius:14px;

    background:#25D366;

    color:#fff;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

}

.custom-order-btn:hover{

    background:#1ebe5d;

    transform:translateY(-3px);

}

.custom-order-btn i{

    font-size:23px;

}

.add-cart-btn:hover{

    background:#ff2d70;

    transform:translateY(-3px);

}


/*====================================
            SHARE BUTTONS
=====================================*/

.share-buttons{

    margin-top:40px;

}

.share-buttons h3{

    margin-bottom:18px;

    color:#444;

}

.share-icons{

    display:flex;

    gap:15px;

    margin-top:18px;

}

.share-btn{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    padding:14px;

    border:none;

    border-radius:12px;

    background:#f7f7f7;

    color:#444;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.share-btn i{

    font-size:20px;

}

.share-btn:hover{

    background:#ff4f87;

    color:white;

}

.product-category{

    display:inline-flex;

    align-items:center;

    gap:8px;

}

.product-category i{

    font-size:18px;

}

.feature-item{

    display:flex;

    align-items:center;

    gap:12px;

}

.feature-item i{

    color:#ff4f87;

    font-size:20px;

    min-width:20px;

}

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

.main-product-image{

    transition:
        transform .35s,
        opacity .25s;

}

.main-product-image:hover{

    transform:scale(1.03);

}

.thumbnail{

    opacity:.7;

}

.thumbnail:hover{

    opacity:1;

}

.active-thumbnail{

    opacity:1;

}

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

.main-image-container{

    overflow:hidden;

    cursor:zoom-in;

}

.zoom-image{

    transition:
        transform .25s ease;

    transform-origin:center;

}


/*====================================
        PRODUCT FEATURES
=====================================*/

.product-features{

    margin-top:35px;

    padding-top:30px;

    border-top:1px solid #eee;

}

.feature-item{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px 0;

    color:#555;

    font-size:17px;

}

.feature-item:not(:last-child){

    border-bottom:1px solid #f3f3f3;

}

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

.related-products{

    width:90%;

    max-width:1300px;

    margin:90px auto 40px;

}

.related-products h2{

    font-size:34px;

    color:#333;

    margin-bottom:35px;

    text-align:center;

}

.related-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill, minmax(280px,320px));

    justify-content:center;

    gap:30px;

}

.related-card{

    display:block;

    background:white;

    width:100%;

    max-width:320px;

    border-radius:22px;

    overflow:hidden;

    text-decoration:none;

    color:inherit;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:
        transform .3s,
        box-shadow .3s;

}

.related-card:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.14);

}

.related-card img{

    width:100%;

    height:240px;

    object-fit:cover;

}

.related-card h3{

    padding:18px 20px 10px;

    font-size:21px;

    color:#333;

}

.related-card p{

    padding:0 20px 22px;

    color:#ff4f87;

    font-size:20px;

    font-weight:bold;

}


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

@media (max-width:992px){

    .product-page{

        display:grid;
        grid-template-columns:1fr;
        gap:30px;
        width:100%;
    }



    .gallery-section{

        margin-bottom:30px;

    }

}

@media (max-width:768px){

    .gallery-section{

        grid-template-columns:1fr;

    }

    .thumbnail-gallery{

        flex-direction:row;

        justify-content:center;

        flex-wrap:wrap;

    }

    .thumbnail{

        width:70px;

        height:70px;

    }

    .product-info-card{

        padding:28px;

        min-width:0;

    }

    .product-title{

        font-size:32px;

    }

    .product-price{

        font-size:34px;

    }

    .custom-order-card{

        padding:20px;

    }

    .custom-order-text h3{

        font-size:20px;

    }

    .custom-order-text p{

        font-size:15px;

    }

    .custom-order-btn{

        font-size:17px;

    }


}

@media (max-width:480px){

    .related-products h2{

        font-size:28px;

    }

    .related-card img{

        height:210px;

    }

}

/*====================================
        SHARE BUTTONS
=====================================*/

.share-btn{

    transition:.3s;

}

.share-btn:hover{

    transform:translateY(-3px);

}

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

.image-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:99999;

}

.image-modal.show{

    opacity:1;

    visibility:visible;

}

.modal-image{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

    animation:zoomIn .3s ease;

}

.close-modal{

    position:absolute;

    top:30px;

    right:35px;

    color:white;

    font-size:45px;

    cursor:pointer;

}

@keyframes zoomIn{

    from{

        transform:scale(.8);

        opacity:0;

    }

    to{

        transform:scale(1);

        opacity:1;

    }

}

/*====================================
        REVIEWS SECTION
=====================================*/

.reviews-section{

    width:90%;

    max-width:1300px;

    margin:80px auto;

}

.reviews-section h2{

    text-align:center;

    font-size:34px;

    color:#333;

    margin-bottom:35px;

}

.rating-summary{

    background:#fff;

    border-radius:22px;

    padding:30px;

    text-align:center;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    margin-bottom:35px;

}

.rating-summary h3{

    font-size:42px;

    color:#ff4f87;

    margin-bottom:10px;

}

.rating-summary p{

    color:#777;

    font-size:18px;

}

.review-form{

    background:#fff;

    border-radius:22px;

    padding:35px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

    gap:18px;

    margin-bottom:40px;

}

.review-form input,
.review-form select,
.review-form textarea{

    width:100%;

    padding:15px 18px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    outline:none;

    transition:.3s;

    font-family:inherit;

}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus{

    border-color:#ff4f87;

    box-shadow:0 0 10px rgba(255,79,135,.18);

}

.review-form textarea{

    resize:vertical;

    min-height:140px;

}

.review-form button{

    background:#ff4f87;

    color:#fff;

    border:none;

    padding:16px;

    border-radius:12px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}

.review-form button:hover{

    background:#ff2d70;

    transform:translateY(-2px);

}

.reviews-list{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.review-card{

    background:#fff;

    border-radius:20px;

    padding:28px;

    box-shadow:0 8px 22px rgba(0,0,0,.08);

}

.review-card h3{

    color:#333;

    margin-bottom:10px;

    font-size:22px;

}

.review-stars{

    font-size:20px;

    margin-bottom:14px;

}

.review-card p{

    color:#666;

    line-height:2;

    margin-bottom:16px;

}

.review-card small{

    color:#999;

}

@media (max-width:768px){

    .reviews-section h2{

        font-size:28px;

    }

    .rating-summary h3{

        font-size:34px;

    }

    .review-form{

        padding:24px;

    }

    .review-card{

        padding:22px;

    }

}

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

.star-rating{

    display:flex;

    flex-direction:row-reverse;

    justify-content:center;

    gap:6px;

}

.star-rating input{

    display:none;

}

.star-rating label{

    font-size:40px;

    color:#ddd;

    cursor:pointer;

    transition:.25s;

}

.star-rating label:hover,
.star-rating label:hover ~ label{

    color:#ffc107;

}

.star-rating input:checked ~ label{

    color:#ffc107;

}

.product-rating{

    display:flex;

    align-items:center;

    gap:10px;

    color:#f7b500;

    font-size:24px;

    margin-bottom:22px;

}

.product-rating span{

    color:#777;

    font-size:17px;

}

.product-rating i{

    margin-left:2px;

}

