/* -- Ayurnidha Premium Design System (Refined) -- */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1f2d25;
  background: #f7fbf6;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.app-root,
.page-shell {
  width: 100%;
  min-height: 100vh;
}

.page-content {
  position: relative;
  z-index: 1;
}

/* Navbar: Solid White, Sticky, High Z-Index */
.site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 2000 !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(17, 40, 28, 0.08) !important;
  padding: 0.85rem 1.25rem !important;
  transition: all 0.3s ease !important;
}

.site-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.nav-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.mobile-search-pill {
  display: none;
}

.nav-right-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mobile-header-cart {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #1a3c2a;
  text-decoration: none;
  border-radius: 50%;
  background: #f8faf5;
  border: 1px solid rgba(47, 93, 58, 0.1);
}

.mobile-header-cart-badge,
.mobile-cart-badge,
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d94d4d;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f8faf5;
  border: 1px solid rgba(47, 93, 58, 0.1);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #1a3c2a;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: #f4f8f4;
  color: #456056;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #167447;
  color: #fff;
  transform: translateY(-1px);
}

.cart-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.ayurnidha-premium-nav .nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a3c2a;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  gap: 1.25rem;
}

.nav-btn-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8faf5;
  border: 1px solid rgba(47, 93, 58, 0.1);
  border-radius: 50%;
  color: #1a3c2a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn-icon:hover {
  background: #2e7d32;
  color: #fff;
}

.header-hidden {
  display: block;
}

/* Hero Slider: Premium & Balanced */
.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  /* Desktop height */
  overflow: hidden;
  background-color: #ffffff;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Light, Subtle Overlay for Readability */
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
  /* Subtle light overlay */
  z-index: 2;
}

