/* Customer account area */
[id^="account-"].container {
  max-width: 1200px;
  padding-bottom: 34px;
}

[id^="account-"] .breadcrumb {
  background: #f7f8fa;
  border: 1px solid #eceff3;
  border-radius: 8px;
  margin: 14px 0 18px;
  padding: 10px 14px;
}

[id^="account-"] .breadcrumb > li + li:before {
  color: #9aa1aa;
}

[id^="account-"] #content {
  min-height: 420px;
}

[id^="account-"] #content > h1,
[id^="account-"] #content > h2,
.account-page-title {
  border-bottom: 1px solid #e8ebef;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 18px;
  padding: 0 0 14px;
}

[id^="account-"] #content > h1:after,
[id^="account-"] #content > h2:after,
.account-page-title:after {
  background: #8f99a8;
  border-radius: 999px;
  content: "";
  display: block;
  height: 3px;
  margin-top: 12px;
  width: 54px;
}

.account-dashboard-header {
  align-items: center;
  background: #f7f8fa;
  border: 1px solid #e8ebef;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 16px 18px;
}

.account-dashboard-welcome {
  color: #5f6873;
  font-size: 14px;
}

.account-dashboard-name {
  color: #25292e;
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-top: 2px;
}

.account-dashboard-logout {
  background: #fff;
  border: 1px solid #d9dee5;
  border-radius: 6px;
  color: #4f5863;
  font-weight: 600;
  padding: 9px 14px;
  text-decoration: none;
}

.account-dashboard-logout:hover,
.account-dashboard-logout:focus {
  background: #eef1f4;
  color: #222;
  text-decoration: none;
}

.account-dashboard-section {
  margin-bottom: 22px;
}

.account-dashboard-section-title {
  color: #31363d;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
}

.account-dashboard-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-dashboard-card {
  align-items: center;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  color: #30363d;
  display: flex;
  min-height: 88px;
  padding: 16px;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.account-dashboard-card:hover,
.account-dashboard-card:focus {
  border-color: #cfd5dd;
  box-shadow: 0 8px 20px rgba(30, 37, 46, .08);
  color: #111;
  text-decoration: none;
  transform: translateY(-1px);
}

.account-dashboard-card-icon {
  align-items: center;
  background: #f2f4f7;
  border-radius: 8px;
  color: #596473;
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  margin-right: 12px;
  width: 42px;
}

.account-dashboard-card:nth-child(6n+1) .account-dashboard-card-icon {
  background: #eef6ff;
  color: #2f6fb0;
}

.account-dashboard-card:nth-child(6n+2) .account-dashboard-card-icon {
  background: #f1f8f4;
  color: #3b8a59;
}

.account-dashboard-card:nth-child(6n+3) .account-dashboard-card-icon {
  background: #fff7e8;
  color: #b27622;
}

.account-dashboard-card:nth-child(6n+4) .account-dashboard-card-icon {
  background: #f5f1ff;
  color: #7056a8;
}

.account-dashboard-card:nth-child(6n+5) .account-dashboard-card-icon {
  background: #eef8f8;
  color: #3b8588;
}

.account-dashboard-card:nth-child(6n) .account-dashboard-card-icon {
  background: #fff0f0;
  color: #ad5656;
}

.account-dashboard-card-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.account-panel,
[id^="account-"] .table-responsive,
[id^="account-"] form.form-horizontal,
[id^="account-"] #content > p,
[id^="account-"] .well {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  box-shadow: none;
  margin-bottom: 18px;
  padding: 18px;
}

[id^="account-"] form.form-horizontal fieldset + fieldset {
  margin-top: 20px;
}

[id^="account-"] legend {
  border-bottom: 1px solid #e8ebef;
  color: #30363d;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
}

[id^="account-"] .form-group {
  margin-bottom: 16px;
}

[id^="account-"] .control-label {
  color: #4d5661;
  font-weight: 600;
}

[id^="account-"] .form-control {
  border-color: #d9dee5;
  border-radius: 6px;
  box-shadow: none;
  min-height: 40px;
}

[id^="account-"] .form-control:focus {
  border-color: #9aa5b1;
  box-shadow: 0 0 0 3px rgba(143, 153, 168, .16);
}

[id^="account-"] .table {
  margin-bottom: 0;
}

[id^="account-"] .table > thead > tr > td,
[id^="account-"] .table > thead > tr > th {
  background: #f7f8fa;
  border-bottom: 1px solid #e3e7ec;
  color: #3e4650;
  font-weight: 700;
  padding: 14px 16px;
}

[id^="account-"] .table > tbody > tr > td,
[id^="account-"] .table > tbody > tr > th {
  border-top: 1px solid #edf0f3;
  padding: 14px 16px;
  vertical-align: middle;
}

[id^="account-"] .table-bordered,
[id^="account-"] .table-bordered > thead > tr > td,
[id^="account-"] .table-bordered > tbody > tr > td,
[id^="account-"] .table-bordered > tfoot > tr > td {
  border-color: #edf0f3;
}

[id^="account-"] .buttons {
  align-items: center;
  border-top: 1px solid #e8ebef;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
}

[id^="account-"] .buttons:before,
[id^="account-"] .buttons:after {
  content: none;
  display: none;
}

[id^="account-"] .btn {
  border-radius: 6px;
  font-weight: 600;
}

[id^="account-"] .btn-primary,
[id^="account-"] .btn-info {
  background: #343a40;
  border-color: #343a40;
  color: #fff;
}

[id^="account-"] .btn-primary:hover,
[id^="account-"] .btn-primary:focus,
[id^="account-"] .btn-info:hover,
[id^="account-"] .btn-info:focus {
  background: #1f2327;
  border-color: #1f2327;
}

[id^="account-"] .btn-default {
  background: #fff;
  border-color: #d9dee5;
  color: #4f5863;
}

[id^="account-"] .btn-danger {
  background: #fff;
  border-color: #d7a6a6;
  color: #9d3b3b;
}

[id^="account-"] .alert {
  border-radius: 8px;
}

.account-empty-state {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  color: #626c78;
  margin-bottom: 18px;
  padding: 28px 18px;
  text-align: center;
}

.account-empty-state i {
  color: #a8b0ba;
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}

.account-summary-card {
  align-items: center;
  background: #f7f8fa;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px;
}

.account-summary-card span {
  color: #65707c;
  font-weight: 600;
}

.account-summary-card strong {
  color: #222;
  font-size: 20px;
}

.account-order-id {
  color: #25292e;
  font-weight: 800;
}

.account-order-mobile {
  display: none;
}

.account-order-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 14px;
}

