/* ==========================================================================
   Radar de Ofertas — "Rosé Noir"
   Base creme-blush, tinta quase preta para ações, rosé para preço e destaque,
   prata metálica para o acesso. Outfit para interface, Playfair para a voz da marca.
   ========================================================================== */
:root {
  --bg: #faf5f3;
  --bg-2: #f4ece9;
  --surface: #ffffff;
  --ink: #1e1719;
  --ink-2: #5f5357;
  --ink-3: #9a8e92;
  --line: #efe5e3;
  --line-2: #e6d9d7;

  --rose: #b76e79;
  --rose-deep: #8e4a57;
  --rose-soft: #f6e4e7;
  --rose-wash: #fbf0f1;
  --rose-glow: rgba(183, 110, 121, .28);

  --ok: #2f8a63;
  --ok-bg: #e5f3ec;
  --warn: #a8661a;
  --warn-bg: #fbf0df;
  --err: #c0392b;
  --err-bg: #fbe9e7;

  --g-rose: linear-gradient(135deg, #d9a0aa 0%, #b76e79 48%, #96535f 100%);
  --g-metal: linear-gradient(125deg, #f3e4e6 0%, #dcb7bd 22%, #f7eef0 44%, #c99aa3 68%, #efdcdf 100%);
  --g-noir: linear-gradient(140deg, #2a2124 0%, #1a1416 55%, #33272b 100%);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --sh-1: 0 1px 2px rgba(30, 23, 25, .04), 0 6px 18px -10px rgba(30, 23, 25, .14);
  --sh-2: 0 2px 6px rgba(30, 23, 25, .05), 0 18px 40px -18px rgba(30, 23, 25, .22);
  --sh-rose: 0 10px 26px -10px var(--rose-glow);

  --ui: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --brand: "Playfair Display", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --dock-h: 74px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ui); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; letter-spacing: -.005em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.center { text-align: center; }
.hide { display: none !important; }
.ico { flex: none; }
.mono, textarea.mono { font-family: var(--mono); font-size: 13px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.app-main { padding-bottom: calc(var(--dock-h) + 40px + env(safe-area-inset-bottom)); min-height: 70vh; }

/* ---------- appbar ---------- */
.appbar { position: sticky; top: 0; z-index: 40; background: rgba(250, 245, 243, .86); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); }
.appbar .wrap { display: flex; align-items: center; gap: 10px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; }
.logo img { height: 34px; width: auto; }
.logo .word { font-family: var(--brand); font-size: 19px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.logo .word i { color: var(--rose); font-weight: 500; }
.appbar .spacer { flex: 1; }
.seg { display: none; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; box-shadow: var(--sh-1); }
.seg a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--ink-2); transition: background .2s, color .2s; }
.seg a:hover { color: var(--ink); background: var(--bg); }
.seg a.on { background: var(--ink); color: #fff; }
.round { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); cursor: pointer; position: relative; transition: transform .15s, box-shadow .2s; flex: none; padding: 0; }
.round:hover { box-shadow: var(--sh-1); }
.round:active { transform: scale(.94); }
.round.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.round.rose { background: var(--rose-soft); color: var(--rose-deep); border-color: transparent; }
.round .badge-n { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--g-metal); color: var(--rose-deep); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); flex: none; }

