/* ==========================================================================
   Velmora Foods — Shared Design System
   Palette grounded in the subject: forest green (existing brand mark),
   turmeric gold (the product itself), terracotta (clay cooking vessels),
   rice-paper cream (background). Stamp motif nods to the export/customs
   documents that are core to this business.
   ========================================================================== */

:root {
  --forest: #1F3A2E;
  --forest-dark: #142720;
  --forest-tint: #E7EEE8;
  --turmeric: #C7861B;
  --turmeric-dark: #9C6913;
  --terracotta: #A6512C;
  --cream: #F6F1E4;
  --cream-deep: #EDE5D0;
  --ink: #1C1A16;
  --ink-soft: #4A473F;
  --line: #DDD5C1;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(28, 26, 22, 0.06), 0 6px 20px rgba(28, 26, 22, 0.05);
  --max-width: 1180px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.4em; color: var(--forest-dark); }
p { margin: 0 0 1em; color: var(--ink-soft); }
:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 2px; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--turmeric-dark);
}

/* ---------- Header ---------- */
.site-header { background: var(--forest); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.brand img { height: 34px; width: 34px; object-fit: contain; background: var(--white); border-radius: 50%; padding: 3px; }
.main-nav ul { display: flex; gap: 28px; flex-wrap: wrap; }
.main-nav a { color: var(--cream); font-size: 0.92rem; font-weight: 500; opacity: 0.9; }
.main-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--cream-deep); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; gap: 8px; padding: 10px 0; font-size: 0.82rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--forest); font-weight: 600; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb li[aria-current] { color: var(--ink-soft); }

/* ---------- Category Hero ---------- */
.cat-hero { background: var(--forest); color: var(--cream); padding: 56px 0 44px; position: relative; overflow: hidden; }
.cat-hero .eyebrow { color: var(--turmeric); }
.cat-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 2.9rem); margin-top: 0.3em; }
.cat-hero p.lede { color: #D9E2DB; max-width: 62ch; font-size: 1.05rem; }
.cat-hero .stamp { position: absolute; right: 6%; top: 20%; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { max-width: 54ch; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(10, 20, 15, 0.35);
  border: 6px solid rgba(250, 246, 238, 0.08);
}
.hero-media .stamp {
  position: absolute; left: -22px; bottom: -22px; top: auto; right: auto;
  background: var(--forest); box-shadow: 0 8px 22px rgba(10,20,15,0.35);
}

/* Export-stamp signature motif */
.stamp {
  border: 2px dashed rgba(250, 246, 238, 0.55);
  border-radius: 50%;
  width: 108px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(-11deg);
  text-align: center;
  padding: 10px;
}
.stamp span { font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(250, 246, 238, 0.85); line-height: 1.3; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--cream-deep); border-bottom: 1px solid var(--line); padding: 14px 0; }
.trust-strip ul { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; font-size: 0.8rem; font-weight: 600; color: var(--forest-dark); }
.trust-strip li::before { content: "✓"; color: var(--turmeric-dark); margin-right: 6px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.section-alt { background: var(--white); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product-card .card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--turmeric-dark); }
.product-card h3 { font-size: 1.08rem; margin: 0; }
.product-card p { font-size: 0.9rem; margin: 0; flex: 1; }
.product-card .card-cta { margin-top: 10px; font-size: 0.85rem; font-weight: 700; color: var(--forest); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.92rem; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; }
.btn-primary { background: var(--turmeric); color: var(--forest-dark); }
.btn-primary:hover { background: var(--turmeric-dark); color: var(--white); }
.btn-outline { border-color: var(--cream); color: var(--cream); }
.btn-outline:hover { background: rgba(250, 246, 238, 0.12); }
.btn-outline-dark { border-color: var(--forest); color: var(--forest); }
.btn-outline-dark:hover { background: var(--forest); color: var(--cream); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- FAQ (native details/summary, no JS) ---------- */
.faq-list { max-width: 74ch; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--forest-dark); font-size: 1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--turmeric-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest); color: var(--cream); padding: 52px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #D9E2DB; max-width: 56ch; margin: 0 auto 8px; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Category cross-links ---------- */
.cross-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cross-link { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-weight: 700; color: var(--forest-dark); display: flex; align-items: center; justify-content: space-between; }
.cross-link:hover { border-color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: #C7D2CB; padding: 48px 0 24px; font-size: 0.88rem; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.footer-grid h4 { color: var(--cream); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid rgba(199, 210, 203, 0.18); padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 0.78rem; }

/* ---------- Floating WhatsApp CTA ---------- */
.float-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.float-cta:hover { transform: scale(1.06); }

/* ---------- Forms (contact / newsletter) ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { font-size: 0.85rem; font-weight: 700; color: var(--forest-dark); display: flex; flex-direction: column; gap: 6px; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 0.95rem; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--forest); }
.contact-form button { align-self: flex-start; margin-top: 4px; border: none; cursor: pointer; }
.contact-info iframe { border-radius: var(--radius-lg); margin-bottom: 16px; }
.newsletter-form { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 160px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid rgba(199,210,203,0.3); background: rgba(250,246,238,0.06); color: var(--cream); font-size: 0.85rem; }
.newsletter-form button { padding: 10px 18px; font-size: 0.85rem; border: none; cursor: pointer; }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 780px) {
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .cat-hero .stamp { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero-media .stamp { display: none; }
}
