.woocommerce-MyAccount-content{ max-width:1200px; }
.woocommerce-MyAccount-content table.shop_table{ width:100%; table-layout:auto; }
.exp-filters{ display:grid; gap:10px; grid-template-columns:0.55fr 0.9fr 0.75fr 0.85fr 0.85fr 0.55fr auto; align-items:end; margin:10px 0 16px; }
.exp-filters .button{ white-space:nowrap; }
@media (max-width:900px){ .exp-filters{ grid-template-columns:1fr 1fr; } }
.exp-icon-btn{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:999px; text-decoration:none; background:#ffecee; color:#c62828; border:1px solid #ffd7d7; }
.exp-actions a.button{ margin-right:6px; }
.woocommerce-MyAccount-content table.shop_table thead th{ white-space:nowrap; font-weight:700; }

a.button.buy-end{
  background:#22c55e !important;
  border-color:#22c55e !important;
  color:#fff !important;
}
a.button.buy-end:hover,
a.button.buy-end:focus{
  background:#16a34a !important;
  border-color:#16a34a !important;
  color:#fff !important;
}

.exp-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid #d1d5db;
  background:#fff;
  color:#374151;
  text-decoration:none;
  transition:all .15s ease;
  font-weight:600;
}

/* Variante pill (texto) */
.exp-icon-btn.exp-icon-pill{
  width:auto;
  min-width:100px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid #d1d5db;
  color:#111827;
  font-weight:500;
  letter-spacing:.2px;
  cursor:default;
}
.exp-icon-btn.exp-icon-pill:hover{ background:#f9fafb; }

.exp-icon-btn:hover {
  background: #f3f4f6;
  color: #111827;
  border-color: #9ca3af;
}

/* PDF igual ao editor */
.exp-pdf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  text-decoration:none;
}
.exp-pdf-btn:hover{ background:#f5f5f5; }
.exp-pdf-btn img{ display:block; }

/* ===== Harmonizar ações (Editar / Finalizar / ícones) ===== */
.my_account_orders td.exp-actions{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.my_account_orders td.exp-actions > a.button{
  height:38px;
  line-height:38px;
  padding:0 16px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:.2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
}

.my_account_orders td.exp-actions > a.button.buy-end{
  background:#22c55e !important;
  border-color:rgba(0,0,0,.10) !important;
  color:#fff !important;
}
.my_account_orders td.exp-actions > a.button.buy-end:hover{
  background:#16a34a !important;
}

.my_account_orders td.exp-actions > a.exp-icon-btn,
.my_account_orders td.exp-actions > a.exp-pdf-btn{
  width:38px;
  height:38px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.04);
  transition:transform .12s ease, background .12s ease;
}

.my_account_orders td.exp-actions > a.exp-icon-btn:hover,
.my_account_orders td.exp-actions > a.exp-pdf-btn:hover{
  background:#f5f5f5;
  transform:translateY(-1px);
}

.my_account_orders td.exp-actions > a.exp-pdf-btn img{
  display:block;
  width:18px;
  height:18px;
}

.my_account_orders td.exp-actions > a.exp-trash{
  background:#ffecee;
  border-color:#ffd7d7;
  color:#c62828;
}
.my_account_orders td.exp-actions > a.exp-trash:hover{
  background:#ffd7d7;
}

/* Paginação */
.exp-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  margin:0 4px 8px 0;
  border-radius:999px;
  border:1px solid #e5e7eb;
  background:#fff;
  color:#111827;
  text-decoration:none;
  font-weight:600;
}

.exp-pagination .page-numbers.current{
  background:#111827;
  color:#fff;
  border-color:#111827;
}

.exp-pagination .page-numbers:hover{
  background:#f3f4f6;
}

@media (max-width:768px){
  .exp-pagination{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  .exp-pagination .page-numbers{
    margin:0;
  }
}
