:root {
  --ring: rgba(200, 146, 46, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  background-image: radial-gradient(circle at 10% 10%, rgba(94, 139, 114, 0.16), transparent 28%), radial-gradient(circle at 88% 24%, rgba(200, 146, 46, 0.2), transparent 36%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: none;
}

header,
main,
footer,
.mobile-app-nav {
  position: relative;
  z-index: 1;
}

.nav-shell {
  position: relative;
  overflow: visible;
  border-color: rgba(232, 221, 203, 0.95);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(249, 246, 239, 0.86));
  box-shadow: 0 18px 38px rgba(18, 55, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nav-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.nav-shell::after {
  content: '';
  position: absolute;
  inset: auto 10% -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 146, 46, 0), rgba(200, 146, 46, 0.55), rgba(200, 146, 46, 0));
  pointer-events: none;
}

.nav-shell .nav-link,
.nav-shell .nav-cart-btn {
  position: relative;
  overflow: hidden;
}

.nav-shell .nav-link::before,
.nav-shell .nav-cart-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.nav-shell .nav-link:hover::before,
.nav-shell .nav-cart-btn:hover::before {
  opacity: 1;
}

.nav-link {
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  color: #12372a;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.nav-link:hover {
  background: rgba(30, 93, 67, 0.08);
  color: #1e5d43;
}

.nav-icon-btn {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nav-icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(18, 55, 42, 0.14);
}

.nav-cart-btn {
  box-shadow: 0 6px 16px rgba(18, 55, 42, 0.13);
}

.hero-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 34%), radial-gradient(circle at 80% 30%, rgba(200, 146, 46, 0.2), transparent 38%);
  pointer-events: none;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(18, 55, 42, 0.08) 10%, rgba(18, 55, 42, 0.72) 75%);
}

#heroCarousel {
  position: relative;
}

#heroCarousel::before {
  content: '';
  position: absolute;
  inset: -25% -40%;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 60%);
  transform: translateX(-32%);
  animation: heroSweep 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.mobile-app-nav {
  backdrop-filter: blur(10px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(249, 246, 239, 0.9));
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  box-shadow: 0 14px 32px rgba(18, 55, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.mobile-app-nav ul {
  align-items: stretch;
}

.mobile-app-nav li {
  display: flex;
  min-width: 0;
}

.mobile-app-nav .mobile-tab {
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0.375rem 0.25rem;
  text-align: center;
  text-decoration: none;
}

.mobile-app-nav button.mobile-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.mobile-app-nav a:active,
.mobile-app-nav button:active {
  transform: scale(0.98);
}

.mobile-link {
  width: 100%;
}

.mobile-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.6rem;
  width: 1.6rem;
  border-radius: 999px;
  color: #1e5d43;
}

.mobile-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.25rem;
  min-height: 3.35rem;
  transition: color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.mobile-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.4rem;
  width: 1.4rem;
  border-radius: 999px;
  color: #1e5d43;
  line-height: 0;
  flex-shrink: 0;
}

.mobile-tab-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.mobile-tab-label {
  line-height: 1;
  font-size: 0.66rem;
}

.mobile-tab-badge {
  position: absolute;
  right: -0.45rem;
  top: -0.5rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #c8922e;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-tab:hover {
  color: #1e5d43;
}

.mobile-tab:active .mobile-tab-icon {
  transform: scale(0.95);
}

@media (min-width: 640px) {
  .mobile-link-icon {
    height: 1.75rem;
    width: 1.75rem;
  }

  .mobile-tab-icon {
    height: 1.55rem;
    width: 1.55rem;
  }

  .mobile-tab-icon svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .mobile-tab {
    min-height: 3.6rem;
  }
}

@media (max-width: 1023px) {
  body {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom));
  }
}

.search-suggestions {
  max-height: 280px;
  overflow-y: auto;
  z-index: 120;
}

#advancedFilters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

#advancedFilters select {
  min-height: 2.62rem;
  line-height: 1.1;
  padding-left: 0.9rem;
  padding-right: 2rem;
}

#categoryFilters {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.55rem;
}

