@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --swaad-maroon: #680d19;
  --swaad-maroon-dark: #4b0710;
  --swaad-maroon-light: #fef0f2;
  --swaad-gold: #d97706;
  --swaad-gold-light: #fef8ec;
  --swaad-cream-bg: #ffffff;
  --swaad-card-bg: #ffffff;
  --swaad-border: #eee7dd;
  --swaad-text-dark: #1e1b18;
  --swaad-text-muted: #6b635b;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none !important;
  color: inherit;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: var(--swaad-text-dark);
  margin: 0;
  padding: 0;
  padding-bottom: 75px;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6, .brand-font, .font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Top Notification Banner */
.top-notice-bar {
  background: linear-gradient(90deg, #520812 0%, #680d19 50%, #520812 100%);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 6px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notice-title-text {
  font-size: 0.8rem;
  letter-spacing: 0.2px;
}

.notice-track-link {
  color: #fef8ec !important;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 576px) {
  .top-notice-bar {
    font-size: 0.72rem;
    padding: 4px 0;
  }
  .notice-title-text {
    font-size: 0.72rem;
    max-width: 70%;
  }
  .notice-track-link {
    font-size: 0.72rem;
    padding: 1px 6px;
  }
}

/* App Header */
.app-header {
  background: #ffffff;
  border-bottom: 1px solid var(--swaad-border);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 38px;
    max-width: 95px;
  }
}

/* Branch / Location Picker */
.location-selector-box {
  background: #fff8ee;
  border: 1.5px solid #f3d7aa;
  border-radius: 50px;
  padding: 4px 12px 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  max-width: 210px;
}

.location-icon-badge {
  background: var(--swaad-maroon);
  color: #ffffff;
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.location-text-wrap {
  min-width: 0;
}

.location-label {
  font-size: 0.62rem;
  color: #9c6c24;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.4px;
}

.location-branch-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e1b18;
  line-height: 1.15;
}

@media (max-width: 576px) {
  .location-selector-box {
    padding: 3px 8px 3px 4px;
    gap: 5px;
    max-width: 160px;
  }
  .location-icon-badge {
    width: 20px;
    height: 20px;
    min-width: 20px;
    font-size: 0.68rem;
  }
  .location-label {
    font-size: 0.58rem;
  }
  .location-branch-name {
    font-size: 0.75rem;
  }
}

/* Mobile Header Cart Icon */
.mobile-header-cart {
  background: var(--swaad-maroon);
  color: #ffffff !important;
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(104, 13, 25, 0.25);
}

.mobile-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ffc107;
  color: #140508;
  font-size: 0.65rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
}

/* Desktop Navigation Links (No blue underline) */
.nav-link-custom {
  color: #2b2520 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px !important;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-block;
}

.nav-link-custom:hover, .nav-link-custom.active {
  color: var(--swaad-maroon) !important;
  background: var(--swaad-maroon-light);
}

/* App Search Bar */
.app-search-input {
  background: #f4f0eb;
  border: 1px solid var(--swaad-border);
  border-radius: 12px;
  padding: 9px 16px 9px 38px;
  font-size: 0.85rem;
  font-weight: 500;
  width: 100%;
}

.app-search-input:focus {
  background: #ffffff;
  border-color: var(--swaad-maroon);
  outline: none;
  box-shadow: 0 0 0 3px rgba(104, 13, 25, 0.08);
}

.search-icon-wrap {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c8276;
  font-size: 0.9rem;
}

/* Category Avatar Carousel (Stable, No Hover Jump) */
.category-avatar-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 2px;
  scrollbar-width: none;
}

.category-avatar-scroll::-webkit-scrollbar {
  display: none;
}

.cat-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none !important;
  color: var(--swaad-text-dark) !important;
  width: 80px;
  min-width: 80px;
  text-align: center;
}

.cat-avatar-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--swaad-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.cat-avatar-item.active .cat-avatar-circle {
  border-color: var(--swaad-maroon);
  background: var(--swaad-maroon);
  color: #ffffff;
}

.cat-avatar-name {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  color: #3b322a !important;
}

.cat-avatar-item.active .cat-avatar-name {
  color: var(--swaad-maroon) !important;
}

