/* ═══════════════════════════════════════════════════
   ISKCON Book Store — Main Stylesheet
   Theme: Saffron, Gold, Cream, Deep Brown
   ═══════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --saffron:        #FF6600;
  --saffron-dark:   #CC5200;
  --saffron-light:  #FF8C42;
  --gold:           #FFB400;
  --gold-light:     #FFD700;
  --cream:          #FFF8F0;
  --cream-dark:     #F5E6D3;
  --brown:          #3D1A00;
  --brown-light:    #6B3A2A;
  --white:          #FFFFFF;
  --text:           #2C1A0E;
  --text-muted:     #7A5C4A;
  --border:         #E8C99A;
  --shadow:         rgba(255, 102, 0, 0.15);
  --shadow-dark:    rgba(61, 26, 0, 0.2);
  --radius:         12px;
  --transition:     0.3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  line-height: 1.3;
}

a { color: var(--saffron); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--saffron-dark); }

img { max-width: 100%; height: auto; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 4px; }

/* ═══════════════ NAVBAR ═══════════════ */
.navbar-iskcon {
  background: linear-gradient(135deg, #3D1A00 0%, #6B2D00 50%, #3D1A00 100%);
  padding: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-iskcon .navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.brand-lotus { font-size: 2rem; line-height: 1; }

.brand-text { display: flex; flex-direction: column; }

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--saffron-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-iskcon .nav-link {
  color: #E8C99A !important;
  font-weight: 600;
  padding: 20px 14px !important;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
}

.navbar-iskcon .nav-link:hover,
.navbar-iskcon .nav-link.active {
  color: var(--gold-light) !important;
}

.navbar-iskcon .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: all var(--transition);
  transform: translateX(-50%);
}

.navbar-iskcon .nav-link:hover::after { width: 80%; }

.navbar-toggler {
  border-color: var(--saffron) !important;
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,179,0,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.cart-badge {
  background: var(--gold);
  color: var(--brown);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  margin-left: 3px;
}

.search-form-nav { display: flex; gap: 0; }
.search-input-nav {
  border: 2px solid var(--saffron);
  border-radius: var(--radius) 0 0 var(--radius) !important;
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 6px 14px;
  font-size: 0.85rem;
  min-width: 200px;
}
.search-input-nav::placeholder { color: rgba(255,255,255,0.5); }
.search-input-nav:focus {
  background: rgba(255,255,255,0.2);
  color: white;
  box-shadow: none;
  border-color: var(--gold);
}
.search-btn-nav {
  background: var(--saffron);
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  cursor: pointer;
  transition: background var(--transition);
}
.search-btn-nav:hover { background: var(--saffron-dark); }

/* ═══════════════ TOP ANNOUNCEMENT ═══════════════ */
.announcement-bar {
  background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron));
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
  color: white;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════ HERO ═══════════════ */
.hero-section {
  background: linear-gradient(135deg, #3D1A00 0%, #7A3500 40%, #B85C00 70%, #FF6600 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: white;
}

.hero-section::before {
  content: '🪷';
  position: absolute;
  font-size: 300px;
  opacity: 0.05;
  right: -50px;
  top: -50px;
  animation: floatLotus 6s ease-in-out infinite;
}

.hero-section::after {
  content: '🪷';
  position: absolute;
  font-size: 200px;
  opacity: 0.04;
  left: -30px;
  bottom: -30px;
  animation: floatLotus 8s ease-in-out infinite reverse;
}

@keyframes floatLotus {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(10deg); }
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-style: italic;
  letter-spacing: 0.5px;
}

.hero-quote {
  font-size: 0.9rem;
  color: var(--saffron-light);
  font-style: italic;
  margin-top: 20px;
  padding: 12px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.05);
  border-radius: 0 8px 8px 0;
}