#categoryFilters .filter-btn {
  min-height: 2.62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem;
  padding-right: 1rem;
  white-space: nowrap;
  line-height: 1;
}

#navSearchInlineDock {
  display: none;
}

#navSearchInlineDock .search-shell {
  margin-left: auto;
  margin-right: auto;
  max-width: 46rem;
}

#navShell.nav-shell--search-mode #desktopNav {
  display: none;
}

#navShell.nav-shell--search-mode #navSearchInlineDock {
  display: block;
}

#searchShell {
  transition: transform 260ms ease, opacity 220ms ease, box-shadow 220ms ease;
}

#searchShell #searchInput {
  border-color: rgba(232, 221, 203, 0.95);
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 55, 42, 0.1);
}

.search-shell--docked #searchInput {
  background: #fff;
  border: 1px solid rgba(210, 220, 230, 0.88);
  box-shadow: 0 16px 34px rgba(18, 55, 42, 0.14);
}

.search-shell--docked #clearSearch {
  display: none;
}

.search-shell--docked #searchSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid rgba(203, 213, 225, 0.95);
  color: #12372a;
  box-shadow: 0 6px 16px rgba(18, 55, 42, 0.08);
}

#searchSubmit:hover {
  background: #12372a;
  color: #f9f6ef;
}

.search-shell--docked .search-leading-icon {
  color: #4b6a58;
}

.search-shell--docked #searchHint {
  display: none;
}

.search-shell--anim-in {
  opacity: 0;
  transform: translateY(-10px) scale(0.985);
}

.search-shell--anim-out {
  opacity: 0;
  transform: translateY(8px) scale(0.992);
}

.nav-link,
.nav-cart-btn,
.filter-btn,
.slider-prev,
.slider-next,
.product-rail-card,
#productGrid > article,
.add-to-cart,
.preview-product,
.mobile-tab {
  position: relative;
  overflow: hidden;
}

.nav-link::before,
.nav-cart-btn::before,
.filter-btn::before,
.slider-prev::before,
.slider-next::before,
.product-rail-card::before,
#productGrid > article::before,
.add-to-cart::before,
.preview-product::before,
.mobile-tab::before {
  content: '';
  position: absolute;
  inset: -30% -42%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-58%);
  opacity: 0;
  pointer-events: none;
}

