/* ==========================================================================
   Home — Amritdhaan mustard oil
   ========================================================================== */

.is-home-template {
  background: var(--color-bg);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(232, 176, 0, 0.16), transparent 42%),
    linear-gradient(165deg, #fffdf6 0%, var(--color-bg) 55%, #efe6c8 100%);
}

.home-hero-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 0, 0.28), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}

.home-hero .hero-title {
  max-width: 18ch;
}

.home-hero .hero-subtitle {
  max-width: 34rem;
  font-size: 1.05rem;
}

.home-hero .trust-badge {
  background: rgba(10, 92, 34, 0.06);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-btn);
}

.home-hero-visual {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  perspective: 900px;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
}

.home-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

.home-hero-orb--one {
  width: 9rem;
  height: 9rem;
  left: -1.5rem;
  top: 12%;
  background: radial-gradient(circle, rgba(232, 176, 0, 0.45), rgba(232, 176, 0, 0));
  animation: hero-orb-drift 7s ease-in-out infinite;
}

.home-hero-orb--two {
  width: 7rem;
  height: 7rem;
  right: -1rem;
  bottom: 14%;
  background: radial-gradient(circle, rgba(10, 92, 34, 0.35), rgba(10, 92, 34, 0));
  animation: hero-orb-drift 8.5s ease-in-out infinite reverse;
}

.home-hero-ring {
  position: absolute;
  border-radius: 1.85rem;
  pointer-events: none;
  z-index: 0;
}

.home-hero-ring--outer {
  inset: 2%;
  border: 1px dashed rgba(10, 92, 34, 0.28);
  animation: spin-slow 28s linear infinite;
}

.home-hero-ring--inner {
  inset: 8%;
  border: 1px solid rgba(232, 176, 0, 0.28);
  border-radius: 1.5rem;
  animation: spin-slow-reverse 36s linear infinite;
}

.home-hero-frame {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow:
    0 20px 48px rgba(10, 92, 34, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  transform:
    rotateX(var(--hero-tilt-x))
    rotateY(var(--hero-tilt-y))
    translateZ(0);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.home-hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center 62%;
  aspect-ratio: 3 / 2;
  display: block;
  transform-origin: center center;
  animation: hero-kenburns 14s ease-in-out infinite alternate;
}

.home-hero-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: hero-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

.home-hero-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 50rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(10, 92, 34, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.home-hero-float i {
  color: var(--color-accent);
  font-size: 0.95rem;
}

.home-hero-float--sale {
  top: 8%;
  right: 2%;
  background: var(--color-secondary);
  color: var(--color-dark);
  animation: hero-float-a 4.8s ease-in-out infinite;
}

.home-hero-float--sale i {
  color: var(--color-primary-dark);
}

.home-hero-float--cold {
  left: -0.25rem;
  bottom: 22%;
  animation: hero-float-b 5.4s ease-in-out infinite;
}

.home-hero-float--pure {
  right: 4%;
  bottom: 6%;
  animation: hero-float-c 6s ease-in-out infinite;
}

@media (max-width: 575.98px) {
  .home-hero-float--pure {
    display: none;
  }

  .home-hero-float {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .home-hero-float--cold {
    left: 0.35rem;
    bottom: 12%;
  }
}

.home-why {
  background:
    radial-gradient(circle at 8% 20%, rgba(232, 176, 0, 0.14), transparent 36%),
    radial-gradient(circle at 92% 80%, rgba(10, 92, 34, 0.08), transparent 40%),
    #fffef8;
  position: relative;
  overflow: hidden;
}

.home-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(232, 176, 0, 0.16);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-btn);
  margin-bottom: 0.85rem;
}

.home-why-card {
  position: relative;
  height: 100%;
  padding: 1.75rem 1.6rem 1.85rem;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(232, 176, 0, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-why-card::before {
  content: "";
  position: absolute;
  inset: auto -2rem -3rem auto;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 176, 0, 0.18), transparent 70%);
  pointer-events: none;
}

.home-why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-secondary);
  box-shadow: 0 18px 40px rgba(10, 92, 34, 0.12);
}

