/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background:#ffffff;
  color:#111;
  line-height:1.6;
}

/* ================= BREADCRUMB ================= */
.breadcrumb{
  max-width:1200px;
  margin:20px auto;
  padding:0 20px;
  font-size:14px;
  color:#666;
}

/* ================= PRODUCT PAGE ================= */
.product-page{
  max-width:1200px;
  margin:40px auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

/* ================= LEFT IMAGES ================= */
.product-image .main-img{
  border:1px solid #eee;
  border-radius:16px;
  padding:20px;
}

.product-image .main-img img{
  width:100%;
  border-radius:12px;
}

.thumbs{
  display:flex;
  gap:10px;
  margin-top:15px;
}

.thumbs img{
  width:70px;
  border:1px solid #ddd;
  border-radius:8px;
  cursor:pointer;
}

/* ================= RIGHT DETAILS ================= */
.product-details .sale{
  display:inline-block;
  background:#dc2626;
  color:#fff;
  padding:4px 12px;
  border-radius:20px;
  font-size:13px;
  margin-bottom:10px;
}

.product-details h1{
  font-size:28px;
  margin:10px 0;
}

.product-details h1 span{
  font-size:16px;
  color:#666;
}

.price{
  margin:15px 0;
}

.price del{
  color:#999;
  margin-right:10px;
}

.price strong{
  font-size:24px;
  color:#16a34a;
}

.price small{
  display:block;
  font-size:12px;
  color:#777;
}

.price .off{
  background:#16a34a;
  color:#fff;
  padding:4px 10px;
  border-radius:14px;
  font-size:12px;
  margin-left:10px;
}

/* ================= FEATURES ================= */
.features{
  margin:20px 0;
  padding-left:20px;
}

.features li{
  margin-bottom:6px;
}

/* ================= RATING ================= */
.rating{
  margin:15px 0;
  font-size:14px;
}

/* ================= CART ROW ================= */
.cart-row{
  display:flex;
  gap:15px;
  margin-top:20px;
}

.cart-row input{
  width:70px;
  padding:10px;
  border-radius:10px;
  border:1px solid #ccc;
}

.cart-row .add-cart{
  flex:1;
  background:#16a34a;
  color:#fff;
  border:none;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
}

/* ================= PRODUCT TABS ================= */
.product-tabs{
  max-width:1200px;
  margin:60px auto;
  padding:0 20px;
}

.tab-head{
  display:flex;
  gap:30px;
  border-bottom:2px solid #eee;
}

.tab-btn{
  padding:10px 0;
  cursor:pointer;
  font-weight:600;
  color:#555;
}

.tab-btn.active{
  color:#16a34a;
  border-bottom:3px solid #16a34a;
}

.tab-content{
  display:none;
  padding:30px 0;
}

.tab-content.active{
  display:block;
}

.info-table{
  width:100%;
  border-collapse:collapse;
}

.info-table th,
.info-table td{
  border:1px solid #ddd;
  padding:12px;
  text-align:left;
}

/* ================= REVIEWS ================= */
.review-box{
  border:1px solid #eee;
  padding:15px;
  border-radius:10px;
  margin-top:15px;
}



/* ================= RESPONSIVE ================= */
@media(max-width:900px){
  .product-page{
    grid-template-columns:1fr;
  }
  .related-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:500px){
  .related-grid{
    grid-template-columns:1fr;
  }
}

/* PRODUCT DETAILS UI */

.pd-rating{
  color:#f4b400;
  font-size:18px;
  margin-bottom:6px;
}

.pd-tagline{
  color:#2e7d32;
  font-size:14px;
  font-weight:500;
  margin-bottom:6px;
}

.pd-title{
  font-size:28px;
  font-weight:700;
  margin-bottom:10px;
}

.pd-desc{
  font-size:15px;
  color:#555;
  line-height:1.7;
  max-width:520px;
  margin-bottom:16px;
}

      

.price-main{
  font-size:26px;
  font-weight:700;
  color:#2e7d32;
}

.price-cut{
  text-decoration:line-through;
  color:#999;
  font-size:15px;
}

.price-off{
  background:#e8f5e9;
  color:#2e7d32;
  font-size:13px;
  padding:4px 8px;
  border-radius:14px;
}

.pd-price small{
  width:100%;
  font-size:12px;
  color:#777;
}

/* ADD TO CART */
.pd-add{
  width:100%;
  background:#1fa64a;
  color:#fff;
  border:none;
  padding:14px;
  font-size:15px;
  font-weight:600;
  border-radius:30px;
  cursor:pointer;
  transition:.3s;
}

.pd-add:hover{
  background:#17863c;
}

/* PRODUCT IMAGE GALLERY */

.product-image{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.main-img{
  background:#f6f6f6;
  border-radius:18px;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.main-img img{
  max-width:100%;
  max-height:488px;
  object-fit:contain;
}

/* thumbnails */
.thumbs{
  display:flex;
  gap:12px;
  justify-content:center;
}

.thumbs img{
  width:70px;
  height:70px;
  object-fit:contain;
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:10px;
  padding:6px;
  cursor:pointer;
  opacity:.7;
  transition:.3s;
}

.thumbs img:hover,
.thumbs img.active{
  opacity:1;
  border-color:#2e7d32;
  box-shadow:0 4px 12px rgba(0,0,0,.1);
}

/* TRUST STRIP */

.trust-bar{
  border:2px solid #9ec1ff;
  border-radius:12px;
  padding:12px 16px;
  margin-bottom:14px;
}

.trust-items{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.trust-item{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:#1a3c7c;
}

.trust-item img{
  width:32px;
  height:auto;
}

.trust-item .icon{
  font-size:18px;
}

.trust-item strong{
  display:block;
  font-size:13px;
  font-weight:600;
}

.trust-item span{
  font-size:12px;
  color:#4b6cb7;
}

/* SHIPPING NOTE */

.shipping-note{
  background:#fff3e8;
  border:1px solid #ffcaa6;
  color:#d35400;
  font-size:13px;
  padding:10px 14px;
  border-radius:10px;
  margin-bottom:18px;
}

/* HEART POP ANIMATION */
.pd-wishlist-inline.active .heart{
  animation:heartPop .4s ease;
}

/* KEYFRAMES */
@keyframes heartPop{
  0%{ transform:scale(1); }
  40%{ transform:scale(1.4); }
  100%{ transform:scale(1); }
}
.pd-wishlist-inline{
  margin-top:24px; /* label height compensate */
}

/* ===== PRICE + OPTIONS ONE ROW ===== */
.pd-row{
  display:flex;
  align-items:flex-end;
  gap:20px;
  flex-wrap:wrap;
  margin:18px 0;
}

/* PRICE */
.pd-price{
  font-size:22px;
  font-weight:700;
  color:#1b5e20;
}

/* COMMON LABEL */
.pd-weight label,
.pd-qty label,
.pd-wishlist label{
  font-size:12px;
  color:#666;
  display:block;
  margin-bottom:4px;

}

/* WEIGHT */
.pd-weight select{
  padding:6px 10px;
  border-radius:8px;
  border:1px solid #ddd;
}

/* QTY */
.qty-ui{
  display:flex;
  align-items:center;
  gap:6px;
}
.qty-ui button{
  width:30px;
  height:30px;
  border-radius:6px;
  border:1px solid #ccc;
  background:#fff;
  cursor:pointer;
}

/* WISHLIST SMALL */
.pd-wishlist{
  text-align:center;
}

.wishlist-box{
  width:60px;
  height:30px;
  border:1px solid #ddd;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:0.2s;
}

.wishlist-box .heart{
  font-size:18px;
  color:#999;
}

.wishlist-box.active{
  border-color:#e53935;
}

.wishlist-box.active .heart{
  color:#e53935;
}