.nav-link:hover::before,
.nav-cart-btn:hover::before,
.filter-btn:hover::before,
.slider-prev:hover::before,
.slider-next:hover::before,
.product-rail-card:hover::before,
#productGrid > article:hover::before,
.add-to-cart:hover::before,
.preview-product:hover::before,
.mobile-tab:hover::before {
  opacity: 1;
  animation: hoverSweep 760ms ease forwards;
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(180px, 70%);
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-rail.rail-looping {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

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

.product-rail-card {
  scroll-snap-align: start;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-rail-card::before {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.product-rail-card::after {
  content: none;
  position: absolute;
  inset: -15% -35%;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.17) 50%, rgba(255, 255, 255, 0) 58%);
  transform: translateX(-40%);
  animation: cardSweep 11s ease-in-out infinite;
  pointer-events: none;
}

.rail-classic .product-rail-card::after {
  display: none;
}

.rail-classic .product-card-actions {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  flex-wrap: nowrap;
}

.rail-classic .product-card-actions .preview-product {
  margin-right: auto;
  text-decoration: underline;
  font-size: 0.88rem;
  white-space: nowrap;
}

.rail-classic .product-card-actions .wishlist-btn {
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.42rem;
}

.rail-classic .product-card-actions .add-to-cart {
  min-height: 2.28rem;
  min-width: 4.9rem;
  width: auto;
  padding: 0.46rem 0.98rem;
  font-size: 0.94rem;
}

#productGrid > article,
.product-rail-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#productGrid > article h3,
.product-rail-card h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
}

#productGrid > article p.line-clamp-2,
.product-rail-card p.line-clamp-2 {
  min-height: 2.8em;
}

.product-card-footer {
  display: block;
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-card-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    'details details'
    'wish add';
  align-items: center;
  gap: 0.5rem;
}

.product-card-actions .preview-product {
  grid-area: details;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  white-space: nowrap;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(74, 53, 37, 0.78);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  text-decoration-thickness: 1px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.product-card-actions .preview-product:hover {
  color: #12372a;
  transform: translateY(-1px);
}

.product-card-actions .wishlist-btn {
  grid-area: wish;
  justify-self: center;
  position: relative;
  min-width: 2.34rem;
  min-height: 2.34rem;
  padding: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 15px rgba(18, 55, 42, 0.08);
}

.product-card-actions .add-to-cart {
  grid-area: add;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 5.2rem;
  padding: 0.56rem 1rem;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  background: linear-gradient(150deg, #14523d, #0f4734);
  box-shadow: 0 10px 24px rgba(18, 55, 42, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-card-actions .add-to-cart:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(18, 55, 42, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.wishlist-btn.wishlist-pulse {
  animation: wishlistPulse 430ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wishlist-btn.wishlist-burst::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(239, 68, 68, 0.75);
  box-shadow: 0 0 0 1px rgba(254, 202, 202, 0.6);
  animation: wishlistBurst 440ms ease-out forwards;
}

.wishlist-btn--liked {
  color: #dc2626 !important;
  background: rgba(254, 226, 226, 0.9);
  border-color: rgba(239, 68, 68, 0.42) !important;
}

.wishlist-btn:focus,
.wishlist-btn:focus-visible {
  outline: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 15px rgba(18, 55, 42, 0.08) !important;
}

.wishlist-micro-toast {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(153, 27, 27, 0.35);
  transform: translate(-50%, -50%);
  animation: wishlistToast 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.single-card-rail {
  grid-auto-columns: minmax(100%, 100%);
  overflow-x: hidden;
}

.single-card-rail .product-rail-card {
  width: 100%;
}

#productGrid.product-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

#productGrid.product-grid-single > article {
  grid-column: 1 / -1;
  width: 100%;
}

.rail-indicator {
  position: relative;
  margin-top: 0.7rem;
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: rgba(18, 55, 42, 0.08);
  overflow: hidden;
}

.rail-indicator-progress {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 16%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 93, 67, 0.22), rgba(200, 146, 46, 0.28), rgba(30, 93, 67, 0.22));
  transition: left 200ms linear;
}

.wishlist-btn {
  transition: all 200ms ease;
}

.wishlist-btn:hover {
  transform: translateY(-1px);
}

.category-card {
  position: relative;
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: auto -35% -120px;
  height: 180px;
  background: radial-gradient(circle, rgba(30, 93, 67, 0.22), transparent 65%);
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(18, 55, 42, 0.25);
  box-shadow: 0 20px 35px rgba(18, 55, 42, 0.11);
}

.panel {
  animation: reveal 350ms ease;
}

.section-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.section-reveal.section-prime {
  opacity: 1;
  transform: none;
}

.section-reveal.section-prime.section-in {
  animation: sectionEnter 500ms ease both;
}

.stagger-item {
  opacity: 1;
  transform: none;
  transition: none;
}

.stagger-item.stagger-in {
  animation: cardStaggerIn 460ms ease both;
  animation-delay: var(--stagger-delay, 0ms);
}

#welcomeExperience.welcome-reveal {
  animation: welcomeReveal 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes welcomeReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    filter: saturate(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
  }
}

@keyframes sectionEnter {
  from {
    opacity: 0.55;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardStaggerIn {
  from {
    opacity: 0.6;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSweep {
  0%, 68%, 100% {
    transform: translateX(-36%);
    opacity: 0;
  }
  74% {
    opacity: 0.78;
  }
  86% {
    transform: translateX(36%);
    opacity: 0;
  }
}

@keyframes cardSweep {
  0%, 72%, 100% {
    transform: translateX(-42%);
    opacity: 0;
  }
  78% {
    opacity: 0.72;
  }
  90% {
    transform: translateX(40%);
    opacity: 0;
  }
}

@keyframes wishlistPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.2); }
  65% { transform: scale(0.94); }
  100% { transform: scale(1); }
}

@keyframes wishlistBurst {
  from {
    opacity: 0.96;
    transform: scale(0.72);
  }
  to {
    opacity: 0;
    transform: scale(1.36);
  }
}

@keyframes wishlistToast {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.86);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -65%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(0.97);
  }
}

@keyframes hoverSweep {
  0% {
    transform: translateX(-58%);
  }
  100% {
    transform: translateX(54%);
  }
}

.product-rail-card:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(232, 221, 203, 0.95);
}

#productGrid > article {
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 55, 42, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

#productGrid > article:hover {
  transform: none;
  box-shadow: 0 12px 30px rgba(18, 55, 42, 0.12);
  border-color: rgba(232, 221, 203, 0.95);
}

