.account-dashboard {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  margin: 22px 0 40px;
  align-items: start;
}

.account-sidebar {
  position: sticky;
  top: 124px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-panel-standard, 20px);
}

.account-profile {
  display: grid;
  min-height: 118px;
  padding: 18px 16px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  border-radius: var(--radius-panel-compact, 14px);
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(215, 182, 108, 0.2),
      transparent 35%
    ),
    linear-gradient(135deg, var(--industrial-navy), var(--industrial-navy));
  color: #fff;
}

.account-profile-avatar {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--industrial-yellow);
  font-size: 25px;
}

.account-profile > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.account-profile > div small,
.account-profile > div span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.account-profile strong {
  margin: 4px 0;
  font-size: 16px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.account-tabs {
  display: grid;
  gap: 5px;
  margin: 14px 0;
}

.account-tabs a {
  display: grid;
  min-height: 58px;
  padding: 7px 9px;
  grid-template-columns: 36px minmax(0, 1fr) 16px;
  gap: 9px;
  align-items: center;
  border: 1px solid transparent;
  border-bottom-color: #e9eef2;
  border-radius: 12px;
  color: var(--industrial-steel);
  transition: 0.22s ease;
}

.account-tabs a > i:first-child {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #f4f6f8;
  color: #64768a;
  font-size: 16px;
}

.account-tabs a > span {
  display: flex;
  min-width: 0;
  align-items: center;
}

.account-tabs a strong {
  color: var(--industrial-navy);
  font-size: 13px;
  font-weight: 650;
}

.account-tabs a small {
  display: none !important;
  color: var(--industrial-steel);
  font-size: 12px;
}

.account-tabs a[href*="Questions"] {
  display: none !important;
}

.account-tabs a > i:last-child {
  color: color-mix(in srgb, var(--industrial-steel) 26%, white);
  font-size: 13px;
  transition: transform 0.2s ease;
}

.account-tabs a:hover {
  border-color: #e1e8ee;
  background: #f7f9fb;
  transform: none;
}

.account-tabs a[aria-current] > i:first-child {
  background: #eaf0f5;
  color: var(--industrial-navy);
}

.account-tabs a[aria-current] strong {
  color: var(--industrial-navy);
}

.account-tabs a[aria-current] > i:last-child {
  color: #9aa8b6;
  transform: none;
}

.account-sidebar-help {
  display: flex;
  padding: 13px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(190, 156, 91, 0.27);
  border-radius: 14px;
  background: var(--industrial-bg);
}

.account-sidebar-help > i {
  color: var(--industrial-yellow-dark);
  font-size: 22px;
}

.account-sidebar-help > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.account-sidebar-help strong,
.account-sidebar-help a {
  font-size: 12px;
}

.account-sidebar-help a {
  color: var(--industrial-yellow-dark);
}

.account-content {
  min-width: 0;
  min-height: 520px;
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-panel-standard, 20px);
  font-size: 14px;
}

.account-section[hidden] {
  display: none !important;
}

.account-section:not([hidden]) {
  animation: accountSectionIn 0.28s ease both;
}

.overview-heading {
  display: flex;
  margin-bottom: 22px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.overview-heading span {
  display: inline-flex;
  min-height: 25px;
  padding: 3px 10px;
  align-items: center;
  border: 1px solid rgba(181, 138, 39, 0.18);
  border-radius: 999px;
  background: #fbf7e9;
  color: var(--industrial-yellow-dark);
  font-size: 11px;
  font-weight: 700;
}

.overview-heading h2 {
  margin: 8px 0 4px;
  color: var(--industrial-navy);
  font-size: 25px;
  line-height: 1.45;
}

.overview-heading p {
  margin: 0;
  color: var(--industrial-steel);
  font-size: 14px;
}

.overview-heading > i {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(181, 138, 39, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, #fff9e7, #f4e9c8);
  color: #806000;
  font-size: 20px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.account-stats article {
  display: flex;
  min-width: 0;
  padding: 17px 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #f7f9fa);
  box-shadow: 0 6px 18px rgba(16, 42, 67, 0.035);
}

.stat-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 12px;
  font-size: 17px;
}

.stat-orders {
  background: var(--industrial-bg);
  color: var(--industrial-steel);
}
.stat-addresses {
  background: var(--industrial-bg);
  color: #667544;
}
.stat-favorites {
  background: var(--industrial-bg);
  color: #a05a55;
}
.account-stats article > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.account-stats strong {
  color: var(--industrial-navy);
  font-size: 22px;
}

.account-stats small {
  overflow: hidden;
  color: var(--industrial-steel);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-section > h2,
.account-section-heading h2 {
  position: relative;
  margin: 0 0 24px;
  padding-bottom: 15px;
  color: var(--industrial-navy);
  font-size: 24px;
}

.account-section > h2::after,
.account-section-heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--industrial-yellow),
    color-mix(in srgb, var(--industrial-yellow) 19%, white)
  );
}

.account-section h2 small {
  margin-right: 8px;
  color: var(--industrial-yellow-dark);
  font-size: 14px;
}

.account-section-heading {
  display: flex;
  margin-bottom: 22px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.account-section-heading h2 {
  margin-bottom: 0;
}

#favorites .profile-favorites-clear {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, #b8404b 24%, white);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff5f4);
  box-shadow: 0 5px 14px rgba(120, 35, 43, .06);
  color: #a33b45;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

#favorites .profile-favorites-clear:hover {
  transform: translateY(-1px);
  border-color: #b8404b;
  background: #fff0ef;
  box-shadow: 0 8px 18px rgba(120, 35, 43, .12);
}

#favorites .profile-favorites-clear[hidden] {
  display: none;
}

#favorites .profile-favorites-clear:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--industrial-yellow) 72%, white);
  outline-offset: 3px;
}

#profileCouponsTitle {
  scroll-margin-top: 112px;
}

#coupons .profile-coupons-cart-link {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 9px;
  border: 1px solid color-mix(in srgb, var(--industrial-navy) 22%, white);
  border-radius: 13px;
  background: linear-gradient(135deg, #fffefa, #fff8e8);
  box-shadow: 0 5px 14px rgba(16, 42, 67, 0.07);
  color: var(--industrial-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

#coupons .profile-coupons-cart-link i:first-child {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--industrial-navy);
  color: var(--industrial-yellow);
  font-size: 15px;
}

#coupons .profile-coupons-cart-link i:last-child {
  color: var(--industrial-yellow-dark);
  font-size: 13px;
  transition: transform 160ms ease, color 160ms ease;
}

#coupons .profile-coupons-cart-link:hover {
  transform: translateY(-1px);
  border-color: var(--industrial-navy);
  background: var(--industrial-navy);
  box-shadow: 0 8px 18px rgba(16, 42, 67, 0.16);
  color: #fff;
}

#coupons .profile-coupons-cart-link:hover i:last-child {
  transform: translateX(-2px);
  color: var(--industrial-yellow);
}

#coupons .profile-coupons-cart-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--industrial-yellow) 72%, white);
  outline-offset: 3px;
}