/* ═══════════════ CAROUSEL HERO SLIDE ═══════════════ */
.hero-slide {
  background: linear-gradient(135deg, #3D1A00 0%, #7A3500 40%, #B85C00 70%, #FF6600 100%);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: white;
}
.hero-slide-content {
  padding: 60px 0 80px;
  position: relative;
  z-index: 2;
}
.hero-slide-lotus {
  position: absolute;
  font-size: 320px;
  right: -60px;
  top: -80px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.hero-slide-badge {
  display: inline-block;
  background: rgba(255,165,0,0.2);
  border: 1px solid rgba(255,165,0,0.5);
  color: #FFD700;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.hero-slide-img {
  max-height: 360px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(0,0,0,0.6));
  border-radius: 12px;
}
.hero-slide-caption {
  color: #FFE0A0;
  font-size: 0.85rem;
  margin-top: 12px;
  font-style: italic;
}
/* Override title/subtitle/quote sizes inside carousel slides */
.hero-slide .hero-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.hero-slide .hero-subtitle {
  font-size: 0.98rem;
  margin-bottom: 14px;
  line-height: 1.6;
}
.hero-slide .hero-quote {
  font-size: 0.82rem;
  padding: 10px 16px;
  margin-top: 14px;
  line-height: 1.5;
}
/* Carousel arrows — circular semi-transparent */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  margin: 0 20px;
  z-index: 10;
}
/* Carousel dots */
#heroCarousel .carousel-indicators {
  bottom: 18px;
  margin: 0;
  gap: 6px;
}
#heroCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,215,0,0.4);
  border: 2px solid rgba(255,215,0,0.7);
  margin: 0 3px;
  opacity: 1;
  transition: all 0.3s;
  flex-shrink: 0;
}
#heroCarousel .carousel-indicators button.active {
  background-color: #FFD700;
  border-color: #FFD700;
  transform: scale(1.35);
}
@media (max-width: 768px) {
  .hero-slide { min-height: 420px; }
  .hero-slide-content { padding: 50px 0 70px; }
  .hero-slide-lotus { font-size: 200px; opacity: 0.05; }
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn-saffron {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
  color: white;
  border: none;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--shadow);
  font-size: 0.95rem;
}
.btn-saffron:hover {
  background: linear-gradient(135deg, var(--saffron-dark), #991F00);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #CC8F00);
  color: var(--brown);
  border: none;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(255, 180, 0, 0.3);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--brown);
  transform: translateY(-2px);
}

.btn-outline-saffron {
  border: 2px solid var(--saffron);
  color: var(--saffron);
  background: transparent;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-outline-saffron:hover {
  background: var(--saffron);
  color: white;
  transform: translateY(-2px);
}

/* ═══════════════ BOOK CARDS ═══════════════ */
.book-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px var(--shadow-dark);
}

.book-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  aspect-ratio: 3/4;
}

.book-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.book-card:hover .book-card-img-wrap img { transform: scale(1.05); }

.book-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--saffron);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  z-index: 1;
}

.book-card-badge.badge-featured {
  background: linear-gradient(135deg, var(--gold), #CC8F00);
  color: var(--brown);
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.book-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.book-category {
  font-size: 0.7rem;
  color: var(--saffron);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 6px;
}

.book-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 4px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-author {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
}

.book-price-wrap {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.book-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--saffron);
}

.book-price-original {
  font-size: 0.85rem;
  color: #999;
  text-decoration: line-through;
}

.book-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.book-card-actions .btn {
  flex: 1;
  font-size: 0.82rem;
  padding: 7px 12px;
}

/* ═══════════════ SECTION TITLES ═══════════════ */
.section-title {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--saffron), var(--gold));
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--text-muted);
  font-style: italic;
  font-size: 1rem;
}

/* ═══════════════ CATEGORIES ═══════════════ */
.category-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 2px 12px var(--shadow);
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: var(--text);
}

.category-card:hover, .category-card.active {
  border-color: var(--saffron);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
  color: var(--text);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
}

.category-name {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
}

.category-count {
  font-size: 0.75rem;
  color: var(--saffron);
  margin-top: 4px;
}

/* ═══════════════ CART ═══════════════ */
.cart-table {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
}

