/* Storefront account experience */
:root {
  --account-ink: #171716;
  --account-ink-soft: #2b2b29;
  --account-canvas: #f7f6f2;
  --account-surface: #ffffff;
  --account-line: #e7e4dd;
  --account-muted: #77746d;
  --account-soft: #efede7;
  --account-danger: #b42318;
  --account-success: #176b49;
  --account-radius: 18px;
  --account-radius-sm: 12px;
  --account-shadow: 0 22px 65px rgba(23, 23, 22, .08);
}

.account-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.account-icon {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-breadcrumb {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 18px 15px 8px !important;
  background: transparent !important;
}

.account-breadcrumb > li,
.account-breadcrumb > li > a {
  color: var(--account-muted);
  font-size: 12px;
}

.account-page-title {
  width: calc(100% - 30px) !important;
  max-width: 1170px;
  margin: 20px auto 4px !important;
  padding: 0 !important;
  color: var(--account-ink) !important;
  background: transparent !important;
  border: 0 !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.account-page-title::before,
.account-page-title::after {
  display: none !important;
}

.account-modern-page {
  color: var(--account-ink);
  padding-top: 24px;
  padding-bottom: 72px;
}

.account-dashboard {
  width: calc(100% - 30px);
  max-width: 1200px;
}

.account-dashboard .alert,
.account-modern-page .alert {
  border: 1px solid var(--account-line);
  border-radius: var(--account-radius-sm);
  box-shadow: none;
  margin-bottom: 18px;
  padding: 13px 16px;
}

.account-dashboard .alert-success,
.account-modern-page .alert-success {
  color: var(--account-success);
  background: #f2faf6;
  border-color: #d7eee2;
}

.account-kicker {
  color: inherit;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.account-identity {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 240px;
  margin-bottom: 64px;
  padding: 42px 46px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, .13), transparent 24%),
    linear-gradient(135deg, #151514 0%, #282724 100%);
  border-radius: 28px;
  box-shadow: var(--account-shadow);
  animation: account-rise .48s ease-out both;
}

.account-identity::after {
  content: "";
  position: absolute;
  inset-inline-end: -72px;
  bottom: -112px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}

.account-identity-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--account-ink);
  background: #f2efe7;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.account-identity-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.account-identity-copy .account-kicker {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, .55);
}

.account-identity-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}

.account-identity-copy h1 strong {
  font-weight: 700;
}

.account-identity-copy p {
  max-width: 560px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.75;
}

.account-identity-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.account-button .account-icon {
  width: 18px;
  height: 18px;
}

.account-button:hover {
  transform: translateY(-2px);
}

.account-button-primary {
  color: var(--account-ink) !important;
  background: #fff;
}

.account-button-primary:hover {
  background: #f2efe7;
}

.account-button-quiet {
  color: #fff !important;
  background: transparent;
  border-color: rgba(255, 255, 255, .26);
}

.account-button-quiet:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .07);
}

.account-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 76px);
}

.account-workspace-section,
.account-preferences {
  min-width: 0;
  animation: account-rise .5s .08s ease-out both;
}

.account-preferences {
  margin-top: 58px;
  animation-delay: .14s;
}

.account-section-heading {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.account-section-heading > div {
  flex: 0 0 auto;
}

.account-section-heading .account-kicker {
  margin-bottom: 9px;
  color: var(--account-muted);
}

.account-section-heading h2 {
  margin: 0;
  color: var(--account-ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 650;
  line-height: 1.15;
}

.account-section-rule {
  flex: 1 1 auto;
  height: 1px;
  margin-bottom: 5px;
  background: var(--account-line);
}

.account-action-list,
.account-preference-list {
  border-top: 1px solid var(--account-line);
}

.account-preference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 54px;
}

.account-action {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 15px;
  min-height: 92px;
  padding: 15px 4px;
  color: var(--account-ink) !important;
  border-bottom: 1px solid var(--account-line);
  text-decoration: none !important;
  transition: padding .22s ease, background-color .22s ease;
}

.account-action:hover {
  padding-inline: 12px;
  background: rgba(239, 237, 231, .58);
}

/* Birthday prompt: shown only while a campaign is live and this customer has no
   birthday saved, so it has to read as an invitation rather than another row.
   Logical properties keep the accent on the correct side in both LTR and RTL. */
.account-action--highlight {
  padding-inline: 12px;
  background: rgba(23, 107, 73, .06);
  border-inline-start: 3px solid var(--account-success);
  border-radius: var(--account-radius-sm);
}

.account-action--highlight:hover {
  background: rgba(23, 107, 73, .1);
}

.account-action--highlight .account-action-icon {
  color: #fff;
  background: var(--account-success);
}

.account-action--highlight .account-action-copy small {
  color: var(--account-success);
  font-weight: 600;
}

.account-action-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--account-ink);
  background: var(--account-soft);
  border-radius: 50%;
  transition: color .22s ease, background-color .22s ease, transform .22s ease;
}

