body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f3f6fb;
  color: #1f2937;
}

.topbar {
  background: linear-gradient(90deg, #0b5ed7 0%, #0a4fb8 100%);
  color: white;
  padding: 6px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.topbar a {
  color: white;
  margin-left: 22px;
  font-weight: 600;
  font-size: 15px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 70px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand a {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 72px;
  width: auto;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

main.container {
  padding: 38px 0;
}

a {
  color: #0b5ed7;
  text-decoration: none;
}

h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

h2 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.auth-card,
.card,
.form-card {
  background: white;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e7edf5;
}

.auth-card {
  max-width: 760px;
  margin: 24px auto;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1e293b;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 14px;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #0b5ed7;
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.12);
}

.btn-primary {
  background: #0b5ed7;
  color: white;
  border: 0;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
}

.btn-primary:hover {
  background: #094fb5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.flash-wrap {
  margin-bottom: 20px;
}

.flash {
  padding: 13px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.flash-error {
  background: #ffe5e5;
  color: #8a1c1c;
  border: 1px solid #f3bcbc;
}

.user-info {
  margin-right: 12px;
  font-weight: 600;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e7edf5;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8edf5;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f7f9fc;
  font-size: 14px;
  color: #334155;
}

.data-table tr:hover td {
  background: #fafcff;
}

.attachment-preview {
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 12px;
  border-radius: 10px;
  border: 1px solid #dbe3ef;
}

hr {
  border: 0;
  border-top: 1px solid #e5ebf3;
  margin: 22px 0;
}

small {
  color: #64748b;
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 6px 0;
  }

  .topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar a {
    margin-left: 0;
  }

  .brand-logo {
    height: 60px;
  }
}

.flash-success {
  background: #e7f8ec;
  color: #166534;
  border: 1px solid #b7ebc4;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid #cfd7e3;
  background: #fff;
  color: #1f2937;
  font-weight: 700;
  font-size: 14px;
}

.btn-secondary:hover {
  background: #f8fafc;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.results-count {
  font-weight: 700;
  color: #334155;
}

.status-badge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.status-novo {
  background: #e0f2fe;
  color: #075985;
}

.status-em-analise {
  background: #fef3c7;
  color: #92400e;
}

.status-respondido {
  background: #dcfce7;
  color: #166534;
}

.status-fechado {
  background: #e5e7eb;
  color: #374151;
}

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

.btn-link-action,
.btn-whatsapp {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}

.btn-link-action {
  background: #dbeafe;
  color: #1d4ed8;
}

.btn-link-action:hover {
  background: #bfdbfe;
}

.btn-whatsapp {
  background: #dcfce7;
  color: #166534;
}

.btn-whatsapp:hover {
  background: #bbf7d0;
}

.data-table td strong {
  color: #0f172a;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.pagination-info {
  font-weight: 700;
  color: #334155;
}

.client-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.client-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.client-subtitle {
  margin: 4px 0 0;
  color: #64748b;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.client-request-list,
.client-doc-list {
  display: grid;
  gap: 12px;
}

.client-request-card,
.client-doc-card {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
}

.client-request-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.client-request-body {
  margin-top: 10px;
  color: #334155;
}

.client-muted {
  color: #64748b;
  font-size: 13px;
}

.client-box {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 14px;
  white-space: pre-wrap;
  line-height: 1.5;
}

.client-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.client-doc-ul {
  padding-left: 18px;
}

.client-doc-ul li {
  margin-bottom: 12px;
}

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
}

.status-novo {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.status-em-analise {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.status-respondido,
.status-aguardando-aprovacao {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.status-aprovado {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.status-revisao-solicitada,
.status-aprovacao-parcial {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.status-fechado {
  background: #e5e7eb;
  color: #374151;
  border-color: #d1d5db;
}

.client-shell {
  max-width: 1180px;
  margin: 0 auto;
}

.client-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  flex-wrap: wrap;
}

.client-hero h1 {
  margin: 0;
  font-size: 30px;
}

.client-subtitle {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 15px;
}

.client-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}

.client-main-card {
  grid-column: span 2;
}

.client-request-list,
.client-doc-list,
.client-item-list {
  display: grid;
  gap: 12px;
}

.client-request-card,
.client-doc-card,
.client-item-card {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 14px;
  padding: 14px;
}

.client-request-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.client-request-body {
  margin-top: 10px;
  color: #334155;
  line-height: 1.5;
}

.client-request-actions {
  margin-top: 12px;
}

.client-muted {
  color: #64748b;
  font-size: 13px;
}

.client-box {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 14px;
  white-space: pre-wrap;
  line-height: 1.55;
}

.client-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.client-doc-ul {
  padding-left: 18px;
}

.client-doc-ul li {
  margin-bottom: 12px;
}

.btn-danger {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
}

.status-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
}

.status-novo {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.status-em-analise {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

.status-respondido,
.status-aguardando-aprovacao {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.status-aprovado {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}

.status-revisao-solicitada,
.status-aprovacao-parcial {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}

.status-fechado {
  background: #e5e7eb;
  color: #374151;
  border-color: #d1d5db;
}

@media (max-width: 900px) {
  .client-main-card {
    grid-column: span 1;
  }
}

.client-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.client-tab {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
}

.client-tab.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.client-tab-panel {
  display: none;
}

.client-tab-panel.active {
  display: block;
}

.client-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.client-summary-list {
  display: grid;
  gap: 8px;
  line-height: 1.35;
}

.client-summary-list {
  display: grid;
  gap: 8px;
  line-height: 1.35;
}

.client-shell {
  padding-top: 8px;
}

.client-hero {
  margin-bottom: 14px !important;
  padding: 14px 16px !important;
}

.client-hero h1 {
  margin: 0 0 4px 0 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
}

.client-subtitle {
  margin: 0 !important;
  font-size: 14px !important;
}

.client-tabs {
  margin-bottom: 12px !important;
  gap: 8px !important;
}

.client-tab {
  padding: 8px 12px !important;
  font-size: 14px !important;
}

.client-grid {
  gap: 12px !important;
}

.card.client-main-card,
.client-tab-panel .card,
.client-grid .card {
  padding: 14px !important;
}

.client-grid .card h2,
.client-tab-panel .card h2 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  line-height: 1.2 !important;
}

.client-grid .card h3,
.client-tab-panel .card h3 {
  margin-top: 14px !important;
  margin-bottom: 8px !important;
  line-height: 1.2 !important;
}

.client-box {
  padding: 10px 12px !important;
  line-height: 1.35 !important;
}

.client-summary-list {
  gap: 4px !important;
  line-height: 1.25 !important;
}

.client-request-card,
.client-doc-card,
.client-item-card {
  padding: 12px !important;
}

.client-request-top {
  gap: 8px !important;
}

.client-request-body {
  margin-top: 6px !important;
  line-height: 1.3 !important;
}

.client-request-actions {
  margin-top: 8px !important;
}

.client-doc-ul li {
  margin-bottom: 8px !important;
  line-height: 1.3 !important;
}

.client-action-row {
  margin-top: 8px !important;
  gap: 8px !important;
}

.form-group {
  margin-bottom: 10px !important;
}

.form-group label {
  margin-bottom: 4px !important;
  display: inline-block;
}

.form-group small {
  display: block;
  margin-top: 4px;
  line-height: 1.2;
}

.client-form-grid {
  gap: 10px !important;
}

p {
  margin-top: 0.35rem;
  margin-bottom: 0.35rem;
}

.client-item-table {
  display: grid;
  gap: 8px;
}

.client-item-head,
.client-item-row,
.client-item-add-row {
  display: grid;
  grid-template-columns: minmax(260px, 45%) 90px minmax(220px, 35%) 160px;
  gap: 10px;
  align-items: end;
}

.client-item-head {
  font-weight: 700;
  color: #334155;
  font-size: 13px;
  padding: 0 4px;
}

.client-item-row {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 10px;
}

.client-item-add-row {
  margin-top: 6px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
}

.client-item-col input,
.client-item-col select {
  width: 100%;
}

.item-name input {
  max-width: 100%;
}

.item-qty input {
  width: 78px;
  text-align: center;
}

.item-note input {
  max-width: 100%;
}

.item-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.add-action {
  align-items: end;
}

.btn-mini {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-save {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.btn-remove {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

@media (max-width: 900px) {
  .client-item-head {
    display: none;
  }

  .client-item-row,
  .client-item-add-row {
    grid-template-columns: 1fr;
  }

  .item-qty input {
    width: 100%;
    text-align: left;
  }
}

.client-request-card {
  padding: 14px 16px !important;
}

.client-request-footer {
  margin-top: 14px;
}

.client-request-footer .btn-primary {
  display: inline-block;
}

.cart-list {
  display: grid;
  gap: 8px;
}

.cart-head {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) 90px minmax(180px, 1fr) 150px;
  gap: 10px;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  padding: 10px;
}

.cart-edit-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) 90px minmax(180px, 1fr) 90px;
  gap: 10px;
  align-items: center;
}

.cart-remove-form {
  display: flex;
  align-items: center;
}

.cart-col label {
  display: none;
}

.cart-item input,
.cart-note input {
  width: 100%;
}

.cart-qty input {
  width: 72px;
  text-align: center;
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cart-add-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) 90px minmax(180px, 1fr) 140px;
  gap: 10px;
  align-items: end;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 10px;
}

.btn-mini {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-save {
  background: #dbeafe;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.btn-remove {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

@media (max-width: 900px) {
  .cart-head {
    display: none;
  }

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

  .cart-edit-form {
    grid-template-columns: 1fr;
  }

  .cart-remove-form {
    justify-content: flex-start;
  }

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

  .cart-col label {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 600;
  }

  .cart-qty input {
    width: 100%;
    text-align: left;
  }
}

.client-open-btn {
  margin-top: 8px;
}

.client-request-footer {
  margin-top: 16px !important;
  display: block;
}

.client-request-card {
  padding: 18px 18px 16px 18px !important;
}

.client-request-body {
  margin-top: 10px !important;
  line-height: 1.35 !important;
}

.client-request-body div {
  margin-bottom: 4px;
}

.cart-head {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) 70px minmax(140px, 1fr) 170px !important;
  gap: 8px;
}

.cart-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) 70px minmax(140px, 1fr) 170px !important;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
}

.cart-item input {
  width: 100%;
  max-width: 100%;
}

.cart-qty input {
  width: 60px;
  text-align: center;
}

.cart-note input {
  width: 100%;
  max-width: 100%;
}

.cart-actions-inline {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.cart-remove-inline {
  margin: 0 !important;
}

.btn-mini {
  min-width: 74px;
  text-align: center;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.btn-save {
  background: #16a34a !important;
  color: #ffffff !important;
  border: 1px solid #15803d !important;
}

.btn-remove {
  background: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid #b91c1c !important;
}

@media (max-width: 900px) {
  .cart-head {
    display: none !important;
  }

  .cart-row {
    grid-template-columns: 1fr !important;
  }

  .cart-actions-inline {
    justify-content: flex-start !important;
    margin-top: 4px;
  }

  .cart-qty input {
    width: 80px;
    text-align: center;
  }
}

.cart-head-admin {
  grid-template-columns: 120px minmax(220px, 1.6fr) 70px 110px 110px 170px !important;
}

.cart-row-admin {
  grid-template-columns: 120px minmax(220px, 1.6fr) 70px 110px 110px 170px !important;
}

.cart-edit-form-admin {
  display: grid;
  grid-template-columns: 120px minmax(220px, 1.6fr) 70px 110px 110px 170px !important;
  gap: 8px;
  align-items: center;
}

.cart-add-row-admin {
  grid-template-columns: 120px minmax(220px, 1.6fr) 70px 110px 110px 170px !important;
}

@media (max-width: 900px) {
  .cart-head-admin {
    display: none !important;
  }

  .cart-row-admin,
  .cart-edit-form-admin,
  .cart-add-row-admin {
    grid-template-columns: 1fr !important;
  }
}

/* ===== BOT-3 - AJUSTE CARRINHO INTERNO ADM ===== */
.cart-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:14px;
}

.cart-head-admin{
  display:grid;
  grid-template-columns:140px minmax(260px, 1.8fr) 90px 120px 120px 150px;
  gap:10px;
  padding:12px 14px;
  background:#243247;
  color:#fff;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  align-items:center;
}

.cart-row-admin{
  background:#fff;
  border:1px solid #d8dee8;
  border-radius:12px;
  padding:12px;
  box-shadow:0 2px 10px rgba(15, 23, 42, 0.05);
}

.cart-edit-form-admin{
  display:grid;
  grid-template-columns:140px minmax(260px, 1.8fr) 90px 120px 120px 150px;
  gap:10px;
  align-items:end;
}

.cart-add-row-admin{
  display:grid;
  grid-template-columns:140px minmax(260px, 1.8fr) 90px 120px 120px 150px;
  gap:10px;
  align-items:end;
  background:#f8fafc;
  border:1px solid #d8dee8;
  border-radius:12px;
  padding:14px;
}

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

.cart-col label{
  display:block;
  font-size:12px;
  font-weight:700;
  color:#475569;
  margin-bottom:6px;
}

.cart-col input,
.cart-col select,
.cart-col textarea{
  width:100%;
  min-width:0;
  height:40px;
  padding:10px 12px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  background:#fff;
  font-size:14px;
  box-sizing:border-box;
}

.cart-col input:focus,
.cart-col select:focus,
.cart-col textarea:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 3px rgba(37, 99, 235, 0.12);
}

.cart-qty input{
  text-align:center;
}

.cart-actions-inline{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:flex-start;
}

.cart-actions{
  display:flex;
  align-items:end;
}

.btn-mini{
  height:40px;
  padding:0 14px;
  border:none;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.btn-save{
  background:#2563eb;
  color:#fff;
}

.btn-remove{
  background:#ef4444;
  color:#fff;
}

.btn-save:hover{
  background:#1d4ed8;
}

.btn-remove:hover{
  background:#dc2626;
}

#admin-pecas h2{
  margin-bottom:10px;
}

#admin-pecas h3{
  margin:22px 0 10px;
  font-size:18px;
}

/* telas menores: vira cards limpos */
@media (max-width: 1180px){
  .cart-head-admin{
    display:none;
  }

  .cart-row-admin{
    padding:14px;
  }

  .cart-edit-form-admin,
  .cart-add-row-admin{
    grid-template-columns:1fr 1fr;
    gap:12px;
  }

  .cart-edit-form-admin .cart-col:nth-child(2),
  .cart-add-row-admin .cart-col:nth-child(2){
    grid-column:1 / -1;
  }

  .cart-actions-inline,
  .cart-actions{
    grid-column:1 / -1;
    justify-content:flex-end;
  }
}

@media (max-width: 700px){
  .cart-edit-form-admin,
  .cart-add-row-admin{
    grid-template-columns:1fr;
  }

  .cart-edit-form-admin .cart-col:nth-child(2),
  .cart-add-row-admin .cart-col:nth-child(2){
    grid-column:auto;
  }

  .cart-actions-inline,
  .cart-actions{
    justify-content:stretch;
  }

  .cart-actions-inline .btn-mini,
  .cart-actions .btn-primary{
    width:100%;
  }
}
/* ===== FIM BOT-3 - AJUSTE CARRINHO INTERNO ADM ===== */