.product-rail[data-category="Body Wash"] {
  grid-auto-columns: minmax(180px, 70%);
  gap: 0.75rem;
}

.product-rail[data-category="Body Wash"] .product-rail-card {
  padding: 0.75rem;
}

.product-rail[data-category="Body Wash"] .product-rail-card img {
  height: 8rem;
}

.product-rail[data-category="Body Wash"] .product-rail-card h4 {
  font-size: 1.25rem;
}

.product-rail[data-category="Body Wash"] .product-card-actions {
  gap: 0.5rem;
}

.lg\:hidden section[data-category] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.lg\:hidden section[data-category]::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  display: none;
  z-index: 0;
}

.lg\:hidden section[data-category] > * {
  position: relative;
  z-index: 1;
}

.lg\:hidden section[data-category] {
  --rail-accent: #1e5d43;
  --rail-accent-soft: rgba(30, 93, 67, 0.13);
  --rail-tint: rgba(30, 93, 67, 0.05);
}

.lg\:hidden section[data-category="Body Oils"] {
  --rail-accent: #9a6b28;
  --rail-accent-soft: rgba(154, 107, 40, 0.2);
  --rail-tint: rgba(200, 146, 46, 0.1);
}

.lg\:hidden section[data-category="Body Wash"] {
  --rail-accent: #2b7a78;
  --rail-accent-soft: rgba(43, 122, 120, 0.2);
  --rail-tint: rgba(43, 122, 120, 0.09);
}

.lg\:hidden section[data-category="Essential Oils"] {
  --rail-accent: #2f6a52;
  --rail-accent-soft: rgba(47, 106, 82, 0.19);
  --rail-tint: rgba(47, 106, 82, 0.08);
}

.lg\:hidden section[data-category="Hair Growth"] {
  --rail-accent: #5d3f2f;
  --rail-accent-soft: rgba(93, 63, 47, 0.2);
  --rail-tint: rgba(93, 63, 47, 0.08);
}

.lg\:hidden section[data-category="Spa Essentials"] {
  --rail-accent: #4f6d8a;
  --rail-accent-soft: rgba(79, 109, 138, 0.2);
  --rail-tint: rgba(79, 109, 138, 0.08);
}

.lg\:hidden section[data-category] {
  background: #fff;
  border-color: rgba(232, 221, 203, 0.95);
}

.lg\:hidden section[data-category] h3 {
  color: #12372a;
  letter-spacing: 0.01em;
}

.lg\:hidden section[data-category] .slider-prev,
.lg\:hidden section[data-category] .slider-next {
  border-color: rgba(203, 213, 225, 1);
  color: #12372a;
  background: #fff;
  box-shadow: none;
}

.lg\:hidden section[data-category] .slider-prev:hover,
.lg\:hidden section[data-category] .slider-next:hover {
  background: #fff;
}

.lg\:hidden section[data-category] .product-rail-card {
  border-color: rgba(232, 221, 203, 0.95);
}

.lg\:hidden section[data-category] .rail-indicator {
  background: rgba(18, 55, 42, 0.08);
}

.lg\:hidden section[data-category] .rail-indicator-progress {
  background: linear-gradient(90deg, rgba(30, 93, 67, 0.22), rgba(200, 146, 46, 0.28), rgba(30, 93, 67, 0.22));
}

#curatedRails section[data-curated-key] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --curated-accent: #1e5d43;
  --curated-accent-soft: rgba(30, 93, 67, 0.18);
  --curated-tint: rgba(30, 93, 67, 0.07);
  background: #fff;
  border-color: rgba(232, 221, 203, 0.95);
}