.account-action:hover .account-action-icon {
  color: #fff;
  background: var(--account-ink);
  transform: scale(1.04);
}

.account-action-icon .account-icon {
  width: 20px;
  height: 20px;
}

.account-action-copy {
  min-width: 0;
}

.account-action-copy strong,
.account-action-copy small {
  display: block;
}

.account-action-copy strong {
  margin-bottom: 5px;
  color: var(--account-ink);
  font-size: 15px;
  font-weight: 700;
}

.account-action-copy small {
  overflow: hidden;
  color: var(--account-muted);
  font-size: 12px;
  line-height: 1.55;
  text-overflow: ellipsis;
}

.account-action-arrow {
  display: grid;
  place-items: center;
  color: #aaa69e;
  transition: color .22s ease, transform .22s ease;
}

.account-action-arrow .account-icon {
  width: 18px;
  height: 18px;
}

.account-action:hover .account-action-arrow {
  color: var(--account-ink);
  transform: translateX(4px);
}

html[dir="rtl"] .account-action-arrow .account-icon {
  transform: scaleX(-1);
}

html[dir="rtl"] .account-action:hover .account-action-arrow {
  transform: translateX(-4px);
}

@keyframes account-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Shared internal account pages */
.account-modern-page > .row {
  margin: 0;
}

.account-modern-page > .row > #column-left,
.account-modern-page > .row > #column-right {
  display: none !important;
}

.account-modern-page > .row > #content {
  float: none;
  width: 100%;
  padding: 0;
}

.account-modern-page .orders-section,
.account-modern-page .rewards-section,
.account-modern-page .transactions-section,
.account-modern-page .downloads-section,
.account-modern-page .returns-section,
.account-modern-page .wishlist-section,
.account-modern-page .account-section-content,
.account-modern-page .order-info-section,
.account-modern-page .return-info-section,
.account-modern-page .return-form {
  max-width: 1080px;
  margin-right: auto;
  margin-left: auto;
}

.account-modern-page .title-section,
.account-modern-page .page-title,
.account-modern-page .page-title-modern {
  margin: 0 0 28px;
  color: var(--account-ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.2;
}

.account-modern-page .title-2 {
  margin: 6px 0 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 500;
}

.account-danger-panel {
  max-width: 680px;
  margin: 18px auto 0;
  padding: 38px;
  background: var(--account-surface);
  border: 1px solid #ead2cf;
  border-top: 4px solid var(--account-danger);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(23, 23, 22, .06);
}

.account-danger-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--account-danger);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-danger-panel h1 {
  margin: 0 0 14px;
  color: var(--account-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 750;
  line-height: 1.25;
}

.account-danger-panel p {
  max-width: 56ch;
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
  line-height: 1.8;
}

.account-modern-page .row.options {
  display: flex;
  align-items: flex-end;
  margin-right: 0;
  margin-bottom: 18px;
  margin-left: 0;
}

.account-modern-page .row.options > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.account-modern-page .orders-list,
.account-modern-page .address-list {
  border-top: 1px solid var(--account-line);
}

.account-modern-page .order-card,
.account-modern-page .address-card,
.account-modern-page .account-card {
  margin: 0;
  padding: 24px 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--account-line);
  border-radius: 0;
  box-shadow: none;
  transition: background-color .2s ease, padding .2s ease;
}

.account-modern-page .order-card:hover,
.account-modern-page .address-card:hover {
  padding-inline: 16px;
  background: rgba(239, 237, 231, .46);
}

.account-modern-page .order-card .row + .row {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--account-line);
}

.account-modern-page .order-card b,
.account-modern-page .order-card strong {
  color: var(--account-ink);
}

.account-modern-page .address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.account-modern-page .address-card {
  min-width: 0;
}

.account-modern-page .address-card-header {
  margin-bottom: 14px;
}