.home-why-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
}

.home-why-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-why-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--color-primary);
  background: linear-gradient(145deg, rgba(232, 176, 0, 0.28), rgba(10, 92, 34, 0.1));
  box-shadow: inset 0 0 0 1px rgba(232, 176, 0, 0.25);
}

.home-why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.55rem;
}

.home-why-card p {
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.home-why-line {
  display: block;
  width: 3rem;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}

.home-why-card:hover .home-why-icon {
  transform: rotate(-8deg) scale(1.06);
  transition: transform 0.35s ease;
}

.home-products {
  background:
    linear-gradient(180deg, var(--color-bg) 0%, #fff 100%);
}

.home-product-card {
  background: var(--color-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1rem 1rem 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.home-product-image {
  display: block;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.85rem;
  aspect-ratio: 1 / 1;
  background: #f3edd8;
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-product-card:hover .home-product-image img {
  transform: scale(1.06);
}

.home-product-card h3 a {
  color: var(--color-primary);
}

.home-product-price {
  color: var(--color-primary);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.home-product-price del {
  color: var(--color-muted);
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
}

.home-product-price del .woocommerce-Price-amount,
.home-product-price del bdi {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.home-product-price ins {
  text-decoration: none;
}

.home-product-spotlight {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.35rem 1.35rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 176, 0, 0.22);
}

.home-product-spotlight-visual {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  background:
    radial-gradient(circle at 70% 20%, rgba(232, 176, 0, 0.22), transparent 45%),
    #f3edd8;
}

.home-product-spotlight-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.home-product-spotlight-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--color-secondary);
  color: var(--color-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-btn);
}

.home-product-spotlight-copy {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin-bottom: 1.15rem;
}

.home-product-spotlight-points {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.home-product-spotlight-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  color: var(--color-primary);
}

.home-product-spotlight-points i {
  color: var(--color-secondary);
  font-size: 1.15rem;
}

.home-product-spotlight-price {
  font-size: 1.45rem;
}

@media (min-width: 992px) {
  .home-product-spotlight {
    padding: 1.75rem 2rem;
  }
}

.home-reviews {
  background: var(--color-primary-dark);
  overflow: hidden;
}

.home-reviews .section-title,
.home-reviews .section-subtitle {
  color: #fff;
}

.home-reviews .section-subtitle {
  opacity: 0.8;
}

.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding: 0.5rem 1rem 1.25rem;
  animation: marquee 48s linear infinite;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.home-review-card {
  flex: 0 0 min(320px, 82vw);
  width: min(320px, 82vw);
  margin: 0;
  background: #fff;
}

.home-review-card .review-text {
  font-family: "Noto Sans Devanagari", var(--font);
  min-height: 6.5rem;
}

.home-process {
  background:
    radial-gradient(circle at 12% 12%, rgba(232, 176, 0, 0.14), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(10, 92, 34, 0.07), transparent 38%),
    #fffef8;
}

.home-process-diagram {
  position: relative;
  margin: 0 auto 2.75rem;
  max-width: 1080px;
  background:
    linear-gradient(180deg, #fffdf6 0%, #f6edd4 100%);
  border: 1px solid rgba(232, 176, 0, 0.38);
  border-radius: 1.5rem;
  padding: 1.15rem 1.15rem 0.85rem;
  box-shadow: var(--shadow-soft);
}

.home-process-diagram-frame {
  position: relative;
}

.home-process-ornament {
  position: absolute;
  width: 1.65rem;
  height: 1.65rem;
  border: 2px solid var(--color-secondary);
  pointer-events: none;
  z-index: 1;
}

.home-process-ornament-tl {
  top: 0.55rem;
  left: 0.55rem;
  border-right: 0;
  border-bottom: 0;
  border-radius: 0.35rem 0 0 0;
}

.home-process-ornament-tr {
  top: 0.55rem;
  right: 0.55rem;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 0.35rem 0 0;
}

.home-process-ornament-bl {
  bottom: 0.55rem;
  left: 0.55rem;
  border-right: 0;
  border-top: 0;
  border-radius: 0 0 0 0.35rem;
}

.home-process-ornament-br {
  bottom: 0.55rem;
  right: 0.55rem;
  border-left: 0;
  border-top: 0;
  border-radius: 0 0 0.35rem 0;
}

.home-process-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.85rem;
  object-fit: contain;
  background: #fbf6e8;
}

.home-process-caption {
  margin: 0.85rem 0 0.2rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

.home-process-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.home-process-step {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(232, 176, 0, 0.22);
  padding: 1.6rem 1.35rem 1.5rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 92, 34, 0.12);
}

.home-process-num {
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
  box-shadow: 0 6px 16px rgba(232, 176, 0, 0.35);
}

.home-process-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--color-primary);
  background: linear-gradient(145deg, rgba(232, 176, 0, 0.24), rgba(10, 92, 34, 0.08));
  margin-bottom: 0.85rem;
}

.home-process-step h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.home-process-step p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .home-process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .home-process-timeline::before {
    content: "";
    position: absolute;
    top: 2.55rem;
    left: 12%;
    right: 12%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    opacity: 0.45;
    pointer-events: none;
  }
}

.home-video {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(232, 176, 0, 0.22), transparent 38%),
    linear-gradient(160deg, #042810 0%, var(--color-primary-dark) 42%, #0A5C22 100%);
}

.home-video .section-title {
  color: #fff;
}

.home-eyebrow-light {
  color: var(--color-gold);
  background: rgba(244, 196, 48, 0.16);
}

.home-video-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 1.35rem;
}

