:root {
  --green: #117247;
  --green2: #0b5e3a;
  --yellow: #117247;

  --alif-green: #117148;
  --alif-gold: #117247;
  --alif-grad: linear-gradient(90deg, var(--alif-green), var(--alif-gold));
  --alif-grad-hover: linear-gradient(90deg, #0f6a43, #117247);
  --alif-shadow: 0 14px 28px rgba(17, 113, 72, .20), 0 10px 18px rgba(221, 169, 75, .16);
}

/* Body */
body {
  background: linear-gradient(180deg, #fff, #f6f7f9);
  color: #111;
}

/* Navbar pills look (Bootstrap nav-link) */
.alif-nav-pills .nav-link {
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  color: #1b1b1b;
  padding: .55rem .9rem;
  border: 1px solid transparent;
  transition: .2s ease;
}

.alif-nav-pills .nav-link:hover {
  background: rgba(255, 184, 0, .16);
  border-color: rgba(255, 184, 0, .38);
}

.alif-nav-pills .nav-link.active {
  background: linear-gradient(90deg, var(--green), var(--yellow));
  color: #fff;
}

/* Right pills */
.alif-pill-btn {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(17, 114, 71, .12);
  background: rgba(17, 114, 71, .06);
  font-weight: 800;
}

.alif-cart-pill {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.alif-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.alif-pill-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: black;
}

/* Banner */
.alif-banner {
  height: 300px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
}

.alif-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: none;
  /* ✅ change this */
}

.swiper-pagination-bullet {
  background: rgba(17, 114, 71, .45) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--yellow) !important;
}

/* ===== ALIF Buttons everywhere ===== */
:is(.btn-add, .btn-instant, .cart-btn, .action-btn, .fp-cart-btn, .fp-btn) {
  border: 0 !important;
  color: #fff !important;
  background: var(--alif-grad) !important;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: var(--alif-shadow);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, background .18s ease;
}

:is(.btn-add, .btn-instant, .cart-btn, .action-btn, .fp-cart-btn, .fp-btn):hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  background: var(--alif-grad-hover) !important;
}

/* ===== Discount Category Card (custom shape) ===== */
.category-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(17, 114, 71, .18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  overflow: hidden;
  height: 260px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .14);
}

.category-card::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -55px;
  width: 170px;
  height: 170px;
  background: var(--green);
  border-radius: 28px;
  transform: rotate(18deg);
  z-index: 0;
}

.category-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 100%;
  background: var(--green);
  opacity: .25;
  z-index: 0;
}

.discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(90deg, #e60000, #ff4d4d);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 10px 4px 10px 4px;
  z-index: 3;
}

.category-card .card-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px;
}

.category-card .card-content img {
  max-width: 175px;
  height: 125px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .12));
  margin: 0 auto 10px;
}

.category-card .card-content h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: Georgia, serif;
}

.product-buttons {
  position: relative;
  z-index: 2;
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.product-buttons button {
  flex: 1;
  border-radius: 10px !important;
  padding: 11px 10px !important;
  min-height: 40px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 11px !important;
}

/* ===== Featured Products (custom) ===== */
.featured-products {
  padding: 70px 0;
}

.fp-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.fp-title {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 1px;
}

.fp-sub {
  margin: 6px 0 0;
  opacity: .75;
  font-size: 14px;
}

.fp-nav {
  display: flex;
  gap: 10px;
}

.fp-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.featuredProductSlider {
  padding: 12px 6px 40px;
}

.fp-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  isolation: isolate;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
  border-color: rgba(255, 165, 0, .35);
}

.fp-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(255, 180, 0, .18);
  border: 1px solid rgba(255, 180, 0, .35);
}

.fp-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.fp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.fp-body {
  padding: 16px 16px 18px;
}

.fp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fp-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
}

.fp-pagination {
  margin-top: 14px;
  text-align: center;
}

.fp-pagination .swiper-pagination-bullet {
  background: rgba(17, 113, 72, .35);
  opacity: 1;
}

.fp-pagination .swiper-pagination-bullet-active {
  background: rgba(221, 169, 75, .95);
}

