:root {
  --cream: #fbf7ef;
  --beige: #f3e9d8;
  --sand: #e6d5bb;
  --kraft: #c49a6c;
  --brown: #7a4d2b;
  --brown-dark: #3e2a1c;
  --olive: #5f6b3a;
  --olive-dark: #4a5430;
  --whatsapp: #1f8f4e;
  --whatsapp-dark: #18733e;
  --text: #2f2419;
  --muted: #6e5f50;
  --line: #e7dccb;
  --radius: 18px;
  --shadow: 0 10px 30px -14px rgba(62, 42, 28, 0.28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brown); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--brown-dark); margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--brown-dark); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--olive); margin-bottom: .8rem; }
.placeholder, .price-placeholder {
  display: inline-block;
  background: repeating-linear-gradient(-45deg, #fff6e0, #fff6e0 6px, #fbecc8 6px, #fbecc8 12px);
  border: 1px dashed #c9a25a;
  color: #7a5a1c;
  font-weight: 600;
  font-size: .9rem;
  padding: .15rem .55rem;
  border-radius: 6px;
}

/* Setup notice */
.setup-notice { background: #fff3cf; color: #6b4e12; border-bottom: 1px solid #ecd69a; font-size: .88rem; padding: .55rem 1.25rem; text-align: center; }
.setup-notice code { background: #fbe6a8; padding: .05rem .35rem; border-radius: 4px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brown); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brown-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-sm { padding: .55rem 1.1rem; font-size: .92rem; min-height: 42px; }
.btn-block { width: 100%; }
.wa-icon { width: 1.15em; height: 1.15em; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.35rem; color: var(--brown-dark); }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--text); font-weight: 600; font-size: .96rem; }
.site-nav a:not(.btn):hover { color: var(--olive); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--brown-dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(ellipse at 80% 10%, #f8efe0 0%, var(--beige) 55%, #efe2cc 100%); padding: clamp(2.5rem, 6vw, 5.5rem) 0; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.6rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--olive-dark); font-weight: 600; font-size: .92rem; }
.hero-points li::before { content: "✓"; margin-right: .4rem; color: var(--olive); }
.hero-media img { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(62, 42, 28, .5); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Sections */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tint { background: var(--beige); }
.section-head { max-width: 640px; margin: 0 auto 2.6rem; text-align: center; }
.section-head p:last-child { color: var(--muted); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(62, 42, 28, .35); }
.product-media { aspect-ratio: 1 / 1; background: var(--beige); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-name { font-size: 1.45rem; margin-bottom: .35rem; }
.product-desc { color: var(--muted); font-size: .95rem; }
.field { border: 0; padding: 0; margin: .2rem 0 1.1rem; }
.field legend { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: .5rem; padding: 0; }
.size-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.size-option input { position: absolute; opacity: 0; pointer-events: none; }
.size-option span { display: inline-block; padding: .5rem 1rem; border: 1.5px solid var(--sand); border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; background: var(--cream); transition: all .15s; min-width: 4.2rem; text-align: center; }
.size-option input:checked + span { background: var(--olive); border-color: var(--olive); color: #fff; }
.size-option input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 2px; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; margin-bottom: 1rem; flex-wrap: wrap; }
.price { display: flex; flex-direction: column; min-height: 2.6rem; justify-content: center; }
.price-value { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--brown-dark); line-height: 1.1; }
.price-unit { font-size: .82rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--sand); border-radius: 999px; overflow: hidden; background: var(--cream); }
.qty-btn { width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--brown-dark); }
.qty-btn:hover { background: var(--beige); }
.qty-input { width: 44px; height: 40px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; color: var(--text); -moz-appearance: textfield; appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order-note { font-size: .8rem; color: var(--muted); text-align: center; margin: .7rem 0 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.steps li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--olive); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.steps p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media img { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-copy > p { color: var(--muted); }
.values { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.values li { background: var(--beige); border-radius: 14px; padding: 1rem; display: flex; flex-direction: column; }
.values strong { font-family: var(--serif); color: var(--brown-dark); font-size: 1.08rem; }
.values span { font-size: .87rem; color: var(--muted); }

/* Delivery & payment */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.info-card h3 { font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--muted); }
.chip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chip-list li { background: #fff; border: 1px solid var(--sand); border-radius: 999px; padding: .25rem .8rem; font-size: .9rem; font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-copy p { color: var(--muted); }
.contact-list { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1.6rem; box-shadow: var(--shadow); }
.contact-list div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.contact-list div:last-child { border-bottom: 0; }
.contact-list dt { font-weight: 700; color: var(--brown-dark); }
.contact-list dd { margin: 0; color: var(--muted); word-break: break-word; }

/* Footer */
.site-footer { background: var(--brown-dark); color: #e9dcc8; padding: 3rem 0 1.5rem; }
.brand-light { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid rgba(233, 220, 200, .18); }
.footer-tag { margin: .6rem 0 0; color: #cdbba2; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer-nav a { color: #f3e9d8; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 1.3rem; font-size: .85rem; color: #bba88d; }
.footer-bottom p { margin: 0 0 .4rem; }
.footer-bottom a { color: #e9dcc8; }

/* Legal pages */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--muted); }
.legal-note { background: #fff3cf; border: 1px dashed #c9a25a; color: #6b4e12; border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .93rem; }

/* Responsive */
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 1rem; }
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .about-media img { aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-list div { grid-template-columns: 1fr; gap: .15rem; }
  .contact-list { padding: .4rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