/* App Hero Banner */
.app-hero-banner {
  background: linear-gradient(135deg, #680d19 0%, #4b0710 100%);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(104, 13, 25, 0.15);
}

/* Banner Carousel Dots Outside */
.banner-carousel-wrapper {
  position: relative;
}

.carousel-indicators-outside {
  position: static !important;
  margin: 12px 0 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
}

.carousel-indicators-outside [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: #d1c5bc !important;
  border: none !important;
  opacity: 0.6 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.carousel-indicators-outside .active {
  width: 22px !important;
  border-radius: 10px !important;
  background-color: var(--swaad-maroon) !important;
  opacity: 1 !important;
}

/* Product Card App enhancements */
.product-card-app {
  background: #ffffff;
  border: 1px solid #eee7df;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.product-card-app:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(104, 13, 25, 0.08);
  border-color: #e2d6c9;
}

.product-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fdfaf6;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card-app:hover .product-img-box img {
  transform: scale(1.04);
}

.veg-symbol {
  width: 16px;
  height: 16px;
  border: 2px solid #2e7d32;
  border-radius: 3px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veg-symbol .dot {
  width: 6px;
  height: 6px;
  background: #2e7d32;
  border-radius: 50%;
}

/* Modern App Discount Badge */
.app-discount-badge {
  background: linear-gradient(135deg, #108e48, #0b6d36) !important;
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  padding: 3px 7px !important;
  border-radius: 6px !important;
  letter-spacing: 0.3px;
}

/* Rating Badge on Card Image */
.app-rating-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: #1e1b18;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.product-card-content {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e1b18 !important;
  text-decoration: none !important;
  line-height: 1.25;
  margin-bottom: 6px;
}

.product-card-title:hover {
  color: var(--swaad-maroon) !important;
}

/* 2-line Clamped Title */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.3em;
  max-height: 2.3em;
}

.namaste-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #ffffff;
  border: 1.5px solid #f6deb6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(104, 13, 25, 0.08);
}

.price-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.product-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed var(--swaad-border);
}

.app-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--swaad-maroon);
  line-height: 1;
}

.app-price-strike {
  font-size: 0.72rem;
  color: #9c9288;
  text-decoration: line-through !important;
  margin-top: 2px;
}

.btn-app-add {
  background: var(--swaad-maroon);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.76rem;
  border-radius: 8px;
  padding: 6px 11px;
  border: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(104, 13, 25, 0.2);
  transition: all 0.2s ease;
}

.btn-app-add:hover {
  background: var(--swaad-maroon-dark);
  color: #ffffff !important;
  transform: scale(1.03);
}

/* Modern Outlet / Restaurant Kitchen Card (Swiggy / Zomato Style) */
.outlet-card-app {
  background: #ffffff;
  border: 1.5px solid #eee7df;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  height: 100%;
}

.outlet-card-app:hover {
  border-color: var(--swaad-maroon);
  box-shadow: 0 8px 22px rgba(104, 13, 25, 0.08);
}

.outlet-card-app.selected {
  border-color: #2e7d32;
  background: #fbfdfb;
}

.outlet-img-container {
  height: 100%;
  min-height: 135px;
  background: #f5efe6;
  overflow: hidden;
}

.outlet-thumb-img {
  width: 100%;
  height: 100%;
  min-height: 135px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.outlet-card-app:hover .outlet-thumb-img {
  transform: scale(1.05);
}

/* Custom Photo Cake Banner */
.custom-cake-card {
  background: #fdf5e8;
  border: 1px solid #f7dfb8;
  border-radius: 18px;
  padding: 20px;
}

/* Fixed Mobile App Bottom Bar (Frosted Glassmorphism) */
.mobile-app-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(225, 215, 205, 0.7);
  padding: 6px 10px 8px 10px;
  z-index: 1040;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 992px) {
  .mobile-app-bottom-bar {
    display: none !important;
  }
}

.app-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #7c726a !important;
  font-size: 0.72rem;
  font-weight: 600;
  gap: 2px;
  position: relative;
  padding: 4px 10px;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-width: 48px;
}

.tab-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 26px;
}

.app-nav-tab i {
  font-size: 1.25rem;
  line-height: 1;
  color: #7c726a;
  transition: color 0.2s ease, transform 0.2s ease;
}

.app-nav-tab .tab-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7c726a;
  line-height: 1;
  transition: color 0.2s ease;
}