/* ===== Popups (custom) ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-card {
  width: min(820px, 96vw);
  background: #fff;
  color: #111;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
}

.close-btn {
  position: absolute;
  right: 15px;
  top: -13px;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 34px;
  cursor: pointer;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
}

.modal-left {
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(255, 184, 0, .35), rgba(17, 114, 71, .25), rgba(0, 0, 0, 0));
  border-right: 1px solid rgba(17, 114, 71, .25);
}

.modal-right {
  padding: 26px 22px;
  background: #fff;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.input-row input,
.input-row textarea {
  background: #f3f5f7;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 10px;
  padding: 11px 12px;
  outline: none;
}

.input-row input:focus,
.input-row textarea:focus {
  border-color: rgba(17, 114, 71, .75);
  box-shadow: 0 0 0 4px rgba(255, 184, 0, .22);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 900;
  background: var(--green);
  color: #fff;
}

#qtyInput {
  width: 70px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .12);
  background: #f3f5f7;
  text-align: center;
  font-weight: 900;
}

.confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.confirm-card {
  width: min(360px, 92vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(17, 114, 71, .18);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  padding: 22px 20px 18px;
  text-align: center;
  position: relative;
}

.confirm-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 28px;
  color: #111;
}

/* Footer */
.main-footer {
  background: linear-gradient(180deg, var(--green2), var(--green));
  color: #fff;
  padding: 70px 0 0;
}

.main-footer a {
  color: #bdc3c7;
  text-decoration: none;
}

.main-footer a:hover {
  color: #fff;
}

.social-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform .3s ease;
}

.social-img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  background: var(--yellow);
  color: #000;
  font-weight: 800;
}

/* ===== CATEGORIES GRID (Bootstrap layout, custom card only) ===== */
.cat-card {
  display: block;
  text-decoration: none;
  color: #111;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 114, 71, .18);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  padding: 18px 16px;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}

.cat-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -55% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 184, 0, .40), rgba(17, 114, 71, .35), transparent 65%);
  transform: rotate(12deg);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
  border-color: rgba(221, 169, 75, .55);
}

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: var(--alif-grad);
  box-shadow: var(--alif-shadow);
  margin-bottom: 12px;
}

.cat-name {
  font-weight: 900;
  letter-spacing: .4px;
  margin-bottom: 4px;
  font-size: 16px;
}

.cat-sub {
  font-size: 13px;
  opacity: .7;
}

/* =========================
   CATEGORY CARDS (SAME LOOK)
========================= */
.catp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #f7f7f7;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  height: 100%;
}

.catp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 70px rgba(0, 0, 0, .16);
}

.catp-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .4px;
  background: #fff4dd;
  border: 1px solid rgba(255, 184, 0, .55);
  color: #111;
  z-index: 2;
}

.catp-img {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  overflow: hidden;
}

.catp-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catp-body {
  padding: 16px 4px 0;
}

.catp-name {
  font-size: 20px;
  font-weight: 500;
  margin: 10px 0 12px;
  letter-spacing: .2px;
}

.catp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 16px;
}

.catp-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-weight: 600;
}

.catp-rating i {
  color: #111;
}

.catp-price {
  color: #111;
  opacity: .85;
  font-weight: 500;
}

.catp-btn {
  border: 0;
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #117247;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 16px 30px rgba(17, 114, 71, .25);
}

.catp-btn:hover {
  opacity: .95;
}

/* Responsive like your card */
@media (max-width: 575.98px) {
  .catp-name {
    font-size: 22px;
  }

  .catp-img {
    height: 150px;
  }
}

.alif-whatsapp-pill {
  background: #25D366;
  /* WhatsApp green */
  color: #fff;
  border: 1px solid #25D366;
}

.alif-whatsapp-pill:hover {
  background: #1EBE5D;
  border-color: #1EBE5D;
  color: #fff;
}

.alif-whatsapp-pill i {
  color: #fff;
}

/* Footer base colors */
.alif-footer-top {
  background: #FFB800;
}

.alif-footer-main {
  background: #117247;
}

.alif-footer-bottom {
  background: #17202b;
}

/* Logo */
.alif-footer-logo {
  height: 70px;
  width: auto;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}

/* Social icons (cool pills) */
.alif-social {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .45);
  transition: .2s ease;
}

