.hero-banner {
  border-radius: 24px;
  padding: 60px;
  height: 100%; /* take full height of parent */
}

.offer-card {
  flex: 1; /* let both cards share available space */
}

.hero-banner h1 {
  font-weight: 700;
  color: #0a0a3c;
  font-size: 2.5rem;
}

.hero-banner p {
  color: #555;
  font-size: 18px;
  margin-bottom: 25px;
}

/* Buttons */
.btn-shop {
  background-color: #101248; /* dark navy */
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  border-radius: 50px;

  width: 180px;
  height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-shop:hover {
  background-color: #1c1f5a; /* hover effect */
  color: #fff;
}

/* Reusable circle icon */
.icon-circle {
  background-color: #fff;
  color: #101248;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-download {
  font-weight: 600;
  color: #0a0a3c;
  margin-left: 15px;
}

/* Right Image Card */
.mini-offer {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-width: 200px;
}

.mini-offer img {
  width: 100%;
  border-radius: 20px;
}

.mini-offer .offer-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid #fff !important; /* black border */
}

.mini-offer .icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  color: #fff;
}

/* =========================
   ADD YOUR CHANGES BELOW
   ========================= */

/* ---------- Mobile & small screens ---------- */
@media (max-width: 575.98px) {
  /* Let the banner size naturally; avoid tall/awkward 100% heights */
  .hero-banner {
    height: auto !important;
    min-height: auto !important;
    padding: 24px;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Tighter typography on phones */
  .hero-banner h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  .hero-banner p {
    font-size: 16px;
    margin-bottom: 14px;
  }

  /* CTA row: unpin from bottom, stack full-width */
  .hero-banner .d-flex.position-absolute.bottom-0.mb-5.mt-4 {
    position: static !important;
    margin: 12px 0 0 0 !important;
    gap: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .btn-shop {
    width: 100%;
    height: 48px;
    justify-content: center;
  }
  .btn-download {
    margin-left: 0;
    justify-content: center;
    padding: 10px 0;
  }

  /* Mini-offer goes below content to prevent overlap */
  .mini-offer {
    position: static !important;
    margin: 8px auto 0;
    max-width: 160px;
  }
  .mini-offer .offer-btn {
    position: static;
    transform: none;
    display: inline-flex;
    margin-top: 10px;
    min-width: 140px;
    height: 36px;
  }

  /* Right cards: auto height to avoid cropping on small screens */
  .offer-card {
    height: auto !important;
    min-height: 140px;
  }

  /* Slightly tighter gutters on small screens */
  .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

/* ---------- Small tablets (optional polish) ---------- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-banner {
    padding: 28px;
  }
  .offer-card {
    min-height: 160px;
  }
}

/* ---------- WEB VIEW (Desktop & large tablets) ---------- */
/* Explicitly keep/define desktop behavior so nothing changes visually */
@media (min-width: 992px) {
  /* Keep your original look but ensure a reliable visual height */
  .hero-banner {
    /* Use clamp to keep banner elegant across viewports while
       preserving your existing 60px padding and overall feel */
    min-height: clamp(420px, 48vh, 560px);
    height: auto; /* avoid forcing 100% of parent */
    padding: 60px; /* keep your web view padding */
    border-radius: 24px; /* keep your web view rounding */
    background-position: center;
    background-size: cover;
  }

  /* Restore CTA row to bottom on desktop exactly like your web view */
  .hero-banner .d-flex.position-absolute.bottom-0.mb-5.mt-4 {
    position: absolute !important;
    bottom: 0;
    left: 0;
    right: auto;
    margin-bottom: 2rem !important;
    flex-direction: row;
    gap: 12px;
    align-items: center;
  }

  /* Keep desktop button dimensions */
  .btn-shop {
    width: 180px;
    height: 45px;
  }
  .btn-download {
    margin-left: 15px;
  }

  /* Right cards: keep fixed height exactly as your design */
  .offer-card {
    height: 200px !important;
  }
}

/* ---------- Typography scaling safeguard ---------- */
@media (max-width: 575.98px) {
  .icon-circle {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}
/* ===== Mobile: button inside the image near bottom, card centered ===== */
@media (max-width: 575.98px) {
  .mini-offer {
    position: relative !important; /* anchor for absolute button */
    margin: 1rem auto;
    text-align: center;
    max-width: 200px;
  }

  .mini-offer img {
    display: block;
    width: 100%;
    border-radius: 20px;
  }

  /* Overlay the button inside the image, centered at the bottom */
  .mini-offer .offer-btn {
    position: absolute !important;
    left: 50% !important;
    bottom: 12px !important; /* adjust if you want higher/lower */
    transform: translateX(-50%) !important;
    display: inline-flex;
    min-width: 140px;
    height: 36px;
    margin: 0 !important; /* neutralize any external margins */
  }
}

/* ===== Desktop/Web view: explicitly keep your original behavior ===== */
@media (min-width: 992px) {
  .mini-offer {
    position: absolute !important;
    bottom: 0;
    right: 0;
    margin: 1rem;
  }
  .mini-offer .offer-btn {
    position: absolute !important;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Another Section */
.rounded-2xl {
  border-radius: 1.5rem;
}
.rounded-3xl {
  border-radius: 2rem;
}
.shortcuts-card {
  background: #f3f4f7;
}
.shortcut-item {
  background: #fff;
  border: 0;
  border-radius: 1.25rem;
  padding: 0.7rem 0.7rem;
}
.shortcut-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  background: #eef0ff;
  color: #0b0f3b;
}
.segmented {
  display: inline-flex;
  background: #ececef;
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.25rem;
}
.segmented .btn {
  border-radius: 999px;
  border: 0;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.segmented .btn.active {
  background: #111328;
  color: #fff;
}

.chips {
  position: absolute;
  left: 1.85rem;
  top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.chip {
  background: #fff;

  padding: 0.15rem 0.6rem; /* balanced padding */
  font-size: 0.65rem; /* smaller text */
  font-weight: 500;
  display: inline-flex; /* makes centering easier */
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  line-height: 1; /* prevents extra space */
}

.chip-white {
  background: #fff;

  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-like {
  position: absolute;
  right: 1rem;
  top: 0.5rem;
  z-index: 2;
}

.price-old {
  text-decoration: line-through;
}
.bi-star-fill {
  color: #ffd700; /* Gold color */
}

/* Section wrapper */
.order-section {
  background: #f3f4f7;
  border-radius: 24px;
}




.order-like {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
}
.order-like:hover {
  background: #fff;
}

/* Chips */
.order-chips {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.35rem;
}
.order-chip,
.order-chip-white {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}
.order-chip {
  background: #eef0f4;
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 500;
}
.order-chip-white {
  background: #fff;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  gap: 0.3rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Golden star */
.order-star {
  color: #ffd700;
}

/* Text */
.order-title {
  font-weight: 600;
  margin: 0.35rem 0 0;
}
.order-muted {
  color: #6b7280;
}

/* Ratio helper */
.object-cover {
  object-fit: cover;
}
.ratio-4x3 {
  --bs-aspect-ratio: 105%;
}
/* Drawer width + look */
.categories-drawer{
  --bs-offcanvas-width: 360px;     /* drawer width */
  border-right: 4px solid #2B6CF9; /* blue accent like mock */
  box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.12);
}

/* Blur/darken page while open */
.offcanvas-backdrop.show{
  opacity: .6;
  backdrop-filter: blur(2px);
}

/* Header */
.categories-drawer .offcanvas-header{
  border-bottom: 1px solid #eef1f6;
}

/* List */
.cat-list .cat-row{
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid #f3f4f8;
}
.cat-link{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #13141a;
}
.cat-link:hover{ background:#f7f8fc; }

.cat-link .left{
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cat-icon{
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #f2f5ff;
  display:flex; align-items:center; justify-content:center;
  overflow: hidden;
}
.cat-icon img{ width: 90%; height: auto; }

.name{ font-weight: 600; }

/* Yellow pill "Up to 50%" */
.sale-pill{
  font-size: .65rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: #FFF4B5;
  margin-left: 6px;
}
/* edited by athulya */
#snackbar1 {
  visibility: hidden;
  min-width:100px;
  margin-left:0;
  background-color:#000d6b;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: fixed;
  z-index:99999999999;
  right:10%;
  top: 1%;text-transform:uppercase;
  font-size: 14px;
  border-radius:40px;
}

#snackbar1.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

 #preloader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff; /* background color */
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
     opacity: 0.6;
    }

   

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}