/* Barakah Global — Germination Plate homepage (unique to this storefront) */

.page-home {
  --bg-seed: #e7f1ea;
  --bg-mist: #f3f7f4;
  --ink-field: #13261f;
  --ink-soft: #3d5a4c;
  --saffron: #e09a1b;
  --saffron-deep: #c47d0a;
  --cell: #1f6b4f;
  --cell-bright: #2f9a6a;
  --plate: #0f2a22;
  --bloom: #f2efe6;
  --line: rgba(19, 38, 31, 0.12);
  --shadow-lift: 0 18px 40px rgba(15, 42, 34, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  font-family: var(--font-body);
  color: var(--ink-field);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(47, 154, 106, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(224, 154, 27, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-mist) 0%, #fff 38%, var(--bg-seed) 100%);
}

.page-home .section-head h2 {
  font-family: var(--font-display);
  font-weight: 650;
  font-variation-settings: "SOFT" 40, "WONK" 0.4;
  text-transform: none;
  letter-spacing: -0.02em;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.page-home .btn-primary {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink-field);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(224, 154, 27, 0.35);
  font-weight: 700;
}
.page-home .btn-primary:hover {
  background: var(--saffron-deep);
  border-color: var(--saffron-deep);
  color: #fff;
}

/* ——— Hero ——— */
.a32-hero-clearance {
  position: relative;
  overflow: hidden;
  color: #f7fbf8;
  padding: clamp(2.75rem, 6vw, 4.75rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    linear-gradient(118deg, rgba(15, 42, 34, 0.94) 0%, rgba(19, 70, 52, 0.9) 48%, rgba(12, 36, 30, 0.96) 100%),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23c8f0d8' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M0 60h120M60 0v120'/%3E%3Ccircle cx='60' cy='60' r='18'/%3E%3Ccircle cx='60' cy='60' r='4' fill='%23c8f0d8' fill-opacity='0.12' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: auto, 140px 140px;
}
.a32-hero-clearance::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 154, 27, 0.28), transparent 68%);
  animation: a32-orbit-glow 12s ease-in-out infinite;
  pointer-events: none;
}
.a32-hero-clearance::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: min(70vw, 640px);
  height: min(70vw, 640px);
  border-radius: 42% 58% 55% 45%;
  background: radial-gradient(circle at 40% 40%, rgba(47, 154, 106, 0.35), transparent 70%);
  animation: a32-blob-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes a32-orbit-glow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-8%, 10%) scale(1.08); opacity: 1; }
}
@keyframes a32-blob-drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(8%, -6%) rotate(12deg); }
}

.a32-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.a32-hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.a32-hero-brand span {
  display: inline-block;
  background: linear-gradient(90deg, #fff 0%, #d9f5e4 55%, var(--saffron) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.a32-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8f0e2;
}
.a32-hero-kicker span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 0 rgba(224, 154, 27, 0.55);
  animation: a32-pulse-dot 2.2s ease-out infinite;
}
@keyframes a32-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(224, 154, 27, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(224, 154, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 154, 27, 0); }
}
.a32-hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: none;
  max-width: 12ch;
}
.a32-hero-copy h1 em {
  font-style: italic;
  font-weight: 650;
  color: var(--saffron);
}
.a32-hero-lede {
  margin: 0 0 1.6rem;
  max-width: 42ch;
  color: rgba(247, 251, 248, 0.82);
  font-size: 1.02rem;
  line-height: 1.55;
}
.a32-hero-copy .btn {
  animation: a32-fade-up 0.8s ease both 0.15s;
}
.a32-hero-copy > * {
  animation: a32-fade-up 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.a32-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
.a32-hero-copy > *:nth-child(2) { animation-delay: 0.12s; }
.a32-hero-copy > *:nth-child(3) { animation-delay: 0.2s; }
.a32-hero-copy > *:nth-child(4) { animation-delay: 0.28s; }
.a32-hero-copy > *:nth-child(5) { animation-delay: 0.36s; }
@keyframes a32-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.a32-hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.a32-hero-visual::before {
  content: "";
  position: absolute;
  width: min(88%, 360px);
  aspect-ratio: 1;
  border-radius: 32% 68% 58% 42% / 42% 38% 62% 58%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: a32-plate-spin 22s linear infinite;
}
@keyframes a32-plate-spin {
  to { transform: rotate(360deg); }
}
.a32-hero-paddle {
  position: relative;
  display: block;
  text-decoration: none !important;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.a32-hero-paddle:hover { transform: translateY(-8px) scale(1.02); }
.a32-hero-paddle img {
  max-height: 340px;
  width: auto;
  border-radius: 1.25rem;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.4));
}
.a32-hero-paddle-1 {
  z-index: 2;
  margin-right: -2.5rem;
  animation: a32-float-a 5.5s ease-in-out infinite;
}
.a32-hero-paddle-1 img { transform: rotate(-6deg); }
.a32-hero-paddle-2 {
  z-index: 1;
  animation: a32-float-b 6.5s ease-in-out infinite;
}
.a32-hero-paddle-2 img {
  transform: rotate(10deg) scale(0.9);
  opacity: 0.96;
}
@keyframes a32-float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes a32-float-b {
  0%, 100% { transform: translateY(6px); }
  50% { transform: translateY(-8px); }
}
.a32-sale-disc {
  position: absolute;
  top: 8%;
  right: -4%;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink-field);
  background: conic-gradient(from 200deg, var(--saffron), #ffe08a, var(--saffron));
  box-shadow: 0 10px 24px rgba(224, 154, 27, 0.45);
  animation: a32-disc-wobble 4s ease-in-out infinite;
}
@keyframes a32-disc-wobble {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.05); }
}

