/* ==========================================================
   Zynosys Healthcare — Design Tokens
   Palette drawn from brand logo: deep forest green + antique gold
   ========================================================== */
:root {
  --zy-green: #253e2c;
  --zy-green-light: #345b3f;
  --zy-green-pale: #eaf0e7;
  --zy-gold: #a88a47;
  --zy-gold-light: #c7a765;
  --zy-cream: #fff;
  --zy-cream-deep: #f3ead8;
  --zy-charcoal: #323132;
  --zy-white: #ffffff;
  --zy-danger: #b3452e;

/*#f3ead8 var(--zy-cream-deep);*/

  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Poppins', -apple-system, sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 10px 30px rgba(37, 62, 44, 0.08);
  --shadow-card: 0 6px 18px rgba(37, 62, 44, 0.10);
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--zy-charcoal);
  background: var(--zy-cream);
 
}

@media (max-width-width: 768px) {
    body {
        padding-bottom: 74px;
    }
}
h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  color: var(--zy-green);
}

a { text-decoration: none; }

.eyebrow {
  font-family: var(--font-body);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--zy-gold);
  font-weight: 600;
}

.section-pad { padding: 64px 0; }
@media (max-width: 767px) { .section-pad { padding: 40px 0; } }

.btn-zy-primary {
  background: var(--zy-green);
  color: var(--zy-cream);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all .25s ease;
}
.btn-zy-primary:hover { background: var(--zy-green-light); color: #fff; transform: translateY(-1px); }

.btn-zy-gold {
  background: var(--zy-gold);
  color: var(--zy-green);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all .25s ease;
}
.btn-zy-gold:hover { background: var(--zy-gold-light); color: var(--zy-green); transform: translateY(-1px); }

.btn-zy-outline {
  background: transparent;
  color: var(--zy-green);
  border: 1.5px solid var(--zy-green);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
}
.btn-zy-outline:hover { background: var(--zy-green); color: var(--zy-cream); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-weight: 600;
}
.btn-whatsapp:hover { background: #1ebc59; color: #fff; }

/* ---------------- Top strip ---------------- */
.top-strip {
  background: var(--zy-green);
  color: #fff;
  font-size: 0.82rem;
  padding: 9px 0;
}
.top-strip a { color: #fff; }
.top-strip a:hover { color: var(--zy-gold-light); }

/* ---------------- Main header (logo / search / icons) ---------------- */
.main-header { background: var(--zy-white); }

.need-help-box {
  border: 1.5px solid var(--zy-charcoal);
  border-radius: var(--radius-sm);
  color: var(--zy-charcoal);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 8px 16px;
  text-align: center;
}
.need-help-box:hover { border-color: var(--zy-green); color: var(--zy-green); }

.search-box { display: flex; max-width: 480px; }
.search-box input {
  border: 1px solid rgba(37,62,44,0.15);
  border-right: none;
  border-radius: 8px 0 0 8px;
  background: #fff;
  padding: 12px 18px;
  flex: 1;
}
.search-box input:focus { outline: none; box-shadow: none; background: var(--zy-white); }
.search-box button {
  background: var(--zy-gold);
  border: none;
  color: var(--zy-green);
  width: 52px;
  border-radius: 0 8px 8px 0;
  font-size: 1.05rem;
}
.search-box button:hover { background: var(--zy-gold-light); }

.header-icon-btn {
  position: relative;
  color: var(--zy-charcoal);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 6px;
}
.header-icon-btn:hover { color: var(--zy-green); }
.hib-count {
  position: absolute;
  top: -8px; left: 14px;
  background: var(--zy-green-pale);
  color: var(--zy-green);
  font-size: 0.62rem;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hib-count-gold { background: var(--zy-gold); color: var(--zy-green); }
.cart-icon-btn .cart-text { font-size: 0.78rem; color: var(--zy-charcoal); line-height: 1.3; }
.cart-icon-btn .cart-text strong { color: var(--zy-green); font-size: 0.88rem; }

/* ---------------- Category / navigation bar ---------------- */
.category-bar {
  background: var(--zy-green);
  z-index: 1030;
}
.shop-by-cat-btn {
  background: var(--zy-green-light);
  color: var(--zy-cream);
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.shop-by-cat-btn:hover { background: var(--zy-gold); color: var(--zy-green); }
.shop-cat-menu { border-radius: var(--radius-md); border: none; box-shadow: var(--shadow-soft); padding: 8px; min-width: 240px; }
.shop-cat-menu .dropdown-item { border-radius: 8px; padding: 9px 12px; font-weight: 500; }
.shop-cat-menu .dropdown-item:hover { background: var(--zy-green-pale); color: var(--zy-green); }

.cat-bar-links a {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
}
.cat-bar-links a:hover, .cat-bar-links a.active { color: var(--zy-gold-light); }
.cat-bar-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--zy-gold);
  border-radius: 2px;
}

.btn-track-order {
  background: var(--zy-gold);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 11px 22px;

  font-size: 0.9rem;
  align-items: center;
  white-space: nowrap;
}
.btn-track-order:hover { background: var(--zy-gold-light); color: var(--zy-green); }

/* ---------------- Hero / Banner Slider ---------------- */
.hero-slider { position: relative; }
.hero-slide {
  overflow: hidden;
}
.hero-slide img { width: 100%; height: auto; display: block; }
.hero-slide .carousel-caption-custom {
  position: absolute;
  left: 6%; top: 50%; transform: translateY(-50%);
  max-width: 480px;
}
@media (max-width: 767px) {
  .hero-slide .carousel-caption-custom { display: none; } /* text baked into SVG on mobile for legibility */
}
.carousel-indicators [data-bs-target] { background-color: var(--zy-gold); }

/* ---------------- Category / Feature strip ---------------- */
.trust-strip { background: var(--zy-green-pale); }
.trust-item { text-align: center; padding: 18px 8px; }
.trust-item i { color: var(--zy-gold); font-size: 1.6rem; margin-bottom: 8px; }
.trust-item span { display: block; font-size: 0.85rem; font-weight: 600; color: var(--zy-green); }

.category-card {
  background: var(--zy-white);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease;
  height: 100%;
}
.category-card:hover { transform: translateY(-4px); }
.category-card .cat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  background: var(--zy-green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--zy-green);
  font-size: 1.6rem;
}

/* ---------------- Product cards ---------------- */
.product-card {
  background: var(--zy-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(37,62,44,0.16); }
.product-card .pc-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card .pc-body { padding: 16px; display: flex; flex-direction: column; flex-grow: 1; }
.pc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--zy-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 2;
}
.pc-name-hi { color: var(--zy-gold); font-size: 1rem; }
.pc-name-en { font-family: var(--font-display); font-size: 1.5rem; font-weight:600; color: var(--zy-green); margin: 2px 0 6px; }
.pc-rating { color: var(--zy-gold); font-size: 0.82rem; }
.pc-price { margin-top: auto; padding-top: 10px; }
.pc-price .mrp { text-decoration: line-through; color: #9a9a9a; font-size: 0.85rem; }
.pc-price .price { font-weight: 700; color: var(--zy-green); font-size: 1.2rem; }
.pc-price .off { color: var(--zy-danger); font-size: 0.78rem; font-weight: 600; }
.pc-add-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--zy-green);
  color: var(--zy-cream);
  border: none;
  border-radius: 50px;
  padding: 9px;
  font-weight: 600;
  font-size: 0.9rem;
}
.pc-add-btn:hover { background: var(--zy-green-light); color: #fff; }

/* ---------------- Promo banners ---------------- */
.promo-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.promo-banner img { width: 100%; display: block; }

/* ---------------- Section headers ---------------- */
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: 2rem; margin-top: 4px; }
@media (max-width: 767px) { .section-head h2 { font-size: 1.5rem; } }

/* ---------------- About page ---------------- */
.about-hero {
  background: linear-gradient(135deg, var(--zy-cream-deep) 0%, var(--zy-green-pale) 100%);
  color: var(--zy-green);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.value-card { background: var(--zy-white); border-radius: var(--radius-md); padding: 28px 22px; height: 100%; box-shadow: var(--shadow-card); }
.value-card i { color: var(--zy-gold); font-size: 1.8rem; margin-bottom: 12px; }

/* ---------------- Product Detail Page ---------------- */
.pd-gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1/1;
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: #fff; }
.pd-thumb.active { border-color: var(--zy-gold); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-name-hi { color: var(--zy-gold); font-size: 1rem; }
.pd-name-en { font-family: var(--font-display); font-size: 2rem; color: var(--zy-green); }
.pd-price-row .mrp { text-decoration: line-through; color: #9a9a9a; }
.pd-price-row .price { font-size: 1.8rem; font-weight: 700; color: var(--zy-green); }
.pd-price-row .off-badge { background: var(--zy-danger); color: #fff; font-size: 0.78rem; padding: 3px 10px; border-radius: 50px; }

.qty-selector { display: inline-flex; align-items: center; border: 1px solid rgba(37,62,44,0.2); border-radius: 50px; overflow: hidden; }
.qty-selector button { background: var(--zy-green-pale); border: none; width: 38px; height: 38px; font-weight: 700; color: var(--zy-green); }
.qty-selector input { width: 46px; text-align: center; border: none; font-weight: 600; }

.pd-tabs .nav-link { color: var(--zy-charcoal); font-weight: 600; border: none; border-bottom: 3px solid transparent; }
.pd-tabs .nav-link.active { color: var(--zy-green); border-bottom-color: var(--zy-gold); background: transparent; }

.pd-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: var(--zy-green);
  background: var(--zy-green-pale); padding: 6px 12px; border-radius: 50px; margin: 3px 6px 3px 0;
}

/* ---------------- Cart page ---------------- */
.cart-item { background: var(--zy-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 16px; }
.cart-item img { width: 84px; height: 84px; border-radius: var(--radius-sm); object-fit: cover; background: #fff; }
.cart-summary { background: var(--zy-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 22px; }

/* ---------------- Checkout ---------------- */
.checkout-box { background: var(--zy-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px; }
.payment-option {
  border: 1.5px solid rgba(37,62,44,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
}
.payment-option.active { border-color: var(--zy-gold); background: var(--zy-green-pale); }

/* ---------------- Track order ---------------- */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  position: relative; padding: 0 0 30px 40px;
  border-left: 2px solid rgba(37,62,44,0.15);
}
.timeline li:last-child { border-color: transparent; padding-bottom: 0;}
.timeline li::before {
  content: '';
  position: absolute; left: -9px; top: 0;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--zy-white); border: 2px solid rgba(37,62,44,0.25);
}
.timeline li.done::before { background: var(--zy-gold); border-color: var(--zy-gold); }
.timeline li.done { color: var(--zy-green); font-weight: 600; }
.timeline li .t-time { font-size: 0.78rem; color: #888; font-weight: 400; }

/* ---------------- Contact ---------------- */
.contact-card { background: var(--zy-white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 26px; height: 100%; }
.map-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }

/* ---------------- Footer ---------------- */
.site-footer { background: #142318; color: #fff;}
/*.site-footer { background-image:url(assets/images/fbg.jpg); color: #fff; margin-top: 40px; }*/
.footer-heading { color: var(--zy-gold-light); font-weight: 700; margin-bottom: 14px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-links a { color: #fff; opacity: 0.85; }
.footer-links a:hover { color: var(--zy-gold-light); opacity: 1; }
.text-footer-muted { color: #fff; opacity: 1; font-size: 0.85rem; }
.text-footer-link { color: #fff; }
.text-footer-link:hover { color: var(--zy-gold-light); }
.footer-hr { border-color: rgba(250,246,236,0.15); }
.footer-logo { filter: brightness(0) invert(1) sepia(1) saturate(0); opacity: 0.95; }

/* ---------------- Mobile bottom nav (app-like) ---------------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--zy-white);
  border-top: 1px solid rgba(37,62,44,0.1);
  box-shadow: 0 -4px 16px rgba(37,62,44,0.08);
  display: flex;
  z-index: 1040;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bn-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 9px 0 7px;
  color: #7c8577;
  font-size: 0.68rem;
  font-weight: 600;
}
.bn-item i { font-size: 1.15rem; }
.bn-item.active { color: var(--zy-green); }
.bn-item.active i { color: var(--zy-gold); }
.bn-cart-icon { position: relative; }
.bn-badge {
  position: absolute; top: -6px; right: -9px;
  background: var(--zy-gold); color: var(--zy-green);
  font-size: 0.6rem; font-weight: 700;
  min-width: 15px; height: 15px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 1040;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 767px) {
  .btn, .form-control, .pc-add-btn, .qty-selector button { min-height: 42px; }
  .navbar-brand img { height: 38px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--zy-gold);
  outline-offset: 2px;
}

/* Toast */
.zy-toast {
  position: fixed; top: 80px; right: 20px; z-index: 2000;
  background: var(--zy-green); color: var(--zy-cream);
  padding: 12px 20px; border-radius: 50px;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem; font-weight: 500;
  opacity: 0; transform: translateY(-10px);
  transition: all .3s ease;
  pointer-events: none;
}
.zy-toast.show { opacity: 1; transform: translateY(0); }

/* ---------------- Lightweight scroll-snap sliders (Top Rated / Testimonials) ---------------- */
.zy-slider-arrows { gap: 10px; }
.zy-slider-arrow {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--zy-green);
  background: var(--zy-white);
  color: var(--zy-green);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.zy-slider-arrow:hover { background: var(--zy-green); color: var(--zy-cream); }

.zy-slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.zy-slider-track::-webkit-scrollbar { display: none; }

.zy-slide-item {
  flex: 0 0 auto;
  width: 244px;
  scroll-snap-align: start;
}
@media (max-width: 575px) { .zy-slide-item { width: 180px; } }

.zy-slide-testi { width: 340px; }
@media (max-width: 575px) { .zy-slide-testi { width: 280px; } }

.testi-card {
  background: var(--zy-white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  height: 100%;
}
.testi-stars { color: var(--zy-gold); font-size: 0.85rem; margin-bottom: 12px; }
.testi-text { color: var(--zy-charcoal); font-size: 0.94rem; line-height: 1.6; min-height: 96px; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--zy-green-pale); color: var(--zy-green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
  flex-shrink: 0;
}


.top_bg {
    background-image: url(https://zyonsyshealthcare.com/assets/images/fbg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}