/* =====================================================================
   TERÊ PERSONALIZADOS — DESIGN SYSTEM
   Ateliê de festa: papel creme, marsala, rosa antigo e dourado.
   Sidebar recolhível inspirada em Instagram/Canva.
   ===================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-family: var(--font-display); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---------- Tokens ---------- */
:root {
  --cream: #fbf6f0;
  --paper: #fffdfa;
  --ink: #2c211f;
  --muted: #7c6a63;
  --marsala: #7a2e3d;
  --marsala-dark: #5c1f2c;
  --marsala-soft: #a4515f;
  --rose: #e9c3c6;
  --rose-soft: #f8e8e6;
  --terracotta: #c2745a;
  --gold: #c9a227;
  --line: #ecdfd5;
  --line-strong: #ddc9bc;
  --green: #2f7d5c;
  --sidebar-w: 274px;
  --sidebar-w-min: 84px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(84, 45, 38, .06);
  --shadow: 0 14px 38px rgba(84, 45, 38, .10);
  --font-ui: "Poppins", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =====================================================================
   LAYOUT GERAL
   ===================================================================== */
.app { min-height: 100vh; }
.app-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left .28s var(--ease);
}
body.sb-collapsed .app-main { margin-left: var(--sidebar-w-min); }

.view {
  flex: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px clamp(18px, 3.4vw, 46px) 72px;
  animation: viewIn .32s var(--ease) both;
}
@keyframes viewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* =====================================================================
   SIDEBAR
   ===================================================================== */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px 16px;
  background:
    radial-gradient(120% 60% at 0% 0%, #fff9f3 0%, rgba(255, 249, 243, 0) 60%),
    linear-gradient(180deg, #fffdfa 0%, #faf2ea 100%);
  border-right: 1px solid var(--line);
  transition: width .28s var(--ease), transform .28s var(--ease);
  overflow: hidden;
}
.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(122, 46, 61, .05) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: .35;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

.sb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 4px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.sb-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sb-brand img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--line);
  flex: none;
}
.sb-brand-text { display: flex; flex-direction: column; min-width: 0; }
.sb-brand-text strong {
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: .01em;
  color: var(--marsala);
  line-height: 1.1;
}
.sb-brand-text small {
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.sb-collapse {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--muted);
  transition: background .2s, color .2s, transform .28s var(--ease);
}
.sb-collapse:hover { background: var(--rose-soft); color: var(--marsala); }

