/* Appily Fortyone — sowing homepage */

.page-home-sow {
  --sow-ink: #152018;
  --sow-muted: #5a6b5e;
  --sow-field: #1f3d2a;
  --sow-leaf: #3d7a4a;
  --sow-lime: #b8d45a;
  --sow-sand: #f4f7f1;
  --sow-paper: #fbfcf9;
  --sow-line: #d5e0ca;
  --font-display: 'Syne', 'Segoe UI', sans-serif;
  --font-body: 'Figtree', 'Segoe UI', sans-serif;
}

.page-home-sow,
.page-home-sow .page-main {
  font-family: var(--font-body);
  background: var(--sow-paper);
  color: var(--sow-ink);
}

.page-home-sow .page-main {
  padding-top: 0;
  overflow-x: clip;
}

.page-home-sow .a41-sow-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sow-leaf);
}

.page-home-sow .a41-sow-head,
.page-home-sow .a41-sow-discover-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.page-home-sow .a41-sow-head h2,
.page-home-sow .a41-sow-discover-head h2,
.page-home-sow .a41-sow-strip-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--sow-ink);
}

.page-home-sow .a41-sow-text-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sow-field);
  text-decoration: none !important;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.page-home-sow .a41-sow-text-link:hover {
  color: var(--sow-leaf);
}

.page-home-sow .a41-sow-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-home-sow .a41-sow-cta:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.page-home-sow .a41-sow-cta--primary {
  background: var(--sow-lime);
  color: var(--sow-ink);
}

.page-home-sow .a41-sow-cta--primary:hover {
  background: #c9e36b;
}

.page-home-sow .a41-sow-cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.page-home-sow .a41-sow-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.page-home-sow .a41-sow-icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--sow-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sow-field);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-home-sow .a41-sow-icon-btn:hover {
  background: var(--sow-field);
  border-color: var(--sow-field);
  color: #fff;
}

/* —— Full-bleed hero —— */
.a41-sow-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.a41-sow-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.a41-sow-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: brightness(1.12) contrast(1.04) saturate(1.06);
  animation: a41SowKen 18s ease-in-out infinite alternate;
}

@keyframes a41SowKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

.a41-sow-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10, 18, 12, 0.42) 0%, rgba(10, 18, 12, 0.22) 45%, rgba(10, 18, 12, 0.05) 72%, rgba(10, 18, 12, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 18, 12, 0.08) 0%, transparent 45%, rgba(10, 18, 12, 0.18) 100%);
  pointer-events: none;
}

.a41-sow-hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(96px, 14vh, 140px) 0 clamp(48px, 8vh, 72px);
  max-width: 640px;
  animation: a41SowRise 0.8s ease both;
}

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

.a41-sow-brand {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sow-lime);
}

.a41-sow-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.a41-sow-lede {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.a41-sow-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* —— Aisles —— */
.a41-sow-aisles {
  padding-top: 56px;
  padding-bottom: 24px;
}

.a41-sow-aisle-track {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.a41-sow-aisle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.25s ease;
}

.a41-sow-aisle:hover {
  transform: translateY(-4px);
  text-decoration: none !important;
}

.a41-sow-aisle-thumb {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, #ffffff 0%, transparent 55%),
    linear-gradient(160deg, #fbfaf6 0%, #f0f5ec 100%);
  border-radius: 18px;
  padding: 12px;
  box-sizing: border-box;
}

.a41-sow-aisle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.06) contrast(1.03);
  transition: transform 0.45s ease;
}

.a41-sow-aisle:hover .a41-sow-aisle-thumb img {
  transform: scale(1.04);
}

.a41-sow-aisle-emoji {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 2rem;
}

.a41-sow-aisle-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}

.a41-sow-aisle-copy strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.a41-sow-aisle-copy em {
  font-style: normal;
  font-size: 12px;
  color: var(--sow-muted);
}

/* —— Discover —— */
.a41-sow-discover {
  padding-top: 28px;
}

.a41-sow-tabs-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.a41-sow-tabs.a41-runway-tabs {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--sow-line);
  border-radius: 999px;
}