/* Active State */
.app-nav-tab.active {
  color: #680d19 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.app-nav-tab.active i {
  color: #680d19 !important;
  transform: translateY(-2px) scale(1.08);
}

.app-nav-tab.active .tab-label {
  color: #680d19 !important;
  font-weight: 800;
}

.app-nav-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  width: 16px;
  height: 3px;
  background: #680d19;
  border-radius: 4px;
}

/* Cart Badge */
.app-cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #d90429 !important;
  color: #ffffff !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  font-family: 'Outfit', sans-serif !important;
  min-width: 18px;
  height: 18px;
  line-height: 1;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 2px 6px rgba(217, 4, 41, 0.45);
  z-index: 10;
  padding: 0 2px;
}

.mobile-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ffc107;
  color: #140508;
  font-size: 0.68rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  min-width: 18px;
  height: 18px;
  line-height: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  padding: 0 2px;
}

/* High-Contrast Modern Rajasthani Bakery Footer */
.bakery-footer {
  background: linear-gradient(180deg, #2c060b 0%, #1c0307 100%);
  color: #f5ece4;
  padding: 55px 0 25px;
  margin-top: 50px;
  border-top: 2px solid #851221;
}

.footer-logo-img {
  height: 62px;
  filter: brightness(1.1);
}

.footer-about-text {
  color: #f0e4d8;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-title {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.footer-title-dot {
  width: 7px;
  height: 7px;
  background: #f59e0b;
  border-radius: 50%;
  display: inline-block;
}

.footer-links-list li {
  margin-bottom: 9px;
}

.footer-links-list a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.footer-links-list a i {
  font-size: 0.68rem;
  color: #f59e0b;
  margin-right: 6px;
}

.footer-links-list a:hover {
  color: #fbbf24 !important;
  transform: translateX(3px);
}

.footer-branch-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  padding: 12px 14px;
}

.branch-card-address {
  color: #e8ded5;
  font-size: 0.82rem;
  line-height: 1.4;
}

.branch-card-phone {
  color: #fbbf24 !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.branch-card-phone:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.footer-whatsapp-box {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.footer-whatsapp-text {
  color: #f5ede6;
  font-size: 0.85rem;
  line-height: 1.5;
}

.btn-footer-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
  border: none;
  font-size: 0.92rem;
  letter-spacing: 0.2px;
}

.btn-footer-whatsapp:hover {
  background-color: #1ebd5a;
  color: #ffffff !important;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copyright-text {
  color: #ded5cb;
  font-size: 0.84rem;
}

