:root {
  --paper: #F7F2EA;
  --card: #FFFCF7;
  --ink: #241C17;
  --muted: #75685E;
  --line: #E6DCCD;
  --walnut: #5A3A26;
  --terracotta: #B4532A;
  --olive: #5E6B3A;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 56px; }
a { color: inherit; }

header { padding: 28px 0 18px; text-align: center; }
.brand { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
h1 {
  font-family: "Fraunces", Georgia, serif; font-weight: 600;
  font-size: 44px; line-height: 1; letter-spacing: -.01em; margin: 10px 0 8px;
}
.lead { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 auto; max-width: 34ch; }

.search {
  display: flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 16px; margin: 18px 0 22px;
}
.search input {
  border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; width: 100%; color: var(--ink);
}
.search svg { flex: none; color: var(--muted); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.edit-card {
  display: block; text-decoration: none; background: var(--card);
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.edit-cover { aspect-ratio: 4 / 5; background: #E9DFD1; position: relative; overflow: hidden; }
.edit-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.edit-cover.mosaic { display: grid; grid-template-columns: 1fr 1fr; }
.edit-cover.mosaic img { background: #fff; object-fit: contain; padding: 6px; }
.tag {
  position: absolute; left: 8px; top: 8px; background: rgba(36,28,23,.82); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 8px; border-radius: 6px;
}
.edit-meta { padding: 10px 12px 12px; }
.edit-meta strong { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 16px; line-height: 1.2; }
.edit-meta span { font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 32px 0; }

/* Detalhe de um edit */
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); text-decoration: none; padding: 20px 0 6px; }
.detail-title { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.05; margin: 6px 0 4px; }
.detail-sub { color: var(--muted); margin: 0 0 18px; }
.products { display: grid; gap: 14px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.product-img { aspect-ratio: 4 / 5; background: #fff; }
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-img.contain img { object-fit: contain; padding: 12px; }
.product-body { padding: 14px 16px 16px; }
.product-num { font-size: 12px; letter-spacing: .12em; color: var(--terracotta); font-weight: 700; }
.product-name { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 20px; line-height: 1.2; margin: 4px 0 6px; }
.product-price { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px;
  background: var(--walnut); color: #fff;
}
.btn.shopee { background: var(--terracotta); }
.btn.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); cursor: default; }
.note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 22px; line-height: 1.5; }
footer { text-align: center; margin-top: 30px; }
footer a { font-size: 13px; color: var(--muted); }

/* ---- Site (acréscimos ao CSS do THE EDIT) ---- */
body.natal { --walnut: #2F4A3A; --terracotta: #8A2B2B; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
h1.page { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.05; margin: 6px 0 10px; letter-spacing: -.01em; }
.intro { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 16px; }
.aviso { font-size: 13px; line-height: 1.5; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 18px; }
.aviso a { color: var(--walnut); }
.doors { display: grid; gap: 14px; margin: 8px 0 28px; }
.door { display: block; position: relative; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 4 / 3; background: #3b2d24; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,14,10,.78), rgba(20,14,10,.05) 60%); }
.door span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; }
.door strong { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 30px; line-height: 1; }
.door small { display: block; margin-top: 6px; font-size: 14px; opacity: .92; }
.door.natal { background: #2F4A3A; }
h2.sec { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 22px; margin: 26px 0 12px; }
.cena { margin: 22px 0 12px; }
.cena img { width: 100%; display: block; border-radius: 16px; background: #E9DFD1; }
.cena figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
a.product-img { display: block; }
.product-label { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.edit-card[hidden] { display: none; }
