:root {
  color-scheme: light;
  --cocoa: #2b1812;
  --cocoa-strong: #1b0f0b;
  --cocoa-soft: #5b4035;
  --paper: #fffaf4;
  --surface: #ffffff;
  --line: #e7d9cd;
  --gold: #b98a4b;
  --gold-dark: #8b642f;
  --text: #231713;
  --muted: #705d53;
  --shadow: 0 20px 60px rgba(43, 24, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--text);
}

body {
  min-height: 100vh;
  margin: 0;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    linear-gradient(180deg, rgba(43, 24, 18, 0.86), rgba(43, 24, 18, 0.72)),
    linear-gradient(135deg, #3a2118 0%, #6a4c3f 52%, #b98a4b 100%);
}

.login-panel {
  width: min(100%, 430px);
  padding: 30px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-header {
  display: grid;
  gap: 24px;
  margin-bottom: 30px;
}

.brand-logo {
  width: min(100%, 280px);
  height: auto;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--cocoa);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.08;
}

.login-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--cocoa-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.field input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdfb;
  color: var(--text);
  font-size: 1.02rem;
  outline: 0;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.field input::placeholder {
  color: #a58f82;
}

.field input:focus {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(185, 138, 75, 0.18);
}

.form-actions {
  display: grid;
  gap: 18px;
  padding-top: 4px;
}

.forgot-link {
  justify-self: start;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration-color: rgba(91, 64, 53, 0.38);
  text-underline-offset: 4px;
}

.forgot-link:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(185, 138, 75, 0.36);
  outline-offset: 4px;
}

.primary-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 6px;
  background: var(--cocoa);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(43, 24, 18, 0.24);
  transition:
    background 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-button:hover {
  background: var(--cocoa-strong);
  box-shadow: 0 14px 28px rgba(43, 24, 18, 0.28);
}

.primary-button:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(43, 24, 18, 0.22);
}

.primary-button:focus-visible {
  outline: 3px solid rgba(185, 138, 75, 0.42);
  outline-offset: 4px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 22px;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 18px 16px 26px;
  background: var(--paper);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
}

.app-logo {
  width: 156px;
  height: auto;
  flex: 0 1 auto;
}

.back-button,
.cart-button {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--cocoa);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(43, 24, 18, 0.07);
}

.back-button svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.cart-button {
  background: var(--cocoa);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
}

.cart-badge {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--cocoa);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(43, 24, 18, 0.12);
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8d5b;
  box-shadow: 0 0 0 3px rgba(47, 141, 91, 0.14);
}

.home-hero {
  padding: 20px 0 2px;
  border-bottom: 1px solid var(--line);
}

.home-menu {
  display: grid;
  gap: 12px;
  align-content: start;
}

.products-shell {
  gap: 16px;
}

.cart-shell {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  padding-bottom: 0;
}

.products-toolbar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  gap: 14px;
  padding: 12px 0 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.search-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  outline: 0;
  box-shadow: 0 8px 20px rgba(43, 24, 18, 0.06);
}

.search-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(185, 138, 75, 0.18);
}

