/* =============================================
   QTD PRESENTES - ESTILOS COMPARTILHADOS
   ============================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose: #C84B6E;
  --rose-light: #F2D0DA;
  --rose-dark: #9C3356;
  --cream: #FAF7F4;
  --cream-dark: #F0EAE3;
  --text: #1A1210;
  --text-muted: #7A6A65;
  --white: #FFFFFF;
  --border: #E8DDD8;
  --green: #2E7D52;
  --amber: #B45309;
  --info: #1E40AF;
}

html, body { font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; background: var(--cream); color: var(--text); font-size: 15px; line-height: 1.6; }
.display { font-family: 'Fraunces', Georgia, serif; }

/* ==== ACESSIBILIDADE ==== */
:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ==== NAV ==== */
nav.main-nav { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 100; }
.nav-logo { display: flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none; color: var(--text); }
.nav-logo-box { width: 32px; height: 32px; background: var(--rose); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-box svg { width: 16px; height: 16px; fill: white; }
.nav-brand { font-weight: 600; font-size: 16px; }
.nav-brand span { color: var(--rose); }
.nav-links { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: color .2s; text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--rose); }
.nav-icon { width: 32px; height: 32px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--white); text-decoration: none; }
.nav-icon svg { width: 16px; height: 16px; color: var(--text-muted); }
.nav-link-admin { background: linear-gradient(135deg, var(--rose), var(--rose-dark)); color: white !important; padding: 6px 14px; border-radius: 20px; font-weight: 600; }
.nav-link-admin:hover, .nav-link-admin.active { background: var(--rose-dark); color: white !important; }
.nav-mobile-link-admin { background: linear-gradient(135deg, var(--rose), var(--rose-dark)); color: white !important; border-radius: 8px; padding: 14px 12px !important; margin: 4px 0; }
.nav-mobile-link-admin:hover { color: white !important; }

.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; border-radius: 8px; }
.nav-hamburger:hover { background: var(--cream-dark); }
.nav-hamburger svg { width: 24px; height: 24px; color: var(--text); }
.nav-mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 99; padding: 8px 24px 16px; flex-direction: column; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link { display: flex; align-items: center; padding: 14px 0; font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); gap: 8px; }
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link.active, .nav-mobile-link:hover { color: var(--rose); }

/* ==== HERO ==== */
.hero { padding: 64px 24px 40px; text-align: center; max-width: 760px; margin: 0 auto; }
.hero-emoji { font-size: 36px; margin-bottom: 14px; display: block; }
.hero-logo { max-width: 240px; width: 100%; height: auto; margin: 0 auto 20px; display: block; }
@media (max-width: 640px) { .hero-logo { max-width: 180px; } }
.hero h1 { font-family: 'Fraunces', Georgia, serif; font-size: 46px; font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.hero h1 em { color: var(--rose); font-style: italic; }
.hero-sub { color: var(--text-muted); font-size: 16px; max-width: 540px; margin: 0 auto 28px; }
.loc-block { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; max-width: 560px; margin: 0 auto 24px; }
.loc-label { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; text-align: center; }
.loc-label .first { color: var(--rose); }
.loc-selects { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.loc-selects select { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); font-family: inherit; font-size: 14px; cursor: pointer; outline: none; min-width: 160px; }
.btn-x { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--text-muted); padding: 4px 8px; border-radius: 6px; }
.btn-x:hover { background: var(--cream-dark); color: var(--text); }
.hero-search-row { display: flex; gap: 8px; max-width: 520px; margin: 0 auto 18px; }
.hero-search-row input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 15px; background: var(--white); outline: none; }
.hero-search-row input:focus { border-color: var(--rose); }
.hero-btns { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ==== CATEGORIAS ==== */
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; min-width: 96px; transition: all .2s; }
.cat:hover { border-color: var(--rose); transform: translateY(-2px); }
.cat.active { border-color: var(--rose); background: var(--rose-light); }
.cat-emoji { font-size: 22px; }
.cat-name { font-size: 11px; font-weight: 500; white-space: nowrap; }

