/* =========================================================
   DP GUPTA ASSOCIATES PVT LTD - Pharmacy E-Commerce
   ========================================================= */
:root {
  --dp-green: #006b3c;
  --dp-green-2: #008f5a;
  --dp-green-dark: #04492a;
  --dp-red: #e51b23;
  --dp-bg: #f7faf8;
  --dp-mint: #e6f3ec;
  --dp-ink: #0d2a1f;
  --dp-muted: #5f6f67;
  --dp-line: #e3ece6;
  --dp-radius: 16px;
  --dp-shadow: 0 2px 12px rgba(0, 60, 35, 0.07);
  --dp-shadow-lg: 0 12px 30px rgba(0, 60, 35, 0.14);
  --bs-primary: #006b3c;
  --bs-primary-rgb: 0, 107, 60;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
  --bs-body-color: var(--dp-ink);
  --bs-body-bg: var(--dp-bg);
  --bs-link-color: var(--dp-green);
  --bs-link-hover-color: var(--dp-green-dark);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}
body {
  background: var(--dp-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}
a {
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
:focus-visible {
  outline: 3px solid rgba(0, 143, 90, 0.45);
  outline-offset: 2px;
}
.text-brand {
  color: var(--dp-green) !important;
}

/* ---------- Buttons ---------- */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--dp-green);
  --bs-btn-border-color: var(--dp-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--dp-green-dark);
  --bs-btn-hover-border-color: var(--dp-green-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--dp-green-dark);
  --bs-btn-active-border-color: var(--dp-green-dark);
  --bs-btn-focus-shadow-rgb: 0, 143, 90;
  font-weight: 600;
}
.btn-outline-brand {
  --bs-btn-color: var(--dp-green);
  --bs-btn-border-color: var(--dp-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--dp-green);
  --bs-btn-hover-border-color: var(--dp-green);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--dp-green);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.7);
}
.btn-icon {
  border: 0;
  padding: 0.25rem 0.5rem;
  color: var(--dp-green);
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--dp-green-dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.5rem 0;
  height: 60px;
  overflow: hidden;
}
.topbar-list li {
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .topbar-list:first-child {
    min-width: 0;
    flex: 1 1 auto;
  }
  .topbar-list:first-child li {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar {
    font-size: 0.7rem;
  }
  .topbar-list {
    gap: 0.6rem !important;
  }
  .topbar .container-xxl > div {
    justify-content: space-between;
  }
}
.topbar-list i {
  margin-right: 0.35rem;
  opacity: 0.9;
}

/* ---------- Header ---------- */
.site-header {
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  z-index: 1030;
}
.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--dp-green);
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--dp-green-2);
  letter-spacing: 0.2px;
  margin-top: 3px;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .brand-logo {
    width: 44px;
    height: 44px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-sub {
    font-size: 0.42rem;
  }
}

.search-group {
  border: 1.5px solid var(--dp-line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-group:focus-within {
  border-color: var(--dp-green-2);
  box-shadow: 0 0 0 4px rgba(0, 143, 90, 0.12);
}
.search-group .form-control {
  border: 0;
  box-shadow: none;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
}
.search-group .btn {
  border-radius: 0;
}
.suggest-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  z-index: 20;
}
.suggest-list li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: none;
  border: 0;
  text-align: left;
  font-size: 0.9rem;
}
.suggest-list li button:hover {
  background: var(--dp-mint);
}
.suggest-list img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dp-ink);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.2;
  font-weight: 600;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
}
.header-action i {
  font-size: 1.7rem;
  color: var(--dp-green);
}
.header-action small {
  color: var(--dp-muted);
  font-weight: 500;
  font-size: 0.72rem;
}
.header-action:hover {
  background: var(--dp-mint);
  color: var(--dp-green);
}
.count-badge {
  position: absolute;
  top: -2px;
  left: 22px;
  background: var(--dp-red);
  color: #fff;
  font-size: 0.65rem;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  text-align: center;
  padding: 0 4px;
  line-height: 2;
}

