/* Account page – main container */
.page-account .woocommerce {
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px; /* як у фігмі */
  display: flex;
  gap: 35px; /* відступ між меню і контентом */
  box-sizing: border-box;
}

.ak-account {
  max-width: 1118px;
}

.page-account .entry-header {
  display: none;
}

.ak-account__title {
  font-family: var(--font-header);
  font-size: 45px;
  font-weight: 600;
  color: var(--ak-text-black);
  margin-bottom: 35px;
}

.ak-account-block {
  margin-bottom: 35px;
}

.ak-account-block__title {
  font-family: var(--ak-font-ui);
  font-size: 20px;
  color: var(--ak-text-black);
  margin-bottom: 20px;
}

.ak-account-grid {
  display: grid;
  grid-template-columns: repeat(2, 550px);
  row-gap: 20px;
  column-gap: 10px;
}

.ak-field input {
  width: 100%;
  height: 60px;
  padding: 0 15px;
  border-radius: var(--ak-radius-lg);
  border: 0;
  background-color: #fff !important;
  font-family: var(--ak-font-text);
  font-size: 16px;
  /* color: var(--ak-text-black); */
  color: var(--ak-black);
  font-weight: 500;
}

.ak-field input::placeholder {
  color: #757575;
  font-family: var(--ak-font-text);
  font-size: 16px;

  font-weight: 400;
  background-color: white;
}

.ak-field--full {
  grid-column: 1 / -1;
}

.ak-account-actions {
  margin-top: 46px;
}

.ak-btn--primary {
  display: inline-flex;
  padding: 0px 46px;
  background: var(--ak-green);
  color: #fff;
  border-radius: var(--ak-radius-lg);
  font-size: 16px;
  border: 0;
  cursor: pointer;
  height: 65px;
  align-items: center;
  justify-content: center;
  font-family: var(--ak-font-ui);
  font-weight: 600;
}

.ak-btn--primary:hover {
  background-color: var(--ak-green-hover);
  color: white;
}

/* === Sidebar === */
.page-account .ak-account-nav {
  width: 20%;
}

.ak-account-nav__title {
  font-family: var(--ak-font-ui);
  font-size: 20px;
  font-weight: 500;
  color: var(--ak-green);
  margin-bottom: 20px;
}

/* === Menu list === */
.ak-account-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === Item === */
.ak-account-nav__item {
  margin-bottom: 30px;
  color: var(--ak-black);
}

.ak-account-nav__item a {
  font-family: var(--ak-font-text);
  font-size: 16px;
  color: var(--ak-black);
  text-decoration: none !important;
}

/* === Active (Фото3) === */
.ak-account-nav__item.is-active a {
  color: var(--ak-green);
  font-weight: 500;
}
.woocommerce-MyAccount-content .ak-myaccount-banner {
  margin-top: 24px;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-height: 600px;
  background-image: url(/wp-content/uploads/2026/02/image-9.png);
  background-size: cover;
}

.woocommerce-MyAccount-content .ak-myaccount-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* якщо захочеш робити банер як блок з фоном */
.woocommerce-MyAccount-content .ak-myaccount-banner--bg {
  min-height: 220px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ak-auth-forgot {
  color: var(--ak-green);
  text-decoration: none;
}

.woocommerce-form.woocommerce-form-login input {
  background-color: white !important;
  margin-top: 10px;
}

.woocommerce-MyAccount-content .account-orders-subtitle {
  display: none;
}
/*----------------------------------------------------------media-------------------------------------------------------*/
@media (max-width: 1520px) {
  .ak-account-grid {
    grid-template-columns: repeat(2, 416px);
    row-gap: 20px;
    column-gap: 8px;
  }
}

@media (max-width: 1471px) {
  .ak-account__title {
    font-size: 34px;

    margin-bottom: 43px;
  }
  .ak-account-nav__item a {
    font-size: 14px;
  }
  .ak-account-nav__item {
    margin-bottom: 15px;
  }
  .ak-btn--primary {
    font-size: 14px;

    height: 55px;
  }
  .woocommerce-MyAccount-content .ak-myaccount-banner {
    min-height: 500px;
  }
}

@media (max-width: 1150px) {
  .ak-account-grid {
    grid-template-columns: repeat(2, auto);
  }
}
@media (max-width: 1025px) {
  .ak-account__title {
    margin-bottom: 20px;
  }
  .ak-account-nav__title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .ak-account-block__title {
    font-size: 16px;
  }
  .woocommerce-MyAccount-content .ak-myaccount-banner {
    min-height: 400px;
  }
}

@media (max-width: 968px) {
  .page-account .woocommerce {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .page-account .woocommerce {
    gap: 15px;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .ak-account-grid {
    grid-template-columns: repeat(1, auto);
    row-gap: 10px;
  }
}

@media (max-width: 426px) {
  .page-account .woocommerce {
    padding: 0 10px;
  }
  .ak-account__title {
    font-size: 24px;

    margin-bottom: 30px;
  }
  .ak-account-block {
    margin-bottom: 30px;
  }
  .woocommerce-MyAccount-content .ak-myaccount-banner {
    min-height: 280px;
  }
}
