@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.82rem;
  padding: 5px 9px !important;
  border-radius: 8px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  line-height: 1.2;
}

.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);
}

/* Product Card (Stable, No Hover Jump) */
.product-card-app {
  background: #ffffff;
  border: 1px solid var(--swaad-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-img-box {
  position: relative;
  width: 100%;
  padding-top: 75%;
  background: #faf6f0;
  overflow: hidden;
}

.product-img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.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%;
}

.product-card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e1b18 !important;
  text-decoration: none !important;
  line-height: 1.3;
  margin-bottom: 4px;
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--swaad-text-muted);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--swaad-border);
}

.app-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--swaad-maroon);
}

.app-price-strike {
  font-size: 0.82rem;
  color: #9c9288;
  text-decoration: line-through !important;
  margin-left: 4px;
}

.btn-app-add {
  background: var(--swaad-maroon);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 10px;
  padding: 6px 14px;
  border: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-app-add:hover {
  background: var(--swaad-maroon-dark);
  color: #ffffff !important;
}

/* 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: Clean, natural active tab without clunky square borders */
.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: High contrast, vibrant red, white bold centered number */
.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 (Clean elevated white cards) */
.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 (Quantity Pill) */
.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 (Zomato/Swiggy Style) */
.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 (Screenshot Matching UI) */
.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;
}

/* Food & Cake Video Reels Section */
.reels-scroll-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.reels-scroll-container::-webkit-scrollbar {
  display: none;
}

.reel-card-item {
  flex: 0 0 160px;
  width: 160px;
  height: 250px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background-color: #1a0307;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .reel-card-item {
    flex: 0 0 180px;
    width: 180px;
    height: 280px;
  }
}

.reel-card-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(104, 13, 25, 0.25);
}

.reel-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.reel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 40%, rgba(10,2,4,0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  z-index: 2;
}

.reel-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.reel-views-chip {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}

.reel-badge-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95px;
  display: inline-block;
  line-height: 1.2;
}

.reel-play-btn-center {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #680d19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.reel-card-item:hover .reel-play-btn-center {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ffffff;
}

.reel-bottom-info {
  margin-top: auto;
}

.reel-title-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-tag-text {
  color: #fca5a5;
  font-size: 0.68rem;
  font-weight: 600;
}

/* ========================================================
   Modern App Mobile UI Styles (Screenshot Match)
   ======================================================== */

/* Squircle Category Carousel */
.cat-squircle-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cat-squircle-scroll::-webkit-scrollbar {
  display: none;
}

.cat-squircle-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  max-width: 86px;
  padding: 8px 6px;
  background: #ffffff;
  border: 1.5px solid #f1ece4;
  border-radius: 18px;
  text-decoration: none;
  color: #1e1b18;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.cat-squircle-item:hover {
  transform: translateY(-2px);
  border-color: #d97706;
}

.cat-squircle-item.active {
  background: linear-gradient(135deg, #680d19 0%, #4b0710 100%);
  border-color: #680d19;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(104, 13, 25, 0.28);
}

.cat-squircle-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff8ee;
}

.cat-squircle-item.active .cat-squircle-icon {
  background: rgba(255, 255, 255, 0.18);
}

.cat-squircle-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-squircle-icon i {
  font-size: 1.35rem;
  color: #680d19;
}

.cat-squircle-item.active .cat-squircle-icon i {
  color: #ffffff;
}

.cat-squircle-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-squircle-item.active .cat-squircle-name {
  color: #ffffff;
}

/* Filter Chips Bar */
.filter-chips-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-chips-scroll::-webkit-scrollbar {
  display: none;
}

.filter-pill-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1.5px solid #e7dfd5;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #4b0710;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filter-pill-btn:hover, .filter-pill-btn.active {
  background: #fff8ee;
  border-color: #d97706;
  color: #92400e;
}

/* Delivered with Love Hero Banner */
.hero-love-banner {
  background: linear-gradient(135deg, #fffaf5 0%, #fff1f2 100%);
  border: 1.5px solid #fed7aa;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 18px rgba(104, 13, 25, 0.05);
}

.love-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
  letter-spacing: 0.4px;
}

.love-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  color: #1e1b18;
  font-size: 1.55rem;
  line-height: 1.2;
}

.love-title span.love-red {
  color: #dc2626;
}

.love-btn {
  background: linear-gradient(135deg, #680d19 0%, #991b1b 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 18px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 12px rgba(104, 13, 25, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.love-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(104, 13, 25, 0.4);
}

.hero-love-img-wrap {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hero-love-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Popular Near You Cards */
.popular-dish-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 14px 2px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.popular-dish-scroll::-webkit-scrollbar {
  display: none;
}

.popular-dish-card {
  flex: 0 0 175px;
  width: 175px;
  background: #ffffff;
  border: 1.5px solid #eee7dd;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .popular-dish-card {
    flex: 0 0 205px;
    width: 205px;
  }
}

.popular-dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(104, 13, 25, 0.08);
}

.popular-dish-img-box {
  position: relative;
  width: 100%;
  height: 130px;
  background: #fdf2f4;
  overflow: hidden;
}

.popular-dish-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.popular-dish-card:hover .popular-dish-img-box img {
  transform: scale(1.05);
}

.badge-flat-off {
  background: #16a34a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.badge-rating-green {
  background: #15803d;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.badge-time-eta {
  color: #6b635b;
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Modal Stacking & Backdrop Fix */
.modal {
  z-index: 1060 !important;
}
.modal-backdrop {
  z-index: 1050 !important;
}
.modal-dialog {
  z-index: 1065 !important;
  position: relative !important;
}
.modal-content {
  pointer-events: auto !important;
}

/* Menu Page View More Button & Animation */
.btn-menu-view-more {
  background: #680d19 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.3px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 14px rgba(104, 13, 25, 0.25) !important;
}
.btn-menu-view-more:hover {
  background: #4b0710 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(104, 13, 25, 0.35) !important;
}
.btn-menu-view-more:active {
  transform: translateY(0) !important;
}
.menu-fade-in {
  animation: menuFadeInUp 0.35s ease-out forwards;
}
@keyframes menuFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