/* ---------- Nav ---------- */
.main-nav {
  border-top: 1px solid var(--dp-line);
  background: #fff;
}
.nav-list {
  padding: 0.4rem 0;
  gap: 2px;
}
.nav-link-dp {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.36rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.77rem;
  color: var(--dp-ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-link-dp.show,
.nav-link-dp:hover {
  color: var(--dp-green);
  background: var(--dp-mint);
}
.nav-link-dp.active {
  background: var(--dp-green);
  color: #fff;
  padding-inline: 0.75rem;
}
.nav-link-dp.dropdown-toggle::after {
  border: 0;
  font-family: "bootstrap-icons";
  content: "\F282";
  font-size: 0.65rem;
  vertical-align: 0;
  margin: 0;
}
.dp-menu {
  border: 0;
  border-radius: 12px;
  box-shadow: var(--dp-shadow-lg);
  padding: 0.5rem;
  min-width: 220px;
  margin-top: 6px !important;
}
.dp-menu .dropdown-item {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.dp-menu .dropdown-item:hover {
  background: var(--dp-mint);
  color: var(--dp-green);
}
@media (min-width: 1200px) {
  .main-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }
}
@media (min-width: 1300px) {
  .nav-link-dp {
    padding-inline: 0.45rem;
    font-size: 0.84rem;
  }
}

/* Mobile menu */
.mobile-accordion .accordion-button,
.mobile-accordion .m-link {
  padding: 0.95rem 1.25rem;
  font-weight: 600;
  color: var(--dp-ink);
  display: flex;
  gap: 0.6rem;
  text-decoration: none;
  border-bottom: 1px solid var(--dp-line);
}
.mobile-accordion .accordion-button:not(.collapsed) {
  background: var(--dp-mint);
  color: var(--dp-green);
  box-shadow: none;
}
.mobile-accordion .accordion-body a {
  display: block;
  padding: 0.6rem 0.5rem;
  color: var(--dp-muted);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(100deg, #eaf5ee 0, #f3f9f5 45%, #e4f1e9 100%);
  position: relative;
}
.hero-slide {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  z-index: 0;
}
.hero-slide > .container-xxl {
  width: 100%;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    #eaf5ee 0,
    #eaf5ee 46%,
    rgba(234, 245, 238, 0.8) 50%,
    rgba(234, 245, 238, 0) 63%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 3rem 6rem;
}
.hero-eyebrow {
  color: var(--dp-green);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.hero-title {
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--dp-ink);
}
.hero-text {
  color: #2b4338;
  font-size: 1.05rem;
  max-width: 470px;
  margin-bottom: 1.5rem;
}
.hero-search {
  display: flex;
  max-width: 480px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--dp-shadow);
}
.hero-search .form-control {
  border: 0;
  box-shadow: none;
  padding: 0.85rem 1.1rem;
}
.hero-search .btn {
  border-radius: 0;
  padding-inline: 1.2rem;
}
.hero-dots {
  left: auto;
  right: 28px;
  margin: 0 0 4.6rem;
  justify-content: flex-end;
  z-index: 3;
}
.hero-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: var(--dp-green);
  opacity: 0.3;
}
.hero-dots .active {
  opacity: 1;
  width: 26px;
  border-radius: 6px;
}
.hero-trust-wrap {
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  z-index: 4;
  padding-block: 0.85rem;
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(6px);
  max-width: none;
  width: 100%;
  border-top: 1px solid rgba(0, 107, 60, 0.08);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--dp-ink);
}
.trust-item i {
  font-size: 1.7rem;
  color: var(--dp-green);
}

