/* ============================================
   ATELIÊ FÁBRICA DE SONHOS - ESTILOS
   ============================================ */

:root {
  --rosa: #F3C0C8;
  --dourado: #C59F74;
  --off-white: #FFFDF9;
  --verde-salvia: #B3C2B2;
  --cinza-quente: #8A817C;
  --texto: #3D3A38;
  --texto-claro: #6B6560;
  --branco: #FFFFFF;
  --sombra: 0 2px 12px rgba(138, 129, 124, 0.08);
  --sombra-hover: 0 6px 20px rgba(138, 129, 124, 0.12);
  --radius: 12px;
  --transicao: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--off-white);
  color: var(--texto);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== BOTÕES ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all var(--transicao);
  white-space: nowrap;
}

.btn-primary {
  background: var(--dourado);
  color: var(--branco);
}

.btn-primary:hover {
  background: #b38d63;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--dourado);
  border: 1.5px solid var(--dourado);
}

.btn-outline:hover {
  background: var(--dourado);
  color: var(--branco);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--branco);
  font-size: 0.8rem;
  padding: 12px 20px;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 11px 18px;
  font-size: 0.78rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 159, 116, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: 0.02em;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--dourado);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--texto-claro);
  transition: color var(--transicao);
}

.nav-link:hover {
  color: var(--dourado);
}

.header-whatsapp {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: all var(--transicao);
}

/* ========== HERO ========== */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--off-white) 0%, rgba(243, 192, 200, 0.1) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 12px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--texto);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cinza-quente);
  margin-bottom: 16px;
}

.hero-text {
  font-size: 1rem;
  color: var(--texto-claro);
  max-width: 420px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-image-placeholder {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, rgba(243, 192, 200, 0.2), rgba(179, 194, 178, 0.15));
  border-radius: var(--radius);
}

/* ========== AVISO ========== */
.aviso {
  padding: 40px 0;
}

.aviso-box {
  background: linear-gradient(135deg, rgba(243, 192, 200, 0.22), rgba(197, 159, 116, 0.1));
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
}

.aviso-badge {
  display: inline-block;
  background: var(--dourado);
  color: var(--branco);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.aviso-text {
  font-size: 1.05rem;
  color: var(--texto);
  max-width: 560px;
  margin: 0 auto 16px;
}

.aviso-destaque {
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 24px;
}

/* ========== SEÇÕES GERAIS ========== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--texto-claro);
  max-width: 480px;
  margin: 0 auto;
}

/* ========== MODELOS ========== */
.modelos {
  padding: 80px 0;
}

.modelos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.modelo-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transicao), box-shadow var(--transicao);
  display: flex;
  flex-direction: column;
}

.modelo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sombra-hover);
}

.modelo-image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, rgba(243, 192, 200, 0.18), rgba(179, 194, 178, 0.12));
  position: relative;
  overflow: hidden;
}

.modelo-image.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(243, 192, 200, 0.18), rgba(179, 194, 178, 0.12));
}

.modelo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modelo-body {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modelo-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.modelo-preco {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 8px;
}

.modelo-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 14px;
  opacity: 0.9;
}

.modelo-lista {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.modelo-lista li {
  font-size: 0.9rem;
  color: var(--texto-claro);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.modelo-lista li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--dourado);
}

.modelo-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ========== CAPAS ========== */
.capas {
  padding: 80px 0;
  background: rgba(243, 192, 200, 0.06);
}

.filtros {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.filtros::-webkit-scrollbar {
  height: 3px;
}

.filtros::-webkit-scrollbar-thumb {
  background: var(--dourado);
  border-radius: 4px;
}

.filtro-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50px;
  background: var(--branco);
  color: var(--texto-claro);
  border: 1px solid rgba(197, 159, 116, 0.2);
  transition: all var(--transicao);
}

.filtro-btn:hover,
.filtro-btn.active {
  background: var(--dourado);
  color: var(--branco);
  border-color: var(--dourado);
}

.capas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.capa-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transicao);
  text-align: center;
}

@media (hover: hover) {
  .capa-card:hover {
    transform: translateY(-3px);
  }
}

.capa-card.unavailable {
  opacity: 0.65;
}

.capa-image {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, rgba(243, 192, 200, 0.2), rgba(179, 194, 178, 0.15));
  position: relative;
  overflow: hidden;
}

.capa-image.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(243, 192, 200, 0.2), rgba(179, 194, 178, 0.15));
}

.capa-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capa-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(61, 58, 56, 0.75);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.capa-body {
  padding: 14px 12px 18px;
}

.capa-codigo {
  font-size: 0.75rem;
  color: var(--dourado);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.capa-nome {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 12px;
  line-height: 1.3;
}

.capa-card .btn {
  width: 100%;
}

.capa-card.hidden {
  display: none;
}

.mais-opcoes {
  text-align: center;
  margin-top: 48px;
  padding: 32px 20px;
  background: rgba(243, 192, 200, 0.12);
  border-radius: var(--radius);
}

.mais-opcoes p {
  font-size: 1.05rem;
  color: var(--texto-claro);
  margin-bottom: 18px;
}

/* ========== COMO FUNCIONA ========== */
.como-funciona {
  padding: 80px 0;
}

.etapas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.etapa {
  text-align: center;
}

.etapa-num {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 12px;
}

.etapa h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.etapa p {
  font-size: 0.9rem;
  color: var(--texto-claro);
}

.como-funciona-nota {
  text-align: center;
  font-size: 0.95rem;
  color: var(--texto-claro);
  max-width: 520px;
  margin: 0 auto;
  font-style: italic;
}

/* ========== PERSONALIZAÇÃO ========== */
.personalizacao {
  padding: 80px 0;
  background: rgba(179, 194, 178, 0.1);
}

.personalizacao-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.pers-item {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--sombra);
}

.pers-icon {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 12px;
}

.pers-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.pers-item p {
  font-size: 0.9rem;
  color: var(--texto-claro);
}

/* ========== PAGAMENTO ========== */
.pagamento {
  padding: 80px 0;
}

.pagamento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.pag-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--sombra);
}

.pag-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pag-destaque {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 8px;
}