.account-order-card-header {
  align-items: center;
  border-bottom: 1px solid #edf0f3;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.account-order-card-id {
  color: #25292e;
  font-size: 17px;
  font-weight: 800;
}

.account-order-card-body {
  display: grid;
  gap: 9px;
  margin-bottom: 14px;
}

.account-order-card-row {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.account-order-card-row span {
  color: #68717d;
  font-size: 13px;
  font-weight: 600;
}

.account-order-card-row strong {
  color: #25292e;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

#account-order #content > table.table {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  margin-bottom: 22px;
  overflow: hidden;
}

#account-order #content > table.table + .table-responsive,
#account-order #content > table.table + h3,
#account-order #content > .table-responsive + h3,
#account-order #content > .table-responsive + .os-otica-customer-grid {
  margin-top: 22px;
}

#account-order #content > .table-responsive {
  margin-bottom: 22px;
}

#account-order #content > h3 {
  color: #30363d;
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 14px;
}

#account-order .table td {
  line-height: 1.55;
}

#account-order .order-product-image {
  max-width: 92px;
}

.account-wishlist-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-wishlist-card {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 14px;
}

.account-wishlist-image {
  align-items: center;
  background: #f7f8fa;
  border-radius: 8px;
  display: flex;
  height: 110px;
  justify-content: center;
  overflow: hidden;
}

.account-wishlist-image img {
  max-height: 100%;
  max-width: 100%;
}

.account-wishlist-name {
  color: #222;
  display: block;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
}

.account-wishlist-meta {
  color: #65707c;
  font-size: 13px;
  margin-bottom: 5px;
}

.account-wishlist-price {
  color: #222;
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 12px;
}

.account-wishlist-price s {
  color: #8d96a1;
  font-size: 13px;
  font-weight: 400;
  margin-left: 6px;
}

.account-wishlist-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

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

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

@media (max-width: 767px) {
  [id^="account-"].container {
    max-width: 100%;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
  }

  [id^="account-"] > .row {
    margin-left: 0;
    margin-right: 0;
  }

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

  [id^="account-"] #content.col-sm-9 {
    margin-top: 10px !important;
  }

  [id^="account-"] .breadcrumb {
    display: none;
  }

  .account-dashboard-header,
  .account-summary-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .account-dashboard-card {
    min-height: 72px;
  }

  [id^="account-"] .buttons {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  [id^="account-"] .buttons .pull-left,
  [id^="account-"] .buttons .pull-right {
    float: none !important;
    width: 100%;
  }

  [id^="account-"] .buttons .btn,
  [id^="account-"] .buttons input[type="submit"] {
    width: 100%;
  }

  .account-wishlist-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .account-wishlist-image {
    height: 86px;
  }

  .account-order-desktop {
    display: none;
  }

  .account-order-mobile {
    display: block;
  }

  .account-order-card-header {
    align-items: flex-start;
    gap: 10px;
  }
}
