/* =========================================================
   Farma Diet — Tema "Neo Pharma"
   Vermelho da marca + superfícies de vidro, brilhos e movimento
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --red-900: #5c0a13;
  --red-800: #9b111e;
  --red-700: #c8102e;
  --red-600: #e01e37;
  --red-500: #ff3352;
  --red-100: #ffe1e6;
  --red-050: #fff4f6;
  --rose: #ff5c8a;
  --coral: #ff8a5c;

  --ink: #0a0b10;
  --ink-2: #11131b;
  --ink-3: #1a1d29;

  --white: #ffffff;
  --off-white: #fafafc;
  --gray-100: #f2f3f7;
  --gray-200: #e4e6ee;
  --gray-300: #c9ccd8;
  --gray-500: #6b7084;
  --gray-700: #363a4b;
  --gray-900: #10121a;

  --green: #12b76a;
  --amber: #f5a524;

  --grad: linear-gradient(120deg, var(--red-500) 0%, var(--red-700) 45%, var(--rose) 100%);
  --grad-warm: linear-gradient(120deg, var(--coral), var(--red-500) 50%, var(--rose));
  --glass: rgba(255, 255, 255, .94);
  --glass-dark: rgba(20, 22, 32, .55);
  --stroke: rgba(16, 18, 26, .08);
  --stroke-light: rgba(255, 255, 255, .12);

  --shadow-sm: 0 1px 2px rgba(16, 18, 26, .06), 0 2px 8px rgba(16, 18, 26, .04);
  --shadow-md: 0 10px 30px -10px rgba(16, 18, 26, .18);
  --shadow-lg: 0 30px 60px -20px rgba(92, 10, 19, .35);
  --glow: 0 0 0 1px rgba(255, 51, 82, .25), 0 20px 50px -15px rgba(224, 30, 55, .45);

  --radius: 20px;
  --radius-sm: 12px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red-500); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra de progresso de rolagem (criada via JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--grad-warm); transform-origin: 0 50%; transform: scaleX(0);
  box-shadow: 0 0 12px rgba(255, 51, 82, .6);
  pointer-events: none;
}

.section { padding: 88px 0; position: relative; }
.section-alt {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255, 51, 82, .07), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(255, 92, 138, .07), transparent 70%),
    #fff;
}
.section-alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: .6;
}
.section-alt > .container { position: relative; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head .eyebrow, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red-700);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 51, 82, .08);
  border: 1px solid rgba(255, 51, 82, .18);
}
.section-head .eyebrow::before, .eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-500); box-shadow: 0 0 10px var(--red-500);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--gray-900);
  line-height: 1.08;
}
.section-head p { color: var(--gray-500); margin-top: 14px; font-size: 1.04rem; }

.grad-text {
  background: var(--grad-warm);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  font-size: .95rem;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  background: var(--grad);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(224, 30, 55, .6), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(224, 30, 55, .75), inset 0 1px 0 rgba(255,255,255,.25); transform: translateY(-2px); background-position: 100% 0; }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-outline { background: transparent; border-color: rgba(200, 16, 46, .35); color: var(--red-700); }
.btn-outline:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--red-700); box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); }
.btn-ghost {
  background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn:disabled { cursor: not-allowed; }

/* ---------- Top strip ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  position: relative;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 82, .7), transparent);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .strip-right { display: flex; gap: 20px; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--stroke);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 10px 30px -18px rgba(16, 18, 26, .35); background: rgba(255, 255, 255, .9); }
.header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px;
  transition: padding .3s var(--ease);
}
.header.scrolled .container { padding: 9px 20px; }
/* Logo oficial (PNG com alpha -> webp). O brilho é recortado no formato do selo via mask. */
.logo { --logo-h: 52px; position: relative; display: inline-flex; flex: none; border-radius: 10px; transition: transform .45s var(--ease); }
.logo-img {
  display: block; height: var(--logo-h); width: auto;
  filter: drop-shadow(0 10px 16px rgba(224, 30, 55, .32));
  transition: height .3s var(--ease), filter .45s var(--ease);
}
.logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .7) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 130% 0;
  -webkit-mask: url(../assets/images/brand/logo-farma-diet-480.webp) center / contain no-repeat;
  mask: url(../assets/images/brand/logo-farma-diet-480.webp) center / contain no-repeat;
  animation: logo-shine 1.4s .6s var(--ease) both;
}
.logo:hover { transform: translateY(-2px) rotate(-1.5deg); }
.logo:hover .logo-img { filter: drop-shadow(0 16px 22px rgba(224, 30, 55, .45)); }
.logo:hover::after { animation: logo-shine-hover .9s var(--ease); }
@keyframes ring { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes logo-shine { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@keyframes logo-shine-hover { from { background-position: 130% 0; } to { background-position: -30% 0; } }
.header.scrolled .logo { --logo-h: 42px; }

@media (max-width: 680px) {
  .logo { --logo-h: 40px; }
}

.search {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 540px;
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 4px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.search:focus-within { border-color: rgba(255, 51, 82, .5); background: #fff; box-shadow: 0 0 0 5px rgba(255, 51, 82, .12); }
.search input { flex: 1; border: 0; outline: 0; padding: 9px 16px; font-size: .93rem; background: transparent; font-family: inherit; min-width: 0; }
.search button {
  border: 0; background: var(--grad); color: #fff; width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; flex: none;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.search button svg { width: 18px; height: 18px; }
.search button:hover { transform: scale(1.08) rotate(-8deg); box-shadow: 0 8px 18px -6px rgba(224, 30, 55, .7); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
  color: var(--gray-700); font-size: .7rem; font-weight: 600; gap: 3px; position: relative;
  padding: 6px 12px; border-radius: 14px; font-family: inherit;
  transition: color .2s, background .2s;
}
.icon-btn .ico { font-size: 1.2rem; line-height: 1; display: grid; place-items: center; height: 22px; transition: transform .3s var(--ease); }
.icon-btn .ico svg { width: 22px; height: 22px; }
.icon-btn:hover { color: var(--red-700); background: rgba(255, 51, 82, .07); }
.icon-btn:hover .ico { transform: translateY(-2px); }
.cart-count {
  position: absolute; top: 0; right: 6px;
  background: var(--grad); color: #fff;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; font-size: .64rem; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px #fff, 0 4px 10px rgba(224, 30, 55, .5);
}
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } 60% { transform: scale(.9); } }

/* ---------- Nav ---------- */
.nav {
  position: relative; z-index: 50; /* dropdown de categorias acima do hero; abaixo do header (60) */
  background: rgba(255, 255, 255, .6);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav .container { display: flex; align-items: center; gap: 4px; padding-top: 8px; padding-bottom: 8px; }
.nav a {
  color: var(--gray-700); font-weight: 600; font-size: .88rem;
  padding: 8px 15px; display: block; position: relative; border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav a:hover { color: var(--red-700); background: rgba(255, 51, 82, .07); }
.nav a.active { color: #fff; background: var(--ink); box-shadow: 0 6px 16px -8px rgba(10, 11, 16, .6); }
.nav .nav-tag {
  margin-left: auto; color: var(--gray-500); font-size: .8rem; display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-toggle { display: none; }

/* Dropdown de categorias */
.nav-drop { position: relative; }
.nav-drop-btn {
  color: var(--gray-700); font: inherit; font-weight: 600; font-size: .88rem;
  padding: 8px 15px; border: 0; background: none; border-radius: 999px; cursor: pointer;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-drop-btn span { font-size: .7rem; margin-left: 2px; display: inline-block; transition: transform .2s; }
.nav-drop:hover .nav-drop-btn, .nav-drop.open .nav-drop-btn { color: var(--red-700); background: rgba(255, 51, 82, .07); }
.nav-drop:hover .nav-drop-btn span, .nav-drop.open .nav-drop-btn span { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 2px; padding: 8px;
  background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; } /* ponte p/ o hover não cair */
.nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-drop-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; }
.nav .nav-drop-menu a span { font-size: 1.1rem; width: 22px; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-fx .orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-fx .o1 { width: 520px; height: 520px; background: #e01e37; top: -180px; right: -80px; }
.hero-fx .o2 { width: 420px; height: 420px; background: #ff5c8a; bottom: -200px; left: 20%; opacity: .45; animation-duration: 22s; animation-delay: -6s; }
.hero-fx .o3 { width: 300px; height: 300px; background: #ff8a5c; top: 30%; left: -120px; opacity: .35; animation-duration: 26s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(.95); }
}
.hero-fx .grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  animation: grid-move 6s linear infinite;
}
@keyframes grid-move { to { background-position: 0 64px, 0 0; } }
.hero-fx .noise {
  position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
  padding: 96px 20px 140px;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 7px 16px 7px 8px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 26px;
  color: rgba(255,255,255,.9);
}
.hero .badge .dot {
  background: var(--grad); border-radius: 999px; padding: 2px 10px; font-size: .7rem; font-weight: 800; letter-spacing: .05em;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 700; }
.hero h1 span {
  background: var(--grad-warm); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine-text 6s linear infinite;
}
@keyframes shine-text { to { background-position: 200% center; } }
.hero p { margin: 24px 0 34px; font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 0; margin-top: 48px; flex-wrap: wrap; }
.hero-stats > div { padding: 0 28px; border-left: 1px solid rgba(255,255,255,.14); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats b { display: block; font-family: var(--font-display); font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-stats span { display: block; font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
/* Estatísticas do topo da home: 3 colunas iguais, conteúdo centralizado em cada uma */
.hero .hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 500px; text-align: center; }
.hero .hero-stats > div, .hero .hero-stats > div:first-child { padding: 0 10px; }
.hero .hero-stats > div:first-child { border-left: 0; }

.hero-card {
  background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  color: #fff;
  border-radius: 28px; padding: 24px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
  animation: card-in 1.1s var(--ease) .25s backwards, float 7s ease-in-out 1.4s infinite;
}
.hero-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(255, 92, 138, .9) 80%, rgba(255, 138, 92, .9) 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 5s linear infinite;
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-ang { to { --ang: 360deg; } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotateX(12deg) scale(.96); filter: blur(8px); } }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero-card .hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding: 0 4px; }
.hero-card .hc-top b { font-family: var(--font-display); font-size: 1.1rem; }
.hero-card .hc-badge { background: var(--grad); color: #fff; font-weight: 700; font-size: .74rem; padding: 5px 12px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(224, 30, 55, .8); }
.hero-card .hc-item {
  display: grid; grid-template-columns: auto minmax(0, 1fr) 7.2em; gap: 14px; align-items: center; padding: 10px; border-radius: 16px;
  transition: background .25s, transform .25s var(--ease);
  animation: rise .7s var(--ease) backwards;
}
.hero-card .hc-item:nth-child(2) { animation-delay: .1s; }
.hero-card .hc-item:nth-child(3) { animation-delay: .2s; }
.hero-card .hc-item:hover { background: rgba(255,255,255,.08); transform: translateX(4px); }
.hc-thumb { width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; font-size: 1.7rem; background: #fff; flex: none; overflow: hidden; padding: 6px; }
.hc-item .hc-name { font-weight: 600; font-size: .9rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc-item .hc-price {
  font-family: var(--font-display); font-weight: 700; white-space: nowrap; font-size: 1.05rem;
  text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2;
}
.hc-item .hc-old { display: block; color: rgba(255,255,255,.45); text-decoration: line-through; font-size: .76rem; font-weight: 500; font-family: var(--font); }
.hc-empty { padding: 10px 4px; display: grid; gap: 10px; }

/* ---------- Benefits bar ---------- */
.benefits { position: relative; z-index: 2; margin-top: -72px; }
.benefits .container {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; padding: 0 20px;
}
.benefit {
  display: flex; gap: 14px; align-items: center; padding: 20px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.benefit .b-ico {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  background: linear-gradient(135deg, var(--red-050), var(--red-100));
  border: 1px solid rgba(255, 51, 82, .15);
  display: grid; place-items: center; font-size: 1.35rem;
}
.benefit b { font-size: .92rem; display: block; line-height: 1.3; }
.benefit span { font-size: .8rem; color: var(--gray-500); }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
}
.cat-card {
  background: #fff; border: 1px solid var(--stroke);
  border-radius: var(--radius); padding: 28px 14px 22px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 51, 82, .12), transparent 60%);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--glow); border-color: rgba(255, 51, 82, .3); }
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-ico {
  width: 68px; height: 68px; margin: 0 auto 16px;
  background: linear-gradient(145deg, #fff, var(--red-050));
  border: 1px solid rgba(255, 51, 82, .14);
  box-shadow: 0 12px 24px -12px rgba(224, 30, 55, .45), inset 0 -4px 10px rgba(255, 51, 82, .08);
  border-radius: 22px; display: grid; place-items: center; font-size: 2rem;
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
.cat-card b { font-size: .92rem; display: block; font-family: var(--font-display); }
.cat-card span { font-size: .78rem; color: var(--gray-500); }

/* ---------- Products ---------- */
.prod-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.product {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 24px; position: relative;
  display: flex; flex-direction: column;
  transform: translateY(0);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  isolation: isolate;
}
/* 3D só durante o hover: em repouso o texto fica nítido (sem camada 3D) */
.product:hover, .product.tilting { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
.product.tilting { transition: transform .12s linear, box-shadow .4s var(--ease), border-color .3s; }
/* Borda gradiente que acende no hover */
.product::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; z-index: 3; pointer-events: none;
  background: linear-gradient(140deg, var(--coral), var(--red-500) 40%, var(--rose) 70%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
/* Holofote que segue o cursor */
.product::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 45%);
  opacity: 0; transition: opacity .35s; mix-blend-mode: soft-light;
}
.product:hover { --lift: -8px; box-shadow: 0 30px 60px -25px rgba(224, 30, 55, .45), 0 10px 20px -10px rgba(16, 18, 26, .15); border-color: transparent; }
.product:hover::before, .product:hover::after { opacity: 1; }
.product .p-badges { position: absolute; top: 14px; left: 14px; z-index: 4; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.product .tag {
  background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.product > .tag { position: absolute; top: 14px; left: 14px; z-index: 4; }
.product .tag.green { background: var(--green); }
.product .tag.off { background: var(--grad); box-shadow: 0 6px 14px -6px rgba(224, 30, 55, .8); }
.product .fav {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: rgba(255,255,255,.85); border: 1px solid var(--stroke);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; font-size: 1.05rem; color: var(--gray-300);
  display: grid; place-items: center;
  transition: color .2s, transform .3s var(--ease), background .2s;
}
.product .fav:hover { color: var(--red-600); transform: scale(1.12); }
.product .fav.on { color: #fff; background: var(--grad); border-color: transparent; animation: heart .5s var(--ease); }
@keyframes heart { 30% { transform: scale(1.35); } 60% { transform: scale(.9); } }
/* Palco do produto: enquadramento quadrado, holofote e base */
.product .p-img {
  aspect-ratio: 1 / 1; margin: 8px 8px 0;
  display: grid; place-items: center; font-size: 4.2rem;
  background:
    radial-gradient(70% 55% at 50% 42%, #fff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(160deg, #f6f7fb 0%, #fdeef1 100%);
  border-radius: 18px;
  overflow: hidden; position: relative;
}
.product .p-img::before {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 9%;
  background: radial-gradient(closest-side, rgba(92, 10, 19, .22), transparent);
  border-radius: 50%; transition: transform .6s var(--ease), opacity .6s;
}
.product .p-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%);
  transform: translateX(-110%);
}
.product:hover .p-img::after { transform: translateX(110%); transition: transform 1s var(--ease); }
.product:hover .p-img::before { transform: scaleX(.8); opacity: .6; }
.product .p-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 14%; display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 14px 14px rgba(16, 18, 26, .12));
  transition: transform .7s var(--ease);
}
.product:hover .p-img img, .product:hover .p-img .ph-ico { transform: translateY(-8px) scale(1.07); }
.product .p-img img.ilustr { mix-blend-mode: normal; padding: 8%; } /* embalagem ilustrativa: branco puro, sem tingir */
.product .p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product .p-cat { font-size: .68rem; color: var(--red-700); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.product .p-name {
  font-family: var(--font); font-weight: 600; font-size: .95rem; margin: 6px 0 8px; min-height: 2.7em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.35; letter-spacing: -.005em;
}
.product .p-rating { color: var(--amber); font-size: .8rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.product .p-rating span { color: var(--gray-500); }
.product .p-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 600; color: var(--green); }
.product .p-stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(18, 183, 106, .18); }
.product .p-stock.out { color: var(--gray-500); }
.product .p-stock.out::before { box-shadow: none; }
.product .p-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.product .p-price .now { font-family: var(--font-display); color: var(--gray-900); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; }
.product .p-price .old { color: var(--gray-300); text-decoration: line-through; font-size: .85rem; }
.product .p-price .inst { font-size: .76rem; color: var(--gray-500); display: block; width: 100%; }
.product .p-add { margin-top: 14px; padding: 12px 18px; border-radius: 14px; white-space: normal; text-align: center; line-height: 1.2; display: block; }
.product .p-add.added { background: var(--green); box-shadow: 0 10px 24px -8px rgba(18, 183, 106, .6); }

/* Skeleton de carregamento */
.skeleton { pointer-events: none; }
.skeleton .sk {
  background: linear-gradient(90deg, var(--gray-100) 0%, #fff 50%, var(--gray-100) 100%);
  background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 8px;
}
.skeleton .p-img { background: none; }
.skeleton .p-img.sk { border-radius: 18px; }
.skeleton .sk-line { height: 12px; margin-bottom: 10px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.hero-card .sk { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.16), rgba(255,255,255,.06)); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; border-radius: 14px; height: 64px; }

.state-msg { grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--gray-500); background: #fff; border: 1px dashed var(--gray-300); border-radius: var(--radius); }

/* ---------- Banner CTA ---------- */
.promo {
  background: var(--ink);
  color: #fff; border-radius: 32px; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr; align-items: center;
  position: relative; isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.promo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(500px 300px at 85% 50%, rgba(224, 30, 55, .55), transparent 70%),
    radial-gradient(400px 260px at 0% 100%, rgba(255, 92, 138, .3), transparent 70%);
}
.promo::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}
.promo .promo-text { padding: 56px; }
.promo h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; letter-spacing: -.035em; }
.promo p { margin: 14px 0 26px; color: rgba(255,255,255,.7); max-width: 460px; }
.promo .promo-art {
  align-self: stretch; display: grid; place-items: center; padding: 40px; font-size: 6rem;
}
.promo .ring {
  width: 220px; height: 220px; border-radius: 50%; position: relative;
  display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle, rgba(255,255,255,.08), transparent 70%);
  animation: float 6s ease-in-out infinite;
}
.promo .ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
  background: conic-gradient(from var(--ang, 0deg), var(--coral), var(--red-500), var(--rose), transparent 75%, var(--coral));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-ang 4s linear infinite;
}
.promo .ring::after {
  content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.2);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.promo .ring b { font-family: var(--font-display); font-size: 4.2rem; line-height: 1; letter-spacing: -.05em; }
.promo .ring small { font-size: .9rem; letter-spacing: .4em; color: rgba(255,255,255,.7); font-weight: 700; }

/* ---------- Newsletter ---------- */
.newsletter { background: transparent; }
.newsletter .container {
  text-align: center; max-width: 760px;
  background: #fff; border-radius: 32px; padding: 56px 40px;
  border: 1px solid var(--stroke); box-shadow: var(--shadow-md);
  position: relative; overflow: hidden; isolation: isolate;
}
.newsletter .container::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 51, 82, .14), transparent 70%);
  top: -180px; right: -120px;
}
.newsletter form {
  display: flex; gap: 8px; margin: 28px auto 0; max-width: 520px;
  background: var(--gray-100); padding: 6px; border-radius: 999px; border: 1.5px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.newsletter form:focus-within { border-color: rgba(255, 51, 82, .5); background: #fff; box-shadow: 0 0 0 5px rgba(255, 51, 82, .12); }
.newsletter input {
  flex: 1; border: 0; background: transparent; padding: 10px 18px; outline: 0; font-size: .95rem; font-family: inherit; min-width: 0;
}

/* ---------- Avaliações no Google ---------- */
@property --p { syntax: '<number>'; initial-value: 0; inherits: false; }
.reviews {
  background:
    radial-gradient(560px 320px at 88% 20%, rgba(224, 30, 55, .5), transparent 70%),
    radial-gradient(460px 280px at 0% 100%, rgba(255, 92, 138, .28), transparent 70%),
    var(--ink);
  color: #fff; overflow: hidden; isolation: isolate;
}
.reviews::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 75% 50%, #000 5%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 5%, transparent 65%);
}
.reviews .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.reviews .g-logo { width: 18px; height: 18px; flex: none; }
.reviews-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .85rem; font-weight: 600;
}
.reviews h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.05; letter-spacing: -.035em; margin: 18px 0 14px; }
.reviews-text p { color: rgba(255,255,255,.7); max-width: 480px; }
.reviews-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.reviews-card {
  display: block; color: var(--gray-900); background: #fff; border-radius: 28px; padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.1);
  position: relative; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.reviews-card::before { /* borda em gradiente */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(140deg, rgba(255, 92, 138, .9), transparent 40%, transparent 60%, rgba(224, 30, 55, .9));
}
.reviews-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 50px 90px -30px rgba(224, 30, 55, .55); }
.rc-head { display: flex; align-items: center; gap: 8px; font-size: .85rem; padding-bottom: 18px; border-bottom: 1px solid var(--stroke); }
.rc-head .g-logo { width: 22px; height: 22px; }
.rc-head span { margin-left: auto; color: var(--gray-500); }
.rc-body { display: flex; align-items: center; gap: 26px; padding: 26px 0; }
.rc-ring {
  --p: 0; width: 132px; aspect-ratio: 1; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center;
  background:
    radial-gradient(closest-side, #fff 80%, transparent 81%),
    conic-gradient(var(--amber) calc(var(--p) * 1%), var(--gray-100) 0);
  transition: --p 1.4s var(--ease) .3s;
}
.reviews-card.in .rc-ring { --p: 88; }
.rc-ring b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; }
.rc-ring small { font-size: .78rem; color: var(--gray-500); }
.rc-meta { display: grid; gap: 4px; }
.rc-meta b { font-family: var(--font-display); font-size: 1.25rem; }
.rc-meta > span:last-child { color: var(--gray-500); font-size: .9rem; }
.rc-stars { position: relative; display: inline-block; justify-self: start; font-size: 1.6rem; letter-spacing: 3px; line-height: 1; margin-bottom: 6px; }
.rc-stars span:first-child { color: var(--gray-100); }
.rc-stars span:last-child {
  position: absolute; inset: 0; overflow: hidden; white-space: nowrap; color: var(--amber); width: 0;
  transition: width 1.4s var(--ease) .3s;
}
.reviews-card.in .rc-stars span:last-child { width: var(--fill); }
.rc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--stroke); font-weight: 700; font-size: .9rem; color: var(--red-700); }
.rc-foot span { transition: transform .3s var(--ease); }
.reviews-card:hover .rc-foot span { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding-top: 72px; position: relative; overflow: hidden; isolation: isolate; }
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-500), var(--rose), transparent);
}
.footer::after {
  content: ""; position: absolute; z-index: -1; width: 700px; height: 300px; left: 50%; top: -200px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 30, 55, .25), transparent);
}
.footer .f-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px;
}
.footer h4 { color: #fff; margin-bottom: 18px; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font); font-weight: 700; }
.footer a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color .2s, padding .25s var(--ease); }
.footer li a:hover { color: #fff; padding-left: 4px; }
.footer li { margin-bottom: 10px; font-size: .9rem; }
.footer .f-brand .logo { --logo-h: 60px; }
.footer .f-brand .logo-img { filter: drop-shadow(0 12px 28px rgba(236, 31, 38, .45)); }
.footer .f-brand p { font-size: .9rem; margin: 18px 0; max-width: 300px; }
.f-social { display: flex; gap: 10px; }
.f-social a {
  width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-light);
  display: grid; place-items: center; font-size: 1.05rem; transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.f-social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.f-pay span { background: rgba(255,255,255,.06); border: 1px solid var(--stroke-light); padding: 5px 10px; border-radius: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; color: rgba(255,255,255,.75); }
.footer .f-bottom {
  border-top: 1px solid var(--stroke-light); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.4);
}

