html.account-focused,
html.account-focused body,
html.account-focused #main-content {
  background: #f4f6f8;
}

html.account-focused [id^="account-"].container,
html.account-focused #simple-checkout.container {
  max-width: 1120px;
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

html.account-focused #account-login .col-aside,
html.account-focused #account-register .col-aside,
html.account-focused #account-forgotten .col-aside,
html.account-focused #account-reset .col-aside {
  display: none;
}

.acc-page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.acc-page-title h1,
html.account-focused #content > h1.h2,
html.account-focused #simple-checkout h1.h2 {
  margin: 0 0 1.25rem;
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
}

.acc-page-title h1 {
  margin-bottom: 0.2rem;
}

.acc-page-title__copy p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.acc-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: #5b6472;
  font-size: 0.875rem;
  white-space: nowrap;
}

.acc-secure svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

html.account-focused .breadcrumb {
  margin-bottom: 0.85rem !important;
}

html.account-focused .alert {
  border: 1px solid #e6e8ee;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

html.account-focused .col-aside .card,
html.account-focused #content .card,
.acc-card,
.acc-nav,
.acc-auth__card,
html.account-focused #simple-checkout .simpleregister {
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  background: #fff;
}

html.account-focused .col-aside .card {
  overflow: hidden;
}

html.account-focused #content .card-header,
html.account-focused .col-aside .card-header {
  background: transparent;
  border-bottom: 1px solid #eef0f4;
  padding: 0.9rem 1.15rem;
  font-weight: 650;
  color: #111827;
}

.acc-card {
  margin: 0 0 1rem;
  overflow: hidden;
}

.acc-card__head {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid #eef0f4;
  font-size: 1.05rem;
  font-weight: 650;
  color: #111827;
}

.acc-card__body {
  padding: 1.05rem 1.15rem 1.15rem;
}

html.account-focused #account-edit form,
html.account-focused #account-password form,
html.account-focused #account-newsletter form,
html.account-focused #account-address form,
html.account-focused #account-reward form,
html.account-focused #account-transaction form,
html.account-focused #account-voucher form,
html.account-focused #account-tracking form,
html.account-focused #account-affiliate form,
html.account-focused #account-return form,
html.account-focused #account-recurring form,
html.account-focused .simpleregister-block-content {
  margin-bottom: 1rem;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  background: #fff;
}

html.account-focused #content .form-control,
html.account-focused #content .custom-select,
html.account-focused #simple-checkout .form-control,
html.account-focused #simple-checkout .custom-select {
  min-height: 46px;
  border-radius: 10px;
  border-color: #d9dee7;
}

html.account-focused #content .form-control:focus,
html.account-focused #content .custom-select:focus,
html.account-focused #simple-checkout .form-control:focus,
html.account-focused #simple-checkout .custom-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.15);
}

html.account-focused #content label,
html.account-focused #content .control-label,
html.account-focused #simple-checkout label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #3d4553;
  margin-bottom: 0.35rem;
}

html.account-focused #content .btn,
html.account-focused #simple-checkout .btn {
  min-height: 42px;
  border-radius: 10px;
  font-weight: 600;
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

html.account-focused #content .btn-secondary,
html.account-focused #simple-checkout .btn-secondary {
  background: #fff;
  border: 1px solid #e6e8ee;
  color: #1f2937;
}

html.account-focused #content .btn-secondary:hover,
html.account-focused #simple-checkout .btn-secondary:hover {
  border-color: var(--primary, #007bff);
  color: var(--primary, #007bff);
  background: #fff;
}

html.account-focused #content .btn-primary {
  border-radius: 10px;
}

html.account-focused #content .table-responsive,
html.account-focused #content table.table {
  background: #fff;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

html.account-focused #content .table-responsive {
  margin-bottom: 1rem;
}

html.account-focused #content .table-responsive table.table {
  margin-bottom: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

html.account-focused #content table.table {
  margin-bottom: 1rem;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

html.account-focused #content table.table th,
html.account-focused #content table.table td {
  border-color: #eef0f4;
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

html.account-focused #content table.table thead th,
html.account-focused #content table.table thead td {
  background: #f8fafc;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid #eef0f4;
}

html.account-focused #content table.table-bordered,
html.account-focused #content table.table-bordered th,
html.account-focused #content table.table-bordered td {
  border-color: #eef0f4;
}

html.account-focused #content table.table-hover tbody tr:hover {
  background: #f8fafc;
}

.acc-section {
  margin: 0 0 1.15rem;
}

.acc-section__title {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.acc-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.acc-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 72px;
  padding: 0.85rem 1rem;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  background: #fff;
  color: #111827;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.acc-tile:hover,
.acc-tile:focus {
  border-color: var(--primary, #007bff);
  color: #111827;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.acc-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #eef2f6;
  color: #4b5563;
}

.acc-tile__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.acc-tile__text {
  flex: 1;
  min-width: 0;
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.35;
}

.acc-tile__go {
  flex-shrink: 0;
  color: #9ca3af;
}

.acc-tile__go svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.acc-nav {
  margin-bottom: 1rem;
  overflow: hidden;
}

.acc-nav__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #eef0f4;
  font-weight: 650;
  color: #111827;
}

.acc-nav__head svg {
  width: 22px;
  height: 22px;
  fill: #6b7280;
}

.acc-nav__list {
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
}

.acc-nav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  color: #374151;
  font-size: 0.9rem;
  font-weight: 550;
  text-decoration: none;
}

