/* =====================================================
   CAROLLA SEMI JOIAS — style.css
   Tema: Moderno Minimalista (Branco + Prata)
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --preto:   #0A0A0A;
  --escuro:  #1A1A1A;
  --cinza1:  #2D2D2D;
  --cinza2:  #6B7280;
  --cinza3:  #9CA3AF;
  --cinza4:  #D1D5DB;
  --cinza5:  #F3F4F6;
  --branco:  #FFFFFF;
  --prata:   #9CA3AF;
  --prata-c: #E5E7EB;
  --acento:  #1A1A1A;
  --linha:   1px solid #E5E7EB;
  --sombra:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sombra-m:0 4px 16px rgba(0,0,0,.08);
  --sombra-g:0 8px 32px rgba(0,0,0,.12);
  --r:       8px;
  --trans:   .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--branco);
  color: var(--escuro);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem,5vw,4rem); font-weight: 300; }
h2 { font-size: clamp(1.6rem,3vw,2.8rem); font-weight: 300; }
h3 { font-size: 1.4rem; font-weight: 400; }

a { color: inherit; text-decoration: none; transition: var(--trans); }
img { display: block; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── HEADER ─────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: var(--linha);
}
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: 1200px; margin: 0 auto;
  padding: 1.2rem 2rem;
}
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600;
  letter-spacing: .05em; color: var(--escuro);
}
.logo-sub { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cinza3); display: block; }
.logo img { height: 44px; width: 44px; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 2.5rem; flex: 1; justify-content: center; }
.nav a {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cinza2); font-weight: 500; transition: var(--trans);
  position: relative;
}
.nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--escuro);
  transform: scaleX(0); transition: transform .2s;
}
.nav a:hover { color: var(--escuro); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.btn-icon {
  background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: var(--cinza2);
  transition: var(--trans); padding: .4rem; position: relative;
  display: flex; align-items: center;
}
.btn-icon:hover { color: var(--escuro); }
.badge {
  position: absolute; top: 0; right: 0;
  background: var(--escuro); color: var(--branco);
  font-size: .55rem; font-weight: 700; width: 16px; height: 16px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* ── BOTÕES ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 0;
  font-family: 'Inter', sans-serif; font-weight: 500;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; transition: var(--trans);
}
.btn-escuro  { background: var(--escuro); color: var(--branco); border-color: var(--escuro); }
.btn-escuro:hover { background: var(--cinza1); color: var(--branco); }
.btn-outline { background: transparent; color: var(--escuro); border-color: var(--escuro); }
.btn-outline:hover { background: var(--escuro); color: var(--branco); }
.btn-ghost   { background: transparent; color: var(--cinza2); border-color: var(--cinza4); }
.btn-ghost:hover { border-color: var(--escuro); color: var(--escuro); }
.btn-sm { padding: .5rem 1.2rem; font-size: .7rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: .8rem; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-content { padding: 6rem 2rem 6rem 6rem; }
.hero-eyebrow {
  font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cinza3); margin-bottom: 1.5rem; display: block;
}
.hero h1 { margin-bottom: 1.5rem; color: var(--escuro); }
.hero h1 em { font-style: italic; color: var(--cinza2); }
.hero p { color: var(--cinza2); font-size: 1rem; max-width: 380px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-btns { display: flex; gap: 1rem; }
.hero-visual {
  height: 100%; min-height: 90vh;
  position: relative; overflow: hidden;
  background: var(--cinza5);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-placeholder {
  width: 100%; height: 100%; display: flex;
  align-items: center; justify-content: center;
  font-size: 8rem; color: var(--cinza4);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
}

/* ── FAIXA ──────────────────────────────────────── */
.faixa {
  border-top: var(--linha); border-bottom: var(--linha);
  padding: 1.2rem 0;
}
.faixa-grid {
  display: flex; justify-content: center;
  gap: 4rem; flex-wrap: wrap;
}
.faixa-item { display: flex; align-items: center; gap: .75rem; }
.faixa-item span { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza2); }
.faixa-icon { font-size: 1rem; }