/* ---------- WhatsApp float ---------- */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 60px; height: 60px; border-radius: 20px;
  background: linear-gradient(135deg, #34e27a, #12a150); color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 14px 30px -10px rgba(18, 161, 80, .7);
  transition: transform .3s var(--ease), border-radius .3s;
}
.wpp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #34e27a;
  animation: ring 2.4s ease-out infinite;
}
.wpp-float:hover { transform: translateY(-4px) rotate(-6deg); border-radius: 50%; }

/* ---------- Cart drawer ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(10, 11, 16, .45); z-index: 90;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: .35s;
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 12px; right: 12px; bottom: 12px; width: 420px; max-width: calc(100vw - 24px);
  background: rgba(255,255,255,.92); z-index: 100; box-shadow: 0 40px 80px -20px rgba(10, 11, 16, .5);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-radius: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.8);
  transform: translateX(calc(100% + 24px)); transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .d-head {
  padding: 22px 24px; background: var(--ink); color: #fff;
  display: flex; justify-content: space-between; align-items: center; position: relative;
}
.drawer .d-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-warm); }
.drawer .d-head b { font-size: 1.1rem; font-family: var(--font-display); }
.drawer .d-close {
  background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%; transition: background .2s, transform .3s var(--ease);
}
.drawer .d-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg); }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 12px 20px; }
.drawer .d-empty { text-align: center; color: var(--gray-500); padding: 56px 0; font-size: 1rem; }
.d-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stroke); animation: rise .4s var(--ease) backwards; }
.d-item .di-thumb { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(160deg, #f6f7fb, #fdeef1); display: grid; place-items: center; font-size: 1.6rem; flex: none; padding: 6px; }
.d-item .di-name { font-weight: 600; font-size: .88rem; line-height: 1.3; }
.d-item .di-price { font-family: var(--font-display); font-weight: 700; font-size: .98rem; margin-top: 2px; }
.di-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; background: var(--gray-100); border-radius: 999px; padding: 3px; }
.di-qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .88rem; }
.di-qty button { width: 26px; height: 26px; border: 0; background: #fff; border-radius: 50%; cursor: pointer; font-weight: 700; box-shadow: var(--shadow-sm); transition: background .2s, color .2s; }
.di-qty button:hover { background: var(--red-700); color: #fff; }
.di-remove { background: none; border: 0; color: var(--gray-300); cursor: pointer; margin-left: auto; align-self: flex-start; font-size: 1.05rem; transition: transform .2s; }
.di-remove:hover { transform: scale(1.15); }
.drawer .d-foot { padding: 20px 24px 24px; border-top: 1px solid var(--stroke); background: rgba(255,255,255,.7); }
.d-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.d-total span:last-child { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; }

/* ---------- Page banner ---------- */
.page-banner {
  background:
    radial-gradient(500px 260px at 85% 0%, rgba(224, 30, 55, .6), transparent 70%),
    radial-gradient(420px 240px at 10% 100%, rgba(255, 92, 138, .35), transparent 70%),
    var(--ink);
  color: #fff; padding: 72px 0 64px; text-align: center; position: relative; overflow: hidden; isolation: isolate;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
  animation: grid-move-2 8s linear infinite;
}
@keyframes grid-move-2 { to { background-position: 48px 48px, 48px 48px; } }
.page-banner h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -.04em; line-height: 1.05; animation: rise .8s var(--ease) backwards; }
.page-banner .crumbs {
  margin-top: 14px; font-size: .82rem; color: rgba(255,255,255,.7);
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--stroke-light);
  animation: rise .8s var(--ease) .1s backwards;
}
.page-banner .crumbs a { color: #fff; }
.page-banner .crumbs a:hover { text-decoration: underline; }

/* ---------- Shop layout ---------- */
.shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; align-items: start; }
.filters {
  background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px; position: sticky; top: calc(var(--hdr-h, 80px) + 16px); box-shadow: var(--shadow-sm);
}
.filters h4 { margin-bottom: 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gray-500); font-family: var(--font); }
.filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--stroke); }
.filter-group:last-child { border: 0; margin: 0; padding: 0; }
.filter-group label {
  display: flex; align-items: center; gap: 10px; font-size: .9rem; padding: 7px 10px; margin: 0 -10px; cursor: pointer; color: var(--gray-700);
  border-radius: 10px; transition: background .2s, color .2s;
}
.filter-group label:hover { background: var(--red-050); color: var(--red-700); }
.filter-group input[type=checkbox] {
  appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--gray-300);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; flex: none;
}
.filter-group input[type=checkbox]::after { content: "✓"; color: #fff; font-size: .7rem; font-weight: 800; transform: scale(0); transition: transform .2s var(--ease); }
.filter-group input[type=checkbox]:checked { background: var(--grad); border-color: transparent; }
.filter-group input[type=checkbox]:checked::after { transform: scale(1); }
.shop .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
  padding: 10px 10px 10px 18px; background: #fff; border: 1px solid var(--stroke); border-radius: 999px;
}
.shop-toolbar .count { color: var(--gray-500); font-size: .88rem; font-weight: 500; }
.shop-toolbar select { padding: 9px 16px; border: 1px solid var(--stroke); border-radius: 999px; outline: 0; background-color: var(--gray-100); font-family: inherit; font-size: .86rem; cursor: pointer; }

