/* Home: avoid sticky-footer flex stretch leaving a cream strip above the dark footer */
#homeLiveRoot {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

body.page-home main.flex-grow-1 {
  flex-grow: 0 !important;
  min-height: 0;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-home .navbar-dharani {
  margin-bottom: 0 !important;
}

body.page-home #homeLiveRoot,
body.page-home #home-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-home #homeLiveRoot > .home-block--hero:first-child {
  margin-top: -2.5rem !important;
}

/* Scroll target: clear fixed navbar */
#home-hero {
  scroll-margin-top: 4.75rem;
}

#homeProductsSection,
#homeLearnSection,
#homeContactSection {
  scroll-margin-top: 4.75rem;
}

/* ─── Home commerce UI (modern store front) ─── */
body.page-home #homeLiveRoot>.home-block:not(.home-block--hero) {
  padding-block: clamp(3.25rem, 5vw, 5.5rem);
}

.home-block--compare {
  padding-block: clamp(3rem, 4.5vw, 4.5rem) !important;
}

.home-block--hero.home-hero-carousel {
  isolation: isolate;
}

.home-hero-carousel__inner.carousel {
  overflow: hidden;
}

.home-hero-caption-eyebrow {
  letter-spacing: 0.16em;
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.88);
}

.home-hero-caption-title {
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;

  max-width: 22rem;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;

  display: block;
}

@media (min-width: 768px) {
  .home-hero-caption-title {
    max-width: 32rem;
  }
}

.border-top-soft {
  border-top: 1px solid rgba(27, 94, 58, 0.08) !important;
}

/* Section typography */
.home-section-head__title.section-title {
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  letter-spacing: -0.025em;
  font-weight: 700;
}

.home-section-head__subtitle {
  font-size: 0.965rem;
  line-height: 1.55;
}

.home-section-head__rule.leaf-divider.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.home-section-head__rule:not(.mx-auto).leaf-divider {
  max-width: 4rem;
}

/* About */
.home-block--about .home-about-heading+.home-about-lead,
.home-about-block__text .home-about-heading~.home-about-lead {
  font-size: 1.0825rem;
  line-height: 1.6;
}

.home-about-heading,
#homeLearnSection header {
  display: inline-block;
  max-width: 100%;
}

.home-about-heading .leaf-divider,
#homeLearnSection header .leaf-divider {
  margin: 0.75rem auto 0;
}

.home-about-body {
  line-height: 1.73;
  font-size: 0.9625rem;
}

.home-about-media {
  border: 1px solid rgba(27, 94, 58, 0.1);
  box-shadow:
    0 4px 6px rgba(15, 36, 24, 0.04),
    0 18px 40px rgba(15, 36, 24, 0.08);
}

/* ─── Before/After image comparison slider ─── */
.home-compare {
  max-width: 58rem;
  margin-inline: auto;
}

.home-compare__frame {
  position: relative;
  width: 100%;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 58, 0.12);
  background: rgba(27, 94, 58, 0.04);
  aspect-ratio: 16 / 9;
  touch-action: none;
}

.home-compare__badge {
  position: absolute;
  top: 1.15rem;
  z-index: 3;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1b5e3a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 36, 24, 0.14);
  box-shadow: 0 6px 18px rgba(15, 36, 24, 0.12);
  user-select: none;
  pointer-events: none;
}

.home-compare__badge--before {
  left: 1.15rem;
}

.home-compare__badge--after {
  right: 1.15rem;
}

.home-compare__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.home-compare__after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.home-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(15, 36, 24, 0.18),
    0 10px 30px rgba(15, 36, 24, 0.12);
  transform: translateX(-1px);
  z-index: 2;
}

.home-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 36, 24, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 25px rgba(15, 36, 24, 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  cursor: ew-resize;
  z-index: 4;
}

.home-compare__handle::before,
.home-compare__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.home-compare__handle::before {
  left: 0.55rem;
  transform: translateY(-50%);
  border-right: 7px solid rgba(27, 94, 58, 0.85);
}

.home-compare__handle::after {
  right: 0.55rem;
  transform: translateY(-50%);
  border-left: 7px solid rgba(27, 94, 58, 0.85);
}

.home-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.home-compare__hint {
  opacity: 0.9;
}

.home-compare-carousel-wrap {
  position: relative;
  max-width: 58rem;
  width: 100%;
}

.home-compare-carousel .carousel-item {
  transition: transform 0.6s ease-in-out;
}

.home-compare-carousel__nav {
  width: 2.75rem;
  height: 2.75rem;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 94, 58, 0.15);
  opacity: 0.95;
}

.home-compare-carousel__nav:hover {
  opacity: 1;
}