.pag-card p {
  font-size: 0.95rem;
  color: var(--texto-claro);
}

.pagamento-nota {
  text-align: center;
  font-size: 0.9rem;
  color: var(--texto-claro);
  max-width: 520px;
  margin: 0 auto;
}

/* ========== PRAZO ========== */
.prazo {
  padding: 60px 0;
}

.prazo-box {
  background: linear-gradient(135deg, rgba(197, 159, 116, 0.1), rgba(243, 192, 200, 0.12));
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
}

.prazo-destaque {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dourado);
  margin: 16px 0 20px;
}

.prazo-box p {
  max-width: 520px;
  margin: 0 auto 12px;
  color: var(--texto-claro);
}

.prazo-aviso {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 16px !important;
}

/* ========== RETIRADA ========== */
.retirada {
  padding: 60px 0;
}

.retirada-content {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.retirada-content p {
  margin-bottom: 16px;
  color: var(--texto-claro);
}

.retirada-local {
  font-size: 1.1rem;
  color: var(--texto) !important;
}

/* ========== FAQ ========== */
.faq {
  padding: 80px 0;
  background: rgba(243, 192, 200, 0.05);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--branco);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--sombra);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--texto);
  transition: background var(--transicao);
}

.faq-question:hover {
  background: rgba(243, 192, 200, 0.08);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--dourado);
  font-weight: 300;
  transition: transform var(--transicao);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--texto-claro);
  line-height: 1.65;
}

/* ========== CHAMADA FINAL ========== */
.chamada-final {
  padding: 90px 0;
  background: linear-gradient(160deg, rgba(243, 192, 200, 0.2), rgba(197, 159, 116, 0.12));
  text-align: center;
}

.chamada-final h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 14px;
}

.chamada-final p {
  font-size: 1.1rem;
  color: var(--texto-claro);
  max-width: 440px;
  margin: 0 auto 32px;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--texto);
  color: rgba(255, 253, 249, 0.85);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--branco);
  margin-bottom: 8px;
}

.footer-slogan {
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 8px;
  color: var(--rosa);
}

.footer-local {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.95rem;
  transition: color var(--transicao);
}

.footer-link:hover {
  color: var(--rosa);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 253, 249, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  opacity: 0.85;
  flex-wrap: wrap;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  min-width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px 0 14px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 900;
  transition: transform var(--transicao), box-shadow var(--transicao);
}

.whatsapp-float:hover {
  transform: scale(1.04);
}

.whatsapp-float-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 58, 56, 0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--branco);
  width: 100%;
  max-width: 480px;
  max-height: min(90vh, 720px);
  border-radius: 20px 20px 0 0;
  padding: 24px 20px 32px;
  position: relative;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  color: var(--cinza-quente);
  line-height: 1;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  margin: -8px -8px 0 0;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  clear: both;
}

/* Step indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  padding-top: 4px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(197, 159, 116, 0.15);
  color: var(--cinza-quente);
}

.step-item.current .step-dot {
  background: var(--dourado);
  color: white;
}

.step-item.done .step-dot {
  background: var(--verde-salvia);
  color: white;
}

.step-label {
  font-size: 0.7rem;
  color: var(--texto-claro);
}

.step-item.current .step-label {
  color: var(--texto);
  font-weight: 500;
}

.step-line {
  width: 24px;
  height: 1px;
  background: rgba(197, 159, 116, 0.3);
  margin-bottom: 18px;
}

/* Model options */
.model-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.model-option {
  display: block;
  cursor: pointer;
}

.model-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.model-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border: 1.5px solid rgba(197, 159, 116, 0.25);
  border-radius: 12px;
  transition: border-color var(--transicao), background var(--transicao);
}

.model-option input:checked + .model-option-content {
  border-color: var(--dourado);
  background: rgba(197, 159, 116, 0.08);
}

.model-option-content strong {
  font-size: 1.05rem;
}

.model-option-content span {
  color: var(--dourado);
  font-weight: 600;
}

/* Modal capas */
.modal-capas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
  max-height: 340px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-capa-item {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transicao);
  background: rgba(243, 192, 200, 0.08);
  padding: 0;
  text-align: left;
  width: 100%;
}

.modal-capa-item.selected {
  border-color: var(--dourado);
}

.modal-capa-img {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, rgba(243, 192, 200, 0.25), rgba(179, 194, 178, 0.2));
  position: relative;
}

.modal-capa-img.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(243, 192, 200, 0.25), rgba(179, 194, 178, 0.2));
}

.modal-capa-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-capa-info {
  padding: 8px;
  text-align: center;
}

.modal-capa-info .codigo {
  font-size: 0.7rem;
  color: var(--dourado);
  font-weight: 600;
}

.modal-capa-info .nome {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Order summary */
.order-summary {
  background: rgba(243, 192, 200, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 0.95rem;
}

.summary-row span {
  color: var(--texto-claro);
  flex-shrink: 0;
}

.summary-row strong {
  text-align: right;
}

/* ========== PAGAMENTO NO MODAL ========== */
.payment-box {
  background: rgba(179, 194, 178, 0.15);
  border: 1px solid rgba(197, 159, 116, 0.25);
  border-radius: 12px;
  padding: 18px 16px;
  margin-bottom: 20px;
}

.payment-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-align: center;
}

.payment-hint {
  font-size: 0.85rem;
  color: var(--texto-claro);
  text-align: center;
  margin-bottom: 14px;
}

.payment-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-pix {
  background: #32BCAD;
  color: #fff;
  border: none;
}

.btn-pix:hover {
  background: #2aa89a;
  color: #fff;
}

.btn-card {
  background: var(--texto);
  color: #fff;
  border: none;
}

.btn-card:hover {
  background: #2a2725;
  color: #fff;
}

.payment-note {
  font-size: 0.8rem;
  color: var(--texto-claro);
  text-align: center;
  line-height: 1.4;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--texto);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* evita zoom no iOS */
  font-family: inherit;
  border: 1.5px solid rgba(197, 159, 116, 0.25);
  border-radius: 10px;
  background: var(--off-white);
  color: var(--texto);
  transition: border-color var(--transicao);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dourado);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.modal .btn {
  margin-bottom: 10px;
}