/* ── SEÇÕES ─────────────────────────────────────── */
.secao { padding: 6rem 0; }
.secao-titulo { margin-bottom: 4rem; }
.secao-titulo.centro { text-align: center; }
.secao-titulo .eyebrow {
  font-size: .65rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cinza3); margin-bottom: 1rem; display: block;
}
.secao-titulo h2 { color: var(--escuro); }
.secao-titulo p { color: var(--cinza2); margin-top: .75rem; max-width: 500px; }
.secao-titulo.centro p { margin: .75rem auto 0; }

.secao-cinza { background: var(--cinza5); }
.secao-escura { background: var(--escuro); }
.secao-escura .secao-titulo .eyebrow { color: var(--cinza3); }
.secao-escura .secao-titulo h2 { color: var(--branco); }
.secao-escura .secao-titulo p { color: var(--cinza3); }

/* ── CATEGORIAS ─────────────────────────────────── */
.grade-cats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px; border: var(--linha);
}
.cat-item {
  padding: 2rem 1rem; text-align: center;
  border-right: var(--linha); transition: var(--trans);
  cursor: pointer; text-decoration: none; display: block;
  color: var(--escuro);
}
.cat-item:last-child { border-right: none; }
.cat-item:hover { background: var(--escuro); color: var(--branco); }
.cat-item .ico { font-size: 1.8rem; margin-bottom: .75rem; }
.cat-item .nome { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.cat-item .qtd { font-size: .65rem; color: var(--cinza3); margin-top: .25rem; }
.cat-item:hover .qtd { color: var(--cinza4); }

/* ── GRID DE PRODUTOS ───────────────────────────── */
.grade-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
}
.card-produto {
  background: var(--branco);
  position: relative; overflow: hidden;
  border: var(--linha);
  transition: var(--trans);
}
.card-produto:hover { border-color: var(--cinza3); }
.card-foto {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--cinza5); position: relative;
}
.card-foto img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.card-produto:hover .card-foto img { transform: scale(1.04); }
.badge-promo {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--escuro); color: var(--branco);
  font-size: .6rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; padding: .25rem .6rem;
}
.btn-wish {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,.9); border: var(--linha);
  width: 36px; height: 36px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 1rem;
  transition: var(--trans); opacity: 0;
}
.card-produto:hover .btn-wish { opacity: 1; }
.btn-wish:hover, .btn-wish.ativo { background: var(--escuro); color: var(--branco); border-color: var(--escuro); }
.btn-add-rapido {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--escuro); color: var(--branco);
  border: none; padding: .8rem; cursor: pointer;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; font-weight: 500;
  transform: translateY(100%); transition: transform .25s ease;
}
.card-produto:hover .btn-add-rapido { transform: translateY(0); }
.card-info { padding: 1.25rem; }
.card-cat { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza3); margin-bottom: .4rem; }
.card-nome { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--escuro); margin-bottom: .75rem; }
.card-precos { display: flex; align-items: baseline; gap: .75rem; }
.preco-atual { font-size: 1rem; font-weight: 500; color: var(--escuro); }
.preco-de     { font-size: .85rem; color: var(--cinza3); text-decoration: line-through; }
.card-estrelas { margin-top: .4rem; display: flex; align-items: center; gap: .25rem; }
.estrela-cheia { color: var(--escuro); font-size: .75rem; }
.estrela-vazia { color: var(--cinza4); font-size: .75rem; }
.avaliacao-count { font-size: .65rem; color: var(--cinza3); margin-left: .25rem; }

/* ── CARRINHO SIDEBAR ───────────────────────────── */
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.3);
  z-index: 300; opacity: 0; pointer-events: none; transition: opacity .25s;
}
.overlay.aberto { opacity: 1; pointer-events: all; }
.carrinho-panel {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 420px; max-width: 95vw;
  background: var(--branco); z-index: 301;
  transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column;
  border-left: var(--linha);
}
.overlay.aberto .carrinho-panel { transform: translateX(0); }
.cart-header {
  padding: 1.5rem 2rem; border-bottom: var(--linha);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; }
