:root {
  --ink: #0b1726;
  --muted: #64748b;
  --line: #dbe3ed;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --denim: #1677ff;
  --denim-dark: #07162b;
  --brand-soft: #eef5ff;
  --clay: #b45339;
  --green: #14855f;
  --gold: #b88920;
  --sidebar: #071326;
  --sidebar-soft: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --radius: 8px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 251, 0.96)),
    var(--paper);
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  align-items: start;
  overflow-x: hidden;
}

body.booting,
body.locked {
  display: block;
}

body.booting .login-screen,
body.booting .sidebar,
body.booting .sidebar-backdrop,
body.booting .app-shell,
body.locked .sidebar,
body.locked .sidebar-backdrop,
body.locked .app-shell {
  display: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--denim) 28%, transparent);
  outline-offset: 2px;
}

.boot-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 24px;
  text-align: center;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.boot-screen h1 {
  font-size: 26px;
}

.platform-logo {
  display: block;
  object-fit: contain;
}

.platform-logo-boot {
  width: min(300px, 72vw);
  max-height: 200px;
}

.platform-logo-login {
  width: min(330px, 80vw);
  max-height: 210px;
  margin-bottom: 4px;
}

.platform-logo-card {
  width: 138px;
  max-height: 86px;
  justify-self: center;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.08), transparent 38%),
    linear-gradient(225deg, rgba(7, 19, 38, 0.06), transparent 34%),
    #fbfdff;
}

.login-screen[hidden] {
  display: none !important;
}

.welcome-screen {
  grid-template-columns: minmax(280px, 590px) minmax(320px, 430px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.welcome-copy {
  color: var(--ink);
  display: grid;
  gap: 16px;
}

.welcome-copy h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.94;
}

.welcome-text {
  max-width: 56ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.welcome-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.welcome-points span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(22, 119, 255, 0.12);
  border-radius: var(--radius);
  color: #203047;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
}

.login-card {
  width: min(430px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  padding: 26px;
  display: grid;
  gap: 14px;
  backdrop-filter: blur(14px);
}

.login-card h2 {
  font-size: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f3f6fb;
}

.auth-tab {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 750;
}

.auth-tab.active {
  color: white;
  background: var(--denim);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--denim) 26%, transparent);
}

.eyebrow {
  color: var(--denim);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-message {
  min-height: 20px;
  color: var(--clay);
  font-size: 14px;
}

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

.sidebar {
  background:
    linear-gradient(180deg, rgba(22, 119, 255, 0.12), transparent 28%),
    var(--sidebar);
  color: white;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  position: sticky;
  top: 0;
  align-self: start;
  overflow-y: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar::before {
  content: "Gestor Pro";
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 4px 8px 0;
}

.sidebar-backdrop,
.mobile-close,
.menu-button {
  display: none;
}

.brand-logo {
  width: 88px;
  height: 88px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  align-self: center;
  background: white;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.nav-tabs {
  display: grid;
  gap: 4px;
  flex: 0 0 auto;
}

.nav-button,
.ghost-button,
.import-label {
  width: 100%;
  min-height: 38px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  padding: 0 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 650;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-button {
  display: flex;
  align-items: center;
}

.nav-button.active,
.nav-button:hover,
.ghost-button:hover,
.import-label:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.nav-button.active {
  box-shadow: inset 3px 0 0 var(--denim);
}

.ghost-button,
.import-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ghost-button {
  margin-top: 0;
  flex: 0 0 auto;
}

#logoutButton {
  margin-top: 0 !important;
}

.sidebar .import-label {
  color: white;
  font-size: 15px;
  font-weight: 650;
}

.app-shell {
  padding: 28px;
  max-width: 1440px;
  width: 100%;
}

.topbar,
.section-head,
.panel-heading,
.modal-head,
.top-actions,
.filter-row,
.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.top-actions {
  flex-wrap: wrap;
}

.primary-button,
.secondary-button,
.text-button,
.icon-button,
.danger-button {
  min-height: 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 15px;
  font-weight: 750;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.danger-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  background: var(--denim);
  color: white;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--denim) 24%, transparent);
}

.secondary-button {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}

.text-button {
  background: transparent;
  color: var(--denim);
  padding: 0;
}

.danger-button {
  min-height: 38px;
  border-color: #f2cfc4;
  background: #fff7f5;
  color: #a1422a;
}

.icon-button {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 24px;
  background: #eef3f8;
  color: var(--ink);
  display: grid;
  place-items: center;
  line-height: 1;
}

.mobile-close {
  display: none;
}

.menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  display: block;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 14px;
}

