



/*==================================================
PILLZA
Medicine Details
==================================================*/

body{
    background:#f8f9fa;
    font-family:'Poppins',sans-serif;
}

/*==================================
Medicine Hero
==================================*/

.medicine-details{

    padding:70px 0;

}

.medicine-gallery{

    background:#fff;
    border-radius:20px;
    padding:30px;
    position:relative;
    box-shadow:0 15px 40px rgba(0,0,0,.06);

}

.main-medicine-image{

    width:100%;
    height:420px;
    object-fit:contain;

}

/*==================================
Discount
==================================*/

.discount-badge{

    position:absolute;
    top:20px;
    left:20px;

    background:#ff4d7e;

    color:#fff;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    z-index:5;

}

/*==================================
Category Badge
==================================*/

.category-badge{

    display:inline-block;

    background:#ffe8ef;

    color:#ff4d7e;

    padding:8px 18px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}

/*==================================
Title
==================================*/

.medicine-title{

    font-size:38px;

    font-weight:700;

    color:#222;

    margin-bottom:10px;

}

.generic-name{

    font-size:16px;

    color:#666;

}

.medicine-strength{

    color:#999;

    font-size:15px;

}

/*==================================
Details
==================================*/

.detail-item{

    margin-bottom:12px;

    font-size:15px;

}

.detail-item strong{

    width:110px;

    display:inline-block;

}

.detail-item a{

    color:#ff4d7e;

    text-decoration:none;

}

.detail-item a:hover{

    text-decoration:underline;

}

/*==================================
Rating
==================================*/

.medicine-rating{

    font-size:18px;

}

.medicine-rating i{

    margin-right:2px;

}

/*==================================
Price
==================================*/

.medicine-price{

    display:flex;

    align-items:center;

    gap:15px;

}

.current-price{

    font-size:36px;

    font-weight:700;

    color:#ff4d7e;

}

.old-price{

    font-size:22px;

    color:#999;

    text-decoration:line-through;

}

/*==================================
Quantity
==================================*/

.quantity-box{

    max-width:220px;

}

.quantity-group{

    margin-top:10px;

}

.quantity-group button{

    width:50px;

}

.quantity-group input{

    font-weight:700;

    background:#fff;

}

/*==================================
Buttons
==================================*/

.btn-pink{

    background:#ff4d7e;

    color:#fff;

    border:none;

    transition:.3s;

}

.btn-pink:hover{

    background:#e63769;

    color:#fff;

}

.btn-outline-pink{

    border:2px solid #ff4d7e;

    color:#ff4d7e;

    transition:.3s;

}

.btn-outline-pink:hover{

    background:#ff4d7e;

    color:#fff;

}

/*==================================
Badges
==================================*/

.badge{

    padding:8px 14px;

    font-size:13px;

}

/*==================================
Responsive
==================================*/

@media(max-width:991px){

    .medicine-title{

        font-size:30px;

        margin-top:30px;

    }

    .main-medicine-image{

        height:320px;

    }

}

@media(max-width:768px){

    .medicine-details{

        padding:40px 0;

    }

    .main-medicine-image{

        height:250px;

    }

    .medicine-title{

        font-size:26px;

    }

    .current-price{

        font-size:30px;

    }

    .old-price{

        font-size:18px;

    }

}




/*=====================================
Medicine Information Tabs
=====================================*/

.medicine-tabs .nav-link{

    border-radius:30px;

    margin-right:10px;

    margin-bottom:10px;

    background:#f4f4f4;

    color:#555;

    font-weight:600;

    padding:12px 25px;

}

.medicine-tabs .nav-link.active{

    background:#ff4d7e;

    color:#fff;

}

.info-card{

    background:#fff;

    padding:30px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    line-height:1.9;

}



/*=====================================
Reviews
=====================================*/

.review-summary{

    background:#fff;

    padding:35px;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

}

.review-summary h2{

    font-size:70px;

    color:#ff4d7e;

    font-weight:700;

}

.review-summary .stars{

    font-size:24px;

}

.review-card{

    background:#fff;

    padding:25px;

    border-radius:15px;

    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.review-avatar{

    width:65px;

    height:65px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #f3f3f3;

}