
    .container-1 {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;          /* allow stacking on small screens */
  max-width: 1350px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Columns */
.product-images {
  /* flex: 1 1 250px;          */
  min-width: 250px;
}

.middle-column {
  flex: 2 1 400px;
  min-width: 300px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding: 20px;
}

.right-column {
  flex: 1 1 250px;
  min-width: 50px;
  display: flex;
  flex-direction: column;   /* stack buy-box and features-box */
  gap: 15px;
}

/* Images */
/* .product-images img {
  max-width: 100%;
  height: auto;
  display: block;
} */




/* Buy Box & Features Box */
.buy-box, .features-box {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  background: #fff;
}

.features-box {
  background: #fafafa;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .container-1 {
    flex-direction: column;
    align-items: center;
  }
  .middle-column, .right-column, .product-images {
    max-width: 100%;
  }
}

    /* .thumbs {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 10px;
    }
    .thumbs img {
      width: 60px;
      border: 1px solid #ddd;
      padding: 2px;
      cursor: pointer;
    } */

    .product-images-container {
  display: flex;
  flex-direction: column;
  gap: 10px; /* space between main image and thumbs */
  width: 350px; /* adjust as needed */
}
.product-images img {
  width: 100%;
  height: 00px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}
/* .product-images {
  position: relative;
  overflow: hidden;  
  width: 100%;
  height: 400px;  
  border: 1px solid #ccc;
} */

.product-images img {
  width: 100%;
  height: 550px !important;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: crosshair;
}

.thumbs {
  display: flex;
  gap: 5px;
}

.thumbs img {
  width: 60px;
  height: 80px;
  object-fit: contain;
  cursor: pointer;
  border: 1px solid #ccc;
  transition: border 0.2s ease;
}

.thumbs img:hover {
  border: 1px solid #000;
}


    /* Middle Column (Product Details) */
    .product-details h1 {
      font-size: 22px;
      margin-bottom: 10px;
    }
    .product-details p {
      font-size: 14px;
      margin: 6px 0;
    }
    .features {
      margin-top: 10px;
    }
    .features li {
      font-size: 14px;
      margin: 4px 0;
    }
    .links {
      margin-top: 10px;
    }
    .links button {
      padding: 6px 12px;
      border: 1px solid #aaa;
      background: #f8f8f8;
      margin-right: 5px;
      cursor: pointer;
      border-radius: 3px;
    }

    /* Right Column (Buy Box) */
 .buy-box {
  width: 100%;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  box-sizing: border-box;
  background: #fff;
  transition: max-height 0.5s ease; /* smooth expand */
  max-height: 1160px !important; /* default choti height */
  overflow: hidden;  /* bahar na nikal sake */
}
.buy-box.expanded {
  max-height: 1000px !important; /* jab expand ho to height badh jaye */
}

    .stock {
      color: green;
      font-weight: bold;
      margin-bottom: 5px;
    }
    .warranty {
      font-size: 14px;
      margin-bottom: 10px;
      color: #333;
    }
    .buy-box button {
      width: 100%;
      padding: 12px;
      font-size: 16px;
      font-weight: bold;
      background: #014098;
      color: #fff;
      border: none;
      cursor: pointer;
      /* margin-bottom: 10px; */
      border-radius: 3px;
    }
    .price {
      font-size: 30px !important;
      font-weight: bold;
      color: #333;
    }

    /* Navbar ko top priority do */
/* Navbar hamesha top par */
.header, .navbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  background: #fff; /* taake neeche ka content na dikhay */
}

/* Buy box ke andar PayPal button limit */
.buy-box {
  position: relative;
  z-index: 1 !important;
  overflow: hidden;   /* button bahar na nikal sake */
}

/* PayPal button iframe ke liye force */
div[id^="paypal-button-container-"],
div[id^="paypal-button-container-"] iframe {
  position: relative !important;
  z-index: 0 !important; /* Navbar se neeche rakho */
}

.tab-section {
  margin: 2rem 3rem;
  padding: 1rem;
  /* background: #f7f7f7; */
  border-radius: 8px;
}

.tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid #ccc;
  margin-bottom: 1rem;
}

.tab-btn {
  background: none;
  border: none;
  font-weight: bold;
  padding: 0.6rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: 0.3s;
  color: #333;
}

.tab-btn.active {
  border-bottom: 3px solid black;
  color: black;
}