/* Primary Bakery Buttons */
.btn-bakery {
  background: linear-gradient(135deg, #680d19 0%, #4b0710 100%);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 24px;
  border: none;
  box-shadow: 0 4px 14px rgba(104, 13, 25, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
}

.btn-bakery:hover {
  background: linear-gradient(135deg, #7c1120 0%, #580a13 100%);
  color: #ffffff !important;
  opacity: 0.95;
}

.btn-bakery-outline {
  background: transparent;
  color: #680d19 !important;
  border: 1.5px solid #680d19;
  font-weight: 700;
  border-radius: 12px;
  padding: 10px 20px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-bakery-outline:hover {
  background: #fef0f2;
}

/* App Canvas & Layout Wrapper for Cart & Checkout */
.cart-page-wrapper, .checkout-page-wrapper {
  background-color: #f7f5f2;
  min-height: 85vh;
  padding-bottom: 120px;
}

/* App Surface Card */
.app-surface-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #eee7de;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);
  padding: 18px 20px;
  margin-bottom: 14px;
}

@media (max-width: 576px) {
  .app-surface-card {
    padding: 15px 16px;
    border-radius: 18px;
    margin-bottom: 12px;
  }
}

/* Modern App Stepper */
.cart-stepper, .swaad-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #f2cfd4;
  border-radius: 24px;
  background: #fff8f9;
  padding: 1px 4px;
  box-shadow: 0 2px 6px rgba(104, 13, 25, 0.05);
}

.cart-stepper-btn, .swaad-stepper-btn {
  background: transparent;
  border: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #680d19;
  font-weight: 900;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: all 0.15s ease;
}

.cart-stepper-btn:hover, .cart-stepper-btn:active {
  background: rgba(104, 13, 25, 0.12);
  transform: scale(0.95);
}

.cart-stepper-val, .swaad-stepper-val {
  width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: #680d19;
  border: none;
  background: transparent;
  font-family: 'Outfit', sans-serif;
}

/* Delivery Progress Meter */
.free-delivery-banner, .delivery-incentive-box {
  background: linear-gradient(135deg, #fffbf2 0%, #fef3f4 100%);
  border: 1px solid #f9dfb8;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.04);
}

.free-delivery-progress, .delivery-meter-track {
  height: 6px;
  background-color: #f2e6d6;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.free-delivery-bar, .delivery-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, #d97706 0%, #16a34a 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
}

/* Checkout Radio Selection Cards */
.order-type-card {
  border: 2px solid #e8e2d8;
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.order-type-card:hover {
  border-color: #f4c2c8;
}

.order-type-card.active, .order-type-card:has(input:checked) {
  border-color: #680d19;
  background-color: #fff8f9;
  box-shadow: 0 4px 12px rgba(104, 13, 25, 0.06);
}

.payment-method-card {
  border: 1.5px solid #eee5dc;
  border-radius: 16px;
  padding: 15px 18px;
  cursor: pointer;
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 0.2s ease;
}

.payment-method-card:hover {
  border-color: #f4c2c8;
}

.payment-method-card.active, .payment-method-card:has(input:checked) {
  border-color: #680d19;
  background-color: #fff8f9;
  box-shadow: 0 4px 14px rgba(104, 13, 25, 0.06);
}

/* Form Input Styling */
.form-control-app {
  border: 1.5px solid #e2d8cd;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  background-color: #ffffff;
}

.form-control-app:focus {
  border-color: #680d19;
  box-shadow: 0 0 0 3px rgba(104, 13, 25, 0.08);
  outline: none;
  background-color: #ffffff;
}

/* Floating / Sticky Mobile Bottom Checkout Bar */
.mobile-sticky-checkout {
  position: fixed;
  bottom: 58px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(104, 13, 25, 0.12);
  padding: 10px 16px;
  z-index: 1030;
  box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.07);
}

.btn-proceed-pill {
  background: linear-gradient(135deg, #680d19 0%, #4b0710 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.96rem;
  border-radius: 50px;
  padding: 11px 22px;
  border: none;
  box-shadow: 0 4px 14px rgba(104, 13, 25, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-proceed-pill:active {
  transform: scale(0.98);
  opacity: 0.95;
}

/* Spacing Helpers */
.mb-2\.5, .mb-2-5 { margin-bottom: 0.75rem !important; }
.p-2\.5, .p-2-5 { padding: 0.75rem !important; }
.p-3\.5, .p-3-5 { padding: 1.15rem !important; }
.gap-1\.5, .gap-1-5 { gap: 0.5rem !important; }
.gap-2\.5, .gap-2-5 { gap: 0.75rem !important; }

/* Trust Badges in Cart / Checkout */
.checkout-trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5c5247;
}

.checkout-trust-badge i {
  color: #2e7d32;
  font-size: 1rem;
}

/* Maroon Theme Helpers & Auth Styling */
.text-maroon {
  color: #680d19 !important;
}

.bg-maroon {
  background-color: #680d19 !important;
}

.btn-maroon {
  background-color: #680d19 !important;
  color: #ffffff !important;
  border: 1px solid #680d19 !important;
}

.btn-maroon:hover {
  background-color: #520812 !important;
  color: #ffffff !important;
  border-color: #520812 !important;
}

.btn-outline-maroon {
  background-color: transparent !important;
  color: #680d19 !important;
  border: 1.5px solid #680d19 !important;
}

.btn-outline-maroon:hover {
  background-color: #680d19 !important;
  color: #ffffff !important;
}

.auth-page-wrapper {
  background-color: #ffffff;
  min-height: 70vh;
}

/* Shop by Categories Square Card Grid */
.categories-page-wrapper {
  background-color: #ffffff;
  min-height: 75vh;
}

.category-square-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card-inner {
  border: 1px solid #ede4db !important;
  background-color: #ffffff !important;
  border-radius: 16px !important;
  padding: 22px 14px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.category-square-card:hover .category-card-inner {
  border-color: #680d19 !important;
  box-shadow: 0 8px 24px rgba(104, 13, 25, 0.08) !important;
  transform: translateY(-2px);
}

.category-thumb-wrapper {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #fcf8f5;
  border: 1px solid #f0e6dc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card-title {
  color: #1e1b18;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.3;
  margin-top: 6px;
}

.category-square-card:hover .category-card-title {
  color: #680d19;
}

.category-card-count {
  font-size: 0.75rem;
  color: #8c827a !important;
  font-weight: 500;
}

/* =========================================================
   MODERN APP PRODUCT DETAIL PAGE STYLES
   ========================================================= */
.product-detail-hero {
  background-color: #faf7f2;
}

.product-gallery-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ede4db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-main-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.product-gallery-card:hover .product-main-img {
  transform: scale(1.02);
}

.badge-float-discount {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #e63946;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(230, 57, 70, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.badge-float-veg {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 10px;
  border-radius: 30px;
  border: 1px solid #c8e6c9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.badge-float-rating {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #ffc107;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  z-index: 2;
}

.badge-float-rating span {
  color: #ffffff;
  font-weight: 500;
}

/* Trust Guarantee Badges */
.trust-badge-card {
  background: #ffffff;
  border: 1px solid #eee5dc;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  transition: transform 0.2s ease;
  height: 100%;
}

.trust-badge-card:hover {
  transform: translateY(-2px);
  border-color: #680d19;
}

.trust-badge-icon {
  font-size: 1.25rem;
  margin-bottom: 3px;
  display: block;
}

.trust-badge-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2b2520;
  display: block;
  line-height: 1.2;
}

.trust-badge-subtitle {
  font-size: 0.68rem;
  color: #8c827a;
  display: block;
  line-height: 1.1;
  margin-top: 2px;
}

/* Product Info Card */
.product-info-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #ede4db;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-detail-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #1e1b18;
  line-height: 1.3;
}

.product-detail-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #680d19;
  line-height: 1;
}

.product-detail-strike {
  font-size: 1.05rem;
  color: #9c9288;
  text-decoration: line-through;
  font-weight: 500;
}

.badge-saving-tag {
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid #c8e6c9;
}

/* Weight / Size Selector App Cards */
.weight-card-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.weight-card-item {
  position: relative;
  border: 1.5px solid #e5dbcf;
  border-radius: 14px;
  padding: 10px 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.weight-card-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weight-card-item:hover {
  border-color: #680d19;
  background: #fffbfa;
}

.weight-card-item.selected,
.weight-card-item:has(input[type="radio"]:checked) {
  border-color: #680d19;
  background: #fff5f5;
  box-shadow: 0 4px 12px rgba(104, 13, 25, 0.1);
}

.weight-card-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1e1b18;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.weight-card-item.selected .weight-card-title,
.weight-card-item:has(input[type="radio"]:checked) .weight-card-title {
  color: #680d19;
}

.weight-card-check {
  display: none;
  color: #680d19;
  font-size: 0.85rem;
}

.weight-card-item.selected .weight-card-check,
.weight-card-item:has(input[type="radio"]:checked) .weight-card-check {
  display: inline-block;
}

.weight-card-serves {
  font-size: 0.7rem;
  color: #8c827a;
  margin-top: 2px;
}

.weight-card-price-row {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.weight-card-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #680d19;
}

.weight-card-strike {
  font-size: 0.72rem;
  color: #9c9288;
  text-decoration: line-through;
}

/* Custom Message & Photo Upload Cards */
.custom-card-box {
  background: #fbf9f6;
  border: 1px solid #ede4db;
  border-radius: 14px;
  padding: 14px;
}

.preset-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.preset-chip {
  background: #ffffff;
  border: 1px solid #e5dbcf;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #594d42;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-chip:hover {
  background: #680d19;
  color: #ffffff;
  border-color: #680d19;
}

/* Addon Celebration Items */
.addon-card-item {
  border: 1px solid #ede4db;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.addon-card-item:hover {
  border-color: #680d19;
}

.addon-card-item.selected,
.addon-card-item:has(input[type="checkbox"]:checked) {
  border-color: #680d19;
  background: #fff8f8;
}

/* Stepper & Primary Actions */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #dcd1c4;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  height: 46px;
}

.qty-btn {
  width: 38px;
  height: 100%;
  border: none;
  background: #fbf9f6;
  color: #680d19;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: #eee5dc;
}

.qty-input {
  width: 44px;
  height: 100%;
  border: none;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1e1b18;
  outline: none;
}

.btn-add-main {
  background: linear-gradient(135deg, #680d19 0%, #851221 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  padding: 12px 24px;
  box-shadow: 0 4px 15px rgba(104, 13, 25, 0.25);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-main:hover {
  background: linear-gradient(135deg, #520812 0%, #680d19 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(104, 13, 25, 0.35);
}

.btn-whatsapp-order {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-whatsapp-order:hover {
  background: #1eb956;
  transform: translateY(-2px);
}

/* Mobile Sticky Action Bar */
.mobile-product-sticky-bar {
  display: none;
}

@media (max-width: 991.98px) {
  .product-info-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .product-detail-title {
    font-size: 1.25rem;
  }

  .mobile-product-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 60px; /* Above mobile bottom nav bar */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ede4db;
    padding: 10px 16px;
    z-index: 1020;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.06);
  }
}

/* =========================================================
   APP-STYLE HOME PAGE ENHANCEMENTS (SWIGGY / BAKINGO / ZEPTO)
   ========================================================= */

/* Glowing Stories / Reels Ring */
.story-ring-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #d97706, #680d19, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(104, 13, 25, 0.12);
  transition: transform 0.2s ease;
}

.story-ring-circle:hover {
  transform: scale(1.06);
}

.story-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  border: 2px solid #ffffff;
}

/* Flash Coupons / Offer Strip */
.coupons-scroll-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  scrollbar-width: none;
}

.coupons-scroll-container::-webkit-scrollbar {
  display: none;
}

/* =========================================================
   APP-STYLE HOME PAGE ENHANCEMENTS (SWIGGY / BAKINGO / ZEPTO)
   ========================================================= */

/* Glowing Stories / Reels Ring */
.story-ring-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #d97706, #680d19, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(104, 13, 25, 0.12);
  transition: transform 0.2s ease;
}

.story-ring-circle:hover {
  transform: scale(1.06);
}

.story-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  border: 2px solid #ffffff;
}

