:root {
  --accent: #d94f78;
  --accent-dark: #b83c61;
  --accent-soft: #fff0f5;
  --ink: #1f2933;
  --muted: #6b7280;
  --line: #eadde2;
  --surface: #ffffff;
  --page: #f8f6f7;
  --success: #16803c;
  --warning: #9a6700;
  --danger: #c62828;
  --info: #2563eb;
  --shadow: 0 18px 45px rgba(31, 41, 51, 0.1);
  --shadow-soft: 0 8px 22px rgba(31, 41, 51, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  background: var(--page);
  color: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

button {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  outline-offset: 2px;
  border-color: var(--accent) !important;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 8%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.logo,
.sidebar-brand {
  font-size: 26px;
  font-weight: 900;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
}

.brand-logo {
  width: auto;
  max-width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  display: block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.12;
}

.logo {
  flex: 1 1 260px;
  max-width: min(560px, 100%);
  min-width: 0;
}

.logo .brand-name {
  color: var(--ink);
}

.logo span,
.sidebar-brand span,
.login-box span {
  color: var(--accent);
}

.menu {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 24px;
  min-width: 0;
}

.menu a {
  color: var(--muted);
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--accent);
}

.menu-carrinho-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  transition: color 0.2s ease;
}

.menu-carrinho-link:hover {
  color: var(--accent);
}

.menu-carrinho-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  padding: 0 7px;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.btn-principal,
.btn-secundario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-principal {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 22px rgba(217, 79, 120, 0.24);
}

.btn-principal:hover,
.btn-secundario:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-secundario {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: 44px;
  min-height: 540px;
  padding: 70px 8%;
}

.tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

.hero-texto h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 56px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.hero-texto p {
  max-width: 560px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.hero-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 32px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    url("https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=900&auto=format&fit=crop");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-loja {
  position: relative;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 760px);
  isolation: isolate;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.hero-loja::after {
  position: absolute;
  inset: auto 8% 38px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.32);
}

.hero-loja-conteudo {
  animation: fadeUp 0.75s ease both;
}

.hero-logo {
  width: auto;
  max-width: min(180px, 52vw);
  max-height: 94px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.tag-luxo {
  background: rgba(255, 255, 255, 0.88);
  color: #9f6b2f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-loja .hero-texto h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(46px, 8vw, 92px);
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero-loja .hero-texto p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.btn-hero-secundario {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(10px);
}

.home-slider,
.beneficios-loja,
.categorias-destaque,
.vitrine-editorial,
.banner-secundario-loja,
.newsletter-loja,
.depoimentos-loja,
.instagram-loja {
  padding: 64px 8%;
}

.home-slider {
  background: #fffafc;
}

.slider-trilho {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.slide-loja {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(26px, 5vw, 58px);
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 1.2s ease;
}

.slide-loja.ativo {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide-loja div {
  max-width: 560px;
  color: #fff;
}

.slide-loja span {
  display: inline-block;
  margin-bottom: 10px;
  color: #f6d28d;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-loja h2,
.banner-secundario-loja h2,
.newsletter-loja h2,
.instagram-loja h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.slide-loja p,
.banner-secundario-loja p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.slider-pontos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-pontos button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #eadde2;
}

.slider-pontos button.ativo {
  background: var(--accent);
}

.beneficios-loja {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #fff;
}

.beneficios-loja article,
.depoimentos-grid article,
.home-destaques-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.beneficios-loja article {
  display: grid;
  gap: 9px;
  padding: 22px;
}

.beneficios-loja span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fbf0f3;
  color: #9f6b2f;
  font-weight: 900;
}

.beneficios-loja small,
.newsletter-loja p,
.instagram-loja p,
.depoimentos-loja p {
  color: var(--muted);
  line-height: 1.65;
}

.centralizado {
  text-align: center;
}

.categorias-destaque {
  background: #f9f4f6;
}

.categorias-vitrine,
.vitrine-produtos,
.home-destaques-grid,
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.categoria-card-moda,
.produto-mini-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.categoria-card-moda {
  min-height: 260px;
  color: #fff;
}

.categoria-card-moda img,
.produto-mini-card img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.categoria-card-moda img {
  height: 100%;
  min-height: 260px;
  filter: brightness(0.72);
}

.categoria-card-moda:hover img,
.produto-mini-card:hover img {
  transform: scale(1.055);
}

.categoria-card-moda strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  font-size: 25px;
}

.vitrine-editorial {
  background: #fff;
}

.vitrine-produtos {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.produto-mini-card {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
}

.produto-mini-card img {
  height: 260px;
}

.produto-mini-card small,
.produto-mini-card strong,
.produto-mini-card span {
  margin-inline: 16px;
}

.produto-mini-card small {
  color: var(--accent-dark);
  font-weight: 800;
}

.produto-mini-card span {
  color: var(--ink);
  font-weight: 900;
}

.banner-secundario-loja {
  min-height: 380px;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.banner-secundario-loja > div {
  max-width: 620px;
}

.home-destaques-grid article {
  padding: 24px;
}

.home-destaques-grid h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.home-destaques-grid a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.home-destaques-grid a span {
  color: var(--muted);
}

.newsletter-loja {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 32px;
  background: #1f171a;
  color: #fff;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.newsletter-form input {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 14px;
}

.depoimentos-loja,
.instagram-loja {
  background: #fffafc;
}

.depoimentos-grid article {
  padding: 24px;
}

.depoimentos-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.depoimentos-grid span {
  color: var(--accent-dark);
  font-weight: 900;
}

.instagram-loja {
  text-align: center;
}

.instagram-loja p {
  max-width: 620px;
  margin: 0 auto 18px;
}

.aparencia-preview {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  border-radius: 8px;
  padding: 28px;
  background-position: center;
  background-size: cover;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.aparencia-preview span {
  color: #f6d28d;
  font-weight: 900;
}

.aparencia-preview strong {
  font-size: 34px;
  line-height: 1.1;
}

.bloco-interno {
  margin-top: 14px;
}

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

.area-produtos,
.area-carrinho,
.sobre {
  padding: 64px 8%;
}

.area-produtos {
  background: var(--surface);
}

.area-carrinho {
  background: var(--page);
}

.carrinho-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(31, 41, 51, 0.42);
  backdrop-filter: blur(3px);
}

.carrinho-backdrop[hidden] {
  display: none;
}

.carrinho-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(940px, 100vw);
  height: 100dvh;
  overflow-y: auto;
  padding: 28px;
  background: var(--page);
  box-shadow: -18px 0 45px rgba(31, 41, 51, 0.16);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s ease, visibility 0.28s ease;
}

.carrinho-drawer.aberto {
  transform: translateX(0);
  visibility: visible;
}

.carrinho-aberto {
  overflow: hidden;
}

.carrinho-drawer-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.carrinho-drawer-topo .titulo-area {
  margin-bottom: 0;
}

.fechar-carrinho {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.carrinho-drawer .checkout-mercado {
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
}

.carrinho-drawer .checkout-bloco,
.carrinho-drawer .resumo-compra {
  box-shadow: 0 10px 22px rgba(31, 41, 51, 0.06);
}

.carrinho-drawer .pagamento-opcoes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.titulo-area {
  margin-bottom: 24px;
}

.titulo-area h2,
.sobre h2 {
  margin-bottom: 8px;
  font-size: 36px;
}

.titulo-area p,
.sobre p {
  color: var(--muted);
  line-height: 1.7;
}

.filtros,
.barra-produtos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.categorias-loja {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.categoria-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: white;
  color: var(--muted);
  font-weight: 800;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.categoria-link:hover,
.categoria-link.ativo {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.mensagem-categorias {
  margin-bottom: 18px;
  text-align: left;
}

.filtros input,
.filtros select,
.barra-produtos input,
.barra-produtos select,
.form-produto input,
.form-produto textarea,
.form-produto select,
.login-box input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filtros input,
.barra-produtos input {
  max-width: 360px;
}

.busca-cliente-wrapper {
  position: relative;
  flex: 1 1 320px;
  max-width: 520px;
  min-width: min(100%, 260px);
}

.barra-produtos .busca-cliente-wrapper input[type="search"] {
  max-width: none;
  padding-right: 42px;
}

.resultados-busca-cliente {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 45;
  display: grid;
  width: min(520px, 100%);
  max-height: 430px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.resultado-cliente {
  display: grid;
  gap: 7px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  background: white;
  color: var(--ink);
  text-align: left;
}

.resultado-cliente:last-child {
  border-bottom: 0;
}

.resultado-cliente:hover,
.resultado-cliente:focus-visible {
  background: var(--accent-soft);
  transform: none;
}

.resultado-cliente-topo,
.resultado-cliente-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-width: 0;
}

.resultado-cliente-topo strong {
  overflow-wrap: anywhere;
}

.resultado-cliente-meta {
  color: var(--muted);
  font-size: 13px;
}

.resultado-cliente-estado,
.resultado-cliente-vazio {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--muted);
}

.resultado-cliente-estado.erro {
  color: var(--danger);
}

.resultado-cliente-vazio strong {
  color: var(--ink);
}

.btn-pequeno {
  min-height: 36px;
  width: fit-content;
  padding: 9px 12px;
  font-size: 13px;
}

.filtros select,
.barra-produtos select {
  max-width: 240px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 79, 120, 0.12);
}

.produtos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.produto-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.produto-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--accent-soft);
}

.produto-info {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.produto-info small {
  color: var(--accent);
  font-weight: 800;
}

.produto-info h3 {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.produto-info p {
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.preco {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 900;
}

.preco-crediario {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: -4px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  background: #22c55e;
  color: white;
  font-weight: 800;
}

.btn-whatsapp.indisponivel {
  background: #a3a3a3;
  pointer-events: none;
}

.acoes-loja {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acoes-loja button {
  flex: 1 1 120px;
}

.acoes-loja button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.relacionados small {
  color: var(--muted);
}

.checkout-grid,
.checkout-mercado {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.checkout-mercado {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
}

.checkout-coluna-principal {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.checkout-bloco,
.resumo-compra {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 30px rgba(31, 41, 51, 0.05);
}

.checkout-bloco {
  padding: 24px;
}

.checkout-bloco-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.checkout-bloco-topo > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.checkout-bloco-topo h3,
.resumo-compra h3 {
  font-size: 21px;
  overflow-wrap: anywhere;
}

.checkout-bloco-topo small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.checkout-etapa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.itens-carrinho {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.itens-carrinho.mercado {
  margin: 0;
}

.item-carrinho.mercado-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto minmax(110px, auto);
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
}

.item-carrinho.mercado-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.item-carrinho img {
  width: 92px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
  object-fit: cover;
}

.item-carrinho-info {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.item-carrinho-info strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.item-carrinho-info span,
.item-carrinho-info small,
.item-carrinho-preco span {
  color: var(--muted);
}

.remover-link {
  width: fit-content;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
}

.controle-quantidade {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.controle-quantidade button {
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: 18px;
  font-weight: 900;
}

.controle-quantidade strong {
  min-width: 38px;
  text-align: center;
}

.item-carrinho-preco {
  display: grid;
  gap: 5px;
  text-align: right;
}

.item-carrinho-preco strong {
  color: var(--accent-dark);
  font-size: 20px;
}

.carrinho-vazio {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 34px;
  text-align: center;
}

.carrinho-vazio strong {
  font-size: 22px;
}

.carrinho-vazio p {
  max-width: 420px;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-form-grid label,
.parcelas-campo {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.checkout-campo-amplo {
  grid-column: 1 / -1;
}

.checkout-frete-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--page);
}

.checkout-frete-card .frete-opcoes {
  flex: 1 1 100%;
  width: 100%;
}

.checkout-frete-card p {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.frete-opcoes {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.frete-opcoes-titulo {
  color: var(--ink);
  font-size: 14px;
}

.frete-opcoes-ajuda {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

.frete-opcao-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 8px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.frete-opcao-card:hover,
.frete-opcao-card.ativo {
  border-color: var(--accent);
  box-shadow: 0 10px 24px rgba(217, 79, 120, 0.12);
  transform: translateY(-1px);
}

.frete-opcao-card input {
  accent-color: var(--accent);
}

.frete-opcao-icone {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-soft);
}

.frete-opcao-card span,
.frete-opcao-card strong {
  font-weight: 900;
}

.frete-opcao-card small {
  grid-column: 3 / -1;
  color: var(--muted);
}

.frete-opcao-selecionar {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--accent-soft);
  padding: 5px 10px;
  color: var(--accent-dark) !important;
  font-weight: 900;
  cursor: pointer;
}

.frete-opcao-card.ativo .frete-opcao-selecionar {
  background: var(--accent);
  color: #fff !important;
}

.frete-modalidades {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.frete-modalidades label {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}

.frete-modalidades input {
  width: auto;
  min-height: auto;
  accent-color: var(--accent);
}

.pagamento-topo {
  margin-top: 24px;
}

.pagamento-opcoes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.pagamento-opcao {
  display: grid;
  gap: 5px;
  min-height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pagamento-opcao:hover,
.pagamento-opcao.ativo {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(217, 79, 120, 0.12);
  transform: translateY(-1px);
}

.pagamento-opcao.opcao-oculta {
  display: none !important;
}

.pagamento-opcao input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.pagamento-opcao span {
  font-weight: 900;
}

.pagamento-opcao small {
  color: var(--muted);
  line-height: 1.35;
}

.opcoes-entrega {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.opcao-entrega-card {
  display: grid;
  gap: 8px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: white;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.opcao-entrega-card:hover,
.opcao-entrega-card.ativo {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(217, 79, 120, 0.12);
  transform: translateY(-1px);
}

.opcao-entrega-card input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.opcao-entrega-card span {
  font-weight: 900;
}

.opcao-entrega-card small {
  color: var(--muted);
  line-height: 1.35;
}

.retirada-info {
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  padding: 14px;
  margin-bottom: 16px;
}

.retirada-info p {
  margin-top: 6px;
}

.parcelas-campo {
  margin-top: 14px;
}

.parcelas-campo[hidden] {
  display: none;
}

.resumo-compra {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.linha-resumo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.linha-resumo strong {
  color: var(--ink);
  text-align: right;
}

.linha-resumo.total {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
}

.linha-resumo.total strong {
  color: var(--accent-dark);
  font-size: 26px;
}

.resumo-ajuda {
  border-radius: 8px;
  padding: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  line-height: 1.45;
}

.btn-finalizar-compra {
  width: 100%;
}

.btn-finalizar-compra:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.continuar-comprando {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 900;
  text-align: center;
}

.conta-box {
  max-width: 860px;
}

.checkout-page {
  min-height: calc(100vh - 90px);
}

.confirmacao-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(217, 79, 120, 0.12), transparent 34%),
    linear-gradient(180deg, #fff7fa 0%, #f8f6f7 42%, #ffffff 100%);
  color: var(--ink);
}

.confirmacao-topo {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
}

.confirmacao-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 64px;
}

.confirmacao-hero {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 44px 24px;
  border: 1px solid rgba(217, 79, 120, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 70px rgba(104, 31, 55, 0.10);
  text-align: center;
}

.icone-sucesso {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 52px;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(34, 197, 94, 0.26);
  animation: sucesso-pop 0.5s ease both;
}

.confirmacao-kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.confirmacao-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.confirmacao-mensagem {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.confirmacao-acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.confirmacao-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.72fr);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.confirmacao-principal {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.confirmacao-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 24px;
  box-shadow: 0 18px 46px rgba(25, 31, 45, 0.08);
}

.card-cabecalho {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.card-cabecalho-distribuido {
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.card-cabecalho-distribuido > .card-cabecalho {
  margin-bottom: 0;
}

.pedido-status-badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent-soft);
  padding: 8px 12px;
  color: var(--accent-dark);
  font-size: 12px;
  text-transform: capitalize;
}

.card-cabecalho h2,
.confirmacao-card h2 {
  margin: 0;
  font-size: 21px;
  overflow-wrap: anywhere;
}

.card-cabecalho p,
.confirmacao-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.card-icone {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 22px;
}

.card-icone.grande {
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  font-size: 27px;
}

.resumo-pedido-lista {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.resumo-pedido-lista div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.resumo-pedido-lista dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.resumo-pedido-lista dd {
  margin: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.produtos-comprados {
  margin-top: 20px;
}

.produtos-comprados h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.produto-comprado {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.produto-comprado div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.produto-comprado strong {
  overflow-wrap: anywhere;
}

.produto-comprado span {
  color: var(--muted);
  font-weight: 800;
}

.totais-pedido {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.totais-pedido > div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.totais-pedido span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.totais-pedido strong {
  font-size: 18px;
}

.totais-pedido .resumo-total {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.totais-pedido .resumo-total span,
.totais-pedido .resumo-total strong {
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 900;
}

.confirmacao-lateral {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.confianca-card {
  border-color: rgba(34, 197, 94, 0.28);
}

.pix-teste-card {
  border-color: rgba(37, 99, 235, 0.22);
}

.pix-teste-card .card-icone {
  background: #e0f2fe;
  color: #075985;
  font-size: 16px;
  font-weight: 900;
}

.qr-teste {
  width: min(156px, 100%);
  aspect-ratio: 1;
  margin: 14px auto;
  border: 8px solid #fff;
  border-radius: 12px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px 40px, #111 40px 50px, transparent 50px),
    linear-gradient(#111 10px, transparent 10px 20px, #111 20px 30px, transparent 30px 40px, #111 40px 50px, transparent 50px),
    repeating-linear-gradient(45deg, #111 0 7px, #fff 7px 14px);
  background-size: 60px 60px, 60px 60px, 18px 18px;
  box-shadow: inset 0 0 0 10px #fff, 0 12px 28px rgba(15, 23, 42, 0.12);
}

.pix-copia-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.pix-teste-card textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  outline: none;
}

.pix-teste-card button {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

.pix-feedback {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: var(--success);
  font-weight: 800;
  text-align: center;
}

.confianca-card .card-icone {
  background: #ecfdf3;
  color: #166534;
}

.devolucao-card .btn-secundario {
  margin-top: 14px;
}

.prazo-devolucao {
  margin-top: 12px !important;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--accent-soft);
  padding: 12px 14px;
  color: var(--accent-dark) !important;
  font-weight: 800;
}

.devolucao-form-card {
  max-width: 900px;
  margin: 18px auto 0;
}

.devolucao-icone {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.timeline-card {
  margin-top: 0;
}

.timeline-pedido {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-etapa {
  position: relative;
  display: grid;
  min-height: 112px;
  place-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 16px 10px;
  text-align: center;
  color: var(--muted);
}

.timeline-etapa span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  font-weight: 900;
}

.timeline-etapa strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.timeline-etapa.concluida {
  border-color: rgba(34, 197, 94, 0.35);
  background: #f0fdf4;
  color: #166534;
}

.timeline-etapa.concluida span {
  background: #22c55e;
  color: #fff;
}

.timeline-etapa.atual {
  border-color: rgba(217, 79, 120, 0.42);
  background: var(--accent-soft);
  color: var(--accent-dark);
  box-shadow: 0 12px 26px rgba(217, 79, 120, 0.12);
}

.timeline-etapa.atual span {
  background: #fff;
  color: var(--accent-dark);
}

@keyframes sucesso-pop {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.status-pago {
  background: #ecfdf3;
}

.status-prazo {
  background: #ecfdf3;
}

.status-sem-divida {
  background: #f8fafc;
}

.status-cancelado {
  background: #f1f5f9;
}

.status-pendente {
  background: #eff6ff;
}

.status-atraso-leve {
  background: #fff7ed;
}

.status-atraso {
  background: #fef3c7;
}

.status-atraso-grave {
  background: #fecaca;
}

.cliente-em-dia {
  background: #f7fffb;
}

.cliente-sem-divida {
  background: #f8fafc;
}

.cliente-cancelado {
  background: #f8fafc;
  color: #64748b;
}

.cliente-cancelado td {
  border-bottom-color: #cbd5e1;
}

.cliente-devedor-pendente {
  background: #f7fffb;
}

.cliente-devedor-atrasado {
  background: #fffbeb;
}

.cliente-devedor-atrasado td {
  border-bottom-color: #fde68a;
}

.badge-pago {
  background: #dcfce7;
  color: #166534;
}

.badge-pendente {
  background: #dcfce7;
  color: #166534;
}

.badge-devedor {
  background: #fef3c7;
  color: #92400e;
}

.badge-sem-divida {
  background: #e5e7eb;
  color: #374151;
}

.badge-cancelado {
  background: #e2e8f0;
  color: #475569;
}

.painel-titulo {
  margin-top: 32px;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-conta-loja {
  color: var(--accent-dark) !important;
}

.form-checkout {
  display: grid;
  gap: 12px;
}

.form-checkout input,
.form-checkout select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: white;
  color: var(--ink);
  outline: none;
}

.form-produto input,
.form-produto select,
.form-produto textarea,
.barra-produtos input,
.barra-produtos select,
.painel-card input,
.painel-card select,
.painel-card textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-produto input:focus,
.form-produto select:focus,
.form-produto textarea:focus,
.barra-produtos input:focus,
.barra-produtos select:focus,
.painel-card input:focus,
.painel-card select:focus,
.painel-card textarea:focus,
.form-checkout input:focus,
.form-checkout select:focus {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.sobre {
  text-align: center;
}

.sobre p {
  max-width: 660px;
  margin: auto;
  font-size: 18px;
}

.rodape {
  padding: 24px;
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
  text-align: center;
}

.rodape p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.login-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-box {
  width: min(100%, 390px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 32px;
  box-shadow: var(--shadow);
}

.login-box h1 {
  margin-bottom: 10px;
  font-size: 32px;
}

.login-brand {
  display: flex;
  justify-content: center;
  max-width: 100%;
  text-align: center;
}

.login-brand-inner {
  justify-content: center;
  flex-wrap: wrap;
}

.login-brand-inner .brand-name {
  font-size: clamp(22px, 7vw, 32px);
  text-align: center;
}

.login-box p {
  margin-bottom: 24px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.login-box label,
.form-produto label {
  display: block;
  margin: 0 0 7px;
  color: var(--ink);
  font-weight: 800;
}

.login-box input {
  margin-bottom: 15px;
}

.login-box button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-weight: 900;
}

.erro {
  margin: 15px 0 0 !important;
  color: var(--ink) !important;
}

.admin-layout {
  min-height: 100vh;
  background: var(--page);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: 260px;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 26px;
}

.sidebar-brand {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

.sidebar-brand-inner {
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.sidebar-brand .brand-logo {
  max-width: 72px;
  height: 52px;
}

.sidebar-brand .brand-name {
  color: var(--accent);
  font-size: clamp(18px, 1.8vw, 25px);
}

.sidebar-nav {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.sidebar a {
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sidebar a:hover,
.sidebar a.ativo {
  background: var(--accent-soft);
  color: var(--accent-dark);
  transform: translateX(2px);
}

.sidebar-logout {
  margin-top: auto;
}

.admin-content {
  width: calc(100% - 260px);
  margin-left: 260px;
  padding: 34px;
}

.admin-navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.admin-navbar > div {
  min-width: 0;
}

.admin-eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-navbar h1 {
  margin-top: 4px;
  font-size: 34px;
  overflow-wrap: anywhere;
}

.admin-subtitle {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.admin-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.cards-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.cards-estoque {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards-dashboard-amplo {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-relatorios {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.card-dashboard,
.painel-card,
.tabela-container {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.card-dashboard,
.painel-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-dashboard:hover,
.painel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-dashboard {
  padding: 22px;
}

.card-dashboard span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.card-dashboard strong {
  color: var(--accent-dark);
  font-size: 34px;
  overflow-wrap: anywhere;
}

.painel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.painel-card {
  padding: 24px;
}

.painel-card h2 {
  margin-bottom: 10px;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.painel-card p {
  color: var(--muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.pagina-simples {
  max-width: 760px;
}

.configuracoes-grid {
  align-items: start;
}

.form-configuracoes {
  margin-top: 22px;
}

.preview-marca {
  display: flex;
  justify-content: center;
  min-width: 0;
  margin: 22px 0;
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
}

.preview-brand-inner {
  justify-content: center;
  flex-wrap: wrap;
  max-width: 100%;
}

.preview-brand-inner .brand-name {
  color: var(--accent);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  text-align: center;
}

.tabela-container {
  overflow-x: auto;
}

.tabela-produtos {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.tabela-produtos th,
.tabela-produtos td {
  border-bottom: 1px solid var(--line);
  padding: 15px;
  text-align: left;
  vertical-align: middle;
}

.tabela-produtos th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.tabela-produtos tr:last-child td {
  border-bottom: 0;
}

.tabela-produtos tbody tr {
  transition: background 0.16s ease;
}

.tabela-produtos tbody tr:hover {
  background: #f8fafc;
}

.tabela-produtos img {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--accent-soft);
}

.tabela-produtos small {
  display: block;
  max-width: 280px;
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
  white-space: normal;
}

.badge-categoria {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.status-ok {
  background: #e8f7ee;
  color: var(--success);
}

.status-baixo {
  background: #fff5d8;
  color: var(--warning);
}

.status-ultima {
  background: #ffe8a3;
  color: #8a5200;
}

.status-zero {
  background: #ffe6e6;
  color: var(--danger);
}

.linha-ultima td {
  background: #fff9e8;
}

.linha-indisponivel td {
  background: #fff1f1;
}

.input-estoque {
  width: 92px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
}

.input-estoque:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 79, 120, 0.12);
}

.barcode-preview {
  width: 170px !important;
  height: 54px !important;
  border-radius: 4px !important;
  object-fit: contain !important;
  background: white !important;
}

.acoes-etiquetas {
  min-width: 190px;
}

.input-quantidade-custom {
  max-width: 180px !important;
}

.input-etiqueta-qtd {
  width: 72px !important;
  min-width: 72px !important;
  text-align: center;
}

.preview-upload-produto {
  margin-top: 10px;
}

.preview-upload-produto img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form-opcoes-produto {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}

.acoes-imagem-produto,
.form-acoes,
.paginacao-produtos {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.paginacao-produtos {
  justify-content: flex-end;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 800;
}

.paginacao-produtos button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.produto-sem-imagem {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  background: #fff;
}

.produto-inativo {
  opacity: 0.72;
  background: #f8fafc;
}

.preview-etiqueta {
  display: grid;
  place-items: center;
  padding: 12px;
}

.etiqueta-termica {
  display: grid;
  width: 250px;
  min-height: 150px;
  align-content: start;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
  color: var(--ink);
}

.etiqueta-termica h1 {
  font-size: 15px;
  line-height: 1.2;
}

.etiqueta-termica p {
  color: var(--muted);
  font-size: 12px;
}

.etiqueta-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  color: var(--accent-dark);
  font-size: 13px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.etiqueta-logo span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

.etiqueta-logo-img {
  width: auto !important;
  max-width: 28px !important;
  height: 18px !important;
  object-fit: contain !important;
  flex: 0 0 auto;
}

.etiqueta-preco {
  justify-self: end;
  color: var(--accent);
  font-size: 16px;
}

.etiqueta-termica img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.etiqueta-termica small {
  text-align: center;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pagina-impressao-etiqueta {
  display: grid;
  min-height: 100vh;
  place-items: center;
  background: white;
}

.pdv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  margin-bottom: 24px;
}

.form-inline-pdv {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.form-inline-pdv input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
}

.pdv-grid select,
.pdv-grid input[type="search"],
.pdv-grid input[type="number"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0 12px;
  outline: none;
}

.busca-cliente-pdv {
  width: 100%;
  max-width: none;
  margin-bottom: 12px;
}

.busca-cliente-pdv .resultados-busca-cliente {
  width: 100%;
}

.cliente-selecionado-pdv {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 16px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px;
  background: #f0fdf4;
  color: #166534;
}

.cliente-selecionado-pdv div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cliente-selecionado-pdv small {
  font-weight: 800;
  text-transform: uppercase;
}

.cliente-selecionado-pdv strong,
.cliente-selecionado-pdv span {
  overflow-wrap: anywhere;
}

.cliente-selecionado-pdv span {
  color: #15803d;
  font-size: 13px;
}

.pdv-total {
  margin: 12px 0 16px;
  font-size: 18px;
}

.acoes-pos-venda {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.historico-vendas-pdv {
  margin-top: 26px;
}

.comprovante-body {
  min-height: 100vh;
  background: #f3f4f6;
  color: #111827;
}

.comprovante-acoes {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.cupom-termico {
  width: 80mm;
  max-width: calc(100vw - 24px);
  margin: 24px auto;
  padding: 5mm;
  background: white;
  color: #111;
  font-family: "Courier New", Consolas, monospace;
  font-size: 11px;
  line-height: 1.35;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
}

.comprovante-58 .cupom-termico {
  width: 58mm;
  padding: 4mm;
  font-size: 10px;
}

.cupom-centro {
  text-align: center;
}

.cupom-cabecalho,
.cupom-bloco,
.cupom-qr,
.cupom-assinatura,
.cupom-rodape {
  border-bottom: 1px dashed #111;
  padding: 8px 0;
}

.cupom-logo {
  display: block;
  max-width: 30mm;
  max-height: 16mm;
  margin: 0 auto 6px;
  object-fit: contain;
}

.cupom-termico h1,
.cupom-termico h2,
.cupom-termico p {
  margin: 0;
  overflow-wrap: anywhere;
}

.cupom-termico h1 {
  font-size: 14px;
  text-transform: uppercase;
}

.cupom-termico h2 {
  margin-bottom: 5px;
  font-size: 11px;
  text-transform: uppercase;
}

.cupom-linha {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0;
}

.cupom-linha strong {
  text-align: right;
}

.cupom-total {
  margin-top: 6px;
  border-top: 1px dashed #111;
  padding-top: 6px;
  font-size: 13px;
}

.cupom-itens {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cupom-itens th,
.cupom-itens td {
  padding: 3px 2px;
  border-bottom: 1px dotted #999;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.cupom-itens th:nth-child(1),
.cupom-itens td:nth-child(1) {
  width: 18%;
}

.cupom-itens th:nth-child(2),
.cupom-itens td:nth-child(2) {
  width: 28%;
}

.cupom-itens th:nth-child(3),
.cupom-itens td:nth-child(3) {
  width: 8%;
}

.cupom-qr svg {
  width: 30mm;
  height: 30mm;
  margin: 0 auto 5px;
}

.cupom-assinatura {
  padding-top: 18px;
  text-align: center;
}

.cupom-assinatura div {
  width: 70%;
  margin: 10px auto 4px;
  border-top: 1px solid #111;
}

.cupom-rodape {
  border-bottom: 0;
  padding-bottom: 0;
}

.cupom-rodape small {
  display: block;
  margin-top: 4px;
}

.filtros-relatorios select,
.filtros-relatorios input {
  flex: 1 1 180px;
}

.graficos-relatorios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.graficos-relatorios .painel-card {
  min-height: 330px;
}

.graficos-relatorios canvas {
  width: 100% !important;
  height: 250px !important;
}

.tabela-relatorios {
  min-width: 1120px;
}

.lucro-positivo {
  color: var(--success);
  font-weight: 900;
}

.lucro-zero {
  color: var(--muted);
  font-weight: 900;
}

.lucro-negativo {
  color: var(--danger);
  font-weight: 900;
}

@media print {
  @page {
    size: 50mm 30mm;
    margin: 0;
  }

  .pagina-impressao-etiqueta {
    min-height: auto;
  }

  .etiqueta-termica {
    width: 50mm;
    min-height: 30mm;
    border: 0;
    border-radius: 0;
    padding: 2mm;
  }
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.acoes button,
.acoes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 0;
  border-radius: 8px;
  padding: 0 12px;
  font-weight: 900;
}

.btn-editar {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.btn-excluir {
  background: #ffe6e6;
  color: var(--danger);
}

.desabilitado {
  opacity: 0.48;
  pointer-events: none;
  filter: grayscale(0.3);
}

.estado-vazio {
  color: var(--muted);
  text-align: center;
}

.loja-vazia {
  grid-column: 1 / -1;
  padding: 24px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(31, 41, 51, 0.55);
}

.modal.ativo {
  display: flex;
  animation: fadeIn 0.18s ease;
}

.modal-content {
  width: min(100%, 780px);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 26px;
  box-shadow: var(--shadow);
  animation: subir 0.2s ease;
}

.modal-menor {
  width: min(100%, 560px);
}

.modal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.modal-header h2 {
  font-size: 24px;
  overflow-wrap: anywhere;
}

.fechar-modal {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #ffe6e6;
  color: var(--danger);
  font-weight: 900;
}

.form-produto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-produto textarea {
  min-height: 105px;
  resize: vertical;
}

.form-produto .full,
.form-feedback,
.form-produto button {
  grid-column: 1 / -1;
}

.form-produto small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.campo-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--ink);
}

.campo-checkbox input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.form-feedback {
  min-height: 18px;
  color: var(--muted);
}

.erro-form {
  color: var(--danger);
}

.sucesso-form {
  color: var(--success);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes subir {
  from {
    transform: translateY(10px);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .hero,
  .checkout-grid,
  .checkout-mercado,
  .painel-grid {
    grid-template-columns: 1fr;
  }

  .resumo-compra {
    position: static;
  }

  .carrinho-drawer {
    width: min(760px, 100vw);
    padding: 24px;
  }

  .carrinho-drawer .checkout-mercado {
    grid-template-columns: 1fr;
  }

  .produtos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-estoque {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-dashboard-amplo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-relatorios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .frete-modalidades {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .graficos-relatorios {
    grid-template-columns: 1fr;
  }

  .pdv-grid {
    grid-template-columns: 1fr;
  }

  .confirmacao-grid,
  .timeline-pedido {
    grid-template-columns: 1fr;
  }

  .confirmacao-lateral {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pix-teste-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .topo {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 6%;
  }

  .logo {
    width: 100%;
    flex-basis: auto;
  }

  .loja-brand-inner {
    width: 100%;
    align-items: flex-start;
  }

  .menu {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .area-produtos,
  .sobre,
  .home-slider,
  .beneficios-loja,
  .categorias-destaque,
  .vitrine-editorial,
  .banner-secundario-loja,
  .newsletter-loja,
  .depoimentos-loja,
  .instagram-loja {
    padding: 48px 6%;
  }

  .hero-loja {
    min-height: 680px;
    align-items: end;
  }

  .hero-acoes {
    width: 100%;
  }

  .hero-acoes .btn-principal,
  .hero-acoes .btn-secundario {
    flex: 1 1 190px;
  }

  .beneficios-loja,
  .categorias-vitrine,
  .vitrine-produtos,
  .home-destaques-grid,
  .depoimentos-grid,
  .newsletter-loja {
    grid-template-columns: 1fr;
  }

  .slide-loja {
    padding: 24px;
  }

  .slider-trilho,
  .banner-secundario-loja {
    min-height: 420px;
  }

  .carrinho-drawer {
    width: 100vw;
    padding: 18px;
  }

  .carrinho-drawer-topo {
    align-items: flex-start;
  }

  .carrinho-drawer .titulo-area h2 {
    font-size: 30px;
  }

  .hero-texto h1 {
    font-size: 40px;
  }

  .produtos,
  .cards-dashboard,
  .form-produto,
  .checkout-form-grid,
  .pagamento-opcoes,
  .opcoes-entrega {
    grid-template-columns: 1fr;
  }

  .checkout-bloco,
  .resumo-compra {
    padding: 18px;
  }

  .checkout-bloco-topo,
  .checkout-frete-card {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-bloco-topo small {
    text-align: left;
  }

  .item-carrinho.mercado-item {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
  }

  .item-carrinho img {
    width: 76px;
  }

  .controle-quantidade,
  .item-carrinho-preco {
    grid-column: 2;
  }

  .item-carrinho-preco {
    text-align: left;
  }

  .filtros input,
  .filtros select,
  .barra-produtos input,
  .barra-produtos select {
    max-width: none;
  }

  .sidebar {
    position: static;
    width: 100%;
    height: auto;
  }

  .admin-content {
    width: 100%;
    margin-left: 0;
    padding: 24px 18px;
  }

  .admin-navbar,
  .admin-topo,
  .form-inline-pdv {
    align-items: stretch;
    flex-direction: column;
  }

  .form-produto .full,
  .form-feedback,
  .form-produto button {
    grid-column: auto;
  }

  .confirmacao-container {
    width: min(100% - 24px, 720px);
    padding: 24px 0 40px;
  }

  .confirmacao-hero,
  .confirmacao-card {
    border-radius: 14px;
    padding: 18px;
  }

  .confirmacao-hero h1 {
    font-size: 30px;
  }

  .confirmacao-mensagem {
    font-size: 15px;
  }

  .resumo-pedido-lista {
    grid-template-columns: 1fr;
  }

  .totais-pedido {
    grid-template-columns: 1fr;
  }

  .confirmacao-lateral {
    grid-template-columns: 1fr;
  }

  .card-cabecalho-distribuido {
    align-items: stretch;
    flex-direction: column;
  }

  .pedido-status-badge {
    justify-self: start;
  }

  .produto-comprado {
    align-items: flex-start;
    flex-direction: column;
  }

  .frete-modalidades,
  .frete-opcao-card {
    grid-template-columns: 1fr;
  }

.frete-opcao-card small {
    grid-column: auto;
  }

  .confirmacao-acoes .btn-principal,
  .confirmacao-acoes .btn-secundario,
  .devolucao-card .btn-secundario {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 781px) and (max-width: 1120px) {
  .beneficios-loja,
  .vitrine-produtos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .categorias-vitrine,
  .home-destaques-grid,
  .depoimentos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.modal-amplo .modal-content {
  width: min(980px, calc(100vw - 28px));
}

.fiscal-alerta {
  margin: 12px 0 18px;
  overflow-wrap: anywhere;
}

.fiscal-dados-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fiscal-bloco {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

.fiscal-bloco-amplo {
  grid-column: 1 / -1;
}

.fiscal-bloco h3 {
  color: #111827;
  font-size: 16px;
  margin: 0 0 10px;
}

.fiscal-bloco p {
  color: #475569;
  line-height: 1.45;
  margin: 6px 0;
  overflow-wrap: anywhere;
}

.tabela-mini {
  display: grid;
  gap: 10px;
}

.tabela-mini-linha {
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(160px, 1.5fr) repeat(4, minmax(90px, 1fr));
  padding: 12px;
}

.tabela-mini-linha span,
.tabela-mini-linha strong {
  overflow-wrap: anywhere;
}

.rodape-loja {
  background: #111827;
  color: #f8fafc;
  padding: 42px clamp(18px, 4vw, 56px) 24px;
}

.rodape-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.rodape-grid h2 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 12px;
}

.rodape-grid p,
.rodape-grid small {
  color: #cbd5e1;
  display: block;
  line-height: 1.55;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}

.rodape-links,
.redes-sociais,
.pagamento-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rodape-links,
.redes-sociais {
  flex-direction: column;
}

.rodape-links a,
.redes-sociais a {
  color: #e5e7eb;
  text-decoration: none;
}

.redes-sociais a {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 4px 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.redes-sociais a:hover,
.redes-sociais a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;
  transform: translateX(2px);
}

.redes-sociais a span,
.pagamento-badges span {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  display: inline-flex;
  min-height: 32px;
  padding: 6px 10px;
}

.redes-sociais a span {
  justify-content: center;
  min-width: 36px;
  padding-inline: 8px;
}

.social-instagram span {
  background: linear-gradient(135deg, #f97316, #db2777 45%, #7c3aed);
}

.social-facebook span {
  background: #1877f2;
}

.social-tiktok span {
  background: #020617;
}

.acoes-secao {
  display: flex;
  justify-content: flex-start;
}

.compra-protegida {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 14px;
  margin-top: 14px;
  padding: 14px;
}

.compra-protegida strong {
  color: #d1fae5;
}

.rodape-base {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 28px auto 0;
  max-width: 1180px;
  padding-top: 18px;
}

.whatsapp-flutuante {
  align-items: center;
  background: #16a34a;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.28);
  color: #fff;
  display: inline-flex;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  position: fixed;
  right: 18px;
  text-decoration: none;
  z-index: 50;
}

.sobre-detalhes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.sobre-detalhes span {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 12px;
}

.pagina-institucional {
  background: #f8fafc;
  padding: 48px 18px;
}

.pagina-institucional-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  margin: 0 auto;
  max-width: 860px;
  padding: clamp(22px, 4vw, 44px);
}

.texto-institucional {
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
  white-space: pre-line;
}

.painel-subsecao {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px;
}

.painel-subsecao h4 {
  margin: 0 0 10px;
}

.produtos {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.produto-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (max-width: 760px) {
  .fiscal-dados-grid,
  .tabela-mini-linha {
    grid-template-columns: 1fr;
  }

  .rodape-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-flutuante {
    bottom: 14px;
    max-width: calc(100vw - 28px);
    right: 14px;
  }
}

@media (max-width: 520px) {
  .produtos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .produto-card {
    min-width: 0;
  }

  .produto-card h3,
  .produto-card p,
  .produto-card small {
    overflow-wrap: anywhere;
  }

  .acoes-loja {
    align-items: stretch;
    flex-direction: column;
  }
}

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