.account-modern-page .address-card-icon {
  color: var(--account-ink);
  background: var(--account-soft);
  border-radius: 50%;
}

.account-modern-page .address-card-actions {
  gap: 10px;
  padding-top: 18px;
  border-top-color: var(--account-line);
}

.account-modern-page .table-responsive {
  overflow-x: auto;
  background: var(--account-surface);
  border: 1px solid var(--account-line);
  border-radius: var(--account-radius);
  box-shadow: 0 14px 45px rgba(23, 23, 22, .05);
}

.account-modern-page .table-responsive .table {
  min-width: 680px;
  margin: 0;
  border: 0;
}

.account-modern-page .table > thead > tr > td,
.account-modern-page .table > thead > tr > th {
  padding: 15px 17px;
  color: var(--account-muted);
  background: #f7f6f2;
  border-color: var(--account-line);
  font-size: 12px;
  font-weight: 700;
}

.account-modern-page .table > tbody > tr > td {
  padding: 17px;
  color: var(--account-ink);
  background: var(--account-surface);
  border-color: var(--account-line);
  font-size: 13px;
  vertical-align: middle;
}

.account-modern-page .table > tbody > tr:hover > td {
  background: #fbfaf7;
}

.account-modern-page form.form-horizontal {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  background: var(--account-surface);
  border: 1px solid var(--account-line);
  border-radius: 22px;
  box-shadow: 0 16px 50px rgba(23, 23, 22, .05);
}

.account-modern-page form.form-horizontal fieldset + fieldset {
  margin-top: 32px;
}

.account-modern-page form.form-horizontal fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.account-modern-page form.form-horizontal legend,
.account-modern-page form.form-horizontal .title-section {
  width: 100%;
  margin: 0 0 26px;
  padding: 0 0 16px;
  color: var(--account-ink);
  border: 0;
  border-bottom: 1px solid var(--account-line);
  font-size: 24px;
  font-weight: 700;
}

.account-modern-page form.form-horizontal .form-group {
  display: block;
  margin: 0 0 20px;
}

.account-modern-page form.form-horizontal .form-group > [class*="col-sm-"] {
  float: none;
  width: 100%;
  min-width: 0;
  padding-right: 0;
  padding-left: 0;
}

