/* =========================
   PRODUCT DETAIL - FINAL PREMIUM 🔥
========================= */

.product-detail {
  display: flex;
  gap: 60px;
  max-width: 1100px;
  margin: 50px auto;
  padding: 40px;
  background: linear-gradient(135deg, #f8f5ef, #ffffff);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  align-items: center;
}

/* IMAGE */
.product-img {
  flex: 1;
  text-align: center;
}

.product-img img {
  width: 300px;
  border-radius: 20px;
  background: #fff;
  padding: 15px;
  transition: 0.4s;
}

.product-img img:hover {
  transform: scale(1.08);
}

/* INFO CARD */
.product-info {
  flex: 1;
  background: #ffffff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* TITLE */
.product-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1b5e20;
}

/* PRICE */
.price {
  font-size: 26px;
  color: #2e7d32;
  font-weight: 700;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 16px;
  margin-left: 10px;
}

/* DESC */
.product-desc {
  margin: 20px 0;
  line-height: 1.7;
  background: #f5f9f6;
  padding: 15px;
  border-left: 4px solid #2e7d32;
  border-radius: 10px;
}

/* LABEL */
.product-info label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
}

/* SELECT */
.weight {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* QTY */
.qty-box {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.qty-box button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: #2e7d32;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.qty-box span {
  font-size: 18px;
  font-weight: 600;
}

/* BUTTONS */
.action-buttons {
  display: flex;
  gap: 15px;
}

.add-cart {
  flex: 1;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, #2e7d32, #43a047);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.buy-now {
  flex: 1;
  padding: 14px;
  border-radius: 30px;
  border: none;
  background: #f4b400;
  color: #000;
  font-weight: 600;
  cursor: pointer;
}

.add-cart:hover,
.buy-now:hover {
  transform: translateY(-3px);
}

/* STOCK */
.stock {
  margin-top: 15px;
  color: green;
  font-weight: 500;
}

/* =========================
   TABS - MODERN CARD 🔥
========================= */

.tabs {
  max-width: 1100px;
  margin: 50px auto;
  padding: 35px;
  border-radius: 25px;
  background: linear-gradient(135deg, #ffffff, #f9f9f9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
}

/* BUTTONS */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tab-buttons button {
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: #eeeeee;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.tab-buttons button:hover {
  background: #2e7d32;
  color: #fff;
  transform: scale(1.05);
}

.tab-buttons button.active {
  background: #2e7d32;
  color: #fff;
}

/* CONTENT */
.tab-content {
  display: none;
  padding: 25px;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.04);
  font-size: 15px;
  line-height: 1.8;
  max-width: 700px;
  margin: auto;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ANIMATION */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   MOBILE RESPONSIVE 🔥
========================= */

@media (max-width: 768px) {

  .product-detail {
    flex-direction: column;
    padding: 20px;
    margin: 20px;
    text-align: center;
  }

  .product-img img {
    width: 220px;
  }

  .product-info {
    padding: 20px;
  }

  .action-buttons {
    flex-direction: column;
  }

  .tabs {
    margin: 20px;
    padding: 20px;
  }

  .tab-content {
    padding: 18px;
  }
}



