#curatedRails section[data-curated-key]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  display: none;
  pointer-events: none;
  z-index: 0;
}

#curatedRails section[data-curated-key] > * {
  position: relative;
  z-index: 1;
}

#curatedRails section[data-curated-key="top-picks"] {
  --curated-accent: #6b4f2f;
  --curated-accent-soft: rgba(107, 79, 47, 0.2);
  --curated-tint: rgba(200, 146, 46, 0.11);
}

#curatedRails section[data-curated-key="new-arrivals"] {
  --curated-accent: #2f6a52;
  --curated-accent-soft: rgba(47, 106, 82, 0.2);
  --curated-tint: rgba(47, 106, 82, 0.09);
}

#curatedRails section[data-curated-key="best-sellers"] {
  --curated-accent: #4f5f8a;
  --curated-accent-soft: rgba(79, 95, 138, 0.2);
  --curated-tint: rgba(79, 95, 138, 0.1);
}

#curatedRails section[data-curated-key] h3 {
  color: #12372a;
  letter-spacing: 0.01em;
}

#curatedRails section[data-curated-key] .slider-prev,
#curatedRails section[data-curated-key] .slider-next {
  color: #12372a;
  border-color: rgba(203, 213, 225, 1);
  background: #fff;
}

#curatedRails section[data-curated-key] .slider-prev:hover,
#curatedRails section[data-curated-key] .slider-next:hover {
  background: #fff;
}

#curatedRails section[data-curated-key] .product-rail-card {
  border-color: rgba(232, 221, 203, 0.95);
}

#curatedRails section[data-curated-key] .rail-indicator {
  background: rgba(18, 55, 42, 0.08);
}

#curatedRails section[data-curated-key] .rail-indicator-progress {
  background: linear-gradient(90deg, rgba(30, 93, 67, 0.22), rgba(200, 146, 46, 0.28), rgba(30, 93, 67, 0.22));
}

#curatedRails section[data-curated-key] .product-rail {
  grid-auto-columns: minmax(238px, 26%);
  gap: 0.92rem;
}

#mobileProductSliders section[data-category="Hair Growth"] .product-rail {
  grid-auto-columns: minmax(190px, 76%);
  gap: 0.82rem;
}

#mobileProductSliders section[data-category="Hair Growth"] .product-card-actions {
  gap: 0.6rem;
}

.add-to-cart {
  letter-spacing: 0.02em;
}

.preview-product {
  letter-spacing: 0.01em;
}

@media (max-width: 640px) {
  #categoryFilters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.12rem;
  }

  #categoryFilters::-webkit-scrollbar {
    display: none;
  }

  #categoryFilters .filter-btn {
    flex: 0 0 auto;
  }

  .category-card {
    border-radius: 1.25rem;
  }

  .search-shell {
    order: 3;
  }

  .product-rail {
    grid-auto-columns: minmax(170px, 76%);
  }

  .product-rail[data-category="Body Wash"] {
    grid-auto-columns: minmax(170px, 76%);
  }

  .product-rail[data-category="Body Wash"] .product-rail-card img {
    height: 7.4rem;
  }

  #curatedRails section[data-curated-key] .product-rail {
    grid-auto-columns: minmax(190px, 76%);
    gap: 0.72rem;
  }

  #mobileProductSliders section[data-category="Hair Growth"] .product-rail {
    grid-auto-columns: minmax(180px, 78%);
    gap: 0.72rem;
  }

  .product-card-actions {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      'details details'
      'wish add';
    gap: 0.46rem;
  }

  #navSearchInlineDock { display: none !important; }
}