.modal-step {
  animation: fadeIn 0.25s ease;
}

.modal-step.hidden {
  display: none;
}

/* Details modal */
.modal-details {
  max-width: 520px;
}

.details-image {
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, rgba(243, 192, 200, 0.18), rgba(179, 194, 178, 0.12));
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}

.details-image.placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(243, 192, 200, 0.18), rgba(179, 194, 178, 0.12));
}

.details-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.details-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dourado);
  margin-bottom: 18px;
}

.details-list {
  list-style: none;
  margin-bottom: 24px;
}

.details-list li {
  font-size: 0.95rem;
  color: var(--texto-claro);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.details-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--dourado);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVO ========== */
@media (min-width: 768px) {
  .header-whatsapp {
    display: inline-flex;
  }

  .modal-overlay {
    align-items: center;
  }

  .modal {
    border-radius: 16px;
    max-height: 85vh;
  }

  .capas-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--off-white);
    flex-direction: column;
    padding: 24px 20px;
    gap: 8px;
    border-bottom: 1px solid rgba(197, 159, 116, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-placeholder {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    padding: 40px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .modelos,
  .capas,
  .como-funciona,
  .personalizacao,
  .pagamento,
  .faq {
    padding: 60px 0;
  }

  .aviso-box,
  .prazo-box {
    padding: 32px 20px;
  }

  .etapas {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .capas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .btn {
    padding: 13px 22px;
    font-size: 0.8rem;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    height: 52px;
    min-width: 52px;
    padding: 0 14px 0 12px;
  }

  .whatsapp-float-text {
    font-size: 0.8rem;
  }

  .modal {
    padding: 20px 16px 28px;
  }
}

@media (max-width: 380px) {
  .etapas {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float {
    width: 52px;
    padding: 0;
    border-radius: 50%;
  }
}

/* iOS Safari */
@supports (-webkit-touch-callout: none) {
  .header {
    -webkit-backdrop-filter: blur(12px);
  }

  .modal {
    -webkit-overflow-scrolling: touch;
  }
}

/* ========== ADMIN PANEL ========== */
.admin-trigger {
  background: rgba(197, 159, 116, 0.15);
  border: 1px solid rgba(197, 159, 116, 0.35);
  color: var(--dourado);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.85;
  margin-left: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: opacity 0.2s, background 0.2s;
  line-height: 1;
}
.admin-trigger:hover {
  opacity: 1;
  background: rgba(197, 159, 116, 0.3);
}

.admin-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.admin-overlay.open { display: flex; }

.admin-panel {
  background: var(--creme, #FFFDF9);
  border-radius: 16px;
  padding: 28px 24px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.admin-panel h3 {
  margin-bottom: 8px;
  color: var(--texto, #3D2C2E);
}

.admin-hint {
  font-size: 0.85rem;
  color: var(--texto-claro, #8B7B7D);
  margin-bottom: 16px;
}

.admin-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 10px;
}

.admin-saved {
  color: #27ae60;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 12px;
  font-weight: 600;
}

.admin-section {
  margin-bottom: 18px;
}

.admin-section label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto, #3D2C2E);
  margin-bottom: 6px;
}

.admin-section input[type="text"],
.admin-section input[type="url"],
.admin-section input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0d5d0;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #fff;
}

.admin-covers-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0d5d0;
}

.admin-cover-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.admin-orders-list {
  max-height: 160px;
  overflow-y: auto;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0d5d0;
  padding: 10px;
  font-size: 0.85rem;
}

.admin-order-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0e8e4;
}
.admin-order-item:last-child { border-bottom: none; }

/* Admin orders */
.admin-orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.admin-orders-filters .filtro-btn {
  font-size: 0.75rem;
  padding: 6px 10px;
}
.admin-orders-list {
  max-height: 280px;
}
.admin-order-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0e8e4;
}
.admin-order-item:last-child { border-bottom: none; }
.admin-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}
.admin-order-status {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.admin-order-status.novo { background: #fde8e8; color: #c0392b; }
.admin-order-status.producao { background: #fef5e7; color: #b9770e; }
.admin-order-status.enviado { background: #e8f8f5; color: #1e8449; }
.admin-order-status.cancelado { background: #eee; color: #666; }
.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.admin-order-actions button {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #e0d5d0;
  background: #fff;
  cursor: pointer;
}
.admin-order-actions button:hover { background: #f8f0ee; }
.admin-firebase-ok { color: #27ae60; }
.admin-firebase-off { color: #c0392b; }

/* ========== BANNER ========== */
.site-banner {
  width: 100%;
  overflow: hidden;
  background: var(--off-white);
}
.banner-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.banner-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(transparent, rgba(61,58,56,0.35));
  color: #fff;
}
.banner-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.banner-subtitle {
  margin-bottom: 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ========== CARRINHO ========== */
.cart-btn {
  background: transparent;
  border: 1.5px solid rgba(197,159,116,0.4);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  color: var(--texto);
}
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--dourado);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.cart-modal { max-width: 520px; }
.cart-items { max-height: 40vh; overflow-y: auto; margin-bottom: 16px; }
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(197,159,116,0.15);
}
.cart-item-info { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; flex: 1; }
.cart-item-info span { color: var(--texto-claro); font-size: 0.85rem; }
.cart-item-price { font-weight: 600; color: var(--dourado) !important; }
.cart-item-actions { display: flex; align-items: center; gap: 8px; }
.btn-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(197,159,116,0.3);
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon.danger { color: #c0392b; }
.cart-coupon { margin-bottom: 16px; }
.cart-coupon label { display: block; font-size: 0.9rem; margin-bottom: 8px; font-weight: 500; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; padding: 12px; border: 1.5px solid rgba(197,159,116,0.3); border-radius: 10px; font-size: 1rem; }
.coupon-msg { font-size: 0.85rem; margin-top: 6px; color: var(--dourado); }
.cart-delivery, .cart-payment { margin: 16px 0; }
.option-list { display: flex; flex-direction: column; gap: 8px; }

/* ========== ADMIN TABS ========== */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.admin-tab {
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid rgba(197,159,116,0.3);
  background: #fff;
  cursor: pointer;
  color: var(--texto-claro);
}
.admin-tab.active {
  background: var(--dourado);
  color: #fff;
  border-color: var(--dourado);
}
.admin-toolbar { margin-bottom: 12px; }
.admin-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 40vh; overflow-y: auto; }
.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(243,192,200,0.1);
  border-radius: 10px;
  font-size: 0.9rem;
}
.admin-list-item.inactive { opacity: 0.55; }
.admin-list-item span { color: var(--texto-claro); font-size: 0.8rem; }
.admin-item-actions { display: flex; gap: 4px; flex-shrink: 0; }
.admin-actions { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.admin-panel select {
  width: 100%;
  padding: 12px;
  border: 1.5px solid rgba(197,159,116,0.3);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--off-white);
}
.hidden { display: none !important; }

@media (max-width: 600px) {
  .banner-img { max-height: 280px; }
  .cart-btn { padding: 6px 10px; }
  .admin-tabs { gap: 4px; }
  .admin-tab { padding: 6px 10px; font-size: 0.75rem; }
}

/* ========== MEUS PEDIDOS + CALENDÁRIO ========== */
.orders-summary-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.orders-card {
  flex: 1 1 calc(50% - 8px);
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(197,159,116,0.25);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-size: 0.8rem;
  color: var(--texto-claro);
}
.orders-card strong {
  display: block;
  font-size: 1.2rem;
  color: var(--texto);
  margin-top: 2px;
}
.orders-card.active {
  border-color: var(--dourado);
  background: rgba(197,159,116,0.12);
}
.order-card-clickable { cursor: pointer; }
.order-card-clickable:hover { background: rgba(243,192,200,0.18); }

.admin-order-status.dentro { background: #e8f8f5; color: #1e8449; }
.admin-order-status.proximo { background: #fef5e7; color: #b9770e; }
.admin-order-status.ultrapassado { background: #fde8e8; color: #c0392b; }
.admin-order-status.pronto { background: #eaf2f8; color: #1a5276; }
.admin-order-status.entregue,
.admin-order-status.retirado { background: #e8f8f5; color: #196f3d; }
.admin-order-status.sem-data { background: #eee; color: #666; }
.admin-order-status.producao { background: #fef5e7; color: #b9770e; }

.order-detail-panel {
  margin-top: 12px;
  padding: 16px;
  background: rgba(243,192,200,0.08);
  border-radius: 12px;
  border: 1px solid rgba(197,159,116,0.2);
}

.prod-calendar {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(197,159,116,0.2);
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-head {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--texto-claro);
  padding: 4px 0;
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  position: relative;
  background: rgba(243,192,200,0.06);
  border: 1px solid transparent;
  min-height: 36px;
}
.cal-cell.empty { background: transparent; cursor: default; }
.cal-cell.today { border-color: var(--dourado); font-weight: 600; }
.cal-cell.holiday { background: rgba(192,57,43,0.08); }
.cal-cell.has-orders { background: rgba(197,159,116,0.2); }
.cal-cell.has-orders:hover { background: rgba(197,159,116,0.35); }
.cal-day { line-height: 1; }
.cal-dots {
  font-size: 0.65rem;
  background: var(--dourado);
  color: #fff;
  border-radius: 10px;
  padding: 0 5px;
  margin-top: 2px;
  font-weight: 600;
}
.cal-day-detail { margin-top: 10px; }
.cal-order-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  margin-bottom: 6px;
  border-radius: 10px;
  border: 1px solid rgba(197,159,116,0.25);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
}
.cal-order-btn:hover { background: rgba(243,192,200,0.15); }

@media (max-width: 480px) {
  .orders-card { flex: 1 1 calc(50% - 6px); min-width: 100px; padding: 8px; }
  .cal-cell { min-height: 32px; font-size: 0.8rem; }
}

/* ========== CARROSSEL ========== */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(243,192,200,0.2), rgba(179,194,178,0.15));
  border-radius: 12px 12px 0 0;
}
.carousel.cover-carousel { aspect-ratio: 3/4; border-radius: 10px 10px 0 0; }
.carousel.details-carousel { aspect-ratio: 1; border-radius: 12px; }
.carousel-track { width: 100%; height: 100%; position: relative; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.carousel-slide.active { opacity: 1; z-index: 1; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.placeholder-slide span {
  color: var(--cinza-quente);
  font-size: 0.9rem;
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; width: 36px; height: 36px;
  border-radius: 50%; border: none;
  background: rgba(255,253,249,0.9);
  color: var(--texto); font-size: 1.4rem;
  cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 6px; z-index: 3;
}
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0;
}
.carousel-dot.active { background: var(--dourado); }
.carousel-counter {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(61,58,56,0.55); color: #fff;
  font-size: 0.75rem; padding: 4px 8px; border-radius: 12px;
}

.img-preview-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
}
.img-preview-item {
  position: relative; width: 72px; height: 72px;
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(197,159,116,0.3);
}
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-item button {
  position: absolute; top: 2px; right: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.55); color: #fff; cursor: pointer;
}

/* ========== ADMIN TELA CHEIA ========== */
.admin-fullscreen {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--off-white);
  display: none;
}
.admin-fullscreen.open { display: block; }
.admin-shell { height: 100%; width: 100%; }
.admin-login-screen {
  height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px;
}
.admin-login-box {
  width: 100%; max-width: 380px;
  background: #fff; border-radius: 16px; padding: 28px 24px;
  box-shadow: 0 8px 32px rgba(138,129,124,0.15);
}
.admin-login-box h2 {
  font-family: 'Cormorant Garamond', serif;
  text-align: center; margin-bottom: 4px;
}
.admin-check { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }

.admin-app {
  display: flex; height: 100%; width: 100%;
}
.admin-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--texto); color: rgba(255,253,249,0.9);
  display: flex; flex-direction: column;
  padding: 20px 12px;
}
.admin-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem; padding: 8px 12px 20px; color: var(--rosa);
}
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; overflow-y: auto; }
.admin-nav-btn {
  text-align: left; padding: 12px 14px;
  border: none; border-radius: 10px;
  background: transparent; color: inherit;
  font-size: 0.95rem; cursor: pointer;
}
.admin-nav-btn:hover, .admin-nav-btn.active {
  background: rgba(243,192,200,0.2); color: #fff;
}
.admin-sidebar-foot {
  display: flex; flex-direction: column; gap: 8px; padding-top: 12px;
}
.admin-sidebar-foot .btn { color: #fff; border-color: rgba(255,255,255,0.3); }
.admin-main {
  flex: 1; display: flex; flex-direction: column;
  min-width: 0; overflow: hidden;
}
.admin-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid rgba(197,159,116,0.2);
  background: #fff;
}
.admin-topbar h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; margin: 0;
}
.admin-menu-btn {
  display: none; background: none; border: none;
  font-size: 1.4rem; cursor: pointer; padding: 4px 8px;
}
.admin-content {
  flex: 1; overflow-y: auto; padding: 20px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 860px) {
  .admin-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 20;
    transform: translateX(-100%); transition: transform 0.25s ease;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-menu-btn { display: block; }
}

/* ========== PRODUTO DETALHE (estilo loja) ========== */
.modal-details {
  max-width: 960px;
  width: 96%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px;
}
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
}
.pdp-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}
.pdp-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #f8f4f2;
  aspect-ratio: 1;
}
.pdp-thumb.active { border-color: var(--dourado); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-main .carousel, .pdp-main .details-carousel {
  aspect-ratio: 1;
  border-radius: 12px;
  max-height: 480px;
}
.pdp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  margin: 0 0 8px;
  line-height: 1.25;
}
.pdp-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--texto);
  margin: 0 0 12px;
}
.pdp-desc { color: var(--texto-claro); margin-bottom: 16px; line-height: 1.5; }
.pdp-variations { margin-bottom: 16px; }
.pdp-var-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.pdp-var-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.pdp-var-card {
  border: 1px solid rgba(197,159,116,0.3);
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  font-size: 0.75rem;
  background: #fff;
}
.pdp-var-swatch {
  height: 48px;
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid rgba(0,0,0,0.06);
}
.pdp-var-fosca { background: linear-gradient(135deg, #e8e4e0, #d4cfc9); }
.pdp-var-brilho { background: linear-gradient(135deg, #f5f0eb, #fff 40%, #e8e0d8); }
.pdp-var-holografica {
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #a18cd1, #fbc2eb);
}
.pdp-sections { margin-top: 20px; }
.pdp-block {
  border-top: 1px solid rgba(197,159,116,0.25);
  padding: 12px 0;
}
.pdp-block summary {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.pdp-block summary::-webkit-details-marker { display: none; }
.pdp-block summary::after { content: '+'; font-weight: 400; }
.pdp-block[open] summary::after { content: '−'; }
.pdp-block ul { margin: 10px 0 0; padding-left: 18px; color: var(--texto-claro); font-size: 0.9rem; }
.pdp-block p { margin: 10px 0 0; color: var(--texto-claro); font-size: 0.9rem; line-height: 1.55; }
.modelo-image { cursor: pointer; }

@media (max-width: 768px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
  }
  .pdp-thumb { width: 56px; height: 56px; flex-shrink: 0; }
}

/* ========== RODAPÉ + PÁGINAS ========== */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.footer-col h4, .footer-contact h4 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--dourado);
}
.footer-link-btn {
  display: block;
  background: none;
  border: none;
  color: inherit;
  text-align: left;
  padding: 4px 0;
  cursor: pointer;
  font-size: 0.9rem;
  opacity: 0.9;
}
.footer-link-btn:hover { opacity: 1; text-decoration: underline; }
.modal-page {
  max-width: 640px;
  width: 94%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px 24px;
}
.page-content h2 {
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 16px;
}
.page-body {
  line-height: 1.65;
  color: var(--texto-claro);
  font-size: 0.95rem;
}
.site-banner {
  width: 100%;
  overflow: hidden;
}
.site-banner .banner-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.banner-inner { position: relative; }
.banner-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(61,58,56,0.55));
  color: #fff;
  text-align: center;
}

