/* =========================================================
   SPRINTSHIRT — ACCOUNT PAGE
========================================================= */

/* =========================================================
   SPRINTSHIRT — MY ACCOUNT MINIMAL CLEAN CSS
   Страница личного аккаунта
   ========================================================= */

body#my-account,
body.page-my-account {
  --ss-pink: #e6005c;
  --ss-orange: #ff8a00;
  --ss-border: #eeeeee;
  --ss-border-pink: rgba(230, 0, 92, 0.24);
  --ss-soft: #fff7fb;
  --ss-dark: #111111;
  --ss-muted: #777777;
}

/* =========================================================
   PAGE BASE
   ========================================================= */

body#my-account #wrapper,
body.page-my-account #wrapper {
  padding-top: 42px !important;
  padding-bottom: 60px !important;
  background: #ffffff !important;
}

body#my-account #main,
body.page-my-account #main {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body#my-account #content-wrapper,
body.page-my-account #content-wrapper {
  background: #ffffff !important;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */

body#my-account .breadcrumb-wrapper,
body.page-my-account .breadcrumb-wrapper {
  background: #ffffff !important;
  border-top: 1px solid #f2f2f2 !important;
  border-bottom: 1px solid #f2f2f2 !important;
}

body#my-account .breadcrumb,
body.page-my-account .breadcrumb {
  padding: 13px 0 !important;
  background: transparent !important;
}

