/* PAGE LAYOUT */
.product-page {padding:60px 20px; max-width:1200px; margin:auto;}
.product-container {display:flex; gap:60px; align-items:flex-start; flex-wrap:wrap;}

/* MAIN PRODUCT IMAGES */
.product-images {flex:1; max-width:500px;}
#mainProductImg {width:100%; height:400px; object-fit:cover; border-radius:6px; border:1px solid #eee; margin-bottom:10px;}
.product-thumbs {display:flex; gap:10px;}
.product-thumbs img {width:80px; height:80px; object-fit:cover; cursor:pointer; border:1px solid #eee; border-radius:6px; transition:0.3s;}
.product-thumbs img:hover {border-color:#f28c28;}

/* PRODUCT INFO */
.product-info {flex:1; max-width:500px;}
.product-title {font-size:28px; font-weight:600; margin-bottom:12px;}
.product-price {font-size:26px; font-weight:700; margin:10px 0 20px;}
.product-divider {height:1px; background:#eee; margin:25px 0;}
.product-buttons {display:flex; gap:15px; margin-bottom:20px;}
.btn-cart, .btn-buy {flex:1; padding:14px; font-weight:600; text-align:center; text-decoration:none; transition:.3s;}
.btn-cart {background:#fff; border:1px solid #E9762B; color:#E9762B;}
.btn-cart:hover {background:#E9762B; color:#fff;}
.btn-buy {background:#E9762B; color:#fff;}
.btn-buy:hover {opacity:.85;}
.feature-icons {display:flex; flex-direction:column; gap:12px;}
.feature-item {display:flex; align-items:center; gap:10px; font-size:14px;}
.product-description ul {padding-left:18px;}
.product-description li {margin-bottom:8px; font-size:14px; color:#555;}
.product-specs table {width:100%; border-collapse:collapse; font-size:14px;}
.product-specs th, .product-specs td {padding:10px 0; border-bottom:1px solid #eee; text-align:left;}
.product-specs th {width:40%; font-weight:600;}

.product-description-box {
    background: #fff;
    padding: 28px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-top: 30px;
}

.desc-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.desc-title i {
    color: #E9762B;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #E9762B;
    font-weight: bold;
}

.product-quantity {
  margin: 20px 0;
}

.product-quantity label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.qty-box {
  display: flex;
  align-items: center;
  width: 120px;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.qty-box input {
  width: 50px;
  text-align: center;
  border: none;
  outline: none;
}

.qty-box button {
  width: 35px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 18px;
}

.qty-box button:hover {
  background: #e0e0e0;
}
/* ===============================
   Tablet Devices (≤ 992px)
================================= */
@media (max-width: 992px) {

  .product-container {
    flex-direction: column;
    gap: 30px;
  }

  .product-images,
  .product-info {
    width: 100%;
  }

  .product-images img {
    width: 100%;
    height: auto;
  }

  .feature-icons {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

}


/* ===============================
   Mobile Devices (≤ 768px)
================================= */
@media (max-width: 768px) {

  .product-title {
    font-size: 22px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .product-buttons a {
    width: 100%;
    text-align: center;
  }

  .qty-box {
    width: 100%;
    max-width: 150px;
  }

  .feature-icons {
    grid-template-columns: 1fr;
  }

  .product-specs table {
    font-size: 14px;
  }

  .product-specs th,
  .product-specs td {
    padding: 8px;
  }

}


/* ===============================
   Small Mobile (≤ 480px)
================================= */
@media (max-width: 480px) {

  .product-page {
    padding: 10px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-price {
    font-size: 18px;
  }

  .product-thumbs img {
    width: 50px;
    height: 50px;
  }

  .related-title {
    font-size: 18px;
  }

}


/* RELATED PRODUCTS */
.related-section {margin-top:60px;}
.related-title {text-align:center; font-size:24px; font-weight:600; margin-bottom:30px; color:#E9762B;}
.related-card {border:1px solid #eee; padding:15px; background:#fff; transition:.3s;}
.related-card:hover {box-shadow:0 8px 20px rgba(0,0,0,0.08);}
.related-card img {width:100%; height:200px; object-fit:cover; margin-bottom:10px;}
.related-card h4 {font-size:16px; margin-bottom:5px;}
.related-card p {font-weight:600;}
.related-card a {text-decoration:none; color:inherit;}
.swiper-button-next, .swiper-button-prev {color:#000;}


@media (max-width:900px){.product-container{flex-direction:column;}}