.home-compare-carousel__indicators [data-bs-target] {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background-color: rgba(27, 94, 58, 0.35);
}

.home-compare-carousel__indicators .active {
  background-color: var(--dharani-green, #1b5e3a);
}

.home-block--products-showcase {
  background: linear-gradient(165deg,
      var(--dharani-green-soft) 0%,
      #f0faf3 42%,
      #e8f5ee 100%);
}

.home-block--bestsellers {
  background:
    radial-gradient(120% 80% at 100% -20%, rgba(27, 94, 58, 0.05) 0%, transparent 55%),
    #fff;
}

.home-block--learn {
  background: linear-gradient(180deg, #eaf6ee 0%, var(--dharani-green-soft) 100%);
}

.home-empty-hint.home-empty-hint {
  font-size: 0.935rem;
}

/* Product strips: sharper cards only on homepage */
.home-block .card-product {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 10px 32px rgba(15, 36, 24, 0.07);
}

.home-block .card-product:hover {
  border-color: rgba(27, 94, 58, 0.18);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 18px 44px rgba(15, 36, 24, 0.12);
  transform: translateY(-6px);
}


.home-block .products-carousel-arrow {
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(145deg, var(--dharani-green-light), var(--dharani-green));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(15, 36, 24, 0.2);
}

.home-block .products-carousel-arrow:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
}

.home-cta.home-cta {
  box-shadow: 0 10px 28px rgba(27, 94, 58, 0.28);
}

.home-cta--primary:active {
  transform: translateY(1px);
}

/* Why choose — commerce-style feature tiles */
.home-block--why .benefit-icon,
.home-benefit-card .home-benefit-card__icon {
  width: 3.125rem;
  height: 3.125rem;
  font-size: 1.375rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(27, 94, 58, 0.12);
  box-shadow: 0 10px 24px rgba(15, 36, 24, 0.06);
}

.home-benefit-card__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: 1.125rem;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(27, 94, 58, 0.1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(15, 36, 24, 0.06);
  transition:
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.26s ease,
    border-color 0.26s ease;
}

@media (prefers-reduced-motion: reduce) {
  .home-benefit-card__inner {
    transition: none;
  }
}

.home-benefit-card:hover .home-benefit-card__inner {
  transform: translateY(-4px);
  border-color: rgba(27, 94, 58, 0.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 22px 48px rgba(15, 36, 24, 0.1);
}

.home-benefit-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--dharani-dark);
  margin-bottom: 0.35rem;
}

.home-benefit-card__text {
  font-size: 0.9rem !important;
  line-height: 1.6;
}

/* Testimonials */
.home-quote-card.home-quote-card {
  width: 100%;
  max-width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(27, 94, 58, 0.1);
  background: linear-gradient(165deg, #ffffff 0%, #fafdfb 56%, #f5faf7 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(15, 36, 24, 0.08);
}

.home-quote-card--has-photo.home-quote-card {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  border: none;
  background-image: var(--home-quote-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 50px rgba(15, 36, 24, 0.18);
}

.home-quote-card__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: inherit;
}

.home-quote-card--has-photo .home-quote-card__overlay {
  min-height: clamp(280px, 42vw, 420px);
  max-height: clamp(280px, 42vw, 420px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(
    165deg,
    rgba(10, 28, 18, 0.72) 0%,
    rgba(10, 28, 18, 0.58) 45%,
    rgba(10, 28, 18, 0.78) 100%
  );
}

.home-quote-card__quote.lead {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
  font-weight: 500;
  color: var(--dharani-dark);
  quotes: '"' '"';
  margin-bottom: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  text-wrap: pretty;
}

.home-quote-card figcaption {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.home-quote-card--has-photo .home-quote-card__quote {
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.home-quote-card__name {
  color: var(--dharani-green);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-quote-card--has-photo .home-quote-card__name {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.home-quote-card__role {
  display: inline-block;
  max-width: 100%;
  margin-top: 0;
  color: #5c6b62;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-quote-card--has-photo .home-quote-card__role {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

@keyframes home-quote-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-quote-card__quote,
.home-quote-card__name,
.home-quote-card__role {
  opacity: 0;
  transform: translateY(18px);
}

.carousel-item.active .home-quote-card__quote {
  animation: home-quote-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.carousel-item.active .home-quote-card__name {
  animation: home-quote-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.carousel-item.active .home-quote-card__role {
  animation: home-quote-reveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.34s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .home-quote-card__quote,
  .home-quote-card__name,
  .home-quote-card__role {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

.home-testimonial-carousel .carousel-inner {
  overflow: hidden;
}

.home-testimonial-carousel .carousel-item {
  min-width: 0;
}

.home-testimonial-carousel .carousel-item > .col-lg-8 {
  min-width: 0;
  max-width: 100%;
}

.home-testimonial-carousel .carousel-indicators [data-bs-target] {
  background-color: #ffffff !important;
  opacity: 1;
}

.home-testimonial-carousel .carousel-indicators .active[data-bs-target] {
  background-color: #ffffff !important;
  opacity: 1;
}

/* Learn + blog strip */
.home-learn-lead {
  font-size: 0.9625rem;
  line-height: 1.7;
}

.home-learn-list__link {
  color: var(--dharani-green);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.home-learn-list__link:hover {
  color: var(--dharani-green-light);
}

.home-learn-list__item {
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed rgba(27, 94, 58, 0.12);
}

.home-learn-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-learn-cta {
  background:
    radial-gradient(circle at 15% -10%, rgba(255, 255, 255, 0.25) 0%, transparent 45%),
    linear-gradient(150deg, #14532d 0%, var(--dharani-green) 48%, var(--dharani-green-light) 100%);
  min-height: 100%;
}

.home-learn-cta__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-learn-cta .btn-light:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--dharani-dark);
}

.home-learn-cta .btn-outline-light:hover,
.home-learn-cta .btn-outline-light:focus,
.home-learn-cta .btn-outline-light:active {
  background-color: transparent;
  color: #f8f9fa;
  border-color: #f8f9fa;
  box-shadow: none;
  transform: none;
}

/* Hero carousel refinement */
.home-hero-carousel {
  position: relative;
}

/* Floating “back to carousel” (shown after scrolling down) */
.home-scroll-to-hero {
  position: fixed;
  right: clamp(1rem, 4vw, 1.75rem);
  bottom: clamp(1rem, 5vh, 1.75rem);
  z-index: 1030;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: var(--dharani-green);
  color: #fff;
  box-shadow: 0 10px 28px rgba(15, 36, 24, 0.28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease,
    background-color 0.2s ease;
}

.home-scroll-to-hero:hover,
.home-scroll-to-hero:focus-visible {
  background: var(--dharani-green-light);
  color: #fff;
}

.home-scroll-to-hero:focus-visible {
  outline: 2px solid var(--dharani-green-light);
  outline-offset: 3px;
}

.home-scroll-to-hero.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.home-scroll-to-hero .bi {
  font-size: 1.35rem;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .home-scroll-to-hero {
    transition: none;
  }
}

.home-carousel-img {
  height: min(52vh, 440px);
  object-fit: cover;
}

@media (min-width: 992px) {
  .home-carousel-img {
    height: min(56vh, 520px);
  }
}

.home-carousel-caption {
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 2.5rem;
  padding-top: 3rem;
  background: linear-gradient(to top,
      rgba(15, 36, 24, 0.88) 0%,
      rgba(15, 36, 24, 0.35) 55%,
      transparent 100%);
}

.home-hero-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}

.home-hero-carousel .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  border: none;
  margin-inline: 3px;
  opacity: 0.42;
  background-color: #fff !important;
  transition: opacity 0.25s ease, width 0.25s ease, transform 0.25s ease;
}

.home-hero-carousel .carousel-indicators .active[data-bs-target] {
  opacity: 1;
  width: 40px;
}

.home-hero-carousel .home-hero-carousel__nav {
  width: 3rem;
  height: 3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s ease, background-color 0.2s ease;
  border-radius: 50%;
  background-color: rgba(15, 36, 24, 0.55);
}

.home-hero-carousel:hover .home-hero-carousel__nav,
.home-hero-carousel:focus-within .home-hero-carousel__nav {
  opacity: 1;
}

.home-hero-carousel .home-hero-carousel__nav:hover,
.home-hero-carousel .home-hero-carousel__nav:focus-visible {
  background-color: rgba(15, 36, 24, 0.78);
}

.home-hero-carousel .carousel-control-prev.home-hero-carousel__nav {
  left: 1rem;
}

.home-hero-carousel .carousel-control-next.home-hero-carousel__nav {
  right: 1rem;
}

/* Product showcase carousel */
.products-carousel-shell {
  position: relative;
}

.products-carousel-shell--with-arrows {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
}

body.page-home .home-block .products-carousel-shell--with-arrows {
  padding-left: clamp(2.5rem, 6vw, 3.25rem);
  padding-right: clamp(2.5rem, 6vw, 3.25rem);
}

.products-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dharani-green, #2d6a4f);
  color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.products-carousel-arrow:hover {
  background: var(--dharani-green-dark, #1b4332);
  color: #fff;
}

body.page-home .home-block .products-carousel-arrow:hover:not(:disabled) {
  background: linear-gradient(145deg, #3aa372, var(--dharani-green-dark, #154a30));
  color: #fff;
}

.products-carousel-arrow:focus-visible {
  outline: 2px solid var(--dharani-accent, #40916c);
  outline-offset: 2px;
}

.products-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.products-carousel-arrow--prev {
  left: max(0.25rem, env(safe-area-inset-left, 0px));
}

.products-carousel-arrow--next {
  right: max(0.25rem, env(safe-area-inset-right, 0px));
}

.products-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 0.5rem clamp(1rem, 4vw, 2rem) 0.75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.products-carousel--arrow-only {
  overflow-x: hidden;
  cursor: default;
  scroll-snap-type: none;
  touch-action: pan-y;
}

.products-carousel::-webkit-scrollbar {
  display: none;
}

.products-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.products-carousel--arrow-only.is-dragging {
  cursor: default;
}

.products-carousel-item {
  flex: 0 0 clamp(250px, 20vw, 320px);
  scroll-snap-align: start;
}

@media (max-width: 767.98px) {
  .products-carousel-item {
    flex-basis: min(294px, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .products-carousel {
    scroll-behavior: auto;
  }
}

/* Best sellers: <=4 items = centered row + even side padding; >4 = infinite auto-scroll marquee (duplicate set in template) */
.best-sellers-row {
  width: 100%;
  padding: 0.5rem 0 0.75rem;
}

.best-sellers-row__track {
  display: flex;
  gap: 1rem;
}

.best-sellers-row__item {
  flex: 0 0 clamp(250px, 20vw, 320px);
}

/* Few best sellers (1–4): symmetric horizontal padding, cards grouped and centered */
.best-sellers-row--few {
  overflow: visible;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.best-sellers-row--few .best-sellers-row__track {
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .best-sellers-row--few .best-sellers-row__track {
    flex-wrap: nowrap;
  }
}

/* Many best sellers (5+): horizontal auto-scroll */
.best-sellers-row--marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right,
      transparent,
      #000 2rem,
      #000 calc(100% - 2rem),
      transparent);
}

.best-sellers-row--marquee .best-sellers-row__track {
  width: max-content;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  animation: best-sellers-marquee-scroll 45s linear infinite;
}

.best-sellers-row--marquee:hover .best-sellers-row__track {
  animation-play-state: paused;
}

/* Pause best-sellers motion while quick-view modal or cart offcanvas is open (class set in product_card.js) */
html.shop-ui-overlay-open .best-sellers-row--marquee .best-sellers-row__track {
  animation-play-state: paused;
}

html.shop-ui-overlay-open .best-sellers-row--marquee {
  overflow: hidden;
}

@keyframes best-sellers-marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 767.98px) {
  .products-carousel-shell--with-arrows {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }

  .products-carousel-arrow {
    width: 2.125rem;
    height: 2.125rem;
  }

  .best-sellers-row__item {
    flex-basis: min(294px, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .best-sellers-row--marquee .best-sellers-row__track {
    animation: none;
    transform: none;
  }

  .best-sellers-row--marquee .best-sellers-row__item--duplicate {
    display: none;
  }

  .best-sellers-row--marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    mask-image: none;
  }

  .best-sellers-row--marquee .best-sellers-row__track {
    width: max-content;
  }
}

/* About Dharani Bio Organics — entrance motion */
@keyframes home-about-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #homeAboutSection.is-animating .home-about-block__text>* {
    opacity: 0;
    animation: home-about-fade-up 0.72s ease forwards;
  }

  #homeAboutSection.is-animating .home-about-block__text>*:nth-child(1) {
    animation-delay: 0.04s;
  }

  #homeAboutSection.is-animating .home-about-block__text>*:nth-child(2) {
    animation-delay: 0.12s;
  }

  #homeAboutSection.is-animating .home-about-block__text>*:nth-child(3) {
    animation-delay: 0.2s;
  }

  #homeAboutSection.is-animating .home-about-block__text>*:nth-child(4) {
    animation-delay: 0.28s;
  }

  #homeAboutSection.is-animating .home-about-block__media {
    opacity: 0;
    animation: home-about-fade-up 0.8s ease forwards;
    animation-delay: 0.14s;
  }
}

@media (prefers-reduced-motion: reduce) {

  #homeAboutSection.is-animating .home-about-block__text>*,
  #homeAboutSection.is-animating .home-about-block__media {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Why choose — one-shot left-to-right slide when scrolled into view (see home.js) */
@keyframes home-why-section-slide-ltr {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  #homeWhySection.home-why-section--enter {
    animation: home-why-section-slide-ltr 0.88s ease-out forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  #homeWhySection.home-why-section--enter {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
