/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Kavivanar&display=swap');

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}
.text-primary {
  color: #7e7053 !important;
}
.bg-primary{
   background: #7e7053 !important
}
/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Buy Now Button */
.buy-now-btn {
  background: #fff;
  color: #7e7053;
  border: 1px solid #7e7053;
}

.buy-now-btn:hover {
  background: #a9a18c;
  color: #fff;
  border: 1px solid #a9a18c;
}

/* View Details Button */
.view-details-btn {
  background:linear-gradient(90deg,#a9a18c, #7e7053);
  color: #fff;
  border: none;
}

.view-details-btn:hover {
  background: #a9a18c;
  transform: scale(1.05);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
/* Active tab background */
.nav-tabs .nav-link.active {
  background-color: #7e7053 !important;
  color: #fff !important;
  border-color: #7e7053 #7e7053 #fff;
}

/* Inactive tabs */
.nav-tabs .nav-link {
  color: #333;
  border: 1px solid transparent;
}

/* Hover effect */
.nav-tabs .nav-link:hover {
  background-color: #a9a18c;
  border-color: #a9a18c;
  color: #fff;
}
/* Product Card */
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-img {
  height: 200px;
  object-fit: contain;
  padding: 10px;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Product Name */
.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  /* min-height: 40px; */
}

/* Price Styling */
.price {
  color: #7e7053;
  font-size: 16px;
}

.old-price {
  color: #999;
  font-size: 13px;
  margin-left: 5px;
}
.currency-switcher {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

.currency-switcher .btn {
  border-radius: 10px;
  font-weight: 600;
  padding: 6px 10px;
}
.carousel-img {
  height: 600px; /* default height */
  object-fit: cover; /* keeps image ratio without stretching */
}

@media (max-width: 768px) {
  .carousel-img {
    height: 180px; /* smaller height for mobile */
  }
}
/* Buttons responsive style */
.product-card .btn {
  min-width: 100px;
  margin: 3px;
}

@media (max-width: 576px) {
  .product-card .card-body .btn {
    display: block;
    width: 100%;
    margin: 5px 0;
  }
}
/* Mobile view - horizontal scroll for videos */
@media (max-width: 768px) {
  #videoCarousel .carousel-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  #videoCarousel .carousel-item {
    flex: 0 0 auto;
    width: 90%; /* show 1 video per view */
    scroll-snap-align: start;
  }

  #videoCarousel .row {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
  }

  #videoCarousel .col-md-3 {
    flex: 0 0 auto;
    width: 100%; /* full width for mobile */
    margin-right: 10px;
  }

  /* Prevent Bootstrap from hiding/showing slides incorrectly */
  #videoCarousel .carousel-item.active,
  #videoCarousel .carousel-item-next,
  #videoCarousel .carousel-item-prev {
    display: flex;
  }
}
/* Hide hamburger (navbar-toggler) on mobile */
.navbar-toggler {
  display: none !important;
}
#videoCarousel iframe {
  margin-right: 15px; /* space between videos */
}

#videoCarousel .col-md-3:last-child iframe {
  margin-right: 0; /* remove gap after last video */
}
.custom-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  line-height: 24px;
  width: 32px;
  height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0.9;
}

.custom-close:hover {
  opacity: 1;
}