/* ---------- dock (navegação flutuante) ---------- */
.dock { position: fixed; z-index: 50; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); width: min(440px, calc(100% - 24px)); height: 64px; padding: 7px; border-radius: 999px; background: rgba(30, 23, 25, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -14px rgba(30, 23, 25, .55); display: flex; align-items: center; justify-content: space-between; }
.dock a { height: 50px; min-width: 50px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: rgba(255, 255, 255, .62); font-weight: 600; font-size: 14px; padding: 0 14px; transition: all .25s ease; }
.dock a .lbl { display: none; }
.dock a.on { background: var(--g-rose); color: #fff; padding: 0 18px; box-shadow: 0 6px 16px -6px rgba(183, 110, 121, .8); }
.dock a.on .lbl { display: inline; }
.dock a:not(.on):hover { color: #fff; }

@media (min-width: 900px) {
  .seg { display: flex; }
  .dock { display: none; }
  .app-main { padding-bottom: 64px; }
}

/* ---------- ícones ---------- */
.ico { display: inline-block; vertical-align: middle; }
.i-on { display: none; }
.on > .i-on { display: inline-block; }
.on > .i-off { display: none; }
.e3d { display: block; flex: none; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(142, 74, 87, .16)); }
.e3d.inline { display: inline-block; vertical-align: -3px; margin-left: 2px; }
/* ilustrações 3D usadas como foto de produto (demonstração) */
.pcard-media img[src*="/img/3d/"], .pd-photo img[src*="/img/3d/"], .slide .shot img[src*="/img/3d/"],
.lcard .lm img[src*="/img/3d/"], .bubble .bimg img[src*="/img/3d/"], .tbl .thumb[src*="/img/3d/"] {
  padding: 18%; mix-blend-mode: normal; filter: drop-shadow(0 16px 18px rgba(142, 74, 87, .24));
}
.bubble-item .ring img[src*="/img/3d/"] { padding: 16%; mix-blend-mode: normal; filter: drop-shadow(0 6px 6px rgba(142, 74, 87, .2)); }
.bubble .bimg img[src*="/img/3d/"] { padding: 8%; }
.tbl .thumb[src*="/img/3d/"] { padding: 6px; }

/* ---------- alertas ---------- */
.alerts { position: fixed; z-index: 120; top: calc(10px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); width: min(420px, calc(100% - 20px)); display: grid; gap: 10px; pointer-events: none; }
@media (min-width: 900px) { .alerts { left: auto; right: 24px; transform: none; top: 74px; } }
.alert { pointer-events: auto; position: relative; overflow: hidden; display: grid; grid-template-columns: 40px minmax(0, 1fr) 30px; gap: 12px; align-items: start; padding: 14px 12px 16px 14px; border-radius: 20px; background: rgba(255, 255, 255, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: 0 22px 46px -20px rgba(30, 23, 25, .38), 0 2px 6px rgba(30, 23, 25, .05); animation: alert-in .42s cubic-bezier(.2, .9, .25, 1.15); }
.alert.out { animation: alert-out .26s ease forwards; }
@keyframes alert-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
@keyframes alert-out { to { opacity: 0; transform: translateY(-10px) scale(.97); } }
@media (min-width: 900px) { @keyframes alert-in { from { opacity: 0; transform: translateX(24px); } } @keyframes alert-out { to { opacity: 0; transform: translateX(24px); } } }
.alert .ai { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.alert.success .ai { background: var(--ok-bg); color: var(--ok); }
.alert.error .ai { background: var(--err-bg); color: var(--err); }
.alert.warning .ai { background: var(--warn-bg); color: var(--warn); }
.alert.info .ai { background: var(--rose-soft); color: var(--rose-deep); }
.alert .at { padding-top: 1px; }
.alert .at b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.alert .at > span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }
.alert .aa { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.alert .aa .btn { height: 34px; font-size: 13px; padding: 0 13px; }
.alert .ax { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--bg); color: var(--ink-3); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.alert .ax:hover { color: var(--ink); background: var(--bg-2); }
.alert .ap { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; animation: alert-bar linear forwards; animation-duration: 4200ms; opacity: .85; }
.alert:hover .ap { animation-play-state: paused; }
.alert.success .ap { background: var(--ok); }
.alert.error .ap { background: var(--err); }
.alert.warning .ap { background: var(--warn); }
.alert.info .ap { background: var(--rose); }
@keyframes alert-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

/* confirmação */
.sheet.confirm { text-align: center; max-width: 400px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.sheet.confirm .ci { width: 64px; height: 64px; border-radius: 22px; margin: 4px auto 14px; display: flex; align-items: center; justify-content: center; background: var(--rose-soft); color: var(--rose-deep); }
.sheet.confirm .ci.danger { background: var(--err-bg); color: var(--err); }
.sheet.confirm h3 { font-size: 19px; }
.sheet.confirm p { color: var(--ink-3); font-size: 14px; margin: 8px 0 20px; }
.sheet.confirm p:empty { margin: 0 0 20px; }
.btn.btn-danger-solid { background: var(--err); border-color: var(--err); color: #fff; }
.btn.btn-danger-solid:hover { background: #a93226; }

/* botão processando */
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn:not(.btn-ink):not(.btn-primary):not(.btn-danger-solid).loading::after { border-color: rgba(30, 23, 25, .18); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- botões e formulários ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 14.5px/1 var(--ui); cursor: pointer; transition: transform .1s, box-shadow .2s, background .2s; text-align: center; white-space: nowrap; }
.btn:hover { box-shadow: var(--sh-1); }
.btn:active { transform: scale(.98); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-ink:hover { background: #2d2427; }
.btn-primary { background: var(--g-rose); border: 0; color: #fff; box-shadow: var(--sh-rose); }
.btn-soft { background: var(--rose-soft); color: var(--rose-deep); border-color: transparent; }
.btn-danger { color: var(--err); }
.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; font-size: 13.5px; margin-bottom: 7px; color: var(--ink-2); }
.field .help { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }
.errorlist { color: var(--err); font-size: 13px; margin: 6px 0 0; padding: 0; list-style: none; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], input[type=tel], input[type=datetime-local], select, textarea {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); font: 15px var(--ui); color: var(--ink); transition: border .2s, box-shadow .2s;
}
input[type=file] { font: 14px var(--ui); }
textarea { height: auto; padding: 13px 16px; resize: vertical; min-height: 96px; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235f5357' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(183, 110, 121, .14); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; accent-color: var(--rose); margin-top: 1px; flex: none; }
.check label { margin: 0; font-weight: 500; color: var(--ink); }

/* ---------- home: hero ---------- */
.hero { position: relative; overflow: hidden; margin-top: 6px; border-radius: var(--r-xl); padding: 20px 18px 18px; background:
  radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 55%),
  radial-gradient(90% 120% at 0% 100%, #e9c3c9 0%, rgba(233, 195, 201, 0) 60%),
  linear-gradient(140deg, #f7e7e9 0%, #efd5d9 55%, #e7c7cc 100%);
  box-shadow: var(--sh-1); }
.hero::after { content: ""; position: absolute; right: -70px; top: -80px; width: 240px; height: 240px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); transform: rotate(-18deg) scaleX(1.6); pointer-events: none; }
.hero .hello { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; color: var(--ink-2); position: relative; z-index: 1; }
.hero .hello .avatar { width: 34px; height: 34px; font-size: 14px; }
.hero h1 { font-family: var(--brand); font-weight: 500; font-size: 28px; line-height: 1.08; margin: 14px 0 16px; position: relative; z-index: 1; max-width: 560px; letter-spacing: -.02em; }
.hero h1 em { color: var(--rose-deep); }
.search { display: flex; align-items: center; gap: 8px; position: relative; z-index: 1; }
.search .box { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 22px -14px rgba(142, 74, 87, .45); color: var(--ink-3); min-width: 0; }
.search .box input { border: 0; height: 50px; padding: 0; background: transparent; box-shadow: none !important; font-size: 15.5px; min-width: 0; }
.search.on-page .box { background: var(--surface); border-color: var(--line); box-shadow: var(--sh-1); }
.filter-sq { width: 52px; height: 52px; border-radius: 18px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; border: 0; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(30, 23, 25, .6); position: relative; }
.filter-sq .badge-n { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg); }
@media (min-width: 900px) { .hero { padding: 34px 36px 30px; } .hero h1 { font-size: 44px; } }

.pulse-strip { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); font-size: 13.5px; }
.pulse-strip .live { width: 9px; height: 9px; border-radius: 50%; background: var(--rose); animation: live 2s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(183, 110, 121, .5); } 70% { box-shadow: 0 0 0 9px rgba(183, 110, 121, 0); } 100% { box-shadow: 0 0 0 0 rgba(183, 110, 121, 0); } }
.pulse-strip .clock { display: inline-flex; gap: 3px; font-family: var(--mono); font-weight: 600; font-size: 12.5px; align-items: center; }
.pulse-strip .clock span { background: var(--rose-wash); color: var(--rose-deep); padding: 3px 6px; border-radius: 7px; }
.pulse-strip { gap: 9px; }
.pulse-strip .right { margin-left: auto; color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.pulse-strip .right b { color: var(--ink); font-weight: 700; }

/* chips de categoria */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 6px; margin: 0 -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: all .2s; }
.chip .ci { width: 30px; height: 30px; border-radius: 50%; background: var(--rose-wash); display: inline-flex; align-items: center; justify-content: center; }
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on .ci { background: rgba(255, 255, 255, .14); color: #fff; }
@media (min-width: 900px) { .chips { margin: 0; padding: 14px 2px 6px; flex-wrap: wrap; } }

/* slider de destaques */
.slider { margin-top: 14px; }
.slides { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-xl); }
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; position: relative; overflow: hidden; border-radius: var(--r-xl); min-height: 190px; padding: 22px 18px 22px 22px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 12px; color: #fff; background: var(--g-noir); }
.slide:nth-child(2) { background: linear-gradient(140deg, #8e4a57 0%, #b76e79 60%, #d9a0aa 100%); }
.slide:nth-child(3) { background: linear-gradient(140deg, #4a3b40 0%, #6d5a60 55%, #a68c93 100%); }
.slide::before { content: ""; position: absolute; right: -40px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 65%); }
.slide > div { position: relative; z-index: 1; min-width: 0; }
.slide .kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.slide h3 { font-family: var(--brand); font-weight: 500; font-size: 25px; line-height: 1.08; margin: 8px 0 6px; }
.slide h3 b { font-family: var(--ui); font-weight: 700; color: #f6cfd5; letter-spacing: -.03em; }
.slide .sub { font-size: 13px; color: rgba(255, 255, 255, .75); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide .btn { margin-top: 14px; height: 38px; font-size: 13px; background: #fff; color: var(--ink); border: 0; }
.slide .shot { position: relative; z-index: 1; aspect-ratio: 1/1; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: 0 20px 34px -18px rgba(0, 0, 0, .55); transform: rotate(4deg); }
.slide .shot img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line-2); transition: all .3s; }
.dots i.on { width: 20px; background: var(--rose); }
@media (min-width: 900px) { .slides { grid-auto-columns: calc((100% - 24px) / 3); } .dots { display: none; } .slide h3 { font-size: 23px; } }

/* seções */
.section { margin-top: 28px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sec-head h2 { font-size: 20px; display: flex; align-items: center; gap: 9px; }
.sec-head h2 .em { width: 38px; height: 38px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); display: inline-flex; align-items: center; justify-content: center; }
.sec-head a { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; color: var(--rose-deep); white-space: nowrap; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 12px; overflow-x: auto; padding: 4px 16px 16px; margin: 0 -16px; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 16px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-columns: 210px; } }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 48px) / 5); margin: 0; padding: 4px 2px 16px; } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* bolinhas "até R$ 50" */
.bubbles { display: grid; grid-auto-flow: column; grid-auto-columns: 84px; gap: 12px; overflow-x: auto; padding: 4px 16px 10px; margin: 0 -16px; scrollbar-width: none; }
.bubbles::-webkit-scrollbar { display: none; }
.bubble-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.bubble-item .ring { width: 78px; height: 78px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); padding: 5px; box-shadow: var(--sh-1); position: relative; }
.bubble-item .ring span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: var(--rose-wash); }
.bubble-item .ring img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bubble-item .ring em { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
.bubble-item b { font-size: 13.5px; color: var(--rose-deep); margin-top: 5px; }
.bubble-item s { font-size: 11.5px; color: var(--ink-3); margin-top: -6px; }
@media (min-width: 900px) { .bubbles { margin: 0; padding: 4px 2px 10px; grid-auto-columns: 100px; } }

/* ---------- card de produto ---------- */
.pcard { position: relative; background: var(--surface); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--sh-1); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.pcard-media { position: relative; display: block; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #fdf5f6 38%, var(--rose-soft) 100%); }
.pcard-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.tag-off { position: absolute; left: 8px; top: 8px; background: var(--ink); color: #fff; font-weight: 700; font-size: 12px; padding: 5px 9px; border-radius: 999px; }
.tag-hot { position: absolute; left: 8px; bottom: 8px; background: rgba(255, 255, 255, .94); color: var(--rose-deep); font-weight: 600; font-size: 11px; padding: 4px 8px 4px 6px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.fav-btn { position: absolute; right: 14px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .95); border: 0; color: var(--ink-2); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 10px -4px rgba(30, 23, 25, .25); transition: transform .15s; z-index: 2; padding: 0; }
.fav-btn:active { transform: scale(.85); }
.fav-btn.on { color: var(--rose); }
.pcard-body { padding: 10px 6px 4px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard-cat { font-size: 11.5px; font-weight: 600; color: var(--rose); }
.pcard-title { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.pcard-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.pcard-price b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.pcard-price s { color: var(--ink-3); font-size: 12.5px; }
.pcard-meta { display: flex; gap: 6px; font-size: 11.5px; color: var(--ink-3); align-items: center; flex-wrap: wrap; }
.pcard-meta .comm { color: var(--ok); font-weight: 600; background: var(--ok-bg); padding: 2px 7px; border-radius: 999px; }
.pcard-actions { display: flex; gap: 6px; margin-top: auto; padding-top: 10px; }
.pcard-actions .btn { height: 40px; padding: 0 10px; font-size: 13px; gap: 6px; }
.link-btn { width: 40px; height: 40px; }
.has-link.link-btn, .round.has-link { background: var(--rose-soft); color: var(--rose-deep); border-color: transparent; }
.has-link.link-btn::after { content: ""; position: absolute; top: 0; right: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid #fff; }

/* ---------- busca/listagem ---------- */
.page-top { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; }
.page-top h1 { font-size: 21px; flex: 1; text-align: center; }
.page-top .ghost { visibility: hidden; }
@media (min-width: 900px) { .page-top { margin-top: 22px; } .page-top h1 { text-align: left; font-size: 30px; } .page-top .back, .page-top .ghost { display: none; } }
.result-line { margin: 18px 0 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.result-line h2 { font-size: 18px; }
.result-line p { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-3); }
.result-line p b { color: var(--rose-deep); }
.sort-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 13px var(--ui); color: var(--ink-2); white-space: nowrap; cursor: pointer; }
.helper-card { margin-top: 18px; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.helper-card .hi { width: 52px; height: 52px; border-radius: 17px; background: var(--rose-wash); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.helper-card b { display: block; font-size: 15px; }
.helper-card span { font-size: 13px; color: var(--ink-3); }
.helper-card a { color: var(--rose-deep); font-weight: 600; }
.opt-group { margin-bottom: 18px; }
.opt-group h4 { font-size: 14px; margin-bottom: 10px; color: var(--ink-2); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { cursor: pointer; position: relative; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: all .15s; }
.opts input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- detalhe ---------- */
.pd { display: grid; gap: 18px; margin-top: 6px; }
@media (min-width: 900px) { .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 18px; } .pd .pd-gallery { position: sticky; top: 80px; align-self: start; } }
.pd-gallery { position: relative; border-radius: var(--r-xl); background: var(--surface); padding: 10px; box-shadow: var(--sh-1); border: 1px solid var(--line); }
.pd-photo { position: relative; aspect-ratio: 1/1; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 42%, #fff 0%, #fdf5f6 38%, var(--rose-soft) 100%); }
.pd-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pd-photo .tag-off { left: 14px; top: auto; bottom: 14px; font-size: 14px; padding: 7px 12px; background: var(--g-rose); }
.pd-tools { position: absolute; left: 22px; right: 22px; top: 22px; display: flex; justify-content: space-between; z-index: 2; }
.pd-tools .round { background: rgba(255, 255, 255, .95); border: 0; box-shadow: 0 6px 14px -6px rgba(30, 23, 25, .3); }
.pd-tools .round.on { color: var(--rose); }
.pd-tools .r { display: flex; gap: 8px; }
.pd-mini { display: flex; gap: 8px; margin-top: 10px; }
.pd-mini .btn { flex: 1; height: 42px; font-size: 13.5px; padding: 0 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--bg-2); color: var(--ink-2); }
.pill.rose { background: var(--rose-soft); color: var(--rose-deep); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.err { background: var(--err-bg); color: var(--err); }
.pill.ink { background: var(--ink); color: #fff; }
.pills { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.pd-head h1 { font-size: 24px; margin: 12px 0 6px; line-height: 1.2; }
.pd-head .shop { font-size: 13px; color: var(--ink-3); }
@media (min-width: 900px) { .pd-head h1 { font-size: 32px; } }
.price-card { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.price-card small { display: block; color: var(--ink-3); font-size: 12.5px; margin-bottom: 4px; }
.price-card .now { font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.price-card s { color: var(--ink-3); font-size: 14px; margin-left: 6px; }
.price-card .save { text-align: right; }
.price-card .save b { display: block; color: var(--ok); font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tile { padding: 14px 8px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.tile .ti { width: 44px; height: 44px; border-radius: 15px; margin: 0 auto 8px; background: var(--rose-wash); display: flex; align-items: center; justify-content: center; }
.tile b { display: block; font-size: 15px; }
.tile span { font-size: 11.5px; color: var(--ink-3); }

.block { margin-top: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.block-head h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }

/* status do link (estilo "chave de API") */
.keyline { display: flex; align-items: center; gap: 12px; }
.keyline .dot { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.keyline.off .dot { background: var(--warn-bg); color: var(--warn); }
.keyline.on .dot { background: var(--ok-bg); color: var(--ok); }
.keyline .t { flex: 1; min-width: 0; }
.keyline .t b { display: block; font-size: 14.5px; }
.keyline .t span { display: block; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.keyline.on .t span { font-family: var(--mono); }

/* prévia do post (balão estilo WhatsApp) */
.chat { border-radius: var(--r-md); padding: 14px 14px 14px 20px; background-color: #efe7df; background-image: radial-gradient(rgba(30, 23, 25, .05) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { position: relative; max-width: 440px; background: #fff; border-radius: 0 14px 14px 14px; padding: 5px 5px 6px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble::before { content: ""; position: absolute; left: -8px; top: 0; width: 0; height: 0; border-top: 0 solid transparent; border-right: 9px solid #fff; border-bottom: 11px solid transparent; }
.bubble .bimg { border-radius: 10px; overflow: hidden; background: var(--rose-wash); aspect-ratio: 16/10; max-height: 220px; width: 100%; }
.bubble .bimg img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.bubble .btxt { white-space: pre-wrap; word-break: break-word; font-size: 14px; line-height: 1.5; padding: 8px 7px 0; color: #111b21; max-height: 360px; overflow: auto; }
.bubble .bmeta { font-size: 11px; color: #667781; padding: 2px 6px 0; display: flex; justify-content: flex-end; gap: 3px; align-items: center; }
.bubble .bmeta svg { color: #53bdeb; }

/* barra de ação fixa do detalhe */
.actionbar { position: fixed; z-index: 55; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom)); width: min(520px, calc(100% - 24px)); display: flex; gap: 8px; padding: 7px; border-radius: 999px; background: rgba(30, 23, 25, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 18px 40px -14px rgba(30, 23, 25, .55); }
.actionbar .round { width: 50px; height: 50px; background: rgba(255, 255, 255, .1); border: 0; color: #fff; }
.actionbar .round.has-link { background: rgba(217, 160, 170, .35); color: #fff; }
.actionbar .btn { flex: 1; height: 50px; font-size: 15.5px; }
@media (min-width: 900px) { .actionbar { position: static; transform: none; width: auto; margin-top: 14px; } }

/* ---------- sheet / modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; background: rgba(30, 23, 25, .42); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.sheet { background: var(--surface); width: 100%; max-width: 520px; border-radius: 28px 28px 0 0; padding: 10px 20px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); transition: transform .28s cubic-bezier(.2, .8, .2, 1); max-height: 92vh; overflow: auto; }
.sheet .grab { width: 40px; height: 5px; border-radius: 99px; background: var(--line-2); margin: 0 auto 14px; }
.modal.open .sheet { transform: none; }
@media (min-width: 640px) { .modal { align-items: center; } .sheet { border-radius: 28px; padding-top: 22px; } .sheet .grab { display: none; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.sheet-head .k { width: 46px; height: 46px; border-radius: 16px; background: var(--g-metal); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.sheet-head h3 { font-size: 19px; }
.sheet-head p { margin: 3px 0 0; font-size: 13px; color: var(--ink-3); }
.stepper { list-style: none; margin: 0 0 14px; padding: 0; }
.stepper li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding-bottom: 16px; font-size: 14px; }
.stepper li::before { content: attr(data-n); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 30px; bottom: 0; width: 1px; background: var(--line-2); }
.stepper li > div > b { display: block; font-weight: 600; margin-bottom: 3px; }
.stepper li .muted { font-size: 13px; display: block; }
.stepper li .muted b { color: var(--ink-2); }
.stepper li .btn-row { margin-top: 8px; gap: 6px; }
.keyfield { display: flex; align-items: center; gap: 6px; padding: 5px 5px 5px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--bg); transition: border .2s, box-shadow .2s; }
.keyfield:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(183, 110, 121, .14); background: #fff; }
.keyfield input { border: 0; background: transparent; height: 42px; padding: 0; font-family: var(--mono); font-size: 13.5px; box-shadow: none !important; min-width: 0; }
.keyfield .btn { height: 40px; }
.sheet .note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--rose-wash); color: var(--rose-deep); font-size: 13px; margin-bottom: 18px; }

/* ---------- listas (favoritos, links) ---------- */
.lcards { display: grid; gap: 12px; }
@media (min-width: 900px) { .lcards { grid-template-columns: 1fr 1fr; } }
.lcard { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); position: relative; }
.lcard .lm { display: block; aspect-ratio: 1/1; border-radius: 16px; overflow: hidden; background: var(--rose-wash); position: relative; }
.lcard .lm img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.lcard .lm .tag-off { left: 6px; top: 6px; font-size: 10.5px; padding: 3px 7px; }
.lcard .lb { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 2px 0; }
.lcard .lt { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding-right: 80px; }
.lcard .lp { display: flex; gap: 6px; align-items: baseline; }
.lcard .lp b { font-size: 16px; }
.lcard .lp s { font-size: 12.5px; color: var(--ink-3); }
.lcard .lx { font-size: 12px; color: var(--ink-3); }
.lcard .lu { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: var(--bg); border-radius: 8px; padding: 4px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard .lacts { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.lcard .lacts .round { width: 34px; height: 34px; }
.lcard .lacts .round.on { color: var(--rose); }
.lcard .lbtn { display: flex; gap: 6px; margin-top: auto; padding-top: 6px; }
.lcard .lbtn .btn { height: 36px; font-size: 13px; padding: 0 14px; }

/* ---------- categorias ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(5, 1fr); } }
.cat-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; min-height: 136px; }
.cat-tile:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.cat-tile .ci { width: 56px; height: 56px; border-radius: 18px; background: var(--rose-wash); display: flex; align-items: center; justify-content: center; }
.cat-tile b { font-size: 15.5px; font-weight: 600; display: block; }
.cat-tile span { font-size: 12.5px; color: var(--ink-3); }
.cat-tile .arrow { position: absolute; right: 14px; top: 16px; color: var(--ink-3); }
.cat-tile.all { background: var(--g-noir); color: #fff; border: 0; }
.cat-tile.all .ci { background: rgba(255, 255, 255, .12); color: #fff; }
.cat-tile.all span, .cat-tile.all .arrow { color: rgba(255, 255, 255, .6); }

/* ---------- conta ---------- */
.profile { text-align: center; padding: 12px 0 4px; }
.profile .avatar { width: 88px; height: 88px; font-size: 34px; font-family: var(--brand); font-style: italic; font-weight: 500; box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-2), var(--sh-2); }
.profile h1 { font-size: 22px; margin-top: 16px; }
.profile p { margin: 4px 0 10px; color: var(--ink-3); font-size: 14px; word-break: break-all; }
.member-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--g-metal); color: var(--rose-deep); font-weight: 600; font-size: 12.5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.access-card { position: relative; overflow: hidden; margin-top: 18px; padding: 20px; border-radius: var(--r-xl); background: var(--g-metal); box-shadow: var(--sh-2), inset 0 1px 0 rgba(255, 255, 255, .8); color: var(--ink); }
.access-card::after { content: ""; position: absolute; right: -50px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); transform: rotate(-20deg) scaleX(1.5); pointer-events: none; }
.access-card .lbl { font-size: 13px; font-weight: 600; color: var(--rose-deep); display: flex; align-items: center; gap: 6px; }
.access-card .big { font-family: var(--brand); font-size: 46px; font-weight: 500; line-height: 1; margin: 8px 0 2px; }
.access-card .big small { font-family: var(--ui); font-size: 16px; font-weight: 500; color: var(--ink-2); }
.access-card .bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .65); margin: 14px 0 8px; overflow: hidden; }
.access-card .bar i { display: block; height: 100%; border-radius: 99px; background: var(--g-rose); }
.access-card .foot { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); position: relative; z-index: 1; }
.access-card .btn { margin-top: 14px; position: relative; z-index: 1; }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.quick a { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1); min-width: 0; }
.quick .qi { width: 40px; height: 40px; border-radius: 14px; background: var(--rose-wash); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.quick b { display: block; font-size: 14.5px; }
.quick span { font-size: 12px; color: var(--ink-3); }
.list-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 24px 4px 8px; }
.menu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.menu > * + * { border-top: 1px solid var(--line); }
.menu summary, .menu > a, .menu form > button.row { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font: 500 15px var(--ui); color: var(--ink); width: 100%; background: none; border: 0; text-align: left; }
.menu summary::-webkit-details-marker { display: none; }
.menu .mi { width: 36px; height: 36px; border-radius: 12px; background: var(--bg); color: var(--ink-2); display: flex; align-items: center; justify-content: center; flex: none; }
.menu .mt { flex: 1; min-width: 0; }
.menu .mt small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 400; }
.menu .chev { color: var(--ink-3); transition: transform .2s; }
.menu details[open] .chev { transform: rotate(90deg); }
.menu .inner { padding: 4px 16px 18px; }
.menu .danger { color: var(--err); }
.menu .danger .mi { background: var(--err-bg); color: var(--err); }
.noir-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 18px; border-radius: var(--r-xl); background: var(--g-noir); color: #fff; box-shadow: var(--sh-2); }
.noir-card::after { content: ""; position: absolute; right: -30px; top: -50px; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.noir-card .nk { width: 48px; height: 48px; border-radius: 16px; background: rgba(255, 255, 255, .1); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.noir-card b { display: block; font-size: 16px; color: #f3d6db; }
.noir-card span { font-size: 13px; color: rgba(255, 255, 255, .62); }
.noir-card .go { margin-left: auto; color: rgba(255, 255, 255, .8); }
.account-cols { display: grid; gap: 0 28px; }
@media (min-width: 900px) { .account-cols { grid-template-columns: 380px minmax(0, 1fr); align-items: start; margin-top: 18px; } .account-cols > div:last-child > .list-title:first-child { margin-top: 0; } }

/* ---------- autenticação / landing ---------- */
.auth { min-height: 100vh; display: grid; grid-template-rows: auto 1fr; }
@media (min-width: 900px) { .auth { grid-template-columns: 1.05fr 1fr; grid-template-rows: none; } }
.auth-art { position: relative; overflow: hidden; padding: 34px 24px 78px; background:
  radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 60%),
  radial-gradient(80% 70% at 10% 100%, #e3b5bd 0%, rgba(227, 181, 189, 0) 65%),
  linear-gradient(150deg, #f8eaec 0%, #efd3d8 60%, #e5c1c7 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.auth-art::before, .auth-art::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .75); pointer-events: none; }
.auth-art::before { width: 520px; height: 200px; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-14deg); }
.auth-art::after { width: 380px; height: 380px; right: -160px; bottom: -200px; }
.auth-art a { position: relative; z-index: 1; }
.auth-art img { height: 96px; }
.auth-art .tag { font-family: var(--brand); font-style: italic; font-size: 21px; margin-top: 10px; position: relative; z-index: 1; color: var(--ink); }
.auth-art .feats { display: none; }
@media (min-width: 900px) {
  .auth-art { padding: 48px; }
  .auth-art img { height: 150px; }
  .auth-art .tag { font-size: 32px; max-width: 420px; line-height: 1.15; }
  .auth-art .feats { display: flex; gap: 18px; margin-top: 36px; position: relative; z-index: 1; }
}
.feats .f { display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-2); width: 112px; line-height: 1.3; }
.feats .f i { width: 54px; height: 54px; border-radius: 18px; background: rgba(255, 255, 255, .72); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-1); }
.auth-panel { display: flex; align-items: flex-start; justify-content: center; padding: 0 16px 40px; margin-top: -44px; position: relative; z-index: 2; }
@media (min-width: 900px) { .auth-panel { align-items: center; margin: 0; padding: 40px; } }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--r-xl); padding: 26px 22px; box-shadow: var(--sh-2); }
@media (min-width: 900px) { .auth-card { box-shadow: none; background: transparent; padding: 0; } }
.auth-card h1 { font-size: 28px; }
.auth-card .lead { color: var(--ink-3); margin: 6px 0 22px; font-size: 14.5px; }
.auth-card .lead b { color: var(--ink); }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.auth-foot a { color: var(--rose-deep); font-weight: 600; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12.5px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.state-icon { width: 68px; height: 68px; border-radius: 22px; background: var(--rose-wash); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-wrap button { position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 12px; display: flex; align-items: center; justify-content: center; }

.landing { display: grid; gap: 34px; align-items: center; padding: 22px 0 10px; }
@media (min-width: 900px) { .landing { grid-template-columns: 1.1fr .9fr; padding: 50px 0 20px; } }
.landing .kick { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.landing .kick i { background: var(--ink); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.landing h1 { font-family: var(--brand); font-weight: 500; font-size: 42px; line-height: 1.02; margin: 18px 0 14px; letter-spacing: -.03em; }
.landing h1 em { color: var(--rose); }
.landing p.lead { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 0 24px; }
@media (min-width: 900px) { .landing h1 { font-size: 66px; } }
.landing .feats { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.landing .feats .f { align-items: flex-start; text-align: left; width: 150px; }
.landing .feats .f i { background: var(--rose-wash); box-shadow: none; }
.phone-wrap { position: relative; padding: 10px 30px; }
.phone { position: relative; width: 290px; max-width: 100%; margin: 0 auto; padding: 11px; border-radius: 46px; background: #1e1719; box-shadow: 0 40px 70px -30px rgba(30, 23, 25, .55), inset 0 0 0 2px #3a2f33; }
.phone .scr { border-radius: 36px; overflow: hidden; background: var(--bg); padding: 42px 12px 16px; position: relative; }
.phone .scr::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 99px; background: #1e1719; }
.phone .hero { padding: 14px; border-radius: 22px; margin: 0; }
.phone .hero h1 { font-size: 19px; margin: 8px 0 10px; }
.phone .search .box { height: 40px; font-size: 12px; padding: 0 12px; }
.phone .filter-sq { width: 40px; height: 40px; border-radius: 14px; }
.phone .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.phone .pcard { padding: 6px; border-radius: 16px; }
.phone .pcard-media { border-radius: 12px; }
.phone .pcard-body { padding: 6px 3px 2px; }
.phone .pcard-title { font-size: 11px; min-height: 28px; }
.phone .pcard-price b { font-size: 13.5px; }
.phone .tag-off { font-size: 10px; padding: 3px 7px; }
.float-chip { position: absolute; z-index: 3; background: var(--surface); border-radius: 18px; padding: 10px 14px 10px 10px; box-shadow: var(--sh-2); font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.float-chip b { display: block; font-size: 13.5px; color: var(--ink); }
.float-chip i { width: 34px; height: 34px; border-radius: 12px; background: var(--rose-wash); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; }
.float-chip.a { left: 0; top: 44%; }
.float-chip.b { right: 0; bottom: 18%; }

/* ---------- estados e utilidades ---------- */
.empty { text-align: center; padding: 50px 20px; }
.empty .ei { width: 84px; height: 84px; border-radius: 28px; background: var(--rose-wash); color: var(--rose-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.empty h3 { font-size: 19px; }
.empty p { color: var(--ink-3); margin: 6px auto 18px; max-width: 320px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 24px 0; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--warn-bg); color: #7a4c12; font-size: 13.5px; font-weight: 500; margin-bottom: 12px; }
.notice.ok { background: var(--ok-bg); color: #24684b; }
.notice.info { background: var(--rose-wash); color: var(--rose-deep); }
.backlink { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.copybox { display: flex; gap: 8px; }
.copybox input { min-width: 0; flex: 1; }
pre.code { background: var(--bg); padding: 12px; border-radius: 12px; overflow: auto; font-size: 12.5px; font-family: var(--mono); white-space: pre-wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }

/* ==========================================================================
   Gestão (admin)
   ========================================================================== */
.panel { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-1); border: 1px solid var(--line); padding: 18px; }
.panel + .panel { margin-top: 14px; }
.cols > .panel, .grid > .panel { margin-top: 0; }
.panel h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 16px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; }
.panel-head a.small { color: var(--rose-deep); font-weight: 600; }
.promo-text { white-space: pre-wrap; word-break: break-word; background: var(--rose-wash); border-radius: 14px; padding: 14px 16px; font-size: 14px; line-height: 1.55; max-height: 380px; overflow: auto; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; justify-content: center; }
.steps a { color: var(--rose-deep); font-weight: 600; }

.staff { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
.staff > div, .cols > *, .form-grid > *, .pd > * { min-width: 0; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 14px; display: none; }
.side .logo { margin: 0 8px 18px; }
.side .grp { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 16px 12px 6px; }
.side a.item, .side button.item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; color: var(--ink-2); font: 500 14px var(--ui); margin-bottom: 2px; width: 100%; background: none; border: 0; cursor: pointer; }
.side a.item:hover, .side button.item:hover { background: var(--bg); color: var(--ink); }
.side a.item.on { background: var(--ink); color: #fff; }
.side .sep { height: 1px; background: var(--line); margin: 14px 8px; }
.staff-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.staff-top .logo img { height: 30px; }
.staff-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.staff-tabs::-webkit-scrollbar { display: none; }
.staff-tabs a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); background: var(--bg); }
.staff-tabs a.on { background: var(--ink); color: #fff; }
.staff-main { padding: 22px 16px 60px; max-width: 1200px; width: 100%; }
.staff-main h1 { font-size: 26px; margin-bottom: 4px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 4px 0 0; }
@media (min-width: 1000px) {
  .staff { grid-template-columns: 248px minmax(0, 1fr); }
  .side { display: block; position: sticky; top: 0; height: 100vh; overflow: auto; }
  .staff-top, .staff-tabs { display: none; }
  .staff-main { padding: 30px 34px 60px; }
}
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border-radius: var(--r-lg); padding: 18px; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.stat:first-child { background: var(--g-noir); color: #fff; border: 0; }
.stat:first-child .l { color: rgba(255, 255, 255, .65); }
.stat:first-child .x { color: #f0c7ce; }
.stat .n { font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stat .l { color: var(--ink-3); font-size: 13px; font-weight: 500; }
.stat .x { font-size: 12.5px; color: var(--rose-deep); font-weight: 600; margin-top: 6px; }
.cols { display: grid; gap: 14px; }
@media (min-width: 1000px) { .cols { grid-template-columns: 1fr 1fr; } .cols-3-2 { grid-template-columns: 3fr 2fr; } }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--sh-1); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; padding: 13px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fdfbfa; }
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr:hover td { background: #fffafa; }
.tbl .thumb { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: var(--rose-wash); }
.tbl .clip { max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inline-form { display: inline; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input[type=search] { max-width: 300px; height: 42px; border-radius: 999px; }
.toolbar select { width: auto; height: 42px; border-radius: 999px; font-size: 13.5px; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 760px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
