/* ==========================================================================
   Customer account — My Profile, Login & Security, Manage Address, My Orders.
   Loaded by profile_left_nav.php, so every page with the account nav gets it.
   Same look as checkout: white cards on a light page, 44px fields with the
   label above, the theme colour (--primary-color) for anything interactive.
   Type follows the storefront's own scale (main.css): 16px / 400 body text,
   500 for headings, 14px for small print — so the account reads as the theme.
   ========================================================================== */
.acct {
  --acct-text: #212129;
  --acct-body: #212129;
  --acct-muted: #6b7280;
  --acct-faint: #9ca3af;
  --acct-line: #e5e7eb;
  --acct-line-soft: #f1f2f4;
  --acct-field: #dcdfe4;
  --acct-danger: #dc2626;
  --acct-ring: 0 0 0 3px color-mix(in srgb, var(--primary-color) 14%, transparent);
  --acct-tint: color-mix(in srgb, var(--primary-color) 9%, #fff);
  background: #f6f7f9;
  padding: 28px 0 72px;
  color: var(--acct-body);
  font-size: 16px;
}
.acct-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.acct-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* Card + page heading */
.acct-card {
  background: #fff;
  border: 1px solid var(--acct-line);
  border-radius: 14px;
  padding: 24px;
}
.acct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct .acct-title { display: block; margin: 0; font-size: 28px; line-height: 1.25; font-weight: 500; color: var(--acct-text); text-align: left; text-transform: none; }
.acct .acct-sub { margin: 4px 0 0; font-size: 16px; color: var(--acct-muted); text-align: left; }
.acct .acct-section-title { margin: 0 0 16px; font-size: 18px; font-weight: 500; color: var(--acct-text); text-align: left; }

/* Buttons */
.acct .acct-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; margin: 0;
  border: 1px solid transparent; border-radius: 4px;
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, filter .15s ease;
}
/* The product page's Buy Now: theme colour, navy (--secondary-color) on hover. */
.acct .acct-btn-primary { background: var(--primary-color); color: #fff; letter-spacing: .9px; }
.acct .acct-btn-primary:hover { background: var(--secondary-color); color: #fff; }
.acct .acct-btn-ghost { background: #fff; border-color: var(--acct-line); color: var(--acct-body); }
.acct .acct-btn-ghost:hover { border-color: var(--acct-faint); color: var(--acct-text); }
.acct .acct-btn-danger { background: #fff; border-color: #fecaca; color: var(--acct-danger); }
.acct .acct-btn-danger:hover { background: #fef2f2; border-color: var(--acct-danger); color: var(--acct-danger); }
.acct .acct-btn:focus-visible { outline: none; box-shadow: var(--acct-ring); }
.acct .acct-btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Text links used as row actions (Edit, Delete) */
.acct .acct-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 8px; margin: 0; border: 0; border-radius: 6px; background: none;
  color: var(--acct-muted); font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.acct .acct-link:hover { background: #f3f4f6; color: var(--primary-color); }
.acct .acct-link.is-danger:hover { background: #fef2f2; color: var(--acct-danger); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.acct-nav { background: #fff; border: 1px solid var(--acct-line); border-radius: 14px; padding: 8px; }
.acct-nav-user { display: flex; align-items: center; gap: 12px; padding: 12px 10px 16px; margin-bottom: 6px; border-bottom: 1px solid var(--acct-line-soft); }
.acct-avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  background: var(--acct-tint); color: var(--primary-color); font-size: 16px; font-weight: 500; text-transform: uppercase;
}
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct-nav-who { min-width: 0; }
.acct .acct-nav-hello { display: block; font-size: 14px; color: var(--acct-muted); }
.acct .acct-nav-name { display: block; font-size: 16px; font-weight: 500; color: var(--acct-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-nav-list { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.acct .acct-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px;
  color: var(--acct-body); font-size: 16px; font-weight: 400; text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.acct .acct-nav-link .acct-ico { flex: 0 0 18px; color: var(--acct-faint); transition: color .15s ease; }
.acct .acct-nav-link:hover { background: #f5f6f8; color: var(--acct-text); }
.acct .acct-nav-link:hover .acct-ico { color: var(--acct-muted); }
.acct .acct-nav-link.is-active { background: var(--acct-tint); color: var(--primary-color); font-weight: 500; }
.acct .acct-nav-link.is-active .acct-ico { color: var(--primary-color); }
.acct-nav-list .acct-nav-sep { height: 1px; margin: 6px 4px; background: var(--acct-line-soft); }
.acct .acct-nav-link.is-logout:hover { background: #fef2f2; color: var(--acct-danger); }
.acct .acct-nav-link.is-logout:hover .acct-ico { color: var(--acct-danger); }

/* --------------------------------------------------------------------------
   Form fields (profile, password, address modal) — the checkout field
   -------------------------------------------------------------------------- */
.acct .acct-fields,
.acct #changePasswordForm .acct-fields { display: flex; flex-wrap: wrap; row-gap: 16px; } /* main.css blocks that form's .row by id */
.acct .acct-field { position: relative; margin: 0; }
.acct .acct-label {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 6px; font-size: 14px; font-weight: 500; line-height: 20px; color: var(--acct-body);
}
.acct .acct-field .form-control {
  display: block; width: 100%;
  height: 44px !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  border: 1px solid var(--acct-field) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--acct-text) !important;
  font-size: 16px !important;
  line-height: 22px !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct .acct-field textarea.form-control { height: auto !important; min-height: 44px; resize: vertical; }
.acct .acct-field .form-control::placeholder { color: var(--acct-faint) !important; opacity: 1; }
.acct .acct-field .form-control:focus { outline: none; border-color: var(--primary-color) !important; box-shadow: var(--acct-ring) !important; }
.acct .acct-field .form-control:disabled,
.acct .acct-field .form-control[readonly] { background: #f9fafb !important; color: var(--acct-muted) !important; cursor: not-allowed; }
.acct .acct-field .input_error { display: block; margin-top: 4px; font-size: 14px; color: var(--acct-danger); }
.acct .acct-field .input_error:empty { display: none; }
/* Error state — any field whose message slot has text (the scripts' own inline red/green borders are overridden). */
.acct .acct-field:has(> .input_error:not(:empty)) .form-control,
.acct .acct-field:has(> .input_error:not(:empty)) .mls-trigger,
.acct .acct-field:has(> .input_error:not(:empty)) > .acct-phone { border-color: var(--acct-danger) !important; }
.acct .acct-check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; color: var(--acct-body); cursor: pointer; }
.acct .acct-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary-color); cursor: pointer; }
/* The theme fills a checked box with --secondary-color but only ticks a .form-check-input. */
.acct .acct-check input[type="checkbox"]:checked {
  background: var(--secondary-color) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") center / 16px no-repeat;
}
.acct .acct-check label { margin: 0; cursor: pointer; }
.acct .acct-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }

/* Dropdowns (js/ml-select.js) — same box as an input */
.acct { --mls-h: 44px; --mls-border: var(--acct-field); --mls-radius: 8px; --mls-font: 16px; }

/* Phone: dialling code + number in one bordered box */
.acct .acct-phone {
  display: flex; align-items: stretch; height: 44px;
  border: 1px solid var(--acct-field); border-radius: 8px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct .acct-phone:focus-within { border-color: var(--primary-color); box-shadow: var(--acct-ring); }
.acct .acct-phone .mls { position: static; flex: 0 0 42%; max-width: 220px; }
.acct .acct-phone .mls-trigger { height: 100%; border: 0; border-radius: 8px 0 0 8px; box-shadow: none; }
.acct .acct-phone .form-control {
  flex: 1 1 auto; min-width: 0; height: 100% !important;
  border: 0 !important; border-left: 1px solid #eef0f3 !important; border-radius: 0 8px 8px 0 !important;
  box-shadow: none !important;
}
.acct .acct-phone .form-control:focus { box-shadow: none !important; }
.acct .acct-field:has(> .input_error:not(:empty)) .acct-phone .form-control { border-color: #eef0f3 !important; }

/* --------------------------------------------------------------------------
   Manage Address
   -------------------------------------------------------------------------- */
.acct-addr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-addr {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px; border: 1px solid var(--acct-line); border-radius: 12px; background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct-addr:hover { border-color: #d1d5db; box-shadow: 0 4px 14px rgba(17, 24, 39, .06); }
.acct-addr.is-default { border-color: color-mix(in srgb, var(--primary-color) 45%, #fff); }
.acct-addr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.acct .acct-addr-name { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--acct-text); overflow-wrap: anywhere; }
.acct-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  background: var(--acct-tint); color: var(--primary-color);
  font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.acct .acct-addr-lines { margin: 0; font-size: 16px; line-height: 1.55; color: var(--acct-body); overflow-wrap: anywhere; }
.acct-addr-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--acct-muted); }
.acct-addr-contact > span { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.acct-addr-contact i { width: 14px; text-align: center; color: var(--acct-faint); }
.acct-addr-actions { display: flex; gap: 4px; margin: auto -8px -6px; padding-top: 6px; border-top: 1px solid var(--acct-line-soft); }

/* Empty states (no address / no order) */
.acct-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 16px; text-align: center; }
.acct-empty-icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--acct-tint); color: var(--primary-color); font-size: 22px;
}
.acct .acct-empty-title { margin: 0; font-size: 18px; font-weight: 500; color: var(--acct-text); }
.acct .acct-empty-text { margin: 0 0 6px; font-size: 16px; color: var(--acct-muted); }

/* --------------------------------------------------------------------------
   Address modal — the checkout delivery-address modal, same shell and fields
   -------------------------------------------------------------------------- */
.acct .address-modal {
  /* above the site header (its language picker is z-indexed high), below the site's alert dialogs (10500) */
  display: none; position: fixed; inset: 0; z-index: 10400;
  padding: 40px 16px; overflow-x: hidden; overflow-y: auto;
  background: rgba(17, 24, 39, .55);
  -webkit-overflow-scrolling: touch;
  animation: acct-fade .18s ease;
}
.acct .address-modal.is-open { display: flex; align-items: flex-start; justify-content: center; }
.acct .address-modal-body {
  width: 100%; max-width: 760px; margin: auto; overflow: hidden;
  background: #fff; border-radius: 14px; box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
  animation: acct-rise .22s ease;
}
.acct .address-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border-bottom: 1px solid var(--acct-line-soft); background: #fff;
}
.acct .address-modal-title {
  position: relative; margin: 0; padding-left: 12px;
  font-size: 16px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--acct-muted);
}
.acct .address-modal-title::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 14px;
  border-radius: 2px; background: var(--primary-color); transform: translateY(-50%);
}
.acct .address-modal-close {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: #f3f4f6; color: var(--acct-muted); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.acct .address-modal-close::before { content: "\00D7"; font-size: 22px; line-height: 1; }
.acct .address-modal-close:hover { background: var(--acct-line); color: var(--acct-text); }
.acct .address-modal-content { padding: 22px; max-height: calc(100vh - 200px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.acct .address-modal-content form { display: block !important; }
.acct .address-modal-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--acct-line-soft);
}
.acct .address-modal-cancel {
  height: 44px; padding: 0 22px; border: 1px solid var(--acct-line); border-radius: 4px;
  background: #fff; color: var(--acct-body); font-size: 15px; font-weight: 500; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.acct .address-modal-cancel:hover { border-color: var(--acct-faint); color: var(--acct-text); }
.acct .address-modal-submit {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 22px; margin: 0; border: 0; border-radius: 4px;
  background: var(--primary-color); color: #fff;
  font-size: 16px; font-weight: 500; letter-spacing: .9px; cursor: pointer;
  transition: background-color .15s ease;
}
.acct .address-modal-submit:hover { background: var(--secondary-color); color: #fff; }
.acct .address-modal-submit.display_none { display: none; }
.acct .address-modal .is-other > .mls { display: none; }
@keyframes acct-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes acct-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
html.acct-modal-open, body.acct-modal-open { overflow: hidden !important; }
html:has(.acct) { scrollbar-gutter: stable; } /* no sideways jump when the modal locks the page */

/* --------------------------------------------------------------------------
   My Profile
   -------------------------------------------------------------------------- */
.acct-profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--acct-line-soft); }
.acct-photo { position: relative; flex: 0 0 auto; width: 80px; height: 80px; }
.acct-photo-img { display: block; width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #f3f4f6; box-shadow: 0 0 0 1px var(--acct-line); }
.acct-photo-img img { width: 100% !important; height: 100% !important; object-fit: cover; } /* the upload preview sets an inline 120px width */
.acct-photo-edit {
  position: absolute; right: -2px; bottom: -2px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; border: 2px solid #fff; border-radius: 50%;
  background: var(--primary-color); color: #fff; font-size: 12px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}
.acct-photo-edit:hover { filter: brightness(1.1); }
.acct .acct-profile-name { margin: 0; font-size: 24px; font-weight: 500; color: var(--acct-text); text-align: left; overflow-wrap: anywhere; }
.acct .acct-profile-email { margin: 2px 0 0; font-size: 16px; color: var(--acct-muted); text-align: left; overflow-wrap: anywhere; }
.acct .acct-profile-dob-hint { margin-top: 4px; font-size: 14px; color: var(--acct-muted); }
.acct .whatsapp_section { margin-top: 10px; }

/* Profile's own dialling-code picker sits in the same bordered phone box */
.acct .acct-phone .country-selector { flex: 0 0 auto; position: relative; }
.acct .acct-phone .country-selector__trigger {
  height: 100%; padding: 0 10px 0 14px; gap: 6px; border: 0; border-radius: 8px 0 0 8px; background: #fafafb;
}
.acct .acct-phone .country-selector__code { color: var(--acct-text); font-size: 16px; }
.acct .acct-phone .country-selector__dropdown { top: calc(100% + 6px); border-color: var(--acct-line); border-radius: 10px; box-shadow: 0 14px 34px rgba(17, 24, 39, .14); }
.acct .acct-phone .country-selector__item:hover { background: var(--acct-tint); }

.acct-danger { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acct .acct-danger-title { margin: 0; font-size: 18px; font-weight: 500; color: var(--acct-text); }
.acct .acct-danger-text { margin: 2px 0 0; font-size: 14px; color: var(--acct-muted); }

/* Verification + flash messages */
.acct .acct-alert {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  padding: 12px 14px; border-radius: 10px; font-size: 16px; line-height: 1.45;
  background: #fffbeb; border: 1px solid #fde68a; color: #92400e;
}
.acct .acct-alert a { color: inherit; font-weight: 500; text-decoration: underline; }
.acct .acct-alert.is-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.acct .acct-alert.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.acct .acct-alert .btn-close { margin-left: auto; }

/* --------------------------------------------------------------------------
   My Orders
   -------------------------------------------------------------------------- */
.acct-orders-filter { width: 230px; max-width: 100%; }
.acct .acct-orders-note { margin: 0; font-size: 14px; color: var(--acct-muted); }
.acct .acct-orders-note .store-tz-note { margin: 0 !important; font-size: 14px !important; } /* the note carries its own inline 12px top margin */
.acct-orders { display: flex; flex-direction: column; gap: 16px; }
.acct-order { background: #fff; border: 1px solid var(--acct-line); border-radius: 14px; overflow: hidden; }
.acct-order-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; background: #fafafb; border-bottom: 1px solid var(--acct-line-soft);
}
.acct-order-ref { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct .acct-order-no { font-size: 16px; font-weight: 500; color: var(--acct-text); text-decoration: none; }
.acct .acct-order-no:hover { color: var(--primary-color); text-decoration: underline; }
.acct .acct-order-date { font-size: 14px; color: var(--acct-muted); }
.acct-order-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 18px 20px; }
.acct .acct-order-thumb {
  display: block; width: 76px; height: 76px; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid var(--acct-line);
}
.acct .acct-order-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.acct-order-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.acct .acct-order-name { font-size: 16px; font-weight: 500; line-height: 1.35; color: var(--acct-text); text-decoration: none; overflow-wrap: anywhere; }
.acct .acct-order-name:hover { color: var(--primary-color); }
.acct .acct-order-meta { font-size: 14px; color: var(--acct-muted); }
.acct .acct-order-timeline { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--acct-body); }
.acct .acct-order-timeline i.fa-clock-o { display: none; } /* the line already reads as a date */
.acct .acct-order-timeline .text-red,
.acct .acct-order-timeline .highlighted_text { color: var(--acct-danger); }
.acct .acct-order-timeline a { color: var(--primary-color) !important; font-weight: 500; }
.acct-order-amount { text-align: right; white-space: nowrap; }
.acct .acct-order-price { display: block; font-size: 18px; font-weight: 700; color: var(--acct-text); }
.acct .acct-order-ship { display: block; margin-top: 2px; font-size: 14px; color: var(--acct-muted); }
.acct-order-refund { margin: 0 20px; padding: 12px 14px; border-radius: 10px; background: #fafafb; display: grid; gap: 6px; font-size: 14px; }
.acct-order-refund > div { display: flex; justify-content: space-between; gap: 12px; }
.acct-order-refund span:first-child { color: var(--acct-muted); }
.acct-order-refund strong { color: var(--acct-text); font-weight: 500; }
.acct-order-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1px solid var(--acct-line-soft);
}
.acct-order-refund + .acct-order-foot { margin-top: 16px; }
.acct .acct-order-via { font-size: 14px; color: var(--acct-muted); }
.acct-order-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.acct .acct-order-actions .my_order_cancel_loading_div,
.acct .acct-order-actions .my_order_return_loading_div { font-size: 14px; }

/* Status pill */
.acct .acct-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  background: #f3f4f6; color: #374151;
}
.acct .acct-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acct .acct-status.is-pending { background: #fffbeb; color: #b45309; }
.acct .acct-status.is-progress { background: #eff6ff; color: #1d4ed8; }
.acct .acct-status.is-done { background: #f0fdf4; color: #15803d; }
.acct .acct-status.is-stopped { background: #fef2f2; color: #b91c1c; }
.acct .acct-status.is-returned { background: #f5f3ff; color: #6d28d9; }
.acct .acct-status i { font-size: 12px; }

/* Pagination */
.acct .acct-orders .pagination { display: flex; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; }
.acct .acct-orders .pagination .page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--acct-line); border-radius: 8px;
  background: #fff; color: var(--acct-body); font-size: 16px; font-weight: 400;
}
.acct .acct-orders .pagination .page-link img { width: 14px; height: 14px; }
.acct .acct-orders .pagination .page-link:hover { border-color: var(--acct-faint); }
.acct .acct-orders .pagination .page-link.active-link { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.acct .my_order_loading_div { padding: 40px 0; }

/* --------------------------------------------------------------------------
   Widths
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .acct { padding: 16px 0 48px; }
  .acct-shell { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  /* The nav becomes a row of tabs that scrolls sideways. */
  .acct-nav { padding: 6px; }
  .acct-nav-user { display: none; }
  .acct-nav-list { flex-direction: row; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .acct-nav-list::-webkit-scrollbar { display: none; }
  .acct .acct-nav-link { flex: 0 0 auto; padding: 9px 14px; white-space: nowrap; }
  .acct-nav-list .acct-nav-sep { display: none; }
}
@media (max-width: 767px) {
  .acct-card { padding: 16px; border-radius: 12px; }
  .acct .acct-title { font-size: 24px; }
  .acct-addr-grid { grid-template-columns: minmax(0, 1fr); }
  .acct-head > .acct-btn, .acct-orders-filter { width: 100%; }
  .acct-order-head, .acct-order-item, .acct-order-foot { padding-left: 16px; padding-right: 16px; }
  .acct-order-refund { margin: 0 16px; }
  .acct-order-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .acct .acct-order-thumb { width: 64px; height: 64px; }
  .acct-order-amount { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .acct .acct-order-ship { margin: 0; }
  .acct-order-actions { width: 100%; margin-left: 0; }
  .acct-order-actions .acct-btn { flex: 1 1 auto; }
  .acct-profile-head { gap: 14px; }
  .acct-photo, .acct-photo-img { width: 64px; height: 64px; }
  .acct .acct-profile-name { font-size: 20px; }
  .acct .acct-form-actions .acct-btn { width: 100%; }
  .acct .acct-danger .acct-btn { width: 100%; }
  /* Address modal on a phone: the overlay scrolls, header and footer flow with the form. */
  .acct .address-modal { padding: 16px 12px; }
  .acct .address-modal-content { padding: 16px; max-height: none; overflow: visible; }
  .acct .address-modal-header { padding: 14px 16px; }
  .acct .address-modal-footer { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
  .acct .address-modal-cancel, .acct .address-modal-submit { width: 100%; justify-content: center; }
}

/* Login & Security: show/hide password eye inside the field */
.acct .acct-field .toggle-password {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--acct-faint); cursor: pointer;
}
.acct .acct-field .toggle-password:hover { color: var(--acct-muted); }
.acct .acct-field .form-control.pe-5 { padding-right: 42px !important; }

/* --------------------------------------------------------------------------
   Order details (view-order)
   -------------------------------------------------------------------------- */
.acct .acct-back {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-bottom: -8px; color: var(--acct-muted); font-size: 14px; font-weight: 500; text-decoration: none;
}
.acct .acct-back:hover { color: var(--primary-color); }
.acct-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acct-od-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.acct-od-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.acct-od-items { display: flex; flex-direction: column; }
.acct-od-item { padding: 18px 0; border-top: 1px solid var(--acct-line-soft); }
.acct-od-item:first-child { padding-top: 0; border-top: 0; }
.acct-od-item:last-child { padding-bottom: 0; }
.acct-od-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.acct-od-review { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 0 92px; }
.acct .acct-od-review-note { font-size: 14px; color: var(--acct-muted); }
.acct .acct-od-review-note i { color: #16a34a; }

/* Status timeline */
.acct-track { display: flex; margin: 16px 0 0; padding: 0; list-style: none; }
.acct-step { position: relative; flex: 1 1 0; min-width: 0; padding: 24px 8px 0 0; }
.acct-step::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: 1;
  width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d1d5db; background: #fff;
}
.acct-step:not(:last-child)::after {
  content: ""; position: absolute; top: 6px; left: 18px; right: 4px; height: 2px; border-radius: 1px; background: #e5e7eb;
}
.acct-step.is-done::before { border-color: #16a34a; background: #16a34a; box-shadow: inset 0 0 0 2px #fff; }
.acct-step.is-done:not(:last-child)::after { background: #16a34a; }
.acct-step.is-stopped::before { border-color: var(--acct-danger); background: var(--acct-danger); box-shadow: inset 0 0 0 2px #fff; }
.acct .acct-step-label { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--acct-text); }
.acct-step:not(.is-done):not(.is-stopped) .acct-step-label { color: var(--acct-muted); font-weight: 400; }
.acct-step.is-stopped .acct-step-label { color: var(--acct-danger); }
.acct .acct-step-date { display: block; margin-top: 2px; font-size: 14px; color: var(--acct-muted); }

/* Summary list */
.acct .acct-sum { display: grid; gap: 10px; margin: 0; font-size: 16px; }
.acct .acct-sum > div { display: flex; justify-content: space-between; gap: 12px; }
.acct .acct-sum dt { font-weight: 400; color: var(--acct-muted); }
.acct .acct-sum dd { margin: 0; color: var(--acct-text); text-align: right; overflow-wrap: anywhere; }
.acct .acct-sum .is-total { padding-top: 12px; border-top: 1px solid var(--acct-line-soft); }
.acct .acct-sum .is-total dt, .acct .acct-sum .is-total dd { font-size: 18px; font-weight: 700; color: var(--acct-text); }
.acct .acct-sum.is-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--acct-line); font-size: 14px; }

/* Addresses */
.acct-od-addr-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.acct-od-addr-head .acct-section-title { margin: 0; }
.acct .acct-od-addr { display: flex; flex-direction: column; gap: 3px; font-size: 16px; line-height: 1.5; color: var(--acct-body); overflow-wrap: anywhere; }
.acct .acct-od-addr strong { font-weight: 500; color: var(--acct-text); }
.acct .acct-od-addr a { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 14px; color: var(--acct-muted); text-decoration: none; }
.acct .acct-od-addr a:hover { color: var(--primary-color); }
.acct .acct-od-addr a i { width: 14px; text-align: center; color: var(--acct-faint); }
.acct .acct-od-addr.is-billing { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--acct-line-soft); }
.acct .acct-od-addr-title { margin: 0 0 6px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--acct-muted); }

/* Change-address form */
.acct .acct-od-form-title { margin: 20px 0 12px; font-size: 14px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--acct-muted); }
.acct .acct-phone .acct-phone-code {
  flex: 0 0 88px; border: 0 !important; border-radius: 8px 0 0 8px !important; background: #f9fafb !important; color: var(--acct-muted) !important;
}

@media (max-width: 1199px) {
  .acct-od-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .acct-od-line { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .acct-od-review { margin-left: 0; }
  .acct-head-actions { width: 100%; }
  /* The timeline reads top to bottom on a phone. */
  .acct-track { flex-direction: column; gap: 14px; }
  .acct-step { padding: 0 0 0 26px; }
  .acct-step:not(:last-child)::after { top: 18px; bottom: -14px; left: 6px; right: auto; width: 2px; height: auto; }
}

/* State: "Other" swaps the list for a free-text box */
.acct .acct-field .form-control.display_none { display: none !important; }
.acct .acct-state.is-other > .mls { display: none; }
.acct .acct-label-hint { color: var(--acct-faint); cursor: help; }

/* --------------------------------------------------------------------------
   Wishlist
   -------------------------------------------------------------------------- */
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.acct .wl-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border: 1px solid var(--acct-line); border-radius: 14px; overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct .wl-card:hover { border-color: #d1d5db; box-shadow: 0 8px 24px rgba(17, 24, 39, .08); }
.acct .wl-media { display: block; aspect-ratio: 1 / 1; background: #f9fafb; overflow: hidden; }
.acct .wl-media img { width: 100%; height: 100%; padding: 14px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.acct .wl-card:hover .wl-media img { transform: scale(1.04); }
.acct .wl-off {
  position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 999px;
  background: var(--acct-danger); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.3;
}
.acct .wl-remove {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; border: 1px solid var(--acct-line); border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--acct-muted); cursor: pointer;
  box-shadow: 0 1px 3px rgba(17, 24, 39, .08); transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.acct .wl-remove:hover { color: var(--acct-danger); border-color: #fecaca; background: #fef2f2; }
.acct .wl-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 6px; padding: 14px; }
.acct .wl-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em; font-size: 16px; font-weight: 400; line-height: 1.35; color: var(--acct-text); text-decoration: none;
}
.acct .wl-name:hover { color: var(--primary-color); }
.acct .wl-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.acct .wl-price strong { font-size: 18px; font-weight: 700; color: var(--acct-text); }
.acct .wl-price del { font-size: 14px; color: var(--acct-faint); }
.acct .wl-ship { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--acct-muted); }
.acct .wl-ship-dot { width: 8px; height: 8px; border-radius: 50%; }
.acct .wl-actions { margin-top: auto; padding-top: 8px; }
/* add-to-cart-script.js shows and hides these with an inline display:block / none */
/* The same compact button as Add New Address / Add another product: 38px, 15px / 500 text with
   the Buy Now letter-spacing, 4px corners, the theme colour turning navy on hover. */
.acct .wl-card .wl-btn {
  display: block; width: 100%; height: 38px; margin: 0; padding: 0 12px; letter-spacing: .9px;
  border: 1px solid var(--primary-color); border-radius: 4px;
  background: var(--primary-color); color: #fff;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 36px; text-align: center; white-space: nowrap;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.acct .wl-card .wl-btn:not(.is-ghost):not(.is-disabled):hover { background: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.acct .wl-card .wl-btn .acct-ico, .acct .wl-card .wl-btn i { display: inline-block; margin-right: 6px; vertical-align: -3px; }
.acct .wl-card .wl-btn span { display: inline; position: static; }
/* main.css paints every .go_to_cart_button with an !important background */
.acct .wl-card .wl-btn.is-ghost { background: #fff !important; border-color: var(--primary-color) !important; color: var(--primary-color) !important; }
.acct .wl-card .wl-btn.is-ghost:hover { background: var(--acct-tint) !important; }
.acct .wl-card .wl-btn.is-disabled { background: #f3f4f6; border-color: var(--acct-line); color: var(--acct-faint); cursor: not-allowed; }
@media (max-width: 575px) {
  .wl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .acct .wl-body { padding: 10px; }
  .acct .wl-media img { padding: 8px; }
  .acct .wl-card .wl-btn { height: 36px; line-height: 34px; font-size: 14px; padding: 0 6px; letter-spacing: .3px; }
  .acct .wl-card .wl-btn .acct-ico { display: none; }
}

/* --------------------------------------------------------------------------
   Bulk order request — the address book on the left, the request beside it.
   The tiles keep the markup CustomerDeliveryAddress::insertDeliveryAddress()
   returns after a save (radio + .checkout_address + edit/delete links), and
   the ids on the lists outrank the legacy checkout rules in sub-page.css.
   -------------------------------------------------------------------------- */
.acct-bulk .acct-head { margin-bottom: 20px; }
.acct-bulk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.acct-bulk-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.acct-bulk-side { position: sticky; top: 104px; min-width: 0; } /* clear of the fixed header */
.acct-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.acct .acct-card-head .acct-section-title { margin: 0; }

/* Address tiles */
.acct-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div {
  display: flex !important; align-items: flex-start; gap: 12px;
  width: auto; max-width: none; margin: 0; padding: 14px 10px 14px 14px;
  border: 1px solid var(--acct-line); border-radius: 12px; background: #fff;
  cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div:hover { border-color: #d1d5db; }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div:has(> input:checked) {
  border-color: var(--primary-color); background: var(--acct-tint); box-shadow: inset 0 0 0 1px var(--primary-color);
}
/* Drawn here: sub-page.css paints every checked radio white with a black edge (!important)
   and hangs its dot off an absolute ::after. */
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div > input[type="radio"] {
  -webkit-appearance: none; appearance: none;
  flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; float: none; position: static;
  border: 1.5px solid #c4c9d0; border-radius: 50%; background: #fff; box-shadow: none; cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div > input[type="radio"]:checked {
  border-color: var(--primary-color) !important; background-color: var(--primary-color) !important; box-shadow: inset 0 0 0 3px #fff;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div > input[type="radio"]::after { content: none !important; }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div > input[type="radio"]:focus-visible { outline: none; box-shadow: var(--acct-ring); }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) > div > input[type="radio"]:checked:focus-visible { box-shadow: inset 0 0 0 3px #fff, var(--acct-ring); }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .checkout_address {
  flex: 1 1 auto; width: auto; min-width: 0; padding: 0 !important; background: none;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .checkout_address p {
  margin: 0; font-size: 14px; line-height: 1.5; color: var(--acct-muted); text-align: left; overflow-wrap: anywhere;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .checkout_address p:first-child {
  display: flex; flex-direction: column; margin-bottom: 6px;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .checkout_address span { margin: 0; }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .checkout_address strong {
  display: block; width: auto; margin: 0 0 2px; font-size: 16px; font-weight: 500; color: var(--acct-text);
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .btn-fab {
  flex: 0 0 auto; width: 32px; height: 32px; margin: -4px 0 0; padding: 0;
  border: 0; border-radius: 8px; box-shadow: none; background: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--acct-muted); font-size: 14px; transition: background-color .15s ease, color .15s ease;
}
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .edit_address:hover { background: #fff; color: var(--primary-color); }
.acct-bulk :is(#delivery_address_outer, #billing_address_outer) .delete_address:hover { background: #fef2f2; color: var(--acct-danger); }
/* A saved address is copied into the billing list with its edit links; they belong to the delivery list. */
.acct-bulk #billing_address_outer .btn-fab { display: none; }
/* A long address book shows four — and the chosen one, wherever it sits. */
.acct-bulk :is(#delivery_address_outer, #billing_address_outer).is-collapsed > div:nth-child(n+5):not(:has(> input:checked)) { display: none !important; }
.acct .acct-pick-more {
  display: block; margin: 12px auto 0; padding: 6px 10px; border: 0; border-radius: 6px; background: none;
  color: var(--primary-color); font-size: 14px; font-weight: 500; cursor: pointer;
}
.acct .acct-pick-more:hover { background: var(--acct-tint); }
.acct .acct-pick-more[hidden], .acct-bulk .acct-empty[hidden] { display: none; }
.acct-bulk .acct-empty { padding: 24px 16px 8px; }
.acct-bulk .other_billing_address { margin-top: 16px; }
.acct-bulk #billing_address_outer { margin-bottom: 12px; }
.acct-bulk #billing_address_outer:empty { display: none; }

/* Products */
.acct-bulk-rowhead, .acct-bulk-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 44px; gap: 8px; align-items: start; }
.acct-bulk-rowhead { margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--acct-body); }
.acct-bulk-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
/* The product list opens across the whole row, so long names have room. */
.acct-bulk-row { position: relative; }
.acct .acct-bulk-row > .acct-field:first-child, .acct-bulk-row > .acct-field:first-child .mls { position: static; }
.acct .acct-bulk-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--acct-line); border-radius: 8px;
  background: #fff; color: var(--acct-muted); cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.acct .acct-bulk-remove:hover:not(:disabled) { border-color: #fecaca; background: #fef2f2; color: var(--acct-danger); }
.acct .acct-bulk-remove:disabled { opacity: .45; cursor: default; }
/* Add another product: a text link in the theme colour — the same 15px / 500 type and plus icon as
   the page's buttons, without their fill. Navy and underlined on hover, like the buttons' hover. */
.acct .acct-bulk-add {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 4px 0; border: 0; background: none;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.3; letter-spacing: .3px;
  color: var(--primary-color); cursor: pointer;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.acct .acct-bulk-add .fa { font-size: 13px; }
.acct .acct-bulk-add:hover { color: var(--secondary-color); text-decoration-color: currentColor; }
.acct .acct-bulk-add:focus-visible { outline: none; border-radius: 4px; box-shadow: var(--acct-ring); }
/* The page's add-address buttons are a compact 38px — checkout's Add New Address matches. */
.acct-bulk :is(#add-delivery-address, #add-billing-address) { height: 38px; padding: 0 16px; font-size: 15px; }
.acct .acct-bulk-hint { margin: 6px 0 20px; font-size: 14px; color: var(--acct-muted); }
.acct .acct-bulk-message { margin-bottom: 20px; }
/* Send Request is the product page's Buy Now: the theme colour, the secondary colour on hover,
   white text. main.css forces every .bulk_order_button's text to #1a202c !important (a contrast
   fix for the product page's outlined Bulk Order link), and the address save checks that class. */
.acct .acct-bulk-send { width: 100%; height: 56px; font-size: 18px; transition: background-color .6s ease; }
.acct .acct-bulk-send.bulk_order_button { color: #fff !important; }
.acct .acct-bulk-send:hover, .acct .acct-bulk-send:focus-visible { background: var(--secondary-color); }
/* While it sends, the script marks it display_none; it stays in place and spins instead (is-busy). */
.acct .acct-bulk-send.display_none { display: inline-flex !important; } /* sub-page.css: .display_none is !important */
.acct .acct-bulk-send.is-busy .fa-paper-plane { display: none; }

/* Card headers — checkout's and the cart's: a thin theme-colour bar, a small uppercase grey
   title, and a hairline under a full-width band (pulled out over the card's own padding). */
.acct-bulk .acct-card > .acct-section-title,
.acct-bulk .acct-card > .acct-card-head {
  margin: -24px -24px 20px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--acct-line-soft);
}
.acct-bulk .acct-card > .acct-card-head { padding-top: 8px; padding-bottom: 8px; flex-wrap: nowrap; }
.acct-bulk .acct-card .acct-section-title {
  position: relative;
  padding-left: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--acct-muted);
}
.acct-bulk .acct-card .acct-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: var(--primary-color);
  transform: translateY(-50%);
}
/* A title that IS the band (no button beside it) carries the band's 24px inset itself. */
.acct-bulk .acct-card > .acct-section-title { padding-left: 36px; }
.acct-bulk .acct-card > .acct-section-title::before { left: 24px; }

@media (max-width: 1199px) {
  .acct-bulk-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .acct-pick { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .acct-bulk-grid { grid-template-columns: minmax(0, 1fr); }
  .acct-bulk-side { position: static; }
  .acct-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  /* .acct-card's padding drops to 16px here, so the header band follows it. */
  .acct-bulk .acct-card > .acct-section-title,
  .acct-bulk .acct-card > .acct-card-head { margin: -16px -16px 16px; padding: 12px 16px; }
  .acct-bulk .acct-card > .acct-card-head { padding-top: 7px; padding-bottom: 7px; }
  .acct-bulk .acct-card .acct-section-title { font-size: 11px; }
  .acct-bulk .acct-card > .acct-section-title { padding-left: 28px; }
  .acct-bulk .acct-card > .acct-section-title::before { left: 16px; }
}
@media (max-width: 575px) {
  .acct-pick { grid-template-columns: minmax(0, 1fr); }
  .acct-bulk-rowhead, .acct-bulk-row { grid-template-columns: minmax(0, 1fr) 88px 44px; }
}