.cart-itens { flex: 1; overflow-y: auto; }
.cart-item {
  display: flex; gap: 1rem; padding: 1.25rem 2rem;
  border-bottom: var(--linha);
}
.cart-item img { width: 80px; height: 100px; object-fit: cover; background: var(--cinza5); flex-shrink: 0; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; }
.cart-item-nome { font-family: 'Cormorant Garamond', serif; font-size: 1rem; margin-bottom: .25rem; }
.cart-item-preco { font-size: .85rem; color: var(--cinza2); }
.qty-row { display: flex; align-items: center; gap: .5rem; margin-top: auto; }
.qty-btn { border: var(--linha); background: none; cursor: pointer; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--trans); }
.qty-btn:hover { background: var(--escuro); color: var(--branco); border-color: var(--escuro); }
.qty-num { font-size: .85rem; font-weight: 500; min-width: 24px; text-align: center; }
.cart-del { margin-left: auto; border: none; background: none; cursor: pointer; color: var(--cinza3); font-size: 1rem; transition: var(--trans); }
.cart-del:hover { color: var(--escuro); }
.cart-footer { padding: 1.5rem 2rem; border-top: var(--linha); }
.cart-linha { display: flex; justify-content: space-between; font-size: .85rem; color: var(--cinza2); margin-bottom: .5rem; }
.cart-total { font-size: 1.05rem; font-weight: 600; color: var(--escuro); padding-top: .75rem; border-top: var(--linha); display: flex; justify-content: space-between; margin-bottom: 1.25rem; margin-top: .5rem; }

/* ── FIDELIDADE ─────────────────────────────────── */
.fid-card {
  background: var(--escuro); color: var(--branco);
  padding: 2.5rem; border-radius: 0;
}
.fid-nivel { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.fid-badge {
  width: 56px; height: 56px; border: 1px solid var(--cinza3);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cinza3);
  flex-shrink: 0;
}
.fid-pts { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; line-height: 1; }
.fid-label { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--cinza3); margin-top: .25rem; }
.barra { background: var(--cinza1); height: 2px; margin: 1rem 0 .4rem; }
.barra-fill { height: 100%; background: var(--cinza3); transition: width 1s ease; }
.barra-labels { display: flex; justify-content: space-between; font-size: .65rem; color: var(--cinza3); }

/* ── FORMULÁRIOS ────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza2); margin-bottom: .5rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem;
  border: var(--linha); background: var(--branco);
  font-family: 'Inter', sans-serif; font-size: .9rem;
  color: var(--escuro); transition: var(--trans); border-radius: 0;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--escuro);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── ALERTAS ────────────────────────────────────── */