.sb-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 0;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: thin;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  color: #574641;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .18s, color .18s, transform .18s;
  position: relative;
}
.sb-link svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sb-link:hover { background: #fff; color: var(--marsala); transform: translateX(2px); }
.sb-link.active {
  background: linear-gradient(135deg, var(--marsala) 0%, #93414f 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(122, 46, 61, .24);
}
.sb-link.active::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  width: 4px; height: 20px;
  transform: translateY(-50%);
  border-radius: 0 4px 4px 0;
  background: var(--gold);
}

.sb-group { margin: 8px 0 4px; }
.sb-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 6px;
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
}
.sb-group-toggle {
  border: 0; background: none; color: var(--muted);
  padding: 2px; border-radius: 5px;
  transition: transform .25s var(--ease);
}
.sb-group.collapsed .sb-group-toggle { transform: rotate(-90deg); }
.sb-group.collapsed .sb-cats { display: none; }
.sb-cats { display: flex; flex-direction: column; gap: 1px; }
.sb-cat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .84rem;
  color: #6a5751;
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.sb-cat span.emoji { width: 20px; text-align: center; font-size: .95rem; flex: none; }
.sb-cat span.label { overflow: hidden; text-overflow: ellipsis; }
.sb-cat:hover { background: #fff; color: var(--marsala); }
.sb-cat.active { background: var(--rose-soft); color: var(--marsala); font-weight: 600; }
.sb-subs {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 2px 0 5px 30px;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}
.sb-sub {
  display: block;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: .76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background .18s, color .18s;
}
.sb-sub:hover { background: #fff; color: var(--marsala); }
.sb-sub.active { background: var(--rose-soft); color: var(--marsala); font-weight: 600; }
body.sb-collapsed .sb-subs { display: none; }

.sb-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.sb-social, .sb-admin {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: .8rem;
  color: var(--muted);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.sb-social svg, .sb-admin svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.sb-social:hover { background: #fff; color: var(--marsala); }
.sb-admin { opacity: .65; }
.sb-admin:hover { opacity: 1; background: #fff; color: var(--marsala); }

/* Recolhida */
body.sb-collapsed .sidebar { width: var(--sidebar-w-min); }
body.sb-collapsed .sb-brand-text,
body.sb-collapsed .sb-link span,
body.sb-collapsed .sb-cat span.label,
body.sb-collapsed .sb-social span,
body.sb-collapsed .sb-admin span,
body.sb-collapsed .sb-group-head span { display: none; }
body.sb-collapsed .sb-head {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 4px 0 14px;
}
body.sb-collapsed .sb-collapse { display: grid; }
body.sb-collapsed .sb-collapse svg { transform: rotate(180deg); }
body.sb-collapsed .sb-link,
body.sb-collapsed .sb-cat,
body.sb-collapsed .sb-social,
body.sb-collapsed .sb-admin { justify-content: center; padding-inline: 0; }
body.sb-collapsed .sb-group-head { display: none; }
body.sb-collapsed .sb-link.active::before { display: none; }
body.sb-collapsed .sidebar { padding-inline: 10px; }
body.sb-collapsed .sb-link:hover,
body.sb-collapsed .sb-cat:hover { transform: none; }

.sb-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(44, 33, 31, .45);
  backdrop-filter: blur(2px);
  animation: fadeIn .2s ease both;
}

/* =====================================================================
   TOPBAR
   ===================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px clamp(18px, 3.4vw, 46px);
  background: rgba(251, 246, 240, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-title { min-width: 0; flex: 1; }
.topbar-eyebrow {
  display: block;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.topbar-title h1 {
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-family: var(--font-display);
  color: var(--marsala);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-crumbs {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: .65rem;
  color: var(--muted);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar-crumbs::-webkit-scrollbar { display: none; }
.topbar-crumbs a { color: var(--muted); text-decoration: none; }
.topbar-crumbs a:hover { color: var(--marsala); text-decoration: underline; }
.topbar-crumbs .sep { opacity: .45; }
.topbar-crumbs [aria-current="page"] { color: var(--marsala); font-weight: 600; }
.topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: clamp(180px, 22vw, 310px);
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
}
.topbar-search svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
}
.topbar-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .8rem;
  color: var(--ink);
}
.topbar-search input::placeholder { color: var(--muted); }
.topbar-actions .top-search-btn { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--marsala);
  transition: background .18s, transform .18s, border-color .18s;
}
.icon-btn:hover { background: var(--rose-soft); border-color: var(--rose); transform: translateY(-1px); }
.menu-btn { display: none; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 0;
  background: linear-gradient(135deg, var(--marsala), #93414f);
  color: #fff;
  box-shadow: 0 8px 18px rgba(122, 46, 61, .25);
  transition: transform .18s, box-shadow .18s;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(122, 46, 61, .3); }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 21px; height: 21px;
  display: grid; place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #3a2b00;
  font-size: .68rem;
  font-weight: 700;
  border: 2px solid var(--cream);
}
.announcement {
  padding: 9px clamp(18px, 3.4vw, 46px);
  background: linear-gradient(90deg, var(--rose-soft), #fff6ec);
  color: var(--marsala);
  font-size: .8rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

/* =====================================================================
   COMPONENTES BASE
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--marsala), #93414f);
  color: #fff;
  box-shadow: 0 8px 20px rgba(122, 46, 61, .22);
}
.btn-primary:hover { box-shadow: 0 12px 24px rgba(122, 46, 61, .28); }
.btn-outline {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--marsala);
}
.btn-outline:hover { border-color: var(--marsala); background: var(--rose-soft); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: var(--rose-soft); color: var(--marsala); }
.btn-whats { background: #1f8f5f; color: #fff; box-shadow: 0 8px 20px rgba(31, 143, 95, .22); }
.btn-whats:hover { background: #177a50; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: .95rem; width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .8rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .74rem;
  color: var(--muted);
  white-space: nowrap;
}
.badge strong { color: var(--marsala); }

.section { margin-top: 44px; }
.section:first-child { margin-top: 0; }
.section-head { max-width: 640px; margin-bottom: 20px; }
.section-eyebrow {
  display: inline-block;
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
  font-weight: 600;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--ink); }
.section-desc { margin-top: 8px; color: var(--muted); font-size: .9rem; max-width: 58ch; }

.page-head { margin-bottom: 22px; }
.page-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 62ch; font-size: .92rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.breadcrumb a:hover { color: var(--marsala); text-decoration: underline; }
.breadcrumb span.sep { opacity: .5; }

/* =====================================================================
   INÍCIO
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: clamp(26px, 4vw, 54px);
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(233, 195, 198, .55) 0%, rgba(233, 195, 198, 0) 70%),
    radial-gradient(50% 70% at 10% 100%, rgba(201, 162, 39, .16) 0%, rgba(201, 162, 39, 0) 70%),
    linear-gradient(135deg, #fffdfa 0%, #fdf3ec 100%);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--terracotta);
}
.hero-title {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  letter-spacing: -.015em;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  color: var(--marsala);
}
.hero-sub {
  margin-top: 14px;
  color: var(--muted);
  font-size: .96rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
}
.hero-logo-ring {
  position: relative;
  width: min(300px, 72%);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 10px;
  background: conic-gradient(from 140deg, var(--rose), #fff, var(--gold), var(--rose));
  box-shadow: var(--shadow);
}
.hero-logo-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 6px solid #fff;
}
.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .74rem;
  font-weight: 500;
  color: var(--marsala);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.hero-chip:nth-child(2) { top: 8%; left: 0; }
.hero-chip:nth-child(3) { bottom: 12%; right: 0; animation-delay: -3s; }
.hero-chip:nth-child(4) { bottom: 2%; left: 6%; animation-delay: -1.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Categorias */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.cat-card::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -34px;
  width: 108px; height: 108px;
  border-radius: 50%;
  background: var(--rose-soft);
  transition: transform .3s var(--ease);
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rose); }
.cat-card:hover::after { transform: scale(1.25); }
.cat-emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 6px; }
.cat-card strong { font-family: var(--font-display); font-size: 1.06rem; position: relative; z-index: 1; }
.cat-count { font-size: .74rem; color: var(--muted); position: relative; z-index: 1; }
.cat-card .cat-arrow {
  margin-top: 10px;
  font-size: .76rem;
  color: var(--marsala);
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Produtos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
  gap: 18px;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
  contain: content;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rose); }