.alif-social:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

/* Text & links */
.alif-footer-text {
  line-height: 1.6;
}

.alif-footer-links li {
  margin-bottom: 10px;
}

.alif-footer-links a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  font-size: .9rem;
  transition: .2s ease;
}

.alif-footer-links a:hover {
  color: #fff;
  padding-left: 6px;
}

/* Contact items */
.alif-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.alif-contact-item i {
  margin-top: 3px;
  color: rgba(255, 255, 255, .6);
  width: 18px;
}

.alif-contact-item a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  font-size: .9rem;
}

.alif-contact-item a:hover {
  color: #fff;
}

/* Divider */
.alif-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, .18);
}

/* Small chips */
.alif-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-size: .8rem;
  transition: .2s ease;
}

.alif-chip:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* CTA */
.alif-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18);
  transition: .2s ease;
}

.alif-footer-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* Bottom link */
.alif-powered {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.alif-powered:hover {
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .alif-footer-logo {
    height: 60px;
  }

  .alif-social {
    width: 32px;
    height: 32px;
  }
}

.alif-announce {
  background: #FFB800;
  /* same theme */
  color: #fff;
  position: relative;
  z-index: 9999;
}

.alif-announce-badge {
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .4px;
}

.alif-announce-text {
  font-size: .9rem;
  color: #fff;
}

.alif-announce-cta {
  background: #117247;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: .2s ease;
  white-space: nowrap;
}

.alif-announce-cta:hover {
  transform: translateY(-1px);
  background: #0f643f;
  color: #fff;
}

.alif-announce-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: .2s ease;
}

.alif-announce-close:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 576px) {
  .alif-announce-text {
    font-size: .85rem;
  }
}


/* ===== Bigger + Cleaner Buttons (Add to Cart / Instant Order) ===== */
/* ✅ Smaller Buttons (Add to Cart / Instant Order) */
.fp-body .btn-add,
.fp-body .btn-instant {
  padding: 10px 14px !important;
  /* chhota */
  min-height: 40px;
  /* chhota */
  border-radius: 999px !important;
  font-size: 12px !important;
  /* text chhota */
  font-weight: 700 !important;
  letter-spacing: .1px;
  gap: 8px;
}

/* icon bhi thora chhota */
.fp-body .btn-add i,
.fp-body .btn-instant i {
  font-size: 13px;
}



/* Instant outline ko bhi same height/round maintain */
.fp-body .btn-instant {
  border-width: 2px !important;
}

/* ✅ WhatsApp Floating Button */
.alif-wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  z-index: 999999;
  /* always on top */
}

.alif-wa-float i {
  font-size: 28px;
  line-height: 1;
  color: #fff;
}

.alif-wa-float:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

html,
body {
  width: 100%;
  overflow-x: clip;
}

/* Slider hat gaya, ab grid */
.fp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Responsive */
@media (max-width: 1200px) {
  .fp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .fp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .fp-grid {
    grid-template-columns: 1fr;
  }
}

/* arrows/pagination hide (agar kahin reh gaye) */
.fp-nav,
.fp-pagination {
  display: none !important;
}


.fp-loadwrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

.fp-loadmore {
  padding: 12px 22px;
  background-color: #117247;
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}




/* NAVBAR SEARCH (Clean + Premium) */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 320px;
  max-width: 100%;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 999px;
  background: #fff;
  padding: 8px 14px 8px 42px;
  transition: .2s ease;
}

.nav-search i {
  position: absolute;
  left: 16px;
  font-size: 14px;
  opacity: .65;
}

.nav-search .form-control {
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  height: auto;
  font-weight: 600;
  font-size: 14px;
  background: transparent !important;
}

.nav-search:focus-within {
  border-color: rgba(17, 114, 71, .55);
  box-shadow: 0 10px 22px rgba(17, 114, 71, .12);
}

.nav-search .form-control::placeholder {
  opacity: .65;
  font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .nav-search {
    width: 100%;
    border-radius: 14px;
  }
}


/* ===== Updated Screenshot style accordion ===== */
.alif-acc {
  --card-bg: #f7f7f7;
  --card-radius: 18px;
}