/* Flash Coupons / Offer Strip (Fixed Clean Mobile Layout) */
.coupons-scroll-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.coupons-scroll-container::-webkit-scrollbar {
  display: none;
}

.coupon-voucher-card {
  flex: 0 0 260px;
  width: 260px;
  max-width: 260px;
  scroll-snap-align: start;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf8 100%);
  border: 1.5px dashed #f0cc86;
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.06);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.coupon-voucher-card:hover {
  transform: translateY(-2px);
  border-color: #d97706;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.14);
}

.coupon-voucher-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: #680d19;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.coupon-text-body {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.coupon-title-text {
  font-size: 0.95rem;
  line-height: 1.2;
}

.coupon-copy-badge {
  font-size: 0.65rem;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  border: 1px solid #fde68a;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.coupon-desc-text {
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Occasion & Party Quick Tiles */
.occasion-card {
  background: #ffffff;
  border: 1px solid #eee7dd;
  border-radius: 16px;
  padding: 14px;
  transition: all 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.occasion-card:hover {
  border-color: #680d19;
  box-shadow: 0 8px 20px rgba(104, 13, 25, 0.08);
  transform: translateY(-2px);
}

.occasion-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fef0f2;
  color: #680d19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* App Trust Features Strip */
.trust-strip-box {
  background: #ffffff;
  border: 1px solid #ede4db;
  border-radius: 20px;
  padding: 20px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.trust-item-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-circle-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: #fdf2f4;
  color: #680d19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Reviews / Testimonials Cards (Mobile Horizontal Slider / Desktop Grid) */
.reviews-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reviews-scroll-container::-webkit-scrollbar {
  display: none;
}

.review-slide-card {
  flex: 0 0 85%;
  max-width: 320px;
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .reviews-scroll-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
    gap: 16px;
  }
  .review-slide-card {
    flex: initial;
    max-width: none;
  }
}

.review-card-app {
  background: #ffffff;
  border: 1px solid #eee7dd;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.review-text-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.reviewer-avatar-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* PWA / Bulk Banner */
.pwa-download-banner {
  background: linear-gradient(135deg, #4b0710 0%, #680d19 60%, #851222 100%);
  border-radius: 22px;
  padding: 24px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(104, 13, 25, 0.2);
  position: relative;
  overflow: hidden;
}

.pwa-download-banner::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

/* Ultra-Fast Content Rendering on Scroll */
.lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: 320px;
}