/* ========== UPLOAD LAMINAÇÃO ========== */
.lam-admin-list { display: flex; flex-direction: column; gap: 12px; }
.lam-admin-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(197,159,116,0.25);
  border-radius: 10px;
  background: #fff;
}
.lam-admin-preview {
  width: 64px; height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f0ee;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lam-admin-img { width: 100%; height: 100%; object-fit: cover; }
.lam-admin-empty { font-size: 0.7rem; color: #999; text-align: center; }
.lam-admin-fields { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lam-admin-fields input[type="text"],
.lam-admin-fields input[type="number"] {
  width: 100%; padding: 6px 8px; border-radius: 6px;
  border: 1px solid rgba(197,159,116,0.3);
}

.pdp-var-photo {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 6px;
  display: block;
}

.option-list-visual {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}
.model-option-visual {
  display: block;
  border: 2px solid rgba(197,159,116,0.25);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  text-align: center;
}
.model-option-visual input { position: absolute; opacity: 0; pointer-events: none; }
.model-option-visual:has(input:checked) {
  border-color: var(--dourado);
  box-shadow: 0 0 0 2px rgba(197,159,116,0.25);
}
.model-option-visual .model-option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.lam-opt-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #f0ebe8, #e5ddd8);
}
.lam-opt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lam-opt-placeholder::after {
  content: 'Foto';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 0.75rem;
  color: #999;
}

/* ========== ANNOUNCEMENT / LOGO / SEARCH ========== */
.announcement-bar {
  width: 100%;
  padding: 8px 0;
  text-align: center;
  z-index: 1001;
  position: relative;
}
.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding: 0 36px;
}
.announcement-text {
  text-decoration: none;
  font-weight: 500;
  line-height: 1.3;
}
.announcement-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
}
.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.header-search {
  position: relative;
  flex: 1 1 160px;
  max-width: 260px;
  min-width: 120px;
}
.header-search input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid rgba(197,159,116,0.35);
  font-size: 0.85rem;
  background: #fff;
}
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  max-height: 280px;
  overflow-y: auto;
  z-index: 200;
  padding: 6px;
}
.search-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
  font-size: 0.85rem;
}
.search-item:hover { background: rgba(243,192,200,0.25); }
.search-empty { padding: 12px; font-size: 0.85rem; color: #888; margin: 0; }
.btn-cart-header {
  border: none;
  background: rgba(243,192,200,0.35);
  border-radius: 20px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-cart-header .cart-badge {
  background: var(--dourado);
  color: #fff;
  border-radius: 10px;
  padding: 0 6px;
  font-size: 0.75rem;
  min-width: 18px;
  justify-content: center;
}
@media (max-width: 768px) {
  .logo-img { height: 44px; max-width: 120px; }
  .header-search { max-width: none; flex: 1 1 100%; order: 5; }
  .header-whatsapp { display: none; }
}

/* ========== CAPA DETALHE ========== */
.modal-cover-detail { max-width: 900px; width: 96%; max-height: 92vh; overflow-y: auto; padding: 20px; }
.cover-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cover-detail-gallery .carousel { aspect-ratio: 3/4; border-radius: 12px; max-height: 480px; }
.cover-detail-info h2 { font-family: 'Cormorant Garamond', serif; margin: 4px 0 12px; }
.cover-detail-desc { color: var(--texto-claro); line-height: 1.5; margin-bottom: 16px; }
.capa-image { cursor: pointer; }
@media (max-width: 700px) { .cover-detail { grid-template-columns: 1fr; } }

/* ========== EDITOR DE IMAGEM ========== */
.img-editor-overlay { z-index: 10050; }
.img-editor-modal { max-width: 520px; width: 96%; padding: 20px; }
.img-editor-stage { background: #1a1a1a; border-radius: 12px; padding: 12px; margin: 12px 0; }
.img-editor-frame {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  position: relative;
  background: #2a2a2a;
  border-radius: 8px;
  touch-action: none;
  cursor: grab;
}
.img-editor-frame img {
  position: absolute;
  max-width: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center center;
}
.img-editor-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}
.img-editor-controls input[type=range] { flex: 1; }

/* ========== ADICIONAIS ========== */
.addon-section { margin: 16px 0; }
.addon-section-title {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dourado);
  margin: 0 0 10px;
  font-weight: 600;
}
.addon-price-live {
  margin-top: 12px;
  padding: 12px;
  background: rgba(243,192,200,0.2);
  border-radius: 10px;
  font-size: 0.9rem;
}
.addon-price-live strong { font-size: 1.05rem; }
.req { color: #c44; }

/* ========== HOME NOVA ========== */
.welcome-section { padding: 28px 0 8px; text-align: center; }
.welcome-box h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  margin: 0 0 8px;
  color: var(--texto);
}
.welcome-box p { color: var(--texto-claro); margin: 0; max-width: 560px; margin-inline: auto; }

.destaques { padding: 32px 0; }
.destaques-track-wrap { position: relative; }
.destaques-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 16px;
  -webkit-overflow-scrolling: touch;
}
.destaque-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid rgba(197,159,116,0.2);
}
.destaque-img { aspect-ratio: 1; background: #f8f4f2; cursor: pointer; }
.destaque-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.destaque-body { padding: 12px; }
.destaque-body h3 { font-size: 1rem; margin: 0 0 6px; font-family: 'Cormorant Garamond', serif; }
.destaque-price { margin: 0 0 10px; font-weight: 600; }
.destaque-actions { display: flex; gap: 8px; }
.destaques-nav {
  position: absolute; top: 40%; transform: translateY(-50%);
  z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(197,159,116,0.4); background: #fff;
  cursor: pointer; font-size: 1.25rem; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.destaques-nav.prev { left: -4px; }
.destaques-nav.next { right: -4px; }

.cat-banners { padding: 12px 0 28px; }
.cat-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.cat-banner-card {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none; color: inherit; gap: 8px;
}
.cat-banner-card img, .cat-banner-placeholder {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  background: linear-gradient(145deg, #f3c0c8, #e8d5c4);
}
.cat-banner-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 600; color: #fff;
}
.cat-banner-card span { font-size: 0.85rem; font-weight: 500; }

.info-banners { padding: 8px 0 32px; }
.info-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.info-banner-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px; border-radius: 12px;
  background: rgba(243,192,200,0.18);
  text-decoration: none; color: inherit;
  border: 1px solid rgba(197,159,116,0.2);
}
.info-banner-icon { font-size: 1.5rem; line-height: 1; }
.info-banner-card strong { display: block; margin-bottom: 4px; }
.info-banner-card p { margin: 0; font-size: 0.85rem; color: var(--texto-claro); }

.logo-sm { height: 36px !important; max-width: 100px !important; }
.logo-md { height: 52px !important; max-width: 160px !important; }
.logo-lg { height: 72px !important; max-width: 220px !important; }

.price-promo { color: #b8860b; font-weight: 700; }
.price-old { text-decoration: line-through; opacity: 0.55; font-size: 0.85em; margin-left: 6px; }
.modelo-sku { font-size: 0.75rem; color: #999; margin: 0 0 4px; }
.badge-destaque, .badge-promo {
  position: absolute; top: 8px; left: 8px;
  font-size: 0.7rem; padding: 3px 8px; border-radius: 6px;
  background: var(--dourado); color: #fff; font-weight: 600; z-index: 2;
}
.badge-promo { left: auto; right: 8px; background: #c45c7a; }
.modelo-image { position: relative; }

.footer-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
}
.footer-method-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 8px; opacity: 0.9; }
.footer-method-list { display: flex; flex-wrap: wrap; gap: 6px; }
.method-chip {
  font-size: 0.75rem; padding: 4px 10px; border-radius: 12px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.15);
}

.comp-products { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(197,159,116,0.25); }
.comp-title { font-size: 1.05rem; margin: 0 0 4px; }
.comp-sub { font-size: 0.85rem; color: var(--texto-claro); margin: 0 0 12px; }
.comp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.comp-card { cursor: pointer; }
.comp-card input { position: absolute; opacity: 0; }
.comp-card-inner {
  border: 2px solid rgba(197,159,116,0.25);
  border-radius: 12px; padding: 10px; text-align: center;
  display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem;
  background: #fff;
}
.comp-card input:checked + .comp-card-inner {
  border-color: var(--dourado);
  box-shadow: 0 0 0 2px rgba(197,159,116,0.25);
}
.comp-card-inner img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px;
}
.comp-card-inner em { font-style: normal; font-weight: 600; color: #b8860b; }

@media (max-width: 600px) {
  .footer-methods { grid-template-columns: 1fr; }
  .destaque-card { flex: 0 0 200px; }
}

/* ========== BANNER ROTATIVO ========== */
.site-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #f5efe9;
}
.banner-rotator {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  max-height: 420px;
  min-height: 180px;
}
.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.banner-slide .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-slide .banner-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 20px 36px;
  background: linear-gradient(transparent, rgba(45, 40, 38, 0.55));
  color: #fff;
  text-align: center;
  z-index: 2;
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: #3d3a38;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  line-height: 1;
}
.banner-arrow.prev { left: 12px; }
.banner-arrow.next { right: 12px; }
.banner-dots {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
}
.banner-dot.active { background: #fff; }

.bn-slide-admin {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(197,159,116,0.3);
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
}
.bn-slide-preview {
  aspect-ratio: 16 / 5;
  background: #f0ebe8;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bn-slide-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bn-slide-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.bn-slide-fields input[type="text"] {
  width: 100%;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(197,159,116,0.3);
}
@media (max-width: 700px) {
  .banner-rotator { aspect-ratio: 16 / 7; max-height: 280px; }
  .bn-slide-admin { grid-template-columns: 1fr; }
}

/* Variações e modelos em botões */
.model-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.model-option-btn {
  display: block;
  border: 2px solid rgba(197,159,116,0.3);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.model-option-btn input { position: absolute; opacity: 0; pointer-events: none; }
.model-option-btn .model-option-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}
.model-option-btn:has(input:checked) {
  border-color: var(--dourado, #C59F74);
  box-shadow: 0 0 0 2px rgba(197,159,116,0.25);
  background: rgba(243,192,200,0.12);
}
.model-opt-thumb {
  width: 48px; height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.model-opt-price { margin-left: auto; font-weight: 600; color: #b8860b; }
.var-btn .model-option-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.option-list .var-btn {
  flex: 1 1 calc(50% - 8px);
  min-width: 120px;
}

/* Modal capas com foto */
.modal-capa-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-capa-item:hover {
  border-color: rgba(197,159,116,0.6);
}

/* Editor de imagem */
.img-editor-frame {
  width: 100%;
  max-height: 360px;
  min-height: 200px;
  overflow: hidden;
  position: relative;
  background: #2a2a2a;
  border-radius: 8px;
  touch-action: none;
  cursor: grab;
  border: 2px dashed rgba(255,255,255,0.25);
}
.img-editor-frame img {
  position: absolute;
  max-width: none;
  user-select: none;
  pointer-events: none;
  transform-origin: center center;
}

/* Admin grupos de variação */
.ag-block {
  border: 1px solid rgba(197,159,116,0.3);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fff;
}
.ag-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.ag-head input[type="text"] {
  flex: 1;
  min-width: 100px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(197,159,116,0.3);
}
.ag-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.ag-choice input[type="text"] {
  flex: 1;
  min-width: 100px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid rgba(197,159,116,0.3);
}

.opt-desc { display: block; font-size: 0.75rem; color: #888; font-weight: 400; }
.option-list-multi .var-btn { flex: 1 1 100%; }
.suggest-card {
  border: 1px solid rgba(197,159,116,0.3);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  font-size: 0.85rem;
}
.suggest-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}
.suggest-card em { font-style: normal; font-weight: 600; color: #b8860b; }
.suggest-desc { font-size: 0.75rem; color: #888; }
.ag-dep {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.8rem;
}
.ag-table-hint { font-size: 0.8rem; color: #888; margin-bottom: 10px; }


/* Galeria de capas otimizada */
.capa-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.capa-search {
  flex: 1;
  min-width: 200px;
  padding: 11px 16px;
  border-radius: 50px;
  border: 1px solid rgba(197, 159, 116, 0.35);
  font-size: 0.9rem;
  background: #fff;
  outline: none;
}
.capa-search:focus {
  border-color: var(--dourado, #C59F74);
  box-shadow: 0 0 0 3px rgba(197, 159, 116, 0.18);
}
.capa-count {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
}
.capa-photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(45, 40, 38, 0.7);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.02em;
  z-index: 2;
}
.capas-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
@media (min-width: 768px) {
  .capas-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1100px) {
  .capas-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
.capa-image img {
  transition: transform 0.35s ease;
}
@media (hover: hover) {
  .capa-card:hover .capa-image img {
    transform: scale(1.04);
  }
}
.capa-card .capa-body {
  padding: 10px 10px 14px;
}
.capa-card .btn-sm {
  font-size: 0.72rem;
  padding: 8px 10px;
}
.filtros {
  position: sticky;
  top: 60px;
  z-index: 5;
  background: rgba(252, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  padding-top: 8px;
  margin-left: -4px;
  margin-right: -4px;
  padding-left: 4px;
  padding-right: 4px;
}

/* Detalhe da capa com lupa / zoom */
.modal-cover-detail {
  max-width: min(960px, 96vw);
  width: 96%;
  max-height: 94vh;
  overflow-y: auto;
  padding: 16px 18px 22px;
}
.cover-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.cover-zoom-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(68vh, 560px);
  background: #1a1817;
  border-radius: 12px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.cover-zoom-stage:active { cursor: grabbing; }
.cover-zoom-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
}
.cover-zoom-hint {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  pointer-events: none;
}
.cover-zoom-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.cover-zoom-controls .btn {
  min-width: 44px;
  font-weight: 700;
}
.cover-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.cover-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
}
.cover-thumb.active {
  border-color: var(--dourado, #C59F74);
}
.cover-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 700px) {
  .cover-detail { grid-template-columns: 1fr; }
  .cover-zoom-stage { max-height: 55vh; }
}

.admin-trigger-header {
  flex-shrink: 0;
  margin-left: 4px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  position: relative;
}

/* Foto principal do hero */
.hero-image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #f8e8ea, #f3f0ec);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-placeholder.is-empty .hero-placeholder-hint,
.hero-placeholder-hint {
  color: #b8a99a;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.hero-image-placeholder .hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.admin-hero-preview {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border: 1px dashed rgba(197,159,116,0.45);
}
.admin-hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== HOME LOJA (estrutura tipo e-commerce) ========== */
.topbar-social {
  background: #FFFDF9;
  border-bottom: 1px solid rgba(197,159,116,.25);
  font-size: .78rem;
  color: #5c5652;
}
.topbar-social-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.25rem;
  padding: .45rem 0;
}
.topbar-social-links { display: flex; gap: .85rem; }
.topbar-social-links a { color: #C59F74; text-decoration: none; font-weight: 500; }
.topbar-welcome { margin: 0; flex: 1; text-align: center; color: #3d3a38; }
.topbar-help { margin: 0; text-align: right; max-width: 340px; line-height: 1.35; }
.topbar-help a { color: #C59F74; }

.header-store { background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); }
.header-store-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.header-store .header-search { justify-self: start; max-width: 280px; width: 100%; }
.header-store .logo { justify-self: center; }
.header-store .header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.header-store .header-whatsapp { padding: .45rem .85rem; font-size: .8rem; }

.main-nav {
  background: #F3C0C8;
  position: relative;
  z-index: 40;
}
.main-nav-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem;
}
.main-nav .nav-link,
.main-nav .nav-item > a {
  color: #3d3a38;
  text-decoration: none;
  padding: .75rem .95rem;
  font-size: .88rem;
  font-weight: 500;
  display: inline-block;
  white-space: nowrap;
}
.main-nav .nav-link:hover,
.main-nav .nav-item:hover > a { background: rgba(255,255,255,.35); }
.main-nav .nav-item { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 280px;
  background: #fff;
  border: 1px solid rgba(197,159,116,.3);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  padding: 1rem 1.15rem;
  z-index: 50;
}
.main-nav .nav-item:hover .mega-menu,
.main-nav .nav-item:focus-within .mega-menu { display: grid; grid-template-columns: 1fr; gap: .35rem; }
.mega-menu a {
  color: #3d3a38;
  text-decoration: none;
  padding: .4rem .5rem;
  border-radius: 6px;
  font-size: .86rem;
}
.mega-menu a:hover { background: #FFF5F7; color: #C59F74; }

/* Banner 1580x600 proporção */
.banner-slot:empty { display: none; }
.site-banner {
  width: 100%;
  background: #FFF5F7;
}
.site-banner .banner-rotator {
  position: relative;
  max-width: 1580px;
  margin: 0 auto;
  aspect-ratio: 1580 / 600;
  overflow: hidden;
  background: #f7f0ee;
}
.site-banner .banner-slides { position: relative; width: 100%; height: 100%; }
.site-banner .banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.site-banner .banner-slide.active { opacity: 1; pointer-events: auto; }
.site-banner .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.site-banner .banner-content {
  position: absolute;
  left: 6%;
  bottom: 12%;
  max-width: 42%;
  color: #3d3a38;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
}
.site-banner .banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,.85);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
}
.site-banner .banner-arrow.prev { left: 12px; }
.site-banner .banner-arrow.next { right: 12px; }
.site-banner .banner-dots {
  position: absolute;
  bottom: 12px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.site-banner .banner-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.55); cursor: pointer;
}
.site-banner .banner-dot.active { background: #C59F74; }

.benefits-strip {
  background: #FFFDF9;
  border-bottom: 1px solid rgba(0,0,0,.05);
  padding: 1.25rem 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.benefit-item strong { display: block; font-size: .82rem; letter-spacing: .02em; color: #3d3a38; margin-bottom: .25rem; }
.benefit-item p { margin: 0; font-size: .78rem; color: #8A817C; }
.benefit-item a { color: #C59F74; }
.benefit-icon { font-size: 1.25rem; display: block; margin-bottom: .35rem; }

.home-categories { padding: 2rem 0 1rem; }
.home-categories-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
}
.home-cat-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  text-decoration: none;
  color: #3d3a38;
  text-align: center;
}
.home-cat-card img,
.home-cat-card .home-cat-ph {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  background: #FFF5F7;
  display: block;
}
.home-cat-card span {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  font-weight: 500;
}

.testimonials { padding: 2.5rem 0; background: #FFFDF9; }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(197,159,116,.2);
  border-radius: 14px;
  padding: 1.15rem;
}
.testimonial-card .stars { color: #C59F74; letter-spacing: 2px; margin-bottom: .5rem; }
.testimonial-card p { margin: 0 0 .75rem; font-size: .92rem; color: #5c5652; line-height: 1.45; }
.testimonial-card strong { font-size: .85rem; color: #3d3a38; }
.testimonial-card small { display: block; color: #8A817C; font-size: .78rem; margin-top: .2rem; }

.newsletter {
  background: #F3C0C8;
  padding: 2rem 0;
}
.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.newsletter-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.newsletter-form input {
  min-width: 240px;
  padding: .7rem 1rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  font-size: .95rem;
}
.newsletter-msg { width: 100%; margin: .5rem 0 0; font-size: .9rem; }

.product-card .btn-buy {
  margin-top: .5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .topbar-social-inner { flex-direction: column; text-align: center; }
  .topbar-help, .topbar-welcome { text-align: center; max-width: none; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .header-store-inner {
    grid-template-columns: auto 1fr auto;
  }
  .header-store .header-search { grid-column: 1 / -1; max-width: none; order: 3; }
  .main-nav-track {
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open .main-nav-track { max-height: 80vh; overflow-y: auto; }
  .main-nav .nav-item .mega-menu {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: .25rem 0 .5rem 1rem;
  }
  .main-nav .nav-item.open .mega-menu { display: grid; }
  .site-banner .banner-rotator { aspect-ratio: 4 / 5; }
  .site-banner .banner-content { max-width: 88%; left: 6%; bottom: 16%; }
}

@media (max-width: 560px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .header-store .header-whatsapp { display: none; }
}
