:root {
  --bg: #FBF6EF;
  --paper: #FFFDF9;
  --ink: #4A3B32;
  --ink-soft: #85736A;
  --line: #EEE3D7;
  --sage: #9DB59A;
  --sage-deep: #6E8E6A;
  --blush: #F2C6C2;
  --blush-deep: #D9928A;
  --butter: #F6E3B4;
  --sky: #DDEBEE;
  --aqua: #74CFDD;
  --aqua-soft: #D8F1F5;
  --peach: #FCE1D3;
  --peach-deep: #D9805C;
  --wa: #5E9A6C;
  --wa-hover: #4F8A5D;
  --shadow: 0 1px 2px rgba(110, 80, 60, .05), 0 8px 24px rgba(110, 80, 60, .07);
  --shadow-lg: 0 20px 60px rgba(80, 55, 40, .18);
  --radius: 22px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.fine { font-size: 13px; color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 239, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(238, 227, 215, .7);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 2px 8px rgba(110, 80, 60, .15); transition: transform .3s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 18px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 700; font-size: 15px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--blush-deep); color: #fff; font-size: 12px; font-weight: 800;
  display: inline-grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 18px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-deep); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -.01em; }
.tagline { margin: 16px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 34ch; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-steps span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.hero-steps b {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky); font-size: 12px; font-weight: 800;
}
.hero-steps span:nth-child(1) b { background: var(--aqua-soft); }
.hero-steps span:nth-child(2) b { background: var(--butter); }
.hero-steps span:nth-child(3) b { background: var(--blush); }

