/* ==========================================================================
   VARIÁVEIS DINÂMICAS — PALETA CLEAN, NEUTRA & TONS PASTÉIS SOFISTICADOS
   ========================================================================== */
:root {
  --bg-main: #faf7f2;
  --bg-pastel: #f3ede4;
  --bg-card: #ffffff;
  
  --text-dark: #2c2623;
  --text-body: #5c534d;
  --text-muted: #8e837b;

  --primary-accent: #8c7a6b;
  --primary-hover: #736254;
  --pastel-blush: #efe5dc;
  --pastel-sage: #e4ebe5;

  --border-light: rgba(140, 122, 107, 0.18);
  --shadow-soft: 0 12px 35px rgba(44, 38, 35, 0.06);
  --shadow-hover: 0 20px 45px rgba(44, 38, 35, 0.12);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.hidden { display: none !important; }
.icon-xs { width: 16px; height: 16px; }
.icon-sm { width: 18px; height: 18px; }

/* ==========================================================================
   BARRA DE GERENCIAMENTO DO ADMIN (TOPBAR)
   ========================================================================== */
.admin-topbar {
  background: #231f1d;
  color: #f7f3ee;
  padding: 0.6rem 0;
  font-size: 0.84rem;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
}

.admin-topbar-actions {
  display: flex;
  gap: 0.65rem;
}

.btn-cms-action {
  background: var(--primary-accent);
  color: #fff;
  border: none;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-cms-action:hover {
  filter: brightness(1.1);
}

.btn-cms-logout {
  background: rgba(255, 255, 255, 0.1);
  color: #e2d9d0;
  border: none;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   CABEÇALHO DA LOJA (HEADER)
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 1.1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1;
  color: var(--text-dark);
}

.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-body);
  letter-spacing: 0.3px;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--primary-accent);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   BOTÕES ELEGANTES
   ========================================================================== */
.btn-primary-elegant {
  background: var(--primary-accent);
  color: #ffffff;
  border: 1px solid var(--primary-accent);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary-elegant:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-elegant {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.btn-outline-elegant:hover {
  border-color: var(--primary-accent);
  background: rgba(140, 122, 107, 0.06);
}

.btn-icon-subtle {
  background: var(--pastel-blush);
  color: var(--text-dark);
  border: 1px solid transparent;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.btn-icon-subtle:hover {
  border-color: var(--primary-accent);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.28);
}

.btn-full { width: 100%; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }

/* ==========================================================================
   HERO BANNER (COM IMAGEM DE FUNDO CONFIGURÁVEL)
   ========================================================================== */
.hero-banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  transition: background-image 0.6s ease, transform 8s ease;
  z-index: -2;
}

.hero-banner:hover .hero-bg {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 26, 23, 0.68) 0%, rgba(32, 26, 23, 0.35) 55%, rgba(32, 26, 23, 0.15) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 650px;
  color: #ffffff;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   FAIXA DE DESTAQUES
   ========================================================================== */
.features-strip {
  background: var(--pastel-blush);
  border-bottom: 1px solid var(--border-light);
  padding: 1.65rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.feature-item svg {
  color: var(--primary-accent);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.feature-item span {
  font-size: 0.82rem;
  color: var(--text-body);
}

/* ==========================================================================
   SEÇÕES & CABEÇALHOS EDITORIAIS
   ========================================================================== */
.section {
  padding: 5.5rem 0;
}

.section-pastel {
  background: var(--pastel-blush);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.section-desc {
  color: var(--text-body);
  font-size: 0.96rem;
}

/* ==========================================================================
   FILTROS E VITRINE DE PRODUTOS
   ========================================================================== */
.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-body);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary-accent);
  color: #ffffff;
  border-color: var(--primary-accent);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  min-width: 270px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dark);
  width: 100%;
}

/* Grade de Peças */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-img-box {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: #f2ece4;
  cursor: pointer;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--text-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
}