.products-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-row {
  display: grid;
  grid-template-columns: 84px 1fr 52px;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.product-row[hidden] {
  display: none;
}

.product-row img {
  width: 84px;
  height: 84px;
  border: 1px solid #efe4dc;
  border-radius: 6px;
  background: #fffdfb;
  object-fit: contain;
}

.product-info {
  min-width: 0;
}

.product-info h2 {
  margin: 0 0 6px;
  color: var(--cocoa);
  font-size: 0.98rem;
  line-height: 1.18;
}

.product-info p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-info strong {
  color: var(--cocoa-strong);
  font-size: 1rem;
}

.add-button {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 8px;
  background: var(--cocoa);
  color: #ffffff;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 18px rgba(43, 24, 18, 0.2);
}

.add-button:active {
  transform: translateY(1px);
}

.empty-state {
  margin: 8px 0 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.cart-table {
  display: grid;
  gap: 0;
  height: 320px;
  min-height: 0;
  padding-bottom: 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cart-table-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 62px minmax(92px, 1fr) 94px 78px;
  gap: 8px;
  height: 40px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.restock-head {
  grid-template-columns: 62px minmax(92px, 1fr) 94px;
}

.cart-row {
  display: grid;
  grid-template-columns: 62px minmax(92px, 1fr) 94px 78px;
  align-items: center;
  gap: 8px;
  /* min-height: 203px; */
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.restock-row {
  grid-template-columns: 62px minmax(92px, 1fr) 94px;
}

.cart-row:last-of-type {
  border-bottom: 0;
}

.cart-row[hidden] {
  display: none;
}

.cart-row img {
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 6px;
  background: #fffaf4;
  object-fit: contain;
}

.cart-product {
  min-width: 0;
}

.cart-product h2 {
  margin: 0 0 5px;
  color: var(--cocoa);
  font-size: 0.9rem;
  line-height: 1.15;
}

.cart-product p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.qty-control {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.qty-button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--cocoa);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.qty-value {
  color: var(--cocoa);
  text-align: center;
  font-weight: 900;
}

.line-total {
  color: var(--cocoa-strong);
  font-size: 0.86rem;
  text-align: right;
  white-space: nowrap;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid;
  gap: 12px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.cart-summary strong {
  color: var(--cocoa);
  font-size: 1.2rem;
}

.cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.full-action {
  width: 100%;
}

.small-success {
  width: 58px;
  height: 58px;
}

.modal-ok {
  width: 100%;
  margin-top: 4px;
}

.receiving-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.barcode-icon {
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--cocoa);
}

.barcode-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

#stock-list {
  display: contents;
}

.report-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.report-head,
.report-row {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 0.8fr 1fr;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.report-head {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-row {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 800;
}

.report-row:last-child {
  border-bottom: 0;
}

.report-row strong {
  color: var(--cocoa);
  white-space: nowrap;
}

.payment-shell {
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
}

.customer-shell {
  grid-template-rows: auto auto 1fr;
  gap: 18px;
}

.payment-header {
  padding: 18px 0 4px;
  border-bottom: 1px solid var(--line);
}

.payment-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.customer-form {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.cpf-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.checkbox-field {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdfb;
  color: var(--cocoa);
  font-size: 0.9rem;
  font-weight: 900;
  white-space: nowrap;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--cocoa);
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 92px;
  gap: 12px;
}

.customer-submit {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.cpf-field input {
  min-height: 58px;
}

.payment-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 900;
}

.payment-total strong {
  color: var(--cocoa);
  font-size: 1.28rem;
}

.payment-methods {
  display: grid;
  gap: 12px;
  align-content: start;
}

.payment-method {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--cocoa);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.payment-method:active {
  transform: translateY(1px);
}

.payment-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--cocoa);
  color: #ffffff;
}

.payment-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.card-process-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 42px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.nfc-icon {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff8ee;
  color: var(--cocoa);
}

.nfc-icon svg {
  width: 82px;
  height: 82px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.card-process-panel h2 {
  margin: 0;
  color: var(--cocoa);
  font-size: 1.45rem;
  line-height: 1.15;
}

.card-process-panel p {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.finish-payment {
  align-self: end;
}

.completed-shell {
  grid-template-rows: auto auto auto 1fr;
  gap: 16px;
}

.success-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px 18px 18px;
  text-align: center;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #2f8d5b;
}

.success-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.success-panel h1 {
  max-width: 360px;
  font-size: 1.72rem;
}

.receipt {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 10px, #ffffff 0) top left,
    linear-gradient(-135deg, transparent 10px, #ffffff 0) top right,
    linear-gradient(45deg, transparent 10px, #ffffff 0) bottom left,
    linear-gradient(-45deg, transparent 10px, #ffffff 0) bottom right;
  background-size: 50% 50%;
  background-repeat: no-repeat;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
}

.receipt-header {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  color: var(--cocoa);
  text-align: center;
}

.receipt-header span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.receipt-line,
.receipt-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.receipt-line strong,
.receipt-total strong {
  color: var(--cocoa);
  white-space: nowrap;
}

.receipt-total {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--cocoa);
  font-size: 1rem;
  font-weight: 900;
}

.completed-actions {
  display: grid;
  gap: 10px;
  align-content: end;
}

.secondary-action,
.primary-action {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 0 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
}

.secondary-action {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--cocoa);
}

.primary-action {
  background: var(--cocoa);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(43, 24, 18, 0.2);
}

.pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.pagination[hidden] {
  display: none;
}

.pager-button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--cocoa);
  cursor: pointer;
  font-weight: 900;
}

.pager-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

#page-status {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.menu-button {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 74px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--cocoa);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 8px 22px rgba(43, 24, 18, 0.07);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.menu-button:hover {
  border-color: rgba(185, 138, 75, 0.72);
  box-shadow: 0 12px 26px rgba(43, 24, 18, 0.11);
}

.menu-button:active {
  transform: translateY(1px);
}

.menu-button:focus-visible {
  outline: 3px solid rgba(185, 138, 75, 0.36);
  outline-offset: 3px;
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--cocoa);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
}

.menu-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sync-button {
  border-color: rgba(185, 138, 75, 0.55);
  background: #fff8ee;
}

.sync-button .menu-icon {
  background: var(--gold-dark);
  font-size: 1.2rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(27, 15, 11, 0.62);
}

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

.sync-modal {
  display: grid;
  justify-items: center;
  gap: 12px;
  width: min(100%, 320px);
  padding: 28px 24px 24px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
}

.sync-modal h2 {
  margin: 6px 0 0;
  color: var(--cocoa);
  font-size: 1.2rem;
  line-height: 1.2;
}

.sync-modal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.loading-ring {
  width: 54px;
  height: 54px;
  border: 5px solid rgba(185, 138, 75, 0.22);
  border-top-color: var(--cocoa);
  border-radius: 50%;
  animation: spin 820ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .login-screen {
    padding: 40px;
  }

  .login-panel {
    padding: 38px 34px 32px;
  }

  .app-shell {
    padding-top: 28px;
  }

  .products-toolbar {
    top: 0;
  }
}

@media (max-width: 360px) {
  .login-panel {
    padding-inline: 18px;
  }

  h1 {
    font-size: 1.75rem;
  }

  .app-shell {
    padding-inline: 12px;
  }

  .app-logo {
    width: 134px;
  }

  .store-status {
    font-size: 0.72rem;
    padding-inline: 8px;
  }

  .back-button,
  .cart-button,
  .cart-badge {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .menu-button {
    grid-template-columns: 38px 1fr;
    min-height: 70px;
    padding-inline: 12px;
    font-size: 0.98rem;
  }

  .menu-icon {
    width: 38px;
    height: 38px;
  }

  .product-row {
    grid-template-columns: 72px 1fr 48px;
    gap: 10px;
    padding: 9px;
  }

  .product-row img {
    width: 72px;
    height: 72px;
  }

  .add-button {
    width: 48px;
    height: 48px;
  }

  .cart-table-head,
  .cart-row {
    grid-template-columns: 52px minmax(78px, 1fr) 86px 68px;
    gap: 6px;
    padding-inline: 10px;
  }

  .cart-row img {
    width: 52px;
    height: 52px;
  }

  .cart-product h2 {
    font-size: 0.82rem;
  }

  .qty-control {
    grid-template-columns: 26px 26px 26px;
  }

  .qty-button {
    width: 26px;
    height: 32px;
  }

  .line-total {
    font-size: 0.78rem;
  }

  .secondary-action,
  .primary-action {
    min-height: 56px;
    font-size: 0.86rem;
  }

  .cpf-row,
  .address-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-field {
    justify-content: flex-start;
  }
}
