.account-page {
  padding-bottom: 55px;
}
.account-banner {
  height: 165px;
  background: url("../images/breadcumb.jpg") center/cover;
}
.account-banner .container-fluid {
  padding-top: 24px;
}
.account-crumb {
  font-size: 11px;
}
.account-crumb a {
  color: #526153;
  text-decoration: none;
}
.account-crumb i {
  font-size: 8px;
  margin: 0 9px;
}
.account-banner h1 {
  font-size: 31px;
  margin: 27px 0 4px;
  color: #123d1e;
}
.account-banner p {
  font-size: 13px;
  margin: 0;
}
.account-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 38px;
  padding-top: 20px;
}
.account-sidebar {
  border: 1px solid #e3e8df;
  border-radius: 7px;
  overflow: hidden;
  align-self: start;
}
.account-user {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #fff;
}
.account-user-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eaf2df;
  color: #739b42;
  font-size: 24px;
}
.account-user b,
.account-user small,
.account-user em {
  display: block;
  font-size: 11px;
}
.account-user small {
  margin-top: 3px;
}
.account-user em {
  font-style: normal;
  color: #4d8212;
  background: #eff7e6;
  padding: 3px 5px;
  margin-top: 5px;
  width: max-content;
}
.account-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  color: #253927;
  text-decoration: none;
  font-size: 11px;
  border-left: 3px solid transparent;
}
.account-sidebar nav a:hover,
.account-sidebar nav a.active {
  background: #f1f7e8;
  color: #467a12;
  border-color: #4d8910;
}
.account-sidebar nav i {
  font-size: 16px;
  width: 20px;
  color: #477f16;
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.account-stats a {
  position: relative;
  min-height: 94px;
  padding: 17px 15px;
  border: 1px solid #e2e8de;
  border-radius: 7px;
  color: #213925;
  text-decoration: none;
}
.account-stats span,
.account-stats b,
.account-stats small {
  display: block;
}
.account-stats span {
  font-size: 11px;
}
.account-stats b {
  font-family: "Playfair Display";
  font-size: 20px;
  margin: 7px 0;
}
.account-stats small {
  font-size: 10px;
  color: #3e7710;
}
.account-stats i {
  position: absolute;
  right: 14px;
  top: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f0f6e7;
  color: #4f8511;
  font-size: 20px;
}
.account-middle {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 18px;
  margin-top: 20px;
}
.account-card {
  border: 1px solid #e3e8df;
  border-radius: 7px;
  padding: 16px;
  background: #fff;
}
.account-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.account-card h2 {
  font-size: 16px;
  margin: 0;
}
.account-card header > a,
.account-card header > button {
  border: 0;
  background: none;
  color: #3d7410;
  font-size: 10px;
  text-decoration: none;
}
.recent-orders article {
  display: grid;
  grid-template-columns: 42px 1fr 70px 80px;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e6eae3;
  font-size: 10px;
}
.recent-orders img {
  width: 38px;
  height: auto;
  border: 1px solid #e1e7dd;
  border-radius: 4px;
}
.recent-orders b,
.recent-orders small {
  display: block;
}
.recent-orders small {
  color: #777;
  margin-top: 3px;
}
.recent-orders em {
  font-style: normal;
  color: #4c8410;
  background: #eef8e5;
  padding: 5px;
  text-align: center;
}
.recent-orders em.processing {
  color: #e98a00;
  background: #fff2dc;
}
.recent-orders strong {
  text-align: right;
  font-size: 12px;
}
.outline-account-btn {
  display: block;
  margin-top: 13px;
  padding: 9px;
  border: 1px solid #619631;
  color: #3f7610;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  font-size: 11px;
}
.quick-card > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  border-bottom: 1px solid #e5e9e2;
  color: #1e3522;
  text-decoration: none;
}
.quick-card > a > i:first-child {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f2f7eb;
  color: #4c8311;
  display: grid;
  place-items: center;
}
.quick-card > a span {
  flex: 1;
}
.quick-card b,
.quick-card small {
  display: block;
  font-size: 11px;
}
.quick-card small {
  font-size: 10px;
  color: #777;
  margin-top: 3px;
}
.quick-card > a > i:last-child {
  font-size: 11px;
}
.account-bottom {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 18px;
  margin-top: 20px;
}
.details-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 11px;
}
.details-card dt,
.details-card dd {
  padding: 10px 0;
  border-bottom: 1px solid #e5e9e2;
  margin: 0;
}
.details-card dd {
  text-align: right;
  font-weight: 700;
}
.details-card dd em {
  font-style: normal;
  color: #4d8410;
  background: #eef8e7;
  padding: 4px;
}
.details-card.editing {
  border-color: #76a143;
}
.saved-address-card article {
  display: grid;
  grid-template-columns: 110px 1fr 30px 30px;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e4e9e0;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 10px;
}
.saved-address-card article > em {
  font-style: normal;
  color: #fff;
  background: #4e8610;
  padding: 5px 7px;
  height: max-content;
}
.saved-address-card article > em.office {
  color: #475d42;
  background: #eef1e8;
}
.saved-address-card b {
  font-size: 11px;
}
.saved-address-card p {
  line-height: 1.45;
  margin: 3px 0;
}
.saved-address-card button {
  align-self: center;
  border: 0;
  background: #f5f7f2;
  color: #1c351f;
  border-radius: 50%;
  width: 27px;
  height: 27px;
}
.saved-address-card article.selected {
  border-color: #78a448;
  background: #fbfdf8;
}
@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 190px 1fr;
    gap: 18px;
  }
  .account-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .account-middle,
  .account-bottom {
    grid-template-columns: 1fr;
  }
  .saved-address-card article {
    grid-template-columns: 100px 1fr 30px 30px;
  }
}
@media (max-width: 650px) {
  .account-layout {
    display: block;
  }
  .account-sidebar {
    margin-bottom: 15px;
  }
  .account-sidebar nav {
    display: flex;
    overflow: auto;
  }
  .account-sidebar nav a {
    white-space: nowrap;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }
  .account-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .account-middle,
  .account-bottom {
    margin-top: 12px;
  }
  .recent-orders article {
    grid-template-columns: 38px 1fr 65px;
  }
  .recent-orders strong {
    grid-column: 2/-1;
    text-align: left;
  }
  .saved-address-card article {
    grid-template-columns: 1fr 30px 30px;
  }
  .saved-address-card article > em {
    grid-column: 1/-1;
    width: max-content;
  }
  .account-banner h1 {
    margin-top: 20px;
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .account-banner {
    height: 130px;
  }
  .account-banner h1 {
    font-size: 20px;
  }
  .account-banner p {
    font-size: 12px;
  }
  .account-stats b {
    font-size: 17px;
  }
  .account-card h2 {
    font-size: 14px;
  }
  .account-user-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}