.alert { padding: 1rem 1.25rem; border-left: 3px solid; margin-bottom: 1rem; font-size: .875rem; }
.alert-ok   { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.alert-erro { background: #fef2f2; border-color: #ef4444; color: #dc2626; }
.alert-info { background: #f0f9ff; border-color: #0ea5e9; color: #0369a1; }

/* ── TOAST ──────────────────────────────────────── */
.toasts { position: fixed; top: 80px; right: 1.5rem; z-index: 500; display: flex; flex-direction: column; gap: .5rem; }
.toast {
  background: var(--escuro); color: var(--branco);
  padding: .875rem 1.25rem; font-size: .8rem;
  border-left: 3px solid var(--cinza3);
  animation: tin .25s ease; max-width: 280px;
  letter-spacing: .02em;
}
@keyframes tin { from { transform: translateX(110%); opacity: 0; } }
@keyframes tout { to   { transform: translateX(110%); opacity: 0; } }

/* ── FOOTER ─────────────────────────────────────── */
.footer { background: var(--escuro); color: var(--cinza3); padding: 5rem 0 2rem; border-top: var(--linha); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer h4 { font-family: 'Cormorant Garamond', serif; color: var(--branco); font-size: 1rem; font-weight: 400; margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: .6rem; }
.footer ul li a { font-size: .8rem; color: var(--cinza3); transition: var(--trans); letter-spacing: .02em; }
.footer ul li a:hover { color: var(--branco); }
.footer-bottom { border-top: 1px solid var(--cinza1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; }
.footer-redes { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-redes a { width: 36px; height: 36px; border: 1px solid var(--cinza1); display: flex; align-items: center; justify-content: center; font-size: .9rem; color: var(--cinza3); transition: var(--trans); }
.footer-redes a:hover { border-color: var(--cinza3); color: var(--branco); }

/* ── WhatsApp ───────────────────────────────────── */
.wpp-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 100;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: var(--trans);
}
.wpp-btn:hover { transform: scale(1.1); color: #fff; }

/* ── Paginação ──────────────────────────────────── */
.paginacao { display: flex; justify-content: center; gap: .25rem; margin-top: 3rem; }
.paginacao a, .paginacao span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: var(--linha); font-size: .8rem; transition: var(--trans); color: var(--cinza2); }
.paginacao a:hover { background: var(--escuro); color: var(--branco); border-color: var(--escuro); }
.paginacao .ativa { background: var(--escuro); color: var(--branco); border-color: var(--escuro); }

/* ── Admin ──────────────────────────────────────── */
.admin-sidebar { width: 240px; background: var(--escuro); position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column; overflow-y: auto; }
.admin-logo { padding: 1.5rem; border-bottom: 1px solid var(--cinza1); }
.admin-nav { display: flex; flex-direction: column; padding: 1rem 0; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.5rem; color: var(--cinza3); font-size: .8rem; text-decoration: none; transition: var(--trans); border-left: 2px solid transparent; }
.admin-nav a:hover, .admin-nav a.ativo { color: var(--branco); background: rgba(255,255,255,.05); border-left-color: var(--cinza3); }
.admin-main { margin-left: 240px; min-height: 100vh; background: #F9FAFB; display: flex; flex-direction: column; }
.admin-topbar { background: var(--branco); border-bottom: var(--linha); padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-content { padding: 2rem; flex: 1; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.metric-card { background: var(--branco); border: var(--linha); padding: 1.5rem; }
.metric-val { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--escuro); line-height: 1; margin: .5rem 0 .25rem; }
.metric-lbl { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cinza3); }
.metric-sub { font-size: .75rem; color: var(--cinza2); margin-top: .25rem; }
.admin-card { background: var(--branco); border: var(--linha); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-card-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: var(--linha); }
.admin-card-hdr h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 400; }
table.tabela { width: 100%; border-collapse: collapse; font-size: .825rem; }
table.tabela th { padding: .6rem .75rem; text-align: left; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cinza3); font-weight: 500; border-bottom: var(--linha); }
table.tabela td { padding: .75rem; border-bottom: var(--linha); vertical-align: middle; }
table.tabela tbody tr:hover { background: var(--cinza5); }
.status-pill { display: inline-flex; align-items: center; padding: .2rem .65rem; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.sp-aguardando { background: #fef3c7; color: #92400e; }
.sp-pago       { background: #dbeafe; color: #1e40af; }
.sp-enviado    { background: #e0e7ff; color: #3730a3; }
.sp-entregue   { background: #dcfce7; color: #166534; }
.sp-cancelado  { background: #fee2e2; color: #991b1b; }
.sp-separando  { background: #fce7f3; color: #9d174d; }


/* ── ADMIN MOBILE COMPLETO ─────────────────────── */

/* Overlay sidebar */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 199;
  backdrop-filter: blur(2px);
  transition: opacity .3s;
}
.sidebar-overlay.visivel { display: block; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: 6px;
  transition: background .15s;
}
.menu-toggle:hover { background: rgba(0,0,0,.05); }
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all .25s ease;
}
.menu-toggle.aberto span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.aberto span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.aberto span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Bottom nav admin */
.admin-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #0f0f0f;
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 300;
  padding-bottom: env(safe-area-inset-bottom);
}
.admin-bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .6rem .25rem;
  color: #666;
  text-decoration: none;
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .15s;
  position: relative;
}
.admin-bottom-nav a svg { width: 20px; height: 20px; stroke-width: 1.5; }
.admin-bottom-nav a .abn-badge {
  position: absolute;
  top: 4px; right: calc(50% - 18px);
  background: #d97706;
  color: #fff;
  font-size: .5rem;
  font-weight: 700;
  min-width: 14px; height: 14px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}
.admin-bottom-nav a:hover,
.admin-bottom-nav a.ativo { color: #c8a96e; }

/* Form inputs admin */
.form-input {
  width: 100%;
  padding: .55rem .85rem;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  font-size: .875rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  background: #fafafa;
  color: #1a1a1a;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: #1A1A1A;
  background: #fff;
}
.form-label {
  font-size: .72rem;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: .06em;
  display: block;
  margin-bottom: .35rem;
}
.form-group { margin-bottom: .85rem; }

/* Botões admin */
.btn { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-radius: 6px; border: none; cursor: pointer; font-size: .82rem; font-weight: 500; text-decoration: none; transition: opacity .15s, background .15s; font-family: 'Inter', sans-serif; }
.btn:hover { opacity: .85; }
.btn-escuro { background: #1A1A1A; color: #fff; }
.btn-outline { background: transparent; border: 1.5px solid #E5E7EB; color: #374151; }
.btn-ghost { background: transparent; color: #374151; }
.btn-ghost:hover { background: #F3F4F6; }
.btn-sm { padding: .35rem .75rem; font-size: .78rem; }
.btn-lg { padding: .75rem 1.5rem; font-size: .9rem; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  /* === LOJA: HERO === */
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 55vw; }
  .hero-content { padding: 3rem 2rem; }
  .hero p { max-width: 100%; }
  .hero-btns { flex-wrap: wrap; }

  /* === LOJA: MENU MOBILE === */
  .nav { display: none; }
  .btn-hamburger {
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    transition: background .2s;
  }
  .btn-hamburger:hover { background: rgba(0,0,0,.05); }
  .btn-hamburger svg { width: 22px; height: 22px; }

  /* Menu fullscreen premium */
  .nav.fullscreen-mobile {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: #0f0f0f; z-index: 500;
    align-items: center; justify-content: center; gap: 0;
  }
  .nav.fullscreen-mobile a {
    font-size: 1.5rem; letter-spacing: .18em;
    color: #888; padding: .85rem 3rem;
    text-align: center; width: 100%;
    transition: color .2s, letter-spacing .2s;
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
  }
  .nav.fullscreen-mobile a:hover { color: #fff; letter-spacing: .25em; }
  .nav.fullscreen-mobile .nav-close {
    position: absolute; top: 1.5rem; right: 1.5rem;
    background: rgba(255,255,255,.07); border: none;
    color: #888; font-size: 1.2rem; cursor: pointer;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, color .2s;
  }
  .nav.fullscreen-mobile .nav-close:hover { background: rgba(255,255,255,.13); color: #fff; }
  .nav.fullscreen-mobile .nav-logo-mini {
    position: absolute; top: 1.5rem; left: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: .9rem; letter-spacing: .2em; color: #444;
    text-transform: uppercase;
  }

  /* Menu sidebar (alternativo) */
  .nav.sidebar-mobile {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: -300px; bottom: 0; width: 300px;
    background: #fff; z-index: 500;
    padding: 5.5rem 2rem 2rem; gap: 0;
    transition: left .32s cubic-bezier(.4,0,.2,1);
    box-shadow: 8px 0 32px rgba(0,0,0,.12);
  }
  .nav.sidebar-mobile.aberta { left: 0; }
  .nav.sidebar-mobile a {
    font-size: .9rem; padding: .85rem 0;
    border-bottom: 1px solid #f0f0f0; color: #333;
    display: flex; align-items: center; gap: .75rem;
  }
  .nav.sidebar-mobile a:last-child { border-bottom: none; }

  /* Menu dropdown */
  .nav.dropdown-mobile {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: var(--linha);
    flex-direction: column; padding: .75rem 1.5rem; gap: 0;
    z-index: 300; box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav.dropdown-mobile.aberta { display: flex; }
  .nav.dropdown-mobile a { font-size: .85rem; padding: .7rem 0; border-bottom: 1px solid #f5f5f5; }
  .nav.dropdown-mobile a:last-child { border-bottom: none; }

  /* Overlay loja */
  .nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 499;
  }
  .nav-overlay.visivel { display: block; }

  .grade-cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .secao-escura .container,
  .secao-cinza .container {
    display: flex !important; flex-direction: column !important; gap: 3rem !important;
  }

  /* === ADMIN: SIDEBAR MOBILE === */
  .admin-main { margin-left: 0; }
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 200;
  }
  .admin-sidebar.aberta { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .bottom-nav {
    display: flex;
    padding-bottom: max(env(safe-area-inset-bottom), .5rem);
  }
}

@media (max-width: 600px) {
  /* === LOJA MOBILE PREMIUM === */
  .container { padding: 0 1rem; }
  .header-inner {
    padding: .85rem 1rem; gap: 1rem;
    /* safe area top para iPhone */
    padding-top: max(.85rem, env(safe-area-inset-top));
  }
  .logo-text { font-size: 1.15rem; }

  /* Hero tipo app */
  .hero-content { padding: 2.5rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); line-height: 1.1; }
  .hero p { font-size: .9rem; }
  .hero-btns { flex-direction: column; gap: .75rem; }
  .hero-btns .btn { width: 100%; justify-content: center; padding: 1rem; font-size: .8rem; }

  /* Faixa benefícios */
  .faixa-grid { gap: 1.25rem; flex-direction: column; align-items: center; }

  .secao { padding: 3.5rem 0; }
  .secao-titulo { margin-bottom: 2rem; }

  /* Categorias */
  .grade-cats { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .cat-item {
    padding: 1.5rem .75rem;
    border-radius: 0;
    position: relative; overflow: hidden;
  }

  /* Cards produto maiores e mais bonitos */
  .grade-produtos { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .card-produto {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: #fff;
  }
  .card-foto {
    aspect-ratio: 3/4;
    overflow: hidden;
  }
  .card-foto img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
  }
  .card-info {
    padding: .85rem .75rem 1rem;
  }
  .card-nome {
    font-size: .9rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.3;
  }
  .card-preco {
    font-size: 1rem;
    font-weight: 600;
  }
  .card-acoes { gap: .4rem; }
  .card-acoes .btn {
    padding: .6rem;
    font-size: .72rem;
    flex: 1;
    justify-content: center;
  }

  /* Fidelidade */
  .fid-card { padding: 1.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer { padding: 3rem 0 2rem; }
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }

  /* Botão WhatsApp */
  .wpp-btn {
    bottom: 5.5rem; right: 1rem;
    width: 48px; height: 48px; font-size: 1.3rem;
  }

  /* Carrinho */
  .carrinho-panel { width: 100%; max-width: 100%; border-radius: 0; }

  /* Admin mobile */
  .admin-content { padding: 1rem; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .metric-card { padding: 1rem; }
  .metric-val { font-size: 1.5rem; }
  .admin-topbar { padding: .75rem 1rem; }
  .admin-topbar-titulo { font-size: 1.1rem; }
}

@media (max-width: 400px) {
  .grade-cats { grid-template-columns: repeat(2, 1fr); }
  .grade-produtos { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
}

/* ── ADMIN SIDEBAR MOBILE REFINADO ─────────────── */
@media (max-width: 900px) {
  /* Sidebar começa fora da tela */
  .admin-sidebar {
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    width: 280px !important;
    z-index: 500 !important;
    position: fixed !important;
  }
  .admin-sidebar.aberta {
    transform: translateX(0) !important;
    box-shadow: 4px 0 32px rgba(0,0,0,.3);
  }

  /* Main ocupa tela toda */
  .admin-main {
    margin-left: 0 !important;
  }

  /* Topbar com hamburguer à esquerda */
  .admin-topbar {
    padding: .75rem 1rem !important;
    gap: .75rem;
  }

  /* Hamburguer visível */
  .menu-toggle {
    display: flex !important;
    flex-shrink: 0;
    order: -1;
  }

  /* Overlay escurece o fundo */
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 499;
    backdrop-filter: blur(2px);
  }
  .sidebar-overlay.visivel {
    display: block !important;
  }

  /* Bottom nav visível */
  .admin-bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,.1);
    z-index: 400;
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Espaço para bottom nav */
  .admin-page { padding-bottom: 58px !important; }

  /* Cards e content */
  .admin-content { padding: 1rem !important; }
  .admin-card { padding: 1rem; }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: .75rem;
  }
  .metric-card { padding: 1rem; }
  .metric-val { font-size: 1.4rem; }

  /* Tabelas scroll horizontal */
  .admin-card { overflow-x: auto; }
  table.tabela { min-width: 500px; font-size: .78rem; }
  table.tabela th, table.tabela td { padding: .5rem .5rem; white-space: nowrap; }
}

@media (max-width: 480px) {
  .admin-topbar-titulo { font-size: 1rem !important; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .metric-val { font-size: 1.2rem; }
}
