.customer-account-card__head span,
.customer-account-panel__head span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--erp-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-account-section-head h1,
.customer-account-card__head h2,
.customer-account-panel__head h2 {
  margin: 0;
  color: var(--color-text-primary);
  font-size: var(--customer-account-responsive-title-size);
  font-weight: 800;
}

.customer-account-section,
.customer-account-card-list,
.customer-account-settings {
  display: grid;
  gap: 1rem;
}

.bb-customer-content-wrapper.bb-customer-content-wrapper--unframed {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.customer-account-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.customer-account-card,
.customer-account-panel,
.customer-account-empty {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 0.4375rem;
}

.customer-account-section--viewport-empty {
  display: flex;
  min-height: calc(100vh - var(--customer-account-topbar-height) - var(--customer-dashboard-page-padding));
  flex-direction: column;
  gap: 1rem;
}

.customer-account-section--viewport-empty > .customer-account-content-header {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.customer-account-empty--viewport {
  display: flex;
  min-height: 18rem;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  text-align: center;
}

.customer-account-empty--viewport h2,
.customer-account-empty--viewport p {
  max-width: 32rem;
}

.customer-account-empty__hero-icon {
  display: inline-flex;
  width: 7.5rem;
  height: 7.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--customer-account-muted, #8c96a3);
}

.customer-account-empty__hero-icon svg {
  width: 7.5rem;
  height: 7.5rem;
  stroke-width: 1.25;
}

.customer-account-card--interactive {
  color: var(--customer-account-text, #17191c);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.customer-account-card--interactive:not(.is-active):hover,
.customer-account-card--interactive:not(.is-active):focus-visible {
  color: var(--customer-account-text, #17191c);
  border-color: #9da5af;
  box-shadow: 0 0.375rem 1rem rgba(23, 25, 28, 0.06);
}

.customer-account-card--interactive.is-active {
  color: var(--customer-account-accent, #985ffd);
  background: var(--customer-account-accent-soft, rgba(152, 95, 253, 0.06));
  border-color: var(--customer-account-accent-border, rgba(152, 95, 253, 0.18));
}

.customer-account-card__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.customer-account-definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.customer-account-definition-grid div {
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 0.375rem;
}

.customer-account-definition-grid dt {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-account-metric__value-line {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
  min-height: 2.25rem;
  margin-top: 0.25rem;
  white-space: nowrap;
}

.customer-account-metric__value-line strong {
  grid-column: auto;
  grid-row: auto;
  flex: 0 0 auto;
  margin-top: 0;
}

.customer-account-metric__discount-summary {
  --customer-discount-label-font-size: 0.875rem;

  display: grid;
  flex: 0 0 auto;
  gap: 0.0625rem;
  justify-items: end;
  width: max-content;
  min-width: 0;
  text-align: right;
}

.customer-account-metric__discount-summary > span,
.customer-account-metric__discount-summary > strong {
  color: #6f7986;
  font-size: var(--customer-discount-label-font-size);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.customer-account-metric__discount-summary > span {
  color: var(--erp-primary);
}

.shoper-account-metrics .customer-account-metric__discount-summary > strong {
  margin: 0;
  color: #17191c;
  width: 100%;
  max-width: 100%;
  font-size: calc(var(--customer-discount-label-font-size) * var(--customer-discount-range-scale, 0.9));
  font-weight: 700;
  text-align: right;
}

.customer-account-definition-grid dd {
  margin: 0.25rem 0 0;
  color: var(--color-text-primary);
  font-weight: 800;
}

.customer-account-card__actions,
.customer-account-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.customer-compliance-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem 1.125rem;
  background: #f9fafb;
  border: 1px solid #e5e8ec;
  border-radius: 0.4375rem;
}

.customer-order-tracking .ara-order-icon-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 0.4375rem;
  overflow: hidden;
}

.customer-order-tracking .ara-order-icon-specs-row,
.customer-order-tracking .ara-order-icon-specs-row:first-child {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  grid-template-areas: "icon label" "icon value";
  column-gap: 0.625rem;
  row-gap: 0.125rem;
  align-items: center;
  min-width: 0;
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #eef0f2;
  border-radius: 0;
}

.customer-order-tracking .ara-order-icon-specs-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.customer-order-tracking .ara-order-icon-specs-row .ico {
  display: inline-flex;
  grid-area: icon;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-primary);
  background: var(--color-primary-lighter, #fff4f6);
  border: 1px solid rgba(239, 35, 60, 0.16);
  border-radius: 0.4375rem;
}

.customer-order-tracking .ara-order-icon-specs-row .ico svg {
  width: 14px;
  height: 14px;
}

.customer-order-tracking .ara-order-icon-specs-row .label {
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  color: var(--color-text-description);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.customer-order-tracking .ara-order-icon-specs-row .value {
  grid-area: value;
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--color-text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

@media (max-width: 575.98px) {
  .customer-order-tracking .ara-order-icon-specs {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem 0.875rem;
  }

  .customer-order-tracking .ara-order-icon-specs-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid #eef0f2;
  }

  .customer-order-tracking .ara-order-icon-specs-row:last-child {
    border-bottom: 0;
  }
}

.customer-compliance-card__eyebrow {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--color-text-secondary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-compliance-card h2,
.customer-compliance-card h3,
.customer-compliance-card h5 {
  margin: 0;
  color: var(--color-text-primary);
  font-size: 1.05rem;
  font-weight: 800;
}

.customer-compliance-card p {
  margin: 0.45rem 0 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.customer-withdrawal-status__scope {
  font-size: 0.75rem;
}

.customer-withdrawal-status [data-withdrawal-action] {
  flex: 0 0 auto;
}

.customer-compliance-definition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
}

.customer-compliance-definition-grid dt {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-compliance-definition-grid dd {
  margin: 0.2rem 0 0;
  color: var(--color-text-primary);
  overflow-wrap: anywhere;
}

.customer-gpsr-info {
  display: block;
}

@media (max-width: 575px) {
  .customer-compliance-card,
  .customer-compliance-definition-grid {
    grid-template-columns: 1fr;
  }

  .customer-compliance-card {
    display: grid;
  }
}

.customer-account-actions-row {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.customer-account-actions-row p,
.customer-account-address-card__body p,
.customer-account-panel__head p {
  margin: 0;
}

.customer-account-address-card__body {
  color: var(--color-text-secondary);
}

.customer-account-panel__head {
  display: grid;
  gap: 0.4rem;
  margin: -0.125rem 0 1.125rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e8ebef;
}

.customer-account-panel__head span {
  color: #6f7986;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
}

.customer-account-panel__head h2 {
  color: #09142f;
  font-size: 1rem;
  font-weight: 700;
}

.customer-account-panel__head p {
  max-width: 42rem;
  color: #667085;
  font-size: 0.8125rem;
  line-height: 1.55;
}

.customer-account-panel--danger {
  background: #fff7f8;
  border-color: rgba(239, 35, 60, 0.25);
}

.customer-account-panel form {
  display: grid;
  gap: 1.125rem;
}

.customer-account-panel form > input[type="hidden"],
.customer-account-panel form > link,
.customer-account-panel form > script,
.customer-account-panel form > style {
  display: none;
}

.customer-account-panel .form-group,
.customer-account-panel .mb-3 {
  margin-bottom: 0 !important;
}

.customer-account-panel label {
  display: block;
  margin-bottom: 0.5rem;
  color: #09142f;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.customer-account-panel .form-control,
.customer-account-panel .form-select,
.customer-account-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.customer-account-panel select,
.customer-account-panel textarea {
  min-height: 3.125rem;
  padding: 0.75rem 0.875rem;
  color: var(--customer-account-text);
  background: #fff;
  border: 1px solid #d9dee6;
  border-radius: var(--customer-account-control-radius);
  box-shadow: none;
  font-size: 0.875rem;
  line-height: 1.45;
}

.customer-account-panel textarea {
  min-height: 7rem;
}

.customer-account-panel .form-control:focus,
.customer-account-panel .form-select:focus,
.customer-account-panel input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.customer-account-panel select:focus,
.customer-account-panel textarea:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 0.1875rem rgba(14, 165, 233, 0.12);
}

.customer-account-panel .input-group {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
}

.customer-account-panel .input-group-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 0.875rem;
  color: #596371;
  background: #f2f4f6;
  border-color: #d9dee6;
  border-right: 0;
  border-radius: var(--customer-account-control-radius) 0 0 var(--customer-account-control-radius);
  font-size: 0.8125rem;
  line-height: 1;
}

.customer-account-panel .input-group > .form-control,
.customer-account-panel .input-group > input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.customer-billing-identity {
  display: grid;
  gap: 1rem;
}

.customer-billing-identity .select2-container {
  width: 100% !important;
}

.customer-billing-identity .customer-toolbar-select2-selection {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  border-color: #d9dee6;
  border-radius: var(--customer-account-control-radius);
  box-shadow: none;
}

.customer-billing-identity .customer-toolbar-select2-selection .select2-selection__rendered {
  padding-left: 0.875rem;
  color: var(--color-text-primary);
}

.customer-billing-identity .customer-toolbar-select2-selection .select2-selection__arrow {
  top: 50%;
  right: 0.625rem;
  transform: translateY(-50%);
}

.customer-identity-field {
  display: grid;
  gap: 0.375rem;
}

.customer-identity-field__control {
  position: relative;
}

.customer-identity-field__control .form-control {
  padding-right: 3.25rem;
}

.customer-identity-field__status {
  min-height: 1.125rem;
  color: var(--color-text-description);
  font-size: 0.75rem;
  line-height: 1.5;
}

.customer-identity-field__status[data-state="valid"] {
  color: #07895c;
}

.customer-identity-field__status[data-state="invalid"] {
  color: var(--color-primary);
}

.shoper-account-guest .customer-identity-field:has(.customer-identity-field__status[data-state="invalid"]) > .invalid-feedback {
  display: none !important;
}

.customer-company-lookup {
  position: absolute;
  top: 50%;
  right: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  color: var(--color-text-primary);
  background: #f0f2f5;
  border: 0;
  border-radius: 0.375rem;
  transform: translateY(-50%);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.customer-company-lookup svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-company-lookup:hover,
.customer-company-lookup:focus-visible {
  color: #fff;
  background: var(--customer-account-accent, #985ffd);
}

.customer-company-lookup:disabled {
  color: #9da5af;
  background: #f4f6f8;
  cursor: not-allowed;
}

.customer-company-lookup.is-loading {
  opacity: 0.7;
}

.customer-company-lookup-result {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  background: #f4f6f8;
  border-radius: 0.375rem;
  color: var(--color-text-description);
  font-size: 0.8125rem;
}

.customer-company-lookup-result strong {
  color: var(--color-text-primary);
}

.customer-password-contract {
  display: grid;
  gap: 0.625rem;
  width: 100%;
}

.customer-password-contract__help,
.customer-password-contract__status {
  margin: 0;
  color: var(--color-text-description);
  font-size: 0.75rem;
  line-height: 1.5;
}

.customer-password-contract__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.customer-password-contract__intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customer-password-contract__intro .customer-password-contract__help {
  flex: 1 1 auto;
}

.customer-password-contract__generate,
.customer-password-contract__copy {
  flex: 0 0 auto;
  width: auto;
  min-height: 2.5rem;
  white-space: nowrap;
}

.customer-password-contract__suggestion {
  width: fit-content;
  max-width: 100%;
  padding: 0.625rem 0.75rem;
  overflow-wrap: anywhere;
  background: #f4f6f8;
  border-radius: 0.375rem;
  color: var(--color-text-primary);
  font-family: monospace;
  font-size: 0.8125rem;
}

.customer-account-settings--details {
  width: min(100%, 78rem);
  margin-inline: 0;
  align-items: start;
}

.customer-account-settings--details > .customer-account-panel {
  min-width: 0;
}

@media (min-width: 992px) {
  .customer-account-settings--details {
    grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
  }

  .customer-account-settings--details > .customer-account-panel--profile {
    grid-row: span 2;
  }

  .customer-account-panel--profile form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .customer-account-panel--profile form > .customer-billing-identity,
  .customer-account-panel--profile form > .customer-password-contract,
  .customer-account-panel--profile form > button[type="submit"] {
    grid-column: 1 / -1;
  }

  .customer-account-panel--profile .customer-billing-identity {
    grid-template-columns: minmax(0, 1fr);
  }

  .customer-account-panel--profile .customer-billing-identity > .mb-3 {
    width: calc((100% - 1rem) / 2);
  }

  .customer-account-panel--profile .customer-billing-identity > .row {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .customer-account-panel--profile form > button[type="submit"] {
    width: auto;
    min-width: 10rem;
    justify-self: start;
  }
}

.erp-builder-block {
  --erp-builder-space-sm: 1rem;
  --erp-builder-space-md: 1.5rem;
  --erp-builder-space-lg: 2.5rem;
  --erp-builder-space-xl: 4rem;
}

.erp-builder-width-wide {
  max-width: 1440px;
}

.erp-builder-width-full {
  width: 100%;
  max-width: none;
}

.erp-builder-space-top-none {
  margin-top: 0 !important;
}

.erp-builder-space-top-sm {
  margin-top: var(--erp-builder-space-sm) !important;
}

.erp-builder-space-top-md {
  margin-top: var(--erp-builder-space-md) !important;
}

.erp-builder-space-top-lg {
  margin-top: var(--erp-builder-space-lg) !important;
}

.erp-builder-space-top-xl {
  margin-top: var(--erp-builder-space-xl) !important;
}

.erp-builder-space-bottom-none {
  margin-bottom: 0 !important;
}

.erp-builder-space-bottom-sm {
  margin-bottom: var(--erp-builder-space-sm) !important;
}

.erp-builder-space-bottom-md {
  margin-bottom: var(--erp-builder-space-md) !important;
}

.erp-builder-space-bottom-lg {
  margin-bottom: var(--erp-builder-space-lg) !important;
}

.erp-builder-space-bottom-xl {
  margin-bottom: var(--erp-builder-space-xl) !important;
}

.erp-builder-animate-fade-in,
.erp-builder-animate-fade-up {
  animation-duration: 0.45s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.48, 0, .12, 1);
}

.erp-builder-animate-fade-in {
  animation-name: erp-builder-fade-in;
}

.erp-builder-animate-fade-up {
  animation-name: erp-builder-fade-up;
}

@keyframes erp-builder-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes erp-builder-fade-up {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1199.98px) {
  :root {
    --customer-section-gap: 1.25rem;
    --customer-section-content-offset: 0.625rem;
    --customer-section-stack-gap: 3rem;
  }

  .shoper-home-sections {
    width: 100%;
    max-width: none;
    padding-top: 0.9375rem;
    overflow-x: hidden;
  }

  .shoper-home-block {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
  }

  .shoper-home-block--hero {
    margin-top: 0;
  }

  .erp-builder-hide-tablet-mobile {
    display: none !important;
  }

  .shoper-home-sections > * {
    margin-bottom: var(--customer-section-stack-gap);
  }
}

@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .shoper-home-sections {
    box-sizing: border-box;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .shoper-home-block--hero [data-erp-home-lead] {
    --bs-gutter-x: 0;
    margin-right: 0;
    margin-left: 0;
  }

  [data-erp-home-lead] .shoper-banner {
    aspect-ratio: 1024 / 573;
  }

  [data-erp-home-lead] .shoper-banner.style-inner .shoper-entry-wrapper {
    box-sizing: border-box;
    min-height: 100%;
  }

  [data-erp-home-lead] .shoper-banner.style-inner .shoper-entry-media img {
    object-position: center;
  }

  .mobile-bottom-menu {
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0.375rem max(0.625rem, env(safe-area-inset-right)) max(0.375rem, env(safe-area-inset-bottom)) max(0.625rem, env(safe-area-inset-left));
    background: transparent;
    border-top: 0;
  }

  .mobile-bottom-menu .mobile-menu {
    width: 100%;
    max-width: 32rem;
    padding: 0.25rem;
    background: var(--color-body);
    border: 1px solid var(--color-info-dark);
    border-radius: var(--theme-theme-radius-small);
    box-shadow: 0 0.5rem 1.5rem rgba(33, 37, 41, 0.12);
  }

  .mobile-bottom-menu ul {
    justify-content: center;
    gap: 0;
  }

  .mobile-bottom-menu ul li {
    flex: 1 1 20%;
    max-width: 6.25rem;
    text-align: center;
  }

  .mobile-bottom-menu ul li a {
    justify-content: center;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.3125rem 0.125rem;
    border-radius: calc(var(--theme-theme-radius-small) - 0.125rem);
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
  }

  .mobile-bottom-menu ul li.active > a,
  html.erp-site-drawer-open .mobile-bottom-menu a.categories,
  body.search-active .mobile-bottom-menu a.search-button {
    color: var(--color-primary);
    background-color: rgba(239, 35, 60, 0.08);
    transform: translateY(-0.0625rem);
  }

  .mobile-bottom-menu ul li.active > a i,
  html.erp-site-drawer-open .mobile-bottom-menu a.categories i,
  body.search-active .mobile-bottom-menu a.search-button i {
    color: currentColor;
  }

  body:not([data-customer-dashboard="true"]) .shoper-site-footer {
    margin-bottom: 4.75rem;
  }
}

@media screen and (max-width: 1023.98px) {
  .filtered-sidebar {
    z-index: 100001;
    transform: translateX(-100%) !important;
    transition: transform 0.24s cubic-bezier(0.28, 0.12, 0.22, 1);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0.875rem 0 2.5rem rgba(33, 37, 41, 0.16);
  }

  .filtered-sidebar:not(.is-open) {
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .filtered-sidebar.is-open {
    transform: translateX(0) !important;
    visibility: visible;
    pointer-events: auto;
  }

  .filtered-sidebar .shoper-site-scroll {
    height: 100%;
    overflow-y: auto;
  }

  .filtered-sidebar .sidebar-inner {
    padding-bottom: 2rem;
  }

  .filtered-sidebar .sidebar-mobile-header .shoper-site-close button {
    width: 2.125rem;
    height: 2.125rem;
  }
}

@media screen and (max-width: 1199.98px) {
  .shoper-checkout .shoper-cart-wrapper {
    grid-template-columns: 1fr;
  }

  .shoper-checkout .shoper-col2-set {
    flex-direction: column !important;
  }

  .shoper-checkout .shoper-col2-set .col-1,
  .shoper-checkout .shoper-col2-set .col-2 {
    width: 100% !important;
    flex-basis: auto !important;
  }

  .shoper-checkout .order-review-wrapper {
    position: static;
  }

  .shoper-account-page .my-account-inner {
    grid-template-columns: 1fr;
  }

  .shoper-account-page .my-account-navigation {
    border: 1px solid var(--color-info-dark);
  }
}

@media screen and (max-width: 767.98px) {
  .shoper-account-guest,
  .shoper-account-page {
    padding: 1rem 0 5.5rem;
  }

  .shoper-account-guest .login-page-tab a {
    min-height: auto;
    padding: 0;
    font-size: 0.875rem;
  }

  .shoper-account-guest .login-form-container {
    padding: 0;
  }

  .shoper-login-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .shoper-account-guest .shoper-form-login__submit,
  .shoper-account-guest .shoper-form-register__submit {
    width: 100%;
  }

  .shoper-account-page .shoper-MyAccount-navigation,
  .shoper-account-page .shoper-MyAccount-content {
    padding: 1rem;
  }

  .shoper-account-metrics,
  .customer-account-card-grid,
  .customer-account-definition-grid {
    grid-template-columns: 1fr;
  }

  .shoper-account-page .my-account-user {
    align-items: flex-start;
  }

  .shoper-checkout {
    padding: 1rem 0 5.5rem;
  }

  .shoper-checkout .shoper-billing-fields,
  .shoper-checkout .shoper-shipping-fields,
  .shoper-checkout .order-review-wrapper {
    padding: 1rem;
    border-radius: 0.375rem;
  }

  .shoper-checkout .shoper-shop-table th,
  .shoper-checkout .shoper-shop-table td {
    font-size: 0.8125rem;
  }

  .shoper-checkout .shoper-shop-table thead {
    display: none;
  }

  .shoper-checkout .shoper-shop-table tr,
  .shoper-checkout .shoper-shop-table td,
  .shoper-checkout .shoper-shop-table th {
    display: block;
    width: 100%;
    text-align: left !important;
  }

  .shoper-checkout .shoper-shop-table td.product-total {
    padding-top: 0;
  }

  .shoper-checkout .form-row.place-order {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .shoper-checkout .payment-checkout-btn,
  .shoper-checkout .payment-checkout-btn-step {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.customer-contact-page {
  padding: 0 0 4.5rem;
}

.customer-contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 4.25;
  min-height: 18.75rem;
  margin-bottom: 3rem;
  overflow: hidden;
  background: var(--color-info-light);
}

.customer-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.customer-contact-page__head {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.customer-contact-page__column-head .shoper-entry-title,
.customer-contact-page .contact-form-wrapper .shoper-entry-title {
  margin-bottom: 0.75rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.customer-contact-page .description-block {
  margin-bottom: 0;
}

.customer-contact-page .description-block p {
  margin-bottom: 0;
  color: var(--color-text-description);
  font-size: 0.875rem;
  line-height: 1.7142857143;
}

.customer-contact-addresses {
  margin: 1.25rem 0 2.5rem;
  padding: 0;
  border: 0;
}

.customer-contact-addresses a,
.customer-contact-page .contact-iconboxes a {
  color: inherit;
}

.customer-contact-page__grid {
  align-items: flex-start;
  row-gap: 2.5rem;
}

.customer-contact-page .contact-form-wrapper {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.customer-contact-page .customer-contact-form__head {
  margin-bottom: 1.875rem;
}

.customer-contact-page .contact-social {
  margin-top: 2rem;
}

.customer-contact-page .contact-social .elementor-social-icons-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.customer-contact-page .contact-social .elementor-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  background: var(--color-text-primary);
  border-radius: 50%;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.customer-contact-page .contact-social .elementor-social-icon:hover,
.customer-contact-page .contact-social .elementor-social-icon:focus-visible {
  color: #fff;
  background: var(--color-primary);
  transform: translateY(-1px);
}

.customer-contact-page .elementor-screen-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.customer-contact-page .contact-form-row {
  margin-right: 0 !important;
  margin-left: 0 !important;
  row-gap: 0.75rem;
}

.customer-contact-page .contact-form-row > [class*="contact-column-"] {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.customer-contact-page .contact-form-group {
  margin-bottom: 0.75rem;
}

.customer-contact-page .contact-form-group label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--color-text-primary);
  font-size: 0.8125rem;
  font-weight: 600;
}

.customer-contact-page .contact-form-input:not([type="checkbox"]):not([type="hidden"]),
.customer-contact-page .contact-form textarea,
.customer-contact-page .contact-form select {
  width: 100%;
  min-height: var(--theme-form-height);
  height: var(--theme-form-height);
  border: 1px solid var(--color-form-border);
  border-radius: var(--theme-form-radius);
  background: #fff;
  color: var(--color-text-primary);
  font: inherit;
  font-size: var(--theme-form-font-size);
  font-weight: var(--theme-form-font-weight);
  box-shadow: 0 1px 2px 0 rgba(33, 37, 41, 0.09);
}

.customer-contact-page .contact-form textarea {
  min-height: 8.75rem;
  height: auto;
  resize: vertical;
}

.customer-contact-page .contact-button {
  min-height: var(--theme-form-height);
  height: var(--theme-form-height);
  padding: 0 1.25rem;
  border: 1px solid var(--color-primary);
  border-radius: var(--theme-form-radius);
  background: var(--color-primary);
  color: #fff;
  font-size: var(--theme-form-font-size);
  font-weight: 600;
}

.customer-contact-page .contact-form .form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0.5rem 0 1rem;
  color: var(--color-text-description);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.customer-contact-page .contact-form input[type="checkbox"],
.customer-contact-page .contact-form .form-check-input {
  flex: 0 0 1rem;
  width: 1rem !important;
  min-width: 1rem !important;
  max-width: 1rem !important;
  height: 1rem !important;
  min-height: 1rem !important;
  max-height: 1rem !important;
  margin: 0.125rem 0 0;
  padding: 0;
  border: 1px solid var(--color-form-border);
  border-radius: 0.1875rem;
  box-shadow: none;
  accent-color: var(--color-primary);
}

.customer-contact-page .contact-form .form-check-label {
  display: block;
  min-width: 0;
}

.customer-contact-page .contact-button:hover,
.customer-contact-page .contact-button:focus-visible {
  border-color: var(--color-primary-dark);
  background: var(--color-primary-dark);
}

@media screen and (max-width: 767.98px) {
  .customer-contact-page {
    padding: 0 0 5.5rem;
  }

  .customer-contact-map {
    aspect-ratio: 16 / 8.5;
    min-height: 13.75rem;
    margin-bottom: 1.75rem;
  }

  .customer-contact-page .contact-form-wrapper {
    padding: 0;
  }

  .customer-contact-page__column-head .shoper-entry-title,
  .customer-contact-page .contact-form-wrapper .shoper-entry-title {
    font-size: 1.875rem;
  }
}

.newsletter-popup {
  --newsletter-popup-ink: var(--color-text-primary);
  --newsletter-popup-muted: var(--color-text-description);
  --newsletter-popup-line: var(--color-border-light);
  --newsletter-popup-surface: #fff;
  --newsletter-popup-primary: var(--color-primary);
}

.newsletter-popup .newsletter-popup-dialog {
  max-width: min(31.25rem, calc(100vw - 2rem));
}

.newsletter-popup .newsletter-popup-card {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.newsletter-popup .newsletter-popup-bg {
  display: none;
}

.newsletter-popup .newsletter-popup-content {
  min-width: 0;
  padding: 3.25rem 3rem 2.75rem;
  text-align: center;
}

.newsletter-popup .modal-subtitle {
  color: var(--color-danger);
  font-size: 0.8125rem;
  font-weight: 700;
}

.newsletter-popup .modal-title,
.newsletter-popup .modal-text {
  max-width: none;
}

.newsletter-popup form button[type='submit'],
.newsletter-popup form .newsletter-submit-button {
  border-color: var(--color-primary) !important;
  background: var(--color-primary) !important;
}

.newsletter-popup form button[type='submit']:hover,
.newsletter-popup form button[type='submit']:focus,
.newsletter-popup form .newsletter-submit-button:hover,
.newsletter-popup form .newsletter-submit-button:focus {
  border-color: var(--color-primary-dark) !important;
  background: var(--color-primary-dark) !important;
}

@media screen and (max-width: 767.98px) {
  .newsletter-popup .newsletter-popup-dialog {
    max-width: min(28rem, calc(100vw - 2rem));
  }

  .newsletter-popup .newsletter-popup-content {
    padding: 2.75rem 1.25rem 1.5rem;
  }

  .newsletter-popup .modal-title {
    font-size: 1.375rem;
  }
}

@media screen and (min-width: 1200px) {
  .erp-builder-hide-desktop {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .erp-builder-hide-tablet {
    display: none !important;
  }

  [data-erp-home-lead] {
    margin-top: 1rem;
  }

  [data-erp-home-lead] .shoper-entry-excerpt {
    min-height: 3.375rem;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 767.98px) {
  :root {
    --customer-section-gap: 1.25rem;
    --customer-section-content-offset: 0.3125rem;
    --customer-section-stack-gap: 2.5rem;
  }

  .erp-builder-hide-mobile {
    display: none !important;
  }

  .shoper-home-sections {
    padding-top: 0.9375rem;
  }

  [data-erp-home-lead] {
    margin-top: 0.375rem;
  }

  [data-erp-home-lead] .shoper-banner {
    height: 22rem;
  }

  [data-erp-home-lead] .shoper-entry-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shoper-site-footer {
    padding-bottom: 4.5rem;
  }

  .shoper-home-block .product .content-wrapper {
    min-height: 8.0625rem;
  }

}

.filtered-sidebar .customer-category-filter-widget .shoper-widget-title {
  margin: 0 0 1.25rem;
  padding: 0;
  color: var(--color-text);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.125rem;
}

.filtered-sidebar .customer-category-filter-list label {
  color: var(--color-text);
  font-weight: 500;
}

.filtered-sidebar .customer-category-filter-list label > span {
  flex-basis: 1.125rem;
  width: 1.125rem;
  max-width: 1.125rem;
  height: 1.125rem;
  border-color: var(--color-form-border);
  border-radius: var(--theme-theme-radius-xsmall);
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(33, 37, 41, 0.05);
}

.filtered-sidebar .customer-category-filter-list .is-active > .customer-category-filter-row label,
.filtered-sidebar .customer-category-filter-list .current-cat > a label {
  color: var(--color-text);
  font-weight: 500;
}

.filtered-sidebar .customer-category-filter-list .is-active > .customer-category-filter-row label > span,
.filtered-sidebar .customer-category-filter-list .current-cat > a label > span {
  background-color: #fff;
  border-color: var(--color-form-border);
}

.filtered-sidebar .customer-category-filter-list input[type="checkbox"]:checked + label > span {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.filtered-sidebar .customer-category-filter-expander,
.filtered-sidebar .customer-category-filter-expander:hover,
.filtered-sidebar .customer-category-filter-expander:focus {
  background-color: transparent;
}

@media screen and (min-width: 1200px) {
  .shoper-site-header .quick-button.shoper-cart-button {
    position: relative;
    isolation: isolate;
  }

  .shoper-site-header .quick-button.shoper-cart-button > .quick-button-inner {
    min-height: 3rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button > .quick-button-inner::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.875rem;
    left: 0;
    height: 0.875rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-cart-dropdown {
    top: calc(100% + 0.875rem);
    right: 0;
    z-index: 1040;
    width: 22.5rem;
    min-width: 22.5rem;
    max-width: min(22.5rem, calc(100vw - 2rem));
    border-color: var(--color-info-dark);
    border-radius: var(--theme-theme-radius-base);
    box-shadow: 0 1.25rem 2.75rem rgba(33, 37, 41, 0.16);
    transform: translateY(0.5rem);
    transition:
      opacity 0.18s cubic-bezier(0.28, 0.12, 0.22, 1),
      visibility 0.18s cubic-bezier(0.28, 0.12, 0.22, 1),
      transform 0.18s cubic-bezier(0.28, 0.12, 0.22, 1);
  }

  .shoper-site-header .quick-button.shoper-cart-button:hover .shoper-cart-dropdown,
  .shoper-site-header .quick-button.shoper-cart-button:focus-within .shoper-cart-dropdown,
  .shoper-site-header .quick-button.shoper-cart-button.is-mini-cart-open .shoper-cart-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateY(0) !important;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-cart-dropdown-wrapper {
    padding: 1.25rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart-form {
    margin: 0;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-cart-free-shipping {
    margin: 0.875rem 0;
    padding: 0.875rem 1rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-cart-free-shipping p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .product {
    margin: 0;
    padding: 0 0 0.75rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .product + .product {
    padding-top: 0.75rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .product-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .thumbnail-wrapper {
    flex: 0 0 3.875rem;
    width: 3.875rem;
    height: 3.875rem;
    overflow: hidden;
    background: var(--color-info-light);
    border: 1px solid var(--color-info);
    border-radius: var(--theme-theme-radius-small);
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .content-wrapper {
    min-width: 0;
    padding-right: 1.25rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .product-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 0.3125rem;
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .product-title a {
    color: inherit;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart .price {
    color: var(--color-text-description);
    font-size: 0.8125rem;
    font-weight: 500;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__total {
    align-items: center;
    margin: 0 0 0.875rem;
    padding-top: 0.9375rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons {
    gap: 0.5rem;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.625rem;
    padding: 0 0.875rem;
    border-radius: var(--theme-form-radius);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons .button:not(.checkout) {
    color: var(--color-text);
    background: var(--color-info-light);
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons .button.checkout {
    color: #fff;
    background: var(--color-primary);
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons .button:hover,
  .shoper-site-header .quick-button.shoper-cart-button .shoper-mini-cart__buttons .button:focus-visible {
    color: #fff;
    background: var(--color-primary-dark);
  }

  .shoper-site-header .quick-button.shoper-cart-button .shoper-cart-empty {
    padding: 1.375rem 1rem;
  }
}

@media (max-width: 767.98px) {
  .shop-page-wrapper .products:not(.large-list) .product.custom-hover .customer-product-card-short-description,
  .shoper-single-product > .related.products .products:not(.large-list) .product.custom-hover .customer-product-card-short-description,
  .shoper-single-product > .recently-viewed.products .products:not(.large-list) .product.custom-hover .customer-product-card-short-description {
    display: -webkit-box;
    min-height: 2.375rem;
    margin: 0.25rem 0 0.5rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .shop-page-wrapper .products:not(.large-list) .product.custom-hover .product-footer .product-footer-details,
  .shoper-single-product > .related.products .products:not(.large-list) .product.custom-hover .product-footer .product-footer-details,
  .shoper-single-product > .recently-viewed.products .products:not(.large-list) .product.custom-hover .product-footer .product-footer-details {
    display: none;
  }
}


/* ---------------------------------------------------------------------------
   Detalii tehnice comanda â€” informatie LA CERERE.
   Pe pagina de order/tracking specificatiile nu se afiseaza din start; sunt
   in spatele link-ului "Vezi detalii tehnice" (<details> nativ, zero JS).
   La expand: lista single-column, full labels (fara trunchiere), lizibila.
--------------------------------------------------------------------------- */
.customer-order-specs {
  margin: 0.6rem 0 0;
}
/* Checkbox ascuns care comanda expandarea (zero JS). Ramane in DOM ca sibling
   de label (chevron :checked + label) si e detectat de :has() la nivel de card. */
.customer-order-specs__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
/* Link-ul "Vezi detalii tehnice" â€” folosit ca <label> (tracking, split) SAU ca
   <summary> (lista comenzi/admin, <details>). Aceleasi stiluri pentru ambele. */
.customer-order-specs__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--erp-primary, #ef233c);
  padding: 0.25rem 0;
  user-select: none;
}
.customer-order-specs__summary::-webkit-details-marker {
  display: none;
}
.customer-order-specs__summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
  transition: transform 0.2s ease;
}
.customer-order-specs[open] > .customer-order-specs__summary::after,
.customer-order-specs__toggle:checked + .customer-order-specs__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.1rem;
}
.customer-order-specs__summary:hover {
  text-decoration: underline;
}
/* Tabel de atribute EXACT ca PartDo (klbtheme.com/partdo â€” inventar computed
   complet). PartDo pune border+radius+shadow pe CONTAINER (.product-extra-details),
   NU pe tabel (radius nu se aplica pe border-collapse). Tabel borderless, randuri
   separate cu border-bottom #ced4da, FARA zebra. Metrici exacte: font 12px,
   th bold 700 / td normal 400, th ~32%, td padding-left 4px. */
.customer-order-specs__panel {
  margin-top: 0.5rem;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  box-shadow: 1px 2px 4px 0 rgba(33, 37, 41, 0.05);
  background: transparent;
  overflow: hidden;
}
.customer-order-specs__panel .shoper-product-attributes {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
  background: transparent;
}
.customer-order-specs__panel .shoper-product-attributes th,
.customer-order-specs__panel .shoper-product-attributes td {
  font-size: 12px;
  line-height: 18px;
  color: #212529;
  background: transparent;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ced4da;
}
.customer-order-specs__panel .shoper-product-attributes th {
  width: 32%;
  padding: 10px 8px 10px 20px;
  font-weight: 700;
  letter-spacing: -0.03px;
  white-space: normal;
}
.customer-order-specs__panel .shoper-product-attributes td {
  padding: 10px 20px 10px 4px;
  font-weight: 400;
}
.customer-order-specs__panel .shoper-product-attributes tr:last-child th,
.customer-order-specs__panel .shoper-product-attributes tr:last-child td {
  border-bottom: 0;
}
.customer-order-specs__panel .shoper-product-attributes td p {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Card produs comanda: imaginea NU se taie (portret 667x1000 vs box). */
.customer-order-tracking .bb-order-product-card-image {
  width: 96px;
  min-width: 96px;
  height: auto;
  align-self: flex-start;
}
.customer-order-tracking .bb-order-product-card-image img {
  width: 96px;
  height: auto;
  max-height: 128px;
  object-fit: contain;
  object-position: top center;
}

.customer-order-tracking .customer-order-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.customer-order-meta-grid .customer-order-meta-grid__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  align-content: start;
  min-width: 0;
  margin: 0;
}

.customer-order-meta-grid .customer-order-meta-grid__item--full {
  grid-column: 1 / -1;
}

.customer-order-meta-grid .value {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Split tracking: link-ul "Vezi detalii tehnice" sta in coloana de detalii, in
   fluxul de text sub "Vandut de" (spacing normal). Tabelul e element full-width
   sub randul produsului (aliniat cu imaginea), ascuns pana la bifarea toggle-ului
   din ACELASI card (:has). */
.customer-order-tracking .bb-order-product-card-meta > .customer-order-specs__summary {
  margin-top: 0.35rem;
}
.customer-order-tracking .bb-order-product-card > .customer-order-specs__panel {
  display: none;
  margin-top: 0.85rem;
}
.customer-order-tracking .bb-order-product-card:has(.customer-order-specs__toggle:checked) > .customer-order-specs__panel {
  display: block;
}

/* Order detail: product content and financial summary are distinct cards while
   retaining the existing customer-card surfaces and value-row primitives. */
.customer-order-products-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.75fr);
  gap: 1rem;
  align-items: start;
}
.customer-order-products-layout > .card {
  min-width: 0;
  margin-bottom: 0;
}
.customer-order-products-card .bb-order-product-cards {
  margin-bottom: 0 !important;
}
.customer-order-financial-card .bb-order-product-card-info {
  min-width: 0;
  margin-left: 0;
}
.customer-order-financial-products {
  display: grid;
  gap: 0.875rem;
}
.customer-order-financial-product {
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e5e7eb;
}
.customer-order-financial-card .bb-order-totals {
  margin-top: 1rem;
}

.customer-withdrawal-status:not([data-withdrawal-eligibility="eligible"]) {
  display: none;
}

@media (max-width: 991.98px) {
  .customer-order-products-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .customer-order-tracking .customer-order-meta-grid {
    gap: 0.625rem;
  }

  .customer-order-meta-grid .customer-order-meta-grid__item {
    padding: 0.75rem;
    background: #f5f6f8;
    border-radius: 0.4375rem;
  }

  .customer-order-tracking .bb-order-product-card-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }

  .customer-order-tracking .bb-order-product-card-image,
  .customer-order-tracking .bb-order-product-card-image img {
    width: 100%;
  }

  .customer-order-tracking .bb-order-product-card-image img {
    max-height: 320px;
    object-position: center;
  }
}

/* Comanda DOAR cu gift-card: liniile gift-card sunt excluse din lista, deci
   afisam un mesaj info in locul listei goale (codul merge pe email + in cont). */
.customer-order-giftcard-notice {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  background: #f8f9fa;
}
.customer-order-giftcard-notice > svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--erp-primary, #ef233c);
  margin-top: 2px;
}
.customer-order-giftcard-notice__body strong {
  display: block;
  font-size: 0.95rem;
  color: #212529;
}
.customer-order-giftcard-notice__body p {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.85rem;
  color: #6c757d;
}
.customer-order-giftcard-notice__body a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--erp-primary, #ef233c);
  text-decoration: none;
}
.customer-order-giftcard-notice__body a:hover {
  text-decoration: underline;
}

.customer-blog-layout {
  --customer-blog-columns: 3;
  --customer-blog-gap: 24px;
}

.customer-blog-columns-2 { --customer-blog-columns: 2; }
.customer-blog-columns-3 { --customer-blog-columns: 3; }
.customer-blog-columns-4 { --customer-blog-columns: 4; }

.customer-blog-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.customer-blog-card .shoper-entry-media {
  overflow: hidden;
  background: #f3f4f6;
}

.customer-blog-card .shoper-entry-media a,
.customer-blog-card .shoper-entry-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.customer-blog-card .shoper-entry-media img {
  object-fit: cover;
}

.customer-blog-card--ratio-16-9 .shoper-entry-media { aspect-ratio: 16 / 9; }
.customer-blog-card--ratio-4-3 .shoper-entry-media { aspect-ratio: 4 / 3; }
.customer-blog-card--ratio-square .shoper-entry-media { aspect-ratio: 1; }

.customer-blog-card .shoper-entry-wrapper {
  padding: 20px;
}

.customer-blog-card .shoper-entry-title {
  font-size: 20px;
  line-height: 1.35;
}

.customer-blog-card .shoper-entry-excerpt {
  margin-top: 10px;
  color: #6b7280;
}

.customer-blog-card .shoper-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.customer-blog-card .meta-item {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.customer-blog-card .meta-item > span:first-child {
  color: #9ca3af;
}

.customer-blog-classic-stream {
  display: grid;
  gap: 24px;
}

.customer-blog-classic-stream .customer-blog-card {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
}

.customer-blog-classic-stream .customer-blog-card .shoper-entry-media {
  aspect-ratio: auto;
  min-height: 260px;
}

.customer-blog-category-row + .customer-blog-category-row,
.customer-blog-index-group + .customer-blog-index-group {
  margin-top: 44px;
}

.customer-blog-section-heading,
.customer-blog-index-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.customer-blog-section-heading span,
.customer-blog-index-heading span,
.customer-vehicle-guide__intro > span {
  display: block;
  margin-bottom: 3px;
  color: #ef233c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-blog-section-heading h2,
.customer-blog-index-heading h2,
.customer-vehicle-guide__intro h2 {
  margin: 0;
  font-size: 24px;
}

.customer-blog-row-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-blog-row-controls a {
  margin-right: 8px;
  color: #111827;
  text-decoration: underline;
}

.customer-blog-row-controls button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #dbe1e8;
  border-radius: 6px;
  background: #fff;
  color: #111827;
}

.customer-blog-row-controls button > span {
  display: block;
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
}

.customer-blog-row-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--customer-blog-columns) - 1) * var(--customer-blog-gap)) / var(--customer-blog-columns));
  gap: var(--customer-blog-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.customer-blog-row-track::-webkit-scrollbar { display: none; }
.customer-blog-row-track > * { scroll-snap-align: start; }

.customer-blog-row-track .customer-blog-card {
  display: flex;
  flex-direction: column;
}

.customer-blog-row-track .customer-blog-card .shoper-entry-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.customer-blog-row-track .customer-blog-card .shoper-entry-footer {
  margin-top: auto;
}

.customer-blog-index-group {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.customer-blog-index-heading {
  align-items: center;
  margin: 0;
  padding: 18px 20px;
}

.customer-blog-index-heading > div { min-width: 0; }
.customer-blog-index-heading strong { color: #6b7280; font-size: 13px; }

.customer-blog-index-item {
  display: grid;
  grid-template-columns: 120px minmax(180px, .8fr) minmax(240px, 1.4fr) 24px;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  color: #111827;
}

.customer-blog-index-item + .customer-blog-index-item { border-top: 1px solid #e5e7eb; }
.customer-blog-index-item time,
.customer-blog-index-item span { color: #6b7280; }
.customer-blog-index-item i { font-size: 20px; }

.customer-blog-lead .customer-blog-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
}

.customer-blog-lead .customer-blog-card .shoper-entry-media {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 430px;
  margin-bottom: 0;
}

.customer-blog-lead .customer-blog-card .shoper-entry-wrapper {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
}

.customer-blog-lead .customer-blog-card .shoper-entry-title { font-size: 30px; }

.customer-blog-chronological-stream {
  display: grid;
  grid-template-columns: repeat(var(--customer-blog-columns), minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.customer-blog-chronological-stream .customer-blog-card {
  display: flex;
  flex-direction: column;
}

.customer-vehicle-guide {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 28px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f7f8fa;
}

.customer-vehicle-guide__intro p {
  max-width: 48ch;
  margin: 10px 0 0;
  color: #6b7280;
}

.customer-vehicle-guide__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.customer-vehicle-guide__filters label > span {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
}

.customer-vehicle-guide__filters select,
.customer-vehicle-guide__filters button {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe1e8;
  border-radius: 6px;
  background: #fff;
  color: #111827;
}

.customer-vehicle-guide__filters button {
  display: flex;
  grid-column: span 2;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-color: #111827;
  background: #111827;
  color: #fff;
  font-weight: 700;
}

.customer-vehicle-guide__filters > a {
  align-self: center;
  color: #111827;
  text-align: center;
  text-decoration: underline;
}

.customer-blog-vehicle-results {
  display: grid;
  grid-template-columns: repeat(var(--customer-blog-columns), minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.customer-blog-vehicle-results .customer-blog-card {
  display: flex;
  flex-direction: column;
}

.customer-blog-layout .customer-blog-empty-state { grid-column: 1 / -1; }

@media (max-width: 1199px) {
  .customer-blog-layout { --customer-blog-columns: 2; }
  .customer-blog-lead .customer-blog-card { grid-template-columns: 1fr 1fr; }
  .customer-vehicle-guide { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .customer-blog-layout { --customer-blog-columns: 1; --customer-blog-gap: 16px; }
  .customer-blog-classic-stream .customer-blog-card,
  .customer-blog-lead .customer-blog-card { grid-template-columns: 1fr; }
  .customer-blog-classic-stream .customer-blog-card .shoper-entry-media,
  .customer-blog-lead .customer-blog-card .shoper-entry-media { min-height: 0; aspect-ratio: 16 / 9; }
  .customer-blog-lead .customer-blog-card .shoper-entry-wrapper { padding: 20px; }
  .customer-blog-lead .customer-blog-card .shoper-entry-title { font-size: 22px; }
  .customer-blog-section-heading { align-items: center; }
  .customer-blog-row-controls a { display: none; }
  .customer-blog-index-item {
    grid-template-columns: 1fr 24px;
    gap: 6px 12px;
  }
  .customer-blog-index-item time,
  .customer-blog-index-item span { grid-column: 1; }
  .customer-blog-index-item i { grid-column: 2; grid-row: 1 / span 3; }
  .customer-blog-chronological-stream,
  .customer-blog-vehicle-results { grid-template-columns: 1fr; }
  .customer-vehicle-guide { padding: 20px; }
  .customer-vehicle-guide__filters { grid-template-columns: 1fr; }
  .customer-vehicle-guide__filters button { grid-column: auto; }
}

/* Customer dashboard system: shared standalone shell, topbar and operational overview. */
body[data-customer-dashboard="true"] {
  --customer-dashboard-page-padding: var(--bb-page-padding, 1.5rem);
  --customer-account-shell-inline-gutter: 1rem;
  --customer-account-topbar-height: 4.5rem;
  --customer-account-sidebar-compact-width: 4.5rem;
  --customer-account-control-height: 2.625rem;
  --customer-account-control-radius: 0.4375rem;
  --customer-account-status-radius: 0.375rem;
  --customer-account-responsive-title-size: 1.125rem;
  --customer-account-text: #17191c;
  --customer-account-text-muted: #6f7986;
  --customer-account-accent-rgb: 152, 95, 253;
  --customer-account-accent: rgb(var(--customer-account-accent-rgb));
  --customer-account-accent-soft: rgba(var(--customer-account-accent-rgb), 0.06);
  --customer-account-accent-border: rgba(var(--customer-account-accent-rgb), 0.18);
  --customer-account-accent-strong-border: rgba(var(--customer-account-accent-rgb), 0.34);
  --customer-account-border: #dfe3e8;
  --customer-account-surface: #fff;
  --customer-account-surface-muted: #f4f6f8;
  --customer-account-chrome-surface: #f8f8f7;
  --customer-account-page-surface: #fff;
  min-height: 100vh;
  background: var(--customer-account-page-surface) !important;
}

/* The storefront chrome remains around the account page, but its mobile
 * bottom navigation belongs to storefront browsing and must not enter the
 * customer dashboard shell. */
body[data-customer-dashboard="true"] #tp-bottom-menu-sticky,
body[data-customer-dashboard="true"] .mobile-bottom-menu {
  display: none !important;
}

body[data-customer-dashboard="true"] #page,
body[data-customer-dashboard="true"] .customer-customer-dashboard-main,
body[data-customer-dashboard="true"] .customer-customer-dashboard-main > .shoper-site-content {
  min-height: 100vh;
  background: var(--customer-account-page-surface) !important;
}

body[data-customer-dashboard="true"] #admin_bar {
  display: none;
}

body.show-admin-bar[data-customer-dashboard="true"] {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.customer-account-topbar {
  position: sticky;
  z-index: 1010;
  top: 0;
  /* No offset: the -page-padding pull only hid the empty line a byte-order mark printed above the topbar. */
  margin-top: 0;
  min-height: var(--customer-account-topbar-height);
  background: var(--customer-account-chrome-surface);
  border-bottom: 1px solid #dfe3e8;
  box-shadow: 0 0.25rem 1rem rgba(23, 25, 28, 0.04);
}

.customer-account-topbar__inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--customer-account-topbar-height);
  margin-inline: auto;
  padding-inline: 1rem;
}

.customer-account-topbar button,
.customer-account-topbar a,
.customer-account-topbar summary {
  letter-spacing: 0;
}

.customer-account-topbar__menu,
.customer-account-topbar__icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  padding: 0;
  color: #17191c;
  background: #f4f6f8;
  border: 1px solid #e1e5e9;
  border-radius: 0.4375rem;
}

.customer-account-topbar__menu {
  margin-right: 0.875rem;
  cursor: pointer;
}

.customer-account-topbar__menu:hover,
.customer-account-topbar__menu:focus-visible,
.customer-account-topbar__icon-action:hover,
.customer-account-topbar__icon-action:focus-visible {
  color: #fff;
  background: var(--customer-account-accent);
  border-color: var(--customer-account-accent);
}

html:root body[data-customer-dashboard="true"] .customer-account-topbar__menu:hover,
html:root body[data-customer-dashboard="true"] .customer-account-topbar__menu:focus-visible,
html:root body[data-customer-dashboard="true"] .customer-account-topbar__menu.is-active,
html:root body[data-customer-dashboard="true"] .customer-account-topbar__menu[aria-expanded="true"],
html:root body[data-customer-dashboard="true"] .customer-account-topbar__icon-action:hover,
html:root body[data-customer-dashboard="true"] .customer-account-topbar__icon-action:focus-visible {
  color: #fff !important;
  background: var(--customer-account-accent) !important;
  border-color: var(--customer-account-accent) !important;
}

.customer-account-topbar__menu svg {
  width: 1.1875rem;
  height: 1.1875rem;
}

.customer-account-topbar__icon-action svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-account-topbar__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #17191c;
  text-decoration: none;
}

.customer-account-topbar__brand img {
  width: 7.75rem;
  height: auto;
}

.customer-account-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.customer-account-topbar__website {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.625rem 0.75rem;
  color: #17191c;
  text-decoration: none;
  background: #f8f8f7;
  border: 1px solid #d7dce2;
  border-radius: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-account-topbar__website:hover,
.customer-account-topbar__website:focus-visible {
  color: #fff;
  background: var(--customer-account-accent);
  border-color: var(--customer-account-accent);
}

.customer-account-topbar__website svg {
  width: 1.25rem;
  height: 1.25rem;
}

.customer-account-topbar__profile {
  position: relative;
  margin-left: 0.25rem;
}

.customer-account-topbar__profile > summary {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, auto) 1rem;
  gap: 0.625rem;
  align-items: center;
  min-height: 3rem;
  padding: 0.25rem 0.5rem 0.25rem 0.25rem;
  cursor: pointer;
  list-style: none;
  border-radius: 0.4375rem;
}

.customer-account-topbar__profile > summary::-webkit-details-marker {
  display: none;
}

.customer-account-topbar__profile > summary:hover,
.customer-account-topbar__profile > summary:focus-visible,
.customer-account-topbar__profile[open] > summary {
  background: #f4f6f8;
}

.customer-account-topbar__profile > summary > svg {
  width: 1rem;
  height: 1rem;
  color: #717b87;
  transition: transform 160ms ease;
}

.customer-account-topbar__profile[open] > summary > svg {
  transform: rotate(180deg);
}

.customer-account-topbar__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-radius: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-account-topbar__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-account-topbar__identity {
  min-width: 0;
  max-width: 12rem;
}

.customer-account-topbar__identity strong,
.customer-account-topbar__identity small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-account-topbar__identity strong {
  color: #17191c;
  font-size: 0.75rem;
}

.customer-account-topbar__identity small {
  margin-top: 0.125rem;
  color: #7a8491;
  font-size: 0.625rem;
}

.customer-account-topbar__profile-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  width: 13.5rem;
  padding: 0.375rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.75rem 2rem rgba(23, 25, 28, 0.12);
}

.customer-account-topbar__profile-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.5rem;
  padding: 0.625rem 0.75rem;
  color: #17191c;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-account-topbar__profile-menu a:hover,
.customer-account-topbar__profile-menu a:focus-visible {
  background: #f2f4f6;
}

.customer-account-topbar__profile-menu a.is-logout {
  margin-top: 0.25rem;
  color: #d92d3e;
  border-top: 1px solid #e5e8ec;
  border-radius: 0 0 0.375rem 0.375rem;
}

.customer-account-topbar__profile-menu svg {
  width: 1rem;
  height: 1rem;
}

.shoper-account-page {
  padding: 2rem 0 4rem;
  background: var(--customer-account-page-surface) !important;
}

.customer-account-shell {
  margin-top: 0;
  padding-block: 0 calc(var(--customer-dashboard-page-padding) * 2);
  background: var(--customer-account-page-surface) !important;
}

.customer-account-shell > .container {
  width: 100%;
  max-width: none;
  padding-inline: 1rem;
}

.shoper-account-page .my-account-inner {
  display: grid;
  grid-template-columns: minmax(16rem, 17.5rem) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  min-height: 38rem;
  transition: grid-template-columns 160ms ease;
}

.customer-account-shell .my-account-inner {
  padding-top: 0;
}

body[data-customer-dashboard="true"] .customer-account-navigation-backdrop {
  display: none;
}

.shoper-account-page .my-account-navigation {
  align-self: start;
  position: sticky;
  top: var(--customer-account-topbar-height);
  margin-inline-start: calc(var(--customer-account-shell-inline-gutter) * -1);
  min-height: calc(100vh - var(--customer-account-topbar-height));
  background: var(--customer-account-chrome-surface) !important;
  border-top: 0;
  border-color: #dfe3e8;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.shoper-account-page .shoper-MyAccount-navigation {
  padding: 0;
}

.customer-account-profile {
  display: none;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 1.125rem;
  border-bottom: 1px solid #e5e8ec;
}

.customer-account-profile__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-radius: 0.4375rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.customer-account-profile__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customer-account-profile__identity {
  min-width: 0;
}

.customer-account-profile__identity span,
.customer-account-profile__identity strong,
.customer-account-profile__identity small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-account-profile__identity span {
  color: #7a8491;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.customer-account-profile__identity strong {
  margin-top: 0.125rem;
  color: #17191c;
  font-size: 0.875rem;
}

.customer-account-profile__identity small {
  margin-top: 0.125rem;
  color: #7a8491;
  font-size: 0.6875rem;
}

.shoper-account-page .shoper-MyAccount-navigation li + li {
  border-top: 0;
}

.shoper-account-page .shoper-MyAccount-navigation ul {
  padding: 0.625rem;
}

.customer-account-priority {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem 0.625rem 0.625rem;
  border-bottom: 1px solid var(--customer-account-border);
}

.customer-account-primary-navigation {
  margin: 0;
  padding: 1.125rem 0.625rem 0.375rem;
  list-style: none;
}

.customer-account-primary-navigation > li > a {
  display: flex;
}

.customer-account-priority-card {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.5rem;
  align-items: center;
  min-height: 3.375rem;
  padding: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
}

.shoper-account-page .shoper-MyAccount-navigation .customer-account-card {
  border-radius: var(--customer-account-control-radius);
}

.shoper-account-page .shoper-MyAccount-navigation .customer-account-card--interactive.is-active {
  color: var(--customer-account-accent);
}

.customer-account-priority-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  box-sizing: border-box;
  color: #596371;
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 0.375rem;
}

.customer-account-priority-card__icon svg {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.customer-account-priority-card.is-active .customer-account-priority-card__icon {
  color: var(--customer-account-accent);
  background: #fff;
  border-color: var(--customer-account-accent-border);
}

.customer-account-secondary-navigation {
  padding: 0.25rem 0.625rem 0.625rem;
}

.customer-account-navigation-group + .customer-account-navigation-group {
  margin-top: 0.375rem;
  padding-top: 0.375rem;
  border-top: 1px solid #edf0f2;
}

.customer-account-navigation-group > h2 {
  margin: 0;
  padding: 0.375rem 0.75rem 0.25rem;
  color: #8a939f;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.shoper-account-page .customer-account-navigation-group ul {
  padding: 0;
}

.shoper-account-page .shoper-MyAccount-navigation a {
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.shoper-account-page .customer-account-secondary-navigation .shoper-MyAccount-navigation-link > a {
  display: flex;
  align-items: center;
  min-height: 2.875rem;
  padding-block: 0.6875rem;
  color: #252b36;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.shoper-account-page .shoper-MyAccount-navigation a > svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  color: #8a939f;
}

.shoper-account-page .customer-account-secondary-navigation .shoper-MyAccount-navigation-link > a > svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-basis: 1.25rem;
}

.shoper-account-page .shoper-MyAccount-navigation a > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shoper-account-page .customer-account-priority .customer-account-priority-card > span:nth-child(2) {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.shoper-account-page #customer-account-navigation .shoper-MyAccount-navigation .shoper-MyAccount-navigation-link.is-active > a,
.shoper-account-page #customer-account-navigation .shoper-MyAccount-navigation .customer-account-card--interactive.is-active,
.shoper-account-page .shoper-MyAccount-navigation li.is-active a {
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-border);
}

.shoper-account-page #customer-account-navigation .shoper-MyAccount-navigation .shoper-MyAccount-navigation-link.is-active > a > svg,
.shoper-account-page #customer-account-navigation .shoper-MyAccount-navigation .customer-account-card--interactive.is-active svg,
.shoper-account-page .shoper-MyAccount-navigation li.is-active a > svg {
  color: var(--customer-account-accent);
  stroke-width: 2;
}

.shoper-account-page #customer-account-navigation .customer-account-priority-card.is-active .customer-account-priority-card__icon svg {
  color: var(--customer-account-accent);
}

.shoper-account-page #customer-account-navigation .customer-account-secondary-navigation .shoper-MyAccount-navigation-link > a {
  color: #252b36;
}

.shoper-account-page .shoper-MyAccount-navigation a:hover,
.shoper-account-page .shoper-MyAccount-navigation a:focus-visible {
  color: #17191c;
  background: #eef1f4;
}

.shoper-account-page .shoper-MyAccount-navigation li.is-active a:hover,
.shoper-account-page .shoper-MyAccount-navigation li.is-active a:focus-visible {
  color: var(--customer-account-accent);
  background: rgba(var(--customer-account-accent-rgb), 0.1);
}

.shoper-account-page .shoper-MyAccount-navigation li.is-active a:hover > svg,
.shoper-account-page .shoper-MyAccount-navigation li.is-active a:focus-visible > svg {
  color: var(--customer-account-accent);
}

.shoper-account-page .shoper-MyAccount-navigation li.is-logout {
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid #e5e8ec;
}

.customer-account-navigation__active-dot {
  display: none;
}

.customer-account-app-download {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin: auto 0.625rem 0.625rem;
  padding: 0.75rem;
  color: var(--customer-account-text);
  background: linear-gradient(135deg, rgba(var(--customer-account-accent-rgb), 0.1), rgba(var(--customer-account-accent-rgb), 0.035));
  border: 1px solid var(--customer-account-accent-border);
  border-radius: 0.4375rem;
}

.customer-account-app-download__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--customer-account-accent);
  background: #fff;
  border: 1px solid var(--customer-account-accent-border);
  border-radius: 0.375rem;
}

.customer-account-app-download__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.customer-account-app-download__content {
  min-width: 0;
}

.customer-account-app-download__content strong,
.customer-account-app-download__content span,
.customer-account-app-download__content small {
  display: block;
  letter-spacing: 0;
}

.customer-account-app-download__content strong {
  color: var(--customer-account-text);
  font-size: 0.8125rem;
  line-height: 1.25;
}

.customer-account-app-download__content span {
  margin-top: 0.25rem;
  color: var(--customer-account-text-muted);
  font-size: 0.6875rem;
  line-height: 1.35;
}

.customer-account-app-download__content small {
  margin-top: 0.375rem;
  color: var(--customer-account-text-muted);
  font-size: 0.625rem;
  line-height: 1.2;
}

.customer-account-app-download__qr {
  display: none;
  grid-column: 1 / -1;
  justify-self: center;
  box-sizing: border-box;
  width: 10rem;
  padding: 1rem;
  background: #fff;
  border-radius: 0.375rem;
}

.customer-account-app-download__qr img {
  display: block;
  width: 8rem;
  height: 8rem;
}

/* QR scanning belongs to the expanded desktop sidebar; phones keep the download action. */
@media (min-width: 1200px) {
  .customer-account-app-download__qr {
    display: block;
  }
}

.shoper-account-page .customer-account-app-download__action {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.375rem;
  padding: 0.5rem 0.75rem;
  color: var(--customer-account-accent);
  background: #fff;
  border: 1px solid var(--customer-account-accent-border);
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.shoper-account-page .customer-account-app-download__action:hover,
.shoper-account-page .customer-account-app-download__action:focus-visible {
  color: #fff;
  background: var(--customer-account-accent);
  border-color: var(--customer-account-accent);
}

.customer-account-app-download__action svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.shoper-account-page .shoper-MyAccount-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.shoper-account-page .my-account-content {
  width: 100%;
  margin: 0;
  padding: 0;
  border-top: 0;
}

.customer-account-content-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding: 1.25rem 1.375rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.375rem 1.25rem rgba(15, 23, 42, 0.025);
}

.customer-account-content-header > div:first-child {
  min-width: 0;
}

.customer-account-content-header > div:first-child > span,
.customer-account-welcome > div > span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--customer-account-accent);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-account-content-header h1 {
  margin: 0;
  color: #17191c;
  font-size: var(--customer-account-responsive-title-size);
  font-weight: 700;
  line-height: 1.3;
}

.customer-account-content-header p {
  max-width: 42rem;
  margin: 0.25rem 0 0;
  color: #6f7986;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.customer-account-content-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.625rem;
  flex: 0 0 auto;
  max-width: 100%;
}

.customer-account-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex: 0 0 auto;
  padding: 0.375rem 0.625rem;
  color: #147d61;
  background: #eaf8f3;
  border-radius: var(--customer-account-status-radius);
  font-size: 0.6875rem;
  font-weight: 700;
}

.customer-account-empty--viewport {
  gap: 0.75rem;
  min-height: min(28rem, calc(100dvh - var(--customer-account-topbar-height) - 7rem));
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background:
    linear-gradient(180deg, #fff 0%, #fff 58%, #f8fafc 100%);
  border-color: #dfe3e8;
}

.customer-account-empty--viewport h2 {
  margin: 0;
  color: #17191c;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.25;
}

.customer-account-empty--viewport p {
  margin: 0;
  color: #6f7986;
  font-size: 0.875rem;
  line-height: 1.55;
}

.customer-account-empty--viewport .btn {
  margin-top: 0.5rem;
}

.customer-account-empty__hero-icon {
  width: 4.75rem;
  height: 4.75rem;
  margin-bottom: 0.25rem;
  color: #6f7986;
  background: #f4f6f8;
  border: 1px solid #e1e5e9;
  border-radius: 0.75rem;
}

.customer-account-empty__hero-icon svg {
  width: 2.25rem;
  height: 2.25rem;
  stroke-width: 1.6;
}

.customer-account-status-badge svg {
  width: 0.875rem;
  height: 0.875rem;
}

.shoper-account-dashboard {
  display: grid;
  gap: 1rem;
}

.customer-account-welcome {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 7rem;
  overflow: hidden;
  padding: 1.375rem 1.5rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.04);
}

.customer-account-welcome::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.25rem;
  content: "";
  background: var(--customer-account-brand, #635bff);
}

.customer-account-welcome h2 {
  margin: 0;
  color: #09142f;
  font-size: 1.375rem;
  font-weight: 700;
}

.customer-account-welcome p {
  margin: 0.25rem 0 0;
  max-width: 44rem;
  color: #667085;
  font-size: 0.875rem;
  line-height: 1.55;
}

.customer-account-welcome .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  margin: 0;
}

.customer-account-welcome .button svg {
  width: 1rem;
  height: 1rem;
}

.shoper-account-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
}

.shoper-account-metrics a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  gap: 0.125rem 0.75rem;
  min-height: 7.25rem;
  overflow: hidden;
  padding: 1rem 1rem 1rem 1.125rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.375rem 1rem rgba(15, 23, 42, 0.035);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.shoper-account-metrics a::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.1875rem;
  content: "";
  background: #635bff;
}

.shoper-account-metrics .customer-account-metric--offers::before {
  background: #f43f9a;
}

.shoper-account-metrics .customer-account-metric--wishlist::before {
  background: #22c55e;
}

.shoper-account-metrics .customer-account-metric--reviews::before {
  background: #f59e0b;
}

.shoper-account-metrics a:hover,
.shoper-account-metrics a:focus-visible {
  border-color: #9da5af;
  box-shadow: 0 0.375rem 1rem rgba(23, 25, 28, 0.06);
  transform: translateY(-1px);
}

.customer-account-metric__icon {
  display: inline-flex;
  grid-column: 2;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  color: #596371;
  background: #f2f4f6;
  border-radius: 0.375rem;
}

.customer-account-metric__icon svg {
  width: 1.375rem;
  height: 1.375rem;
}

.shoper-account-metrics .customer-account-metric--orders .customer-account-metric__icon {
  color: #635bff;
  background: #efedff;
}

.shoper-account-metrics .customer-account-metric--offers .customer-account-metric__icon {
  color: #db2777;
  background: #fdf2f8;
}

.shoper-account-metrics .customer-account-metric--wishlist .customer-account-metric__icon {
  color: #16a34a;
  background: #dcfce7;
}

.shoper-account-metrics .customer-account-metric--reviews .customer-account-metric__icon {
  color: #d97706;
  background: #fffbeb;
}

.customer-account-metric--orders:hover .customer-account-metric__icon,
.customer-account-metric--orders:focus-visible .customer-account-metric__icon {
  color: #2563eb;
  background: #eff6ff;
}

.customer-account-metric--offers:hover .customer-account-metric__icon,
.customer-account-metric--offers:focus-visible .customer-account-metric__icon {
  color: var(--erp-primary);
  background: #fff1f2;
}

.customer-account-metric--wishlist:hover .customer-account-metric__icon,
.customer-account-metric--wishlist:focus-visible .customer-account-metric__icon {
  color: #db2777;
  background: #fdf2f8;
}

.customer-account-metric--reviews:hover .customer-account-metric__icon,
.customer-account-metric--reviews:focus-visible .customer-account-metric__icon {
  color: #d97706;
  background: #fffbeb;
}

.customer-account-metric__label {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  min-height: 2rem;
  color: #667085;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.shoper-account-metrics > a > strong {
  display: flex;
  grid-column: 1 / -1;
  grid-row: 2;
  align-items: flex-end;
  min-height: 2.25rem;
  margin-top: 0.25rem;
  color: #09142f;
  font-size: 1.625rem;
  font-weight: 700;
}

.shoper-account-metrics small {
  grid-column: 1 / -1;
  grid-row: 3;
  color: #7a8491;
  font-size: 0.75rem;
}

.customer-account-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(15rem, 1fr);
  gap: 1rem;
}

.customer-account-panel,
.customer-account-quick-actions {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.375rem 1.25rem rgba(15, 23, 42, 0.035);
}

.customer-account-panel > .customer-account-panel__head:first-child {
  margin: -1.25rem -1.25rem 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e8ebef;
}

.customer-account-panel__head--inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.customer-text-link {
  color: #667085;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.customer-text-link:hover,
.customer-text-link:focus-visible {
  color: #09142f;
}

.customer-account-order-summary-list {
  display: grid;
}

.customer-account-order-summary-list > a {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto 1rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 4rem;
  padding: 0.75rem 0;
  color: #09142f;
  text-decoration: none;
  border-top: 1px solid #e8ebef;
}

.customer-account-order-summary-list > a:hover,
.customer-account-order-summary-list > a:focus-visible {
  background: #f8fafc;
}

.customer-account-order-summary__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--customer-account-brand, #635bff);
  background: #efedff;
  border-radius: 0.375rem;
}

.customer-account-order-summary__icon svg,
.customer-account-order-summary-list > a > svg {
  width: 1rem;
  height: 1rem;
}

.customer-account-order-summary-list strong,
.customer-account-order-summary-list small {
  display: block;
}

.customer-account-order-summary-list strong {
  font-size: 0.875rem;
  font-weight: 700;
}

.customer-account-order-summary-list small {
  color: #7a8491;
  font-size: 0.75rem;
}

.customer-account-order-summary__total {
  color: #09142f;
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
}

.customer-account-empty--compact {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem;
  background: #f8fafc;
  border: 0;
  border-radius: 0.4375rem;
}

.customer-account-empty--compact h3 {
  margin: 0;
  color: #09142f;
  font-size: 0.9375rem;
  font-weight: 700;
}

.customer-account-empty--compact p {
  margin: 0.25rem 0 0;
  color: #667085;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.customer-account-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  color: #596371;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
}

.customer-account-empty__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-account-finder {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8ebef;
}

.customer-account-finder__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.customer-account-finder__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  color: #596371;
  background: #f2f4f6;
  border-radius: 0.4375rem;
}

.customer-account-finder__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-account-finder__head h3,
.customer-account-finder__head p {
  margin: 0;
}

.customer-account-finder__head h3 {
  color: #17191c;
  font-size: 0.875rem;
  font-weight: 700;
}

.customer-account-finder__head p {
  margin-top: 0.2rem;
  color: #78828e;
  font-size: 0.75rem;
  line-height: 1.45;
}

.customer-account-panel .customer-account-finder__form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-account-finder__vehicle {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  min-width: 0;
  margin: 0;
  padding: 0.625rem;
  background: #f5f6f8;
  border-radius: var(--customer-account-card-radius);
}

.customer-account-finder__vehicle[hidden] {
  display: none;
}

.customer-account-finder__vehicle img {
  display: block;
  width: 100%;
  aspect-ratio: 19 / 10;
  object-fit: cover;
  background: #e8ebef;
  border-radius: var(--customer-account-control-radius);
}

.customer-account-finder__vehicle figcaption {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.customer-account-finder__vehicle figcaption span {
  color: #78828e;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.customer-account-finder__vehicle figcaption strong {
  overflow-wrap: anywhere;
  color: #17191c;
  font-size: 0.875rem;
  line-height: 1.35;
}

.customer-account-finder__field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
  margin: 0;
}

/* The label only: select2 renders its container as another span inside the same label. */
.customer-account-finder__field > .customer-account-finder__label {
  color: #596371;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-account-finder__field select,
.customer-account-finder__field .select2-container .select2-selection--single {
  width: 100%;
  min-height: var(--customer-account-control-height);
  height: var(--customer-account-control-height);
  color: #17191c;
  background: #fff;
  border: 1px solid #d9dee6;
  border-radius: var(--customer-account-control-radius);
  box-shadow: none;
}

.customer-account-finder__field .select2-container {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

.customer-account-finder__field .select2-container .select2-selection--single {
  box-sizing: border-box;
}

.customer-account-finder__field .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 2.25rem 0 0.75rem;
  color: #17191c;
  font-size: 0.75rem;
  line-height: 1.2;
}

.customer-account-finder__field .select2 .select2-selection.select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 0.5rem;
  transform: none;
}

.customer-account-finder__field .select2-container--focus .select2-selection--single,
.customer-account-finder__field .select2-container--open .select2-selection--single {
  border-color: #9da5af;
  outline: 0;
  box-shadow: none;
}

.customer-account-finder__status {
  align-self: center;
  grid-column: 1 / span 3;
  grid-row: 2;
  min-height: 1.25rem;
  margin: 0;
  color: #78828e;
  font-size: 0.6875rem;
  line-height: 1.35;
}

.customer-account-finder__status:empty {
  min-height: 0;
}

.customer-account-finder__status[data-state="error"] {
  color: #c93645;
}

.customer-account-finder__action-row {
  display: contents;
}

.customer-account-finder__submit {
  grid-column: 4;
  grid-row: 2;
  width: 100%;
  justify-content: center;
  padding-inline: 0.625rem;
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .customer-account-panel .customer-account-finder__form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-account-finder__field .select2 .select2-selection--single .select2-selection__rendered {
    font-size: 12px;
  }

  .customer-account-finder__label.bb-customer-vehicle-finder__label {
    display: none;
  }

  .customer-account-finder__action-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 0.75rem;
    min-width: 0;
    order: 1;
  }

  .customer-account-finder__submit {
    width: max-content;
    max-width: 100%;
  }

  .customer-account-finder__status {
    grid-column: 1 / -1;
    grid-row: auto;
    order: 2;
    white-space: nowrap;
  }

  .customer-account-finder__submit {
    grid-column: auto;
    grid-row: auto;
  }
}

.customer-account-readiness {
  position: relative;
}

.customer-account-progress {
  height: 0.375rem;
  overflow: hidden;
  margin: 0.25rem 0 0.75rem;
  background: #e9edf1;
  border-radius: 999px;
}

.customer-account-progress > div {
  width: var(--customer-account-progress);
  height: 100%;
  background: #16a67a;
  border-radius: inherit;
}

.customer-account-readiness__value {
  display: block;
  color: #09142f;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.customer-account-readiness > p {
  margin: 0.625rem 0 1rem;
  color: #6f7986;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.customer-account-readiness .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.customer-account-readiness .button svg {
  width: 1rem;
  height: 1rem;
}

.customer-account-quick-actions {
  padding: 1.25rem;
}

.customer-account-quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-account-quick-actions__grid > a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 1rem;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.25rem;
  padding: 0.75rem 0.875rem;
  color: #09142f;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #edf0f2;
  border-radius: 0.375rem;
}

.customer-account-quick-actions__grid > a:hover,
.customer-account-quick-actions__grid > a:focus-visible {
  background: #fff;
  border-color: #9da5af;
}

.customer-account-quick-actions__grid > a > svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  color: #596371;
}

.customer-account-quick-actions__grid > a > svg:first-child {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.625rem;
  color: var(--customer-account-brand, #635bff);
  background: var(--customer-account-brand-soft, #efedff);
  border-radius: 0.375rem;
}

.customer-account-quick-actions__grid strong,
.customer-account-quick-actions__grid small {
  display: block;
}

.customer-account-quick-actions__grid strong {
  font-size: 0.875rem;
  font-weight: 700;
}

.customer-account-quick-actions__grid small {
  margin-top: 0.125rem;
  color: #7a8491;
  font-size: 0.75rem;
}

/* Customer account data surfaces share one restrained status and card system. */
.customer-account-status,
.shoper-account-page .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 1.5rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--customer-account-status-radius);
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  text-transform: none;
}

.customer-account-status--success,
.shoper-account-page .badge.bg-success {
  color: #17624d !important;
  background: #eaf6f1 !important;
  border-color: #cde9de !important;
}

.customer-account-status--warning,
.shoper-account-page .badge.bg-warning {
  color: #73561d !important;
  background: #fbf4df !important;
  border-color: #eee0b7 !important;
}

.customer-account-status--info,
.shoper-account-page .badge.bg-info,
.shoper-account-page .badge.bg-primary {
  color: var(--customer-account-accent) !important;
  background: var(--customer-account-accent-soft) !important;
  border-color: var(--customer-account-accent-border) !important;
}

.customer-account-status--danger,
.shoper-account-page .badge.bg-danger {
  color: #8a3540 !important;
  background: #f9ecee !important;
  border-color: #efcfd4 !important;
}

.customer-account-status--neutral,
.shoper-account-page .badge.bg-secondary {
  color: #515b67 !important;
  background: #f0f2f4 !important;
  border-color: #dfe3e8 !important;
}

.shoper-account-page .badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.customer-account-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-account-metrics-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-account-metrics-grid > article {
  display: grid;
  gap: 0.25rem;
  min-height: 7rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
}

.customer-account-metrics-grid span,
.customer-account-metrics-grid small {
  color: #78828e;
  font-size: 0.6875rem;
}

.customer-account-metrics-grid strong {
  align-self: end;
  color: #17191c;
  font-size: 1.25rem;
  font-weight: 700;
}

.customer-account-plan-selector {
  display: grid;
  gap: 1rem;
}

.customer-account-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-account-plan-option {
  display: flex;
  min-width: 0;
  min-height: 12rem;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background: #f6f7f8;
  border: 1px solid #e1e5e9;
  border-radius: 0.4375rem;
}

.customer-account-plan-option.is-selected {
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-strong-border);
}

.customer-account-plan-option > div > span,
.customer-account-plan-option > div > p,
.customer-account-plan-option > strong small {
  color: #78828e;
  font-size: 0.75rem;
}

.customer-account-plan-option h3,
.customer-account-plan-option p {
  margin: 0;
}

.customer-account-plan-option h3 {
  margin-top: 0.25rem;
  color: #17191c;
  font-size: 1rem;
  font-weight: 700;
}

.customer-account-plan-option > strong {
  color: #17191c;
  font-size: 1.25rem;
}

.customer-account-plan-option form {
  margin-top: auto;
}

.customer-account-plan-option .btn {
  width: 100%;
}

.customer-account-plan-option .btn:disabled {
  color: #fff;
  background: var(--customer-account-accent);
  border-color: var(--customer-account-accent);
  opacity: 1;
}

.customer-account-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  gap: 1rem;
}

.customer-account-loyalty-layout,
.customer-account-gift-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: stretch;
}

.customer-account-gift-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
}

.customer-account-membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 20rem;
  padding: 1.25rem;
  overflow: hidden;
  color: #17191c;
  background: linear-gradient(135deg, #fff 0%, #fbfaff 100%);
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  box-shadow: 0 0.375rem 1.25rem rgba(15, 23, 42, 0.035);
}

.customer-account-membership-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.1875rem;
  background: linear-gradient(90deg, var(--customer-account-accent) 0%, #f43fba 54%, #26bf94 100%);
}

.customer-account-membership-card__head,
.customer-account-membership-card__body,
.customer-account-card__head--inline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.customer-account-membership-card__head > div > span,
.customer-account-membership-card__head > div > strong {
  display: block;
}

.customer-account-membership-card__head > div > span {
  color: #78828e;
  font-size: 0.6875rem;
  text-transform: uppercase;
}

.customer-account-membership-card__head > div > strong {
  margin-top: 0.2rem;
  font-size: 1.125rem;
}

.customer-account-membership-card__body {
  align-items: end;
  margin-top: auto;
  padding-top: 1.5rem;
}

.customer-account-membership-card__balance {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.75rem;
}

.customer-account-membership-card__balance small,
.customer-account-membership-card__balance span {
  color: #78828e;
  font-size: 0.75rem;
}

.customer-account-membership-card__balance strong {
  color: #17191c;
  font-size: 2rem;
  line-height: 1.15;
}

.customer-account-membership-card dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin: 0;
}

.customer-account-membership-card dt {
  color: #78828e;
  font-size: 0.6875rem;
}

.customer-account-membership-card dd {
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
}

.customer-account-membership-card__qr {
  width: 5rem;
  height: 5rem;
  flex: 0 0 5rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 0.375rem;
}

.customer-account-membership-card__qr svg {
  width: 100%;
  height: 100%;
}

.customer-account-rewards-panel {
  display: flex;
  flex-direction: column;
}

.customer-account-rewards-panel__progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  color: #6f7986;
  font-size: 0.75rem;
}

.customer-account-rewards-panel__progress-copy strong {
  color: #17191c;
}

.customer-account-tier-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.customer-account-tier-list > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem;
  color: #6f7986;
  background: #f4f6f8;
  border: 1px solid #e8ebef;
  border-radius: 0.4375rem;
  font-size: 0.6875rem;
}

.customer-account-tier-list > div strong {
  color: #17191c;
  font-size: 0.75rem;
}

.customer-account-tier-list > div.is-current {
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-strong-border);
}

.customer-account-tier-list > div.is-current strong {
  color: #17191c;
}

.customer-account-reward-action {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e8ebef;
}

.customer-account-reward-action > div {
  display: grid;
  gap: 0.15rem;
}

.customer-account-reward-action > div span,
.customer-account-reward-action > div small,
.customer-account-reward-action > p {
  color: #6f7986;
  font-size: 0.75rem;
}

.customer-account-reward-action > div strong {
  color: #17191c;
  font-size: 0.875rem;
}

.customer-account-gift-list {
  display: grid;
  gap: 0.625rem;
}

.customer-account-gift-row {
  display: grid;
  grid-template-columns: 2.5rem minmax(10rem, 1.4fr) minmax(7rem, 0.8fr) minmax(7rem, 0.8fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 0.75rem;
  background: #f7f8fa;
  border: 1px solid #e8ebef;
  border-radius: 0.4375rem;
}

.customer-account-gift-row__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #17191c;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
}

.customer-account-gift-row__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-account-gift-row__recipient,
.customer-account-gift-row__date,
.customer-account-gift-row__value {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.customer-account-gift-row small,
.customer-account-gift-row__recipient span {
  color: #78828e;
  font-size: 0.6875rem;
}

.customer-account-gift-row strong {
  overflow: hidden;
  color: #17191c;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-account-gift-form {
  display: grid;
  gap: 0.875rem;
}

.customer-account-gift-amounts {
  margin: 0;
  padding: 0;
  border: 0;
}

.customer-account-gift-amounts legend,
.customer-account-field > span {
  margin-bottom: 0.4rem;
  color: #17191c;
  font-size: 0.75rem;
  font-weight: 700;
}

.customer-account-gift-amounts > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.customer-account-gift-amounts label {
  position: relative;
  margin: 0;
}

.customer-account-gift-amounts input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.customer-account-gift-amounts label > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  color: #17191c;
  background: #f4f6f8;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.customer-account-gift-amounts input:checked + span {
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-strong-border);
}

.customer-account-field {
  display: grid;
  gap: 0.25rem;
  margin: 0;
}

.customer-account-field input,
.customer-account-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
  background: #fff;
  border: 1px solid #d9dee6;
  border-radius: 0.4375rem;
}

.customer-account-field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.customer-account-field small {
  color: #78828e;
  font-size: 0.6875rem;
}

.customer-account-gift-form > .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  margin: 0;
}

.customer-account-gift-form > .button svg {
  width: 1rem;
  height: 1rem;
}

.customer-account-row-list {
  display: grid;
}

.customer-account-row-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.5rem;
  border-top: 1px solid #e8ebef;
  font-size: 0.75rem;
}

.customer-account-muted {
  margin: 0.75rem 0 0;
  color: #6f7986;
  font-size: 0.75rem;
  line-height: 1.5;
}

.customer-account-notice {
  padding: 0.75rem 1rem;
  color: #285a73;
  background: #eaf3f7;
  border: 1px solid #cfe2eb;
  border-radius: 0.4375rem;
  font-size: 0.8125rem;
}

.customer-account-notice--success {
  color: #17624d;
  background: #eaf6f1;
  border-color: #cde9de;
}

.customer-account-notice--danger {
  color: #8a3540;
  background: #f9ecee;
  border-color: #efcfd4;
}

.customer-account-inline-form {
  display: grid !important;
  grid-template-columns: minmax(7rem, 1fr) minmax(10.5rem, auto);
  gap: 0.75rem !important;
  align-items: end;
}

.customer-account-inline-form label,
.customer-account-inline-form label > span {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.customer-account-inline-form input {
  min-height: 2.75rem;
  padding: 0.625rem 0.75rem;
}

.customer-account-inline-form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 10.5rem;
  padding-inline: 1rem;
  margin: 0;
  white-space: nowrap;
}

.customer-account-table {
  width: 100%;
  border-collapse: collapse;
}

.customer-account-table th,
.customer-account-table td {
  padding: 0.75rem;
  border-top: 1px solid #e8ebef;
  text-align: left;
  font-size: 0.75rem;
}

.customer-account-table th:last-child,
.customer-account-table td:last-child {
  text-align: right;
}

.customer-account-table .is-positive { color: #17624d; font-weight: 700; }
.customer-account-table .is-negative { color: #8a3540; font-weight: 700; }

/* Older ecommerce/customer plugin views still emit Botble/Bootstrap account
   markup. Inside the Core customer shell, normalize those surfaces to the same
   Vyzor contract instead of letting each page keep a different visual system. */
.shoper-account-page .bb-customer-content-wrapper,
.shoper-account-page .customer-list-order,
.shoper-account-page .bb-customer-card-list,
.shoper-account-page .order-return-cards,
.shoper-account-page .product-reviews-cards {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.shoper-account-page .bb-customer-content-wrapper {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.shoper-account-page .bb-customer-card {
  min-width: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e5e8ec;
  border-radius: 0.4375rem;
  box-shadow: none;
}

.shoper-account-page .bb-customer-card-header,
.shoper-account-page .bb-customer-card-footer {
  padding: 0;
  background: transparent;
  border: 0;
}

.shoper-account-page .bb-customer-card-header {
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid #e8ebef;
}

.shoper-account-page .bb-customer-card-body {
  padding: 0;
}

.shoper-account-page .bb-customer-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e8ebef;
}

.shoper-account-page .bb-customer-card-title,
.shoper-account-page .bb-customer-card-title h3,
.shoper-account-page .bb-customer-card-title h4,
.shoper-account-page .bb-customer-card-name,
.shoper-account-page .bb-customer-card-name a {
  margin: 0;
  color: #09142f;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.shoper-account-page .bb-customer-card-meta,
.shoper-account-page .bb-customer-card-meta span,
.shoper-account-page .bb-customer-card-details p,
.shoper-account-page .info-item .label {
  color: #667085;
  font-size: 0.75rem;
  line-height: 1.5;
}

.shoper-account-page .bb-customer-card-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.875rem;
  align-items: start;
  min-width: 0;
}

.shoper-account-page .bb-customer-card-image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  overflow: hidden;
  background: #f4f6f8;
  border: 1px solid #e8ebef;
  border-radius: 0.4375rem;
}

.shoper-account-page .bb-customer-card-image img,
.shoper-account-page .bb-customer-card-image .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shoper-account-page .bb-customer-card-info {
  display: grid;
  gap: 0.75rem;
}

.shoper-account-page .info-item {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.75rem;
  background: #f7f8fa;
  border: 1px solid #e8ebef;
  border-radius: 0.4375rem;
}

.shoper-account-page .info-item .value {
  color: #09142f;
  font-size: 0.8125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.shoper-account-page .tp-pagination,
.shoper-account-page .customer-account-pagination,
.shoper-account-page .pagination {
  margin-top: 1rem;
}

.customer-account-question-text,
.customer-account-review-summary p {
  margin: 0;
  color: #17191c;
  font-size: 0.875rem;
  line-height: 1.55;
}

.customer-account-answer-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.customer-account-answer-list > div {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.125rem 0.75rem;
  padding: 0.875rem;
  background: #f7f8fa;
  border-radius: 0.375rem;
}

.customer-account-answer-list__icon {
  display: inline-flex;
  grid-row: 1 / span 2;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #596371;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.375rem;
}

.customer-account-answer-list p { margin: 0; font-size: 0.8125rem; }
.customer-account-answer-list small { color: #78828e; font-size: 0.6875rem; }

.customer-account-review-summary {
  display: grid;
  gap: 0.5rem;
}

.customer-account-review-summary > span {
  color: #f3b51b;
  letter-spacing: 0.08em;
}

.customer-account-video-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #17191c;
  font-size: 0.75rem;
  text-decoration: underline;
}

.customer-account-video-link svg {
  width: 1rem;
  height: 1rem;
}

.customer-account-review-video {
  display: grid;
  flex: 0 0 100%;
  gap: 0.875rem;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  background: #f7f8fa;
  border: 1px solid #e8ebef;
  border-radius: 0.4375rem;
  scroll-margin-top: calc(var(--customer-account-topbar-height) + 1rem);
}

.customer-account-review-video__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.customer-account-review-video__head strong,
.customer-account-review-video__head span {
  display: block;
}

.customer-account-review-video__head strong {
  color: #17191c;
  font-size: 0.8125rem;
}

.customer-account-review-video__head > div > span {
  margin-top: 0.2rem;
  color: #78828e;
  font-size: 0.75rem;
}

.customer-account-review-video .customer-account-video-link,
.customer-account-review-video .customer-account-inline-form {
  margin-top: 0;
}

.customer-account-review-video .customer-account-inline-form label {
  margin: 0;
}

.customer-account-review-video .customer-account-video-link {
  min-width: 0;
}

.customer-account-review-video .customer-account-video-link span {
  overflow-wrap: anywhere;
}

.product-reviews-cards .bb-customer-card-content {
  flex-wrap: wrap;
}

.customer-account-card form {
  margin: 0;
}

@media (max-width: 991.98px) {
  .customer-account-metrics-grid,
  .customer-account-metrics-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-account-two-column {
    grid-template-columns: 1fr;
  }

  .customer-account-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-account-subscriptions .customer-account-metrics-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-account-subscriptions .customer-account-metrics-grid > article {
    min-width: 0;
    min-height: 6rem;
    padding: 0.75rem;
  }

  .customer-account-subscriptions .customer-account-metrics-grid strong {
    overflow-wrap: anywhere;
    font-size: clamp(0.75rem, 2.2vw, 1.125rem);
  }

  .customer-account-loyalty-layout,
  .customer-account-gift-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .customer-account-metrics-grid,
  .customer-account-metrics-grid--three,
  .customer-account-membership-card dl,
  .customer-account-definition-grid {
    grid-template-columns: 1fr;
  }

  .customer-account-order-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .customer-account-order-card > .customer-account-card__head {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .customer-account-order-card > .customer-account-definition-grid {
    display: contents;
  }

  .customer-account-order-card > .customer-account-definition-grid > div {
    min-width: 0;
  }

  .customer-account-order-card > .customer-account-definition-grid > div:nth-child(1) {
    grid-column: 1;
    grid-row: 3;
  }

  .customer-account-order-card > .customer-account-definition-grid > div:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .customer-account-order-card > .customer-account-definition-grid > div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .customer-account-order-card > .customer-account-card__actions {
    grid-column: 2;
    grid-row: 3;
    align-items: stretch;
    margin-top: 0;
    min-width: 0;
  }

  .shoper-account-page .customer-account-order-card > .customer-account-card__actions .button {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
  }

  .customer-account-membership-card__body,
  .customer-account-card__head--inline,
  .customer-account-review-video__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-account-inline-form {
    grid-template-columns: 1fr;
  }

  .customer-account-inline-form .button {
    width: 100%;
  }

  .customer-account-tier-list {
    grid-template-columns: 1fr;
  }

  .customer-account-plan-grid {
    grid-template-columns: 1fr;
  }

  .customer-account-subscriptions .customer-account-metrics-grid--three {
    gap: 0.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-account-subscriptions .customer-account-metrics-grid > article {
    min-height: 5.5rem;
    padding: 0.625rem;
  }

  .customer-account-subscriptions .customer-account-metrics-grid span,
  .customer-account-subscriptions .customer-account-metrics-grid small {
    font-size: 0.625rem;
  }

  .customer-account-gift-row {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  }

  .customer-account-gift-row__date,
  .customer-account-gift-row__value {
    grid-column: 2;
  }

  .customer-account-gift-row > .customer-account-status {
    grid-column: 3;
    grid-row: 1;
  }

  .customer-account-gift-amounts > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-account-finder__status,
  .bb-customer-vehicle-finder__status {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1200px) {
  body[data-customer-dashboard="true"] {
    --customer-account-shell-inline-gutter: 0rem;
  }

  .customer-account-shell > .container {
    padding-left: 0;
  }

  .customer-account-shell .shoper-MyAccount-content {
    padding-top: var(--customer-dashboard-page-padding);
  }

  .customer-account-shell.is-navigation-collapsed .my-account-inner {
    grid-template-columns: var(--customer-account-sidebar-compact-width) minmax(0, 1fr);
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-profile {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-profile__avatar {
    width: 2.5rem;
    height: 2.5rem;
    margin-inline: auto;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-profile__identity,
  .customer-account-shell.is-navigation-collapsed .shoper-MyAccount-navigation a > span:nth-child(2),
  .customer-account-shell.is-navigation-collapsed .customer-account-navigation__active-dot,
  .customer-account-shell.is-navigation-collapsed .customer-account-navigation-group > h2,
  .customer-account-shell.is-navigation-collapsed .customer-account-priority-card > span:last-child {
    display: none;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-priority {
    grid-template-columns: 1fr;
    padding-inline: 0.5rem;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-priority-card {
    display: flex;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.375rem;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-secondary-navigation {
    padding-inline: 0.5rem;
  }

  .customer-account-shell.is-navigation-collapsed .shoper-MyAccount-navigation ul {
    padding-inline: 0.5rem;
  }

  .customer-account-shell.is-navigation-collapsed .shoper-MyAccount-navigation a {
    justify-content: center;
    gap: 0;
    padding-inline: 0.5rem;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-app-download {
    display: flex;
    justify-content: center;
    margin-inline: 0.5rem;
    padding: 0.5rem;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-app-download__icon,
  .customer-account-shell.is-navigation-collapsed .customer-account-app-download__content,
  .customer-account-shell.is-navigation-collapsed .customer-account-app-download__qr,
  .customer-account-shell.is-navigation-collapsed .customer-account-app-download__action span {
    display: none;
  }

  .customer-account-shell.is-navigation-collapsed .customer-account-app-download__action {
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
  }
}

@media (max-width: 1199.98px) {
  body.customer-account-navigation-open {
    overflow: hidden;
    overflow-x: clip;
  }

  body[data-customer-dashboard="true"].customer-account-navigation-open .site-notice,
  body[data-customer-dashboard="true"].customer-account-navigation-open .js-site-notice {
    z-index: 900 !important;
    pointer-events: none;
  }

  body[data-customer-dashboard="true"].customer-account-navigation-open .customer-account-topbar,
  body[data-customer-dashboard="true"].customer-account-navigation-open .customer-account-shell,
  body[data-customer-dashboard="true"].customer-account-navigation-open .shoper-account-page {
    max-width: 100vw;
    overflow-x: clip;
  }

  body[data-customer-dashboard="true"].customer-account-navigation-open .customer-account-topbar__profile-menu {
    display: none;
  }

  .customer-account-topbar__website span {
    display: none;
  }

  .customer-account-topbar__website {
    justify-content: center;
    width: 2.5rem;
    padding: 0;
  }

  .shoper-account-page .my-account-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .customer-account-section--viewport-empty {
    min-height: calc(100dvh - var(--customer-account-topbar-height) - var(--customer-dashboard-page-padding));
  }

  .shoper-account-page .my-account-navigation {
    position: fixed;
    z-index: 1005;
    inset: 0 auto 0 0;
    width: min(20rem, calc(100vw - 2.5rem));
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    margin: 0;
    padding-top: var(--customer-account-topbar-height);
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    background: var(--customer-account-chrome-surface) !important;
    border: 0;
    border-right: 1px solid #dfe3e8;
    border-radius: 0;
    box-shadow: 0.75rem 0 2rem rgba(23, 25, 28, 0.14);
    opacity: 0;
    transform: none !important;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .customer-account-profile {
    display: none;
  }

  .customer-account-shell.is-navigation-open .my-account-navigation {
    visibility: visible;
    opacity: 1;
    transform: none !important;
  }

  body[data-customer-dashboard="true"] .customer-account-navigation-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: 0;
    visibility: hidden;
    background: rgba(23, 25, 28, 0.14);
    border: 0;
    border-radius: 0;
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  body[data-customer-dashboard="true"] .customer-account-shell.is-navigation-open .customer-account-navigation-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .customer-account-menu .customer-account-app-download {
    margin-top: 0.25rem;
  }

  .shoper-account-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body[data-customer-dashboard="true"] .customer-account-topbar__menu[aria-expanded="false"] {
    color: #17191c;
    background: #f4f6f8;
    border-color: #e1e5e9;
  }

  body[data-customer-dashboard="true"] .customer-account-topbar__menu[aria-expanded="true"] {
    color: #fff;
    background: var(--customer-account-accent);
    border-color: var(--customer-account-accent);
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .customer-account-shell .shoper-MyAccount-content {
    padding-top: var(--customer-dashboard-page-padding);
  }

  .customer-account-section--viewport-empty {
    min-height: calc(100dvh - var(--customer-account-topbar-height) - (var(--customer-dashboard-page-padding) * 2));
  }

  .shoper-account-page .my-account-navigation {
    padding-top: calc(var(--customer-account-topbar-height) + 0.75rem);
    overflow-y: clip;
  }

  .shoper-account-page .customer-account-menu {
    width: 100%;
    flex: 0 1 auto;
    box-sizing: border-box;
    padding: 0 0.75rem 0.75rem;
  }

  .shoper-account-page .shoper-MyAccount-navigation {
    min-height: 0;
  }

  .shoper-account-page .customer-account-primary-navigation,
  .shoper-account-page .customer-account-priority,
  .shoper-account-page .customer-account-secondary-navigation,
  .shoper-account-page .customer-account-navigation-group ul {
    padding-inline: 0;
  }

  .shoper-account-page .customer-account-primary-navigation {
    padding-top: 0;
  }

  .shoper-account-page .customer-account-priority {
    padding-top: 0.75rem;
  }

  .shoper-account-page .customer-account-app-download {
    margin-inline: 0;
  }
}

@media (max-width: 767.98px) {
  body[data-customer-dashboard="true"] {
    --customer-account-shell-inline-gutter: 0.75rem;
    --customer-account-topbar-height: 4rem;
  }

  .customer-account-topbar,
  .customer-account-topbar__inner {
    min-height: 4rem;
  }

  .customer-account-topbar__inner {
    padding-inline: 0.75rem;
  }

  .customer-account-topbar__menu {
    margin-right: 0.25rem;
  }

  .customer-account-topbar__brand img {
    width: 5.875rem;
  }

  .customer-account-topbar__identity {
    display: none;
  }

  .customer-account-topbar__website {
    display: inline-flex;
  }

  .customer-account-topbar__actions {
    gap: 0.25rem;
    min-width: 0;
  }

  .customer-account-topbar__profile {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .customer-account-topbar__profile > summary {
    width: 2.5rem;
    gap: 0;
    justify-content: center;
    padding: 0;
  }

  .customer-account-topbar__profile > summary > svg {
    display: none;
  }

  .shoper-account-page {
    padding: 1rem 0 5.5rem;
  }

  .shoper-account-page .container {
    padding-inline: 0.75rem;
  }

  .shoper-account-page .shoper-MyAccount-navigation,
  .shoper-account-page .shoper-MyAccount-content {
    padding: 0;
  }

  .customer-account-section--viewport-empty {
    min-height: calc(100dvh - var(--customer-account-topbar-height) - 2rem);
  }

  .customer-account-empty--viewport {
    min-height: 16rem;
    padding-inline: 1rem;
  }

  .customer-account-content-header,
  .customer-account-welcome {
    padding: 1rem;
  }

  .customer-account-content-header {
    gap: 0.875rem;
  }

  .customer-account-content-header__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-account-status-badge {
    align-self: flex-start;
  }

  .customer-account-welcome {
    align-items: flex-start;
    flex-direction: column;
  }

  .customer-account-welcome .button {
    width: 100%;
    justify-content: center;
  }

  .shoper-account-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shoper-account-metrics a {
    min-height: 7.75rem;
  }

  .customer-account-overview-grid,
  .customer-account-quick-actions__grid {
    grid-template-columns: 1fr;
  }

  .customer-account-quick-actions,
  .customer-account-panel {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .customer-account-panel .customer-account-finder__form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .customer-account-finder__field .select2-selection--single .select2-selection__rendered {
    min-width: 0;
    overflow: hidden;
    padding-right: 2rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .customer-account-finder__vehicle {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .customer-account-finder__status,
  .bb-customer-vehicle-finder__status {
    min-height: 0;
    font-size: clamp(0.546875rem, 2.3vw, 0.6875rem);
  }
}

@media (max-width: 419.98px) {
  .customer-account-content-header {
    flex-direction: column;
  }

  .customer-account-content-header__actions,
  .customer-account-content-header__actions .btn {
    width: 100%;
  }

  .customer-account-status-badge {
    align-self: auto;
  }
}

/* Customer action variants are shared by every account surface. */
.shoper-account-page .button,
.shoper-account-page .shoper-MyAccount-content .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--customer-account-control-height);
  height: var(--customer-account-control-height);
  max-width: 100%;
  padding-inline: 1.25rem;
  border-radius: var(--customer-account-control-radius);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.shoper-account-page .button:not(.secondary):not(.danger),
.shoper-account-page .shoper-MyAccount-content .button:not(.secondary):not(.danger) {
  color: #fff;
  background: #17191c;
  border-color: #17191c;
}

.shoper-account-page .button:not(.secondary):not(.danger):hover,
.shoper-account-page .button:not(.secondary):not(.danger):focus-visible,
.shoper-account-page .shoper-MyAccount-content .button:not(.secondary):not(.danger):hover,
.shoper-account-page .shoper-MyAccount-content .button:not(.secondary):not(.danger):focus-visible {
  color: #fff;
  background: #0f1114;
  border-color: #0f1114;
}

.shoper-account-page .button svg,
.shoper-account-page .shoper-MyAccount-content .button svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.shoper-account-page .button.secondary {
  color: #17191c;
  background: #fff;
  border-color: #dfe3e8;
}

.shoper-account-page .button.secondary:hover,
.shoper-account-page .button.secondary:focus-visible {
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-border);
}

.shoper-account-page .button.danger {
  color: #fff;
  background: #c93645;
  border-color: #c93645;
}

.shoper-account-page .button.danger:hover,
.shoper-account-page .button.danger:focus-visible {
  color: #fff;
  background: #a92d3a;
  border-color: #a92d3a;
}

/* Core/plugin forms may emit Bootstrap button classes; map them to the same customer primitive. */
.shoper-account-page .shoper-MyAccount-content .btn:not(.btn-close) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--customer-account-control-height);
  height: var(--customer-account-control-height);
  margin: 0;
  padding: 0 1.25rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  background: #17191c;
  border: 1px solid #17191c;
  border-radius: var(--customer-account-control-radius);
  box-shadow: none;
}

.shoper-account-page .shoper-MyAccount-content .btn:not(.btn-close) svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.shoper-account-page .shoper-MyAccount-content .btn-primary:not(.btn-close):hover,
.shoper-account-page .shoper-MyAccount-content .btn-primary:not(.btn-close):focus-visible {
  color: #fff;
  background: #0f1114;
  border-color: #0f1114;
}

.shoper-account-page .shoper-MyAccount-content .btn-outline-secondary:not(.btn-close) {
  color: var(--customer-account-text);
  background: #fff;
  border-color: var(--customer-account-border);
}

.shoper-account-page .shoper-MyAccount-content .btn-outline-secondary:not(.btn-close):hover,
.shoper-account-page .shoper-MyAccount-content .btn-outline-secondary:not(.btn-close):focus-visible {
  color: var(--customer-account-accent);
  background: var(--customer-account-accent-soft);
  border-color: var(--customer-account-accent-border);
}

.shoper-account-page .shoper-MyAccount-content .btn-danger:not(.btn-close),
.shoper-account-page .shoper-MyAccount-content .btn-outline-danger:not(.btn-close) {
  color: #8a3540;
  background: #fff;
  border-color: #dcaeb5;
}

.shoper-account-page .shoper-MyAccount-content .btn-danger:not(.btn-close):hover,
.shoper-account-page .shoper-MyAccount-content .btn-danger:not(.btn-close):focus-visible,
.shoper-account-page .shoper-MyAccount-content .btn-outline-danger:not(.btn-close):hover,
.shoper-account-page .shoper-MyAccount-content .btn-outline-danger:not(.btn-close):focus-visible {
  color: #fff;
  background: #a92d3a;
  border-color: #a92d3a;
}

.shoper-account-page .shoper-MyAccount-content .btn-sm:not(.btn-close) {
  min-height: 2.125rem;
  height: 2.125rem;
  padding-inline: 0.75rem;
  font-size: 0.6875rem;
}

.customer-account-invoices,
.customer-account-invoice-detail {
  gap: 1rem;
}

.customer-account-invoice-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.customer-account-invoice-metric {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 0.75rem;
  min-height: 7.25rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
}

.customer-account-invoice-metric > span:not(.customer-account-invoice-metric__icon) {
  color: #6f7986;
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-account-invoice-metric strong {
  align-self: end;
  color: #17191c;
  font-size: 1.25rem;
  font-weight: 700;
}

.customer-account-invoice-metric__icon,
.customer-account-invoice-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #596371;
  background: #f2f4f6;
  border-radius: 0.375rem;
}

.customer-account-invoice-metric__icon {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.customer-account-invoice-metric__icon svg,
.customer-account-invoice-card__icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.customer-account-invoice-card {
  display: grid;
  grid-template-columns: minmax(13rem, 0.75fr) minmax(0, 1.65fr);
  gap: 1rem 1.5rem;
  align-items: start;
}

.customer-account-invoice-card__identity {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}

.customer-account-invoice-card__identity .customer-account-card__head {
  margin: 0;
}

.customer-account-invoice-card__identity .badge {
  width: fit-content;
}

.customer-account-invoice-card__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-account-invoice-card__actions {
  grid-column: 1 / -1;
  margin-top: 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e8ec;
}

.customer-account-invoice-card__actions > div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.customer-account-invoice-document {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 0.4375rem;
}

.customer-account-invoice-document__head,
.customer-account-invoice-document__parties,
.customer-account-invoice-document__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.customer-account-invoice-document__head {
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e8ec;
}

.customer-account-invoice-document__issuer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.customer-account-invoice-document__issuer img {
  width: auto;
  max-width: 8rem;
  height: 2.5rem;
  object-fit: contain;
}

.customer-account-invoice-document__issuer span,
.customer-account-invoice-document__issuer strong,
.customer-account-invoice-document__number span,
.customer-account-invoice-document__number strong,
.customer-account-invoice-document__number small {
  display: block;
}

.customer-account-invoice-document__issuer span,
.customer-account-invoice-document__number span,
.customer-account-invoice-document__parties section > span,
.customer-account-invoice-document__note > span {
  color: #6f7986;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-account-invoice-document__issuer strong,
.customer-account-invoice-document__number strong {
  margin-top: 0.25rem;
  color: #17191c;
  font-size: 1.25rem;
}

.customer-account-invoice-document__number {
  text-align: right;
}

.customer-account-invoice-document__number small {
  margin-top: 0.25rem;
  color: #6f7986;
  font-size: 0.75rem;
}

.customer-account-invoice-document__parties {
  padding: 1.5rem 0;
}

.customer-account-invoice-document__parties section {
  min-width: 0;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.375rem;
}

.customer-account-invoice-document__parties h2 {
  margin: 0.35rem 0 0.5rem;
  color: #17191c;
  font-size: 1rem;
  font-weight: 700;
}

.customer-account-invoice-document__parties p {
  margin: 0.15rem 0;
  color: #596371;
  font-size: 0.8125rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.customer-account-invoice-document__parties dl {
  display: grid;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
}

.customer-account-invoice-document__parties dl div,
.customer-account-invoice-totals div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.customer-account-invoice-document__parties dt,
.customer-account-invoice-totals dt {
  color: #6f7986;
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-account-invoice-document__parties dd,
.customer-account-invoice-totals dd {
  margin: 0;
  color: #17191c;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: right;
}

.customer-account-invoice-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e8ec;
  border-radius: 0.375rem;
}

.customer-account-invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.customer-account-invoice-table th,
.customer-account-invoice-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e5e8ec;
  color: #17191c;
  font-size: 0.8125rem;
  text-align: right;
  vertical-align: top;
}

.customer-account-invoice-table th {
  color: #596371;
  background: #f9fafb;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.customer-account-invoice-table th:first-child,
.customer-account-invoice-table td:first-child {
  width: 55%;
  text-align: left;
}

.customer-account-invoice-table tbody tr:last-child td {
  border-bottom: 0;
}

.customer-account-invoice-table td strong,
.customer-account-invoice-table td small {
  display: block;
}

.customer-account-invoice-table td small {
  margin-top: 0.25rem;
  color: #6f7986;
  font-size: 0.75rem;
}

.customer-account-invoice-document__footer {
  align-items: start;
  padding-top: 1.5rem;
}

.customer-account-invoice-document__note p {
  max-width: 34rem;
  margin: 0.5rem 0 0;
  color: #6f7986;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.customer-account-invoice-totals {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.375rem;
}

.customer-account-invoice-totals .is-total {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid #dfe3e8;
}

.customer-account-invoice-totals .is-total dt,
.customer-account-invoice-totals .is-total dd {
  color: #17191c;
  font-size: 1rem;
  font-weight: 800;
}

.customer-account-invoice-actions {
  margin-top: 0;
}

.customer-account-invoice-actions > div {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .customer-account-invoice-metrics,
  .customer-account-invoice-card__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-account-invoice-card {
    grid-template-columns: 1fr;
  }

  .customer-account-invoice-card__actions {
    grid-column: 1;
  }
}

@media (max-width: 767.98px) {
  .customer-account-invoice-document {
    padding: 1rem;
  }

  .customer-account-invoice-document__head,
  .customer-account-invoice-document__parties,
  .customer-account-invoice-document__footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .customer-account-invoice-document__number {
    text-align: left;
  }

  .customer-account-invoice-table-wrap {
    overflow: visible;
    border: 0;
  }

  .customer-account-invoice-table,
  .customer-account-invoice-table tbody,
  .customer-account-invoice-table tr,
  .customer-account-invoice-table td {
    display: block;
    width: 100%;
  }

  .customer-account-invoice-table thead {
    display: none;
  }

  .customer-account-invoice-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 0.75rem;
    border: 1px solid #e5e8ec;
    border-radius: 0.375rem;
    overflow: hidden;
  }

  .customer-account-invoice-table td,
  .customer-account-invoice-table td:first-child {
    width: auto;
    padding: 0.75rem;
    border-bottom: 0;
    text-align: left;
  }

  .customer-account-invoice-table td:first-child {
    grid-column: 1 / -1;
    background: #f9fafb;
    border-bottom: 1px solid #e5e8ec;
  }

  .customer-account-invoice-table td:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    color: #6f7986;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .customer-account-invoice-actions,
  .customer-account-invoice-actions > div {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .customer-account-invoice-actions .button {
    width: 100%;
  }
}

/* Core bottom bar contract: the shared preset can switch between the
   full-width model and the existing elevated/floating model. */
@media screen and (max-width: 767.98px) {
  .shoper-mobile-bottom-menu--classic {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .shoper-mobile-bottom-menu--classic .mobile-menu {
    max-width: none !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

@media (max-width: 575.98px) {
  .customer-account-invoice-metrics,
  .customer-account-invoice-card__facts {
    grid-template-columns: 1fr;
  }

  .customer-account-invoice-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .customer-account-invoice-card__actions > div,
  .customer-account-invoice-card__actions .button {
    width: 100%;
  }
}