.address-account-card {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(113, 135, 166, 0.2);
  border-radius: 20px;
  background: linear-gradient(145deg, #fff 0%, #fffefa 100%);
  box-shadow: 0 10px 26px rgba(12, 35, 70, 0.055);
}

.address-account-card.is-selected {
  border-color: color-mix(in srgb, var(--industrial-yellow) 56%, #d8e0e8);
  background: linear-gradient(145deg, #fffdf5 0%, #fff 72%);
}

.address-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(113, 135, 166, 0.14);
}

.address-account-card .address-card-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: var(--industrial-navy);
  font-size: 18px;
}

.address-card-header h3 > i {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(195, 150, 35, 0.24);
  border-radius: 11px;
  background: #fff8df;
  color: #986d00;
  font-size: 16px;
}

.address-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(31, 125, 91, 0.16);
  border-radius: 999px;
  background: #edf8f1;
  color: #216b4d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.address-card-recipient,
.address-card-phone,
.address-card-location,
.address-card-postal {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: var(--industrial-steel);
  line-height: 1.9;
}

.address-card-recipient > i,
.address-card-phone > i,
.address-card-location > i,
.address-card-postal > i {
  flex: 0 0 18px;
  margin-top: 4px;
  color: #a77a0b;
  text-align: center;
}

.address-card-recipient { align-items: center; flex-wrap: wrap; color: var(--industrial-navy); }
.address-card-recipient > strong { font-size: 15px; }
.address-card-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.address-card-phone { margin-inline-start: 0; font-size: 13px; }
.address-card-location > span { overflow-wrap: anywhere; }
.address-card-postal { align-items: center; font-size: 13px; }
.address-card-postal bdi { color: var(--industrial-navy); font-weight: 700; }

.address-card-actions {
  justify-content: flex-start;
  padding-top: 12px;
  border-top: 1px solid rgba(113, 135, 166, 0.14);
}

.address-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.address-card-actions button:hover:not(:disabled) { transform: translateY(-1px); border-color: rgba(167, 122, 11, 0.35); }
.address-card-actions button:focus-visible { outline: 3px solid rgba(246, 197, 21, 0.55); outline-offset: 2px; }
.address-card-actions .address-action-select { background: #fff8df; }
.address-card-actions .address-action-select:disabled { border-color: rgba(31, 125, 91, 0.15); background: #edf8f1; color: #216b4d; opacity: 1; }
.address-card-actions .address-action-delete { color: #8b4343; }

@media (max-width: 575.98px) {
  .address-account-card { gap: 12px; padding: 16px !important; }
  .address-card-header { align-items: flex-start; }
  .address-account-card .address-card-header h3 { font-size: 16px; }
  .address-selected-badge { padding: 6px 9px; font-size: 11px; }
  .address-card-recipient { align-items: flex-start; }
  .address-card-contact { gap: 8px 16px; }
  .address-card-contact .address-card-phone,
  .address-card-contact .address-card-postal { font-size: 12px; }
  .address-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .address-card-actions button { width: 100%; padding-inline: 8px; font-size: 12px; }
  .address-card-actions .address-action-delete { grid-column: 1 / -1; }
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-actions button,
[data-draft-delete] {
  padding: 9px 14px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
  border-radius: 9px;
  background: var(--industrial-bg);
  color: var(--industrial-navy);
  font: inherit;
  font-size: 13px;
}

.account-actions button:disabled {
  opacity: 0.5;
}

.account-section select {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--industrial-bg);
  border-radius: 9px;
  background: #fff;
  color: var(--industrial-navy);
  font: inherit;
}

#favorites.account-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

#questionForm.flow-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.account-welcome::after {
  position: absolute;
  z-index: 0;
  inset-inline-end: -72px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(246, 197, 21, 0.3);
  border-radius: 43% 57% 58% 42%;
  box-shadow: 0 0 0 18px rgba(246, 197, 21, 0.07), 0 0 0 44px rgba(255, 255, 255, 0.035);
  content: "";
  pointer-events: none;
}

.account-sidebar {
  border-color: rgba(178, 145, 75, 0.22);
  background: linear-gradient(155deg, #fffefa 0%, #fbf7ed 100%);
  box-shadow: 0 14px 34px rgba(67, 53, 28, 0.08);
}

.account-tabs a[aria-current] {
  border-color: rgba(183, 136, 23, 0.34);
  background: linear-gradient(110deg, #fff8e3, #fffefa);
  box-shadow: inset -3px 0 #d6a315;
}

#questionList {
  margin-top: 20px;
}

#accountStatus {
  margin: 16px 0 0;
  color: #587064;
  font-size: 14px;
  line-height: 1.8;
}

@keyframes accountSectionIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991px) {
  .account-dashboard {
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 18px;
  }
  .account-content {
    padding: 22px;
  }
  .account-tabs a {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
  }
  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .account-dashboard {
    display: block;
    margin-top: 20px;
  }
  .account-sidebar {
    position: static;
    margin-bottom: 18px;
  }
  .account-profile {
    min-height: 92px;
  }
  .account-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-tabs a {
    min-height: 58px;
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .account-tabs a > i:first-child {
    width: 36px;
    height: 36px;
  }
  .account-tabs a > i:last-child,
  .account-tabs a small {
    display: none;
  }
  .account-sidebar-help {
    display: none;
  }
  .account-content {
    min-height: 480px;
    padding: 19px 15px;
    border-radius: 19px;
  }
  .overview-heading h2 {
    font-size: 22px;
  }
  .overview-heading > i {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .account-section-heading {
    align-items: center;
  }
  #coupons .account-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  #coupons .profile-coupons-cart-link {
    min-height: 44px;
    align-self: flex-start;
  }
  .account-section-heading h2,
  .account-section > h2 {
    font-size: 21px;
  }
}

@media (max-width: 430px) {
  .account-tabs {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-section:not([hidden]) {
    animation: none;
  }
}

.orders-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.orders-heading span {
  color: var(--industrial-yellow-dark);
  font-size: 11px;
  font-weight: 700;
}
.orders-heading h2 {
  margin: 5px 0 0;
  font-size: 24px;
}
.orders-heading h2 small {
  margin-inline-start: 7px;
  color: var(--industrial-steel);
  font-size: 12px;
  font-weight: 500;
}
.orders-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 18%, white);
  border-radius: 10px;
  background: var(--industrial-bg);
  color: var(--industrial-navy);
  font-size: 12px;
  font-weight: 700;
}
.profile-order-list {
  display: grid;
  gap: 14px;
}
.profile-order-card {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
  border-radius: 16px;
  background: linear-gradient(
    145deg,
    var(--industrial-bg),
    var(--industrial-bg)
  );
  box-shadow:
    0 12px 25px -22px rgba(10, 35, 64, 0.55),
    inset 0 1px #fff;
}
.profile-order-card header,
.profile-order-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
}
.profile-order-card header {
  border-bottom: 1px solid
    color-mix(in srgb, var(--industrial-yellow) 14%, white);
}
.profile-order-card header > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.profile-order-card header strong {
  color: var(--industrial-navy);
  font-size: 12px;
}
.profile-order-card time {
  color: var(--industrial-steel);
  font-size: 11px;
  white-space: nowrap;
}
.order-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 10px !important;
  white-space: nowrap;
}
.order-status.is-shipping {
  background: var(--industrial-bg);
  color: var(--industrial-steel);
}
.order-status.is-processing {
  background: color-mix(in srgb, var(--industrial-yellow) 14%, white);
  color: var(--industrial-yellow-dark);
}
.order-status.is-delivered {
  background: var(--industrial-bg);
  color: #35704b;
}
.order-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}
.order-products {
  display: flex;
  align-items: center;
  min-width: 0;
}
.order-products img {
  width: 44px;
  height: 54px;
  margin-inline-end: 10px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
  border-radius: 9px;
  object-fit: cover;
  background: var(--industrial-bg);
}
.order-products > div {
  min-width: 0;
}
.order-products strong,
.order-products small,
.order-total small,
.order-total strong {
  display: block;
}
.order-products strong {
  font-size: 13px;
}
.order-products small,
.order-total small {
  margin-top: 4px;
  color: var(--industrial-steel);
  font-size: 10px;
}
.order-total {
  text-align: left;
}
.order-total strong {
  margin-top: 5px;
  color: var(--industrial-navy);
  font-size: 13px;
  white-space: nowrap;
}
.profile-order-card footer {
  border-top: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
  background: rgba(246, 240, 229, 0.62);
  font-size: 11px;
}
.profile-order-card footer > span {
  color: var(--industrial-steel);
}
.profile-order-card footer > span i {
  margin-inline-end: 5px;
  color: var(--industrial-yellow-dark);
}
.profile-order-card footer > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--industrial-yellow-dark);
  font-weight: 700;
}
.profile-order-card footer > a:hover {
  color: var(--industrial-navy);
}
.order-invoice-summary .order-product-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-inline-end: 11px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 24%, white);
  border-radius: 12px;
  background: var(--industrial-bg);
  color: var(--industrial-yellow-dark);
  font-size: 18px;
}
.profile-order-card .order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-order-card .order-card-actions > a,
.profile-order-card .order-card-actions > button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 35%, white);
  border-radius: 10px;
  background: #fff;
  color: var(--industrial-navy);
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.profile-order-card .order-card-actions > :hover,
.profile-order-card .order-card-actions > :focus-visible {
  border-color: var(--industrial-yellow-dark);
  background: var(--industrial-bg);
}
.order-invoice-dialog {
  box-sizing: border-box;
  width: min(960px, calc(100vw - 48px));
  max-width: 960px;
  max-height: min(760px, calc(100dvh - 32px));
  padding: 32px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 34%, white);
  border-radius: 22px;
  background:
    radial-gradient(circle at 4% 4%, rgba(232, 190, 69, 0.13), transparent 25%),
    radial-gradient(circle at 96% 96%, rgba(221, 177, 79, 0.09), transparent 28%),
    linear-gradient(145deg, #fffdf7 0%, #fffaf0 100%);
  color: var(--industrial-navy);
  box-shadow: 0 26px 80px rgba(16, 42, 67, 0.26);
  overflow: auto;
}
.order-invoice-dialog::backdrop {
  background: rgba(3, 13, 35, 0.58);
  backdrop-filter: blur(4px);
}
.order-invoice-dialog[open] {
  animation: orderInvoiceIn 180ms ease-out both;
}
@keyframes orderInvoiceIn {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.order-invoice-dialog-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(195, 151, 42, 0.2);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(255, 247, 221, 0.9), rgba(255, 255, 255, 0.82));
}
.order-invoice-dialog-header::before {
  position: absolute;
  z-index: -1;
  top: -42px;
  left: -20px;
  width: 132px;
  height: 112px;
  border: 1px solid rgba(194, 151, 46, 0.23);
  border-radius: 43% 57% 48% 52%;
  box-shadow: 0 0 0 12px rgba(224, 185, 85, 0.07), 0 0 0 28px rgba(224, 185, 85, 0.045);
  content: "";
  transform: rotate(-16deg);
  pointer-events: none;
}
.order-invoice-dialog-header::after {
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 90px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(190, 145, 30, 0.55);
  box-shadow: 15px 12px 0 -2px rgba(190, 145, 30, 0.35), 27px -7px 0 -2px rgba(190, 145, 30, 0.25);
  content: "";
  pointer-events: none;
}
.order-invoice-dialog-header > div,
.order-invoice-dialog-header > .site-modal-close {
  position: relative;
  z-index: 1;
}
.order-invoice-dialog-header span {
  color: var(--industrial-yellow-dark);
  font-size: 13px;
  font-weight: 700;
}
.order-invoice-dialog-header h2 {
  margin: 5px 0 0;
  font-size: 26px;
}
.order-invoice-dialog-header .site-modal-close { flex: 0 0 40px; }
.order-invoice-layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: 20px;
  padding-top: 24px;
}
.order-invoice-master,
.order-invoice-detail {
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(194, 151, 46, 0.18);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
}
.order-invoice-layout h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 16px;
}
.order-invoice-layout h3 i { color: var(--industrial-yellow-dark); }
.order-invoice-master dl { display: grid; gap: 0; margin: 0; }
.order-invoice-master dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f2;
  font-size: 13px;
}
.order-invoice-master dl > div:last-child { border-bottom: 0; }
.order-invoice-master dt { color: var(--industrial-steel); }
.order-invoice-master dd { margin: 0; font-weight: 700; text-align: left; }
.order-invoice-table { border: 1px solid #e7ebee; border-radius: 12px; overflow: hidden; }
.order-invoice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(110px, auto);
  gap: 12px;
  align-items: center;
  padding: 15px 16px;
  font-size: 13px;
}
.order-invoice-row + .order-invoice-row { border-top: 1px solid #e7ebee; }
.order-invoice-table-heading { background: #fff8e6; color: var(--industrial-steel); font-weight: 700; }
.order-invoice-row > :last-child { text-align: left; }
.order-invoice-payable {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(105deg, #fff3c9, #fff9e9);
  font-size: 14px;
  font-weight: 700;
}
.order-invoice-payable strong { color: var(--industrial-navy); font-size: 19px; }
.order-invoice-demo-note { margin: 16px 0 0; color: var(--industrial-steel); font-size: 12px; line-height: 1.9; }
@media (max-width: 640px) {
  .profile-order-card .order-card-actions { width: 100%; }
  .profile-order-card .order-card-actions > a,
  .profile-order-card .order-card-actions > button { flex: 1 1 100%; }
  .order-invoice-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); padding: 14px 12px; }
  .order-invoice-dialog-header { gap: 10px; padding-bottom: 12px; }
  .order-invoice-dialog-header h2 { font-size: 21px; }
  .order-invoice-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 12px; }
  .order-invoice-master,
  .order-invoice-detail { padding: 12px; }
  .order-invoice-master dl > div { flex-wrap: wrap; gap: 5px 12px; }
  .order-invoice-master dd { margin-inline-start: auto; overflow-wrap: anywhere; }
  .order-invoice-row { grid-template-columns: minmax(0, 1fr) 32px minmax(95px, auto); gap: 6px; padding: 10px 8px; font-size: 11px; }
  .order-invoice-row > * { min-width: 0; overflow-wrap: anywhere; }
  .order-invoice-payable { flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 12px; }
  .order-invoice-payable strong { font-size: 16px; margin-inline-start: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .order-invoice-dialog[open] { animation: none; }
}
@media (max-width: 640px) {
  .orders-heading {
    align-items: flex-start;
  }
  .orders-heading h2 {
    font-size: 21px;
  }
  .profile-order-card header,
  .profile-order-card header > div,
  .order-body {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-order-card header {
    position: relative;
  }
  .profile-order-card time {
    position: absolute;
    top: 16px;
    left: 14px;
  }
  .order-body {
    gap: 12px;
  }
  .order-total {
    text-align: right;
  }
  .profile-order-card footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.orders-pagination[hidden],
.profile-order-card[hidden],
.orders-pagination nav[hidden] {
  display: none;
}
.orders-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
}
.orders-pagination p {
  margin: 0;
  color: var(--industrial-steel);
  font-size: 12px;
}
.orders-pagination nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.orders-pagination button {
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid color-mix(in srgb, var(--industrial-yellow) 14%, white);
  border-radius: 10px;
  background: var(--industrial-bg);
  color: var(--industrial-navy);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.orders-pagination button[aria-current="page"] {
  background: var(--industrial-navy);
  border-color: var(--industrial-navy);
  color: #fff;
}
.orders-pagination button:hover:not(:disabled):not([aria-current]) {
  background: color-mix(in srgb, var(--industrial-yellow) 14%, white);
  border-color: var(--industrial-yellow);
}
.orders-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}
.orders-pagination button:focus-visible {
  outline: 2px solid var(--industrial-yellow-dark);
  outline-offset: 3px;
}
#ordersTitle {
  scroll-margin-top: 120px;
}
@media (max-width: 575px) {
  .orders-pagination {
    justify-content: center;
  }
}

/* Orders typography: clearer hierarchy and calmer reading rhythm. */
#orders .orders-heading > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--industrial-yellow-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.account-profile-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  padding: 7px 9px;
  border: 1px solid var(--industrial-yellow);
  border-radius: 9px;
  background: var(--industrial-yellow);
  box-shadow: none;
  color: var(--industrial-navy);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.account-profile-edit:hover,
.account-profile-edit:focus-visible {
  border-color: color-mix(in srgb, var(--industrial-yellow) 14%, white);
  background: color-mix(in srgb, var(--industrial-yellow) 14%, white);
  color: var(--industrial-navy);
  transform: translateY(-1px);
}

dialog.shared-login-modal.profile-edit-dialog {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  max-height: calc(100dvh - 28px);
  min-height: 550px;
  margin: 0;
}

dialog.shared-login-modal.profile-edit-dialog::before {
  display: none;
}

dialog.shared-login-modal.profile-edit-dialog[open] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}
dialog.shared-login-modal.profile-edit-dialog::backdrop {
  background: rgba(3, 13, 35, 0.48);
  backdrop-filter: blur(5px);
}
.profile-edit-dialog .login-step {
  padding-top: 24px;
}
.profile-edit-dialog .profile-edit-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--industrial-yellow-dark);
  font-size: 11px;
  font-weight: 700;
}
.profile-edit-dialog .login-step h2 {
  margin-bottom: 6px;
  font-size: 23px;
}
.profile-edit-dialog .login-step > p {
  margin-bottom: 20px;
  font-size: 13px;
}
.profile-edit-dialog .profile-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 12px;
}
.profile-edit-dialog .profile-edit-form > label {
  margin: 0;
  font-size: 13px;
}
.profile-edit-dialog .profile-edit-form .login-input {
  margin-top: 7px;
}
.profile-edit-dialog .profile-edit-form .login-input input {
  text-align: right;
}
.profile-edit-dialog .profile-edit-form input[name="firstName"],
.profile-edit-dialog .profile-edit-form input[name="lastName"] {
  direction: rtl;
}
.profile-edit-dialog .profile-edit-full {
  grid-column: 1 / -1;
}
.profile-edit-dialog .profile-edit-gender {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.profile-edit-dialog .profile-edit-gender legend {
  margin-bottom: 7px;
  color: var(--industrial-navy);
  font-size: 13px;
  font-weight: 600;
}
.profile-edit-dialog .profile-edit-gender > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.profile-edit-dialog .profile-edit-gender label {
  display: flex;
  min-height: 58px;
  margin: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--industrial-line);
  border-radius: 9px;
  background: #fff;
  color: var(--industrial-steel);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.profile-edit-dialog .profile-edit-gender input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--industrial-navy);
  cursor: pointer;
}
.profile-edit-dialog .profile-edit-gender label:has(input:checked) {
  border-color: var(--industrial-yellow-dark);
  background: var(--industrial-bg);
  color: var(--industrial-navy);
  box-shadow: 0 0 0 3px rgba(185, 137, 68, 0.12);
}
.profile-edit-dialog .profile-edit-form label small {
  margin-inline-start: 5px;
  color: var(--industrial-yellow-dark);
  font-size: 10px;
  font-weight: 500;
}
.profile-edit-dialog .profile-edit-form input[readonly] {
  color: var(--industrial-steel);
  cursor: not-allowed;
}
.profile-edit-dialog .profile-edit-form .login-input:has(input[readonly]) {
  background: var(--industrial-bg);
  border-style: dashed;
}
.profile-edit-dialog .profile-edit-form .login-input:has(input[readonly]) i {
  color: var(--industrial-yellow-dark);
}
.profile-edit-dialog .profile-edit-form .profile-edit-validation {
  display: block;
  min-height: 17px;
  margin: 2px 0 0;
  color: #a34343;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
  visibility: hidden;
}
.profile-edit-dialog .profile-edit-validation.field-validation-error {
  visibility: visible;
}
.profile-edit-dialog .login-input:has(.input-validation-error),
.profile-edit-dialog .profile-edit-gender.is-invalid > div {
  border-color: #b75959;
  background: var(--industrial-bg);
  box-shadow: 0 0 0 3px rgba(183, 89, 89, 0.1);
}
.profile-edit-dialog .profile-edit-form button[type="submit"] {
  width: 100%;
  margin-top: 5px;
}
@media (max-width: 560px) {
  dialog.shared-login-modal.profile-edit-dialog {
    min-height: 0;
  }
  .profile-edit-dialog .profile-edit-form {
    grid-template-columns: 1fr;
  }
  .profile-edit-dialog .profile-edit-full {
    grid-column: auto;
  }
}