/* ==== CTA & IA BANNER ==== */
.cta-banner { background: var(--rose); border-radius: 16px; padding: 48px 32px; text-align: center; max-width: 1200px; margin: 0 auto 40px; }
.cta-banner h2 { font-family: 'Fraunces', Georgia, serif; font-size: 32px; color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 15px; max-width: 480px; margin: 0 auto 28px; }
.btn-ghost-white { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.5); padding: 12px 20px; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn-ghost-white:hover { background: rgba(255,255,255,.1); }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }

.ia-banner { background: var(--cream-dark); border: 1px solid var(--border); border-radius: 16px; padding: 32px; max-width: 1200px; margin: 0 auto 40px; display: flex; align-items: center; gap: 32px; }
.ia-content { flex: 1; }
.ia-badge { display: inline-flex; align-items: center; gap: 4px; background: #F5E6B8; color: #7A5C00; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px; }
.ia-content h2 { font-family: 'Fraunces', Georgia, serif; font-size: 26px; margin-bottom: 8px; }
.ia-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 18px; max-width: 420px; }
.ia-robot { font-size: 72px; }

/* ==== BUTTONS ==== */
.btn { padding: 10px 20px; border-radius: 10px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.btn-primary { background: var(--rose); color: white; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn-white { background: white; color: var(--rose); }
.btn-white:hover { opacity: .9; }
.btn-wa { background: #25D366; color: white; }
.btn-wa:hover { background: #1DA851; }

/* ==== CARDS ==== */
.prod-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; cursor: pointer; transition: all .2s; text-decoration: none; color: var(--text); display: block; }
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,75,110,.12); }
.prod-img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream-dark); display: block; }
.prod-img-empty { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, var(--cream-dark), var(--rose-light)); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.prod-body { padding: 12px; }
.prod-loc { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 3px; margin-bottom: 4px; }
.prod-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; }
.prod-store { font-size: 12px; color: var(--text-muted); }
.prod-rating { display: flex; align-items: center; gap: 3px; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.prod-rating svg { width: 11px; height: 11px; fill: #F59E0B; }
.prod-price { font-size: 15px; font-weight: 700; color: var(--rose); margin-top: 6px; }

.store-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 0; text-align: center; cursor: pointer; transition: all .2s; text-decoration: none; color: var(--text); display: block; overflow: hidden; }
.store-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(200,75,110,.12); }
.store-cover { height: 60px; background: linear-gradient(135deg, var(--rose-light), #FCE7E7); background-size: cover; background-position: center; }
.store-icon { width: 52px; height: 52px; background: var(--white); border: 3px solid var(--white); border-radius: 50%; margin: -32px auto 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.06); background-size: cover; background-position: center; }
.store-icon svg { width: 22px; height: 22px; color: var(--rose); }
.store-body { padding: 0 16px 20px; }
.store-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.store-loc { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 3px; margin-bottom: 6px; }
.store-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.store-count { display: inline-block; font-size: 11px; background: var(--cream-dark); color: var(--text-muted); padding: 2px 8px; border-radius: 20px; margin-top: 8px; }

/* ==== GRIDS ==== */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.store-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ==== SECTIONS ==== */
.section { padding: 0 24px 40px; max-width: 1200px; margin: 0 auto; }
.section-hd { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; gap: 12px; flex-wrap: wrap; }
.section-hd h2 { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 600; }
.section-link { font-size: 14px; font-weight: 500; color: var(--rose); cursor: pointer; text-decoration: none; }
.section-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ==== FOOTER ==== */
footer { background: var(--cream-dark); border-top: 1px solid var(--border); padding: 40px 24px 24px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 32px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); max-width: 220px; margin-top: 12px; }
.footer-col h3 { font-size: 13px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 8px; cursor: pointer; text-decoration: none; }
.footer-col a:hover { color: var(--rose); }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 20px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; gap: 12px; }
.footer-credit { color: var(--rose); font-weight: 600; text-decoration: none; transition: color .2s; }
.footer-credit:hover { color: var(--rose-dark); text-decoration: underline; }

