:root {
  --primary-gradient: linear-gradient(
    135deg,
    #6366f1 0%,
    #a855f7 50%,
    #ec4899 100%
  );
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --border-color: rgba(226, 232, 240, 0.8);
}
body {
  background-color: #f8fafc;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Flying Icons Background Animation */
.flying-icons-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.flying-icon {
  position: absolute;
  color: rgba(245, 158, 11, 0.25);
  animation: flyAcross 15s linear infinite;
  bottom: -50px;
  user-select: none;
}
@keyframes flyAcross {
  0% {
    transform: translateY(0vh) translateX(0vw) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  80% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-110vh) translateX(20vw) rotate(360deg) scale(1.2);
    opacity: 0;
  }
}
.flying-icon:nth-child(1) {
  left: 3%;
  animation-duration: 11s;
  animation-delay: 0s;
  font-size: 24px;
}
.flying-icon:nth-child(2) {
  left: 12%;
  animation-duration: 16s;
  animation-delay: 2s;
  font-size: 18px;
  color: rgba(99, 102, 241, 0.2);
}
.flying-icon:nth-child(3) {
  left: 22%;
  animation-duration: 13s;
  animation-delay: 1s;
  font-size: 30px;
}
.flying-icon:nth-child(4) {
  left: 35%;
  animation-duration: 19s;
  animation-delay: 3s;
  font-size: 22px;
  color: rgba(236, 72, 153, 0.2);
}
.flying-icon:nth-child(5) {
  left: 48%;
  animation-duration: 15s;
  animation-delay: 0.5s;
  font-size: 26px;
}
.flying-icon:nth-child(6) {
  left: 60%;
  animation-duration: 21s;
  animation-delay: 4s;
  font-size: 20px;
}
.flying-icon:nth-child(7) {
  left: 72%;
  animation-duration: 12s;
  animation-delay: 1.5s;
  font-size: 28px;
  color: rgba(99, 102, 241, 0.25);
}
.flying-icon:nth-child(8) {
  left: 85%;
  animation-duration: 18s;
  animation-delay: 2.5s;
  font-size: 22px;
}

/* Breadcrumb */
.as_breadcrum_wrapper {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 90px 0;
  position: relative;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}
.breadcrumb li {
  display: inline-block;
  font-size: 15px;
  color: #cbd5e1;
}
.breadcrumb li a {
  color: #ffb703;
  text-decoration: none;
}

/* Product Detail & Zoom */
.product-detail-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}
.main-img-container {
  width: 100%;
  height: 420px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.product-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.main-img-container:hover .product-main-img {
  transform: scale(1.5);
}
.thumbnail-gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.thumb-img-wrap {
  width: 75px;
  height: 75px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f8fafc;
  padding: 5px;
  transition: all 0.2s ease;
}
.thumb-img-wrap:hover,
.thumb-img-wrap.active {
  border-color: #f59e0b;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-detail-title {
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 15px;
}

/* Main Product Pricing Box */
.price-box-main {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 15px 20px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.01);
}
.current-price-main {
  font-size: 30px;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.5px;
}
.old-price-main {
  font-size: 18px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}
.discount-badge-main {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
  letter-spacing: 0.5px;
}
.quantity-input-group {
  width: 100px;
}

/* Stats & Pincode */
.product-stats-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.stat-badge-views {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}
.stat-badge-sold {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}
.pincode-checker-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  max-width: 450px;
}
.pincode-input-group {
  display: flex;
  gap: 8px;
}
.pincode-input {
  flex: 1;
  border-radius: 8px !important;
  height: 42px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  padding-left: 12px;
}
.pincode-btn {
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
}
.pincode-btn:hover {
  background: #1e293b;
  color: #fff;
}
#pincodeResult {
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

/* Suggestion Cards CSS */
.suggestion-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.suggestion-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #f59e0b;
  border-radius: 2px;
}
.suggestion-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 15px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}
.suggestion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #f59e0b;
}
.suggestion-img-box {
  width: 100%;
  height: 160px;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.suggestion-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.suggestion-card:hover .suggestion-img {
  transform: scale(1.08);
}
.suggestion-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 42px;
  line-height: 1.4;
}
.suggestion-title:hover {
  color: #f59e0b;
  text-decoration: none;
}

.price-box-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  background: #f8fafc;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}
.current-price-card {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
}
.old-price-card {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: line-through;
}
.discount-badge-card {
  background: #fee2e2;
  color: #dc2626;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.card-actions {
  display: flex;
  gap: 8px;
}
.btn-custom-cart {
  background: #f1f5f9;
  color: #475569;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 10px;
  transition: all 0.2s;
  flex: 1;
}
.btn-custom-cart:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.btn-custom-buy {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 10px;
  transition: all 0.2s;
  flex: 1;
  text-align: center;
  text-decoration: none;
}
.btn-custom-buy:hover {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}

/* True Border Outline Running Animation on Hover */
.lighting-loop-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  border: none !important; /* Normal border hata kar outline trick use karenge */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.lighting-loop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Yeh pseudo-element card ke peeche ek glowing animated border banayega */
.lighting-loop-card::before {
  content: '';
  position: absolute;
  inset: -3px; /* Border ki motai kitni rakhni hai (3px) */
  border-radius: 18px;
  background: conic-gradient(from 0deg at 50% 50%, #ffb703, #ff0055, #7928ca, #00dfd8, #ffb703);
  z-index: -2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Ek aur pseudo-element andar ka white background banane ke liye taaki sirf outline par light dikhe */
.lighting-loop-card::after {
  content: '';
  position: absolute;
  inset: 1px; /* Border ke andar ka gap */
  background: #ffffff;
  border-radius: 15px;
  z-index: -1;
}

/* Sirf hover hone par animation aur glowing border visible hogi */
.lighting-loop-card:hover::before {
  opacity: 1;
  animation: rotateBorderLight 2.5s linear infinite;
}

@keyframes rotateBorderLight {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}