:root {
  /* Paleta inspirada nos mostruários Estofados Juliu's:
     tecidos em tom osso/areia, costuras em carvão quente,
     acento vermelho-terracota (da marca) e verde-sálvia (segunda pele) */
  --bg: #f7f1e7;
  --bg-deep: #ecdfc9;
  --ink: #221f1c;
  --muted: #837a6c;
  --muted-soft: #a89d8b;
  --card: #fffefb;
  --line: #e5d9c4;
  --line-strong: #d8c8ab;

  --accent: #b23b2c;
  --accent-hover: #94301f;
  --accent-soft: rgba(178, 59, 44, 0.09);
  --accent-soft-strong: rgba(178, 59, 44, 0.16);

  --sage: #6e7859;
  --sage-soft: rgba(110, 120, 89, 0.12);

  --gold: #a9834b;
  --danger: #9b2c2c;
  --ok: #3f7a52;

  --shadow: 0 16px 34px rgba(34, 31, 28, 0.09);
  --shadow-sm: 0 6px 16px rgba(34, 31, 28, 0.06);
  --shadow-lift: 0 20px 40px rgba(34, 31, 28, 0.14);

  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Poppins", "Manrope", system-ui, sans-serif;
  --topbar-h: 78px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1000px 460px at 92% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(800px 400px at -5% 10%, var(--sage-soft), transparent 55%),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, var(--bg-deep) 100%);
  overflow-x: hidden;
  overflow-y: auto;
}

::selection { background: var(--accent-soft-strong); color: var(--ink); }

/* Scrollbar refinado */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--line-strong);
  border-radius: 999px;
  border: 2px solid transparent;
}
::-webkit-scrollbar-thumb:hover { background: var(--muted-soft); }

.divider { border: none; border-top: 1px solid var(--line); margin: 6px 0; }

/* ===== TOPBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(255, 254, 251, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 var(--line), 0 10px 24px -18px rgba(34, 31, 28, 0.35);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 38%, var(--sage) 100%);
  opacity: 0.9;
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-slot {
  width: 132px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
  overflow: hidden;
  padding: 5px 8px;
  box-shadow: var(--shadow-sm);
}

.logo-slot .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.logo-slot-lg {
  width: 240px;
  height: 98px;
  margin: 0 auto 14px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.brand-text strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display);
  font-size: clamp(1.1rem, 3.2vw, 1.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--accent);
  white-space: nowrap;
}

.brand-eyebrow {
  display: inline-block;
  font-size: 0.56em;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-text small {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.65rem;
  font-weight: 600;
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.user-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sage-soft);
  border: 1px solid var(--line);
  max-width: min(40vw, 220px);
}

.user-name {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
}

/* ===== LAYOUT ===== */
.app-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 16px 72px;
}

@media (min-width: 900px) {
  .app-main {
    padding: 32px 36px 88px;
  }
}

.panel { animation: fadeIn 0.28s ease; width: 100%; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ===== LOGIN ===== */
.page-login .login-only {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  position: relative;
}

.page-login .login-only::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 15% 15%, var(--accent-soft), transparent 60%),
    radial-gradient(700px 400px at 85% 85%, var(--sage-soft), transparent 60%);
  pointer-events: none;
}

.login-card,
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.login-card {
  width: min(100%, 420px);
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 34px 28px 28px;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto 18px;
  padding: 0;
}

.login-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
  max-height: 92px;
  object-fit: contain;
  object-position: center center;
  margin: 0 auto;
}

.login-card .subtitle {
  margin-bottom: 20px;
}

.login-card .stack { text-align: left; }

.password-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.password-row input { flex: 1; }

.remember-row {
  font-weight: 500 !important;
  color: var(--muted);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* ===== TYPE ===== */
h1, h2, h3, h4 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.4rem, 2.8vw, 1.75rem); }
h3 { font-size: 1.12rem; }

