/* =====================================================================
   BUDHA HALWAI JALEBIWALE - CUSTOMER STOREFRONT THEME (मराठी)
   Aesthetic: Warm, traditional Indian sweet-shop with rich saffron,
   jalebi gold, roasted mawa maroon, and clean modern card UI.
   ===================================================================== */

:root {
  --halwai-saffron: #ea580c;
  --halwai-amber: #c2410c;
  --halwai-mawa: #7c2d12;
  --halwai-dark: #271406;
  --halwai-gold: #f59e0b;
  --halwai-cream: #fffdf7;
  --halwai-cream-soft: #fffbeb;
  --halwai-border: #fde68a;
  --halwai-accent: #dc2626;
  --halwai-text: #1f2937;
  --halwai-text-muted: #6b7280;
  --font-marathi: 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Mukta', Georgia, serif;
}

body {
  font-family: var(--font-marathi);
  background-color: var(--halwai-cream);
  color: var(--halwai-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .font-serif, .store-brand-title {
  font-family: var(--font-marathi);
  font-weight: 700;
  line-height: 1.35;
}

/* Top Announcement Bar */
.top-notice-bar {
  background: linear-gradient(90deg, #78350f 0%, #b45309 50%, #78350f 100%);
  color: #fef3c7;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 0.45rem 1rem;
}

/* Main Navigation */
.halwai-navbar {
  background: #ffffff;
  border-bottom: 2px solid #fef3c7;
  box-shadow: 0 4px 20px rgba(120, 53, 15, 0.06);
  padding: 0.75rem 0;
}

.brand-badge-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--halwai-mawa);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--halwai-saffron);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

/* Hero Section */
.hero-halwai {
  background: linear-gradient(135deg, #2a1608 0%, #451a03 50%, #78350f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem 0;
}

.hero-halwai::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title span {
  color: #fde047;
}

.hero-lead {
  color: #fed7aa;
  font-size: 1.15rem;
  font-weight: 400;
}

.hero-badge {
  background: rgba(254, 240, 138, 0.15);
  border: 1px solid rgba(254, 240, 138, 0.3);
  color: #fef08a;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Category Filter Bar */
.category-pill-bar {
  background: #ffffff;
  border-radius: 50px;
  padding: 0.4rem;
  display: inline-flex;
  gap: 0.35rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #fef3c7;
  overflow-x: auto;
  max-width: 100%;
}

.cat-pill {
  color: var(--halwai-mawa);
  text-decoration: none;
  padding: 0.5rem 1.25rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-pill:hover {
  background: #fffbeb;
  color: var(--halwai-amber);
}

.cat-pill.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(180, 83, 9, 0.25);
}

/* Sweet Item Cards */
.sweet-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #fef3c7;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(120, 53, 15, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sweet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.1);
  border-color: #fde68a;
}

.sweet-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: #fffbeb;
  overflow: hidden;
}

.sweet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.sweet-unit-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--halwai-mawa);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sweet-stock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

.sweet-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sweet-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--halwai-dark);
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.sweet-card-desc {
  font-size: 0.85rem;
  color: var(--halwai-text-muted);
  line-height: 1.45;
  margin-bottom: 1rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sweet-price-box {
  margin-bottom: 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.sweet-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--halwai-amber);
}

.sweet-unit-text {
  font-size: 0.82rem;
  color: var(--halwai-text-muted);
}

/* Quantity Stepper Control */
.qty-stepper {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  height: 38px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--halwai-mawa);
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: #fef3c7;
  color: var(--halwai-amber);
}

.qty-input {
  width: 58px;
  border: none;
  background: transparent;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--halwai-dark);
  padding: 0;
}

.qty-input:focus {
  outline: none;
}

/* Buttons */
.btn-halwai-primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  color: #ffffff;
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.25);
}

.btn-halwai-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #b45309, #92400e);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(180, 83, 9, 0.35);
}

.btn-halwai-outline {
  background: transparent;
  color: var(--halwai-amber);
  border: 1.5px solid var(--halwai-amber);
  font-weight: 600;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  transition: all 0.2s ease;
}

.btn-halwai-outline:hover {
  background: var(--halwai-amber);
  color: #fff;
}

/* Floating Cart Badge */
.cart-badge-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--halwai-accent);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* Delivery Progress Banner */
.delivery-notice-box {
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  color: #92400e;
  font-size: 0.9rem;
}

/* Order Progress Stepper */
.order-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
}

.order-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.order-step-item {
  position: relative;
  z-index: 2;
  text-align: center;
}

.order-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem auto;
  font-weight: bold;
  font-size: 0.9rem;
  color: #64748b;
}

.order-step-item.active .order-step-icon {
  border-color: #d97706;
  background: #d97706;
  color: #ffffff;
}

.order-step-item.completed .order-step-icon {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

/* Footer */
.halwai-footer {
  background: #1c1917;
  color: #d6d3d1;
  border-top: 4px solid #b45309;
  padding: 3.5rem 0 1.5rem 0;
  margin-top: auto;
}

.halwai-footer a {
  color: #a8a29e;
  text-decoration: none;
  transition: color 0.2s;
}

.halwai-footer a:hover {
  color: #f59e0b;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .sweet-img-wrapper {
    height: 175px;
  }
}
