/* ===========================
   Google Font
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:'Poppins',sans-serif;

}

body{

    background:#FFF8F0;

    color:#333;

}

/* ===========================
   Product Layout
=========================== */

.product-details{

    max-width:1400px;

    margin:70px auto;

    padding:0 50px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:start;

}

/* ===========================
   Product Image
=========================== */

.product-gallery{

    position:sticky;

    top:40px;

}

#mainImage{

    width:100%;

    background:white;

    padding:35px;

    border-radius:25px;

    border:2px solid #F2E5CF;

    box-shadow:
        0 20px 45px rgba(0,0,0,.12),
        0 5px 15px rgba(139,46,46,.08);

    transition:.4s;

}

#mainImage:hover{

    transform:scale(1.03);

}

/* ===========================
   Product Info
=========================== */

.product-info{

    background:white;

    padding:40px;

    border-radius:25px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.product-tag{

    display:inline-block;

    background:#8B2E2E;

    color:white;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    margin-bottom:20px;

}

.product-info h1{

    color:#8B2E2E;

    font-size:42px;

    margin-bottom:15px;

}

.rating{

    color:#F4B400;

    font-size:18px;

    margin-bottom:15px;

}

.rating span{

    color:#777;

    margin-left:8px;

}

#productPrice{

    font-size:40px;

    color:#8B2E2E;

    margin-bottom:20px;

}

#productDescription{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

/* ===========================
   Divider
=========================== */

hr{

    border:none;

    border-top:1px solid #eee;

    margin:30px 0;

}

/* ===========================
   Features
=========================== */

.features{

    list-style:none;

}

.features li{

    list-style:none;

    padding:14px 0;

    color:#555;

    font-size:17px;

    border-bottom:1px dashed #E5D7C3;

}

.features li:last-child{

    border-bottom:none;

}

/* ===========================
   Sizes
=========================== */

.sizes{

    display:flex;

    gap:15px;

    flex-wrap:wrap;

    margin-top:15px;

}