/* Remove default bootstrap borders */
.alif-acc .accordion-item {
  border: 0 !important;
  background: transparent !important;
  margin-bottom: 14px;
}

/* Rounded card look */
.alif-acc-item {
  background: var(--card-bg) !important;
  border-radius: var(--card-radius) !important;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

/* Button row */
.alif-acc-btn {
  background: var(--card-bg) !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 16
}

/* ✅ Mobile icons next to toggler */
.alif-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alif-icbtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
}

.alif-icbtn i {
  font-size: 18px;
}

/* mobile cart badge */
#cartCountMobile {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFB800;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 0 6px;
}



.fp-name br {
  display: none;
}


.fp-name {
  margin: 0;
  font-weight: 500;
  line-height: 1.25;


  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;


  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================
   PREMIUM SEARCH DROPDOWN
========================= */

.nav-search{ position:relative; }

/* Dropdown box */
.alif-suggest{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  right:0;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(17,114,71,.18);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(0,0,0,.14);
  overflow:hidden;
  z-index: 99999;

  max-height: 360px;
  overflow-y: auto;

  display:none;
}
.alif-suggest.show{ display:block; }

/* scrollbar (optional, looks neat) */
.alif-suggest::-webkit-scrollbar{ width:10px; }
.alif-suggest::-webkit-scrollbar-thumb{
  background: rgba(17,114,71,.25);
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.9);
}

/* Header row */
.alif-suggest-head{
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: linear-gradient(180deg, rgba(17,114,71,.08), rgba(255,255,255,0));
}

.alif-suggest-head .title{
  font-weight: 900;
  font-size: 13px;
  color:#111;
  letter-spacing:.2px;
}

/* View all as button */
.alif-suggest-head a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17,114,71,.10);
  border: 1px solid rgba(17,114,71,.20);
  color: #117247;
  font-weight: 800;
  font-size: 12px;
  text-decoration:none;
  transition: .2s ease;
}
.alif-suggest-head a:hover{
  background: rgba(17,114,71,.16);
  transform: translateY(-1px);
}

/* Item row */
.alif-suggest-item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  cursor:pointer;
  transition:.18s ease;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.alif-suggest-item:last-child{ border-bottom:none; }

.alif-suggest-item:hover{
  background: rgba(17,114,71,.06);
}

/* Thumb */
.alif-suggest-thumb{
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  object-fit: cover;
  flex: 0 0 54px;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

/* Text wrap */
.alif-suggest-name{
  font-weight: 900;
  font-size: 13px;
  color:#111;
  line-height: 1.15;

  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.alif-suggest-price{
  margin-top: 4px;
  font-weight: 900;
  font-size: 12px;
  color: #117247;
}

/* Empty state */
.alif-suggest-empty{
  padding: 14px;
  font-size: 13px;
  color:#777;
}

/* Mobile: dropdown full width neat */
@media (max-width: 576px){
  .alif-suggest{
    border-radius: 16px;
    top: calc(100% + 8px);
  }
  .alif-suggest-thumb{
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-basis: 48px;
  }
}
/* Card wishlist icon */
.fp-card{ position:relative; } /* already hai but safe */
.fp-wish-btn{
  position:absolute;
  top:10px;
  right:10px;
  width:30px;
  height:30px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  z-index:5;
  box-shadow:0 10px 22px rgba(0,0,0,.08);
  transition:.2s ease;
}
.fp-wish-btn:hover{
  transform:translateY(-2px);
  border-color: rgba(17,114,71,.35);
}
.fp-wish-btn i{ font-size:18px; }
#checkoutPopup .row > [class*="col-md-6"]{
  flex: 0 0 100% !important;
  max-width: 100% !important;
}

/* Dropdown overall look */
.cat-menu{
  width: 320px;
  max-height: 360px;     /* ✅ scroll enable */
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 18px;
  padding: 10px 0;
}

/* item look like your screenshot */
.cat-item{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-weight: 700;
  border-radius: 14px;
  margin: 6px 10px;
}

.cat-item:hover{
  background: rgba(25, 135, 84, .10); /* bootstrap success tone */
}

/* icon/image */
.cat-ico{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3f6f5;
  border: 1px solid rgba(0,0,0,.06);
}

/* ✅ GREEN scrollbar (works in Chrome/Edge) */
.cat-menu::-webkit-scrollbar{
  width: 10px;
}
.cat-menu::-webkit-scrollbar-track{
  background: #eaf6e1;
  border-radius: 999px;
}
.cat-menu::-webkit-scrollbar-thumb{
  background: #198754; /* bootstrap success */
  border-radius: 999px;
  border: 2px solid #eaf6e1;
}
.cat-menu::-webkit-scrollbar-thumb:hover{
  background: #157347;
}

/* Firefox scrollbar */
.cat-menu{
  scrollbar-width: thin;
  scrollbar-color: #198754 #eaf6e1;
}
/* grid wrapper */
.fp-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px; /* spacing between cards */
  align-items: stretch;
}