.a41-sow-tab-glider.a41-runway-tab-glider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--sow-field);
  border-radius: 999px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.a41-sow-tab.a41-runway-tab {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sow-muted);
  cursor: pointer;
  border-radius: 999px;
  white-space: nowrap;
}

.a41-sow-tab.a41-runway-tab.is-active {
  color: #fff;
}

.a41-sow-feat-nav {
  display: flex;
  gap: 8px;
}

.page-home-sow .a41-runway-feat-panel {
  display: none;
}

.page-home-sow .a41-runway-feat-panel.is-active {
  display: block;
  animation: a41SowRise 0.4s ease;
}

.a41-sow-feat-track.a41-runway-feat-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.a41-sow-feat-track .a41-veg-card {
  flex: 0 0 min(230px, 70vw);
}

/* —— Product cards —— */
.page-home-sow .a41-veg-card {
  background: #fff;
  border: 1px solid var(--sow-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}

.page-home-sow .a41-veg-card:hover {
  transform: translateY(-4px);
  border-color: #b7c7b8;
  box-shadow: 0 16px 36px rgba(21, 32, 24, 0.08);
}

.page-home-sow .a41-veg-img {
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0%, transparent 60%),
    linear-gradient(160deg, #fbfaf6 0%, #f1f6ed 100%);
  border-radius: 0;
  aspect-ratio: 1;
  padding: 18px;
  box-sizing: border-box;
}

.page-home-sow .a41-veg-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.06) contrast(1.03);
}

.page-home-sow .a41-veg-sale {
  background: var(--sow-field);
  color: #fff;
  border-radius: 999px;
}

.page-home-sow .a41-veg-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 16px;
}

.page-home-sow .a41-veg-body h3 {
  margin: 0;
  min-height: 2.6em;
  font-size: 14px;
  line-height: 1.35;
}

.page-home-sow .a41-veg-body h3 a {
  color: var(--sow-ink);
  text-decoration: none !important;
}

.page-home-sow .a41-veg-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.page-home-sow .a41-veg-price-was {
  font-size: 12px;
  color: var(--sow-muted);
  text-decoration: line-through;
}

.page-home-sow .a41-veg-price-now {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-left: 0;
}

.page-home-sow .a41-veg-price-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sow-leaf);
}

.page-home-sow .a41-veg-price-now strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sow-field);
}

.page-home-sow .a41-veg-stars {
  display: none;
}

/* —— Mid strip —— */
.a41-sow-strip-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(184, 212, 90, 0.35), transparent 55%),
    linear-gradient(135deg, #3d7a4a 0%, #2a5535 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.a41-sow-strip-copy .a41-sow-kicker {
  color: var(--sow-lime);
}

.a41-sow-strip-copy h2 {
  color: #fff;
  margin-bottom: 12px;
}

.a41-sow-strip-copy p {
  margin: 0 0 24px;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.a41-sow-strip-visual {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    rgba(255, 255, 255, 0.08);
  padding: 18px;
  box-sizing: border-box;
}

.a41-sow-strip-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  animation: a41SowFloat 6s ease-in-out infinite;
}

@keyframes a41SowFloat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* —— Popular grid —— */
.a41-sow-pop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .a41-sow-aisle-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .a41-sow-pop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .a41-sow-hero {
    min-height: min(78vh, 640px);
  }
  .a41-sow-hero-inner {
    max-width: none;
  }
  .a41-sow-strip-panel {
    grid-template-columns: 1fr;
  }
  .a41-sow-strip-visual {
    order: -1;
    max-height: 240px;
  }
  .a41-sow-aisle-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .a41-sow-aisle-track::-webkit-scrollbar { display: none; }
  .a41-sow-aisle {
    flex: 0 0 148px;
    scroll-snap-align: start;
  }
  .a41-sow-pop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .a41-sow-hero h1 {
    max-width: none;
  }
  .a41-sow-cta-row {
    width: 100%;
  }
  .a41-sow-cta {
    flex: 1 1 auto;
  }
  .a41-sow-feat-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a41-sow-hero-media img,
  .a41-sow-strip-visual img,
  .a41-sow-hero-inner,
  .page-home-sow .a41-runway-feat-panel.is-active {
    animation: none !important;
  }
}
