:root {
  /* Futuristic light palette */
  --blue: #3b82f6;
  --indigo: #6b5cff;
  --cyan: #22d3ee;
  --light: #f8fafc;
  --dark: #0f172a;

  /* Semantic mapping */
  --primary: var(--blue);
  --primary-dark: #1d4ed8;
  --accent: var(--cyan);
  --accent2: var(--indigo);
  --veg: #16a34a;
  --nonveg: #e11d48;
  --bg: var(--light);
  --card: #ffffff;
  --text: var(--dark);
  --muted: #64748b;
  --header-bg: #1e3a8a;
  --footer-bg: #f9fafb;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-bottom: 1px solid #eaeef3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.logo img { height: 80px; display: block; }
.nav { display: flex; gap: 20px; }
.nav-link { text-decoration: none; color: #ffffff; font-weight: 600; padding: 8px 10px; border-radius: 8px; }
.nav-link:hover, .nav-link.active { background: rgba(34,211,238,0.18); color: #ffffff; }

/* Banner */
.banner { padding: 0; background: none; }
.banner .container { max-width: 100%; padding: 0; }
.slider-wrap { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.slider { position: relative; width: 100%; height: auto; }
.slide img { width: 100%; height: 240px; object-fit: cover; display: block; }
.slide-btn { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(15,23,42,0.45); color: #fff; padding: 10px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(6px); }
.slide-btn.prev { left: 16px; }
.slide-btn.next { right: 16px; }
.dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.8); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.dot.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); }
.banner .overlay { position: absolute; left: 24px; top: 24px; z-index: 3; color: var(--text); background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); padding: 12px 16px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.banner-title { margin: 0; font-size: 32px; letter-spacing: 0.3px; color: var(--text); }
.banner-sub { color: var(--muted); margin-top: 6px; }

/* Hero slider specific size */

#heroSlider .slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
@media (max-width:768px){ #heroSlider .slide img{height:280px;} }
@media (max-width:480px){ #heroSlider .slide img{height:180px;} }
#heroSlider .slides-wrapper {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

#heroSlider .slide {
  min-width: 100%;
  flex-shrink: 0;
  display: block; /* instead of none */
}

/* Products */
.products { padding: 64px 0; background: #fff; }
.products-header { display: block; text-align: center; max-width: 900px; margin: 0 auto 32px; }
.products-header h2, .products-header h3 { color: var(--text); }
.products-header h2 { font-size: 32px; font-weight: 800; letter-spacing: 0.3px; margin: 0 0 6px; }
.products-header h2::after { content: ""; display: block; width: 96px; height: 4px; margin: 10px auto 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 999px; }
.products-header h3 { font-size: 22px; font-weight: 800; margin: 12px 0 6px; }
.products-header .muted { color: var(--muted); font-size: 16px; }

/* Product filters */
.filters { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; margin: 8px 0 12px; }
.filter-btn { border: 0; padding: 8px 12px; border-radius: 999px; background: #eef2ff; color: var(--primary-dark); font-weight: 700; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.filter-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.08); }
.filter-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }

.card { background: var(--card); border-radius: 16px; padding: 12px; box-shadow: 0 8px 22px rgba(0,0,0,0.08); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.12); }
.card-img { border-radius: 12px; height: 160px; width: 100%; object-fit: contain; margin-bottom: 10px; display: block; background: #fff; padding: 12px; }
.card-title { margin: 4px 0 2px; font-size: 16px; font-weight: 700; }
.card-meta { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.price { font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.add-btn { margin-top: auto; border: 0; padding: 10px 12px; border-radius: 10px; background: var(--primary); color: #fff; cursor: pointer; font-weight: 800; letter-spacing: .2px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.add-btn:hover { background: var(--primary-dark); }
.size-row { display: flex; align-items: center; gap: 8px; margin: 8px 0; }
.size-row label { font-size: 13px; color: var(--muted); }
.size-select { flex: 1; padding: 8px 10px; border-radius: 10px; border: 1px solid #ddd; }
.qty-row { display: flex; align-items: center; gap: 8px; margin: 8px 0 10px; }
.qty-btn { border: 0; background: #eef2ff; color: var(--primary-dark); padding: 6px 10px; border-radius: 8px; cursor: pointer; font-weight: 800; }
.qty-input { width: 56px; text-align: center; padding: 6px 8px; border-radius: 8px; border: 1px solid #ddd; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip.veg { background: rgba(22,163,74,0.12); color: var(--veg); }
.chip.nonveg { background: rgba(225,29,72,0.12); color: var(--nonveg); }

/* Footer */
.site-footer { padding: 40px 0 20px; background: var(--header-bg); color: #e6f0ff; border-top: 0; position: relative; }
.site-footer p { margin: 0; color: #cfe0ff; }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 24px; align-items: start; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.brand-logo { height: 64px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2)); }
.brand-name { font-weight: 800; color: #ffffff; margin: 0 0 6px; }
.brand-addr, .brand-contact { color: #cfe0ff; font-size: 14px; }
.brand-contact a { color: #ffffff; text-decoration: none; }
.brand-contact a:hover { text-decoration: underline; }
.footer-col h4 { margin: 0 0 10px; color: #ffffff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: #cfe0ff; text-decoration: none; transition: transform .15s ease; }
.footer-links a:hover { color: #ffffff; transform: translateX(2px); }
.newsletter .muted { color: #cfe0ff; margin: 0 0 10px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.9); color: #0b3a66; }
.signup-btn { border: 0; padding: 10px 16px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-weight: 800; cursor: pointer; position: relative; overflow: hidden; }
.signup-btn span { position: relative; z-index: 2; }
.signup-btn::after { content: ""; position: absolute; left: -40%; top: 0; width: 40%; height: 100%; background: rgba(255,255,255,0.3); transform: skewX(-20deg); filter: blur(2px); transition: left .4s ease; }
.signup-btn:hover::after { left: 120%; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 24px; }
.social-links { display: flex; gap: 8px; }
.social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.social:hover { transform: translateY(-2px); background: rgba(255,255,255,0.22); }

/* Checkout */
.checkout { padding: 28px 0 40px; }
.invoice-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.invoice-card { background: #fff; border-radius: 16px; box-shadow: 0 8px 22px rgba(0,0,0,0.08); padding: 16px; }
.invoice-table { width: 100%; border-collapse: collapse; }
.invoice-table th, .invoice-table td { text-align: left; padding: 10px; border-bottom: 1px dashed #eee; }
.totals { display: flex; justify-content: flex-end; gap: 24px; margin-top: 10px; color: var(--text); }
.pay-section { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.qr-box { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff, #fff1e6); border-radius: 12px; padding: 14px; }
.qr-box canvas, .qr-box img { max-width: 100%; height: auto; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .full { grid-column: 1 / -1; }
.form input, .form textarea, .form select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid #ddd; }
.submit-btn { border: 0; background: var(--primary); color: #fff; padding: 12px 14px; border-radius: 12px; font-weight: 700; cursor: pointer; }
.submit-btn:hover { background: var(--primary-dark); }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pay-section { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .logo img { height: 64px; }
  .slide img { height: 180px; }
  .post-slider .slide img { height: 160px; }
}

/* Post-products slider */
.post-slider-section { padding: 24px 0 40px; }
.post-slider-section .container { max-width: 1200px; padding: 0 16px; }
.post-slider { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.post-slider .slide img { width: 100%; height: 200px; object-fit: cover; }

/* Trust badges */
.trust-badges { background: #fff; padding: 48px 0; }
.badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.badge { background: var(--card); border-radius: 16px; padding: 16px; text-align: center; box-shadow: 0 8px 22px rgba(0,0,0,0.08); display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.badge:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,0.12); }
.badge-icon { color: var(--primary); animation: float 3s ease-in-out infinite; }
.badge-title { font-weight: 800; color: var(--text); }
.badge-sub { color: var(--muted); font-size: 14px; }

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

@media (max-width: 768px) {
  .badges { grid-template-columns: 1fr; }
}

/* WhatsApp floating action button */
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,0.25); display: inline-flex; align-items: center; justify-content: center; background: #25D366; z-index: 60; transition: transform .2s ease; }
.whatsapp-fab:hover { transform: translateY(-2px) scale(1.03); }

.product-card {
  transition: 0.3s ease;
  border-radius: 12px;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.toast-msg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #222;
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s ease-in-out;
  z-index: 9999;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}
.cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #2a7a2a;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 4px;
    opacity: 0;
    transition: 0.3s ease-in-out;
    z-index: 9999;
}
.cart-toast.show {
    opacity: 1;
}
.buttonclass{
  font-weight: bold;
  background-color: #3b82f6;
  color: white;
  padding: 10px 15px;
}


/* 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;
}

/* Banner Slider */
.banner { position: relative; overflow: hidden; width: 100%; }
.slides-wrapper { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.slide { min-width: 100%; flex-shrink: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dots { text-align: center; margin-top: 10px; }
.dot { height: 12px; width: 12px; margin: 0 5px; background-color: gray; border-radius: 50%; display: inline-block; cursor: pointer; border: none; }
.dot.active { background-color: blue; }

/* 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 18s 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%); } }



/* Responsive */
@media(max-width:768px){ .slide img{ height:300px; } .running-text{ font-size:1rem; } .product-card img{ height:140px; } .product-card .product-title{ font-size:0.95rem; } .product-card .product-price{ font-size:1rem; } }
/* 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;
}