@media (max-width: 991.98px) {
  .hero-slide {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-img {
    position: relative;
    width: 100%;
    height: 260px;
    order: 2;
    object-position: 70% 20%;
  }
  .hero-slide::after {
    background: linear-gradient(
      180deg,
      rgba(234, 245, 238, 0) 60%,
      #eaf5ee 100%
    );
  }
  .hero-slide > .container-xxl {
    order: 1;
  }
  .hero-copy {
    padding-block: 2rem 1rem;
  }
  .hero-trust-wrap {
    position: static;
    padding-block: 1rem;
    background: #fff;
  }
  .hero-dots {
    display: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 3rem 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
}
.view-all {
  color: var(--dp-green);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.view-all:hover i {
  transform: translateX(4px);
}
.view-all i {
  display: inline-block;
  transition: transform 0.2s;
}

/* Category cards */
@media (min-width: 1200px) {
  .row-cols-xl-9 > * {
    flex: 0 0 auto;
    width: 11.1111%;
  }
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  height: 100%;
  padding: 0.9rem 0.4rem 0.8rem;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  box-shadow: var(--dp-shadow);
  text-decoration: none;
  color: var(--dp-ink);
  text-align: center;
}
.cat-card img {
  width: 64px;
  height: 56px;
  object-fit: contain;
  transition: transform 0.3s;
}
.cat-card span:last-child {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.25;
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f1e9fb;
  display: grid;
  place-items: center;
  color: #7b4bc2;
  font-size: 1.6rem;
  transition: transform 0.3s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--dp-green-2);
  box-shadow: var(--dp-shadow-lg);
}
.cat-card:hover .cat-icon,
.cat-card:hover img {
  transform: scale(1.1);
}

/* Promo banners */
.promo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  overflow: hidden;
  min-height: 190px;
  padding: 1.5rem 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.promo:hover {
  box-shadow: var(--dp-shadow-lg);
  transform: translateY(-3px);
}
.promo-green {
  background: linear-gradient(100deg, #e1f1e8, #f1f8f4);
}
.promo-pink {
  background: linear-gradient(100deg, #fde6e8, #fff3f4);
}
.promo-blue {
  background: linear-gradient(100deg, #e3f0fa, #f2f8fd);
}
.promo-yellow {
  background: linear-gradient(100deg, #fff1d6, #fff9ec);
}
.promo-copy {
  position: relative;
  z-index: 2;
  max-width: 55%;
}
.promo-pre {
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
}
.promo-big {
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  line-height: 1.05;
  margin: 0 0 0.2rem;
  color: var(--dp-ink);
}
.promo-mid {
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1.15;
}
.promo-sub {
  font-weight: 600;
  margin-bottom: 1rem;
}
.promo-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  max-width: 52%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
}
.promo-img-sm {
  height: 80%;
  right: 1.5rem;
  bottom: 0.75rem;
  max-width: 36%;
  -webkit-mask-image: none;
  mask-image: none;
  mix-blend-mode: multiply;
}

/* Feature strip */
.feature-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  height: 100%;
  background: var(--dp-mint);
  border: 1px solid #d3e8dc;
  border-radius: 14px;
  text-decoration: none;
  color: var(--dp-ink);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--dp-shadow-lg);
  color: var(--dp-ink);
}
.feature-card i {
  font-size: 2rem;
  color: var(--dp-green);
}
@media (max-width: 575.98px) {
  .feature-card {
    flex-direction: column;
    text-align: center;
    padding: 0.9rem 0.5rem;
  }
}
.feature-card span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 0.85rem;
}
.feature-card em {
  font-style: normal;
  color: var(--dp-muted);
  font-size: 0.8rem;
}

/* Tabs */
.tab-strip {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0.5rem;
}
.tab-strip::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dp-muted);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tab-btn:hover {
  color: var(--dp-green);
}
.tab-btn.active {
  color: var(--dp-green);
  font-weight: 700;
  border-color: var(--dp-green);
}
@media (max-width: 991.98px) {
  .section-head .tab-strip {
    order: 5;
    flex-basis: 100%;
    padding-left: 0;
  }
}
.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dp-line);
  background: #fff;
  color: var(--dp-green);
  box-shadow: var(--dp-shadow);
}
.slider-btn:hover {
  background: var(--dp-green);
  color: #fff;
}
.search-note {
  font-size: 0.9rem;
  color: var(--dp-muted);
}

/* Slider */
.slider-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track > .product-card {
  flex: 0 0 calc((100% - 14px) / 2);
  scroll-snap-align: start;
}
@media (min-width: 576px) {
  .slider-track > .product-card {
    flex-basis: calc((100% - 28px) / 3);
  }
}
@media (min-width: 992px) {
  .slider-track > .product-card {
    flex-basis: calc((100% - 56px) / 4);
  }
}
@media (min-width: 1200px) {
  .slider-track > .product-card {
    flex-basis: calc((100% - 70px) / 6);
  }
}

