/* SHIVAM ENTERPRISE — Orchard Pulse homepage */

@keyframes a34-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes a34-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes a34-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes a34-stripe {
  from { background-position: 0 0; }
  to { background-position: 48px 0; }
}

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

/* —— Hero carousel —— */
.a34-hero-carousel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.a34-hero-track { position: relative; min-height: 420px; }

.a34-hero-slide {
  display: none;
  padding: 3rem 0 3.5rem;
  color: #fff;
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.a34-hero-slide.is-active {
  display: block;
  position: relative;
  opacity: 1;
  pointer-events: auto;
  animation: a34-rise 0.55s ease both;
}

.a34-hero-slide--orange {
  background:
    linear-gradient(125deg, #0d3d38 0%, #14635c 42%, #1fa2a0 78%, #f5a524 160%);
  background-size: 180% 180%;
  animation: a34-drift 14s ease-in-out infinite;
}

.a34-hero-slide--green {
  background:
    linear-gradient(145deg, #0a2e1f 0%, #1b5e3b 48%, #6fbf73 95%);
  background-size: 180% 180%;
  animation: a34-drift 16s ease-in-out infinite;
}

.a34-hero-slide--terracotta {
  background:
    linear-gradient(135deg, #2a0f24 0%, #7a1f4a 45%, #e85d75 88%, #f5a524 140%);
  background-size: 180% 180%;
  animation: a34-drift 15s ease-in-out infinite;
}

.a34-hero-slide::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.18) 0%, transparent 38%),
    radial-gradient(circle at 12% 72%, rgba(245, 165, 36, 0.22) 0%, transparent 42%),
    repeating-linear-gradient(
      -18deg,
      transparent 0 18px,
      rgba(255, 255, 255, 0.04) 18px 19px
    );
  pointer-events: none;
}

.a34-hero-slide::after {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -35%;
  width: 55%;
  height: 90%;
  border-radius: 50% 40% 55% 45%;
  background: rgba(255, 255, 255, 0.07);
  transform: rotate(-12deg);
  pointer-events: none;
}

.a34-hero-slide-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.25rem;
  position: relative;
  z-index: 1;
}

.a34-hero-kicker {
  display: inline-block;
  background: transparent;
  color: #ffe8a8;
  padding: 0 0 0.35rem;
  border-radius: 0;
  border-bottom: 2px dashed rgba(255, 232, 168, 0.65);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.a34-hero-copy h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.a34-hero-copy p {
  margin: 0 0 1.5rem;
  opacity: 0.92;
  font-size: 1.08rem;
  max-width: 32ch;
}

.page-home .a34-btn-shop {
  border-radius: 4px;
  background: #fff;
  color: var(--a34-ink);
  box-shadow: 6px 6px 0 rgba(15, 42, 36, 0.35);
}

.page-home .a34-btn-shop:hover {
  background: var(--a34-gold);
  color: var(--a34-ink);
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(15, 42, 36, 0.35);
}

.a34-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28% 72% 35% 65% / 55% 30% 70% 45%;
  backdrop-filter: blur(2px);
}

.a34-hero-visual img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
  animation: a34-float 5.5s ease-in-out infinite;
}

.a34-hero-badge {
  position: absolute;
  top: 6%;
  right: 4%;
  width: 96px;
  height: 96px;
  background: var(--a34-gold);
  color: var(--a34-ink);
  border-radius: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.25;
  padding: 0.55rem;
  transform: rotate(8deg);
  box-shadow: 4px 4px 0 rgba(15, 42, 36, 0.25);
  z-index: 2;
}

.a34-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 42, 36, 0.35);
  color: #fff;
  border-radius: 10px;
  font-size: 1.45rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, transform 0.2s;
}

.a34-hero-prev { left: 1rem; }
.a34-hero-next { right: 1rem; }

.a34-hero-arrow:hover {
  background: rgba(15, 42, 36, 0.65);
  transform: translateY(-50%) scale(1.06);
}

/* —— Duo promos —— */
.a34-duo-promo {
  padding: 1.75rem 0 0.5rem;
  position: relative;
}