/* keep images consistent */
.fp-card .fp-img{
  width: 100%;
  aspect-ratio: 4 / 3; /* you can change */
  overflow: hidden;
  border-radius: 14px;
}

.fp-card .fp-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* responsive breakpoints */
@media (max-width: 1200px){
  .fp-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px){
  .fp-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px){
  .fp-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px){
  .fp-grid{ grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

/* optional: hide old swiper pagination if still exists somewhere */
.fp-pagination{ display:none !important; }
/* Back + Place Order same size/shape */
.btn-back,
.btn-place-order{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:44px;
  min-width:130px;
  padding:0 22px;

  border-radius:12px;
  font-weight:700;
  font-size:16px;

  border:1.5px solid #1b1b1b;
  background:#fff;
  color:#111;

  cursor:pointer;
  transition:filter .15s ease, transform .1s ease, background .15s ease;
}

/* Place Order green */
.btn-place-order{
  background:#0f7a44;
  color:#fff;
  border-color:#0f7a44;
}

.btn-back:hover{ background:#f3f3f3; }
.btn-place-order:hover{ filter:brightness(.95); }

.btn-back:active,
.btn-place-order:active{ transform:translateY(1px); }
.catp-btn{
  text-decoration: none;   /* underline remove */
}

.catp-btn:hover,
.catp-btn:focus{
  text-decoration: none;   /* hover par bhi underline na aaye */
}
/* Remove focus highlight from NAME field only */
#instantName:focus,
#instantName:focus-visible{
  outline: none !important;
  box-shadow: none !important;
  border-color: #d0d0d0 !important;   /* normal border */
}
#instantNumber:focus,
#instantNumber:focus-visible{
  outline: none;
}
#confirmPopup{
  display:none;
}
#confirmPopup[aria-hidden="false"]{
  display:flex;
}
#activeFilters .af-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:7px 10px;
    border-radius:14px;
    font-size:12px;
    font-weight:600;
    background:#eef7f0;
    color:#0f3d2e;
    border:1px solid rgba(17,114,71,.25);
    line-height:1;
  }
  #activeFilters .af-chip button{
    border:0;
    background:transparent;
    font-size:14px;
    line-height:1;
    cursor:pointer;
    color:#0f3d2e;
    padding:0;
  }
  .modal-card .table-responsive {
  max-height: 420px;
  overflow-y: auto;
}
/* ✅ CONFIRM POPUP - OK BUTTON (ALIF GREEN) */
#confirmPopup .confirm-ok{
  background:#117247;
  color:#fff;
  border:0;
  padding:10px 18px;
  border-radius:12px;
  font-weight:700;
  font-size:14px;
  letter-spacing:.2px;
  min-width:110px;
  box-shadow:0 10px 22px rgba(17,114,71,.28);
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

#confirmPopup .confirm-ok:hover{
  background:#0f6a41;
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(17,114,71,.34);
}

#confirmPopup .confirm-ok:active{
  transform:translateY(0);
  box-shadow:0 8px 16px rgba(17,114,71,.22);
}

#confirmPopup .confirm-ok:focus{
  outline:none;
  box-shadow:0 0 0 4px rgba(17,114,71,.18), 0 10px 22px rgba(17,114,71,.28);
}

/* Google translate small + clean */
#google_translate_element .goog-te-gadget {
  font-size: 0 !important;
}
#google_translate_element select.goog-te-combo {
  font-size: 14px !important;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
  outline: none;
}
.goog-logo-link, .goog-te-gadget span { display:none !important; }
.goog-te-gadget { color: transparent !important; }

