/* Luni Baby & Kids — catálogo (mobile first, fundo branco como a marca pede) */
:root {
  --bg: #ffffff; --soft: #fbf7f8; --soft-2: #f4f9fd; --ink: #2a2230; --ink-2: #6b6170; --mute: #a39aa6; --line: #f0eaee;
  --pink: #f0628e; --pink-2: #fde8ef; --pink-ink: #c73b67; --blue: #1cb4f2; --blue-2: #e6f6fe; --blue-ink: #0b84b8;
  --green: #1fa463; --wa: #25d366; --wa-ink: #128c4a;
  --r: 18px; --shadow: 0 1px 2px rgba(42,34,48,.04), 0 14px 30px -18px rgba(42,34,48,.25);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --serif: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
.hidden { display: none !important; }
.small { font-size: 12.5px; } .mute { color: var(--mute); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { max-width: 1240px; margin: auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo-img { height: 56px; width: auto; }
@media (min-width: 720px) { .logo-img { height: 68px; } }
.top-actions { display: flex; gap: 6px; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.search-row { max-width: 1240px; margin: auto; padding: 0 16px 12px; }
.search-row input, .field { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); outline: none; font-size: 15px; }
.search-row input:focus, .field:focus { border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px var(--pink-2); }
main { max-width: 1240px; margin: auto; padding: 0 16px 40px; min-height: 60vh; }

/* Abertura */
.hero { margin: 18px 0 8px; padding: 26px 22px; border-radius: 24px; background: linear-gradient(120deg, var(--pink-2) 0%, #fff 48%, var(--blue-2) 100%); position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -40px; bottom: -50px; width: 190px; height: 190px; background: url('/caracol-192.png') center/contain no-repeat; opacity: .16; }
.hero .eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--pink-ink); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15; margin: 8px 0 6px; max-width: 520px; }
.hero h1 em { color: var(--blue-ink); }
.hero p { margin: 0; color: var(--ink-2); max-width: 460px; }

/* Atalhos e barra de filtros */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0 16px; }
.toolbar .count { color: var(--ink-2); font-size: 13px; }
.tool-btns { display: flex; gap: 8px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }
.pill-btn svg { width: 17px; height: 17px; }
.pill-btn .n { background: var(--pink); color: #fff; border-radius: 99px; font-size: 11px; padding: 1px 7px; }
select.pill-btn { appearance: none; padding-right: 14px; }

/* Vitrine */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.card .ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--soft); overflow: hidden; }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; background: #fff; transition: opacity .35s; }
.card .ph img.alt { opacity: 0; }
@media (hover: hover) { .card:hover .ph img.alt { opacity: 1; } }
.card .tags { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 99px; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.tag.novidade { background: var(--blue); color: #fff; } .tag.promocao, .tag.desconto { background: var(--pink); color: #fff; }
.tag.ultimas { background: #ffe9b8; color: #8a5a00; } .tag.esgotado { background: var(--ink); color: #fff; }
.card .brand { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 700; }
.card .name { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.card .price small { font-family: var(--sans); font-size: 11px; color: var(--mute); font-weight: 600; margin-right: 3px; }
.card.out .ph img { filter: grayscale(.4); opacity: .65; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty img { width: 80px; margin: 0 auto 14px; opacity: .8; }
.loading { display: grid; place-items: center; padding: 80px 0; }
.dot-pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--pink); animation: p 1s infinite alternate; }
@keyframes p { to { transform: scale(1.6); opacity: .3; } }

/* Página do produto */
.pdp { display: grid; gap: 18px; padding-top: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; color: var(--ink-2); text-decoration: none; border: 0; background: none; cursor: pointer; padding: 6px 0; }
.back svg { width: 18px; height: 18px; }
.gallery { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 22px; background: var(--soft); scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: none; width: 100%; aspect-ratio: 1 / 1.05; scroll-snap-align: center; background: #fff; display: grid; place-items: center; cursor: zoom-in; border: 0; padding: 14px; }
.slide img { width: 100%; height: 100%; object-fit: contain; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--line); transition: all .2s; }
.dots span.on { width: 20px; background: var(--pink); }
.thumbs { display: none; gap: 10px; margin-top: 12px; }
.thumbs button { width: 72px; height: 72px; border-radius: 14px; border: 2px solid transparent; background: #fff; padding: 4px; cursor: pointer; box-shadow: var(--shadow); }
.thumbs button.on { border-color: var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.info .brand { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-ink); font-weight: 700; }
.info h1 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; margin: 6px 0 10px; }
.info .price { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.info .price .kit { font-family: var(--sans); font-size: 12px; color: var(--ink-2); margin-left: 6px; }
.opt { margin-top: 18px; }
.opt-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; display: flex; justify-content: space-between; }
.opt-label b { color: var(--ink); letter-spacing: 0; text-transform: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { min-width: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; cursor: pointer; }
.choice.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.choice:disabled { color: var(--mute); text-decoration: line-through; cursor: not-allowed; background: var(--soft); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty button { width: 42px; height: 44px; border: 0; background: #fff; font-size: 18px; cursor: pointer; }
.qty span { min-width: 36px; text-align: center; font-weight: 700; }
.actions { display: grid; gap: 10px; margin-top: 22px; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 18px; border-radius: 16px; border: 0; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; }
.btn svg { width: 20px; height: 20px; }
.btn.primary { background: var(--ink); color: #fff; }
.btn.primary:hover { background: #3c3244; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: var(--wa-ink); }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.desc { margin-top: 20px; color: var(--ink-2); white-space: pre-line; }
.trust { margin-top: 18px; display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.trust div { display: flex; gap: 10px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--blue-ink); }
.out-note { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 13.5px; }

/* Folhas (sacola, filtros) */
.overlay { position: fixed; inset: 0; background: rgba(42,34,48,.42); z-index: 40; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 41; background: #fff; display: flex; flex-direction: column; left: 0; right: 0; bottom: 0; max-height: 88vh; border-radius: 24px 24px 0 0; animation: up .25s ease-out; padding-bottom: env(safe-area-inset-bottom); }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; }
.sheet-head h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; }
.sheet-body { overflow-y: auto; padding: 4px 20px 16px; }
.sheet-foot { border-top: 1px solid var(--line); padding: 14px 20px 18px; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line img { width: 72px; height: 84px; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: var(--shadow); padding: 4px; }
.line .t { font-weight: 600; font-size: 14px; line-height: 1.3; }
.line .v { font-size: 12.5px; color: var(--ink-2); }
.line .p { font-family: var(--serif); font-size: 16px; text-align: right; }
.line .rm { border: 0; background: none; color: var(--mute); font-size: 12px; cursor: pointer; text-decoration: underline; padding: 4px 0; }
.qty.sm button { width: 32px; height: 32px; font-size: 15px; } .qty.sm span { min-width: 26px; font-size: 13px; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.total b { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.fgroup { margin: 14px 0 6px; }
.fgroup h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: #fff; overflow: auto; cursor: zoom-out; }
.lightbox img { width: 100%; height: auto; min-height: 100%; object-fit: contain; }
.lightbox.zoom img { width: 220%; max-width: none; }
.lightbox .x { position: fixed; top: 14px; right: 14px; z-index: 61; background: #fff; box-shadow: var(--shadow); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 99px; z-index: 70; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100% - 32px); text-align: center; }
.foot { text-align: center; padding: 34px 16px 50px; background: var(--soft); color: var(--ink-2); }
.foot-mark { width: 40px; margin: 0 auto 8px; }
.foot p { margin: 4px auto; max-width: 420px; }

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 20px; }
  .hero { padding: 40px 44px; } .hero h1 { font-size: 40px; }
  .sheet { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; animation: side .25s ease-out; }
  @keyframes side { from { transform: translateX(40px); opacity: 0; } }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; padding-top: 24px; }
  .pdp > .back { grid-column: 1 / -1; }
  .thumbs { display: flex; } .dots { display: none; }
  .info { position: sticky; top: 90px; }
  .info h1 { font-size: 32px; }
}
.note-center{margin:0;text-align:center}.share-btn{padding:0}
.info .price small { font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); }