/* Product card */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  padding: 0.9rem;
  box-shadow: var(--dp-shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dp-shadow-lg);
  border-color: #cfe5d8;
}
.wish-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--dp-green);
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s;
}
.wish-btn:hover {
  transform: scale(1.15);
}
.wish-btn.active {
  color: var(--dp-red);
}
.badge-off {
  background: var(--dp-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
}
.product-card .badge-off {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
}
.product-img {
  display: grid;
  place-items: center;
  height: 130px;
  margin: 0.5rem 0 0.75rem;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}
.product-img img {
  max-width: 100%;
  max-height: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s;
  mix-blend-mode: multiply;
}
.product-card:hover .product-img img {
  transform: scale(1.07);
}
.product-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  margin: 0 0 0.4rem;
}
.rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--dp-muted);
}
.rating .bi-star-fill,
.rating .bi-star-half {
  color: #f5b301;
  font-size: 0.72rem;
}
.rating b {
  color: var(--dp-ink);
  margin-left: 0.2rem;
}
.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  margin: 0.5rem 0 0.8rem;
}
.price-row strong {
  font-size: 1.08rem;
  font-weight: 800;
}
.price-row del {
  color: var(--dp-muted);
  font-size: 0.8rem;
}
.price-row .off {
  margin-left: auto;
  color: var(--dp-red);
  background: #fdecec;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}
.btn-add {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--dp-green);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  border: 0;
  border-radius: 9px;
  padding: 0.6rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-add:hover {
  background: var(--dp-green-dark);
  color: #fff;
}
.btn-add:active {
  transform: scale(0.97);
}
.btn-add.added {
  background: var(--dp-green-2);
}
.empty-state {
  width: 100%;
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--dp-muted);
}

/* Essentials banner */
.essentials {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-height: 240px;
  padding: 2rem 2.5rem;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(100deg, #e1f1e8 0, #eef7f1 55%, #f6faf7 100%);
}
.essentials-live {
  align-items: center;
  gap: 0.5rem;
  color: var(--dp-green);
  position: relative;
  z-index: 2;
}
.essentials-live i {
  font-size: 3.5rem;
}
.essentials-live p {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.05;
  margin: 0;
}
.essentials-copy {
  position: relative;
  z-index: 2;
  max-width: 430px;
}
.essentials-copy h2 {
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
}
.essentials-copy p {
  color: #2b4338;
  margin-bottom: 1.25rem;
}
.essentials-img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0, #000 30%);
}
@media (max-width: 767.98px) {
  .essentials {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    gap: 1rem;
  }
  .essentials-img {
    position: relative;
    width: calc(100% + 3rem);
    margin: 0 -1.5rem -1.5rem;
    height: 220px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 25%);
    mask-image: linear-gradient(180deg, transparent 0, #000 25%);
  }
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.countdown-label {
  font-size: 0.88rem;
  color: var(--dp-muted);
  margin-right: 0.25rem;
}
.cd-box {
  background: #eef2ef;
  border-radius: 10px;
  min-width: 52px;
  text-align: center;
  padding: 0.35rem 0.5rem;
  line-height: 1.1;
}
.cd-box b {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}
.cd-box small {
  font-size: 0.62rem;
  color: var(--dp-muted);
}
@media (max-width: 575.98px) {
  .countdown {
    order: 3;
    flex-basis: 100%;
  }
}

/* Why choose */
.why-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 1rem 0.75rem;
  height: 100%;
}
.why-row > .col + .col .why-item {
  border-left: 1px solid var(--dp-line);
}
.why-item i {
  font-size: 2.3rem;
  color: var(--dp-green);
  transition: transform 0.3s;
}
.why-item:hover i {
  transform: translateY(-4px) scale(1.08);
}
.why-item b {
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 130px;
}
@media (max-width: 1199.98px) {
  .why-row > .col .why-item {
    border-left: 0 !important;
  }
  .why-item {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--dp-shadow);
    margin: 0.4rem;
    height: calc(100% - 0.8rem);
  }
}