.sizes button{

    padding:14px 30px;

    border:2px solid #8B2E2E;

    background:#FFFDF8;

    color:#8B2E2E;

    border-radius:40px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

.sizes button:hover{

    background:#8B2E2E;

    color:white;

    transform:translateY(-3px);

}

/* Selected Size */

.sizes button.active{

    background:#8B2E2E;

    color:white;

}

/* ===========================
   Quantity
=========================== */

.quantity{

    display:flex;

    align-items:center;

    gap:20px;

    margin-top:20px;

}

.quantity button{

    width:50px;

    height:50px;

    background:#8B2E2E;

    color:white;

    border:none;

    border-radius:50%;

    font-size:26px;

    cursor:pointer;

    transition:.3s;

}

.quantity button:hover{

    background:#B54B3A;

    transform:scale(1.1);

}

.quantity span{

    font-size:22px;

    font-weight:bold;

}

/* ===========================
   Total
=========================== */

.total{

    margin-top:35px;

    color:#8B2E2E;

    font-size:30px;

}


/* ===========================
   Cart Button
=========================== */

.cart-btn{

    width:100%;

    margin-top:25px;

    padding:16px;

    border:2px solid #8B2E2E;

    border-radius:50px;

    background:#fff;

    color:#8B2E2E;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.cart-btn:hover{

    background:#8B2E2E;

    color:white;

    transform:translateY(-3px);

}

/* ===========================
   Order Button
=========================== */

.order-btn{

    width:100%;

    margin-top:35px;

    padding:18px;

    border:none;

    border-radius:50px;

    background:linear-gradient(135deg,#8B2E2E,#B54B3A);

    color:white;

    font-size:18px;

    font-weight:700;

    letter-spacing:1px;

    text-transform:uppercase;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 10px 25px rgba(139,46,46,.35);

}

.order-btn:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(139,46,46,.45);

}

/* ===========================
   Customer Reviews
=========================== */

.review-gallery{

display:grid;

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

gap:15px;

margin:40px 0;

}

.review-gallery img{

    width:100%;

    height:170px;

    object-fit:cover;

    border-radius:18px;

    cursor:pointer;

    transition:.4s;

    box-shadow:0 8px 20px rgba(0,0,0,.12);

}

.review-gallery img:hover{

    transform:scale(1.06);

    box-shadow:0 15px 30px rgba(0,0,0,.2);

}

.review-card{

background:white;

padding:30px;

border-radius:18px;

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

margin-bottom:25px;

}

.review-top{

display:flex;

justify-content:space-between;

margin-bottom:15px;

}

.verified{

background:#E7F7E7;

padding:6px 12px;

border-radius:20px;

color:green;

font-size:13px;

}

.review-card img{

margin-top:20px;

width:180px;

border-radius:15px;

}

/* ===========================
   Reviews Section
=========================== */

.reviews-section{

    max-width:1300px;

    margin:100px auto;

    padding:0 50px;

}

.reviews-section h2{

    text-align:center;

    font-size:42px;

    color:#8B2E2E;

    margin-bottom:50px;

}

.review-summary{

    display:flex;

    gap:70px;

    align-items:center;

    background:white;

    padding:40px;

    border-radius:20px;

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

    margin-bottom:50px;

}

.overall-rating{

    width:250px;

    text-align:center;

}

.overall-rating h1{

    font-size:70px;

    color:#8B2E2E;

}

.overall-rating div{

    font-size:28px;

    margin:15px 0;

}

.rating-bars{

    flex:1;

}

.bar-row{

    display:flex;

    align-items:center;

    gap:15px;

    margin:12px 0;

}

.bar{

    flex:1;

    height:10px;

    background:#E5E5E5;

    border-radius:20px;

    overflow:hidden;

}

.fill{

    height:100%;

    background:#8B2E2E;

}

.fill5{width:95%;}
.fill4{width:75%;}
.fill3{width:30%;}
.fill2{width:15%;}
.fill1{width:5%;}

/* ===========================
   Related Products
=========================== */

.related-products{

    max-width:1300px;

    margin:90px auto;

    padding:0 50px;

}

.related-products h2{

    text-align:center;

    color:#8B2E2E;

    font-size:38px;

    margin-bottom:40px;

}

.related-grid{

    display:grid;

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

    gap:30px;

}

.related-card{

    background:white;

    border-radius:20px;

    overflow:hidden;

    text-align:center;

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

    transition:.3s;

}

.related-card:hover{

    transform:translateY(-8px);

}

.related-card img{

    width:100%;

    height:260px;

    object-fit:cover;

}

.related-card h4{

    color:#8B2E2E;

    margin-top:20px;

}

.related-card p{

    color:#555;

    margin:15px 0 25px;

    font-size:18px;

}

/* ===========================
   Mobile Responsive
=========================== */

@media(max-width:900px){

.product-details{

    grid-template-columns:1fr;

    padding:20px;

}

.product-gallery{

    position:static;

}

.related-grid{

    grid-template-columns:1fr;

}

}

/* ===========================
   Left Information
=========================== */

.image-info{

    margin-top:35px;

    background:white;

    padding:30px;

    border-radius:22px;

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

}

.image-info h2{

    color:#8B2E2E;

    margin-bottom:20px;

    font-size:30px;

}

.image-info p{

    color:#666;

    line-height:1.9;

    font-size:17px;

}

.highlights{

    margin-top:30px;

    display:grid;

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

    gap:15px;

}

.highlight-box{

    background:#FFF6EC;

    border:2px solid #E8D2AF;

    border-radius:15px;

    padding:18px;

    text-align:center;

    color:#8B2E2E;

    font-weight:600;

    transition:.3s;

}

.highlight-box:hover{

    background:#8B2E2E;

    color:white;

    transform:translateY(-5px);

}

/* ===========================
   Delivery Info
=========================== */

.delivery-info{

    margin-top:35px;

    background:white;

    border-radius:22px;

    padding:30px;

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

}

.delivery-info h2{

    color:#8B2E2E;

    font-size:28px;

    margin-bottom:25px;

}

.delivery-box{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.delivery-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    padding-bottom:18px;

    border-bottom:1px solid #EEE;

}

.delivery-item:last-child{

    border-bottom:none;

    padding-bottom:0;

}

.delivery-icon{

    width:55px;

    height:55px;

    background:#8B2E2E;

    color:white;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    flex-shrink:0;

}

.delivery-item h4{

    color:#8B2E2E;

    margin-bottom:6px;

    font-size:18px;

}

.delivery-item p{

    color:#666;

    line-height:1.6;

    font-size:15px;

}

/* ===========================
   Toast Message
=========================== */

#toast{

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: #8B2E2E;

    color: white;

    padding: 15px 25px;

    border-radius: 10px;

    font-size: 16px;

    font-weight: 600;

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

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .3s;

    z-index: 9999;

}

#toast.show{

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}