.cart-table th {
  background: linear-gradient(135deg, var(--brown), var(--brown-light));
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 14px 16px;
  border: none;
}

.cart-table td {
  padding: 16px;
  vertical-align: middle;
  border-color: var(--border);
}

.cart-item-img {
  width: 70px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--border);
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 4px;
}

.qty-control input {
  width: 60px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
}

.order-summary-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 80px;
}

.order-summary-card h5 {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #f5f5f5;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--saffron);
  border-top: 2px solid var(--border);
  border-bottom: none;
  padding-top: 14px;
  margin-top: 4px;
}

/* ═══════════════ CHECKOUT ═══════════════ */
.checkout-section {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 24px;
}

.checkout-section h5 {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 20px;
}

.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--brown);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.payment-option {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 10px;
}

.payment-option:hover, .payment-option.selected {
  border-color: var(--saffron);
  background: rgba(255, 102, 0, 0.04);
}

.payment-option label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.payment-icon { font-size: 1.5rem; }

/* ═══════════════ ORDER SUCCESS ═══════════════ */
.success-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  box-shadow: 0 4px 30px var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 5rem;
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

.order-number {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--saffron);
  letter-spacing: 2px;
  margin: 16px 0;
}

/* ═══════════════ ORDER TRACKING ═══════════════ */
.tracking-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}

.tracking-steps::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 0;
}

.tracking-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border);
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.tracking-step.done .step-dot {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
}

.tracking-step.active .step-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brown);
  box-shadow: 0 0 0 6px rgba(255, 180, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255,180,0,0.2); }
  50%       { box-shadow: 0 0 0 10px rgba(255,180,0,0.1); }
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.tracking-step.done .step-label,
.tracking-step.active .step-label {
  color: var(--brown);
}

/* ═══════════════ PRODUCT DETAIL ═══════════════ */
.product-img-main {
  border-radius: var(--radius);
  box-shadow: 0 8px 30px var(--shadow-dark);
  border: 4px solid var(--border);
  max-height: 480px;
  object-fit: cover;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cream-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  margin-right: 8px;
  margin-bottom: 8px;
  color: var(--brown-light);
}

.product-price-big {
  font-size: 2rem;
  font-weight: 700;
  color: var(--saffron);
}