/* App + help cards */
.app-card,
.help-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  overflow: hidden;
  min-height: 230px;
  height: 100%;
}
.app-card {
  background: radial-gradient(
    circle at 85% 40%,
    #0b8a52 0,
    var(--dp-green) 45%,
    var(--dp-green-dark) 100%
  );
  color: #fff;
  padding: 2rem 2.25rem;
}
.app-copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.app-card h2 {
  font-weight: 800;
  font-size: 1.8rem;
}
.app-card p {
  opacity: 0.92;
  margin-bottom: 1.25rem;
}
.app-phone {
  position: absolute;
  right: 1.5rem;
  bottom: -14px;
  height: 118%;
  max-height: 270px;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(
    ellipse 58% 62% at 50% 50%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 58% 62% at 50% 50%,
    #000 62%,
    transparent 100%
  );
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #000;
  color: #fff;
  border: 1px solid #555;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.1;
}
.store-btn i {
  font-size: 1.5rem;
}
.store-btn small {
  display: block;
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
}
.store-btn:hover {
  background: #1b1b1b;
  color: #fff;
  transform: translateY(-2px);
}
.help-card {
  background: linear-gradient(100deg, #e3f2ea, #f1f8f4);
  padding: 2rem 2.25rem;
}
.help-copy {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.help-card h2 {
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.help-list li {
  display: flex;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.help-list i {
  color: var(--dp-green);
}
.help-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 46%;
  object-fit: cover;
  object-position: 55% 20%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
@media (max-width: 575.98px) {
  .app-card,
  .help-card {
    padding: 1.5rem 1.25rem;
    min-height: 250px;
  }
  .app-copy,
  .help-copy {
    max-width: 62%;
  }
  .app-card h2 {
    font-size: 1.4rem;
  }
  .app-phone {
    right: -0.5rem;
    max-height: 220px;
  }
  .store-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* Newsletter */
.newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  background: var(--dp-mint);
  border: 1px solid #d3e8dc;
  border-radius: 18px;
  padding: 1.5rem 2rem;
}
.news-icon {
  font-size: 2.8rem;
  color: var(--dp-green);
}
.newsletter h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.newsletter p {
  font-size: 0.88rem;
  color: var(--dp-muted);
}
.news-form {
  display: flex;
  flex-wrap: wrap;
  flex: 1 1 380px;
  max-width: 520px;
}
.news-form .form-control {
  flex: 1 1 auto;
  width: auto;
  border-radius: 10px 0 0 10px;
  border: 1px solid var(--dp-line);
  padding: 0.8rem 1rem;
}
.news-form .btn {
  border-radius: 0 10px 10px 0;
  padding-inline: 1.6rem;
}
.news-form .form-control.is-invalid {
  background-image: none;
}
.news-form .invalid-feedback {
  flex-basis: 100%;
}
@media (max-width: 575.98px) {
  .newsletter {
    padding: 1.25rem;
  }
}

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid var(--dp-line);
}
.footer-h {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links li {
  margin-bottom: 0.55rem;
}
.footer-contact a,
.footer-links a {
  color: var(--dp-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-contact a:hover,
.footer-links a:hover {
  color: var(--dp-green);
  padding-left: 3px;
}
.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.footer-contact i {
  color: var(--dp-green);
}
.footer-contact li {
  min-width: 0;
}
.footer-contact a,
.footer-contact span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.footer-contact span {
  color: var(--dp-ink);
}
.social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
}
.social:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.s-fb {
  background: #1877f2;
}
.s-yt {
  background: red;
}
.s-in {
  background: #0a66c2;
}
.s-ig {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
}
.pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 56px;
  padding: 0 0.6rem;
  background: #fff;
  border: 1px solid var(--dp-line);
  border-radius: 6px;
  font-weight: 800;
  font-style: italic;
  font-size: 0.8rem;
}
.pay-upi {
  color: #3d3d3d;
}
.pay-upi::after {
  content: "";
  border-left: 7px solid #098041;
  border-right: 0;
  margin-left: 4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.pay-visa {
  color: #1a1f71;
  font-size: 0.95rem;
}
.pay-mc i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #eb001b;
}
.pay-mc i + i {
  background: #f79e1b;
  margin-left: -6px;
  opacity: 0.92;
}
.pay-rupay {
  color: #1a4f9c;
  font-size: 0.82rem;
}
.footer-bottom {
  border-top: 1px solid var(--dp-line);
  font-size: 0.82rem;
  color: var(--dp-muted);
}
.footer-bottom a {
  color: var(--dp-muted);
  text-decoration: none;
}
.footer-bottom a:hover {
  color: var(--dp-green);
}

/* Scroll to top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--dp-green);
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--dp-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--dp-green-dark);
}

/* Modals */
.dp-modal {
  border: 0;
  border-radius: 20px;
  box-shadow: var(--dp-shadow-lg);
  overflow: hidden;
}
.dp-pills .nav-link {
  color: var(--dp-ink);
  font-weight: 600;
  border-radius: 10px;
  background: var(--dp-mint);
  margin-inline: 2px;
}
.dp-pills .nav-link.active {
  background: var(--dp-green);
  color: #fff;
}
.form-control:focus {
  border-color: var(--dp-green-2);
  box-shadow: 0 0 0 0.2rem rgba(0, 143, 90, 0.15);
}
.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  padding: 1.75rem 1rem;
  border: 2px dashed #9ccdb3;
  border-radius: 14px;
  background: var(--dp-mint);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.drop-zone.drag,
.drop-zone:hover {
  background: #d9eee3;
  border-color: var(--dp-green);
}
.drop-zone i {
  font-size: 2.2rem;
  color: var(--dp-green);
}
.drop-zone small {
  color: var(--dp-muted);
}
.qv-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
}
.qv-img {
  display: grid;
  place-items: center;
  height: 280px;
  background: var(--dp-bg);
  border-radius: 16px;
  padding: 1.25rem;
}
.qv-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dp-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.qty button {
  width: 36px;
  height: 38px;
  border: 0;
  background: var(--dp-mint);
  color: var(--dp-green);
  font-size: 1.1rem;
  font-weight: 700;
}
.qty button:hover {
  background: var(--dp-green);
  color: #fff;
}
.qty span {
  min-width: 38px;
  text-align: center;
  font-weight: 700;
}
.cart-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--dp-line);
}
.cart-line img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: var(--dp-bg);
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
}
.cart-line .info {
  flex: 1;
  min-width: 0;
}
.cart-line .info b {
  display: block;
  font-size: 0.9rem;
}
.cart-line .rm {
  border: 0;
  background: none;
  color: var(--dp-muted);
}
.cart-line .rm:hover {
  color: var(--dp-red);
}
.ship-bar {
  height: 8px;
  border-radius: 6px;
  background: #e3ece6;
  overflow: hidden;
}
.ship-bar div {
  height: 100%;
  background: var(--dp-green-2);
  transition: width 0.4s;
}
.toast {
  background: var(--dp-green-dark);
  border-radius: 12px;
}
.toast.err {
  background: var(--dp-red);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::after,
  *::before {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* the add new css start here */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f9fa;
}
.product-media img {
  width: 100%;
  height: 100%;
  /*object-fit: fill;*/
}
.badge-discount {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #dc3545;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}
.badge-new {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #198754;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}
.product-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}
.product-card:hover .product-actions {
  opacity: 1;
}
.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.product-body {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.product-brand {
  color: #6c757d;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-title {
  font-size: 13px;
  line-height: 1.3;
  margin-bottom: 8px;
  min-height: 34px;
}
.product-title a {
  color: #212529;
  text-decoration: none;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.price-current {
  font-weight: 700;
  color: #198754;
  font-size: 15px;
}
.price-old {
  font-size: 12px;
  color: #6c757d;
  text-decoration: line-through;
}
.product-rating {
  color: #ffc107;
  font-size: 12px;
}




/* the button left enquiry and admin login 07/10/2026*/

.side-login-buttons {
    position: fixed;
    right: 0;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.side-btn {
    position: relative;
    width: 35px;
    height: 125px;
    display: block;
    color: #ffffff !important;
    text-decoration: none !important;

    border-radius: 13px 0 0 13px;
    overflow: hidden;
    transition: background-color 0.6s ease;
}

.side-icon {
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 23px;
    line-height: 1;
    color: #ffffff;
}

.side-text {
    position: absolute;
    top: 60px;
    left: 50%;
    width: 120px;
    transform: translateX(-50%) rotate(-90deg);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}

.side-btn.green {
    background-color: #087b4b;
}

.side-btn.red {
    background-color: #e52327;
}

.side-btn:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .side-login-buttons {
        right: 0;
        left: auto;
        top: 50%;
    }

    .side-btn {
        width: 35px;
        height: 115px;
        border-radius: 11px 0 0 11px;
    }

    .side-icon {
        top: 23px;
        font-size: 20px;
    }

    .side-text {
        top: 67px;
        font-size: 10px;
    }
}

/* the  button left enquiry and admin login  07/10/2026*/