/* ==========================================
   ZAO DEAL — STOCK PAGE
   Mobile-first · modern · responsive
   ========================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  /* Palette — same as before */
  --green-900: #0c542e;
  --green-800: #0d5930;
  --green-700: #176b3a;
  --green-600: #1c9b50;
  --green-500: #218247;
  --green-400: #27834a;
  --green-300: #1a8546;
  --green-100: #e8f8ed;
  --green-50:  #edf3e9;
  --green-25:  #f4f8f1;

  --yellow:      #ffd34f;
  --yellow-soft: #ffe071;

  --bg:        #f5f8f3;
  --surface:   #ffffff;
  --border:    #e3eadf;
  --border-2:  #e1eadc;

  --ink:       #17321f;
  --ink-strong:#163821;
  --ink-soft:  #66736a;
  --ink-mute:  #718078;

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(22, 60, 35, 0.06);
  --shadow:    0 8px 24px rgba(22, 60, 35, 0.08);
  --shadow-lg: 0 16px 40px rgba(22, 60, 35, 0.14);

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 60px;
  --space-9: 80px;

  --max: 1120px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   CONTAINER
   Mobile-first padding, scales up
   ========================================== */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 480px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}


/* ==========================================
   HEADER
   ========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}

.header-inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}

.logo-icon {
  font-size: 22px;
  line-height: 1;
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-600);
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.header-whatsapp:hover {
  background: var(--green-700);
  transform: translateY(-1px);
}

.header-whatsapp:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 72px;
  }

  .logo {
    font-size: 21px;
    gap: 10px;
  }

  .logo-icon {
    font-size: 26px;
  }

  .header-whatsapp {
    font-size: 14px;
    padding: 10px 18px;
  }
}


/* ==========================================
   HERO
   Mobile-first: tighter padding, smaller title
   ========================================== */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 211, 79, 0.14), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 255, 255, 0.06), transparent 50%),
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-400) 100%);
  color: white;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 0 64px;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(34px, 9vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero-description {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  max-width: 620px;
}

.hero-description strong {
  color: #fff;
  font-weight: 700;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: #18371f;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.hero-button span {
  transition: transform 0.25s var(--ease);
}

.hero-button:hover {
  transform: translateY(-2px);
  background: var(--yellow-soft);
}

.hero-button:hover span {
  transform: translateY(3px);
}

.hero-button:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero-content {
    padding: 80px 0 90px;
  }

  .hero h1 {
    letter-spacing: -0.03em;
    margin-bottom: 22px;
  }

  .hero-description {
    font-size: 18px;
    margin-bottom: 32px;
  }

  .hero-button {
    padding: 15px 24px;
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 100px 0 110px;
  }

  .hero-description {
    font-size: 19px;
  }
}


/* ==========================================
   SECTION HEADINGS
   ========================================== */

.stock-section {
  padding: 56px 0;
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.section-label {
  display: inline-block;
  color: var(--green-300);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-heading h2 {
  font-size: clamp(26px, 6vw, 42px);
  line-height: 1.12;
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .stock-section {
    padding: 80px 0;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading p {
    font-size: 16px;
  }
}


/* ==========================================
   STOCK GRID
   Mobile-first: 1 column → 2 → 3
   ========================================== */

.stock-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 560px) {
  .stock-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 900px) {
  .stock-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}


/* ==========================================
   STOCK CARD
   Modern, rounded, subtle hover
   ========================================== */

.stock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}

.stock-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stock-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8eee5;
}

@media (min-width: 560px) {
  .stock-image {
    aspect-ratio: 16 / 10;
  }
}

.stock-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.stock-card:hover .stock-image img {
  transform: scale(1.05);
}

.availability {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #18713a;
  border: 1px solid #bde5ca;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ==========================================
   STOCK CONTENT
   ========================================== */

.stock-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.crop-icon {
  font-size: 22px;
  line-height: 1;
}

.stock-content h3 {
  font-size: 20px;
  color: var(--ink-strong);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.stock-description {
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.5;
}

.quantity-box {
  background: var(--green-25);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.quantity-box span {
  display: block;
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.quantity-box strong {
  display: block;
  color: var(--green-700);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.whatsapp-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--green-600);
  color: white;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

.whatsapp-button:hover {
  background: var(--green-700);
}

.whatsapp-button:active {
  transform: scale(0.98);
}

@media (min-width: 768px) {
  .stock-content {
    padding: 20px;
    gap: 14px;
  }

  .stock-content h3 {
    font-size: 22px;
  }

  .quantity-box strong {
    font-size: 24px;
  }
}


/* ==========================================
   LOADING / EMPTY STATE
   ========================================== */

.stock-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-mute);
  font-size: 15px;
  padding: 48px 20px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}


/* ==========================================
   HOW TO BUY
   ========================================== */

.how-to-buy {
  padding: 56px 0;
  background: var(--green-50);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.step {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--green-700);
  color: white;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(23, 107, 58, 0.25);
}

.step h3 {
  color: var(--ink-strong);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.step p {
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .how-to-buy {
    padding: 80px 0;
  }

  .step {
    padding: 30px 24px;
  }

  .step-number {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .step h3 {
    font-size: 19px;
  }
}


/* ==========================================
   FINAL CTA
   ========================================== */

.final-cta {
  padding: 56px 0;
  background: var(--surface);
}

.cta-box {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 211, 79, 0.12), transparent 55%),
    linear-gradient(135deg, var(--green-800), var(--green-500));
  color: white;
  border-radius: var(--radius-xl);
  padding: 40px 22px;
}

.cta-icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
}

.cta-box h2 {
  font-size: clamp(24px, 6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.cta-box p {
  max-width: 520px;
  margin: 0 auto 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.6;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--yellow);
  color: #18371f;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.cta-button:hover {
  background: var(--yellow-soft);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .final-cta {
    padding: 80px 0;
  }

  .cta-box {
    padding: 60px 40px;
  }

  .cta-icon {
    font-size: 45px;
  }

  .cta-box p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .cta-button {
    padding: 15px 26px;
    font-size: 16px;
  }
}


/* ==========================================
   FOOTER
   ========================================== */

.site-footer {
  background: #102619;
  color: white;
  padding: 36px 0 20px;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.site-footer p {
  color: #aebbb1;
  font-size: 13px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 20px;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #829088;
  font-size: 12px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 45px 0 25px;
  }

  .footer-logo {
    font-size: 22px;
  }

  .site-footer p {
    font-size: 14px;
    margin-bottom: 25px;
  }
}


/* ==========================================
   ACCESSIBILITY & POLISH
   ========================================== */

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fade in cards as they appear */
@keyframes zaoFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stock-card {
  animation: zaoFadeUp 0.4s var(--ease) both;
}

.stock-card:nth-child(1) { animation-delay: 0.02s; }
.stock-card:nth-child(2) { animation-delay: 0.06s; }
.stock-card:nth-child(3) { animation-delay: 0.10s; }
.stock-card:nth-child(4) { animation-delay: 0.14s; }
.stock-card:nth-child(5) { animation-delay: 0.18s; }
.stock-card:nth-child(6) { animation-delay: 0.22s; }
.stock-card:nth-child(7) { animation-delay: 0.26s; }
.stock-card:nth-child(8) { animation-delay: 0.30s; }
.stock-card:nth-child(9) { animation-delay: 0.34s; }



/* ==========================================
   WHATSAPP ICON (inline SVG)
   ========================================== */

.wa-icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  color: currentColor;
}