/* --- Top Navbar --- */
.top-navbar {
  background: linear-gradient(90deg, #000000, #4d4d4d);
  color: #fff;
  padding: 8px 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.top-navbar img.logo {
  max-height: 40px;
}
.top-navbar .marquee {
  overflow: hidden;
  white-space: nowrap;
}
.top-navbar .marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 12s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
  .top-navbar .marquee span {
    font-size: 14px;
    animation: marquee 15s linear infinite;
  }
  .top-navbar img.logo { max-height: 30px; }
}

/* --- Product Section --- */
.main-product-img img {
  width: 100%;
  max-height: 500px;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

/* Dots Slider */
.dots-slider {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

.dots-slider .dot {
  width: 60px;
  height: 60px;
  display: inline-block;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Active State */
.dots-slider .dot.active {
  border: 2px solid #000;
  transform: scale(1.05);
}

/* Mobile View – Bigger Dots (Better Visibility) */
@media (max-width: 576px) {
  .dots-slider .dot {
    width: 75px;
    height: 75px;
  }
}

/* --- Product Info --- */
.product-info, .benefits-box {
  background: #f8f9fa;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  padding: 10px 15px;
}

/* --- Buttons --- */
.btn-outline-dark, .btn-success { padding: 8px 20px; font-size: 14px; }
.btn-success { display: inline-flex; align-items: center; justify-content: center; }

/* --- Reviews Section --- */
#reviews .card {
  background-color: #f0eeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#reviews .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.user-icon { width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0; }
.gallery-img { width: 90px; height: 80px; object-fit: cover; cursor: pointer; border-radius: 8px; }

/* Zoom Overlay */
.zoom-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

/* Container for image + close button */
.zoom-container {
  position: relative;   /* parent for absolute close button */
  display: inline-block;
}

/* Zoomed image */
.zoom-container img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  display: block;
}

/* Close button: top-right corner of image, responsive */
.zoom-container .close {
  position: absolute;
  top: -50px;  
  right:0;     
  color: #fff;
  font-size: 35px;
  cursor: pointer;
  z-index: 10000;
}

/* Optional: slightly smaller close button on mobile */
@media (max-width: 768px) {
  .zoom-container .close {
    font-size: 30px;
  }
}



/* Dots Navigation */
.dots-slider {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.dots-slider .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
}
.dots-slider .dot.active {
  background-color: #000;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .dots-slider .dot { width: 10px; height: 10px; }
}
@media (max-width: 576px) {
  .dots-slider .dot { width: 8px; height: 8px; }
}

@media (max-width: 576px) {
  .main-product-img img { max-height: 420px; }
  .dots-slider img { width: 40px; height: 40px; }
  .btn-outline-dark, .btn-success { font-size: 12px; padding: 6px 12px; }
  .product-info, .benefits-box { padding: 8px 10px; font-size: 13px; }
  .gallery-img { width: 70px; height: 60px; }
  .zoom-overlay img { max-width: 90%; max-height: 60vh; }
}

/* --- Footer --- */
footer { text-align: center; font-size: 13px; line-height: 1.4; }

/* --- Quantity Box --- */
.input-group { max-width: 130px; }

/* --- Reviews Section --- */
#reviews .card {
  background-color: #f0eeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#reviews .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.user-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Gallery images */
.gallery-img {
  width: 90px;
  height: 80px;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: 8px;
  transition: transform 0.3s;
}
.gallery-img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.zoom-container {
  position: relative;
  max-width: 90%;
}
.zoom-container img {
  width: 100%;
  max-height: 80vh;
  border-radius: 12px;
}
.zoom-container .close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}
@media(max-width:768px){
  .zoom-container .close { font-size: 28px; top:-30px;}
  .gallery-img { width: 70px; height: 60px;}
}
.zoom-container p {
  color: #fff;
  max-width: 600px;
  margin: 15px auto 0;
  line-height: 1.5;
  font-size: 16px;
}
@media(max-width:768px){
  .zoom-container p { font-size: 14px; }
}


/* buy-now */

/* CSS */

/* Wrapper to center the QR Box */
.wrapper {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    height: 100vh;           /* Full viewport height */
    background-color: #f8f9fa; /* Optional: page background */
}

/* QR Box Styling */
.qr-box {
    background-color: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Heading */
.qr-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* QR Image */
.qr-box img {
    width: 200px;
    height: 200px;
    margin: 20px 0;
    object-fit: cover;
}

/* Details Text */
.qr-box .details {
    text-align: left;
    margin-top: 15px;
}

.qr-box .details p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #333;
}

/* Back Button */
.qr-box .btn {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
}


.dots-slider {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.single-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  transition: 0.3s;
}

.single-dot.active {
  background: #000;
  transform: scale(1.3);
}


.btn-size-active {
    background-color: #212529 !important; /* hover jaisa dark bg */
    color: #fff !important;
    border-color: #212529 !important;
}

.btn-size-active,
.btn-flavour-active {
    background-color: #212529 !important;
    color: #fff !important;
    border-color: #212529 !important;
}