.product-media {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #fdf3ec, #f6e6e4);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 10px;
}
.product-media img {
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(44, 33, 31, .16);
  transition: transform .5s var(--ease);
}
.product-card:hover .product-media img { transform: scale(1.015); }

/* Moldura desfocada: fica ATRÁS da foto e aparece ao redor dela */
.product-media-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) saturate(1.05) brightness(.92);
  transform: scale(1.12);
  opacity: .9;
  pointer-events: none;
}

/* Em telas sem mouse (celular/tablet), o toque não deve "prender" o hover */
@media (hover: none) {
  .product-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .product-card:hover .product-media img { transform: none; }
}
.product-emoji { font-size: 3rem; position: relative; z-index: 1; }
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 250, .94);
  color: var(--marsala);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(122, 46, 61, .14);
}
.promo-flag {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--marsala);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}
.product-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product-category {
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
}
.product-name { font-size: 1.02rem; }
.product-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}
.product-card.expanded .product-desc {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.desc-toggle {
  align-self: flex-start;
  margin-top: -2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--marsala);
  font: inherit;
  font-size: .72rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.desc-toggle:hover { color: var(--rose); }
.wa-only-tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: var(--marsala);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.product-price { margin-top: 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-now { font-size: 1.12rem; font-weight: 700; color: var(--marsala); font-family: var(--font-ui); }
.price-from { font-size: .66rem; color: var(--muted); font-weight: 400; }
.price-old { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.product-actions { display: grid; gap: 7px; margin-top: 10px; }
.product-actions .btn { min-height: 40px; font-size: .8rem; }

/* Faixa de confiança */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.trust-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 15px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.trust-item .ico { font-size: 1.3rem; line-height: 1.2; }
.trust-item strong { display: block; font-size: .84rem; font-family: var(--font-ui); font-weight: 600; }
.trust-item small { color: var(--muted); font-size: .72rem; line-height: 1.4; display: block; margin-top: 2px; }

/* Instagram */
.ig-band {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 24px;
  background: linear-gradient(135deg, #2c211f 0%, #4a2a31 100%);
  color: #fdf3ec;
  overflow: hidden;
  position: relative;
}
.ig-band::before {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,195,198,.35), transparent 70%);
}
.ig-copy { position: relative; z-index: 1; }
.ig-copy .section-eyebrow { color: var(--rose); }
.ig-copy h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); color: #fff; }
.ig-copy p { margin-top: 8px; font-size: .86rem; color: rgba(253, 243, 236, .78); max-width: 44ch; }
.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .84rem;
  font-weight: 500;
}
.ig-handle:hover { background: rgba(255, 255, 255, .18); }
.ig-collage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}
.ig-collage a {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .12);
  background: #3a2a2c;
}
.ig-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.ig-collage a:hover img { transform: scale(1.08); }