@media (max-width: 430px) {
  .nav-shell {
    border-radius: 1.2rem;
    padding: 0.45rem 0.55rem;
  }

  #mobileNav {
    margin-top: 0.55rem;
    border-radius: 1.15rem;
    padding: 0.9rem;
  }

  #heroCarousel {
    border-radius: 1.4rem;
  }

  #heroCarousel .absolute.inset-x-0.bottom-0 {
    padding: 1rem;
  }

  .mobile-app-nav {
    left: 0.4rem;
    right: 0.4rem;
    border-radius: 1rem;
    padding: 0.45rem;
    padding-bottom: calc(0.45rem + env(safe-area-inset-bottom));
  }

  .mobile-tab {
    min-height: 3.15rem;
    gap: 0.2rem;
  }

  .mobile-tab-label {
    font-size: 0.68rem;
  }

  .product-rail {
    grid-auto-columns: minmax(160px, 84%);
    gap: 0.65rem;
  }

  .product-rail[data-category="Body Wash"] {
    grid-auto-columns: minmax(160px, 84%);
    gap: 0.65rem;
  }

  .product-rail[data-category="Body Wash"] .product-rail-card img {
    height: 7rem;
  }

  .product-rail[data-category="Body Wash"] .product-rail-card h4 {
    font-size: 1.04rem;
    line-height: 1.2;
  }

  #shop {
    padding-bottom: 3.5rem;
  }

  #productGrid {
    gap: 0.8rem;
  }

  #productGrid article {
    padding: 0.72rem;
  }

  #productGrid article h3 {
    font-size: 1.04rem;
    line-height: 1.2;
  }

  #productGrid article img {
    height: 8rem;
  }

  #productGrid .add-to-cart {
    padding: 0.5rem 0.7rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 390px) {
  body {
    line-height: 1.45;
  }

  header > .max-w-7xl {
    padding-left: 0.72rem;
    padding-right: 0.72rem;
  }

  .nav-shell {
    margin-top: 0.5rem;
    gap: 0.5rem;
    border-radius: 1rem;
  }

  .nav-shell a img {
    height: 2.75rem;
  }

  #mobileNav {
    padding: 0.8rem;
  }

  #heroCarousel .absolute.inset-x-0.bottom-0 {
    padding: 0.9rem;
  }

  #heroCarousel h1,
  #heroCarousel h2 {
    font-size: 1.72rem;
    line-height: 0.98;
    text-wrap: balance;
  }

  #heroCarousel p {
    letter-spacing: 0.19em;
  }

  #heroCarousel .absolute.inset-x-0.bottom-0 a {
    min-height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #heroIndicators {
    bottom: 0.3rem;
    gap: 0.38rem;
  }

  #heroIndicators .hero-indicator {
    width: 1.6rem;
    height: 0.42rem;
  }

  #searchInput {
    padding-left: 2.25rem;
    padding-right: 4.55rem;
    font-size: 0.8rem;
  }

  #clearSearch {
    right: 0.32rem;
    padding: 0.3rem 0.52rem;
  }

  #categoryFilters {
    gap: 0.38rem;
  }

  #categoryFilters .filter-btn {
    padding: 0.44rem 0.68rem;
    font-size: 0.72rem;
  }

  #productGrid article {
    border-radius: 1rem;
  }

  #productGrid article .product-card-actions .wishlist-btn {
    min-height: 2.05rem;
    min-width: 2.05rem;
    padding: 0.38rem;
  }

  #productGrid article .product-card-actions .preview-product {
    font-size: 0.76rem;
  }

  #productGrid article .product-card-actions .add-to-cart {
    min-height: 2rem;
    border-radius: 999px;
    padding: 0.42rem 0.68rem;
    min-width: 4.45rem;
    font-size: 0.86rem;
  }

  .mobile-app-nav {
    left: 0.32rem;
    right: 0.32rem;
    padding: 0.38rem;
  }

  .mobile-tab {
    min-height: 3.05rem;
  }
}

@media (max-width: 360px) {
  .search-shell--docked #searchSubmit {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
  }

  .search-shell--docked .search-submit-label {
    display: none;
  }

  .search-shell--docked .search-submit-icon {
    display: block;
  }

  #heroCarousel h1,
  #heroCarousel h2 {
    font-size: 1.56rem;
  }

  #productGrid article h3 {
    font-size: 0.98rem;
  }

  #productGrid article p.text-[10px] {
    letter-spacing: 0.12em;
  }

  .mobile-tab-label {
    font-size: 0.63rem;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .product-rail {
    grid-auto-columns: minmax(300px, 56%);
  }
}