/* ——— Trust ——— */
.a32-trust {
  position: relative;
  z-index: 2;
  margin-top: -1.25rem;
  padding: 0 0 0.25rem;
  background: transparent;
  border: 0;
}
.a32-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lift);
}
.a32-trust-grid > div {
  position: relative;
  padding: 0.65rem 0.5rem;
  text-align: center;
}
.a32-trust-grid > div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.a32-trust-grid strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cell);
}
.a32-trust-grid span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* ——— Duo promos ——— */
.a32-duo-promo.section { padding-top: 2.25rem; }
.a32-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.a32-duo-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 230px;
  padding: 1.85rem 1.75rem 1.85rem 2rem;
  overflow: hidden;
  border-radius: 1.5rem;
  color: #fff !important;
  text-decoration: none !important;
  isolation: isolate;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.a32-duo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 14px
    );
  z-index: 0;
  pointer-events: none;
}
.a32-duo-card > * { position: relative; z-index: 1; }
.a32-duo-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lift);
  color: #fff !important;
}
.a32-duo-discount {
  background: linear-gradient(135deg, #155e45 0%, #1f8a5f 48%, #c47d0a 120%);
}
.a32-duo-paddles {
  background: linear-gradient(145deg, #1a3c4a 0%, #246b63 55%, #3d8b6e 100%);
}
.a32-duo-card small {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.9;
}
.a32-duo-card h2 {
  margin: 0.15rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.a32-duo-card p {
  margin: 0 0 1.1rem;
  max-width: 28ch;
  font-size: 0.95rem;
  opacity: 0.92;
}
.a32-duo-card .btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--plate);
  border-color: transparent;
  border-radius: 999px;
}
.a32-duo-card img {
  max-height: 168px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.28));
  transition: transform 0.4s ease;
}
.a32-duo-card:hover img { transform: scale(1.06) rotate(-3deg); }

/* ——— Explore ——— */
.a32-slider-arrows { display: flex; gap: 0.45rem; }
.a32-slider-arrows span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.a32-slider-arrows span:hover {
  background: var(--plate);
  border-color: var(--plate);
  color: #fff;
}