@media (max-width: 575px) {
  .account-profile-edit {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
    margin: 8px 0 0;
    padding: 8px 12px;
  }
}

#orders .orders-heading h2 {
  color: var(--industrial-navy);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

#orders .orders-heading h2 small {
  margin-inline-start: 10px;
  color: var(--industrial-muted);
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
}

#orders .profile-order-card header strong,
#orders .order-products strong {
  color: var(--industrial-navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

#orders .profile-order-card time,
#orders .order-products small,
#orders .order-total small,
#orders .profile-order-card footer,
#orders .orders-pagination p {
  font-size: 11px;
  line-height: 1.8;
}

#orders .order-total strong {
  color: var(--industrial-navy);
  font-size: 15px;
  font-weight: 800;
}

#orders .order-status {
  padding: 6px 10px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 640px) {
  #orders .orders-heading h2 {
    font-size: 20px;
  }
}

.account-welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  min-height: 250px;
  margin: 8px 0 18px;
  padding: 34px 44px;
  border: 1px solid var(--industrial-navy);
  border-radius: 26px;
  background:
    radial-gradient(
      ellipse at 12% 40%,
      var(--industrial-navy) 0,
      transparent 55%
    ),
    linear-gradient(115deg, var(--industrial-navy), var(--industrial-navy) 75%);
  box-shadow: 0 18px 40px rgba(12, 30, 49, 0.1);
  color: #fff;
}
.account-welcome-copy {
  position: relative;
  z-index: 1;
}
.account-welcome h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: var(--font-size-page-title);
  font-weight: 800;
  line-height: 1.5;
}
.account-welcome p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 2;
}
.account-welcome-art {
  display: flex;
  flex: 0 0 150px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  margin: 0 20px;
  color: var(--industrial-yellow);
  pointer-events: none;
}
.account-welcome-art .account-welcome-tool-icon {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.account-welcome-tool-icon i {
  font-size: 42px;
  line-height: 1;
}
.account-welcome-art > span:last-child {
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}
@media (max-width: 767px) {
  .account-welcome {
    min-height: 250px;
    padding: 28px;
    border-radius: 20px;
  }
  .account-welcome-art {
    position: absolute;
    left: 18px;
    top: 22px;
    margin: 0;
    opacity: 0.2;
  }
  .account-welcome-art > span:last-child {
    display: none;
  }
  .account-welcome p {
    max-width: 310px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .account-welcome {
    padding: 24px 18px;
  }
}

.account-welcome {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(246, 197, 21, 0.2), transparent 32%),
    radial-gradient(ellipse at 10% 100%, rgba(177, 138, 79, 0.15), transparent 34%),
    linear-gradient(120deg, #102a43 0%, #153754 68%, #244760 100%);
}

.account-welcome-art {
  filter: drop-shadow(0 8px 20px rgba(4, 14, 28, 0.24));
}

.account-welcome > .profile-breadcrumb {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(7, 25, 45, 0.58);
  box-shadow: 0 7px 18px rgba(3, 14, 34, 0.16);
}

.profile-breadcrumb-parent {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9aa4ad;
}

.profile-breadcrumb-parent > a {
  color: #536474;
  text-decoration: none;
}

.profile-breadcrumb-parent > a:hover {
  color: var(--industrial-navy);
}

/* Profile readability: increase compact supporting text by one visual step. */
.account-profile > div :is(small, span),
.account-tabs a small,
.account-sidebar-help :is(strong, a),
.address-selected-badge,
#orders .orders-heading > div > span,
.orders-pagination :is(p, button) {
  font-size: 13px;
}

.account-stats small {
  font-size: 12.5px;
}

#orders .profile-order-card time,
#orders .order-products small,
#orders .order-total small,
#orders .profile-order-card footer,
#orders .order-status,
.profile-edit-dialog .profile-edit-kicker,
.profile-edit-dialog .profile-edit-form .profile-edit-validation {
  font-size: 12px !important;
}

.account-profile-edit,
.account-welcome-art span,
.profile-edit-dialog .profile-edit-form label small {
  font-size: 11px;
}

@media (max-width: 767px) {
  .account-welcome {
    min-height: 0;
    margin: 12px 0 16px;
    padding: 16px 18px 60px;
    border-radius: 16px;
    background-image:
      linear-gradient(
        270deg,
        rgba(16, 42, 86, 0.98) 0%,
        rgba(16, 42, 86, 0.92) 58%,
        rgba(16, 42, 86, 0.78) 100%
      ),
      url("../../images/heroes/hero-electrical-service.png");
    background-position:
      center,
      62% center;
    background-size: cover;
  }

  .account-welcome-copy {
    width: 100%;
    max-width: 100%;
  }

  .account-welcome p,
  .account-welcome-art {
    display: none;
  }

  .account-welcome h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 7.2vw, 34px);
    line-height: 1.45;
  }

  .account-welcome-art {
    display: none;
  }

  .account-dashboard,
  .account-sidebar,
  .account-content,
  .account-section {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .account-sidebar {
    padding: 10px;
    border-radius: var(--radius-panel-standard, 20px);
  }

  .account-content {
    min-height: 0;
    padding: 16px;
    border-radius: var(--radius-panel-standard, 20px);
  }

  .account-content :is(img, video) {
    max-width: 100%;
  }

  .cart-breadcrumb ol {
    max-width: 100%;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb {
    width: 100%;
    min-width: 0;
  }

  .account-welcome > .profile-breadcrumb {
    top: auto;
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    min-height: 36px;
    font-size: 11px;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb ol {
    width: 100%;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb ol::-webkit-scrollbar {
    display: none;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb ol > li {
    flex: 0 0 auto;
    gap: 4px;
    white-space: nowrap;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb ol a {
    gap: 4px;
    padding-inline: 5px;
    white-space: nowrap;
  }

  .inner-page .cart-breadcrumb.profile-breadcrumb ol [aria-current] {
    gap: 4px;
    padding-inline: 7px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .account-welcome {
    margin: 10px 0 14px;
    padding: 14px 15px 56px;
    border-radius: 16px;
  }

  .account-content {
    padding: 14px 12px;
  }
}

#orders .orders-heading h2 small {
  font-size: 14px;
}

#orders.account-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#orders .profile-order-card {
  border-color: #e1e7ec;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 42, 67, 0.045);
}

#orders .profile-order-card header {
  border-bottom-color: #edf0f3;
  background: #fafbfc;
}

#orders .profile-order-card footer {
  border-top: 1px solid #e8edf1 !important;
  background: #f8fafb !important;
  color: var(--industrial-muted) !important;
}

#orders .profile-order-card footer > span {
  color: var(--industrial-muted) !important;
}

#orders .profile-order-card footer > span i {
  color: var(--industrial-yellow-dark) !important;
}

#orders .profile-order-card footer > a {
  color: var(--industrial-navy) !important;
}