/* =====================================================================
   CATÁLOGO
   ===================================================================== */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.search-field {
  position: relative;
  flex: 1 1 220px;
  display: flex;
  align-items: center;
}
.search-field svg {
  position: absolute;
  left: 12px;
  width: 17px; height: 17px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}
.search-field input {
  width: 100%;
  padding: 10px 12px 10px 37px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .84rem;
}
.search-field input:focus { border-color: var(--rose); outline: none; box-shadow: 0 0 0 3px rgba(233, 195, 198, .35); }
.select-field {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .82rem;
  color: var(--ink);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
  transition: background .18s, color .18s, border-color .18s;
}
.chip:hover { border-color: var(--rose); color: var(--marsala); }
.chip.active { background: var(--marsala); border-color: var(--marsala); color: #fff; }
.subcat-row { margin-top: -8px; align-items: center; }
.chip-label {
  padding: 0 4px;
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.subcat-context { color: var(--muted); font-weight: 400; }
.search-page-form { display: flex; gap: 8px; margin-bottom: 14px; }
.search-page-form .search-field { flex: 1; }
.search-results-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .78rem;
  color: var(--muted);
}
.search-results-head a { color: var(--marsala); }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 54px 20px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  font-size: .9rem;
}

/* =====================================================================
   MONTE SEU KIT
   ===================================================================== */
.kit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr);
  gap: 22px;
  align-items: start;
}
.kit-builder {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.4vw, 26px);
}
.kit-group-title {
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--marsala);
  margin: 22px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.kit-group-title:first-child { margin-top: 0; }
.kit-note-inline { font-size: .64rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }
.kit-caixinhas, .kit-items, .kit-adicionais { display: grid; gap: 9px; }
.kit-items { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.kit-adicionais { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

.caixinha-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  display: grid;
  gap: 9px;
}
.caixinha-top, .kit-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kit-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 12px;
  background: #fff;
}
.kit-item-emoji { font-size: 1.35rem; line-height: 1; flex: none; }
.kit-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.kit-item-info strong { font-size: .82rem; font-weight: 600; }
.kit-item-info small { font-size: .72rem; color: var(--muted); }
.stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  flex: none;
}
.stepper button {
  width: 30px; height: 32px;
  border: 0;
  background: transparent;
  color: var(--marsala);
  font-size: 1rem;
  font-weight: 600;
}
.stepper button:hover { background: var(--rose-soft); }
.stepper .qty { min-width: 26px; text-align: center; font-size: .82rem; font-weight: 600; }
.model-label { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.model-select, .topo-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: .8rem;
}
.adicional-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-size: .78rem;
  transition: border-color .18s, background .18s;
}
.adicional-item:has(input:checked) { border-color: var(--marsala); background: var(--rose-soft); }
.adicional-item input { accent-color: var(--marsala); width: 16px; height: 16px; flex: none; }
.adicional-name { flex: 1; }
.adicional-price { color: var(--muted); font-size: .7rem; white-space: nowrap; }
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: .82rem;
}
.toggle-row input { accent-color: var(--marsala); width: 17px; height: 17px; }
.topo-select-wrap { margin-top: 9px; }

.kit-summary {
  margin-top: 20px;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff8f1, #fbeae7);
  border: 1px solid var(--line);
}
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; padding: 3px 0; color: var(--muted); }
.sum-row.sum-total { border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 10px; font-size: .95rem; color: var(--ink); align-items: baseline; }
.sum-row.sum-total strong { font-size: 1.3rem; color: var(--marsala); }
.sum-discount { color: var(--green); }

