/* Appily Nineteen — Vegime-style orchard home (ox-) */

.page-ox-vegime {
  --ox-green: #28a745;
  --ox-green-dark: #1b6b42;
  --ox-ink: #222222;
  --ox-muted: #6c757d;
  --ox-bg: #ffffff;
  --ox-panel: #f7f6f2;
  --ox-line: #e8e8e8;
  --ox-sun: #f0b429;
  --ox-red: #e53935;
  --ox-sky: #b3d4f0;
  --ox-sans: 'Sora', system-ui, sans-serif;
  --ox-serif: 'Fraunces', Georgia, serif;
  background: var(--ox-bg);
}

.page-ox-vegime .page-main {
  padding-top: 0;
}

/* ── Shared ── */
.ox-section-title {
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--ox-sans);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--ox-ink);
  letter-spacing: -0.02em;
}

.ox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ox-btn:hover { transform: translateY(-2px); }

.ox-btn-main {
  background: var(--ox-green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.28);
}

.ox-btn-main:hover {
  background: var(--ox-green-dark);
  color: #fff;
}

/* ── Hero split banner ── */
.ox-hero-split {
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.018) 1px,
      rgba(0, 0, 0, 0.018) 2px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(0, 0, 0, 0.018) 1px,
      rgba(0, 0, 0, 0.018) 2px
    ),
    #f3f3f1;
  padding: 48px 0 56px;
}

.ox-hero-split-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: center;
  min-height: 420px;
}

.ox-hero-copy {
  position: relative;
  z-index: 2;
  padding: 12px 0;
}

.ox-hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border-radius: 6px;
  background: #ffb300;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ox-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--ox-sans);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--ox-ink);
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.ox-hero-price {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--ox-muted);
}

.ox-hero-visual {
  position: relative;
  min-height: 400px;
}

.ox-hero-bag {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: min(62%, 320px);
  aspect-ratio: 0.82;
  transform: translateX(-42%);
  background: linear-gradient(165deg, #c4a574 0%, #a88452 45%, #8b6a3e 100%);
  border-radius: 8px 8px 14px 14px;
  box-shadow: 0 20px 44px rgba(26, 35, 50, 0.14);
  overflow: hidden;
}

.ox-hero-bag::before {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  top: -8px;
  height: 18px;
  border: 3px solid #8b6a3e;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.ox-hero-bag-main {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 125%;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.16));
}

.ox-hero-float {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.12));
  animation: ox-float 5s ease-in-out infinite;
}

.ox-hero-float-1 { width: 84px; top: 4%; left: 18%; animation-delay: 0s; }
.ox-hero-float-2 { width: 56px; top: 14%; right: 16%; animation-delay: 0.5s; }
.ox-hero-float-3 { width: 72px; top: 2%; right: 38%; animation-delay: 1s; }
.ox-hero-float-4 { width: 48px; top: 28%; left: 8%; animation-delay: 0.3s; }
.ox-hero-float-5 { width: 42px; top: 36%; right: 6%; animation-delay: 1.4s; }
.ox-hero-float-6 { width: 38px; top: 22%; left: 42%; animation-delay: 0.8s; }

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

/* ── Services strip ── */
.ox-services {
  padding: 42px 0;
  background: #fff;
  border-top: 1px solid var(--ox-line);
  border-bottom: 1px solid var(--ox-line);
}

.ox-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  text-align: center;
}

.ox-service-icon {
  display: block;
  margin: 0 auto 14px;
  font-size: 2rem;
  filter: grayscale(0.2);
}

.ox-service strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: var(--ox-ink);
}

.ox-service p {
  margin: 0 auto;
  max-width: 28ch;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ox-muted);
}

/* ── Category explorer ── */
.ox-explore {
  padding: 56px 0;
  background: #fff;
}

.ox-explore-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ox-explore-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  background: var(--ox-panel);
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ox-explore-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.ox-explore-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--ox-ink);
}

.ox-explore-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ox-explore-copy li {
  font-size: 0.78rem;
  color: var(--ox-muted);
  line-height: 1.5;
}

.ox-explore-copy li + li { margin-top: 2px; }

.ox-explore-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ── Product grids ── */
.ox-daily,
.ox-featured {
  padding: 56px 0;
  background: #fff;
}

.ox-weekly {
  padding: 56px 0;
  background: var(--ox-panel);
}

.ox-prod-grid {
  display: grid;
  gap: 20px;
}

.ox-prod-grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ox-prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ox-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ox-prod-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.ox-prod-sale,
.ox-prod-ribbon {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ox-green);
}