/* ---------- About / Contact ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-art {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 92, 138, .5), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(224, 30, 55, .6), transparent 55%),
    var(--ink);
  border-radius: 32px; min-height: 380px; display: grid; place-items: center; font-size: 7rem;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-art::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-photo::after { display: none; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.store-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.store-photo:hover img { transform: scale(1.05); }
.store-photo:first-child { grid-column: span 2; aspect-ratio: auto; } /* 5 fotos: destaque ocupa 2 colunas e fecha a grade */
.store-photo:first-child img { position: absolute; inset: 0; } /* altura vem da linha, não da foto */
.store-photo figcaption { position: absolute; inset: auto 0 0; padding: 48px 18px 16px; color: #fff; background: linear-gradient(to top, rgba(10, 11, 16, .85), transparent); }
.store-photo figcaption b { display: block; font-family: var(--font-display); font-size: 1rem; }
.store-photo figcaption span { font-size: .82rem; color: rgba(255, 255, 255, .8); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value-card {
  background: #fff; border: 1px solid var(--stroke); border-radius: var(--radius); padding: 32px 26px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.value-card .v-ico { font-size: 2.2rem; margin: 0 auto 14px; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: linear-gradient(145deg, #fff, var(--red-050)); border: 1px solid rgba(255, 51, 82, .14); }
.value-card b { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 1.05rem; }
.value-card p { font-size: .9rem; color: var(--gray-500); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info .ci-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-info .ci-ico {
  width: 52px; height: 52px; border-radius: 16px; flex: none;
  background: linear-gradient(145deg, #fff, var(--red-050)); border: 1px solid rgba(255, 51, 82, .14);
  display: grid; place-items: center; font-size: 1.35rem;
}
.contact-info b { display: block; }
.contact-info span { color: var(--gray-500); font-size: .92rem; }
.form-card { background: #fff; border: 1px solid var(--stroke); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .84rem; margin-bottom: 7px; color: var(--gray-700); }
.field input, .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--gray-200); border-radius: 12px; background-color: var(--off-white);
  padding: 12px 14px; outline: 0; font-family: inherit; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red-500); background-color: #fff; box-shadow: 0 0 0 4px rgba(255, 51, 82, .12); }
.field textarea { min-height: 120px; resize: vertical; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 390px; gap: 30px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--stroke); border-radius: 24px; padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.co-card h3 { font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.co-card .co-sub { color: var(--gray-500); font-size: .86rem; margin-bottom: 18px; }
.co-summary { position: sticky; top: 96px; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.opt-group { display: grid; gap: 10px; }
.opt {
  border: 1.5px solid var(--gray-200); border-radius: 16px; padding: 15px 16px;
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s;
}
.opt:hover { border-color: rgba(255, 51, 82, .35); }
.opt.sel { border-color: var(--red-500); background: var(--red-050); box-shadow: 0 0 0 4px rgba(255, 51, 82, .1); }
.opt input { margin-top: 3px; accent-color: var(--red-700); }
.opt b { display: block; font-size: .95rem; }
.opt span { font-size: .82rem; color: var(--gray-500); }
.opt.disabled { opacity: .55; cursor: not-allowed; }
.opt .soon { background: var(--amber); color: #fff; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: auto; }
.co-alert {
  background: #fff8e6; border: 1px solid #f6d488; color: #8a6100;
  border-radius: 14px; padding: 14px 16px; font-size: .88rem; margin-bottom: 18px;
  display: flex; gap: 10px; align-items: flex-start;
}
.co-items { margin-bottom: 16px; }
.co-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--stroke); align-items: center; }
.co-item .ci-thumb { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(160deg, #f6f7fb, #fdeef1); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.co-item .ci-nome { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.co-item .ci-qtd { font-size: .78rem; color: var(--gray-500); }
.co-item .ci-preco { margin-left: auto; font-weight: 700; font-family: var(--font-display); font-size: .95rem; }
.cupom-box { margin: 14px 0; padding: 14px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.cupom-input { display: flex; gap: 8px; }
.cupom-input input { flex: 1; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 10px 12px; outline: 0; font-size: .9rem; font-family: inherit; min-width: 0; }
.cupom-input input:focus { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(255, 51, 82, .12); }
.cupom-input button { flex: none; }
#cupom-feedback { font-size: .82rem; margin-top: 8px; }
#cupom-feedback .ok { color: var(--green); font-weight: 600; }
#cupom-feedback .err { color: var(--red-700); }
.co-tot-line { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; color: var(--gray-700); }
.co-tot-line.big { font-size: 1.3rem; font-weight: 700; color: var(--gray-900); border-top: 1px solid var(--stroke); margin-top: 8px; padding-top: 14px; font-family: var(--font-display); }
.co-tot-line.big span:last-child { color: var(--red-700); }
.co-result { text-align: center; padding: 24px; }
.co-result .ok-ico { font-size: 3.4rem; animation: heart .7s var(--ease); }
.co-result .co-id { font-family: monospace; background: var(--gray-100); padding: 4px 10px; border-radius: 8px; display: inline-block; margin: 8px 0; }
.co-badge-dry { background: var(--amber); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .co-row, .co-row-3 { grid-template-columns: 1fr; }
}

/* ---------- Auth (conta) ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-card { background: #fff; border: 1px solid var(--stroke); border-radius: 28px; box-shadow: var(--shadow-md); overflow: hidden; }
.auth-tabs { display: flex; padding: 6px; gap: 6px; background: var(--gray-100); margin: 16px 16px 0; border-radius: 999px; }
.auth-tab { flex: 1; padding: 11px; text-align: center; font-weight: 700; cursor: pointer; background: transparent; color: var(--gray-500); border: 0; font-size: .92rem; border-radius: 999px; font-family: inherit; transition: background .25s, color .25s, box-shadow .25s; }
.auth-tab.active { background: #fff; color: var(--red-700); box-shadow: var(--shadow-sm); }
.auth-body { padding: 28px; }
.auth-body h2 { font-size: 1.4rem; margin-bottom: 4px; }
.auth-body .auth-sub { color: var(--gray-500); font-size: .9rem; margin-bottom: 20px; }
.auth-msg { padding: 11px 14px; border-radius: 12px; font-size: .88rem; margin-bottom: 16px; }
.auth-msg.err { background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }
.auth-msg.ok { background: #e7f6ec; color: #1a7f43; border: 1px solid #b6e2c6; }
.account-box {
  display: flex; gap: 16px; align-items: center; padding: 24px; color: #fff;
  background: radial-gradient(400px 200px at 100% 0%, rgba(224, 30, 55, .6), transparent 70%), var(--ink);
  border-radius: 24px; margin-bottom: 20px;
}
.account-box .acc-avatar { width: 60px; height: 60px; border-radius: 18px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 700; flex: none; box-shadow: 0 10px 20px -8px rgba(224, 30, 55, .8); }

/* ---------- Histórico de pedidos ---------- */
.ped { border: 1px solid var(--stroke); border-radius: 16px; padding: 14px 16px; margin-bottom: 12px; transition: border-color .2s, box-shadow .2s; }
.ped:hover { border-color: rgba(255, 51, 82, .3); box-shadow: var(--shadow-sm); }
.ped:last-child { margin-bottom: 0; }
.ped-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ped-top b { font-size: .92rem; }
.ped-data { font-size: .78rem; color: var(--gray-500); }
.ped-itens { font-size: .85rem; color: var(--gray-700); margin: 8px 0; }
.ped-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--gray-200); padding-top: 8px; font-size: .84rem; color: var(--gray-500); }
.ped-foot b { color: var(--red-700); font-size: 1rem; }

/* ---------- Admin ---------- */
.admin-body { background: var(--gray-100); min-height: 100vh; }
.admin-top { background: var(--ink); color: #fff; padding: 14px 24px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-md); position: sticky; top: 0; z-index: 20; }
.admin-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-warm); }
.admin-top .logo-mark { width: 38px; height: 38px; background: var(--grad); border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; }
.admin-top b { font-size: 1.05rem; font-family: var(--font-display); }
.admin-top .admin-right { margin-left: auto; display: flex; gap: 14px; align-items: center; font-size: .9rem; }
.admin-top .admin-right a, .admin-top .admin-right button { color: #fff; background: rgba(255,255,255,.1); border: 0; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-size: .85rem; font-family: inherit; }
.admin-top .admin-right a:hover, .admin-top .admin-right button:hover { background: rgba(255,255,255,.2); }
.admin-main { max-width: 1240px; margin: 0 auto; padding: 24px; }
.admin-main h1 { font-size: 1.6rem; margin-bottom: 4px; }
.admin-main .admin-hint { color: var(--gray-500); font-size: .9rem; margin-bottom: 22px; }
.kpi-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.kpi { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--stroke); position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad); }
.kpi .kpi-label { font-size: .72rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.kpi .kpi-val { font-size: 1.8rem; font-weight: 700; color: var(--gray-900); margin-top: 6px; font-family: var(--font-display); letter-spacing: -.03em; }
.kpi.accent .kpi-val { color: var(--red-700); }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.panel { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--stroke); }
.panel h3 { font-size: 1.05rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.rank { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--stroke); }
.rank:last-child { border: 0; }
.rank .rk-pos { width: 28px; height: 28px; border-radius: 9px; background: var(--red-050); color: var(--red-700); font-weight: 800; display: grid; place-items: center; font-size: .82rem; flex: none; }
.rank .rk-nome { font-size: .88rem; font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank .rk-val { font-weight: 800; color: var(--red-700); font-size: .95rem; }
.rank .rk-bar { height: 6px; background: var(--gray-100); border-radius: 999px; overflow: hidden; margin-top: 4px; }
.rank .rk-bar i { display: block; height: 100%; background: var(--grad); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.admin-table th { text-align: left; padding: 10px; color: var(--gray-500); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--gray-200); }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--stroke); }
.admin-table tr:hover td { background: var(--red-050); }
.badge-status { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge-status.teste { background: #fff3d6; color: #8a6100; }
.badge-status.enviado { background: #e7f6ec; color: #1a7f43; }
.cupom-form { display: grid; grid-template-columns: 1.4fr 1fr .8fr .8fr 1fr 1fr auto; gap: 12px; align-items: end; }
.cupom-form .field { margin: 0; }
.cupom-form .field label { font-size: .76rem; }
.cupom-form input, .cupom-form select { padding: 9px 10px; font-size: .88rem; }
.cupom-code { font-family: monospace; font-weight: 700; color: var(--red-700); }
.btn-mini { padding: 5px 10px; font-size: .78rem; border-radius: 8px; border: 1px solid var(--gray-200); background: #fff; cursor: pointer; font-family: inherit; }
.btn-mini:hover { background: var(--red-050); }
.btn-mini.danger:hover { background: #fdecea; color: var(--red-700); border-color: #f5c6c2; }
.switch { font-size: .78rem; cursor: pointer; }
@media (max-width: 900px) { .cupom-form { grid-template-columns: 1fr 1fr; } }

.admin-login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(600px 400px at 50% 0%, rgba(224, 30, 55, .35), transparent 70%), var(--ink); }
.admin-login { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); padding: 34px; width: 100%; max-width: 380px; }
.admin-tabbtns { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tabbtns button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff; cursor: pointer; font-weight: 600; font-size: .85rem; font-family: inherit; transition: background .2s, color .2s; }
.admin-tabbtns button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 900px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-cols { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(160%) scale(.9);
  background: rgba(16, 18, 26, .88); color: #fff; padding: 13px 22px 13px 14px; border-radius: 999px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--stroke-light);
  z-index: 120; font-weight: 600; font-size: .88rem; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
  transition: transform .5s var(--ease), opacity .3s, visibility .3s; display: flex; gap: 10px; align-items: center; max-width: calc(100vw - 32px);
  opacity: 0; visibility: hidden; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; visibility: visible; }
.toast .t-ico { width: 24px; height: 24px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: .75rem; flex: none; }
.toast.erro .t-ico { background: var(--red-700); font-weight: 800; }

/* ---------- Reveal animation ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(6px); } }
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: rise .9s var(--ease) var(--d, 0ms) backwards; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav .nav-tag { display: none; }
}

@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; padding: 72px 20px 120px; }
  .hero-card { max-width: 480px; }
  .benefits .container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer .f-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid, .reviews .container { grid-template-columns: 1fr; }
  .reviews .container { gap: 36px; }
  .store-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-photo:first-child { aspect-ratio: 16 / 9; } /* sozinho na linha: sem vizinho para dar a altura */
  .promo { grid-template-columns: 1fr; }
  .promo .promo-art { display: none; }
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { position: static; }
}

@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .topbar .strip-left { display: none; }
  .topbar .strip-right { gap: 14px; }
  .header .container { gap: 12px; }
  .nav .container { overflow-x: auto; scrollbar-width: none; }
  .nav .container::-webkit-scrollbar { display: none; }
  .nav-tag { display: none !important; }
  .hero .container { padding: 56px 16px 110px; }
  .hero .hero-stats > div, .hero .hero-stats > div:first-child { padding: 0 8px; }
  .hero-stats b { font-size: 1.55rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid, .shop .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product { border-radius: 18px; }
  .product .p-img { margin: 6px 6px 0; border-radius: 14px; font-size: 3.2rem; }
  .product .p-body { padding: 12px; }
  .product .p-price .now { font-size: 1.15rem; }
  .product .p-add { padding: 10px; font-size: .82rem; }
  .product .fav { width: 32px; height: 32px; top: 10px; right: 10px; }
  .product .p-badges, .product > .tag { top: 10px; left: 10px; }
  .values { grid-template-columns: 1fr; }
  .newsletter .container { padding: 40px 20px; border-radius: 24px; }
  .newsletter form { flex-direction: column; border-radius: 22px; }
  .promo .promo-text { padding: 36px 24px; }
  .footer .f-grid { grid-template-columns: 1fr; }
  .shop-toolbar { border-radius: 18px; }
}

@media (max-width: 520px) {
  .benefits .container { grid-template-columns: 1fr; gap: 10px; }
  .benefit { padding: 14px 16px; }
  .product .p-add-x { display: none; }
}

/* =========================================================
   VERSÃO MOBILE (≤ 768px)
   Menu lateral, abas inferiores, bottom sheets, carrosséis
   ========================================================= */

/* Elementos injetados pelo JS: escondidos no desktop */
.m-burger, .m-menu, .m-menu-overlay, .tabbar, .sheet-grab, .sheet-head, .sheet-apply, .sheet-overlay, .m-filter-btn, .co-bar { display: none; }

@media (max-width: 768px) {
  :root { --tabbar-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); }
  body { font-size: 15px; }
  body.has-tabbar { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
  body.has-cobar { padding-bottom: calc(84px + var(--safe-b)); }

  /* iOS não dá zoom em campos com 16px */
  input, select, textarea { font-size: 16px !important; }

  /* Topbar: só a mensagem de frete, centralizada */
  .topbar .container { justify-content: center; padding: 7px 16px; }
  .topbar .strip-left { display: block !important; font-size: .74rem; }
  .topbar .strip-right { display: none; }

  /* Header: hambúrguer + logo + carrinho, busca em linha própria */
  .header .container { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px 12px; }
  .header.scrolled .container { padding: 8px 16px 10px; }
  .m-burger {
    display: grid; place-items: center; width: 42px; height: 42px; flex: none;
    border: 1px solid var(--stroke); background: #fff; border-radius: 14px; cursor: pointer; color: var(--gray-900);
  }
  .m-burger svg { width: 22px; height: 22px; }
  .header .logo, .header.scrolled .logo { --logo-h: 36px; margin-right: auto; }
  .search { display: flex; order: 3; flex: 1 0 100%; max-width: none; padding: 3px; }
  .search input { padding: 8px 14px; }
  .search button { width: 38px; height: 38px; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn:not(:last-child) { display: none; }
  .icon-btn { font-size: 0; gap: 0; padding: 0; width: 42px; height: 42px; justify-content: center; border-radius: 14px; border: 1px solid var(--stroke); background: #fff; }
  .icon-btn .ico { height: auto; }
  .icon-btn .cart-count { top: -5px; right: -5px; }

  /* Faixa de navegação some (vai para o menu) */
  .nav { display: none; }

  /* ---------- Menu lateral ---------- */
  .m-menu-overlay {
    display: block; position: fixed; inset: 0; z-index: 140; background: rgba(10, 11, 16, .5);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: .35s;
  }
  .m-menu-overlay.open { opacity: 1; visibility: visible; }
  .m-menu {
    display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; z-index: 150;
    width: min(86vw, 360px); background: #fff; border-radius: 0 28px 28px 0;
    padding: calc(16px + env(safe-area-inset-top, 0px)) 18px calc(18px + var(--safe-b));
    transform: translateX(-105%); transition: transform .45s var(--ease);
    box-shadow: 30px 0 60px -20px rgba(10, 11, 16, .4); overflow-y: auto;
  }
  .m-menu.open { transform: none; }
  .m-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
  .m-menu-head .logo { --logo-h: 38px; }
  .m-menu .d-close { background: var(--gray-100); color: var(--gray-900); border: 0; width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
  .m-account {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; margin-bottom: 14px; color: #fff;
    background: radial-gradient(260px 120px at 100% 0%, rgba(224, 30, 55, .7), transparent 70%), var(--ink);
  }
  .m-account .m-av { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-weight: 800; flex: none; }
  .m-account .m-av svg { width: 22px; height: 22px; }
  .m-account b { display: block; font-size: .95rem; }
  .m-account small { color: rgba(255,255,255,.65); font-size: .78rem; }
  .m-links { display: flex; flex-direction: column; gap: 2px; }
  .m-links a {
    display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; border-radius: 14px;
    font-weight: 600; color: var(--gray-700); transition: background .2s;
  }
  .m-links a span { color: var(--gray-300); font-size: 1.3rem; line-height: 1; }
  .m-links a:active { background: var(--gray-100); }
  .m-links a.active { background: var(--red-050); color: var(--red-700); }
  .m-links a.active span { color: var(--red-500); }
  .m-menu.open .m-links a { animation: m-slide .45s var(--ease) backwards; }
  .m-menu.open .m-links a:nth-child(2) { animation-delay: .03s; } .m-menu.open .m-links a:nth-child(3) { animation-delay: .06s; }
  .m-menu.open .m-links a:nth-child(4) { animation-delay: .09s; } .m-menu.open .m-links a:nth-child(5) { animation-delay: .12s; }
  .m-menu.open .m-links a:nth-child(6) { animation-delay: .15s; } .m-menu.open .m-links a:nth-child(7) { animation-delay: .18s; }
  .m-menu.open .m-links a:nth-child(8) { animation-delay: .21s; }
  @keyframes m-slide { from { opacity: 0; transform: translateX(-16px); } }
  .m-sec { margin: 18px 0 6px; padding: 0 14px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-500); }
  .m-menu-foot { margin-top: auto; padding-top: 18px; display: grid; gap: 8px; text-align: center; }
  .m-menu-foot small { color: var(--gray-500); font-size: .76rem; }

  /* ---------- Barra de abas inferior ---------- */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    height: calc(var(--tabbar-h) + var(--safe-b)); padding: 6px 6px var(--safe-b);
    background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--stroke); box-shadow: 0 -10px 30px -18px rgba(16, 18, 26, .3);
  }
  .tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    font-size: .66rem; font-weight: 600; color: var(--gray-500); background: none; border: 0; font-family: inherit; cursor: pointer;
    position: relative; border-radius: 14px; transition: color .2s;
  }
  .tab-ico { position: relative; display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; transition: background .3s var(--ease); }
  .tab-ico svg { width: 22px; height: 22px; }
  .tab-ico .cart-count { top: -4px; right: 2px; box-shadow: 0 0 0 2px #fff; }
  .tab.active { color: var(--red-700); }
  .tab.active .tab-ico { background: rgba(255, 51, 82, .12); }
  .tab:active .tab-ico { transform: scale(.9); }

  /* Flutuantes acima das abas */
  .wpp-float { width: 50px; height: 50px; border-radius: 16px; font-size: 1.4rem; right: 14px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); }
  body:not(.has-tabbar) .wpp-float { bottom: calc(14px + var(--safe-b)); }
  body.has-cobar .wpp-float { bottom: calc(96px + var(--safe-b)); }
  .toast {
    bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); left: 16px; right: 16px; max-width: none;
    border-radius: 18px; padding: 12px 16px 12px 12px; font-size: .84rem; line-height: 1.35;
    transform: translateY(40px) scale(.96);
  }
  .toast.show { transform: none; }
  body.has-cobar .toast { bottom: calc(96px + var(--safe-b)); }

  /* ---------- Carrinho como bottom sheet ---------- */
  .overlay { z-index: 110; }
  .drawer {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: min(88dvh, 720px);
    border-radius: 28px 28px 0 0; border: 0; z-index: 120;
    transform: translateY(105%);
  }
  .drawer.open { transform: none; }
  .sheet-grab { display: block; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 999px; background: rgba(255,255,255,.4); z-index: 2; }
  .drawer .d-head { padding: 24px 20px 18px; touch-action: none; }
  .drawer .d-body { padding: 8px 16px; }
  .drawer .d-foot { padding: 16px 16px calc(16px + var(--safe-b)); }
  .di-qty button { width: 32px; height: 32px; }
  .di-remove { padding: 6px; }

  /* ---------- Hero ---------- */
  .hero .container { padding: 40px 16px 104px; gap: 32px; }
  .hero .badge { font-size: .74rem; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .hero p { font-size: 1rem; margin: 16px 0 24px; }
  .hero-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-cta .btn { justify-content: center; padding: 13px 12px; font-size: .88rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .hero .hero-stats { max-width: none; }
  .hero .hero-stats > div, .hero .hero-stats > div:first-child { padding: 0 6px; }
  .hero-stats b { font-size: 1.45rem; }
  .hero-stats span { font-size: .62rem; letter-spacing: .04em; }
  .hero-card .hc-item { grid-template-columns: auto minmax(0, 1fr) 6.4em; gap: 12px; }
  .hero-card { padding: 16px; border-radius: 22px; max-width: none; animation: card-in 1.1s var(--ease) .25s backwards; }
  .hc-thumb { width: 52px; height: 52px; }
  .hc-item .hc-price { font-size: .95rem; }
  .hero-fx .grid-floor { background-size: 44px 44px; }

  /* ---------- Carrosséis com snap (benefícios, categorias, depoimentos) ---------- */
  .benefits { margin-top: -64px; }
  .benefits .container, .cat-grid {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    gap: 12px; padding: 4px 16px 14px; margin: 0 -16px; scroll-padding: 0 16px;
  }
  .benefits .container { margin: 0; }
  .benefits .container::-webkit-scrollbar, .cat-grid::-webkit-scrollbar { display: none; }
  .benefit { flex: 0 0 78%; scroll-snap-align: start; padding: 16px; }
  .cat-card { flex: 0 0 38%; scroll-snap-align: start; padding: 20px 10px 16px; }
  .cat-card .cat-ico { width: 58px; height: 58px; font-size: 1.7rem; border-radius: 18px; margin-bottom: 12px; }

  /* ---------- Seções ---------- */
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 28px; text-align: left; }
  .section-head h2 { font-size: 1.75rem; }
  .section-head p { font-size: .95rem; margin-top: 8px; }
  .section-head .eyebrow { margin-bottom: 10px; }
  .newsletter .section-head { text-align: center; }

  /* ---------- Cards de produto ---------- */
  .prod-grid, .shop .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { border-radius: 18px; }
  .product .p-img { margin: 5px 5px 0; border-radius: 14px; font-size: 3rem; }
  .product .p-img img { padding: 12%; }
  .product .p-body { padding: 10px 11px 12px; }
  .product .p-cat { font-size: .6rem; letter-spacing: .08em; }
  .product .p-name { font-size: .84rem; margin: 4px 0 6px; }
  .product .p-rating { margin-bottom: 6px; font-size: .72rem; }
  .product .p-price .now { font-size: 1.12rem; }
  .product .p-price .old { font-size: .74rem; }
  .product .p-price .inst { font-size: .68rem; }
  .product .p-add { margin-top: 10px; padding: 11px 8px; font-size: .82rem; border-radius: 12px; min-height: 42px; }
  .product .p-add-x { display: none; }
  .product .fav { width: 34px; height: 34px; top: 9px; right: 9px; }
  .product .p-badges, .product > .tag { top: 9px; left: 9px; }
  .product .tag { font-size: .6rem; padding: 4px 8px; }

  /* Sem hover "preso" em telas de toque */
  .product:hover { --lift: 0px; box-shadow: none; border-color: var(--stroke); }
  .product:hover::before, .product:hover::after { opacity: 0; }
  .product:hover .p-img img, .product:hover .p-img .ph-ico { transform: none; }
  .product:active { transform: scale(.98); transition: transform .15s; }

  /* ---------- Promo / newsletter ---------- */
  .promo { border-radius: 24px; }
  .promo .promo-text { padding: 32px 22px; }
  .promo h3 { font-size: 1.7rem; }
  .newsletter .container { padding: 36px 20px; border-radius: 24px; margin: 0 16px; width: auto; }
  .newsletter form { flex-direction: column; border-radius: 20px; background: transparent; padding: 0; gap: 10px; }
  .newsletter form:focus-within { box-shadow: none; border-color: transparent; }
  .newsletter input { background: var(--gray-100); border-radius: 14px; padding: 14px 16px; }
  .newsletter form .btn { justify-content: center; }

  /* ---------- Rodapé em acordeão ---------- */
  .footer { padding-top: 44px; }
  .footer .f-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 20px; }
  .footer .f-brand { padding-bottom: 22px; }
  .footer .f-grid > div:not(.f-brand) { border-top: 1px solid var(--stroke-light); }
  .footer .f-grid > div:not(.f-brand) h4 {
    margin: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
  }
  .footer .f-grid > div:not(.f-brand) h4::after { content: "+"; font-size: 1.2rem; font-weight: 400; transition: transform .3s var(--ease); }
  .footer .f-grid > div.open h4::after { transform: rotate(45deg); }
  .footer .f-grid > div:not(.f-brand) > ul, .footer .f-grid > div:not(.f-brand) > .f-pay { display: none; }
  .footer .f-grid > div.open > ul { display: block; padding-bottom: 12px; animation: rise .4s var(--ease); }
  .footer .f-grid > div.open > .f-pay { display: flex; margin: 0 0 18px; }
  .footer .f-bottom { flex-direction: column; gap: 6px; text-align: center; font-size: .72rem; }

  /* ---------- Banner das páginas internas ---------- */
  .page-banner { padding: 40px 0 36px; }
  .page-banner h1 { font-size: 2rem; }

  /* ---------- Loja: toolbar fixa + filtros em bottom sheet ---------- */
  .shop { gap: 0; }
  .shop-toolbar {
    position: sticky; top: var(--hdr-h, 110px); z-index: 30; margin: 0 -16px 14px; padding: 10px 16px;
    border-radius: 0; border: 0; border-bottom: 1px solid var(--stroke);
    background: rgba(250, 250, 252, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    flex-wrap: nowrap; gap: 8px;
  }
  .shop-toolbar .count { display: none; }
  .m-filter-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 0;
    background: var(--ink); color: #fff; font-weight: 700; font-size: .86rem; font-family: inherit; cursor: pointer; flex: none;
  }
  .m-filter-btn svg { width: 16px; height: 16px; }
  .m-filter-n { background: var(--grad); border-radius: 999px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: .7rem; padding: 0 6px; }
  /* width: 0 + flex: 1 → ocupa o espaço que sobra sem impor a largura do texto (que alargava a página em telas < 370px) */
  .shop-toolbar select { flex: 1; width: 0; min-width: 0; padding: 10px 14px; font-size: 16px; text-overflow: ellipsis; }
  .sheet-overlay {
    display: block; position: fixed; inset: 0; z-index: 110; background: rgba(10, 11, 16, .45);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: .35s;
  }
  .sheet-overlay.open { opacity: 1; visibility: visible; }
  .filters {
    position: fixed !important; left: 0; right: 0; bottom: 0; top: auto; z-index: 120;
    max-height: 82dvh; overflow-y: auto; border-radius: 28px 28px 0 0; border: 0;
    padding: 26px 20px calc(16px + var(--safe-b));
    transform: translateY(105%); transition: transform .45s var(--ease);
    box-shadow: 0 -30px 60px -20px rgba(10, 11, 16, .4);
  }
  .filters.open { transform: none; }
  .filters .sheet-grab { background: var(--gray-300); }
  .filters .sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; touch-action: none; }
  .filters .sheet-head b { font-family: var(--font-display); font-size: 1.25rem; }
  .filters .sheet-head .d-close { background: var(--gray-100); border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; }
  .filters .sheet-apply { display: flex; margin-top: 16px; position: sticky; bottom: 0; box-shadow: 0 -18px 18px 2px #fff, 0 10px 24px -8px rgba(224, 30, 55, .6); }
  .filter-group label { padding: 11px 10px; font-size: .95rem; }
  .filter-group input[type=checkbox] { width: 22px; height: 22px; }

  /* ---------- Formulários / conta / contato / sobre ---------- */
  .co-row[style], .co-row, .co-row-3 { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-card { padding: 22px 18px; border-radius: 20px; }
  .auth-body { padding: 22px 18px; }
  .account-box { flex-wrap: wrap; padding: 18px; }
  .about-art { min-height: 240px; font-size: 5rem; border-radius: 24px; }
  .about-grid h2[style], .contact-grid h2[style] { font-size: 1.6rem !important; }
  .values { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .value-card { flex: 0 0 80%; scroll-snap-align: start; }
  .reviews-cta .btn { flex: 1 1 100%; justify-content: center; }
  .reviews-card { padding: 22px; border-radius: 24px; }
  .rc-body { gap: 18px; padding: 22px 0; }
  .rc-ring { width: 104px; }
  .rc-ring b { font-size: 2.1rem; }
  .rc-stars { font-size: 1.3rem; }
  .store-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; }
  .store-photo, .store-photo:first-child { flex: 0 0 82%; aspect-ratio: 4 / 3; }
  .store-photo { scroll-snap-align: start; }
  .hero-stats.reveal[style] { grid-template-columns: 1fr 1fr; display: grid; gap: 24px 0; padding: 28px 12px !important; }
  .hero-stats.reveal[style] b { font-size: 1.8rem !important; }
  .hero-stats.reveal[style] > div:nth-child(3) { border-left: 0; }
  .field label { font-size: .86rem; }
  .field input, .field textarea, .field select { padding: 13px 14px; border-radius: 14px; }
  .btn { min-height: 46px; justify-content: center; }
  .btn-sm { min-height: 40px; }

  /* ---------- Checkout ---------- */
  .co-card { padding: 20px 16px; border-radius: 20px; margin-bottom: 14px; }
  .opt { padding: 14px; }
  .co-summary #co-enviar { display: none; }
  .co-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
    padding: 12px 16px calc(12px + var(--safe-b));
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-top: 1px solid var(--stroke); box-shadow: 0 -10px 30px -18px rgba(16, 18, 26, .35);
  }
  .co-bar[hidden] { display: none; }
  .co-bar small { display: block; color: var(--gray-500); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
  .co-bar b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.03em; }
  .co-bar .btn { flex: 1; max-width: 220px; }

  /* ---------- Admin ---------- */
  .panel { overflow-x: auto; }
  .admin-top { flex-wrap: wrap; padding: 12px 16px; }
  .admin-main { padding: 16px; }
}

@media (max-width: 380px) {
  .hero-cta { grid-template-columns: 1fr; }
  .cat-card { flex-basis: 44%; }
  .product .p-price .inst { display: none; }
}

/* ---------- Checkout: opções de frete ---------- */
.co-frete { margin: 4px 0 18px; display: grid; gap: 8px; }
.co-frete-tit { font-weight: 700; font-size: .86rem; color: var(--gray-700); }
.co-frete-op {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 14px; border: 1.5px solid var(--gray-200); border-radius: 16px; cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s; animation: rise .4s var(--ease) backwards;
}
.co-frete-op:nth-child(3) { animation-delay: .05s; } .co-frete-op:nth-child(4) { animation-delay: .1s; }
.co-frete-op:hover { border-color: rgba(255, 51, 82, .35); }
.co-frete-op:has(input:checked) { border-color: var(--red-500); background: var(--red-050); box-shadow: 0 0 0 4px rgba(255, 51, 82, .1); }
.co-frete-op input { accent-color: var(--red-700); width: 18px; height: 18px; margin: 0; }
.co-frete-ico { width: 38px; height: 38px; border-radius: 12px; background: #fff; border: 1px solid var(--stroke); display: grid; place-items: center; font-size: 1.2rem; overflow: hidden; }
.co-frete-ico img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co-frete-info b { display: block; font-size: .92rem; }
.co-frete-info small { color: var(--gray-500); font-size: .8rem; }
.co-frete-preco { font-family: var(--font-display); font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.co-frete-preco em { font-style: normal; color: var(--green); }
.co-frete-vazio { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--gray-100); font-size: .88rem; color: var(--gray-700); }
.co-frete-aviso { color: var(--gray-500); font-size: .78rem; }
.co-frete-load { display: grid; gap: 8px; }
.co-frete-load .sk { display: block; height: 64px; border-radius: 16px; background: linear-gradient(90deg, var(--gray-100), #fff, var(--gray-100)); background-size: 200% 100%; animation: sk 1.4s ease-in-out infinite; }

/* ---------- Checkout: pagamento online ---------- */
.pag-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #e7f6ec; color: #1a7f43; font-size: .7rem; font-weight: 800; vertical-align: middle; }
.pag-cartao { margin-top: 14px; padding: 4px 0 0; animation: rise .4s var(--ease); }
.pag-cartao #mp-card-brick { min-height: 120px; }
.pag-seguro { font-size: .78rem; color: var(--gray-500); margin-top: 8px; }
#co-aviso-online { margin-top: 14px; }
.co-pago { display: inline-block; margin: 4px 0 10px; padding: 6px 14px; border-radius: 999px; background: #e7f6ec; color: #1a7f43; font-weight: 700; font-size: .9rem; }
.co-pago.pend { background: #fff3d6; color: #8a6100; }

.pix-tela { max-width: 460px; margin: 0 auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.pix-cab { display: flex; align-items: center; gap: 14px; text-align: left; }
.pix-cab h2 { font-size: 1.4rem; margin: 0; }
.pix-cab p { margin: 0; color: var(--gray-500); font-size: .92rem; }
.pix-logo { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, #e0fbf5, #c7f2e8); flex: none; }
.pix-qr { width: 220px; height: 220px; padding: 12px; background: #fff; border-radius: 20px; border: 1px solid var(--stroke); box-shadow: var(--shadow-md); image-rendering: pixelated; }
.pix-passos { text-align: left; font-size: .88rem; color: var(--gray-700); display: grid; gap: 4px; padding-left: 20px; margin: 0; }
.pix-copia { width: 100%; text-align: left; font-size: .8rem; font-weight: 700; color: var(--gray-700); }
.pix-copia > div { display: flex; gap: 8px; margin-top: 6px; }
.pix-copia input { flex: 1; min-width: 0; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .8rem; font-family: ui-monospace, monospace; background: var(--off-white); color: var(--gray-700); }
.pix-status { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: .9rem; color: var(--gray-700); padding: 12px 16px; border-radius: 14px; background: var(--gray-100); width: 100%; }
.pix-status small { color: var(--gray-500); font-weight: 500; }
.pix-spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--gray-300); border-top-color: var(--red-500); animation: spin .8s linear infinite; }
.pix-acoes { display: flex; gap: 10px; justify-content: center; }

/* =========================================================
   PAINEL ADMIN (layout com barra lateral e abas)
   ========================================================= */
.adm-logo { display: block; height: 48px; width: auto; filter: drop-shadow(0 10px 18px rgba(236, 31, 38, .4)); }
.adm-login-logo { height: 60px; margin: 0 auto 16px; }
.adm { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.adm[hidden] { display: none; }
.adm-side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px;
  background: var(--ink); color: rgba(255,255,255,.75); padding: 22px 14px; overflow-y: auto;
}
.adm-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 8px 16px; border-bottom: 1px solid var(--stroke-light); }
.adm-brand small { font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.adm-nav { display: flex; flex-direction: column; gap: 4px; }
.adm-nav button {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 12px; background: none;
  color: inherit; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-align: left; transition: background .2s, color .2s;
}
.adm-nav button span { width: 22px; text-align: center; }
.adm-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.adm-nav button.active { background: rgba(255, 51, 82, .16); color: #fff; box-shadow: inset 3px 0 0 var(--red-500); }
.adm-badge { margin-left: auto; font-style: normal; background: var(--grad); color: #fff; border-radius: 999px; font-size: .7rem; padding: 1px 8px; font-weight: 800; }
.adm-badge[hidden] { display: none; }
.adm-side-foot { margin-top: auto; display: grid; gap: 6px; }
.adm-side-foot a, .adm-side-foot button {
  display: block; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--stroke-light); background: none;
  color: rgba(255,255,255,.8); font: inherit; font-size: .85rem; cursor: pointer;
}
.adm-side-foot a:hover, .adm-side-foot button:hover { background: rgba(255,255,255,.08); color: #fff; }
.adm-main { padding: 28px clamp(16px, 3vw, 36px) 48px; min-width: 0; }
.adm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.adm-head h1 { font-size: 1.7rem; letter-spacing: -.03em; }
.adm-head .admin-hint { margin: 2px 0 0; }
.adm-sec .panel { margin-bottom: 20px; }
.adm-sec .admin-cols { margin-bottom: 0; }
.adm-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-toolbar input, .adm-toolbar select {
  flex: 1 1 180px; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--gray-200); border-radius: 12px; background-color: #fff; font: inherit; font-size: .9rem; outline: 0;
}
.adm-toolbar input[type=search] { flex-basis: 280px; }
.adm-toolbar input:focus, .adm-toolbar select:focus { border-color: var(--red-500); box-shadow: 0 0 0 4px rgba(255, 51, 82, .12); }
.adm-table-wrap { overflow-x: auto; }
.adm-empty { text-align: center; color: var(--gray-500); padding: 28px 10px !important; }
.adm-click { cursor: pointer; }
.adm-help { display: block; color: var(--gray-500); font-size: .78rem; margin-top: 4px; }
.adm-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed var(--gray-200); }
.adm-row:last-child { border-bottom: 0; }
.adm-row.muted { color: var(--gray-500); }
.adm-row.total { font-size: 1.1rem; border-top: 1px solid var(--gray-200); border-bottom: 0; margin-top: 4px; padding-top: 10px; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.adm-chip { padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--stroke); }
.adm-chip.on { background: #e7f6ec; color: #1a7f43; border-color: #b6e2c6; }
.adm-chip.warn { background: #fff3d6; color: #8a6100; border-color: #f6d488; }

/* Status de andamento */
.adm-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.adm-st.novo { background: #e8f0ff; color: #1d4ed8; }
.adm-st.sep { background: #fff3d6; color: #8a6100; }
.adm-st.pronto, .adm-st.saiu { background: #f1e8ff; color: #6d28d9; }
.adm-st.ok { background: #e7f6ec; color: #1a7f43; }
.adm-st.cancel { background: #fdecea; color: #b3261e; }
.adm-st-sel.adm-cat-sel { max-width: none; } /* nomes de categoria longos */
.adm-cat-sel.manual { border-color: var(--red-500); background-color: var(--red-050); }
.adm-st-sel { padding: 6px 8px; border: 1px solid var(--gray-200); border-radius: 10px; background-color: #fff; font: inherit; font-size: .82rem; cursor: pointer; max-width: 170px; }

/* Gráfico */
.adm-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: end; height: 190px; padding-top: 10px; }
.adm-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.adm-bar i { width: 100%; max-width: 46px; border-radius: 10px 10px 4px 4px; background: var(--grad); min-height: 3px; transition: height .6s var(--ease); }
.adm-bar small { font-size: .72rem; color: var(--gray-500); text-transform: capitalize; }
.adm-bar-val { font-size: .66rem; color: var(--gray-500); font-weight: 600; white-space: nowrap; min-height: 1em; }

/* Produtos */
.adm-thumb { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(160deg, #f6f7fb, #fdeef1); display: grid; place-items: center; font-size: 1.3rem; overflow: hidden; }
.adm-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 3px; }
.adm-pnome { font-weight: 600; font-size: .88rem; display: block; max-width: 420px; }
.adm-star { border: 0; background: none; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--gray-300); transition: transform .2s var(--ease), color .2s; padding: 4px; }
.adm-star:hover { transform: scale(1.2); color: var(--amber); }
.adm-star.on { color: var(--amber); }
.adm-cli { display: flex; align-items: center; gap: 10px; }
.adm-acoes-ped { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#mp-webhook-url { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--gray-200); border-radius: 12px; font: inherit; font-size: .82rem; font-family: ui-monospace, monospace; background: var(--off-white); }

/* Abas da entrega */
.adm-subtabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--stroke); border-radius: 999px; margin-bottom: 16px; }
.adm-subtabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: none; font: inherit; font-weight: 700; font-size: .9rem; color: var(--gray-500); cursor: pointer; transition: background .2s, color .2s; }
.adm-subtabs button.active { background: var(--ink); color: #fff; }
.adm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); display: inline-block; }
.adm-dot.on { background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .2); }
.adm-form-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; flex-wrap: wrap; }
.adm-form-head h3 { margin-bottom: 4px; }
.adm-form-head .admin-hint { margin: 0; max-width: 620px; }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.adm-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.adm-span2 { grid-column: 1 / -1; }
.adm-inline { display: flex; gap: 8px; }
.adm-inline select { width: 76px; flex: none; }
.adm-h4 { font-size: .95rem; margin: 18px 0 4px; }
.adm-check { display: flex; align-items: center; gap: 8px; font-size: .9rem; padding: 6px 0; cursor: pointer; }
.adm-check input { width: 18px; height: 18px; accent-color: var(--red-700); }
.adm-servicos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px 16px; padding: 10px 14px; border: 1px dashed var(--gray-300); border-radius: 14px; margin-top: 6px; }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stroke); }
.adm-msg { font-size: .86rem; font-weight: 600; }
.adm-msg.ok { color: var(--green); }
.adm-msg.err { color: var(--red-700); }
.adm-msg.info { color: var(--gray-500); }
.adm-howto { background: var(--gray-100); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; font-size: .88rem; }
.adm-howto summary { cursor: pointer; font-weight: 700; }
.adm-howto ol { margin: 10px 0 0 18px; display: grid; gap: 4px; }
.adm-howto code { background: #fff; padding: 1px 6px; border-radius: 6px; font-size: .8rem; }
.adm-sim-end { margin: 14px 0 8px; font-size: .9rem; }
.adm-sim-opcoes { display: grid; gap: 8px; }
.adm-sim-op { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--stroke); border-radius: 14px; background: var(--off-white); font-size: .9rem; }
.adm-sim-op b { font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }

/* Interruptor (toggle) */
.tgl { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; cursor: pointer; user-select: none; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.tgl span { width: 46px; height: 26px; border-radius: 999px; background: var(--gray-300); position: relative; transition: background .25s; flex: none; }
.tgl span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.tgl input:checked + span { background: var(--green); }
.tgl input:checked + span::after { transform: translateX(20px); }
.tgl input:focus-visible + span { box-shadow: 0 0 0 4px rgba(18, 183, 106, .25); }

/* Gaveta de detalhe do pedido */
.adm-drawer .ap-sec { padding: 14px 0; border-bottom: 1px solid var(--stroke); font-size: .9rem; }
.adm-drawer .ap-sec:last-child { border-bottom: 0; }
.adm-drawer .ap-sec h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gray-500); margin-bottom: 8px; font-family: var(--font); }
.adm-drawer textarea { width: 100%; border: 1.5px solid var(--gray-200); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .9rem; resize: vertical; outline: 0; }
.adm-drawer textarea:focus { border-color: var(--red-500); }

@media (max-width: 1100px) { .adm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .adm { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .adm-side { position: sticky; top: 0; z-index: 40; height: auto; min-width: 0; flex-direction: row; align-items: center; padding: 10px 12px; gap: 10px; overflow: visible; }
  .adm-brand { border: 0; padding: 0; }
  .adm-brand small { display: none; }
  .adm-brand .adm-logo { height: 32px; filter: none; }
  .adm-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
  .adm-toolbar input, .adm-toolbar select, .adm-toolbar input[type=search] { flex: 1 1 100%; }
  .adm-head h1 { font-size: 1.4rem; }
  .adm-nav::-webkit-scrollbar { display: none; }
  .adm-nav button { white-space: nowrap; padding: 9px 12px; font-size: .84rem; }
  .adm-nav button.active { box-shadow: inset 0 -3px 0 var(--red-500); }
  .adm-side-foot { display: none; }
  .adm-main { padding: 20px 16px 40px; }
  .adm-grid, .adm-grid-4 { grid-template-columns: 1fr; }
  .adm-chart { height: 150px; gap: 6px; }
  .adm-bar-val { display: none; }
  .adm-subtabs { display: flex; width: 100%; }
  .adm-subtabs button { flex: 1; justify-content: center; padding: 10px; }
}

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

/* ---------- Loja: carregar mais ---------- */
.shop-more { display: flex; justify-content: center; margin-top: 28px; }
.shop-more[hidden] { display: none; }
#shop-sentinela { height: 1px; }

/* ---------- Selects: seta própria com espaço reservado ----------
   A seta nativa fica colada na borda e varia por navegador. No fim do arquivo
   para o padding-right vencer os paddings de cada componente. */
select:not([multiple]) {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%236b7084' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 11px 8px;
  padding-right: 38px;
}
.adm-st-sel:not([multiple]), .adm-inline select:not([multiple]) { background-position: right 10px center; padding-right: 28px; }

/* ---------- Produto sem foto: ícone da categoria no tom dela ----------
   --ph-h (matiz) vem de CATEGORIAS[].cor */
.ph {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit;
  background:
    radial-gradient(60% 50% at 50% 40%, hsl(var(--ph-h) 90% 98%) 0%, transparent 70%),
    linear-gradient(155deg, hsl(var(--ph-h) 70% 96%) 0%, hsl(var(--ph-h) 55% 89%) 100%);
}
.ph-ico { line-height: 1; filter: saturate(.9); }
.product .p-img .ph { position: absolute; inset: 0; }
.product .p-img .ph-ico {
  display: grid; place-items: center; width: 46%; aspect-ratio: 1; font-size: 2.9rem;
  background: rgba(255, 255, 255, .72); border: 1px solid hsl(var(--ph-h) 60% 85%); border-radius: 30%;
  box-shadow: 0 18px 30px -16px hsl(var(--ph-h) 55% 35% / .45), inset 0 -3px 8px hsl(var(--ph-h) 60% 88% / .6);
  transition: transform .7s var(--ease);
}
@media (max-width: 520px) { .product .p-img .ph-ico { font-size: 2.2rem; } }
/* Miniaturas (carrinho, checkout, destaque da home, admin) */
.hc-thumb img, .di-thumb img, .ci-thumb img { width: 100%; height: 100%; object-fit: contain; }
.hc-thumb:has(.ph), .di-thumb:has(.ph), .ci-thumb:has(.ph), .adm-thumb:has(.ph) { padding: 0; }
.hc-thumb .ph-ico, .di-thumb .ph-ico, .ci-thumb .ph-ico, .adm-thumb .ph-ico { font-size: 1.35rem; }

/* Admin: envio de foto pela miniatura */
.adm-thumb.adm-foto { position: relative; cursor: pointer; overflow: visible; } /* o selo da câmera sai da borda */
.adm-foto-cam {
  position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; background: #fff; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: transform .2s;
}
.adm-foto:hover .adm-foto-cam, .adm-foto:focus-within .adm-foto-cam { transform: scale(1.15); }
.adm-foto:focus-within { outline: 2px solid var(--red-500); outline-offset: 2px; }
.adm-foto-cel { position: relative; }
.adm-foto-cel.enviando .adm-foto { opacity: .4; pointer-events: none; }
.adm-foto-cel.enviando::after { content: "Enviando…"; position: absolute; left: 0; bottom: 2px; font-size: .68rem; color: var(--gray-500); }
.adm-foto-rm { display: block; margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: .7rem; color: var(--gray-500); text-decoration: underline; cursor: pointer; }
.adm-foto-rm:hover { color: var(--red-700); }