#orders .profile-order-card footer > a:hover {
  color: var(--industrial-yellow-dark) !important;
}

#orders .profile-order-card .order-card-actions > a {
  border-color: #1f4f70;
  background: #1f4f70;
  color: #fff;
}

#orders .profile-order-card .order-card-actions > a i {
  color: #ffe17a;
}

#orders .profile-order-card .order-card-actions > a:hover,
#orders .profile-order-card .order-card-actions > a:focus-visible {
  border-color: #143b58;
  background: #143b58;
  color: #fff;
}

#orders .profile-order-card .order-card-actions > button {
  border-color: #ebcf70;
  background: #fff7df;
  color: #6e5200;
}

#orders .profile-order-card .order-card-actions > button i {
  color: #9a7000;
}

#orders .profile-order-card .order-card-actions > button:hover,
#orders .profile-order-card .order-card-actions > button:focus-visible {
  border-color: #d4ac32;
  background: #fff0bf;
  color: #594200;
}

#orders .order-status.is-shipping {
  background: #eaf3fb;
  color: #315f84;
}

#orders .order-status.is-processing {
  background: #fff4d9;
  color: #856300;
}

#orders .order-status.is-delivered {
  background: #eaf5ee;
  color: #34704b;
}

#orders .profile-order-card {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#orders .profile-order-card:hover {
  border-color: #d7e0e8;
  box-shadow: 0 14px 28px rgba(16, 42, 67, 0.09);
  transform: translateY(-2px);
}

