/* WebARTing WP Plugins v2.7.9 — compact customer area with classic underline tabs */
body.wa-store-v270 .customer-portal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
body.wa-store-v270 .customer-portal > .notice { margin: 0 0 12px; }
body.wa-store-v270 .customer-portal .wa-account-summary {
  margin: 0 0 0;
  padding: 20px 23px;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  box-shadow: none;
}
.wa-account-summary-inner { display: flex; align-items: center; gap: 17px; min-width: 0; }
.wa-account-photo {
  width: 76px; height: 76px; flex: 0 0 76px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: color-mix(in srgb, var(--wa-theme-accent, #147ac5) 12%, #f0f7ff);
  color: var(--wa-theme-accent, #147ac5);
  border: 1px solid color-mix(in srgb, var(--wa-theme-accent, #147ac5) 23%, white);
}
.wa-account-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wa-account-photo svg { display: block; }
.wa-account-welcome { flex: 1 1 auto; min-width: 0; }
.wa-account-welcome .eyebrow { margin: 0 0 3px; font-size: 11px; letter-spacing: .1em; }
body.wa-store-v270 .wa-account-welcome h1 {
  margin: 0 0 4px; font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.16; color: var(--wa-theme-ink, #183e64);
}
.wa-account-welcome p:last-child { margin: 0; color: #697d94; font-size: 13px; overflow-wrap: anywhere; }
.wa-account-mini-stats { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; flex-wrap: wrap; }
.wa-account-mini-stats > span:not(.wa-account-test-flag) {
  display: inline-flex; gap: 7px; align-items: center;
  font-size: 12px; color: #637892; padding: 7px 10px;
  background: #f4f7fb; border: 1px solid #e7edf4;
  border-radius: 7px;
}
.wa-account-mini-stats strong { font-size: 15px; color: var(--wa-theme-ink, #183e64); }
.wa-account-test-flag { font-size: 12px; font-weight: 750; color: #90651a; }
/* Real tabs: no button backgrounds, boxes, floating pills, or shadows. */
body.wa-store-v270 .wa-account-tabs {
  display: flex; align-items: stretch; gap: 0;
  min-width: 0; overflow-x: auto; overflow-y: hidden;
  border-bottom: 1px solid #dae5ef;
  background: #fff;
  padding: 0 15px;
  scrollbar-width: thin;
}
body.wa-store-v270 .wa-account-tabs a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  min-height: 51px; padding: 11px 19px;
  margin-bottom: -1px; flex: 0 0 auto;
  border: 0 !important; border-bottom: 3px solid transparent !important;
  border-radius: 0 !important; box-shadow: none !important;
  background: transparent !important;
  color: #64758b !important; font-size: 14px; font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
body.wa-store-v270 .wa-account-tabs a svg {
  width: 17px; height: 17px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
body.wa-store-v270 .wa-account-tabs a:hover {
  color: var(--wa-theme-accent, #176bbb) !important;
  background: transparent !important;
}
body.wa-store-v270 .wa-account-tabs a.is-active {
  color: var(--wa-theme-accent, #176bbb) !important;
  border-bottom-color: var(--wa-theme-accent, #176bbb) !important;
}
.wa-tab-count { font-size: 11px; font-weight: 800; color: #637c98; }
body.wa-store-v270 .wa-account-tabs a.is-active .wa-tab-count { color: inherit; }
body.wa-store-v270 .customer-portal > .panel.wa-account-content,
body.wa-store-v270 .customer-portal > .panel.wa-account-orders,
body.wa-store-v270 .customer-portal > .panel.wa-account-tickets,
body.wa-store-v270 .customer-portal > .panel.wa-customer-payments {
  margin: 0; border-top: 0; border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important; box-shadow: none;
}
body.wa-store-v270 .customer-portal > .panel { width: 100%; min-width: 0; }
body.wa-store-v270 .customer-portal .admin-panel-head { margin-bottom: 14px; gap: 10px; }
body.wa-store-v270 .customer-portal .admin-panel-head h2 { font-size: 20px; line-height: 1.25; margin: 0; }
.wa-account-profile-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.wa-account-avatar-editor { border-right: 1px solid #e4ebf4; padding: 7px 20px 12px 0; min-width: 0; }
.wa-account-avatar-editor h3 { color: #243e58; margin: 0 0 7px; font-size: 15px; }
.wa-account-avatar-editor .small-muted { font-size: 12px; line-height: 1.5; }
.wa-avatar-upload-form { display: grid; gap: 8px; margin-top: 12px; }
.wa-avatar-file-label { display: grid; gap: 6px; font-size: 12px; color: #456078; font-weight: 700; }
.wa-avatar-file-label input { width: 100%; max-width: 200px; font-size: 12px; }
.wa-avatar-remove-form { margin-top: 8px; }
.wa-account-avatar-editor .button { max-width: 100%; white-space: normal; }
body.wa-store-v270 .wa-account-profile-grid .admin-form { min-width: 0; }
body.wa-store-v270 .wa-account-profile-grid .form-grid { gap: 12px 15px; }
body.wa-store-v270 .wa-account-profile-grid input { min-height: 39px; padding: 9px 12px; }
.wa-order-product { display: flex; align-items: center; gap: 11px; min-width: 180px; }
.wa-order-product-image { flex: 0 0 52px; width: 52px; height: 52px; object-fit: cover;
  display: block; border-radius: 6px; border: 1px solid #dee8f1; background: #f3f7fb; }
.wa-order-product > div { min-width: 0; }
.wa-order-product strong { display: block; font-size: 12.5px; line-height: 1.3; color: #203d5a; }
.wa-order-product small { display: block; overflow-wrap: anywhere; font-size: 11px; margin-top: 3px; color: #7890a7; }
body.wa-store-v270 .customer-portal .admin-table-wrap { max-width: 100%; overflow-x: auto; }
body.wa-store-v270 .customer-portal .admin-table th,
body.wa-store-v270 .customer-portal .admin-table td { padding: 12px 11px; font-size: 12px; vertical-align: middle; }
body.wa-store-v270 .customer-portal .admin-table thead th { white-space: nowrap; font-size: 11px; }
body.wa-store-v270 .customer-portal .filters-row { display: flex; gap: 10px; flex-wrap: wrap; }
body.wa-store-v270 .customer-portal .filters-row input[type=search] { flex: 1 1 200px; min-width: 0; }
@media(max-width:850px) {
  .wa-account-summary-inner { flex-wrap: wrap; }
  .wa-account-mini-stats { flex: 1 1 100%; padding-left: 0; }
  .wa-account-profile-grid { grid-template-columns: 1fr; gap: 14px; }
  .wa-account-avatar-editor { border-right: 0; border-bottom: 1px solid #e4ebf4; padding: 3px 0 16px; }
  .wa-avatar-upload-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
  .wa-avatar-file-label { min-width: 160px; }
}
@media(max-width:520px) {
  body.wa-store-v270 .customer-portal { margin: 12px 0 24px; }
  body.wa-store-v270 .customer-portal .wa-account-summary { padding: 16px; }
  .wa-account-summary-inner { gap: 12px; }
  .wa-account-photo { width: 59px; height: 59px; flex-basis: 59px; }
  .wa-account-photo svg { width: 28px; height: 28px; }
  .wa-account-welcome p:last-child { font-size: 12px; }
  .wa-account-mini-stats { gap: 6px; }
  .wa-account-mini-stats > span:not(.wa-account-test-flag) { padding: 5px 8px; }
  body.wa-store-v270 .wa-account-tabs { padding: 0 4px; }
  body.wa-store-v270 .wa-account-tabs a { padding: 10px 11px; min-height: 47px; font-size: 12px; gap: 5px; }
  body.wa-store-v270 .wa-account-tabs a svg { width: 15px; height: 15px; }
  body.wa-store-v270 .customer-portal > .panel.wa-account-content,
  body.wa-store-v270 .customer-portal > .panel.wa-account-orders,
  body.wa-store-v270 .customer-portal > .panel.wa-account-tickets { padding: 15px 12px; }
}