.slide-container {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.slide-content {
  max-width: 800px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #1a3c2a;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: 'Cinzel', serif;
}

.hero-subhead {
  font-size: 1.25rem;
  color: #4a6354;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.category-showcase {
  max-width: 1200px;
  margin: -2.25rem auto 0;
  padding: 1.15rem 1.15rem 1.35rem;
  position: relative;
  z-index: 15;
}

.category-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.category-showcase-title h2 {
  margin: 0;
  color: #163a29;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  letter-spacing: 0.02em;
}

.category-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2f8a38;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.category-view-all:hover {
  text-decoration: underline;
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 0.85rem;
}

.category-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 0.75rem 0.9rem;
  border-radius: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(39, 78, 46, 0.08);
  box-shadow: 0 8px 18px rgba(16, 45, 25, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-item:hover,
.category-item.is-active {
  transform: translateY(-3px);
  border-color: rgba(47, 138, 56, 0.22);
  box-shadow: 0 16px 28px rgba(16, 45, 25, 0.12);
}

.category-item-image {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #edf6ee, #ffffff);
  border: 1px solid rgba(47, 138, 56, 0.08);
}

.category-item-image img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.category-item-label {
  color: #214031;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
}

.product-section {
  padding: 2.8rem 1rem 2.2rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(235, 247, 239, 0.9) 0%, transparent 24%),
    radial-gradient(circle at 92% 0%, rgba(255, 247, 232, 0.9) 0%, transparent 20%),
    #f4f6f2;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 1.1rem;
  padding: 0 0.25rem;
  text-align: left;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.74rem;
  border-radius: 999px;
  background: #dff5e1;
  color: #2c583e;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-header h2 {
  margin: 0.65rem 0 0;
  color: #173a2a;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.12;
}

.section-header p {
  margin: 0.45rem 0 0;
  color: #50665a;
  font-size: 0.96rem;
  line-height: 1.6;
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e3eadf;
  box-shadow: 0 10px 24px rgba(24, 72, 47, 0.08);
  padding: 0.48rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card.visible {
  animation: cardEntrance 0.45s ease forwards;
  animation-delay: calc(var(--order) * 0.04s);
}

.home-page-body .product-card {
  opacity: 1;
  transform: none;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(24, 72, 47, 0.12);
  border-color: rgba(47, 138, 56, 0.22);
}

.product-image-container {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(165deg, #f4f8f3, #e9efe7);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-btn {
  position: absolute;
  top: 0.45rem;
  left: 0.45rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1px solid #d7dfd4;
  background: rgba(255, 255, 255, 0.92);
  color: #7e8c82;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

.wishlist-btn.active {
  color: #e14a5b;
  border-color: #f2c8cf;
  background: #fff6f8;
}

.discount-badge {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  padding: 0.23rem 0.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, #ff9f39, #ff8b1f);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  z-index: 2;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.62rem 0.18rem 0.18rem;
}

.product-card .benefit {
  margin: 0;
  color: #66796f;
  font-size: 0.77rem;
  line-height: 1.4;
  min-height: 2.15em;
}

.product-title-link {
  color: #253d31;
  text-decoration: none;
}

.product-info h3 {
  margin: 0.42rem 0 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.product-bottom-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
}

.price-block {
  min-width: 0;
}

.price-label {
  display: block;
  color: #839089;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.price-values {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.price-now {
  color: #1f2f28;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.price-old {
  color: #8a968f;
  font-size: 0.78rem;
  text-decoration: line-through;
  font-weight: 700;
}

.add-cart-btn-pill {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0 0.95rem;
  background: #138f36;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(19, 143, 54, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.add-cart-btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(19, 143, 54, 0.25);
}

.section-footer {
  max-width: 1200px;
  margin: 1rem auto 0;
  display: flex;
  justify-content: flex-end;
  padding: 0 0.25rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: #e5f2e8;
  color: #2a6948;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background: #fdfdfd;
  border-top: 1px solid #eef2ee;
  padding: 4.2rem 1rem 2.2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand {
  min-width: 0;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  margin: 0 0 0.85rem;
  color: #6b7280;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-bio {
  margin: 0 0 1.2rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.7;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0fdf4;
  color: #2c583e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icon:hover {
  background: #2c583e;
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
  margin: 0 0 1rem;
  color: #1a3c2a;
  font-size: 1.05rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #2c583e;
  padding-left: 4px;
}

.footer-newsletter p {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  border: 1px solid #e3eadf;
  border-radius: 999px;
  outline: none;
  background: #fff;
}

.newsletter-form button {
  border: 0;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  background: #2c583e;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.footer-bottom {
  max-width: 1400px;
  margin: 2.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid #eef2ee;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.slider-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 25;
}

.nav-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #1a3c2a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 22px rgba(14, 32, 18, 0.1);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.92);
}

.slide-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.slide-btn-full {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  background: #2f8a38;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(25, 94, 35, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slide-btn-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(25, 94, 35, 0.32);
}

.hero-search-wrapper {
  width: min(100%, 480px);
  margin: 0 auto 1.25rem;
}

.hero-search-form {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 0.85rem 1rem 0.85rem 3rem;
  box-shadow: 0 18px 40px rgba(21, 55, 28, 0.16);
  backdrop-filter: blur(12px);
}

.search-icon-subtle {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  color: #5a6d5e;
  pointer-events: none;
}

.hero-search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #274031;
}

.hero-search-form input::placeholder {
  color: #758276;
}

.slide-trust-signals {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(26, 60, 42, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 20;
}

.dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(35, 77, 44, 0.28);
}

.dot.active {
  width: 24px;
  background: #2f8a38;
}

.mobile-cart-strip {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    padding: 0.8rem 0.8rem 0.45rem;
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(17, 40, 28, 0.08) !important;
  }

  .mobile-header-hide {
    display: none !important;
  }

  .site-nav {
    padding: 0.85rem 0.9rem 0.92rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(47, 93, 58, 0.08);
    box-shadow: 0 10px 24px rgba(17, 40, 28, 0.08);
    backdrop-filter: none;
  }

  .nav-wrapper {
    gap: 0.45rem;
  }

  .nav-logo {
    width: 64px;
    height: 64px;
  }

  .nav-brand-name {
    font-size: 1rem;
    letter-spacing: 0.045em;
  }

  .nav-right {
    gap: 0.6rem;
  }

  .menu-trigger {
    display: none !important;
  }

  .nav-btn-icon {
    width: 42px;
    height: 42px;
    background: #ffffff;
    border-color: rgba(47, 93, 58, 0.12);
  }

  .mobile-header-cart,
  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
  }

  .nav-main-row {
    flex-wrap: wrap;
    row-gap: 0.7rem;
  }

  .home-page-body .mobile-search-pill {
    display: flex;
    order: 2;
    flex: 1 1 100%;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    position: relative;
    padding: 0.78rem 0.95rem 0.78rem 2.9rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(47, 93, 58, 0.1);
    box-shadow: 0 4px 12px rgba(17, 40, 28, 0.05);
  }

  .hero-search-wrapper {
    display: none;
  }

  .mobile-search-pill .search-icon-subtle {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: #5a6d5e;
    pointer-events: none;
  }

  .mobile-search-pill input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.94rem;
    color: #1f3b2a;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(40, 74, 45, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    justify-content: flex-start;
    padding: 0.85rem 1rem;
    border-radius: 14px;
  }

  .hero-slider {
    height: 58svh;
    min-height: 410px;
  }

  .slide-bg::after {
    background: rgba(23, 52, 28, 0.42);
  }

  .slide-container {
    align-items: flex-start;
    padding: 2rem 0.95rem 3rem;
  }

  .slide-content {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding-top: 1.2rem;
  }

  .slide-content h1 {
    color: #fff;
    font-size: clamp(1.6rem, 8.8vw, 2.3rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
    margin-bottom: 0.6rem;
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.18);
  }

  .hero-subhead {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.55;
    margin-bottom: 0.55rem;
  }

  .slide-actions {
    margin-top: 7.15rem;
    margin-bottom: 0.1rem;
  }

  .slide-btn-full {
    width: 100%;
    max-width: 220px;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 0.94rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
  }

  .hero-search-wrapper {
    width: 100%;
    max-width: 290px;
    margin-bottom: 0.35rem;
  }

  .hero-search-form {
    border-radius: 16px;
    padding: 0.82rem 0.95rem 0.82rem 2.8rem;
  }

  .hero-search-form input {
    font-size: 0.94rem;
  }

  .slide-trust-signals {
    display: none;
  }

  .slider-nav {
    display: none;
  }

  .slider-dots {
    bottom: 4.4rem;
  }

  .mobile-cart-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    position: fixed;
    bottom: 6.2rem;
    left: 1rem;
    right: 1rem;
    z-index: 2205;
    padding: 0.85rem 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 32px rgba(18, 35, 22, 0.18), 0 4px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(120%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    cursor: pointer;
  }

  .mobile-cart-strip-summary {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .mobile-cart-strip-summary-title {
    margin: 0;
    color: #173b28;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-cart-strip-summary-price {
    margin: 0;
    color: #5e7067;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-cart-strip.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-cart-strip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a7045;
  }

  .mobile-cart-strip-badge {
    background: #d94d4d;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0 6px;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #fff;
    box-shadow: 0 2px 5px rgba(217, 77, 77, 0.3);
    margin-left: -10px;
    margin-top: -12px;
  }

  .mobile-cart-strip-link {
    color: #1a7045;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
  }

  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.35rem;
    position: fixed;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    width: min(calc(100vw - 1rem), 420px);
    padding: 0.55rem 0.5rem 0.6rem;
    border-radius: 22px;
    background: rgba(245, 249, 244, 0.96);
    border: 1px solid rgba(40, 74, 45, 0.08);
    box-shadow: 0 18px 40px rgba(20, 35, 23, 0.18);
    z-index: 2100;
    backdrop-filter: blur(18px);
  }

  .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    padding: 0.45rem 0.15rem;
    border-radius: 18px;
    text-decoration: none;
    color: #6d7c72;
    font-family: 'Poppins', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
  }

  .mobile-nav-link.active {
    color: #fff;
    background: linear-gradient(180deg, #2f8a38, #23722e);
    box-shadow: 0 10px 18px rgba(35, 114, 46, 0.24);
  }

  .mobile-nav-label {
    line-height: 1;
  }

  .mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #d94d4d;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(245, 249, 244, 0.96);
  }

  .page-content {
    padding-bottom: 6.25rem;
  }

  .category-showcase {
    margin-top: 0.65rem;
    padding: 1rem 0.72rem 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 248, 240, 0.96));
    border: 1px solid rgba(42, 96, 58, 0.08);
    border-radius: 24px 24px 20px 20px;
    box-shadow: 0 14px 28px rgba(24, 72, 47, 0.05);
  }

  .category-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .category-showcase-title {
    min-width: 0;
    flex: 1 1 auto;
  }

  .category-showcase-title h2 {
    font-size: 1.15rem;
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .category-view-all {
    font-size: 0.78rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 110px;
    grid-template-columns: unset;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    gap: 0.7rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .category-item {
    scroll-snap-align: start;
    padding: 0.8rem 0.65rem;
    border-radius: 18px;
  }

  .category-item-image {
    width: 66px;
    height: 66px;
  }

  .category-item-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .nav-logo {
    width: 44px;
    height: 44px;
  }

  .nav-brand-name {
    font-size: 0.95rem;
  }

  .slide-container {
    padding-top: 1.45rem;
  }

  .slide-content {
    padding-top: 1rem;
  }

  .slide-content h1 {
    font-size: clamp(1.5rem, 9.8vw, 2.05rem);
  }

  .hero-slider {
    min-height: 380px;
  }

  .category-showcase {
    margin-top: 0.45rem;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .category-rail {
    grid-auto-columns: 102px;
  }
}

@media (max-width: 640px) {
  .product-section {
    padding: 1.1rem 0.55rem 1.55rem;
  }

  .section-header {
    margin-bottom: 0.95rem;
    padding: 0 0.15rem;
  }

  .section-header h2 {
    margin-top: 0.45rem;
    font-size: clamp(1.55rem, 7.6vw, 2rem);
  }

  .section-header p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.56rem;
  }

  .product-card {
    opacity: 1;
    transform: none;
    padding: 0.45rem;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(24, 72, 47, 0.08);
  }

  .product-card.visible {
    animation: none;
  }

  .product-image-container {
    aspect-ratio: 1 / 1;
    min-height: 168px;
    background: #fff;
    border: 1px solid #eef3ec;
  }

  .product-img {
    object-fit: contain;
    padding: 0.45rem;
  }

  .wishlist-btn,
  .discount-badge {
    top: 0.45rem;
  }

  .wishlist-btn {
    left: 0.45rem;
    width: 2rem;
    height: 2rem;
  }

  .discount-badge {
    right: 0.45rem;
    font-size: 0.66rem;
    padding: 0.25rem 0.55rem;
  }

  .product-info {
    padding: 0.58rem 0.1rem 0.12rem;
  }

  .product-card .benefit {
    color: #13a36a;
    font-size: 0.74rem;
    font-weight: 600;
    min-height: 1.55em;
  }

  .product-info h3 {
    margin-top: 0.35rem;
    font-size: 0.92rem;
    line-height: 1.12;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
  }

  .product-bottom-row {
    align-items: center;
    gap: 0.45rem;
    padding-top: 0.55rem;
    flex-wrap: wrap;
  }

  .price-label {
    font-size: 0.62rem;
  }

  .price-now {
    color: #119552;
    font-size: 0.98rem;
  }

  .price-old {
    font-size: 0.72rem;
  }

  .add-cart-btn-pill {
    min-height: 2.55rem;
    padding: 0 1rem;
    background: #222;
    font-size: 0.9rem;
    box-shadow: none;
  }

  .site-footer {
    padding: 2.6rem 0.75rem 6.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-brand,
  .footer-links,
  .footer-newsletter {
    text-align: left;
  }

  .footer-logo-img {
    height: 52px;
    margin-bottom: 0.85rem;
  }

  .social-links {
    justify-content: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.45rem;
    margin-top: 1.8rem;
  }
}

@media (min-width: 641px) {
  .product-section {
    padding: 3rem 1rem 2.4rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .product-image-container {
    aspect-ratio: 1.05 / 1;
  }

  .price-now {
    font-size: 1.45rem;
  }
}

@media (min-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .section-header {
    text-align: center;
  }

  .section-footer {
    justify-content: center;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .section-header,
  .product-grid,
  .section-footer {
    max-width: 1640px;
  }

  .product-section {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .product-card {
    padding: 0.56rem;
    border-radius: 18px;
  }

  .product-image-container {
    aspect-ratio: 1 / 1;
  }

  .product-info h3 {
    font-size: 1.06rem;
  }

  .product-card .benefit {
    font-size: 0.88rem;
  }

  .price-now {
    font-size: 1.7rem;
  }

  .price-old {
    font-size: 0.86rem;
  }
}

@media (min-width: 768px) {
  .site-nav .mobile-search-pill {
    display: flex !important;
    flex: 1 1 420px;
    max-width: 520px;
    margin: 0 1rem;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.78rem 0.95rem 0.78rem 2.9rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(47, 93, 58, 0.1);
    box-shadow: 0 4px 12px rgba(17, 40, 28, 0.05);
  }

  .nav-main-row {
    flex-wrap: nowrap;
  }

  .nav-links {
    display: flex;
    flex: 0 0 auto;
    margin-top: 0;
    justify-content: center;
    gap: 0.9rem;
    border-top: 0;
    padding-top: 0;
    width: auto;
  }

  .nav-right {
    flex: 0 0 auto;
  }

  .hero-search-wrapper {
    display: none !important;
  }

  .mobile-cart-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: min(720px, calc(100vw - 2rem));
    z-index: 2205;
    padding: 0.85rem 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 32px rgba(18, 35, 22, 0.18), 0 4px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
  }

  .mobile-cart-strip.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

/* ── Desktop & Large Screen Refinements (min-width: 1024px) ── */
@media (min-width: 1024px) {
  /* Layout Container */
  .page-shell, 
  .site-nav,
  .page-content,
  .footer-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Navbar Desktop Layout */
  .site-header {
    padding: 0.75rem 2rem !important;
  }

  .nav-main-row {
    display: grid;
    grid-template-columns: 240px minmax(360px, 1fr) minmax(220px, 1fr) 320px;
    align-items: center;
    gap: 2rem;
  }

  .nav-links {
    margin-top: 0;
    justify-content: center;
    gap: 1.15rem;
  }

  .nav-link {
    background: transparent;
    padding: 0.5rem 0;
    border-radius: 0;
    color: #1a3c2a;
    font-size: 1rem;
    position: relative;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #167447;
    transition: width 0.3s ease;
  }

  .nav-link:hover,
  .nav-link.active {
    background: transparent;
    color: #167447;
    transform: none;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .nav-actions {
    margin-top: 0;
    justify-content: flex-end;
  }

  /* Hero Slider Desktop */
  .hero-slider {
    min-height: 520px;
    border-radius: 32px;
    margin: 1.5rem auto;
    overflow: hidden;
  }

  .slide-container {
    padding: 0 5rem;
    display: flex;
    align-items: center;
  }

  .slide-content {
    max-width: 600px;
    text-align: left;
  }

  .slide-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
  }

  .hero-subhead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
  }

  .slide-actions {
    justify-content: flex-start;
  }

  .slide-trust-signals {
    justify-content: flex-start;
    margin-top: 3.5rem;
    gap: 2.5rem;
  }

  /* Category Showcase */
  .category-showcase {
    padding: 3rem 0;
  }

  .category-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    overflow: visible;
    padding: 0;
  }

  .category-item {
    width: 100%;
    padding: 1.5rem;
  }

  /* Product Grid Refinement */
  .product-section {
    padding: 5rem 0;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .product-card {
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(17, 40, 28, 0.12);
  }

  /* Footer Desktop */
  .site-footer {
    padding: 5rem 0 3rem;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
  }

  .footer-brand p.footer-bio {
    max-width: 320px;
  }

  .newsletter-form {
    flex-direction: row;
    gap: 0;
    background: #f4f8f4;
    padding: 4px;
    border-radius: 12px;
  }

  .newsletter-form input {
    background: transparent;
    border: 0;
  }

  .newsletter-form button {
    width: auto;
    padding: 0.8rem 2rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(47, 93, 58, 0.1);
  }

  /* Hide Mobile Specific Elements */
  .mobile-bottom-nav {
    display: none !important;
  }
}