.product-original-price {
  font-size: 1.1rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

.qty-picker {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.qty-picker button {
  background: var(--cream-dark);
  border: none;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  color: var(--brown);
}

.qty-picker button:hover { background: var(--saffron); color: white; }

.qty-picker input {
  border: none;
  width: 60px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 0;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  color: var(--brown);
  background: white;
}
.qty-picker input:focus { outline: none; }

/* ═══════════════ BREADCRUMBS ═══════════════ */
.breadcrumb-iskcon {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 10px 20px;
  margin-bottom: 24px;
}

.breadcrumb-item a { color: var(--saffron); font-weight: 600; }
.breadcrumb-item.active { color: var(--brown); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ═══════════════ FILTERS ═══════════════ */
.filter-sidebar {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 2px 12px var(--shadow);
  position: sticky;
  top: 80px;
}

.filter-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--brown);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 14px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.filter-option:hover { color: var(--saffron); }

.filter-option input[type="radio"] { accent-color: var(--saffron); }

/* ═══════════════ FLASH ALERTS ═══════════════ */
.alert-iskcon-success {
  background: linear-gradient(135deg, #f0fff4, #d4edda);
  border-left: 4px solid #28a745;
  border-radius: 8px;
  color: #155724;
}

.alert-iskcon-warning {
  background: linear-gradient(135deg, #fffef0, #fff3cd);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: #856404;
}

.alert-iskcon-danger {
  background: linear-gradient(135deg, #fff5f5, #f8d7da);
  border-left: 4px solid #dc3545;
  border-radius: 8px;
  color: #721c24;
}

.alert-iskcon-info {
  background: linear-gradient(135deg, #f0f8ff, #d1ecf1);
  border-left: 4px solid #17a2b8;
  border-radius: 8px;
  color: #0c5460;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer-iskcon {
  background: linear-gradient(135deg, #2C1000 0%, #4A1F00 50%, #2C1000 100%);
  color: #E8C99A;
  padding: 60px 0 0;
  margin-top: 60px;
}

.footer-iskcon h5 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-iskcon a {
  color: #E8C99A;
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-iskcon a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 0;
}

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 16px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom span { color: var(--saffron-light); }

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  margin-right: 8px;
  font-size: 1rem;
  transition: all var(--transition);
}

.social-icons a:hover {
  background: var(--saffron);
  color: white !important;
  transform: translateY(-3px);
}

/* ═══════════════ ADMIN ═══════════════ */
.admin-sidebar {
  background: linear-gradient(180deg, #3D1A00, #6B2D00);
  min-height: 100vh;
  padding: 0;
  width: 250px;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform 0.3s;
}

.admin-sidebar-brand {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.admin-sidebar-brand h5 {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  margin: 0;
  font-size: 1rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  color: #E8C99A;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(255, 102, 0, 0.2);
  color: var(--gold-light);
  border-left-color: var(--saffron);
}

.admin-nav-link .nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }

.admin-main { margin-left: 250px; min-height: 100vh; background: #f8f9fa; }

.admin-header {
  background: white;
  padding: 16px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 99;
}

.admin-header h4 {
  font-family: 'Cinzel', serif;
  color: var(--brown);
  margin: 0;
  font-size: 1.1rem;
}

.admin-content { padding: 28px; }

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-left: 4px solid var(--saffron);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card .stat-icon { font-size: 2rem; margin-bottom: 8px; }
.stat-card .stat-value { font-size: 2rem; font-weight: 700; color: var(--saffron); }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.85rem; }

.admin-table th {
  background: var(--cream-dark);
  color: var(--brown);
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  border: none;
  padding: 12px;
}

.admin-table td { padding: 12px; vertical-align: middle; font-size: 0.9rem; }

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-placed    { background: #fff3cd; color: #856404; }
.status-confirmed { background: #d4edda; color: #155724; }
.status-shipped   { background: #d1ecf1; color: #0c5460; }
.status-delivered { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-pending   { background: #fff3cd; color: #856404; }
.status-paid      { background: #d4edda; color: #155724; }
.status-failed    { background: #f8d7da; color: #721c24; }

/* ═══════════════ MISC ═══════════════ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h4 { color: var(--brown); }

.coupon-input-wrap {
  display: flex;
  gap: 8px;
}

.coupon-input-wrap input {
  border: 2px dashed var(--saffron);
  border-radius: 8px 0 0 8px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.whatsapp-btn {
  background: #25D366;
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all var(--transition);
  border: none;
}
.whatsapp-btn:hover { background: #128C7E; color: white; transform: translateY(-2px); }

/* ═══════════════ PAGINATION ═══════════════ */
.pagination .page-link {
  color: var(--saffron);
  border-color: var(--border);
  padding: 8px 16px;
}

.pagination .page-item.active .page-link {
  background: var(--saffron);
  border-color: var(--saffron);
  color: white;
}

.pagination .page-link:hover {
  background: var(--cream-dark);
  color: var(--saffron-dark);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero-section { padding: 50px 0; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .book-card-actions { flex-direction: column; }
  .tracking-steps { flex-wrap: wrap; gap: 16px; }
  .tracking-steps::before { display: none; }
  .search-input-nav { min-width: 130px; }
  .success-card { padding: 32px 20px; }
}

@media (max-width: 576px) {
  .admin-content { padding: 16px; }
  .checkout-section { padding: 20px; }
}

/* ═══════════════ LOADING SPINNER ═══════════════ */
.spinner-saffron {
  width: 40px;
  height: 40px;
  border: 4px solid var(--cream-dark);
  border-top: 4px solid var(--saffron);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════ TOAST ═══════════════ */
#toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.iskcon-toast {
  background: white;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-left: 4px solid var(--saffron);
  min-width: 280px;
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