h2::before {
  content: "";
  display: block;
  width: 38px;
  height: 5px;
  border-radius: 999px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--accent), var(--sage));
}

.card > h3:first-child,
.card > div > h3:first-child {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.subtitle, .hint, .muted {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hint { margin: 0 0 14px; }

.page-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* ===== FORMS ===== */
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

label.grow { flex: 1; min-width: 180px; }

input, select, textarea {
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  background: #fff;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--muted-soft);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft-strong);
  border-color: var(--accent);
}

input[type="checkbox"] {
  accent-color: var(--accent);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #fff9f3;
  box-shadow: 0 10px 22px -8px rgba(178, 59, 44, 0.55);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -8px rgba(178, 59, 44, 0.6);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--muted-soft); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 13px; font-size: 0.76rem; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: sticky;
  top: var(--topbar-h);
  z-index: 50;
  background: rgba(247, 241, 231, 0.94);
  backdrop-filter: blur(10px);
  padding: 10px 0;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab:hover { border-color: var(--muted-soft); color: var(--ink); }

.tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff9f3;
  box-shadow: 0 8px 18px -8px rgba(178, 59, 44, 0.55);
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filters-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 18px;
}

.novo-modelo-form {
  margin-bottom: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--card), rgba(110, 120, 89, 0.07));
}

.novo-modelo-head h3 {
  margin-bottom: 4px;
}

.novo-modelo-head .hint {
  margin-bottom: 14px;
}

.novo-modelo-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(180px, 1.4fr) minmax(160px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.novo-modelo-fields .btn {
  min-height: 45px;
}

.grid-2 {
  display: grid;
  gap: 18px;
}

@media (min-width: 960px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.narrow-card { max-width: 520px; }
.mt { margin-top: 20px; }

.check-row {
  flex-direction: row !important;
  align-items: center;
  gap: 9px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.88rem !important;
  color: var(--ink) !important;
}

.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.error {
  color: var(--danger);
  margin: 0 0 12px;
  font-size: 0.9rem;
  padding: 10px 14px;
  background: rgba(155, 44, 44, 0.07);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(155, 44, 44, 0.18);
}
.ok {
  color: var(--ok);
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-note {
  margin: 20px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(169, 131, 75, 0.06);
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.6;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.logo-preview {
  width: min(100%, 280px);
  height: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== LISTAS EM CARTÕES (sem scroll interno) ===== */
.item-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.item-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.item-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

.item-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.item-card-head h4 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--display);
}

.item-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.fields-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 700px) {
  .fields-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .fields-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fields-grid label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fields-grid label.span-2 {
  grid-column: span 2;
}

@media (max-width: 699px) {
  .fields-grid label.span-2 {
    grid-column: span 1;
  }
}

/* Loja: liberação simples */
.liberacao-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.liberacao-item:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.liberacao-item input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.liberacao-item .nome {
  font-weight: 700;
  font-size: 0.96rem;
}

.liberacao-item .preco-loja {
  margin-left: auto;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* Vendedor catálogo */
.vend-card {
  display: block;
}

.vend-card-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.vend-card-main {
  flex: 1 1 160px;
  min-width: 140px;
}

.vend-card-comp {
  flex: 0 1 auto;
  margin-top: 0 !important;
}

.vend-card-row .medida-selecionada {
  flex: 1 1 200px;
  margin: 0;
}

.vend-medida-soft {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
}

.vend-medida-soft span {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.72rem;
  opacity: 0.85;
}

.vend-size-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 168px;
}

.vend-size-caption {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.size-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 46px;
}

.size-step-btn {
  width: 44px;
  height: 46px;
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s ease;
}

.size-step-btn:hover {
  background: var(--accent-soft);
}

.size-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 84px;
  justify-content: center;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  height: 100%;
  padding: 0 8px;
}

.size-input-wrap input {
  width: 58px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0;
  outline: none;
  -moz-appearance: textfield;
  box-shadow: none !important;
}

.size-input-wrap input::-webkit-outer-spin-button,
.size-input-wrap input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.size-unit {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.vend-faixa-filter {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  flex: 1 1 220px;
}

.vend-faixa-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vend-faixa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.faixa-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.faixa-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.faixa-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(178, 59, 44, 0.55);
}

.vend-select-row {
  margin: 0;
  font-size: 0.9rem;
}

.price-grid-single {
  grid-template-columns: 1fr !important;
  max-width: 300px;
}

.price-pill-hero {
  padding: 16px 18px;
  text-align: left;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent) !important;
}

.price-pill-hero small {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(255, 249, 243, 0.82) !important;
}

.price-pill-hero strong {
  font-size: 1.5rem;
  color: #fff9f3 !important;
  font-family: var(--display);
}

.vend-familia {
  margin: 22px 0 10px;
  padding: 14px 14px 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--sage-soft), transparent 52px);
}