.compact-metrics {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 16px;
}

.metric,
.panel,
.product-card,
.cash-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.metric {
  padding: 18px;
}

.metric span {
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
}

.metric strong {
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 16px;
  margin-top: 16px;
}

.panel {
  padding: 18px;
  min-height: 250px;
}

.panel-heading {
  margin-bottom: 16px;
}

.panel-heading span {
  color: var(--muted);
  font-size: 14px;
}

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

.filter-row {
  justify-content: flex-end;
  flex-wrap: wrap;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input[type="color"] {
  min-height: 44px;
  padding: 4px;
}

textarea {
  resize: vertical;
}

.filter-row input {
  width: min(380px, 52vw);
}

.filter-row select {
  width: 190px;
}

.input-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 8px;
}

.photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.file-action {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 14px;
  text-align: center;
}

.photo-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.scan-button {
  min-height: 44px;
  padding: 0 12px;
}

.products-grid,
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.product-card {
  overflow: hidden;
  box-shadow: none;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--denim) 30%, var(--line));
  box-shadow: var(--shadow);
}

.product-photo,
.placeholder-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8eef5;
}

.placeholder-photo {
  display: grid;
  place-items: center;
  color: var(--denim);
  font-weight: 850;
  text-align: center;
  padding: 18px;
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.product-title strong {
  font-size: 17px;
}

.price {
  color: var(--green);
  font-weight: 850;
  white-space: nowrap;
}

.stock-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--denim-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.sold {
  color: var(--clay);
}

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

.movement-list,
.rank-list,
.cash-list {
  display: grid;
  gap: 10px;
}

.movement,
.rank-row,
.cash-item {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:hover {
  border-color: color-mix(in srgb, var(--denim) 45%, var(--line));
  background: #fbfdff;
}

.invoice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.notice-box {
  border: 1px solid #ead9a9;
  background: #fff9ec;
  color: #66511b;
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 14px;
  line-height: 1.45;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--line);
  margin: 4px 0 14px;
}

.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--denim);
}

.stock-insights .rank-row {
  align-items: flex-start;
}

.checkbox-row {
  grid-template-columns: 18px 1fr;
  align-items: center;
  color: var(--ink);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  padding: 0;
}

.movement small,
.rank-row small,
.cash-item small,
.muted {
  color: var(--muted);
}

.positive {
  color: var(--green);
  font-weight: 850;
}

.negative {
  color: var(--clay);
  font-weight: 850;
}

.empty-state {
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #fbfdff;
  line-height: 1.45;
}

.cash-closing-panel {
  margin-bottom: 16px;
}

.closing-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr)) auto auto auto;
  gap: 10px;
  align-items: end;
}

.closing-preview {
  margin-top: 12px;
}

.catalog-page {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.catalog-cover {
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.catalog-cover img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 22px;
  background: white;
  border: 1px solid var(--line);
}

.catalog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
  display: flex;
  flex-direction: column;
}

.catalog-card .product-body {
  gap: 8px;
}

.catalog-card .product-photo,
.catalog-card .placeholder-photo {
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
}

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

.settings-form {
  display: grid;
  gap: 14px;
}

.logo-editor {
  display: grid;
  gap: 12px;
}

.logo-preview {
  width: min(260px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  background: #f7fbff;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform-origin: center;
}

.editor-controls {
  display: grid;
  gap: 10px;
}

.editor-controls input[type="range"] {
  padding: 0;
}

.settings-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.diagnostic-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.diagnostic-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.diagnostic-item span {
  color: var(--muted);
}

.scanner-modal {
  width: min(520px, calc(100vw - 28px));
}

.sale-modal {
  width: min(880px, calc(100vw - 28px));
}

.sale-picker {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(120px, 0.7fr) 82px 120px;
  gap: 10px;
  align-items: end;
}

.sale-cart {
  display: grid;
  gap: 8px;
  min-height: 74px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fbfdff;
}

.sale-cart-row,
.sale-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sale-total {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--sidebar);
  color: white;
}

.sale-total strong {
  font-size: 22px;
}

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

.detail-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fbfdff;
}