body#my-account .breadcrumb a,
body#my-account .breadcrumb span,
body.page-my-account .breadcrumb a,
body.page-my-account .breadcrumb span {
  color: #333333 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

body#my-account .breadcrumb li:last-child a,
body#my-account .breadcrumb li:last-child span,
body.page-my-account .breadcrumb li:last-child a,
body.page-my-account .breadcrumb li:last-child span {
  color: var(--ss-pink) !important;
}

/* =========================================================
   TITLE
   ========================================================= */

body#my-account .page-header,
body.page-my-account .page-header {
  margin: 0 0 34px !important;
  padding: 0 !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#my-account .page-header h1,
body.page-my-account .page-header h1 {
  margin: 0 !important;
  padding: 0 !important;

  color: var(--ss-dark) !important;
  font-size: 34px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  text-transform: none !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#my-account .page-header h1::before,
body#my-account .page-header h1::after,
body.page-my-account .page-header h1::before,
body.page-my-account .page-header h1::after {
  display: none !important;
  content: none !important;
}

/* =========================================================
   ACCOUNT GRID
   ========================================================= */

body#my-account .page-content,
body.page-my-account .page-content {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#my-account .page-content > .row,
body.page-my-account .page-content > .row {
  margin: 0 !important;
}

body#my-account .page-content .links,
body.page-my-account .page-content .links {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;

  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#my-account .page-content .links > a,
body.page-my-account .page-content .links > a {
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
  float: none !important;

  color: inherit !important;
  text-decoration: none !important;
}

/* =========================================================
   CARDS
   ========================================================= */

body#my-account .page-content .links .link-item,
body.page-my-account .page-content .links .link-item {
  min-height: 132px !important;
  padding: 24px 20px !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 13px !important;

  background: #ffffff !important;
  border: 1px solid var(--ss-border) !important;
  border-radius: 18px !important;
  box-shadow: none !important;

  color: #111111 !important;
  text-align: center !important;

  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.01em !important;

  overflow: hidden !important;

  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease,
    transform .18s ease !important;
}

body#my-account .page-content .links .link-item::before,
body.page-my-account .page-content .links .link-item::before {
  display: none !important;
  content: none !important;
}

body#my-account .page-content .links > a:hover .link-item,
body.page-my-account .page-content .links > a:hover .link-item {
  background: #ffffff !important;
  border-color: var(--ss-pink) !important;
  color: var(--ss-pink) !important;
  transform: translateY(-2px) !important;
  box-shadow: none !important;
}

/* =========================================================
   ICONS
   ========================================================= */

body#my-account .page-content .links .link-item i,
body.page-my-account .page-content .links .link-item i,
body#my-account .page-content .links .link-item .material-icons,
body.page-my-account .page-content .links .link-item .material-icons {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #ffffff !important;
  border: 1px solid var(--ss-border-pink) !important;
  border-radius: 14px !important;
  box-shadow: none !important;

  color: var(--ss-pink) !important;
  font-size: 26px !important;
  line-height: 1 !important;

  overflow: hidden !important;
  transform: none !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease !important;
}

body#my-account .page-content .links .link-item i::before,
body#my-account .page-content .links .link-item .material-icons::before,
body.page-my-account .page-content .links .link-item i::before,
body.page-my-account .page-content .links .link-item .material-icons::before {
  display: none !important;
  content: none !important;
}

body#my-account .page-content .links > a:hover .link-item i,
body.page-my-account .page-content .links > a:hover .link-item i,
body#my-account .page-content .links > a:hover .link-item .material-icons,
body.page-my-account .page-content .links > a:hover .link-item .material-icons {
  background: var(--ss-pink) !important;
  border-color: var(--ss-pink) !important;
  color: #ffffff !important;
  transform: none !important;
}

/* =========================================================
   LOGOUT
   ========================================================= */

body#my-account .page-footer,
body.page-my-account .page-footer {
  margin: 30px 0 0 !important;
  padding: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  text-align: center !important;
}

body#my-account .page-footer a,
body.page-my-account .page-footer a {
  min-width: 160px !important;
  min-height: 42px !important;
  padding: 0 22px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #ffffff !important;
  border: 1px solid var(--ss-border-pink) !important;
  border-radius: 12px !important;
  box-shadow: none !important;

  color: var(--ss-pink) !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-decoration: none !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease !important;
}

body#my-account .page-footer a:hover,
body.page-my-account .page-footer a:hover {
  background: var(--ss-pink) !important;
  border-color: var(--ss-pink) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* =========================================================
   HEADER ICON FIX ONLY ON ACCOUNT PAGE
   ========================================================= */

body#my-account .header-nav a::before,
body#my-account .header-nav button::before,
body#my-account .user-info::before,
body#my-account .an_wishlist-nav-link::before,
body#my-account .blockcart::before,
body.page-my-account .header-nav a::before,
body.page-my-account .header-nav button::before,
body.page-my-account .user-info::before,
body.page-my-account .an_wishlist-nav-link::before,
body.page-my-account .blockcart::before {
  content: none !important;
  display: none !important;
}

body#my-account .header-nav svg path,
body.page-my-account .header-nav svg path {
  fill: #111111 !important;
}

body#my-account .header-nav a:hover svg path,
body.page-my-account .header-nav a:hover svg path {
  fill: var(--ss-pink) !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {
  body#my-account .page-content .links,
  body.page-my-account .page-content .links {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body#my-account #wrapper,
  body.page-my-account #wrapper {
    padding-top: 28px !important;
    padding-bottom: 44px !important;
  }

  body#my-account .page-header,
  body.page-my-account .page-header {
    margin-bottom: 24px !important;
  }

  body#my-account .page-header h1,
  body.page-my-account .page-header h1 {
    font-size: 28px !important;
  }

  body#my-account .page-content .links,
  body.page-my-account .page-content .links {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body#my-account .page-content .links .link-item,
  body.page-my-account .page-content .links .link-item {
    min-height: 84px !important;
    padding: 16px 18px !important;

    flex-direction: row !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 14px !important;

    border-radius: 14px !important;
  }

  body#my-account .page-content .links .link-item i,
  body.page-my-account .page-content .links .link-item i,
  body#my-account .page-content .links .link-item .material-icons,
  body.page-my-account .page-content .links .link-item .material-icons {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;

    font-size: 24px !important;
    border-radius: 12px !important;
  }

  body#my-account .page-footer a,
  body.page-my-account .page-footer a {
    width: 100% !important;
  }
}