.acc-nav__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #6b7280;
}

.acc-nav__link:hover,
.acc-nav__link:focus {
  background: #f4f6f8;
  color: #111827;
  text-decoration: none;
}

.acc-nav__link.is-active {
  background: #eef4ff;
  color: var(--primary, #007bff);
}

.acc-nav__link.is-active svg {
  fill: currentColor;
}

.acc-nav__link--logout {
  margin-top: 0.25rem;
  color: #b42318;
}

.acc-nav__link--logout svg {
  fill: currentColor;
}

.acc-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.acc-order,
.acc-address,
.acc-wish {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  background: #fff;
}

.acc-order__main,
.acc-address__main,
.acc-wish__body {
  flex: 1;
  min-width: 0;
}

.acc-order__top,
.acc-wish__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.25rem;
  color: #111827;
  font-weight: 650;
}

.acc-wish__name {
  margin-bottom: 0.2rem;
  text-decoration: none;
}

.acc-wish__name:hover {
  color: var(--primary, #007bff);
  text-decoration: none;
}

.acc-order__meta,
.acc-address__text,
.acc-wish__meta {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.45;
}

.acc-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: #eef2f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 700;
}

.acc-order__actions,
.acc-address__actions,
.acc-wish__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.acc-wish__img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f6f8;
}

.acc-wish__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.acc-empty {
  max-width: 460px;
  margin: 0 0 1.25rem;
  padding: 1.5rem 1.2rem;
  border: 1px solid #e6e8ee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  color: #6b7280;
}

.acc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

html.account-focused #content .pagination {
  margin-top: 0.25rem;
}

html.account-focused #content .pagination .page-link {
  border-radius: 8px;
  border-color: #e6e8ee;
  color: #374151;
}

html.account-focused .simpleregister-button-block {
  margin-top: 0.25rem;
}

html.account-focused .simpleregister-button-block .btn {
  min-height: 42px;
  border-radius: 10px;
  font-weight: 600;
}

.acc-auth {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

#account-register .acc-auth {
  max-width: 640px;
}

.acc-auth__card {
  padding: 1.5rem 1.35rem 1.4rem;
}

.acc-auth__title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111827;
}

.acc-auth__lead {
  margin: 0 0 1.15rem;
  text-align: center;
  color: #6b7280;
}

.acc-auth__social {
  margin-bottom: 1rem;
  text-align: center;
}

.acc-auth__note {
  margin: 1rem 0 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.acc-auth__note a {
  font-weight: 650;
}

html.account-focused #account-login .form-control,
html.account-focused #account-register .form-control,
html.account-focused #account-forgotten .form-control {
  min-height: 48px;
}

@media (min-width: 992px) {
  html.account-focused .col-aside .acc-nav {
    position: sticky;
    top: 1rem;
  }
}

@media (max-width: 991.98px) {
  .acc-page-title {
    flex-direction: column;
    align-items: flex-start;
  }

  html.account-focused .col-aside {
    margin-bottom: 0.75rem;
  }

  .acc-nav {
    margin-bottom: 0.75rem;
  }

  .acc-nav__head {
    display: none;
  }

  .acc-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
    overflow-x: auto;
    padding: 0.55rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .acc-nav__link {
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    min-width: 4.6rem;
    min-height: 58px;
    padding: 0.45rem 0.55rem;
    font-size: 0.72rem;
    text-align: center;
    background: #f8fafc;
  }

  .acc-nav__link--logout {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .acc-tiles {
    grid-template-columns: 1fr;
  }

  html.account-focused [id^="account-"].container,
  html.account-focused #simple-checkout.container {
    padding-bottom: 1.5rem;
  }

  .acc-page-title h1,
  html.account-focused #content > h1.h2,
  html.account-focused #simple-checkout h1.h2 {
    font-size: 1.4rem;
  }

  .acc-order,
  .acc-address,
  .acc-wish {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .acc-order__actions,
  .acc-address__actions,
  .acc-wish__actions {
    width: 100%;
  }

  .acc-order__actions .btn,
  .acc-address__actions .btn,
  .acc-wish__actions .btn {
    flex: 1 1 auto;
  }

  .acc-auth__card {
    padding: 1.2rem 1rem 1.15rem;
  }

  html.account-focused #content .form-row > [class*="col-6"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

  html.account-focused #content table.table thead {
    display: none;
  }

  html.account-focused #content table.table,
  html.account-focused #content table.table tbody,
  html.account-focused #content table.table tr,
  html.account-focused #content table.table td {
    display: block;
    width: 100%;
  }

  html.account-focused #content table.table tr {
    padding: 0.65rem 0;
    border-bottom: 1px solid #eef0f4;
  }

  html.account-focused #content table.table tr:last-child {
    border-bottom: 0;
  }

  html.account-focused #content table.table td {
    padding: 0.35rem 1rem;
    text-align: left !important;
  }

  html.account-focused #content .table-responsive {
    overflow: visible;
  }
}

@media (max-width: 575.98px) {
  html.account-focused #content .btn,
  html.account-focused #simple-checkout .btn {
    width: auto;
  }

  .acc-actions .btn {
    flex: 1 1 auto;
  }

  html.account-focused #account-login .btn.w-100,
  html.account-focused #account-register .btn-block,
  html.account-focused #account-forgotten .btn-block {
    width: 100%;
  }
}
