/* === YOG SANJEEVANI — EXTRA CSS v2.0 === */

/* ─── TOAST ─── */
.ys-toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--gray-900); color: white; padding: 14px 24px;
  border-radius: 99px; font-size: 0.85rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px; z-index: 9999;
  opacity: 0; transition: all 0.35s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2); white-space: nowrap;
  font-family: var(--font-heading);
}
.ys-toast i { color: var(--green); }
.ys-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── RIPPLE ─── */
.btn { overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0); animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* ─── LAZY IMAGE ─── */
img[data-src] { opacity: 0; transition: opacity 0.4s ease; }
img.loaded { opacity: 1; }

/* ─── ACTIVE NAV ─── */
.nav-links a.active { color: var(--green) !important; background: rgba(108,194,74,0.1) !important; }

/* ─── PAGE HERO PARTICLES (extra dots) ─── */
@keyframes floatDot {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-18px) scale(1.2); opacity: 0.8; }
}
.hero-dot {
  position: absolute; border-radius: 50%;
  background: var(--green); opacity: 0.4;
  animation: floatDot linear infinite;
  pointer-events: none;
}

/* ─── MODULE CARD TRANSITIONS ─── */
.module-card {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.4s cubic-bezier(0.23,1,0.32,1), border-color 0.4s ease;
}
.module-card.hidden-tab {
  opacity: 0; transform: translateY(16px); pointer-events: none; display: none;
}

/* ─── STORE PRODUCT SAVE TEXT ─── */
.save-text { font-size: 0.72rem; color: var(--green); font-weight: 600; }

/* ─── COUPON FEEDBACK ─── */
.coupon-ok  { font-size: 0.78rem; color: #065F46; margin-top: 6px; display: none; }
.coupon-err { font-size: 0.78rem; color: #991B1B; margin-top: 6px; display: none; }
.coupon-ok.show, .coupon-err.show { display: block; }

/* ─── CHECKOUT STEPS ─── */
.checkout-steps {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 40px; padding: 0 24px;
}
.step {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 600; color: var(--gray-400);
  font-family: var(--font-heading);
}
.step.active { color: var(--green); }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gray-200); background: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; color: var(--gray-400);
  flex-shrink: 0;
}
.step.active .step-dot { border-color: var(--green); background: var(--green); color: white; }
.step.done .step-dot { border-color: var(--green); background: var(--green); color: white; }
.step-line { flex: 1; height: 2px; background: var(--gray-200); margin: 0 12px; }
.step-line.done { background: var(--green); }

/* ─── ORDER SUCCESS ANIMATION ─── */
@keyframes drawCheck {
  from { stroke-dashoffset: 80; }
  to { stroke-dashoffset: 0; }
}
.check-svg { width: 60px; height: 60px; }
.check-svg circle { fill: none; stroke: var(--green); stroke-width: 2; }
.check-svg path {
  fill: none; stroke: var(--green); stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: drawCheck 0.6s 0.3s ease forwards;
}

/* ─── FAQ SECTION HEADER ─── */
.faq-section-wrap { background: var(--gray-50); padding: 80px 0; }
.faq-section-wrap .section-header { margin-bottom: 48px; }

/* ─── QUICK VIEW MODAL ─── */
.qv-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  backdrop-filter: blur(4px); padding: 20px;
}
.qv-overlay.open { opacity: 1; pointer-events: auto; }
.qv-modal {
  background: white; border-radius: var(--radius-xl);
  padding: 40px; max-width: 500px; width: 100%;
  transform: scale(0.9); transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
  position: relative;
}
.qv-overlay.open .qv-modal { transform: scale(1); }
.qv-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gray-100); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--gray-600); font-size: 0.9rem;
  transition: var(--transition-fast);
}
.qv-close:hover { background: var(--green); color: white; }
.qv-emoji { font-size: 4rem; text-align: center; margin-bottom: 20px; }
.qv-name { font-size: 1.3rem; font-family: var(--font-heading); margin-bottom: 8px; }
.qv-price { font-size: 1.5rem; color: var(--green); font-weight: 700; font-family: var(--font-heading); margin-bottom: 16px; }
.qv-desc { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; }

/* ─── SCROLL PROGRESS ─── */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--blue));
  z-index: 9999; transition: width 0.1s linear;
}

/* ─── MAP SECTION ─── */
.map-section { padding: 60px 0; background: var(--gray-50); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ─── FORM LOADING SPINNER ─── */
@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin 1s linear infinite; }