/* ============================================================
   BookVedaPuja.in — Main Stylesheet
   Theme: Saffron #FF6B00 | Gold #D4AF37 | Dark Brown #4A2C2A
   ============================================================ */

:root {
  --saffron: #FF6B00;
  --saffron-dark: #E05C00;
  --saffron-light: #FF8C3A;
  --gold: #D4AF37;
  --gold-dark: #B8960C;
  --brown: #4A2C2A;
  --brown-light: #6B3F3C;
  --cream: #FFF8F0;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --text-dark: #2d2d2d;
  --text-muted: #6c757d;
  --border: #e9ecef;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}
a { color: var(--saffron); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--saffron-dark); }
img { max-width: 100%; height: auto; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--brown); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brown);
  position: relative;
  margin-bottom: 0.5rem;
}
.section-title span { color: var(--saffron); }
.section-subtitle { color: var(--text-muted); font-size: 1rem; margin-bottom: 2.5rem; }
.divider-om {
  text-align: center;
  margin: 0.5rem 0 2rem;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: 8px;
}

/* ── Buttons ── */
.btn-saffron {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255,107,0,0.35);
}
.btn-saffron:hover {
  background: linear-gradient(135deg, var(--saffron-dark), var(--saffron));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,0,0.45);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f0cc55);
  color: var(--brown);
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,175,55,0.4); }
.btn-outline-saffron {
  border: 2px solid var(--saffron);
  color: var(--saffron);
  border-radius: 50px;
  padding: 8px 26px;
  font-weight: 600;
  transition: var(--transition);
  background: transparent;
}
.btn-outline-saffron:hover { background: var(--saffron); color: #fff; }
.btn-brown {
  background: var(--brown);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-brown:hover { background: var(--brown-light); color: #fff; }

/* ── Navbar ── */
.navbar-bvp {
  background: linear-gradient(90deg, var(--brown) 0%, #3a1f1d 100%);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1050;
}
.navbar-bvp .navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold) !important;
  letter-spacing: 1px;
  padding: 12px 0;
}
.navbar-bvp .navbar-brand span { color: var(--saffron); }
.navbar-bvp .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 1rem 0.9rem !important;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
}
.navbar-bvp .nav-link:hover,
.navbar-bvp .nav-link.active {
  color: var(--gold) !important;
}
.navbar-bvp .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}
.navbar-bvp .nav-link:hover::after { width: 60%; }
.navbar-bvp .dropdown-menu {
  background: var(--brown);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-sm);
  min-width: 200px;
}
.navbar-bvp .dropdown-item { color: rgba(255,255,255,0.85); font-size: 0.88rem; padding: 8px 16px; }
.navbar-bvp .dropdown-item:hover { background: rgba(255,107,0,0.2); color: var(--gold); }
.nav-cart-btn {
  background: var(--saffron);
  color: #fff !important;
  border-radius: 20px;
  padding: 6px 16px !important;
  margin-left: 8px;
  font-size: 0.85rem;
}
.nav-cart-btn:hover { background: var(--saffron-dark); color: #fff !important; }
.navbar-toggler { border-color: var(--gold); }
.navbar-toggler-icon { filter: invert(1); }
.top-bar {
  background: var(--saffron);
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 0;
}
.top-bar a { color: #fff; }
.top-bar a:hover { color: var(--gold); }

/* ── Hero Banner ── */
.hero-section {
  background: linear-gradient(135deg, var(--brown) 0%, #2a1210 50%, #1a0a09 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/mandala-pattern.png') center/cover;
  opacity: 0.05;
}
.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74,44,42,0.95) 0%, rgba(26,10,9,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-title span { color: var(--gold); display: block; }
.hero-subtitle { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat-item { text-align: center; }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat-label { color: rgba(255,255,255,0.65); font-size: 0.8rem; }
.hero-image-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-om {
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
.hero-quick-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.hero-quick-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}
.hero-quick-item:hover { background: rgba(255,107,0,0.2); border-color: var(--saffron); }
.hero-quick-item i { font-size: 1.4rem; color: var(--gold); display: block; margin-bottom: 5px; }

/* ── Service Cards ── */
.service-section { padding: 80px 0; background: var(--cream); }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}
.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: #fff;
}
.service-card h4 { color: var(--brown); font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }

/* ── Pandit Cards ── */
.pandit-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
}
.pandit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.pandit-card-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.pandit-card-body { padding: 20px; }
.pandit-card-body h5 { color: var(--brown); font-size: 1.05rem; margin-bottom: 5px; }
.pandit-badge {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.pandit-badge-verified { background: linear-gradient(135deg, #28a745, #20c997); }
.pandit-meta { font-size: 0.82rem; color: var(--text-muted); margin: 5px 0; }
.pandit-meta i { color: var(--saffron); width: 16px; }
.pandit-charge {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--saffron);
}
.pandit-charge span { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

/* ── Product Cards ── */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img-wrap { position: relative; overflow: hidden; height: 220px; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 5px; }
.badge-new { background: var(--saffron); color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.badge-sale { background: #dc3545; color: #fff; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.badge-bestseller { background: var(--gold); color: var(--brown); padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; }
.product-wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.product-wishlist:hover, .product-wishlist.active { color: #dc3545; background: #ffe8e8; }
.product-card-body { padding: 16px; }
.product-category { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-name { font-size: 0.95rem; color: var(--brown); font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.product-price { display: flex; align-items: center; gap: 8px; }
.product-price .current { font-size: 1.1rem; font-weight: 700; color: var(--saffron); }
.product-price .original { font-size: 0.85rem; text-decoration: line-through; color: var(--text-muted); }
.product-price .discount { font-size: 0.8rem; color: #28a745; font-weight: 600; }

/* ── Panchang Section ── */
.panchang-section { padding: 80px 0; background: linear-gradient(135deg, var(--brown), #2a1210); }
.panchang-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
}
.panchang-date {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.panchang-day { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 20px; }
.panchang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.panchang-item:last-child { border-bottom: none; }
.panchang-label { color: rgba(255,255,255,0.6); }
.panchang-value { color: var(--gold); font-weight: 600; }
.rahu-kalam { color: #ff6b6b !important; }

/* ── Temple Cards ── */
.temple-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.temple-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.temple-card-img { height: 200px; object-fit: cover; width: 100%; }
.temple-card-body { padding: 18px; }
.temple-card-body h5 { color: var(--brown); font-size: 1rem; margin-bottom: 8px; }
.temple-deity { color: var(--saffron); font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.temple-location { color: var(--text-muted); font-size: 0.8rem; }
.temple-location i { color: var(--saffron); }

/* ── Blog Cards ── */
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; object-fit: cover; width: 100%; }
.blog-card-body { padding: 20px; }
.blog-cat-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid var(--saffron);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card-body h5 { font-size: 1rem; color: var(--brown); margin-bottom: 10px; line-height: 1.5; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); }
.blog-meta i { color: var(--saffron); }

/* ── Testimonials ── */
.testimonial-section { padding: 80px 0; background: var(--cream); }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--saffron);
  height: 100%;
}
.testimonial-quote { font-size: 3rem; color: var(--gold); opacity: 0.4; line-height: 0.5; margin-bottom: 20px; }
.testimonial-text { color: var(--text-muted); font-size: 0.92rem; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.testimonial-name { font-weight: 700; color: var(--brown); font-size: 0.9rem; }
.testimonial-loc { font-size: 0.78rem; color: var(--text-muted); }

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, var(--brown) 0%, #2a1210 100%);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 15px; }
.footer-brand span { color: var(--saffron); }
.footer-desc { font-size: 0.88rem; opacity: 0.7; line-height: 1.7; margin-bottom: 20px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  margin-right: 8px;
  transition: var(--transition);
  font-size: 0.9rem;
}
.footer-social a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.footer-title { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--saffron); }
.footer-links li { margin-bottom: 10px; list-style: none; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-links a i { color: var(--saffron); margin-right: 6px; font-size: 0.75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-contact i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--gold); }

/* ── Search & Filter ── */
.filter-section {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border: 1px solid var(--border);
}
.filter-section .form-control,
.filter-section .form-select {
  border-color: var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
}
.filter-section .form-control:focus,
.filter-section .form-select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 0.2rem rgba(255,107,0,0.15);
}
.search-hero {
  background: linear-gradient(135deg, var(--cream), #fff);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,107,0,0.1);
}

/* ── Breadcrumb ── */
.breadcrumb-section {
  background: linear-gradient(90deg, var(--brown), var(--brown-light));
  padding: 20px 0;
}
.breadcrumb-section .breadcrumb-title { color: #fff; font-size: 1.4rem; font-weight: 700; margin: 0; }
.breadcrumb-section .breadcrumb { margin: 0; justify-content: flex-end; }
.breadcrumb-section .breadcrumb-item a { color: var(--gold); font-size: 0.85rem; }
.breadcrumb-section .breadcrumb-item.active { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ── Dashboard ── */
.dashboard-sidebar {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.dashboard-user-info { text-align: center; margin-bottom: 25px; }
.dashboard-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin-bottom: 12px;
}
.dashboard-user-name { font-weight: 700; color: var(--brown); font-size: 1rem; }
.dashboard-user-email { color: var(--text-muted); font-size: 0.8rem; }
.dashboard-nav .nav-link {
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  transition: var(--transition);
  margin-bottom: 4px;
}
.dashboard-nav .nav-link i { color: var(--saffron); width: 20px; text-align: center; }
.dashboard-nav .nav-link:hover,
.dashboard-nav .nav-link.active {
  background: linear-gradient(90deg, rgba(255,107,0,0.1), rgba(212,175,55,0.05));
  color: var(--saffron);
}
.dashboard-nav .nav-link.active { font-weight: 600; }
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--saffron);
  transition: var(--transition);
  height: 100%;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card.gold-border { border-color: var(--gold); }
.stat-card.brown-border { border-color: var(--brown); }
.stat-card.green-border { border-color: #28a745; }
.stat-icon { font-size: 2rem; margin-bottom: 10px; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--brown); }
.stat-label { color: var(--text-muted); font-size: 0.85rem; }

/* ── Forms ── */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-label { font-weight: 600; font-size: 0.88rem; color: var(--brown); margin-bottom: 6px; }
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  padding: 10px 14px;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 0.2rem rgba(255,107,0,0.12);
}
.form-title { color: var(--brown); font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.85rem; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── Cart ── */
.cart-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border);
}
.cart-item img { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.cart-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.cart-qty-btn:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }

/* ── Checkout Summary ── */
.order-summary-card {
  background: linear-gradient(135deg, var(--cream), #fff);
  border: 1px solid rgba(255,107,0,0.15);
  border-radius: var(--radius);
  padding: 25px;
}
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px dashed var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-total { font-weight: 800; font-size: 1.1rem; color: var(--saffron); }

/* ── Badges ── */
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d1ecf1; color: #0c5460; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-processing { background: #cce5ff; color: #004085; }
.status-shipped { background: #e2d9f3; color: #432874; }
.status-delivered { background: #d4edda; color: #155724; }
.status-paid { background: #d4edda; color: #155724; }
.status-failed { background: #f8d7da; color: #721c24; }

/* ── Loading Spinner ── */
.bvp-loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,107,0,0.25);
  border-top-color: var(--saffron);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 95px;
  right: 30px;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--saffron);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(255,107,0,0.4);
  cursor: pointer;
  transition: var(--transition);
}
#back-to-top:hover { background: var(--saffron-dark); transform: translateY(-3px); }
#back-to-top.show { display: flex; }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--brown);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}
#preloader .om-text { font-size: 4rem; color: var(--gold); animation: pulse 1.5s ease-in-out infinite; }
#preloader p { color: rgba(255,255,255,0.6); margin-top: 15px; font-size: 0.9rem; letter-spacing: 2px; }
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.1); } }

/* ── Section ── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.bg-cream { background: var(--cream); }
.bg-brown { background: var(--brown); }
.text-saffron { color: var(--saffron) !important; }
.text-gold { color: var(--gold) !important; }
.text-brown { color: var(--brown) !important; }
.bg-gradient-saffron { background: linear-gradient(135deg, var(--saffron), var(--saffron-light)); }

/* ── Alerts ── */
.alert { border-radius: var(--radius-sm); border: none; font-size: 0.9rem; }

/* ── Tabs ── */
.nav-tabs-bvp .nav-link {
  color: var(--text-muted);
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-tabs-bvp .nav-link.active {
  color: var(--saffron);
  border-bottom-color: var(--saffron);
  background: none;
}
.nav-tabs-bvp .nav-link:hover { color: var(--saffron); }

/* ── Calendar ── */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  padding: 4px;
}
.cal-day:hover { background: var(--cream); }
.cal-day.today { background: var(--saffron); color: #fff; font-weight: 700; }
.cal-day.festival { background: rgba(212,175,55,0.15); }
.cal-day .festival-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
}
.cal-day.other-month { opacity: 0.3; }

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .hero-section { min-height: auto; padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .section-title { font-size: 1.6rem; }
  .service-section, .section-pad { padding: 50px 0; }
  .hero-image-card { margin-top: 40px; }
}
@media (max-width: 767.98px) {
  .hero-title { font-size: 1.7rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-saffron, .hero-actions .btn-outline-saffron { padding: 9px 18px; font-size: 0.88rem; }
  .service-card { margin-bottom: 20px; }
  .panchang-date { font-size: 1.8rem; }
  .form-card { padding: 25px 20px; }
  .footer { padding: 40px 0 0; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }
  #back-to-top { bottom: 80px; right: 20px; }
}



/* ===== Header Fix ===== */
.navbar-bvp .container{display:flex;align-items:center;}
.navbar-collapse{display:flex!important;align-items:center;justify-content:space-between;flex:1;}
.bvp-main-nav{flex:1;justify-content:center;flex-wrap:nowrap;}
.bvp-main-nav .nav-link{white-space:nowrap;padding:.95rem .65rem!important;font-size:.92rem;}
.nav-right{margin-left:20px;white-space:nowrap;}
.user-btn{
display:flex;
align-items:center;
gap:8px;
padding:10px 18px;
border-radius:40px;
white-space:nowrap;
min-width:auto;
}
.nav-cart-btn{
display:flex;
align-items:center;
justify-content:center;
gap:6px;
height:52px;
padding:0 18px!important;
border-radius:16px;
background:var(--saffron);
color:#fff!important;
}
@media (max-width:991.98px){
.navbar-collapse{display:block!important;}
.nav-right{margin:15px 0 0;}
.bvp-main-nav{flex-wrap:wrap;}
.user-btn,.nav-cart-btn{width:100%;justify-content:center;margin-bottom:10px;}
}



/* ===== Mobile Navbar Fix v2 ===== */
html,body{
    width:100%;
    max-width:100%;
    overflow-x:hidden !important;
}
.container,.container-fluid{max-width:100%;}
.row{
    margin-left:0!important;
    margin-right:0!important;
}

@media (max-width:991.98px){

.navbar-bvp .container{
    padding-left:16px;
    padding-right:16px;
}

.navbar-toggler{
    margin-left:auto;
}

.navbar-collapse{
    display:none !important;
    width:100%;
    background:#4A2C2A;
    margin-top:15px;
    border-radius:16px;
    padding:15px;
}

.navbar-collapse.show{
    display:block !important;
}

.navbar-nav{
    width:100%;
}

.navbar-nav .nav-link{
    display:block;
    padding:14px 12px!important;
    border-radius:10px;
}

.nav-right{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:15px;
}

.user-btn,
.nav-cart-btn{
    width:100%;
    justify-content:center;
    margin:0!important;
}

.hero-section{
    overflow:hidden;
}
}


/* Mobile Menu Center Fix */
@media (max-width:991.98px){
#navMenu{text-align:center;}
#navMenu .navbar-nav{width:100%;}
#navMenu .nav-item{width:100%;}
#navMenu .nav-link{
display:flex!important;
justify-content:center;
align-items:center;
gap:8px;
text-align:center;
}
#navMenu .nav-right{
display:flex;
flex-direction:column;
align-items:center;
width:100%;
}
#navMenu .user-btn,
#navMenu .nav-cart-btn{
width:100%;
max-width:320px;
}
}