.btn-pegue {
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px dashed var(--marsala);
  background: #fff;
  color: var(--marsala);
  font-weight: 700;
  font-size: .84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .18s, color .18s;
}
.btn-pegue:hover { background: var(--rose-soft); }
.btn-pegue.active { background: var(--marsala); color: #fff; border-style: solid; }
.pegue-tag { padding: 2px 7px; border-radius: 999px; background: var(--gold); color: #3a2b00; font-size: .68rem; }
.kit-note { font-size: .72rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.kit-side { position: sticky; top: 86px; display: grid; gap: 14px; }
.kit-side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.kit-side-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.kit-side-card p { font-size: .8rem; color: var(--muted); }
.kit-side-card ul { margin-top: 10px; display: grid; gap: 6px; }
.kit-side-card li { font-size: .78rem; color: var(--muted); display: flex; gap: 7px; }
.kit-side-card li::before { content: "✓"; color: var(--green); font-weight: 700; }

/* =====================================================================
   FORMULÁRIOS
   ===================================================================== */
.quote-form { display: grid; gap: 16px; }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 26px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .74rem; font-weight: 600; color: #5b4842; }
.field .opt { font-weight: 400; color: var(--muted); font-size: .68rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: .86rem;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 82px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--marsala);
  outline: none;
  box-shadow: 0 0 0 3px rgba(233, 195, 198, .4);
}
.field input:invalid:not(:placeholder-shown) { border-color: #c95c5c; }
.radio-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.radio-card:has(input:checked) { border-color: var(--marsala); background: var(--rose-soft); }
.radio-card input { accent-color: var(--marsala); width: 16px; height: 16px; flex: none; }
.radio-icon { font-size: 1.15rem; }
.radio-text { display: flex; flex-direction: column; line-height: 1.25; }
.radio-text strong { font-size: .82rem; }
.radio-text small { font-size: .68rem; color: var(--muted); }
.form-actions { display: grid; gap: 8px; }
.form-hint { font-size: .72rem; color: var(--muted); text-align: center; }
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .76rem;
  color: var(--muted);
  line-height: 1.45;
}
.check-row input { accent-color: var(--marsala); width: 16px; height: 16px; margin-top: 2px; flex: none; }
.check-row a { color: var(--marsala); text-decoration: underline; }

/* =====================================================================
   CONTATO
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--rose); box-shadow: var(--shadow-sm); }
.contact-icon { font-size: 1.5rem; margin-bottom: 5px; }
.contact-card strong { font-size: .9rem; }
.contact-card small { color: var(--muted); font-size: .76rem; }
.contact-cta {
  margin-top: 26px;
  padding: clamp(20px, 3vw, 30px);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff8f1, #f8e8e6);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.contact-cta h3 { font-size: 1.25rem; }
.contact-cta p { color: var(--muted); font-size: .82rem; margin-top: 4px; }

/* =====================================================================
   POLÍTICAS
   ===================================================================== */
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.policy-nav {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 4px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.policy-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .8rem;
  color: var(--muted);
}
.policy-nav a:hover { background: var(--rose-soft); color: var(--marsala); }
.policy-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 30px);
  margin-bottom: 16px;
  scroll-margin-top: 90px;
}
.policy-card h2 { font-size: 1.35rem; color: var(--marsala); display: flex; align-items: center; gap: 9px; }
.policy-card h2 .ico { font-size: 1.1rem; }
.policy-card p { font-size: .84rem; color: #5f4d47; margin-top: 10px; line-height: 1.65; }
.policy-card ul { margin-top: 10px; display: grid; gap: 8px; }
.policy-card li { font-size: .84rem; color: #5f4d47; line-height: 1.6; padding-left: 18px; position: relative; }
.policy-card li::before { content: "•"; position: absolute; left: 4px; color: var(--terracotta); }
.policy-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--rose-soft);
  border-left: 3px solid var(--marsala);
  font-size: .78rem;
  color: #5f4d47;
}

/* =====================================================================
   CARRINHO
   ===================================================================== */