.a34-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.a34-duo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.65rem 1.85rem;
  border-radius: 18px 4px 18px 4px;
  color: #fff;
  text-decoration: none !important;
  min-height: 170px;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.a34-duo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    105deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.05) 14px 15px
  );
  animation: a34-stripe 18s linear infinite;
  pointer-events: none;
}

.a34-duo-card:hover {
  transform: translateY(-4px) skewX(-0.6deg);
  text-decoration: none !important;
}

.a34-duo-card--green {
  background: linear-gradient(135deg, #125c45 0%, #1fa2a0 100%);
}

.a34-duo-card--orange {
  background: linear-gradient(135deg, #c45c12 0%, #f5a524 100%);
}

.a34-duo-copy { position: relative; z-index: 1; }

.a34-duo-card h2 {
  margin: 0 0 0.95rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.a34-duo-card img {
  max-height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.a34-duo-card:hover img { transform: scale(1.08) rotate(-4deg); }

.page-home .a34-btn-shop--dark {
  background: var(--a34-ink);
  color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* —— Categories —— */
.a34-categories.section { padding-top: 2.75rem; }

.page-home .a34-section-title {
  position: relative;
  letter-spacing: -0.03em;
}

.page-home .a34-section-title em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--a34-teal);
  border-bottom: none;
  background: linear-gradient(90deg, transparent, rgba(31, 162, 160, 0.18), transparent);
  padding: 0.1rem 0.35rem;
}

.a34-cat-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}

.a34-cat-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--a34-border);
  border-radius: 16px 6px 16px 6px;
  padding: 1.35rem 1rem 1.5rem;
  text-align: center;
  text-decoration: none !important;
  color: var(--a34-ink);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.a34-cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--a34-teal);
  background: #fff;
  text-decoration: none !important;
}

.a34-cat-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.55rem;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  border-radius: 50%;
  background: var(--a34-mint);
  position: relative;
}

.a34-cat-card:hover .a34-cat-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1.5px dashed var(--a34-teal);
  border-radius: 50%;
  animation: a34-spin-ring 8s linear infinite;
}

.a34-cat-count {
  display: block;
  font-size: 0.7rem;
  color: var(--a34-berry);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.a34-cat-card h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.a34-cat-arrow {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border: 1px solid var(--a34-border);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.a34-cat-card:hover .a34-cat-arrow {
  background: var(--a34-teal);
  border-color: var(--a34-teal);
  color: #fff;
}

.a34-cat-thumb {
  position: absolute;
  bottom: -24px;
  right: -22px;
  width: 76px;
  height: 76px;
  object-fit: contain;
  opacity: 0.28;
  transition: opacity 0.25s, transform 0.25s;
}

.a34-cat-card:hover .a34-cat-thumb {
  opacity: 0.48;
  transform: translate(-6px, -6px) rotate(-8deg);
}

/* —— Product rows —— */
.a34-trending.section-muted {
  background:
    linear-gradient(180deg, rgba(31, 162, 160, 0.06), transparent 40%),
    var(--a34-cream);
}

.a34-product-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.a34-product-card {
  background: #fff;
  border: 1px solid var(--a34-border);
  border-radius: 4px 18px 4px 18px;
  padding: 1rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.a34-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 162, 160, 0.45);
}

.a34-discount {
  position: absolute;
  top: 0.85rem;
  left: -0.15rem;
  background: var(--a34-berry);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28rem 0.7rem 0.28rem 0.55rem;
  border-radius: 0 8px 8px 0;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

.a34-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 0.7rem;
  padding: 0.85rem;
  background:
    radial-gradient(circle at 50% 40%, #fff 0%, var(--a34-mint) 100%);
  border: 1px solid transparent;
  border-radius: 50% 40% 55% 45% / 45% 50% 40% 55%;
  overflow: hidden;
  transition: border-radius 0.35s ease;
}

.a34-product-card:hover .a34-product-img {
  border-radius: 40% 55% 45% 50% / 55% 40% 50% 45%;
}

.a34-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.a34-product-card:hover .a34-product-img img {
  transform: scale(1.08);
}

.a34-product-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
}

.a34-product-card h3 a {
  color: var(--a34-ink);
  text-decoration: none !important;
}

.a34-product-actions {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.7rem 0 0.35rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--a34-border);
  color: var(--a34-muted);
  font-size: 0.9rem;
}