#orders .order-body {
  min-height: 88px;
  background: linear-gradient(105deg, #fff 0%, #f8fafc 100%);
}

#orders .order-product-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid #e5eaf0;
  border-radius: 14px;
  background: #f3f6f8;
  color: var(--industrial-navy);
  font-size: 20px;
}

#orders .order-total small {
  margin-top: 0;
}

#orders .profile-order-card footer {
  min-height: 42px;
}

@media (max-width: 640px) {
  #orders .order-total {
    width: 100%;
  }
}

#orders .order-products img {
  border-color: #e5eaee;
  background: #f3f6f8;
}

#orders .order-total {
  border: 1px solid #edf0f3;
  border-radius: 12px;
  background: #f8fafb;
}

#orders .orders-heading > a {
  border-color: #dfe6eb;
  background: #fff;
  color: var(--industrial-navy);
}

#orders .orders-heading > a:hover {
  border-color: #cbd6de;
  background: #eef3f6;
}

.account-stats .stat-icon {
  border: 1px solid color-mix(in srgb, var(--color-gold) 34%, white);
  background: color-mix(in srgb, var(--color-gold) 17%, white);
  color: var(--color-navy);
}

.account-tabs a > i:first-child,
.account-sidebar-help > i {
  color: var(--color-navy);
}