.cart-backdrop, .checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(44, 33, 31, .46);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .22s ease;
}
.cart-backdrop.open, .checkout-backdrop.open { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 95;
  width: min(430px, 100%);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 50px rgba(44, 33, 31, .16);
  transform: translateX(104%);
  transition: transform .3s var(--ease);
}
.cart-drawer.open { transform: none; }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 1.2rem; }
.cart-close {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
}
.cart-close:hover { background: var(--rose-soft); color: var(--marsala); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { text-align: center; color: var(--muted); font-size: .85rem; padding: 40px 10px; line-height: 1.6; }
.cart-line {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cart-line-thumb {
  width: 58px; height: 68px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--rose-soft);
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.cart-line-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info { min-width: 0; }
.cart-line-info strong { font-size: .82rem; display: block; line-height: 1.35; }
.cart-line-info small { font-size: .7rem; color: var(--muted); }
.cart-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.cart-line-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.cart-line-qty button { width: 26px; height: 27px; border: 0; background: #fff; color: var(--marsala); }
.cart-line-qty button:hover { background: var(--rose-soft); }
.cart-line-qty span { min-width: 22px; text-align: center; font-size: .76rem; font-weight: 600; }
.cart-line-remove { border: 0; background: none; color: var(--muted); font-size: .66rem; text-decoration: underline; padding: 0; }
.cart-line-remove:hover { color: #b03a3a; }
.cart-line-price { grid-column: 2 / -1; font-size: .82rem; font-weight: 700; color: var(--marsala); text-align: right; }
.cart-line-details { margin-top: 5px; }
.cart-line-details summary { font-size: .68rem; color: var(--muted); cursor: pointer; }
.cart-line-details ul { margin-top: 5px; display: grid; gap: 2px; }
.cart-line-details li { font-size: .66rem; color: var(--muted); }

.cart-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fffaf5; }
.cart-subtotal, .cart-shipping, .cart-total {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: .82rem; color: var(--muted); padding: 3px 0;
}
.cart-total { border-top: 1px dashed var(--line-strong); margin-top: 7px; padding-top: 9px; font-size: .95rem; color: var(--ink); }
.cart-total strong { color: var(--marsala); font-size: 1.15rem; }
.cart-opt {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 10px 0;
  padding: 10px 11px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: .72rem;
  color: #5f4d47;
  cursor: pointer;
  line-height: 1.4;
}
.cart-opt input { accent-color: var(--marsala); width: 16px; height: 16px; margin-top: 1px; flex: none; }
.cart-opt strong { display: block; font-size: .74rem; color: var(--ink); }

/* =====================================================================
   CHECKOUT
   ===================================================================== */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}
.checkout-modal.open { pointer-events: auto; opacity: 1; }
#checkoutContent {
  width: min(760px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(44, 33, 31, .3);
}
.checkout-inner { padding: clamp(16px, 3vw, 26px); display: grid; gap: 14px; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-head h2 { font-size: 1.3rem; }
.co-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px;
  background: #fff;
}
.co-title {
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--marsala);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.co-items { display: grid; gap: 6px; }
.co-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .8rem;
  color: #5f4d47;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}
.co-item:last-child { border-bottom: 0; padding-bottom: 0; }
.co-item strong { color: var(--ink); white-space: nowrap; }
.co-summary { display: grid; gap: 4px; }
.co-sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--muted); }
.co-sum-row.fee { color: var(--terracotta); }
.co-sum-row.total { border-top: 1px dashed var(--line-strong); margin-top: 6px; padding-top: 9px; color: var(--ink); font-weight: 600; }
.co-sum-row.total span:last-child { color: var(--marsala); font-size: 1.12rem; }
.co-actions { margin-top: 12px; }
.co-msg { display: none; margin-top: 10px; padding: 9px 12px; border-radius: 9px; font-size: .78rem; }
.co-msg.error { display: block; background: #fdecec; color: #a53030; border: 1px solid #f3c9c9; }
.co-msg.ok { display: block; background: #eaf6ef; color: #1d6b47; border: 1px solid #c6e6d3; }
.co-hint { font-size: .74rem; color: var(--muted); line-height: 1.5; }
.co-hint a { color: var(--marsala); text-decoration: underline; }
.co-secure { margin-top: 10px; font-size: .7rem; color: var(--muted); text-align: center; }
.co-notice { padding: 10px 12px; border-radius: 9px; background: #fff6e5; border: 1px solid #f0dfb5; font-size: .78rem; color: #7a5a13; }
.co-next { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--rose-soft); font-size: .78rem; color: #5f4d47; }
.co-success { font-size: 2.6rem; line-height: 1; }
.co-consent { margin-top: 4px; }
.pay-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.pay-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: border-color .18s, background .18s;
}
.pay-tab .t-ico { font-size: 1rem; }
.pay-tab small { font-size: .66rem; color: var(--muted); font-weight: 400; }
.pay-tab.active { border-color: var(--marsala); background: var(--rose-soft); }
.pix-box { display: grid; gap: 10px; justify-items: center; }
.pix-box img { width: min(210px, 70%); border-radius: 10px; border: 1px solid var(--line); }
.pix-code {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  background: #fbf6f0;
  border: 1px dashed var(--line-strong);
  font-size: .64rem;
  color: var(--muted);
  word-break: break-all;
  max-height: 70px;
  overflow: auto;
}
.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   RODAPÉ / FLUTUANTES
   ===================================================================== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf5;
  padding: 28px clamp(18px, 3.4vw, 46px) 18px;
  font-size: .78rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
}
.footer-brand { display: flex; gap: 11px; align-items: flex-start; max-width: 340px; }
.footer-brand img { border-radius: 50%; flex: none; }
.footer-brand p { font-size: .76rem; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--marsala); text-decoration: underline; }
.footer-bottom {
  max-width: 1280px;
  margin: 20px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: .68rem;
}