/* Featured slider section should not leak horizontally */
.featured-products,
.featured-products .swiper {
  overflow: hidden;
}

/* Ensure swiper fits screen width */
.featured-products .swiper {
  width: 100%;
}

/* Remove unwanted horizontal scroll on mobile */
html, body {
  overflow-x: hidden;
}

@media (max-width: 575px) {
  .featured-products {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* SAVE CART SUCCESS POPUP (CENTER, ALWAYS ON TOP) */
.alif-save-overlay{
  position: fixed;
  inset: 0;
  display: none;              /* default hidden */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  z-index: 999999;            /* VERY HIGH */
}

.alif-save-overlay.show{
  display: flex;
}

.alif-save-box{
  width: min(360px, 92vw);
  background: #111;
  color: #fff;
  border-radius: 16px;
  padding: 18px 18px;
  text-align: center;
  box-shadow: 0 20px 70px rgba(0,0,0,.45);
  transform: scale(.92);
  opacity: 0;
  transition: .18s ease;
}

.alif-save-overlay.show .alif-save-box{
  transform: scale(1);
  opacity: 1;
}

.alif-save-icon{
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
  background: #22c55e; /* green */
  color: #0b0f14;
}

.alif-save-title{
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 4px;
}

.alif-save-sub{
  font-size: 13px;
  opacity: .8;
}

.alif-nav-pills .nav-link{
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  color: #111;
}

.alif-nav-pills .nav-link.active{
  background: #117247;
  color: #fff !important;
}

.alif-wish-toast{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  pointer-events: none;
}

.alif-wish-toast.show{ display:flex; }

.alif-wish-toast-box{
  background: #111;
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  display:flex;
  gap:10px;
  align-items:center;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  transform: translateY(10px) scale(.98);
  opacity: 0;
  animation: alifWishToastIn .22s ease forwards;
}

.alif-wish-toast-icon{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.12);
  font-size: 16px;
}

@keyframes alifWishToastIn{
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.wish-error{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #7a1111;
  background: rgba(230, 0, 0, .08);
  border: 1px solid rgba(230, 0, 0, .18);
}
.wish-input-error{
  border-color: rgba(230,0,0,.55) !important;
  box-shadow: 0 0 0 4px rgba(230,0,0,.10) !important;
}
/* ===== PAGE TRANSITION (POPUP SAFE) ===== */
body{
  opacity: 0;
  transition: opacity .25s ease;
}

body.page-loaded{
  opacity: 1;
}

/* Exit animation */
body.page-exit{
  opacity: 0;
}

/* When any popup is open, no page transition effect */
body.alif-popup-open{
  transition: none !important;
}

/* ===== FORCE BOLD HEADER (ALL PAGES) ===== */
.alif-header .navbar-nav .nav-link,
.alif-header .alif-nav-pills .nav-link {
  font-weight: 700 !important;
}

/* Optional: dropdown + right buttons bold too */
.alif-header .alif-pill-btn,
.alif-header .lang-toggle {
  font-weight: 700 !important;
}

/* ===== Fly to Cart Animation ===== */
.alif-fly-item{
  position: fixed;
  z-index: 9999999;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: transform .65s cubic-bezier(.2,.9,.2,1), opacity .65s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  background: #fff;
  overflow: hidden;
}

.alif-fly-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* fallback dot (if image missing) */
.alif-fly-dot{
  position: fixed;
  z-index: 9999999;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
  transition: transform .55s cubic-bezier(.2,.9,.2,1), opacity .55s ease;
  background: #16a34a; /* green */
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}

/* cart icon “pop” */
.alif-cart-pop{
  animation: alifCartPop .28s ease;
}
@keyframes alifCartPop{
  0%{ transform: scale(1); }
  60%{ transform: scale(1.14); }
  100%{ transform: scale(1); }
}
.alif-fly-item{
  transition: transform 1.05s cubic-bezier(.16,.9,.2,1), opacity 1.05s ease;
}

.alif-fly-dot{
  transition: transform .95s cubic-bezier(.16,.9,.2,1), opacity .95s ease;
}