.tab-content {
    font-size: 16px;
    font-weight: 400px;
    line-height: 29px;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  font-size: 0.95rem;
  color: #222;
  line-height: 1.6;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.related-products {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  box-sizing: border-box;
}

.product-card {
  display: flex;
  flex-direction: column;   /* vertical layout */
  align-items: center;      /* horizontally center */
  text-align: center;       /* optional: text bhi center ho jaye */
}

.product-card img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin-bottom: 10px;
  border: 1px solid #eee;
  background: #fff;
}
 
.product-page {
  display: flex;
  align-items: flex-start; /* dono ko top pe align karega */
  gap: 30px;
}



.product-images-container img {
  display: block;
  max-width: 100%;
  /* height: auto; */
  object-fit: contain;
}

.product-details {
  flex: 1;
}

.product-card h4 {
  font-size: 14px;
  margin: 5px 0;
  color: #0073e6;
}

.product-card .price {
  font-weight: bold;
  font-size: 16px;
  margin: 5px 0;
}
/* Related Products Section */
.related-products {
  margin-top: 50px;
  position: relative;
}

/* Pagination neeche alag se rakhne ke liye */
.swiper-pagination {
  position: relative !important;
  margin-top: 20px; /* products se gap */
  text-align: center;
}

/* Left/Right buttons ko slider ke bahar nikalna */
.swiper-button-prev,
.swiper-button-next {
  color: #000; /* black arrows */
  top: 40%; /* arrows vertically center ho jaye */
  transform: translateY(-50%);
}

.swiper-button-prev {
  left: -40px; /* slider ke bahar le jao */
}

.swiper-button-next {
  right: -40px; /* slider ke bahar le jao */
}

.features-box {
  max-width: 900px;
  margin: 20px auto 40px auto;
  padding: 20px 25px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  font-family: 'Inter', sans-serif;
}

.features-box h4 {
  margin-bottom: 15px;
  color: #1a73e8;
  font-size: 18px;
  font-weight: 600;
}

.features-box ul {
  list-style: disc;
  padding-left: 20px;
}

.features-box li {
  margin-bottom: 8px;
  color: #333;
  font-size: 14px;
}


    .price-quantity-row {
  display: flex;
  justify-content: space-between; /* qty left, price right */
  align-items: center;
  margin: 10px 0;
}

.quantity-wrapper {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  align-items: center;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #f0f0f0;
  font-size: 18px;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

input#quantity {
  width: 40px;
  text-align: center;
  border: none;
  font-size: 14px;
  outline: none;
}

.divider {
  width: 1px;
  height: 20px;
  background: #ccc;
}

.qty-btn:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.qty-btn:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.d-4-related-products {
  width: 100%;
  overflow: hidden; /* 👈 hide scrollbar */
  position: relative;
  padding: 30px 0;
  background: #f9f9f9;
  text-align: center;
}

/* ==== Carousel View Area ==== */
.d-4-carousel-wrapper {
  overflow: hidden; /* 👈 hides horizontal scrollbar */
  width: 100%;
}

/* ==== Scrollable Flex Container ==== */
.d-4-products-container {
  display: flex;
  overflow-x: auto; /* or scroll */
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
}


.d-4-products-container::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* ==== Product Card ==== */
.d-4-product-card {
  flex: 0 0 calc(25% - 20px); /* 4 cards per row with gap */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.d-4-product-card:hover {
  transform: translateY(-5px);
}

/* ==== Image Styling ==== */
.d-4-product-card img {
  width: 100%;
  height: 220px;           /* 👈 taller images */
  object-fit: contain;
  border-radius: 8px;
  background: #f0f0f0;
}

/* ==== Title & Price ==== */
.d-4-product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 5px;
}

.d-4-product-price {
  font-size: 15px;
  color: green;
  font-weight: 500;
}

/* ==== Buttons ==== */
.d-4-nav-buttons {
  margin-top: 15px;
}

.d-4-nav-buttons button {
  padding: 8px 16px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  margin: 0 5px;
}

.d-4-nav-buttons button:hover {
  background: #555;
}

/* ==== Responsive ==== */
@media (max-width: 1024px) {
  .d-4-product-card {
    flex: 0 0 calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .d-4-product-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .d-4-product-card {
    flex: 0 0 100%;
  }
}

.mobile-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  z-index: 9999;
  border: 1px solid #ccc;
  display: none; /* JS will toggle */
  max-height: 300px;
  overflow-y: auto;
}
