.account-page {
  background: #f3f4f6;
  padding: 24px 0 60px;
}

.account-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .account-container { grid-template-columns: 1fr; }
}

.account-sidebar {
  background: #fff;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: sticky;
  top: 20px;
}

.account-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.account-nav-link:hover { background: #f3f4f6; }
.account-nav-link.active {
  background: var(--blue, #0a4ed6);
  color: #fff;
}

.account-main {
  background: #fff;
  border-radius: 6px;
  padding: 28px 32px;
}

.account-title {
  font-size: 1.6rem;
  font-weight: 200;
  margin: 0 0 20px;
}

.account-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.account-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue, #0a4ed6);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 200;
}

.account-name { font-weight: 700; margin: 0; }
.account-email { color: #6b7280; font-size: .9rem; margin: 2px 0 0; }

.account-section-title {
  font-size: 1.05rem;
  font-weight: 200;
  margin: 24px 0 14px;
}

.form-row { margin-bottom: 16px; }
.form-row.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row.two-cols { grid-template-columns: 1fr; }
}

.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-row input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: .9rem;
}
.form-row input:focus {
  outline: none;
  border-color: var(--blue, #0a4ed6);
}

.btn-save {
  background: var(--blue, #0a4ed6);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  margin-top: 10px;
  transition: background .2s;
}
.btn-save:hover { background: var(--col-blue-dark, #083a9e); }

/* ===== MEUS PEDIDOS ===== */
.order-card {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 18px;
  overflow: hidden;
}

.order-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
  padding: 14px 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.order-info {
  display: flex;
  gap: 24px;
  font-size: .82rem;
  color: #6b7280;
}
.order-info strong { color: #111; display: block; font-size: .85rem; }

.order-status {
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
}
.order-status.entregue { background: #dcfce7; color: #15803d; }
.order-status.enviado { background: #dbeafe; color: #1d4ed8; }
.order-status.separacao { background: #fef3c7; color: #b45309; }
.order-status.cancelado { background: #fee2e2; color: #b91c1c; }

.order-body {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  align-items: center;
}

.order-items-preview img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
}

.order-body-info { flex: 1; }
.order-body-info p { margin: 0; font-size: .9rem; }

.btn-order-details {
  border: 1px solid var(--blue, #0a4ed6);
  color: var(--blue, #0a4ed6);
  background: #fff;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-order-details:hover { background: var(--blue, #0a4ed6); color: #fff; }

.orders-empty {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}