.product-desc {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  flex: 1;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.product-sizes {
  display: flex;
  gap: 0.3rem;
}

.size-chip {
  font-size: 0.72rem;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  background: var(--pastel-blush);
  color: var(--text-body);
  font-weight: 500;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.btn-whatsapp-card {
  background: var(--primary-accent);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-whatsapp-card:hover {
  background: var(--primary-hover);
}

.btn-quickview {
  background: var(--pastel-blush);
  color: var(--text-dark);
  border: none;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.btn-quickview:hover {
  background: #e3d5c8;
}

/* ==========================================================================
   GALERIA LOOKBOOK
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(32, 26, 23, 0.78), transparent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 400;
}

/* ==========================================================================
   SOBRE A MARCA
   ========================================================================== */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

.about-decorative-frame {
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1px solid var(--primary-accent);
  border-radius: var(--radius-md);
  z-index: 1;
}

.about-paragraph {
  font-size: 1.02rem;
  color: var(--text-body);
  margin: 1.2rem 0 2rem;
}

.brand-contact-card {
  background: var(--pastel-blush);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.contact-row svg {
  color: var(--primary-accent);
}

.contact-row span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.contact-row a,
.contact-row strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.footer {
  background: #231f1d;
  color: #e6dfd8;
  padding: 3.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
}

.footer-brand p {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: #a69b92;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.82rem;
  color: #9c9086;
}

/* ==========================================================================
   MODAIS (QUICK VIEW & LOGIN)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32, 26, 23, 0.55);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pastel-blush);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.product-modal-card {
  max-width: 820px;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-modal-img-wrap {
  height: 480px;
}

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

.product-modal-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-modal-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 0.3rem 0 0.5rem;
}

.modal-price {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

.modal-sizes-section label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sizes-list {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.size-selectable {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
}

.size-selectable.selected {
  background: var(--primary-accent);
  color: #fff;
  border-color: var(--primary-accent);
}

.btn-whatsapp-full {
  background: #2e6f40;
  color: #fff;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Modal de Login */
.login-modal-card {
  max-width: 430px;
  padding: 2.4rem;
}

.login-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pastel-blush);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}

.login-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
}

.login-header p {
  font-size: 0.86rem;
  color: var(--text-body);
}

.login-hint {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--pastel-blush);
  padding: 0.55rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO (CMS DRAWER)
   ========================================================================== */
.cms-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(32, 26, 23, 0.55);
  backdrop-filter: blur(5px);
  z-index: 400;
  display: flex;
  justify-content: flex-end;
}

.cms-panel {
  width: 100%;
  max-width: 860px;
  background: #fcfaf7;
  height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.2);
}

.cms-header {
  padding: 1.4rem 2rem;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-header h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
}

.cms-header p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.cms-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--pastel-blush);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.cms-tab {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.cms-tab.active {
  background: #fff;
  color: var(--text-dark);
  border-color: var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cms-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.8rem 2rem;
}

.cms-group {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}

.cms-group h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.cms-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.form-field {
  margin-bottom: 0.95rem;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.35rem;
}

.form-field input[type="text"],
.form-field input[type="password"],
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  background: #faf7f2;
  color: var(--text-dark);
}

.file-input {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.5rem;
  background: var(--pastel-blush);
  border-radius: var(--radius-sm);
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.color-picker-wrap input[type="color"] {
  width: 42px;
  height: 38px;
  border: none;
  background: none;
  cursor: pointer;
}

.palette-presets {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #faf7f2;
  font-size: 0.78rem;
  cursor: pointer;
}

.preset-btn:hover {
  border-color: var(--primary-accent);
}

.cms-inline-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* Lista de Produtos no CMS */
.cms-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cms-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #faf7f2;
}

.cms-item-row img {
  width: 56px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
}

.cms-item-info {
  flex: 1;
}

.cms-item-info strong {
  display: block;
  font-size: 0.92rem;
}

.cms-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cms-item-actions {
  display: flex;
  gap: 0.4rem;
}

.btn-sm-cms {
  padding: 0.4rem 0.75rem;
  font-size: 0.76rem;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  background: #fff;
  cursor: pointer;
}

.btn-sm-danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.25);
}

/* Galeria no CMS */
.cms-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.cms-gal-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #faf7f2;
}

.cms-gal-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.cms-gal-card-body {
  padding: 0.6rem;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.cms-footer {
  padding: 1.1rem 2rem;
  background: #fff;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-save-status {
  font-size: 0.85rem;
  color: var(--text-body);
  font-weight: 500;
}

.cms-footer-btns {
  display: flex;
  gap: 0.75rem;
}

.form-error {
  color: #b91c1c;
  background: #fef2f2;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */
@media (max-width: 920px) {
  .features-grid,
  .about-split,
  .product-modal-grid,
  .cms-grid-2,
  .cms-grid-3 {
    grid-template-columns: 1fr;
  }

  .desktop-only,
  .hide-mobile {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
  }
}