.home-video-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.home-video-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 500;
}

.home-video-points i {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.home-video-stage {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #0d1a10;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(244, 196, 48, 0.35);
}

.home-video-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background:
    linear-gradient(180deg, rgba(5, 61, 22, 0.12) 0%, rgba(5, 61, 22, 0.58) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.home-video-play-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  padding-left: 0.2rem;
  background: linear-gradient(145deg, var(--color-secondary), var(--color-accent));
  color: var(--color-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease;
}

.home-video-play:hover .home-video-play-icon,
.home-video-play:focus-visible .home-video-play-icon {
  transform: scale(1.08);
}

.home-video-play-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.home-video-stage.is-playing .home-video-play {
  opacity: 0;
  pointer-events: none;
}

.home-cta-card {
  background:
    linear-gradient(120deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #147a32 100%);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.home-cta-card::after {
  content: "";
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -4rem;
  bottom: -6rem;
  border-radius: 50%;
  background: rgba(232, 176, 0, 0.18);
  pointer-events: none;
}

.home-cta-copy {
  color: rgba(255, 255, 255, 0.86);
  max-width: 38rem;
}

.home-cta-card .section-title {
  position: relative;
  z-index: 1;
}

.home-cta-card .btn {
  position: relative;
  z-index: 1;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes spin-slow-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes hero-kenburns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@keyframes hero-sheen {
  0%, 45% { transform: translateX(-130%); }
  70%, 100% { transform: translateX(130%); }
}

@keyframes hero-orb-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(12px, -18px, 0) scale(1.12); opacity: 1; }
}

@keyframes hero-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(2deg); }
}

@keyframes hero-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(-2deg); }
}

@keyframes hero-float-c {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-photo,
  .home-hero-ring,
  .home-hero-glow,
  .home-hero-sheen,
  .home-hero-orb,
  .home-hero-float,
  .reviews-track,
  .made-with-love .heart {
    animation: none !important;
  }

  .home-hero-frame {
    transform: none !important;
  }
}

@media (min-width: 992px) {
  .home-hero {
    padding: 4.5rem 0 5rem;
    min-height: calc(88vh - var(--header-height));
    display: flex;
    align-items: center;
  }
}