.a34-product-actions span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--a34-mint);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.a34-product-card:hover .a34-product-actions span {
  background: var(--a34-teal);
  color: #fff;
  transform: translateY(-2px);
}

.a34-stars {
  color: var(--a34-gold);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.a34-section-cta { text-align: center; margin-top: 2.1rem; }

.page-home .a34-btn-all {
  border-radius: 4px;
  background: var(--a34-ink);
  box-shadow: 5px 5px 0 var(--a34-teal);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.page-home .a34-btn-all:hover {
  background: var(--a34-berry);
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--a34-ink);
}

/* —— Organic banner —— */
.a34-organic-banner {
  background:
    linear-gradient(110deg, #0f2a24 0%, #14635c 52%, #1fa2a0 100%);
  color: #fff;
  padding: 3rem 0;
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.a34-organic-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(245, 165, 36, 0.28) 0%, transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent 0 22px,
      rgba(255, 255, 255, 0.04) 22px 23px
    );
  pointer-events: none;
}

.a34-organic-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.a34-organic-copy h2 {
  margin: 0.55rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.a34-organic-inner img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
  animation: a34-float 6s ease-in-out infinite;
}

/* —— Tabs —— */
.a34-tab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.a34-tab-labels {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--a34-mint);
  border-radius: 10px;
}

.a34-tab-labels button {
  border: 0;
  background: transparent;
  padding: 0.5rem 1.05rem;
  border-radius: 7px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  color: var(--a34-muted);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.a34-tab-labels button.is-active {
  background: var(--a34-ink);
  color: #fff;
  transform: none;
}

.a34-tab-labels button:hover:not(.is-active) {
  color: var(--a34-ink);
  background: rgba(255, 255, 255, 0.65);
}

.a34-tab-panel[hidden] { display: none; }

.a34-tab-panel.is-active {
  animation: a34-rise 0.4s ease both;
}

@media (max-width: 1100px) {
  .a34-hero-slide-inner { grid-template-columns: 1fr; text-align: center; }
  .a34-hero-copy h1,
  .a34-hero-copy p { max-width: none; margin-left: auto; margin-right: auto; }
  .a34-duo-grid { grid-template-columns: 1fr; }
  .a34-organic-inner { grid-template-columns: 1fr; text-align: center; }
  .a34-organic-copy h2 { max-width: none; margin-left: auto; margin-right: auto; }
  .a34-product-row { grid-template-columns: repeat(3, 1fr); }
  .a34-hero-track { min-height: 0; }
}

@media (max-width: 768px) {
  .a34-hero-slide { padding: 2rem 0 2.25rem; }
  .a34-hero-visual { padding: 1rem; border-radius: 30% 70% 40% 60% / 50% 35% 65% 50%; }
  .a34-hero-visual img { max-height: 230px; }
  .a34-duo-card { grid-template-columns: 1fr; text-align: center; min-height: auto; }
  .a34-duo-card h2 { max-width: none; }
  .a34-product-row { grid-template-columns: repeat(2, 1fr); }
  .a34-cat-rail { grid-template-columns: repeat(2, 1fr); }
  .a34-hero-arrow { width: 38px; height: 38px; font-size: 1.2rem; }
  .a34-tab-labels { width: 100%; overflow-x: auto; }
}

@media (max-width: 480px) {
  .a34-product-row,
  .a34-cat-rail { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .a34-hero-slide--orange,
  .a34-hero-slide--green,
  .a34-hero-slide--terracotta,
  .a34-hero-visual img,
  .a34-organic-inner img,
  .a34-duo-card::before,
  .a34-hero-slide.is-active,
  .a34-tab-panel.is-active {
    animation: none;
  }
}