.vend-familia-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
  padding: 0 4px;
}

.vend-familia-head strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.papel-chip {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-soft);
  border: 1px solid transparent;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.vend-card .thumb,
.thumb-empty {
  width: 76px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  background: linear-gradient(135deg, #efe6d4, #e6dcc4);
  border: 1px solid var(--line);
}

.thumb-wide {
  width: 128px !important;
  height: 78px !important;
}

.vend-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mods-list {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--ink);
}

.liberacao-item .thumb {
  width: 72px;
  height: 44px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.vend-card .thumb-empty {
  display: block;
}

.vend-title {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.vend-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 700px) {
  .price-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.price-pill {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 8px;
  text-align: center;
}

.price-pill small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
}

.price-pill strong {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
}

.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin-top: 8px;
}

.size-row label {
  min-width: 120px;
  max-width: 160px;
}

.size-dims {
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 10px;
}

.search-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.search-tools input[type="search"] {
  flex: 1;
  min-width: 180px;
}

/* Comprimento destacado (vendedor) */
.comp-destaque {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 14px;
  padding: 12px;
  max-width: 260px;
}

.comp-destaque input {
  border: 2px solid var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.comp-preencher {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.medida-selecionada {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.medida-selecionada small {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.75rem;
  margin-top: 2px;
}

.vend-mods {
  background: var(--sage-soft);
  border-radius: 12px;
  padding: 12px 14px;
}

.vend-mods strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 7px;
  font-weight: 700;
}

.vend-mods ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 5px;
}

.vend-mods li {
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
}

.vend-mods li::marker {
  color: var(--sage);
}

/* Tabela impressão */
.medida-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-top: 10px;
  transition: border-color 0.15s ease;
}

.medida-row:hover { border-color: var(--line-strong); }

@media (min-width: 900px) {
  .medida-row {
    grid-template-columns: 110px 1fr auto;
    align-items: start;
  }
}

.medida-prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 0.78rem;
}

@media (min-width: 700px) {
  .medida-prices {
    grid-template-columns: repeat(5, 1fr);
  }
}

.a-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tabela-page-wrap {
  display: flex;
  justify-content: center;
}

.tabela-center {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tabela-hero .hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#btnImprimirTabela {
  font-size: 0.9rem;
  padding: 13px 20px;
}

@media (max-width: 720px) {
  .novo-modelo-fields {
    grid-template-columns: 1fr;
  }
  .novo-modelo-fields .btn {
    width: 100%;
  }
  .brand-text small { display: none; }
  .logo-slot { width: 100px; height: 42px; }
  .login-logo { max-height: 76px; width: min(100%, 220px); }
  .user-chip { display: none; }
  .topbar-user .btn,
  .topbar-user .a-btn { padding: 11px 14px; }
  .topbar-user { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
  .page-hero .btn { width: 100%; }
  .liberacao-item {
    flex-wrap: wrap;
  }
  .liberacao-item .preco-loja {
    margin-left: 34px;
    width: 100%;
  }
}