/* ==== EMPTY STATES ==== */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); font-size: 14px; background: var(--white); border: 1px dashed var(--border); border-radius: 14px; }
.empty-cta { color: var(--rose); font-weight: 600; cursor: pointer; }
.empty-cta:hover { text-decoration: underline; }

/* ==== LOADING ==== */
.loading { display: flex; align-items: center; justify-content: center; padding: 48px; color: var(--text-muted); font-size: 14px; }
.spinner { border: 3px solid var(--border); border-top-color: var(--rose); border-radius: 50%; width: 24px; height: 24px; animation: spin 1s linear infinite; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==== UTILS ==== */
.scope-chip { display: inline-flex; align-items: center; gap: 6px; background: #FFF7E6; border: 1px solid #F5D17A; color: #7A5C00; font-size: 12px; padding: 5px 10px; border-radius: 20px; margin-bottom: 14px; font-weight: 500; }
.active-filter { display: inline-flex; align-items: center; gap: 6px; background: var(--rose-light); color: var(--rose-dark); font-size: 12px; padding: 5px 12px; border-radius: 20px; font-weight: 600; }
.active-filter button { background: none; border: none; color: var(--rose-dark); cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.badge-approved { background: #D4EDDA; color: #155724; }
.badge-pending { background: #FFF3CD; color: #856404; }

/* ==== PÁGINA CATÁLOGO ==== */
.cat-page { padding: 32px 24px; max-width: 1200px; margin: 0 auto; }
.cat-page h1 { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 700; }
.cat-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.tab-row { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.tab-btn { padding: 8px 18px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; background: transparent; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.tab-btn:hover { border-color: var(--rose); color: var(--rose); }
.tab-btn.active { background: var(--text); color: white; border-color: var(--text); }
.tab-btn.active:hover { background: var(--text); color: white; }
.filter-row { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-row input, .filter-row select { padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 14px; outline: none; background: var(--white); }
.filter-row input { flex: 1; min-width: 240px; }
.filter-row input:focus, .filter-row select:focus { border-color: var(--rose); }

/* ==== PÁGINA LOJA ==== */
.store-page { padding: 32px 24px; max-width: 1000px; margin: 0 auto; }
.back-link { font-size: 14px; color: var(--text-muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; margin-bottom: 20px; text-decoration: none; }
.back-link:hover { color: var(--rose); }
.store-banner { height: 200px; background: linear-gradient(135deg, var(--rose-light), #FFE8E8); background-size: cover; background-position: center; border-radius: 14px 14px 0 0; }
.store-card-main { background: var(--white); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 32px; overflow: hidden; }
.store-card-main .store-body { padding: 0 28px 28px; }
.store-logo-big { width: 96px; height: 96px; background: var(--white); border: 4px solid var(--white); border-radius: 50%; margin-top: -48px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,.08); background-size: cover; background-position: center; }
.store-logo-big svg { width: 36px; height: 36px; color: var(--rose); }
.store-info-row { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 16px; flex-wrap: wrap; gap: 16px; }
.store-info h1 { font-family: 'Fraunces', Georgia, serif; font-size: 30px; margin-bottom: 6px; }
.store-info-loc { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.store-info-desc { font-size: 14px; color: var(--text-muted); max-width: 540px; }
.store-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 20px; }
.reviews-section { margin-top: 40px; }
.reviews-section h2 { font-family: 'Fraunces', Georgia, serif; font-size: 20px; margin-bottom: 16px; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.review-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 12px; }
.review-name { font-weight: 600; font-size: 14px; }
.review-stars { display: flex; gap: 2px; flex-shrink: 0; }
.review-stars svg { width: 14px; height: 14px; fill: #F59E0B; }
.review-comment { font-size: 14px; color: var(--text-muted); font-style: italic; }
.review-date { font-size: 12px; color: var(--text-muted); margin-top: 6px; }

/* ==== AUTH PAGE ==== */
.auth-page { padding: 60px 24px; max-width: 460px; margin: 0 auto; }
.auth-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 40px 32px; }
.auth-card h1 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; }

/* ==== FORM ==== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group label .opt { color: var(--text-muted); font-weight: 400; font-size: 12px; }
.form-group input[type=text], .form-group input[type=email], .form-group input[type=password],
.form-group input[type=number], .form-group input[type=url], .form-group input[type=tel],
.form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px; outline: none; background: var(--white); transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--rose); }
.form-group textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.form-group .help { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ==== FORM MESSAGES ==== */
.form-msg { margin-bottom: 14px; }
.msg { padding: 12px 14px; border-radius: 8px; font-size: 13px; line-height: 1.4; }
.msg-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.msg-success { background: #D1FAE5; color: #065F46; border: 1px solid #A7F3D0; }
.msg-info { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ==== TOGGLE SWITCH ==== */
.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.toggle-row .toggle-label { flex: 1; }
.toggle-row .toggle-label strong { display: block; font-size: 14px; margin-bottom: 2px; }
.toggle-row .toggle-label small { font-size: 12px; color: var(--text-muted); }
.toggle { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle .slider { position: absolute; cursor: pointer; inset: 0; background: var(--border); border-radius: 26px; transition: .2s; }
.toggle .slider::before { content: ''; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px; background: white; border-radius: 50%; transition: .2s; }
.toggle input:checked + .slider { background: var(--rose); }
.toggle input:checked + .slider::before { transform: translateX(22px); }

/* ==== CHECKBOXES (categorias) ==== */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; margin-top: 6px; }
@media(max-width: 640px) { .check-grid { grid-template-columns: repeat(2, 1fr); } }
.check-item { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-size: 13px; user-select: none; transition: all .15s; }
.check-item:hover { background: var(--cream-dark); }
.check-item input { accent-color: var(--rose); cursor: pointer; }
.check-item.selected { border-color: var(--rose); background: var(--rose-light); }

/* ==== PAINEL LOJISTA ==== */
.painel-page { padding: 32px 24px; max-width: 1100px; margin: 0 auto; }
.painel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.painel-header h1 { font-family: 'Fraunces', Georgia, serif; font-size: 32px; font-weight: 700; margin-bottom: 4px; }
.painel-sub { font-size: 14px; color: var(--text-muted); }

.loja-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.loja-card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; flex-wrap: wrap; }
.loja-card-header h2 { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.loja-card-loc { color: var(--text-muted); font-size: 13px; margin-bottom: 16px; }
.trial-banner { background: #DBEAFE; color: #1E40AF; border: 1px solid #BFDBFE; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
@media(max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--rose-light); padding: 18px; border-radius: 10px; text-align: center; }
.stat-card-icon { color: var(--rose); margin-bottom: 6px; display: flex; justify-content: center; }
.stat-card-icon svg { width: 18px; height: 18px; }
.stat-card-num { font-size: 24px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.stat-card-label { font-size: 12px; color: var(--text-muted); }
.loja-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ==== PRODUTO CARD (PAINEL) ==== */
.produto-painel-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.produto-painel-card .img-wrap { position: relative; aspect-ratio: 1; background: var(--cream-dark); }
.produto-painel-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.produto-painel-card .img-wrap .empty-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; }
.produto-painel-card .status-badge { position: absolute; top: 12px; right: 12px; }
.produto-painel-card .body { padding: 14px; }
.produto-painel-card .body h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.produto-painel-card .views { font-size: 11px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.produto-painel-card .actions { display: flex; gap: 6px; padding: 0 14px 14px; }
.produto-painel-card .actions .btn-edit { flex: 1; padding: 8px; border: 1px solid var(--border); border-radius: 8px; background: white; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 4px; color: var(--text); text-decoration: none; }
.produto-painel-card .actions .btn-edit:hover { border-color: var(--rose); color: var(--rose); }
.produto-painel-card .actions .btn-del { padding: 8px 12px; border: none; border-radius: 8px; background: var(--rose); color: white; cursor: pointer; }
.produto-painel-card .actions .btn-del:hover { background: var(--rose-dark); }

/* ==== BREADCRUMBS ==== */
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--rose); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 6px; }

/* ==== UPLOAD DE IMAGENS (URL) ==== */
.url-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.url-item { display: flex; gap: 8px; align-items: center; }
.url-item input { flex: 1; }
.url-item button { padding: 8px 12px; border: 1px solid var(--border); background: white; border-radius: 8px; cursor: pointer; color: var(--rose); }
.url-item button:hover { background: #FEE2E2; }
.add-url-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 14px; border: 2px dashed var(--border); border-radius: 10px; background: transparent; color: var(--text-muted); cursor: pointer; font-family: inherit; font-size: 14px; width: 100%; }
.add-url-btn:hover { border-color: var(--rose); color: var(--rose); }

/* ==== IMAGE GRID (múltiplas imagens) ==== */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.img-grid-empty { grid-column: 1/-1; padding: 32px; text-align: center; color: var(--text-muted); font-size: 13px; background: var(--cream); border: 1px dashed var(--border); border-radius: 10px; }
.img-tile { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--cream); }
.img-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-tile-badge { position: absolute; top: 6px; left: 6px; background: var(--rose); color: white; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 12px; }
.img-tile-remove { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; border: none; background: rgba(0,0,0,0.6); color: white; font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.img-tile-remove:hover { background: rgba(0,0,0,0.85); }
.img-tile-uploading, .img-tile-error { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--text-muted); font-size: 12px; }

/* ==== IMAGE UPLOADER (upload de arquivo) ==== */
.img-uploader { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 14px; }
.img-preview { width: 140px; height: 140px; border-radius: 10px; overflow: hidden; background: var(--white); border: 1px dashed var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.img-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-preview-banner { width: 100%; height: 120px; }
.img-placeholder { color: var(--text-muted); font-size: 13px; }
.img-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.img-actions .btn { padding: 7px 12px; font-size: 13px; }
.img-upload-btn { cursor: pointer; }
.img-uploader .loading { padding: 0; color: var(--text-muted); font-size: 12px; }
.img-uploader .spinner { width: 16px; height: 16px; border-width: 2px; margin-right: 6px; }

/* ==== INFO BOX ==== */
.info-box { background: var(--cream-dark); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.info-box strong { color: var(--text); display: block; margin-bottom: 4px; }

/* ==== SECTION CARDS (form sections) ==== */
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.form-section h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.form-section .form-section-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

/* ==== ADMIN PANEL ==== */
.admin-shell { display: flex; min-height: calc(100vh - 60px); }
.admin-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 100; }
.admin-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 16px; }
.admin-logo-box { width: 32px; height: 32px; background: linear-gradient(135deg, var(--rose), var(--rose-dark)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; }
.admin-header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.admin-header-user { font-size: 13px; color: var(--text-muted); }

.admin-sidebar { width: 240px; background: var(--white); border-right: 1px solid var(--border); padding: 16px 12px; flex-shrink: 0; }
.admin-nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; margin-bottom: 4px; transition: all .2s; cursor: pointer; }
.admin-nav-item:hover { background: var(--cream); color: var(--text); }
.admin-nav-item.active { background: var(--cream-dark); color: var(--text); font-weight: 600; }
.admin-nav-item .badge-dot { margin-left: auto; background: var(--rose); color: white; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 12px; min-width: 20px; text-align: center; }

.admin-content { flex: 1; padding: 32px 36px; max-width: 100%; overflow-x: hidden; }
.admin-content h1 { font-family: 'Fraunces', Georgia, serif; font-size: 30px; font-weight: 700; margin-bottom: 4px; }
.admin-content .admin-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 28px; }

.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.admin-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 20px; text-align: center; }
.admin-stat-card .label-top { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; text-align: left; font-weight: 500; }
.admin-stat-card .num { font-family: 'Fraunces', Georgia, serif; font-size: 36px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.admin-stat-card .num.rose { color: var(--rose); }
.admin-stat-card .num.green { color: var(--green); }
.admin-stat-card .num.amber { color: var(--amber); }
.admin-stat-card .num.gray { color: var(--text-muted); }
.admin-stat-card .label { font-size: 12px; color: var(--text-muted); }
.admin-stat-card .sub { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.admin-stat-card.padded { text-align: left; }
.admin-stat-card.padded .num { font-size: 28px; }

.admin-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.admin-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; flex-wrap: wrap; gap: 12px; }
.admin-card-h h2 { font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.admin-card-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }

.tab-row.admin-tabs { background: var(--cream-dark); padding: 4px; border-radius: 10px; display: inline-flex; gap: 0; margin-bottom: 20px; }
.tab-row.admin-tabs .tab-btn { background: transparent; border: none; padding: 8px 14px; border-radius: 7px; }
.tab-row.admin-tabs .tab-btn.active { background: var(--white); color: var(--text); border: none; box-shadow: 0 1px 3px rgba(0,0,0,.06); }

.admin-list { display: flex; flex-direction: column; gap: 12px; }
.admin-item { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; }
.admin-item-h { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.admin-item-h h3 { font-size: 16px; font-weight: 600; }
.admin-item-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.admin-item-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.admin-item-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-success { background: var(--green); color: white; }
.btn-success:hover { background: #1e6b41; }
.btn-danger { background: #DC2626; color: white; }
.btn-danger:hover { background: #B91C1C; }
.btn-warning { background: #B45309; color: white; }
.btn-warning:hover { background: #92400E; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.admin-prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.admin-prod-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.admin-prod-card .img-wrap { position: relative; aspect-ratio: 1; background: var(--cream-dark); }
.admin-prod-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-prod-card .img-empty { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; }
.admin-prod-card .badge { position: absolute; top: 10px; right: 10px; }
.admin-prod-card .body { padding: 14px; }
.admin-prod-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.admin-prod-card .store { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.admin-prod-card .price { font-size: 16px; font-weight: 700; color: var(--rose); margin-bottom: 8px; }
.admin-prod-card .desc { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th { text-align: left; padding: 12px 14px; background: var(--cream); color: var(--text-muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.admin-table td { padding: 14px; border-top: 1px solid var(--border); }
.admin-table tr:hover { background: var(--cream); }

.review-admin { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 18px; margin-bottom: 12px; }
.review-admin-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.review-admin-stars { display: flex; gap: 2px; }
.review-admin-stars svg { width: 14px; height: 14px; fill: #F59E0B; }

.cat-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.cat-admin-item { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.cat-admin-emoji { font-size: 24px; }
.cat-admin-name { flex: 1; font-weight: 600; font-size: 14px; }
.cat-admin-toggle { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }

@media (max-width: 768px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); padding: 8px 12px; display: flex; gap: 4px; overflow-x: auto; }
  .admin-nav-item { white-space: nowrap; margin-bottom: 0; padding: 8px 12px; font-size: 13px; }
  .admin-content { padding: 20px 16px; }
  .admin-content h1 { font-size: 24px; }
}

/* ==== CONCIERGE IA (CHAT) ==== */
.concierge-page { max-width: 900px; margin: 0 auto; padding: 32px 24px; display: flex; flex-direction: column; min-height: calc(100vh - 60px); }
.concierge-hd { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.concierge-hd-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--rose-light), #FCE7F0); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.concierge-hd h1 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; font-weight: 700; }
.concierge-hd-sub { color: var(--text-muted); font-size: 14px; max-width: 480px; }
.concierge-hd > button { margin-left: auto; }

.chat-container { flex: 1; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; margin-bottom: 16px; min-height: 360px; max-height: 60vh; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }

.chat-msg { display: flex; gap: 10px; align-items: flex-start; max-width: 85%; }
.chat-msg-user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-assistant { align-self: flex-start; }
.chat-avatar { width: 36px; height: 36px; background: linear-gradient(135deg, var(--rose-light), #FCE7F0); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.chat-bubble { background: var(--cream); border-radius: 16px; padding: 12px 16px; font-size: 14.5px; line-height: 1.55; }
.chat-msg-user .chat-bubble { background: var(--rose); color: white; border-bottom-right-radius: 4px; }
.chat-msg-assistant .chat-bubble { border-bottom-left-radius: 4px; }
.chat-bubble strong { font-weight: 700; }
.chat-bubble ul { margin: 6px 0 6px 18px; }
.chat-bubble li { margin: 2px 0; }

.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing span { width: 8px; height: 8px; background: var(--text-muted); border-radius: 50%; animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }

.chat-products { background: var(--cream); border: 1px dashed var(--rose-light); border-radius: 14px; padding: 16px; align-self: stretch; }
.chat-products-h { font-weight: 600; margin-bottom: 12px; color: var(--rose-dark); font-size: 14px; }
.chat-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.chat-product-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--text); transition: all .2s; display: block; }
.chat-product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(200,75,110,.12); border-color: var(--rose-light); }
.chat-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--cream-dark); }
.chat-product-empty { aspect-ratio: 1; background: linear-gradient(135deg, var(--cream-dark), var(--rose-light)); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.chat-product-body { padding: 10px 12px; }
.chat-product-name { font-size: 13px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chat-product-meta { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.chat-product-price { font-size: 14px; font-weight: 700; color: var(--rose); }

.chat-input-row { display: flex; gap: 8px; background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 8px; }
.chat-input-row input { flex: 1; padding: 10px 14px; border: none; outline: none; font-family: inherit; font-size: 15px; background: transparent; }
.chat-input-row input:focus { outline: none; }
.chat-input-row button { padding: 10px 16px; }
.chat-input-row button[disabled] { opacity: .5; cursor: not-allowed; }

.suggestion-chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.suggestion-chips .chip { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 8px 16px; font-family: inherit; font-size: 13px; cursor: pointer; transition: all .2s; color: var(--text); }
.suggestion-chips .chip:hover { border-color: var(--rose); color: var(--rose); }

@media (max-width: 640px) {
  .concierge-page { padding: 16px; }
  .chat-msg { max-width: 92%; }
  .chat-products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ==== EMOJI PICKER ==== */
.emoji-picker-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeIn .15s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.emoji-picker-modal { background: var(--white); border-radius: 16px; max-width: 540px; width: 100%; max-height: 80vh; display: flex; flex-direction: column; box-shadow: 0 12px 48px rgba(0,0,0,.25); overflow: hidden; }
.emoji-picker-h { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.emoji-picker-h h3 { font-family: 'Fraunces', Georgia, serif; font-size: 18px; font-weight: 600; }
.emoji-picker-close { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; line-height: 1; padding: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.emoji-picker-close:hover { background: var(--cream-dark); color: var(--text); }
.emoji-picker-search-row { padding: 10px 22px; background: var(--cream); font-size: 13px; color: var(--text-muted); }
.emoji-picker-current { display: inline-flex; align-items: center; gap: 8px; }
.emoji-picker-body { padding: 16px 22px; overflow-y: auto; flex: 1; }
.emoji-group { margin-bottom: 16px; }
.emoji-group:last-child { margin-bottom: 0; }
.emoji-group h4 { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 4px; }
.emoji-btn { background: transparent; border: 2px solid transparent; border-radius: 8px; padding: 6px; font-size: 24px; cursor: pointer; transition: all .15s; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.emoji-btn:hover { background: var(--cream-dark); transform: scale(1.15); }
.emoji-btn.selected { background: var(--rose-light); border-color: var(--rose); }

/* ==== TOAST ==== */
.toast { position: fixed; top: 80px; right: 20px; background: var(--text); color: white; padding: 12px 20px; border-radius: 10px; z-index: 9999; animation: slideInRight .3s ease; max-width: 360px; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.toast.success { background: var(--green); }
.toast.error { background: #DC2626; }
@keyframes slideInRight { from { transform: translateX(120%); } to { transform: translateX(0); } }

/* ==== RESPONSIVE ==== */
@media (max-width: 900px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  nav.main-nav { padding: 0 16px; gap: 12px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 0 16px 32px; }
  .hero { padding: 40px 16px 24px; }
  .hero h1 { font-size: 32px; }
  .ia-banner { flex-direction: column; padding: 24px; }
  .cta-banner { padding: 36px 24px; }
  .cta-banner h2 { font-size: 26px; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns a { text-align: center; justify-content: center; }
  .btn-ghost-white { display: block; }
}