.detail-box span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.order-items {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sale-cart-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: white;
}

.scanner-box {
  padding: 20px;
  display: grid;
  gap: 14px;
}

.scanner-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #061f2a;
  aspect-ratio: 4 / 3;
}

.scanner-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scanner-frame canvas {
  display: none;
}

.scanner-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: #f8fafc;
  box-shadow: 0 0 14px rgba(248, 250, 252, 0.8);
}

.modal {
  width: min(760px, calc(100vw - 28px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  box-shadow: 0 28px 90px rgba(2, 6, 23, 0.28);
}

.modal::backdrop {
  background: rgba(2, 8, 23, 0.58);
  backdrop-filter: blur(3px);
}

.modal form {
  padding: 22px;
  display: grid;
  gap: 16px;
}

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

label,
fieldset {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}

legend {
  color: var(--ink);
  font-weight: 800;
  padding: 0 6px;
}

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

.variation-row {
  display: grid;
  grid-template-columns: 44px 88px minmax(0, 1fr);
  align-items: end;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fbfdff;
}

.variation-row strong {
  color: var(--ink);
  align-self: center;
  text-align: center;
}

.variation-row label {
  color: var(--muted);
  text-align: left;
}

@media (max-width: 920px) {
  body {
    display: block;
  }

  .welcome-screen {
    grid-template-columns: 1fr;
    gap: 28px;
    place-items: stretch;
  }

  .welcome-copy,
  .login-card {
    width: min(100%, 560px);
    justify-self: center;
  }

  .sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    width: min(310px, 86vw);
    height: 100dvh;
    min-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-104%);
    transition: transform 180ms ease;
    box-shadow: 18px 0 44px rgba(0, 0, 0, 0.22);
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open .sidebar {
    touch-action: pan-y;
    transform: translateX(0);
  }

  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 25;
    background: rgba(2, 8, 23, 0.52);
  }

  body.menu-open .sidebar-backdrop {
    display: block;
  }

  .mobile-close {
    display: grid;
    place-self: end;
    background: rgba(255, 255, 255, 0.12);
    color: white;
  }

  .menu-button {
    display: flex;
    flex: 0 0 auto;
  }

  .topbar {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .metric-grid,
  .content-grid,
  .settings-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .login-screen {
    padding: 18px;
  }

  .welcome-copy h1 {
    font-size: 42px;
  }

  .welcome-points {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 20px;
  }

  .app-shell {
    padding: 18px;
  }

  .topbar,
  .section-head,
  .top-actions,
  .filter-row,
  .modal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-grid,
  .content-grid,
  .settings-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .filter-row input,
  .filter-row select {
    width: 100%;
  }

  .input-action {
    grid-template-columns: 1fr;
  }

  .sale-picker {
    grid-template-columns: 1fr;
  }

  .closing-controls {
    grid-template-columns: 1fr;
  }

  .sale-cart-row,
  .sale-total,
  .detail-grid {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .photo-actions {
    grid-template-columns: 1fr;
  }

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

  .variation-row {
    grid-template-columns: 1fr;
  }

  .catalog-page {
    padding: 14px;
  }

  .catalog-cover {
    gap: 12px;
  }

  .catalog-cover img {
    width: 82px;
    height: 82px;
    border-radius: 18px;
  }

  .catalog-card .product-photo,
  .catalog-card .placeholder-photo {
    height: 190px;
    aspect-ratio: auto;
    object-fit: cover;
  }
}

@media print {
  @page {
    size: A4;
    margin: 8mm;
  }

  body {
    display: block;
    background: white;
  }

  .sidebar,
  .topbar,
  .view,
  .no-print {
    display: none !important;
  }

  #catalogo.view {
    display: block !important;
  }

  .app-shell {
    padding: 0;
    max-width: none;
  }

  .catalog-page {
    border: 0;
    border-radius: 0;
    padding: 0;
    width: 100%;
    zoom: 1.18;
  }

  .catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
  }

  .catalog-card {
    box-shadow: none;
    overflow: hidden;
    display: block;
    break-inside: avoid-page;
    page-break-inside: avoid;
    margin: 0 0 10px;
  }

  .catalog-card .product-photo,
  .catalog-card .placeholder-photo {
    width: 100%;
    height: 132px;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
  }

  .catalog-card .product-body {
    padding: 10px;
    gap: 6px;
  }
}