.a32-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.a32-explore-card {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 5rem;
  overflow: hidden;
  border-radius: 1.35rem;
  text-decoration: none !important;
  color: #fff;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.a32-explore-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: var(--shadow-lift);
}
.a32-explore-card.pastel-plum,
.a32-explore-card.grad-green {
  background: linear-gradient(165deg, #2a7a58, #124433);
}
.a32-explore-card.pastel-carrot,
.a32-explore-card.grad-yellow {
  background: linear-gradient(165deg, #d9a441, #8a5a12);
}
.a32-explore-card.pastel-melon,
.a32-explore-card.grad-blue {
  background: linear-gradient(165deg, #3b8f8a, #1b4f55);
}
.a32-explore-card.pastel-sage,
.a32-explore-card.grad-red {
  background: linear-gradient(165deg, #6f8f63, #314a2b);
}
.a32-explore-card.pastel-leaf {
  background: linear-gradient(165deg, #4f9d72, #1d4d38);
}
.a32-vert {
  position: absolute;
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.a32-vert-left { left: 0.7rem; top: 50%; transform: translateY(-50%) rotate(180deg); }
.a32-vert-right { right: 0.7rem; top: 50%; transform: translateY(-50%); }
.a32-explore-card img {
  max-height: 185px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.25));
  transition: transform 0.45s ease;
}
.a32-explore-card:hover img { transform: scale(1.08) translateY(-6px); }
.a32-explore-label {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-field);
  text-align: center;
  backdrop-filter: blur(6px);
}
.a32-explore-label strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
}
.a32-explore-label span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* ——— Product rows ——— */
.a32-product-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.a32-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.a32-product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 107, 79, 0.28);
  box-shadow: var(--shadow-lift);
}
.a32-product-card a {
  display: block;
  padding-bottom: 1rem;
  color: inherit;
  text-decoration: none !important;
}
.a32-sale-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--saffron);
  color: var(--ink-field);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.a32-product-img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 1.1rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(47, 154, 106, 0.12), transparent 55%),
    linear-gradient(180deg, #f7faf8, #eef5f0);
}
.a32-product-img img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.a32-product-card:hover .a32-product-img img { transform: scale(1.06); }
.a32-stars {
  padding: 0.55rem 1rem 0;
  color: var(--saffron);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}
.a32-product-card h3 {
  margin: 0.3rem 0 0;
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  font-family: var(--font-display);
}
.a32-product-card .price {
  margin: 0.3rem 0 0;
  padding: 0 1rem;
  color: var(--cell);
}

.page-home .section-muted {
  background:
    linear-gradient(180deg, rgba(231, 241, 234, 0.65), rgba(243, 247, 244, 0.9));
}

/* ——— Ribbons / marquee ——— */
.a32-ribbons {
  position: relative;
  height: 130px;
  margin: 0.5rem 0 0;
  overflow: hidden;
}
.a32-ribbon {
  position: absolute;
  left: -8%;
  right: -8%;
  display: flex;
  gap: 2.75rem;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.a32-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 2.75rem;
}
.a32-ribbon span::after {
  content: "✦";
  opacity: 0.55;
}
.a32-ribbon-green {
  top: 22px;
  z-index: 2;
  color: var(--ink-field);
  background: linear-gradient(90deg, #d7f0a8, #b8e05c 40%, #e0c15a);
  transform: rotate(-2.8deg);
  animation: a32-marquee-shift 18s linear infinite;
}
.a32-ribbon-blue {
  top: 62px;
  z-index: 1;
  color: #fff;
  background: linear-gradient(90deg, #1a4d3d, #246b55 50%, #1f5c6b);
  transform: rotate(2.2deg);
  animation: a32-marquee-shift-rev 22s linear infinite;
}
@keyframes a32-marquee-shift {
  from { background-position: 0 0; transform: rotate(-2.8deg) translateX(0); }
  to { background-position: 200px 0; transform: rotate(-2.8deg) translateX(-40px); }
}
@keyframes a32-marquee-shift-rev {
  from { transform: rotate(2.2deg) translateX(-30px); }
  to { transform: rotate(2.2deg) translateX(20px); }
}

@media (max-width: 1024px) {
  .a32-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .a32-hero-copy h1 { max-width: none; margin-inline: auto; }
  .a32-hero-lede { margin-inline: auto; }
  .a32-duo-grid,
  .a32-explore-grid,
  .a32-product-row,
  .a32-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .a32-trust-grid > div:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .a32-duo-grid,
  .a32-explore-grid,
  .a32-product-row { grid-template-columns: 1fr; }
  .a32-trust-grid { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
  .a32-trust-grid > div::after { display: none; }
  .a32-hero-visual { min-height: 250px; }
  .a32-hero-paddle img { max-height: 220px; }
  .a32-hero-paddle-1 { margin-right: -1.25rem; }
  .a32-hero-copy .btn { display: inline-flex; }
  .a32-slider-arrows { display: none; }
  .page-home .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .a32-hero-clearance::before,
  .a32-hero-clearance::after,
  .a32-hero-visual::before,
  .a32-hero-paddle-1,
  .a32-hero-paddle-2,
  .a32-sale-disc,
  .a32-hero-kicker span,
  .a32-ribbon-green,
  .a32-ribbon-blue,
  .a32-hero-copy > * {
    animation: none !important;
  }
}