.account-modern-page form.form-horizontal .control-label,
.account-modern-page form.form-horizontal .form-group > label {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 8px;
  padding: 0;
  color: var(--account-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: start;
}

.account-modern-page .form-control {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 11px 14px;
  color: var(--account-ink);
  background: #fbfaf7;
  border: 1px solid #dcd9d1;
  border-radius: 11px;
  box-shadow: none;
  font-size: 15px;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.account-modern-page textarea.form-control {
  height: auto;
  min-height: 110px;
}

.account-modern-page .form-control:focus {
  background: #fff;
  border-color: var(--account-ink);
  box-shadow: 0 0 0 3px rgba(23, 23, 22, .08);
  outline: none;
}

.account-modern-page .text-danger {
  margin-top: 7px;
  color: var(--account-danger);
  font-size: 12px;
}

.account-modern-page .radio-inline,
.account-modern-page .checkbox-inline {
  margin: 0 0 0 14px;
  color: var(--account-ink);
  font-size: 14px;
}

html[dir="rtl"] .account-modern-page .radio-inline,
html[dir="rtl"] .account-modern-page .checkbox-inline {
  margin: 0 0 0 14px;
}

.account-modern-page .buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.account-modern-page .buttons .pull-left,
.account-modern-page .buttons .pull-right {
  float: none !important;
  width: auto;
  margin: 0;
}

.account-modern-page .btn,
.account-modern-page .btn-add,
.account-modern-page .btn-return,
.account-modern-page .btn-view,
.account-modern-page .btn-tracking,
.account-modern-page .btn-transfer,
.account-modern-page .btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: auto !important;
  padding: 10px 17px;
  border-radius: 999px;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.account-modern-page .btn:hover,
.account-modern-page .btn-add:hover,
.account-modern-page .btn-return:hover,
.account-modern-page .btn-view:hover,
.account-modern-page .btn-tracking:hover,
.account-modern-page .btn-transfer:hover,
.account-modern-page .btn-action:hover {
  transform: translateY(-1px);
}

.account-modern-page .btn-primary,
.account-modern-page .btn-add,
.account-modern-page .btn-action.btn-edit {
  color: #fff !important;
  background: var(--account-ink) !important;
  border: 1px solid var(--account-ink) !important;
}

.account-modern-page .btn-default,
.account-modern-page .btn-return,
.account-modern-page .btn-view,
.account-modern-page .btn-tracking,
.account-modern-page .btn-transfer,
.account-modern-page .btn-info {
  color: var(--account-ink) !important;
  background: transparent !important;
  border: 1px solid #d8d5cd !important;
}

.account-modern-page .btn-danger,
.account-modern-page .btn-action.btn-delete {
  color: var(--account-danger) !important;
  background: transparent !important;
  border: 1px solid #ead2cf !important;
}

.account-modern-page .pagination-results {
  margin: 0;
  padding: 22px 0;
}

.account-modern-page .pagination > li > a,
.account-modern-page .pagination > li > span {
  margin: 0 2px;
  color: var(--account-ink);
  background: var(--account-surface);
  border-color: var(--account-line);
  border-radius: 8px;
}

.account-modern-page .pagination > .active > a,
.account-modern-page .pagination > .active > span {
  color: #fff;
  background: var(--account-ink);
  border-color: var(--account-ink);
}

.account-modern-page .text-center img {
  max-width: 96px;
  margin-bottom: 18px;
  opacity: .28;
  filter: grayscale(1);
}

.account-modern-page .text-center p,
.account-modern-page .address-empty p {
  color: var(--account-muted);
  font-size: 14px;
}

.account-modern-page .intl-tel-input {
  width: 100%;
  direction: ltr;
}

.account-modern-page .mb-16 {
  margin-bottom: 16px;
}

.account-modern-page .mt-16 {
  margin-top: 16px;
}

@media (min-width: 992px) {
  .account-modern-page .text-md-right {
    text-align: right;
  }

  html[dir="rtl"] .account-modern-page .text-md-right {
    text-align: left;
  }

  .account-modern-page .text-md-left {
    text-align: left;
  }

  html[dir="rtl"] .account-modern-page .text-md-left {
    text-align: right;
  }
}

@media (max-width: 991px) {
  .account-identity {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 36px;
  }

  .account-identity-actions {
    grid-column: 1 / -1;
    padding-top: 4px;
  }

  .account-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .account-preference-list {
    column-gap: 32px;
  }

  .account-modern-page .address-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .account-breadcrumb {
    padding: 13px 15px 2px !important;
  }

  .account-modern-page {
    padding-top: 16px;
    padding-bottom: 48px;
  }

  .account-identity {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 46px;
    padding: 28px 22px 24px;
    border-radius: 22px;
  }

  .account-identity-mark {
    width: 58px;
    height: 58px;
    font-size: 23px;
  }

  .account-identity-copy h1 {
    font-size: 31px;
  }

  .account-identity-copy p {
    font-size: 13px;
  }

  .account-identity-actions {
    grid-column: auto;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .account-button {
    width: 100%;
  }

  .account-action {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    min-height: 84px;
    gap: 12px;
  }

  .account-action-icon {
    width: 40px;
    height: 40px;
  }

  .account-action-copy small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .account-preferences {
    margin-top: 48px;
  }

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

  .account-modern-page form.form-horizontal {
    margin: 0;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .account-danger-panel {
    margin-top: 8px;
    padding: 28px 20px;
    border-radius: 18px;
  }

  .account-modern-page form.form-horizontal legend,
  .account-modern-page form.form-horizontal .title-section {
    font-size: 21px;
  }

  .account-modern-page .row.options {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-modern-page .order-card,
  .account-modern-page .address-card,
  .account-modern-page .account-card {
    padding: 20px 4px;
  }

  .account-modern-page .order-card:hover,
  .account-modern-page .address-card:hover {
    padding-inline: 4px;
  }

  .account-modern-page .order-card [class*="col-"] + [class*="col-"] {
    margin-top: 12px;
  }

  .account-modern-page .buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .account-modern-page .buttons .pull-left,
  .account-modern-page .buttons .pull-right,
  .account-modern-page .buttons .btn,
  .account-modern-page .buttons input,
  .account-modern-page .buttons a {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-identity,
  .account-workspace-section,
  .account-preferences {
    animation: none;
  }

  .account-action,
  .account-action-icon,
  .account-action-arrow,
  .account-button {
    transition: none;
  }
}