.account-tabs a[aria-current] > i:first-child {
  border-color: #e3eaf0;
  color: var(--color-navy);
}

@media (max-width: 767px) {
  .account-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }

  .account-stats article {
    grid-column: span 2;
  }

  .account-stats article:nth-child(n + 4) {
    grid-column: span 3;
  }

  .account-stats article {
    min-height: 126px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 11px 6px;
    text-align: center;
  }

  .account-stats .stat-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 11px;
    font-size: 15px;
  }

  .account-stats article > div {
    align-items: center;
  }

  .account-stats strong {
    font-size: 20px;
    line-height: 1.25;
  }

  .account-stats article > div small {
    overflow: visible;
    font-size: 11px;
    line-height: 1.45;
    text-overflow: clip;
    white-space: normal;
  }
}

.overview-coupon-list {
  display: grid;
  gap: 10px;
}

.profile-coupon-list {
  gap: 14px;
  scroll-margin-top: 24px;
}

.profile-coupon-card {
  display: grid;
  min-width: 0;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dfe6ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(16, 42, 67, 0.055);
}

.profile-coupon-card.is-active {
  border-color: #cfe4d7;
  background: linear-gradient(125deg, #fff, #f7fcf8);
}

.profile-coupon-card.is-inactive {
  background: linear-gradient(125deg, #fff, #f8f9fb);
}

.profile-coupon-header,
.profile-coupon-identity,
.profile-coupon-usage-heading,
.profile-coupon-invoice {
  display: flex;
  align-items: center;
}

.profile-coupon-header,
.profile-coupon-usage-heading,
.profile-coupon-invoice {
  justify-content: space-between;
  gap: 12px;
}

.profile-coupon-usage-heading {
  flex-wrap: wrap;
}

.profile-coupon-identity {
  min-width: 0;
  gap: 12px;
}

.profile-coupon-code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px dashed color-mix(in srgb, var(--industrial-yellow-dark) 55%, white);
  border-radius: 10px;
  background: #fff;
  color: var(--industrial-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.035em;
  cursor: pointer;
}

.profile-coupon-code:hover,
.profile-coupon-code:focus-visible {
  border-color: var(--industrial-yellow-dark);
  background: color-mix(in srgb, var(--industrial-yellow) 12%, white);
  outline: 2px solid color-mix(in srgb, var(--industrial-yellow-dark) 35%, transparent);
  outline-offset: 2px;
}

.profile-coupon-code > i {
  color: var(--industrial-yellow-dark);
  font-size: 13px;
  letter-spacing: 0;
}

.profile-coupon-identity > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.profile-coupon-identity strong {
  color: var(--industrial-navy);
  font-size: 14px;
}

.profile-coupon-identity small {
  color: var(--industrial-steel);
  font-size: 12px;
}

.profile-coupon-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.profile-coupon-status.is-active {
  border-color: #c8e2d0;
  background: #eaf6ee;
  color: #287348;
}

.profile-coupon-status.is-inactive {
  border-color: #e0e4e9;
  background: #f0f2f5;
  color: #687789;
}

.profile-coupon-usage {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e7ebef;
  border-radius: 12px;
  background: rgba(245, 247, 249, 0.72);
}

.profile-coupon-usage-heading strong,
.profile-coupon-usage-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--industrial-navy);
  font-size: 12px;
}

.profile-coupon-usage-heading strong > i {
  color: var(--industrial-yellow-dark);
}

.profile-coupon-usage-heading > span {
  color: var(--industrial-steel);
}

.profile-coupon-usage-heading > span b {
  color: var(--industrial-navy);
  font-size: 14px;
}

.profile-coupon-invoice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-coupon-invoice {
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #e4e9ee;
  border-radius: 10px;
  background: #fff;
}

.profile-coupon-invoice-number {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 7px;
  color: var(--industrial-navy);
  font-size: 12px;
  font-weight: 700;
}

.profile-coupon-invoice-number > i {
  flex: 0 0 auto;
  color: var(--industrial-yellow-dark);
}

.profile-coupon-invoice time {
  flex: 0 0 auto;
  color: var(--industrial-steel);
  font-size: 11px;
}

.profile-coupon-no-invoices {
  margin: 0;
  color: var(--industrial-steel);
  font-size: 12px;
}


@media (max-width: 600px) {
  .profile-coupon-card {
    gap: 11px;
    padding: 12px;
  }

  .profile-coupon-header {
    align-items: flex-start;
  }

  .profile-coupon-identity {
    flex-wrap: wrap;
    gap: 8px;
  }

  .profile-coupon-invoice-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-coupon-invoice {
    flex-wrap: wrap;
  }
}





#addresses .account-section-heading {
  margin-bottom: 30px;
  align-items: center;
}