/* Retrato da Malu */
.hero-art { position: relative; justify-self: center; width: min(330px, 100%); padding: 18px 18px 30px; }
.portrait {
  position: relative; aspect-ratio: 405 / 426; border-radius: 999px 999px 36px 36px; overflow: hidden;
  border: 7px solid var(--paper); background: var(--aqua);
  box-shadow: 0 24px 50px rgba(120, 90, 70, .16), 0 0 0 1px var(--line);
  transform: rotate(-2deg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.hello {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%) rotate(2deg);
  white-space: nowrap; padding: 9px 18px; border-radius: 999px; background: var(--paper);
  font-family: var(--serif); font-style: italic; font-size: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hello i { font-style: normal; color: var(--blush-deep); display: inline-block; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } }
.deco { position: absolute; z-index: 2; font-size: 26px; line-height: 1; animation: bob 4s ease-in-out infinite; pointer-events: none; }
.deco.d1 { top: 4%; left: -2%; color: var(--blush-deep); }
.deco.d2 { top: 14%; right: -4%; color: var(--blush-deep); font-size: 30px; animation-delay: -1.2s; }
.deco.d3 { bottom: 30%; left: -6%; color: #E8C46A; font-size: 22px; animation-delay: -2.1s; }
.deco.d4 { bottom: 22%; right: -2%; color: var(--sage); animation-delay: -.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(10deg); } }

/* ---------- Barra de filtros ---------- */
.shop { padding: 28px 0 24px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14px; color: var(--ink-soft);
  transition: all .15s ease;
}
.chip:hover { color: var(--ink); }
.chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.search {
  display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  width: min(280px, 100%); color: var(--ink-soft);
}
.search svg { width: 18px; height: 18px; flex: none; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; color: var(--ink); }
.search:focus-within { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(157, 181, 154, .25); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  animation: rise .45s ease both;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(110, 80, 60, .05), 0 16px 34px rgba(110, 80, 60, .1); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.card.skeleton { min-height: 340px; background: linear-gradient(100deg, #F6EEE5 30%, #FBF6F0 50%, #F6EEE5 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; border: 0; box-shadow: none; }
@keyframes shimmer { to { background-position: -150% 0; } }
.card-media {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0;
  background: #F5EDE4; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #FBF1E6, #F2E6DA); }
.placeholder svg { width: 34%; opacity: .55; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 253, 249, .92); color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .06); }
.badge { display: inline-flex; align-items: center; gap: 4px; }
.badge svg { width: 13px; height: 13px; }
.badge.featured { background: var(--butter); }
.badge.popular { background: #FBE3E6; color: #B2525E; }
.badge.requested { background: var(--peach); color: #A14E2D; }
.badge.requested svg { animation: peek 2.4s ease-in-out infinite; }
@keyframes peek { 0%, 70%, 100% { transform: scaleY(1); } 80% { transform: scaleY(.1); } }
.badge.reserved { background: var(--sky); }
.badge.sold { background: var(--ink); color: var(--paper); }
.card.is-sold .card-media img, .card.is-sold .placeholder { filter: grayscale(.7) opacity(.65); }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; }
.card-cat { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); }
.card-title { margin: 0; font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; }
.card-title button { all: unset; cursor: pointer; }
.card-title button:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 4px; }
.card-cond { margin: 0; font-size: 14px; color: var(--ink-soft); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 12px; }
.price { font-weight: 800; font-size: 18px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px;
  border-radius: 999px; border: 0; background: var(--sage); color: #fff; font-weight: 800; font-size: 14px;
  white-space: nowrap; transition: background .15s ease, transform .15s ease;
}
.add-btn:hover { background: var(--sage-deep); }
.add-btn:active { transform: scale(.96); }
.add-btn svg { width: 16px; height: 16px; }
.add-btn.in-cart { background: var(--paper); color: var(--sage-deep); box-shadow: inset 0 0 0 1.5px var(--sage); }
.add-btn:disabled { background: #E9E1D8; color: var(--ink-soft); cursor: not-allowed; box-shadow: none; }
.empty { text-align: center; padding: 40px 16px; color: var(--ink-soft); font-size: 17px; }

/* ---------- Sobre ---------- */
.about { padding: 20px 0 50px; }
.about-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px;
  display: grid; gap: 10px; max-width: 760px; margin-inline: auto; text-align: center; box-shadow: var(--shadow);
}
.about-card h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; }
.about-card p { margin: 0; color: var(--ink-soft); white-space: pre-line; }
.about-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.pill-link {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; background: var(--bg);
}
.pill-link svg { width: 18px; height: 18px; }
.about-avatar { width: 88px; height: 88px; margin: -76px auto 4px; border-radius: 50%; border: 5px solid var(--paper); box-shadow: var(--shadow); }
.about { padding-top: 56px; }
.footer { border-top: 1px solid var(--line); padding: 34px 0 30px; text-align: center; color: var(--ink-soft); font-size: 14px; background: #F7F0E7; }
.footer > .wrap > p { margin: 4px 0; }
.foot-line { margin-top: 22px !important; font-weight: 700; color: var(--ink); }

/* Avisos */
.notices { max-width: 860px; margin: 0 auto; text-align: left; }
.notices h2 { margin: 0 0 14px; text-align: center; font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); }
.notices ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.notices li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.notices li p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.notices li b { color: var(--ink); }
.notice-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.notice-ico svg { width: 19px; height: 19px; }
.notice-ico.req { background: var(--peach); color: #A14E2D; }
.notice-ico.res { background: var(--sky); color: #3E6F7B; }
.notice-ico.warn { background: var(--butter); color: #8A6A1F; }
.notice-ico.chat { background: #E3EFE0; color: var(--sage-deep); }
.notices li:nth-child(3) { border-color: #EFD9A0; }

/* ---------- Overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(74, 59, 50, .32);
  display: grid; place-items: center; padding: 20px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.dialog { position: relative; background: var(--paper); border-radius: 28px; box-shadow: var(--shadow-lg); width: min(960px, 100%); max-height: calc(100dvh - 40px); overflow: auto; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.close { position: absolute; top: 14px; right: 14px; z-index: 3; box-shadow: var(--shadow); }

.product-dialog { display: grid; grid-template-columns: 1.05fr 1fr; }
.pd-gallery { position: relative; background: #F5EDE4; min-width: 0; }
.pd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; }
.pd-track::-webkit-scrollbar { display: none; }
.pd-track > * { flex: 0 0 100%; scroll-snap-align: center; }
.pd-track img { width: 100%; height: 100%; object-fit: contain; background: #F5EDE4; }
.pd-nav { position: absolute; top: calc(50% - 30px); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 253, 249, .9); display: grid; place-items: center; box-shadow: var(--shadow); }
.pd-nav svg { width: 20px; height: 20px; }
.pd-nav.prev { left: 12px; }
.pd-nav.next { right: 12px; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: var(--paper); border-top: 1px solid var(--line); }
.pd-thumbs button { flex: none; width: 58px; height: 58px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #F5EDE4; opacity: .7; }
.pd-thumbs button[aria-current="true"] { border-color: var(--sage); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pd-cat { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-deep); }
.pd-info h2 { margin: 0; padding-right: 36px; font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; }
.pd-price { margin: 0; font-size: 24px; font-weight: 800; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 11px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.tag.reserved { background: var(--sky); border-color: transparent; color: var(--ink); }
.tag.sold { background: var(--ink); border-color: transparent; color: var(--paper); }
.pd-desc { color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; }
.pd-actions { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.qty button { width: 40px; height: 100%; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--ink-soft); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty span { min-width: 26px; text-align: center; font-weight: 800; }
.qty.small { height: 34px; }
.qty.small button { width: 30px; font-size: 17px; }
.primary-btn {
  flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--sage); color: #fff; font-weight: 800; font-size: 15px; min-width: 180px;
  transition: background .15s ease;
}
.primary-btn svg { width: 18px; height: 18px; flex: none; }
.primary-btn:hover { background: var(--sage-deep); }
.primary-btn:disabled { background: #E9E1D8; color: var(--ink-soft); cursor: not-allowed; }
.link-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.link-btn svg { width: 17px; height: 17px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Carrinho ---------- */
.drawer-overlay { place-items: stretch end; padding: 0; }
.drawer {
  width: min(420px, 100vw); height: 100dvh; background: var(--paper);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  animation: slide .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 24px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #F5EDE4; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb .placeholder svg { width: 50%; }
.cart-name { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.3; }
.cart-sub { margin: 2px 0 6px; font-size: 13px; color: var(--ink-soft); }
.cart-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line-total { font-weight: 800; }
.remove-btn { border: 0; background: none; padding: 0; font-size: 13px; color: var(--blush-deep); font-weight: 700; }
.cart-empty { text-align: center; padding: 48px 10px; color: var(--ink-soft); }
.cart-empty svg { width: 90px; margin: 0 auto 12px; opacity: .8; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--bg); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 17px; }
.total-row strong { font-size: 22px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field input { height: 44px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); outline: 0; font-weight: 400; }
.field input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(157, 181, 154, .25); }
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; border: 0; border-radius: 999px; background: var(--wa); color: #fff;
  font-weight: 800; font-size: 16px; box-shadow: 0 8px 20px rgba(94, 154, 108, .3);
  transition: background .15s ease, transform .15s ease;
}
.wa-btn:hover { background: var(--wa-hover); }
.wa-btn:active { transform: scale(.98); }
.wa-btn svg { width: 22px; height: 22px; }
.wa-btn:disabled { background: #CFC6BC; box-shadow: none; cursor: not-allowed; }
.drawer-foot p { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70;
  display: flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--paper); padding: 12px 14px 12px 18px; border-radius: 999px;
  box-shadow: var(--shadow-lg); font-weight: 700; font-size: 14px; animation: toastIn .25s ease;
  max-width: calc(100vw - 32px);
}
.toast button { border: 0; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: 13px; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(300px, 100%); margin: 0 auto; }
  .notices ul { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .tagline { margin-inline: auto; }
  .hero-steps { justify-content: center; }
  .product-dialog { grid-template-columns: 1fr; }
  .pd-info { padding: 22px 20px 24px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 16px; }
  .hero-inner { gap: 18px; }
  .hero-art { width: min(250px, 78%); padding: 12px 12px 26px; }
  .hello { font-size: 16px; padding: 7px 14px; }
  .deco { font-size: 20px; }
  .hero-steps { gap: 6px; margin-top: 18px; }
  .hero-steps span { font-size: 13px; padding: 5px 11px 5px 5px; }
  .hero-steps b { width: 20px; height: 20px; font-size: 11px; }
  .tagline { font-size: 16px; }
  .cart-label { display: none; }
  .cart-btn { padding: 0 12px; }
  .brand-name { font-size: 19px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 18px; }
  .card-body { padding: 10px 12px 12px; }
  .card-title { font-size: 16px; }
  .card-cond { font-size: 13px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .price { font-size: 16px; }
  .add-btn { justify-content: center; }
  .overlay { padding: 0; place-items: end stretch; }
  .dialog { border-radius: 24px 24px 0 0; max-height: 94dvh; width: 100%; }
  .about-card { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Requisitado / Popular ---------- */
.tag.requested { background: var(--peach); border-color: transparent; color: #A14E2D; }
.tag.popular { background: #FBE3E6; border-color: transparent; color: #B2525E; }
.pd-note { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--peach); color: #8A4325; font-size: 14px; font-weight: 600; line-height: 1.45; }
.cart-flag { display: inline-block; margin-top: 2px; font-size: 11px; font-weight: 800; color: #A14E2D; background: var(--peach); padding: 1px 8px; border-radius: 999px; }

/* ---------- Você pode gostar ---------- */
.recs { margin-top: 6px; padding: 16px 0 8px; border-top: 1px dashed var(--line); }
.recs-title { margin: 0 0 10px; font-family: var(--serif); font-size: 18px; display: flex; align-items: center; gap: 8px; }
.recs-title::before { content: "♡"; color: var(--blush-deep); font-family: var(--sans); }
.recs-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: thin; }
.rec {
  position: relative; flex: 0 0 136px; scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  animation: rise .4s ease both; transition: transform .2s ease;
}
.rec:hover { transform: translateY(-2px); }
.rec-media { display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; background: #F5EDE4; position: relative; }
.rec-media img { width: 100%; height: 100%; object-fit: cover; }
.rec-media .placeholder svg { width: 40%; }
.rec .mini-badge { position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(255, 253, 249, .94); color: #B2525E; }
.rec .mini-badge.req { color: #A14E2D; background: var(--peach); }
.rec-body { padding: 8px 10px 10px; display: grid; gap: 2px; flex: 1; }
.rec-name { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.rec-name button { all: unset; cursor: pointer; }
.rec-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 4px; }
.rec-price { font-weight: 800; font-size: 14px; }
.rec-add { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--sage); color: #fff; display: grid; place-items: center; transition: background .15s ease, transform .15s ease; }
.rec-add:hover { background: var(--sage-deep); transform: scale(1.08); }
.rec-add svg { width: 15px; height: 15px; }
.pd-recs { grid-column: 1 / -1; margin: 0; padding: 18px 24px 20px; border-top: 1px solid var(--line); background: var(--bg); }
.pd-recs .rec { flex-basis: 150px; background: var(--paper); }
.drawer-foot a { color: var(--ink-soft); font-weight: 700; }

/* ---------- Abertura ---------- */
html.intro body { overflow: hidden; }
.splash {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #FFFDF9 0%, #FBF1E6 55%, #F6E4E8 100%);
  clip-path: circle(150% at 50% 42%);
  animation: splashFailsafe .01s 5s forwards;
}
.splash.out { animation: splashOut .85s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes splashOut { to { clip-path: circle(0% at 50% 42%); } }
@keyframes splashFailsafe { to { visibility: hidden; opacity: 0; } }
.splash-inner { position: relative; display: grid; justify-items: center; gap: 14px; text-align: center; padding: 0 16px; margin-top: -6vh; }
.splash-avatar {
  width: 156px; height: 156px; border-radius: 50%; overflow: hidden; background: var(--aqua);
  border: 6px solid #fff; box-shadow: 0 18px 40px rgba(120, 90, 70, .2);
  animation: avatarIn .9s cubic-bezier(.34, 1.56, .64, 1) both, wiggle 1.1s .95s ease-in-out;
}
.splash-avatar img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transform-origin: 56% 40%; }
@keyframes avatarIn { from { transform: scale(0) rotate(-25deg); opacity: 0; } }
@keyframes wiggle { 25% { transform: rotate(-7deg); } 50% { transform: rotate(6deg); } 75% { transform: rotate(-3deg); } }
.splash-title { margin: 0; font-family: var(--serif); font-size: clamp(30px, 7vw, 46px); font-weight: 500; color: var(--ink); line-height: 1.1; }
.splash-title span { display: inline-block; animation: letterIn .55s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(.45s + var(--i) * 40ms); }
@keyframes letterIn { from { opacity: 0; transform: translateY(18px) scale(.5); } }
.splash-sub { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; animation: fadeIn .6s 1.15s both; }
@keyframes fadeIn { from { opacity: 0; } }
.float { position: absolute; font-size: 28px; color: var(--blush-deep); opacity: 0; animation: floatUp 2.6s ease-out both; }
.float.f1 { left: 16%; top: 64%; animation-delay: .15s; }
.float.f2 { left: 78%; top: 60%; animation-delay: .35s; }
.float.f3 { left: 26%; top: 28%; color: var(--sage); animation-delay: .55s; }
.float.f4 { left: 68%; top: 22%; animation-delay: .45s; font-size: 22px; }
.float.f5 { left: 48%; top: 78%; color: #E8C46A; animation-delay: .25s; }
.float.f6 { left: 86%; top: 38%; color: var(--sage); animation-delay: .65s; }
@keyframes floatUp {
  0% { opacity: 0; transform: translateY(30px) scale(.5) rotate(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-110px) scale(1.15) rotate(25deg); }
}

/* Entrada do conteúdo (toca depois da abertura) */
.reveal { animation: revealUp .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 110ms + .05s); }
.reveal-pop { animation: popIn 1s cubic-bezier(.34, 1.56, .64, 1) .2s both; }
@keyframes revealUp { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } }
@keyframes popIn { from { opacity: 0; transform: scale(.7) rotate(6deg); } }
html.intro .reveal, html.intro .reveal-pop, html.intro .card, html.intro .deco { animation-play-state: paused; }

/* ---------- Transições entre telas ---------- */
@view-transition { navigation: auto; types: page; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
html:active-view-transition-type(page)::view-transition-old(root) { animation: .3s ease both vtOut; }
html:active-view-transition-type(page)::view-transition-new(root) { animation: .55s cubic-bezier(.2, .8, .2, 1) both vtIn; }
@keyframes vtOut { to { opacity: 0; transform: scale(.98); filter: blur(3px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }
::view-transition-group(pd-hero) { animation-duration: .5s; z-index: 10; }
::view-transition-old(pd-hero), ::view-transition-new(pd-hero) { height: 100%; width: 100%; object-fit: cover; }
.overlay.no-anim, .overlay.no-anim .dialog, .overlay.no-anim .drawer { animation: none; }
.grid.no-rise .card { animation: none; }
.pd-swap .pd-info, .pd-swap .pd-gallery { animation: revealUp .45s cubic-bezier(.2, .8, .2, 1) both; }