.float-wa {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 50;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #1f8f5f;
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 143, 95, .35);
  transition: transform .2s;
}
.float-wa:hover { transform: scale(1.06); }

.consent-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 80;
  width: min(760px, calc(100% - 24px));
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(44, 33, 31, .97);
  color: #fdf3ec;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  font-size: .78rem;
  animation: bannerIn .4s var(--ease) both;
}
.consent-banner p { flex: 1 1 320px; line-height: 1.5; }
.consent-banner a { color: var(--rose); text-decoration: underline; }
/* Enquanto a gaveta do menu está aberta no celular, o aviso não cobre a navegação */
body.sb-open .consent-banner { display: none; }
.consent-actions { display: flex; gap: 8px; align-items: center; }
.consent-banner .btn-ghost { color: #fdf3ec; }
.consent-banner .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
@keyframes bannerIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Acessibilidade / utilidades ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 9px;
  background: var(--marsala);
  color: #fff;
  font-size: .82rem;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-art { min-height: 220px; order: -1; }
  .hero-logo-ring { width: min(230px, 60%); }
  .hero-chip { display: none; }
  .ig-band { grid-template-columns: 1fr; }
  .kit-layout { grid-template-columns: 1fr; }
  .kit-side { position: static; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; display: flex; flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .sidebar {
    transform: translateX(-104%);
    width: var(--sidebar-w);
    box-shadow: 20px 0 60px rgba(44, 33, 31, .2);
  }
  .sidebar.open { transform: none; }
  body.sb-collapsed .sidebar { width: var(--sidebar-w); }
  body.sb-collapsed .sb-brand-text,
  body.sb-collapsed .sb-link span,
  body.sb-collapsed .sb-cat span.label,
  body.sb-collapsed .sb-social span,
  body.sb-collapsed .sb-admin span,
  body.sb-collapsed .sb-group-head span { display: initial; }
  body.sb-collapsed .sb-head { flex-direction: row; justify-content: space-between; }
  body.sb-collapsed .sb-collapse { display: none; }
  body.sb-collapsed .sb-link,
  body.sb-collapsed .sb-cat,
  body.sb-collapsed .sb-social,
  body.sb-collapsed .sb-admin { justify-content: flex-start; padding-inline: 12px; }
  body.sb-collapsed .sb-group-head { display: flex; }
  .app-main, body.sb-collapsed .app-main { margin-left: 0; }
  .menu-btn { display: grid; }
  .sb-collapse { display: none; }
  .topbar-search { display: none; }
  .topbar-actions .top-search-btn { display: grid; }
  .topbar { padding-inline: 16px; }
  .topbar-crumbs { white-space: normal; flex-wrap: wrap; row-gap: 2px; font-size: .6rem; }
  .view { padding-inline: 16px; }
  .float-wa { display: grid; }
  .site-footer { padding-inline: 16px; }
}

@media (max-width: 640px) {
  .view { padding-top: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .radio-group { grid-template-columns: 1fr; }
  .hero { border-radius: 20px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 11px; }
  .product-body { padding: 11px 11px 13px; }
  .product-name { font-size: .9rem; }
  .product-actions .btn { min-height: 38px; font-size: .74rem; padding: 8px 10px; }
  .kit-items, .kit-adicionais { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
  .checkout-modal { padding: 0; }
  #checkoutContent { max-height: 100dvh; border-radius: 0; height: 100dvh; }
  .consent-banner { bottom: 10px; }
  .float-wa { width: 50px; height: 50px; bottom: 74px; }
  .ig-collage { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