#addresses #addressList {
  padding: 0;
}

#addresses #addressList > .flow-empty {
  min-height: 220px;
  margin: 0;
  padding: 36px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 575px) {
  #addresses .account-section-heading {
    margin-bottom: 22px;
  }

  #addresses #addressList {
    padding: 0;
  }

  #addresses #addressList > .flow-empty {
    min-height: 190px;
    padding: 28px 12px;
  }
}

/* Final profile layout rules, after all legacy account-page declarations. */
body.inner-page main.profile-page-main {
  width: min(calc(100% - 48px), 1560px);
  max-width: 1560px;
}

.account-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  min-height: 0;
  gap: 24px;
  padding: 24px 36px;
}

.account-welcome .profile-breadcrumb {
  position: relative;
  inset: auto;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
}

body.inner-page .account-welcome .profile-breadcrumb ol > li.cart-breadcrumb-current > [aria-current="page"] {
  border: 1px solid #e7bb3e;
  background: linear-gradient(135deg, #f9dc79, #edc34f);
  box-shadow: 0 3px 10px rgba(7, 24, 43, 0.16), inset 0 1px rgba(255, 255, 255, 0.42);
  color: #17324b;
}

body.inner-page .account-welcome .profile-breadcrumb ol > li.cart-breadcrumb-current > [aria-current="page"] > i {
  color: #17324b;
}

.account-welcome h1 { line-height: 1.4; }
.account-welcome-copy { grid-column: 1; grid-row: 1; }
.account-welcome-art { grid-column: 2; grid-row: 1; }

@media (max-width: 767px) {
  .account-welcome {
    display: block;
    padding: 14px 16px;
  }
  .account-welcome .profile-breadcrumb {
    position: relative;
    inset: auto;
    width: fit-content;
    margin: 12px 0 0;
  }
}

@media (max-width: 380px) {
  .account-welcome { padding: 12px 14px; }
  .account-welcome .profile-breadcrumb { margin-top: 10px; }
}

@media (max-width: 767px) {
  body.inner-page[class*="mobile-page--profile-"] main.profile-page-main {
    width: calc(100% - 16px);
    max-width: 100%;
    padding-inline: 8px;
  }

  body.inner-page[class*="mobile-page--profile-"] .account-dashboard {
    margin-top: 12px;
  }

  body.inner-page[class*="mobile-page--profile-"] .account-sidebar {
    margin-bottom: 14px;
  }
}

#favoritesView .flow-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

#favoritesView .favorite-item-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-color: rgba(178, 138, 79, 0.2);
  border-radius: 16px;
  background: linear-gradient(160deg, #fff 0%, #fffefa 100%);
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#favoritesView .favorite-item-card:hover {
  border-color: rgba(178, 138, 79, 0.48);
  box-shadow: 0 14px 30px rgba(74, 58, 31, 0.12);
  transform: translateY(-3px);
}

#favoritesView .favorite-item-card .list-remove-button {
  width: calc(100% - 28px);
  min-height: 42px;
  margin: auto 14px 14px;
  padding: 8px 12px;
  border: 1px solid rgba(161, 93, 82, 0.2);
  border-radius: 10px;
  background: #fff9f6;
  color: #8a6762;
  font-size: 12px;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

#favoritesView .favorite-item-card .list-remove-button:hover {
  border-color: rgba(161, 93, 82, 0.38);
  background: #fff1ed;
  color: #9b5148;
}

#favoritesView .favorite-item-card .product-image > a > img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

#favoritesView .favorite-item-card .list-remove-button i {
  font-size: 13px;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card {
  align-items: stretch;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card .product-image {
  align-self: stretch;
  width: 100%;
  max-width: none;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card .product-image > a {
  display: block;
  width: 100%;
  height: 100%;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card .product-image > a > img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card .list-remove-button {
  align-self: stretch;
  width: calc(100% - 28px);
  min-width: 0;
  min-height: 42px;
  margin: auto 14px 14px;
  padding: 5px 10px;
  border: 1px solid rgba(161, 93, 82, 0.2);
  border-radius: 9px;
  background: #fff9f6;
  box-shadow: none;
  color: #8a6762;
  font-size: 12px;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.inner-page.mobile-page--profile-favorites #favoritesView .favorite-item-card .list-remove-button:hover {
  border-color: rgba(161, 93, 82, 0.34);
  background: #fff8f6;
  color: #9b5148;
}

/* Give the account overview a clearer dashboard rhythm. */
#overview.account-overview .overview-heading {
  position: relative;
  margin-bottom: 20px;
  padding: 0 0 17px;
  border-bottom: 1px solid #e9e4da;
}

#overview.account-overview .overview-heading > i {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff7df, #f6e8bd);
  color: #806000;
  box-shadow: inset 0 1px #fff, 0 5px 14px rgba(167, 124, 32, 0.09);
}

#overview.account-overview .overview-heading span {
  min-height: 26px;
  padding-inline: 11px;
  background: #fffaf0;
  font-size: 11px;
}

#overview.account-overview .overview-heading h2 {
  margin: 5px 0 3px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

#overview.account-overview .overview-heading p {
  color: #718094;
  font-size: 13px;
  line-height: 1.8;
}

#overview.account-overview .account-stats {
  gap: 12px;
  margin-bottom: 22px;
}

#overview.account-overview .account-stats article {
  min-height: 92px;
  padding: 14px 13px;
  border-color: #e2e8ed;
  border-radius: 15px;
  background: linear-gradient(150deg, #fff 20%, #f8fafb 100%);
  box-shadow: 0 5px 16px rgba(16, 42, 67, 0.035);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

#overview.account-overview .account-stats article:hover {
  transform: translateY(-2px);
  border-color: #dfc778;
  box-shadow: 0 9px 20px rgba(16, 42, 67, 0.07);
}

#overview.account-overview .account-stats .stat-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border: 1px solid #efdfaa;
  border-radius: 13px;
  background: #fff7df;
  color: #806000;
}

#overview.account-overview .account-stats strong {
  font-size: 24px;
  line-height: 1.2;
}

#overview.account-overview .account-stats small {
  margin-top: 4px;
  color: #718094;
  font-size: 11px;
}

@media (max-width: 767px) {
  #overview.account-overview .overview-heading {
    gap: 10px;
    padding-bottom: 14px;
  }

  #overview.account-overview .overview-heading > i {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  #overview.account-overview .overview-heading h2 {
    font-size: 20px;
  }

  #overview.account-overview .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  #overview.account-overview .account-stats article,
  #overview.account-overview .account-stats article:nth-child(n + 4) {
    grid-column: auto;
  }

  #overview.account-overview .account-stats article {
    min-height: 112px;
  }

}

@media (max-width: 1279px) {
  #favoritesView .flow-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #favoritesView .flow-cards {
    gap: 12px;
  }
}

@media (max-width: 1099px) {
  #favoritesView .flow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  #favoritesView .flow-cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

}