.ox-prod-ribbon {
  top: 0;
  left: 0;
  padding: 8px 28px 6px 12px;
  border-radius: 0 0 12px 0;
  background: var(--ox-green-dark);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.ox-prod-clock {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 0.9rem;
  opacity: 0.7;
}

.ox-prod-img {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 18px;
  background: #fff;
}

.ox-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ox-prod-body {
  position: relative;
  padding: 14px 14px 16px;
  border-top: 1px solid var(--ox-line);
  flex: 1;
}

.ox-prod-body h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
}

.ox-prod-body h3 a { color: var(--ox-ink); }

.ox-prod-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ox-prod-price strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ox-ink);
}

.ox-prod-price s {
  font-size: 0.75rem;
  color: #aaa;
}

.ox-prod-cart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ox-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ox-green);
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ox-prod-cart:hover {
  background: var(--ox-green);
  border-color: var(--ox-green);
  color: #fff;
}

.ox-prod-cart.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── Promo trio ── */
.ox-promo-trio {
  padding: 0 0 56px;
  background: #fff;
}

.ox-promo-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ox-promo-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  min-height: 180px;
  padding: 24px 20px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  transition: transform 0.2s ease;
}

.ox-promo-banner:hover {
  transform: translateY(-3px);
  color: #fff;
}

.ox-promo-tomato { background: linear-gradient(135deg, #c62828 0%, #e53935 100%); }
.ox-promo-juice { background: #f5f5f3; color: var(--ox-ink); }
.ox-promo-greens { background: linear-gradient(135deg, #558b2f 0%, #7cb342 100%); }

.ox-promo-copy span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  opacity: 0.9;
}

.ox-promo-juice .ox-promo-copy span { color: var(--ox-muted); }

.ox-promo-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
}

.ox-promo-copy em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ox-promo-banner img {
  justify-self: end;
  width: min(100%, 150px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.ox-promo-juice img {
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.1));
}

/* ── Duo banners ── */
.ox-duo {
  padding: 0 0 56px;
  background: #fff;
}

.ox-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ox-duo-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  min-height: 200px;
  padding: 28px 24px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.ox-duo-banner:hover { transform: translateY(-3px); }

.ox-duo-mist {
  background: #ececea;
  color: var(--ox-ink);
}

.ox-duo-sky {
  background: linear-gradient(135deg, #b3d4f0 0%, #8ec5f0 100%);
  color: var(--ox-ink);
}

.ox-duo-copy span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  opacity: 0.75;
}

.ox-duo-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.ox-duo-copy em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ox-duo-sky .ox-duo-copy em,
.ox-duo-sky .ox-duo-copy span { color: #fff; }
.ox-duo-sky .ox-duo-copy h3 { color: #fff; }

.ox-duo-banner img {
  justify-self: end;
  width: min(100%, 180px);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

/* ── Best selling columns ── */
.ox-best {
  padding: 56px 0 72px;
  background: #fff;
}

.ox-best-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ox-best-head {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin-bottom: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    var(--ox-best-bg, #ddd) center / cover no-repeat;
  color: #fff;
}

.ox-best-head strong {
  font-family: var(--ox-serif);
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ox-best-list {
  border: 1px solid var(--ox-line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: #fff;
}

.ox-best-row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ox-line);
  transition: background 0.2s ease;
}

.ox-best-row:last-child { border-bottom: 0; }

.ox-best-row:hover { background: #fafafa; }

.ox-best-sale {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 3px;
  background: var(--ox-green);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ox-best-row img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: #fff;
}

.ox-best-meta strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ox-ink);
  margin-bottom: 6px;
}

.ox-best-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ox-best-price em {
  font-style: normal;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--ox-ink);
}

.ox-best-price s {
  font-size: 0.75rem;
  color: #aaa;
}

.ox-best-cart {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ox-line);
  border-radius: 50%;
  color: var(--ox-green);
  font-size: 0.9rem;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .ox-prod-grid-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .ox-hero-split-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ox-hero-copy h1 {
    max-width: none;
  }

  .ox-hero-visual {
    min-height: 320px;
  }

  .ox-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ox-prod-grid-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ox-promo-trio-grid,
  .ox-best-grid {
    grid-template-columns: 1fr;
  }

  .ox-duo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ox-hero-split { padding: 32px 0 40px; }

  .ox-hero-visual { min-height: 280px; }

  .ox-hero-float-1 { width: 64px; }
  .ox-hero-float-2 { width: 44px; }
  .ox-hero-float-3 { width: 56px; }

  .ox-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ox-explore-grid {
    grid-template-columns: 1fr;
  }

  .ox-prod-grid-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ox-promo-banner,
  .ox-duo-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ox-promo-banner img,
  .ox-duo-banner img {
    justify-self: center;
    margin-top: 12px;
  }
}

@media (max-width: 480px) {
  .ox-prod-grid-6 {
    grid-template-columns: 1fr;
  }

  .ox-best-row {
    grid-template-columns: 64px 1fr auto;
  }

  .ox-best-row img {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ox-hero-float {
    animation: none;
  }
}
