:root{
  --ink:#191411;
  --muted:#6e6258;
  --paper:#fff;
  --soft:#f7f2eb;
  --line:#e7dcd1;
  --brand:#b57a4a;
  --brand2:#c99a4e;
  --ok:#2d7a4f;
  --danger:#b03030;
  --shadow:0 14px 34px rgba(25,20,17,.08);
  --f-sans: Inter, system-ui, sans-serif;
  --f-serif: 'Playfair Display', Georgia, serif;
}

*{box-sizing:border-box}
body{
  margin:0;
  background:linear-gradient(180deg,#fffaf6 0%,#f8f3ee 100%);
  color:var(--ink);
  line-height:1.6;
  font-family:var(--f-sans);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select,textarea{font:inherit}

.hero{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(250,246,241,.92));
  border-bottom:1px solid var(--line);
  padding:2.2rem 1.25rem 1.45rem;
}
.hero-inner{max-width:1280px;margin:auto}
.hero h1{
  font-family:var(--f-serif);
  font-size:clamp(1.9rem,4vw,3.2rem);
  line-height:1.05;
  margin:.35rem 0 .85rem;
  letter-spacing:-.01em;
}
.hero p{max-width:760px;color:var(--muted);font-size:1rem;line-height:1.75;margin:0}
.eyebrow{
  color:var(--brand);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.7rem;
}

.wrap{max-width:1280px;margin:auto;padding:1.8rem 1.25rem 3.5rem}
.toolbar{
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:.8rem;
  margin:0 0 1.15rem;
}
.toolbar input,.toolbar select{
  border:1px solid var(--line);
  border-radius:16px;
  padding:.82rem .95rem;
  background:#fff;
  box-shadow:0 1px 2px rgba(28,16,9,.03);
}
.chip-rail{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:.55rem;
  align-items:center;
  margin:0 0 1rem;
}
.chip-nav{
  width:38px;height:38px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 1px 2px rgba(28,16,9,.03);
  color:var(--ink);
  transition:transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease;
}
.chip-nav:hover{background:var(--ink);color:#fff;transform:translateY(-1px)}
.chip-nav:disabled{opacity:.35;cursor:not-allowed;transform:none}
.chips{
  display:flex;
  gap:.55rem;
  overflow:auto;
  padding:.15rem 0 .15rem;
  scrollbar-width:none;
  scroll-behavior:smooth;
}
.chips::-webkit-scrollbar{display:none}
.chip{
  white-space:nowrap;
  border:1px solid var(--line);
  background:#fff;
  border-radius:999px;
  padding:.56rem .9rem;
  font-weight:700;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.chip:hover{background:var(--ink);color:#fff;transform:translateY(-1px)}
.chip.active{background:var(--ink);color:#fff;transform:translateY(-1px)}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:1rem;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:0 20px 40px rgba(28,16,9,.1)}
.card-img{aspect-ratio:1;background:#eee;object-fit:cover;width:100%}
.card-body{padding:1rem;display:flex;flex-direction:column;gap:.42rem;min-height:178px}
.brandline{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;color:var(--brand);font-weight:800}
.name{font-weight:800;line-height:1.25}
.desc{font-size:.84rem;color:var(--muted)}
.price{margin-top:auto;font-weight:900;font-size:1.05rem;color:#C4887C}
.actions{display:flex;gap:.5rem;margin-top:.8rem}
.btn{
  border:0;
  border-radius:999px;
  padding:.72rem .9rem;
  background:var(--ink);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.btn.alt{background:var(--soft);color:var(--ink)}
.btn.whatsapp{background:#25D366}

.product{
  display:grid;
  grid-template-columns:minmax(280px,440px) 1fr;
  gap:1.5rem;
  align-items:start;
  position:relative;
}
.product-media,
.product-copy{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:var(--shadow);
}
.product-media{padding:1rem}
.product-copy{padding:1.35rem}
.product-copy h1{
  font-family:var(--f-serif);
  font-size:clamp(1.8rem,4vw,3rem);
  line-height:1.05;
  margin:.2rem 0 1rem;
}
.pillrow{display:flex;gap:.5rem;flex-wrap:wrap}
.pill{background:var(--soft);border-radius:999px;padding:.35rem .7rem;font-size:.82rem;font-weight:700}
.back-fab{
  position:fixed;
  top:1rem;
  left:1rem;
  z-index:30;
  width:40px;
  height:40px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  font-size:1.1rem;
  font-weight:700;
}
.section-title{font-family:var(--f-serif);font-size:1.8rem;margin:2.2rem 0 1rem}
.article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:1.15rem;
  margin-bottom:1rem;
  box-shadow:var(--shadow);
}
.article h2{font-family:var(--f-serif);font-size:1.25rem;margin:0 0 .6rem;line-height:1.2}
.article p{color:var(--muted);line-height:1.72;margin:0}
.article ul{
  margin:.8rem 0 0 1.1rem;
  padding:0;
  color:var(--muted);
}
.article li{margin:0 0 .38rem}

@media(max-width:760px){
  .toolbar{grid-template-columns:1fr}
  .product{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}
  .card-body{min-height:190px}
}