/* Keep the profile header ornament behind copy across all account sections. */
.account-welcome-art { position: relative; z-index: 1; }
.account-content { border-color: rgba(178, 145, 75, 0.2); background: linear-gradient(145deg, #fffefa 0%, #fff 58%, #fbf8f0 100%); box-shadow: 0 14px 34px rgba(67, 53, 28, 0.06); }

/* Keep the profile dialog controls anchored in its header while the form scrolls. */
#profileEditDialog.profile-edit-dialog .profile-edit-dialog-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e8e2d9;
  background: var(--color-cream, #fffdfa);
}

#profileEditDialog.profile-edit-dialog .profile-edit-dialog-header .login-brand {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  border: 0;
}

#profileEditDialog.profile-edit-dialog .profile-edit-dialog-header .login-close {
  position: relative;
  inset: auto;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
  float: none;
  background: linear-gradient(145deg, #173653, #102a43);
  color: #f2d27c;
  box-shadow: 0 2px 7px rgba(16, 42, 67, 0.1);
}

#profileEditDialog.profile-edit-dialog .profile-edit-dialog-header .login-close > i,
#profileEditDialog.profile-edit-dialog .profile-edit-dialog-header .login-close:hover > i {
  transform: none;
}

#profileEditDialog.profile-edit-dialog .profile-edit-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

#profileEditDialog.profile-edit-dialog .profile-edit-form button[type="submit"] > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.13);
  font-size: 15px;
}

@media (max-width: 560px) {
  #profileEditDialog.profile-edit-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 18px 16px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-dialog-header {
    padding-bottom: 10px;
  }

  #profileEditDialog.profile-edit-dialog .login-step {
    padding-top: 13px;
  }

  #profileEditDialog.profile-edit-dialog .login-step > p {
    margin-bottom: 12px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-form > label:nth-child(3),
  #profileEditDialog.profile-edit-dialog .profile-edit-form > fieldset,
  #profileEditDialog.profile-edit-dialog .profile-edit-form > label:nth-child(4),
  #profileEditDialog.profile-edit-dialog .profile-edit-form > .profile-edit-full {
    grid-column: 1 / -1;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-form .login-input {
    margin-top: 4px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-form .login-input input {
    height: 44px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-gender legend {
    margin-bottom: 4px;
  }

  #profileEditDialog.profile-edit-dialog .profile-edit-gender label {
    min-height: 44px;
  }
}

/* Give order history details a calmer reading rhythm, especially on phones. */
#orders .orders-heading {
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e8edf1;
}

#orders .orders-heading h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  line-height: 1.6;
}

#orders .orders-heading h2 small {
  margin: 0;
  padding: 3px 9px;
  border: 1px solid #e5ebef;
  border-radius: 999px;
  background: #f7f9fa;
  line-height: 1.6;
}

#orders .account-demo-note {
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid #e8edf1;
  border-radius: 12px;
  background: #f8fafb;
  color: var(--industrial-muted);
  font-size: 12px;
  line-height: 1.9;
}

#orders .profile-order-list {
  gap: 16px;
}

#orders .profile-order-card header {
  gap: 12px 18px;
  padding: 15px 18px;
}

#orders .profile-order-card header > div {
  flex-wrap: wrap;
  gap: 8px 12px;
}

#orders .profile-order-card header strong {
  line-height: 1.8;
}

#orders .order-body {
  gap: 20px;
  padding: 18px;
}

#orders .order-products {
  gap: 14px;
}

#orders .order-products > div {
  display: grid;
  gap: 4px;
}

#orders .order-products strong {
  line-height: 1.9;
}

#orders .order-products small {
  margin-top: 0;
  line-height: 1.7;
}

#orders .order-total {
  min-width: 184px;
  padding: 11px 14px;
}

#orders .order-total strong {
  margin-top: 5px;
  line-height: 1.8;
}

#orders .profile-order-card footer {
  gap: 10px 16px;
  padding: 12px 18px;
  line-height: 1.8;
}

@media (max-width: 640px) {
  #orders .orders-heading {
    gap: 12px;
  }

  #orders .orders-heading > a {
    min-height: 40px;
  }

  #orders .profile-order-card header {
    position: static;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 15px;
  }

  #orders .profile-order-card header > div {
    width: 100%;
    align-items: center;
    flex-direction: row;
  }

  #orders .profile-order-card time {
    position: static;
    display: block;
    align-self: flex-start;
  }

  #orders .order-body {
    gap: 13px;
    padding: 15px;
  }

  #orders .order-products {
    align-items: flex-start;
    gap: 11px;
  }

  #orders .order-product-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
  }

  #orders .order-total {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
    padding: 10px 12px;
    text-align: right;
  }

  #orders .order-total strong {
    margin-top: 0;
    text-align: left;
  }

  #orders .profile-order-card footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 11px 15px;
  }
}
#price-alerts .account-demo-note,
#coupons .account-demo-note {
  margin: 16px 0 0;
  color: var(--text-muted, #718096);
  font-size: 0.875rem;
  line-height: 1.8;
}

.profile-price-alert-list {
  display: grid;
  gap: 12px;
}

.profile-price-alert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--border-color, #dce4ec);
  border-radius: 16px;
  background: #fff;
}

.profile-price-alert-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-inline-end: auto;
  color: inherit;
  text-decoration: none;
}

.profile-price-alert-product > span:last-child {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-price-alert-product strong {
  overflow-wrap: anywhere;
  color: var(--color-navy, #142f4f);
  font-size: 1rem;
}

.profile-price-alert-meta,
.profile-price-alert-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.profile-price-alert-scope,
.profile-price-alert-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-width: 0;
  padding: 6px 9px;
  border: 1px solid #e8edf2;
  border-radius: 10px;
  background: #f8fafc;
  line-height: 1.6;
}

.profile-price-alert-scope {
  border-color: #f0dfb4;
  background: #fff9e9;
  color: var(--color-navy, #142f4f);
  font-size: 0.8125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.profile-price-alert-scope i,
.profile-price-alert-detail > i {
  flex: 0 0 auto;
  color: #9b7400;
}

.profile-price-alert-details {
  gap: 6px;
}

.profile-price-alert-detail {
  overflow-wrap: anywhere;
  color: var(--text-muted, #718096);
  font-size: 0.8125rem;
}

.profile-price-alert-detail-label {
  color: var(--text-muted, #718096);
}

.profile-price-alert-detail-value {
  color: var(--color-navy, #142f4f);
  font-weight: 700;
}

.profile-price-alert-icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #f3f6f8;
  color: #9b7400;
  font-size: 18px;
}

.profile-price-alert-delete {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid #ead4d1;
  border-radius: 11px;
  background: #fff;
  color: #9b4a40;
  font: inherit;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.profile-price-alert-delete:hover {
  border-color: #d7aaa4;
  background: #fff7f5;
}

.profile-price-alert-delete:focus-visible {
  outline: 2px solid var(--color-navy, #142f4f);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .profile-price-alert-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
  }

  .profile-price-alert-product {
    grid-column: 1;
  }

  .profile-price-alert-delete {
    min-height: 36px;
    padding: 6px 10px;
  }
}
