
/* General button style */
.buttonclass{
  font-weight: 700;
  background: linear-gradient(135deg, #ffb400, #ff9900);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.buttonclass:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}
.buttonclass.active {
  opacity: 1;
}




/* Top Marquee */
.top-marquee { background: linear-gradient(90deg, #FFD700, #ffed4f); color: #1e3a8a; font-weight: 700; white-space: nowrap; overflow: hidden; box-sizing: border-box; border-bottom: 2px solid #1e3a8a; font-size: 1rem; letter-spacing: 0.5px; }
.top-marquee p { display: inline-block; padding-left: 100%; animation: marquee 100s linear infinite; margin:0; }
@keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }

/* Running Text */
.running-text-container { width: 100%; background: linear-gradient(90deg, #003366, #004C99); overflow: hidden; white-space: nowrap; border-top:2px solid #FFD700; border-bottom:2px solid #FFD700; padding:10px 0; display:flex; align-items:center;}
.running-text { display:inline-block; animation: runText 25s linear infinite; color:#fff; font-size:1.25rem; font-weight:700; letter-spacing:1px; text-shadow:1px 1px 4px rgba(0,0,0,0.4); padding-left:100%; }
.running-text-container:hover .running-text { animation-play-state: paused; }
@keyframes runText { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

/* Product Carousel */
.product-carousel-wrapper { position: relative; }
.grid { display:flex; flex-wrap:nowrap; gap:20px; overflow-x:auto; scroll-behavior:smooth; padding-bottom:8px; }
.grid::-webkit-scrollbar { height:8px; }
.grid::-webkit-scrollbar-thumb { background-color: rgba(59,130,246,0.6); border-radius:999px; }

/* Scroll buttons */
.scroll-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:10; background:#ffc107; color:#fff; border:none; padding:10px 14px; border-radius:999px; cursor:pointer; backdrop-filter:blur(6px); }
.scroll-btn.left { left:0; }
.scroll-btn.right { right:0; }

/* Improve touch scrolling */
.grid {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}



/* Hide arrows on mobile */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }
}

/* Floating Social Sidebar */
.social-sidebar {
  position: fixed;
  top: 40%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 8px 8px 0;
  z-index: 999;
}

.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #1e3a8a;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}

.social-sidebar a:hover {
  transform: scale(1.1);
  background: #ffb400;
}

/* Responsive: hide on small screens */
@media (max-width: 768px) {
  .social-sidebar {
    display: none;
  }
}
/* Category Navigation Styles */
.category-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scroll-container {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.scroll-content {
  display: flex;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Keep your earlier category design */
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 25px;
  cursor: pointer;
}

.circle-img {
  width: 150px;          /* Bigger circle */
  height: 150px;
  border-radius: 50%;
  border: 3px solid #003366;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 4px;          /* Reduced padding for bigger image */
  background: #fff;
}

.circle-img img {
  width: 110%;           /* Zoom effect */
  height: 110%;
  object-fit: contain;
}

.category-name {
  margin-top: 8px;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
}

.category-item {
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

.category-item:hover {
  transform: scale(1.02);
  text-decoration: none;
}

.category-item:active {
  transform: scale(0.95);
}

.top-marquee {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #1e3a8a, #002b66);
  border-bottom: 3px solid #f9d342;
  padding: 10px 0;
  position: relative;
}

.marquee-track {
  display: inline-block;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9d342;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
  letter-spacing: 1.2px;
  padding-left: 100%;
  animation: smoothScroll 18s linear infinite;
}

/* Pause scrolling on hover */
.top-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Infinite loop animation */
@keyframes smoothScroll {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}
.marquee-track {
  animation: smoothScroll 50s linear infinite, glowPulse 3s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.8; text-shadow: 0 0 4px #f9d342; }
  to   { opacity: 1; text-shadow: 0 0 14px #ffe55a; }
}

:root {
  --royal: #1e3a8a;
  --gold: #f9d342;
  --white: #ffffff;
}

.top-marquee {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(90deg, var(--royal), #002b66);
  border-bottom: 3px solid var(--gold);
  padding: 10px 12px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

/* 🔔 Bell icon animation */
.promo-bell i {
  font-size: 22px;
  color: var(--gold);
  animation: bellShake 1.5s infinite ease-in-out;
}

@keyframes bellShake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(12deg); }
  60% { transform: rotate(-6deg); }
  80% { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}

/* 🏷 Offers Button */
.marquee-btn {
  background: var(--gold);
  color: var(--royal);
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  font-size: 14px;
  transition: .3s;
  text-decoration: none;
  white-space: nowrap;
}
.marquee-btn:hover {
  background: #ffe763;
  transform: scale(1.05);
}

/* 🎢 Scroll Track */
.marquee-track {
  flex: 1;
  display: inline-block;
  white-space: nowrap;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.2px;
  text-shadow: 0 0 8px rgba(0,0,0,0.4);
  animation: smoothScroll 50s linear infinite, glowPulse 3s ease-in-out infinite alternate;
  padding-left: 100%;
}

/* ✨ Hover pause */
.top-marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* 🔁 Infinite scroll */
@keyframes smoothScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* ✨ Gold glow animation */
@keyframes glowPulse {
  from { opacity: 0.75; text-shadow: 0 0 4px var(--gold); }
  to { opacity: 1; text-shadow: 0 0 14px #ffe55a; }
}

/* 🪩 Blinking Separator Dots */
.separator {
  animation: blink 1s infinite alternate;
}
@keyframes blink {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Mobile responsive */
@media(max-width:768px){
  .marquee-btn { display:none; }
  .top-marquee{ font-size:0.95rem; }
}





.animated-price{
  opacity:0;
  transform:scale(0.9);
  transition:.3s ease-in-out;
}

.animated-price.animate{
  opacity:1;
  transform:scale(1);
}
.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff3b30;
  color: white;
  font-weight: bold;
  padding: 5px 10px;
  font-size: 13px;
  border-radius: 20px;
  box-shadow: 0px 3px 10px rgba(255,0,0,0.3);
  z-index: 10;
}
.premium-card{
  background:#fff;
  border-radius:18px;
  box-shadow:0 8px 30px rgba(0,0,0,0.08);
  overflow:hidden;
  position:relative;
  transition:all .3s ease;
  border:1px solid #e5e5e5;
}
.premium-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 34px rgba(0,0,0,0.15);
}




.offer-badge{
  position:absolute;
  top:12px;
  left:12px;
  background:#ff3b30;
  color:#fff;
  padding:6px 14px;
  border-radius:16px;
  font-weight:bold;
  font-size:14px;
}
.premium-tag{
  position:absolute;
  top:12px;
  right:12px;
  background:#FFD700;
  padding:6px 14px;
  border-radius:16px;
  font-weight:bold;
  font-size:14px;
  color:#222;
}



.card-content{ padding:14px; }



.rating-row{ font-size:13px; color:#ff9900; }
.rating-text{ color:#333; }

.price-box{ margin:8px 0; }
.offer-price{
  font-size:20px;
  font-weight:700;
  color:#1e3a8a;
  display:block;
  transition:.3s;
  opacity:1;
}
.offer-price.animate{
     opacity:1;
  transform:scale(1.05);
}
.mrp{text-decoration:line-through;color:#777;font-size:13px;}
.saving-text{color:#28a745;font-size:14px;display:block;font-weight:600;}

.add-btn{
  width:100%;
  background:#1e3a8a;
  color:#fff;
  border:none;
  padding:10px;
  border-radius:12px;
  font-weight:bold;
  transition:.3s;
}
.add-btn:hover{ background:#102a58; transform:scale(1.03); }
.add-btn.added{ background:#28a745!important; }

.variant-chip{
  padding:6px 12px;
  border:1px solid #aaa;
  border-radius:20px;
  cursor:pointer;
  margin-right:5px;
  transition:.3s;
}
.variant-chip.active{ background:#1e3a8a; color:white; }

.qty-box{ display:flex; gap:8px; margin:8px 0; align-items:center; }
.qty-btn{
  background:#cccccc;
  border:none;
  width:32px;
  height:32px;
  border-radius:50%;
  font-weight:bold;
  cursor:pointer;
}
.qty-input{
  width:45px;
  text-align:center;
  border:1px solid #ccc;
  border-radius:6px;
  padding:5px;
}
.fade-img { transition: .3s ease-in-out; }
.fade-img.fade { opacity: .3; }




/* new product card css*/

/* PRODUCT CARD – PREMIUM */
.product-card{
  flex: 0 0 275px;              /* perfect for carousel */
  background:#fff;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
  overflow:hidden;
  position:relative;
  transition:transform .3s ease, box-shadow .3s ease;
  border:1px solid #eee;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 16px 36px rgba(0,0,0,0.14);
}

.img-wrapper{
  position:relative;
  overflow:hidden;
}

.product-img{
  width:100%;
  height:210px;
  object-fit:cover;
  transition:transform .4s ease, opacity .3s ease;
}

.product-card:hover .product-img{
  transform:scale(1.06);
}
.badge-offer{
  position:absolute;
  top:12px;
  left:12px;
  background:linear-gradient(135deg,#ff3b30,#ff6a00);
  color:#fff;
  padding:6px 14px;
  border-radius:20px;
  font-size:13px;
  font-weight:700;
  box-shadow:0 4px 12px rgba(255,59,48,.4);
  z-index:2;
}

.product-title{
  font-size:15px;
  font-weight:700;
  padding:10px 14px 0;
  line-height:1.3;
  height:75px;
  overflow:hidden;
}
.variant-chips{
  padding:8px 14px;
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.variant-chip{
  padding:6px 12px;
  border-radius:18px;
  border:1px solid #ccc;
  cursor:pointer;
  font-size:13px;
  background:#fff;
  transition:.25s;
}

.variant-chip:hover{
  border-color:#1e3a8a;
}

.variant-chip.active{
  background:#1e3a8a;
  color:#fff;
  border-color:#1e3a8a;
}

.variant-chip.disabled{
  opacity:.4;
  cursor:not-allowed;
  text-decoration:line-through;
}

.price-box{
  padding:0 14px;
  margin-bottom:8px;
}

.offer-price{
  font-size:20px;
  font-weight:800;
  color:#1e3a8a;
}

.mrp{
  font-size:13px;
  color:#777;
  text-decoration:line-through;
}

.saving-text{
  font-size:14px;
  color:#28a745;
  font-weight:600;
}
.qty-box{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
}

.qty-btn{
  width:30px;
  height:30px;
  border-radius:50%;
  border:none;
  background:#eee;
  font-weight:700;
  cursor:pointer;
}

.qty-input{
  width:45px;
  text-align:center;
  border:1px solid #ccc;
  border-radius:6px;
  padding:4px;
}
.add-btn{
  margin:10px 14px 14px;
  width:calc(100% - 28px);
  background:#1e3a8a;
  color:#fff;
  border:none;
  padding:10px;
  border-radius:14px;
  font-weight:700;
  transition:.3s;
}

.add-btn:hover{
  background:#102a58;
  transform:scale(1.04);
}

.add-btn.added{
  background:#28a745 !important;
}
.wishlist-heart {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #ccc;
  opacity: 0;                /* 🔴 hidden by default */
  transform: scale(0.8);
  transition: all 0.25s ease;
  pointer-events: none;      /* prevent accidental clicks */
}

/* 👆 Show on product hover */
.product-card:hover .wishlist-heart {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ❤️ Active (in wishlist) → always visible */
.wishlist-heart.active {
  opacity: 1;
  color: #ff3b30;
  transform: scale(1.15);
  pointer-events: auto;
}

/* Optional hover effect */
.wishlist-heart:hover {
  transform: scale(1.25);
}
@media(max-width:768px){
  .product-card{
    flex:0 0 300px;
  }

  .product-img{
    height:180px;
  }

  .offer-price{
    font-size:18px;
  }
}
/* ================================
   HERO SLIDER – FINAL FIX
================================ */

.hero-slider{
  width:100%;
  overflow:hidden;
  position:relative;
}

/* IMPORTANT: match HTML class */
.hero-slider .slider-track{
  display:flex;
  width:100%;
  transition:transform .6s ease-in-out;
}

.hero-slider .slide{
  flex:0 0 100%;
  width:100%;
}

.hero-slider .slide img{
  width:100%;
  height:420px;
  object-fit:fill;
  display:block;
}

/* Mobile */
@media(max-width:768px){
  .hero-slider .slide img{
    height:220px;
  }
}

@media(max-width:480px){
  .hero-slider .slide img{
    height:180px;
  }
}

/* Arrows */
.nav-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.5);
  color:#fff;
  border:none;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
  z-index:10;
}
.nav-arrow.left{ left:12px; }
.nav-arrow.right{ right:12px; }

/* Hide arrows on mobile */
@media(max-width:768px){
  .nav-arrow{ display:none; }
}

/* Dots */
.dots{
  position:absolute;
  bottom:12px;
  width:100%;
  display:flex;
  justify-content:center;
  gap:8px;
}
.dots .dot{
  width:8px;
  height:8px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.6);
}
.dots .dot.active{
  background:#fff;
}

/* ---------- TRUST BADGES ---------- */
.trust-badges {
  background: linear-gradient(135deg, #f8faff, #eef4ff);
}

.trust-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
}

.trust-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: #003366;
  margin-bottom: 6px;
}

.trust-sub {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}

.product-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.product-carousel-wrapper .grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.product-carousel-wrapper .grid::-webkit-scrollbar {
  display: none;
}

.product-carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.product-carousel-wrapper .grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.product-carousel-wrapper .grid::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
}

.scroll-btn.left { left: 6px; }
.scroll-btn.right { right: 6px; }


.product-carousel-wrapper {
  overflow: hidden;
}

#bestGrid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

#bestGrid::-webkit-scrollbar {
  display: none;
}

.badge-offer {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
  z-index: 10;
}

/* 💰 Lowest Price */
.badge-lowest {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* 🔥 Discount */
.badge-discount {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* ⭐ Best Seller */
.badge-bestseller {
  background: linear-gradient(135deg, #f59e0b, #facc15);
  color: #000;
}

/* ===============================
   FILTER SCROLL (MOBILE FIX)
================================ */

/* Desktop – normal wrap */
.filter-scroll {
  flex-wrap: wrap;
}

/* Mobile – horizontal scroll */
@media (max-width: 768px) {
  .filter-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;

    /* Smooth scroll */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }

  .filter-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .filter-scroll .buttonclass {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
@media (max-width: 768px) {
  .filter-scroll {
    mask-image: linear-gradient(to right,
      black 90%,
      transparent 100%);
  }
}

/* ===============================
   STICKY FILTER BAR
================================ */

.filter-scroll {
  background: #fff;
  z-index: 999;
  transition: box-shadow 0.3s ease, top 0.3s ease;
}

/* Sticky mode */
.filter-scroll.sticky {
  position: sticky;
  top: 60px; /* adjust based on header height */
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding-top: 10px;
  padding-bottom: 10px;
}

/* Mobile header is taller */
@media (max-width: 768px) {
  .filter-scroll.sticky {
    top: 56px;
  }
}


/* ===============================
   SWIPE INDICATOR
================================ */

.swipe-indicator {
  display: none;
  text-align: right;
  font-size: 13px;
  color: #666;
  margin-top: -12px;
  padding-right: 12px;
  animation: swipePulse 1.5s infinite;
}

/* Arrow animation */
@keyframes swipePulse {
  0% { opacity: 0.4; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(6px); }
  100% { opacity: 0.4; transform: translateX(0); }
}

/* Mobile only */
@media (max-width: 768px) {
  .swipe-indicator {
    display: block;
  }
}

/* ===============================
   MOBILE FILTER SCROLL FIX
================================ */

.filter-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding: 8px 12px;          /* 👈 VERY IMPORTANT */
  gap: 10px;
}

/* Hide scrollbar */
.filter-scroll::-webkit-scrollbar {
  display: none;
}
.filter-scroll {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Desktop only center */
@media (min-width: 769px) {
  .filter-scroll {
    justify-content: center;
  }
}


.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 8px;
  font-size: 13px;
}

.rating-badge {
  background: #388e3c;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.rating-count {
  color: #6b7280;
  font-size: 12px;
}

.rating-muted {
  color: #9ca3af;
  font-size: 12px;
}


.rating-row{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  padding-left: 10px;
}

.rating-empty{
  color:#6c757d;
  display:flex;
  align-items:center;
  gap:4px;
  font-style:italic;
}

.rating-empty i{
  color:#ffc107; /* star gold */
  font-size:14px;
}

.buttonclass.active {
  background: linear-gradient(135deg, #1e3a8a, #004aad);
  color: #fff;
  box-shadow: 0 6px 14px rgba(30,58,138,0.35);
  transform: translateY(-2px) scale(1.02);
}