.payment-page__container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  .payment-page__container {
    padding: 0 20px;
  }
}

.payment-tabs {
  display: flex;
  gap: 24px;
  margin: 24px 0 40px;
}
@media screen and (max-width: 1024px) {
  .payment-tabs {
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 28px;
  }
}

.payment-tabs__item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0b70cf;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
@media screen and (max-width: 1024px) {
  .payment-tabs__item {
    flex: 1 1 calc(50% - 6px);
  }
}
@media screen and (max-width: 767px) {
  .payment-tabs__item {
    flex: 1 1 100%;
  }
}
.payment-tabs__item:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .payment-tabs__item:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}
.payment-tabs__item.is-active {
  background: #ffe3cb;
  border-color: rgba(235, 122, 27, 0.4);
  color: #eb7a1b;
}

.price-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  .price-item {
    align-items: flex-start;
  }
}

.price-item__amount {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  height: 36px;
  padding: 0 12px;
  background: rgba(11, 112, 207, 0.1);
  border-radius: 4px;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #0b70cf;
  white-space: nowrap;
}

.price-item__desc {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  color: #04083a;
  line-height: 1.5;
}
.price-item__desc strong {
  font-weight: 600;
}

.payment-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .payment-cols {
    grid-template-columns: 1fr;
  }
}
.payment-cols .payment-section {
  min-width: 0;
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 0;
}
@media screen and (max-width: 1024px) {
  .payment-cols .payment-section {
    padding: 24px;
  }
}

.payment-section {
  margin-bottom: 40px;
}

.payment-card {
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 8px;
  padding: 32px;
}
@media screen and (max-width: 1024px) {
  .payment-card {
    padding: 24px;
  }
}

.payment-section__title {
  font-family: "Fixel Display", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.8px;
  color: #04083a;
  text-align: center;
  margin: 0 0 40px;
}
@media screen and (max-width: 1024px) {
  .payment-section__title {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 28px;
  }
}

.payment-section__subtitle {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #04083a;
  margin: 0 0 12px;
}

.payment-section__intro {
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  color: #7a7d98;
  line-height: 1.5;
  margin: 0 0 24px;
}

.payment-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: rgba(11, 112, 207, 0.08);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 40px;
  text-align: center;
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #0b70cf;
}
.payment-notice p {
  margin: 0 0 8px;
}
.payment-notice p:last-child {
  margin-bottom: 0;
}
.payment-notice a {
  color: #eb7a1b;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.payment-notice a:active {
  color: rgb(188, 97.6, 21.6);
}
@media screen and (min-width: 1025px) {
  .payment-notice a:hover {
    color: rgb(188, 97.6, 21.6);
  }
}
@media screen and (max-width: 1024px) {
  .payment-notice {
    gap: 16px;
    padding: 20px;
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.4;
  }
}

.payment-notice__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
@media screen and (max-width: 1024px) {
  .payment-notice__icon {
    width: 32px;
    height: 32px;
  }
}

.payment-section__empty {
  color: #7a7d98;
  font-size: 15px;
  padding: 20px 0;
}

.payment-link {
  display: inline-block;
  margin-top: 16px;
  color: #eb7a1b;
  font-family: "Work Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.payment-link:active {
  color: rgb(8.8, 89.6, 165.6);
}
@media screen and (min-width: 1025px) {
  .payment-link:hover {
    color: rgb(8.8, 89.6, 165.6);
  }
}

.leocard-images {
  display: block;
  width: 100%;
  max-width: 362px;
  height: auto;
  margin: 16px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid #a7ccee;
  border-radius: 4px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  font-size: 24px;
  font-weight: 600;
  line-height: 27px;
  letter-spacing: -0.48px;
  color: #04083a;
  cursor: pointer;
  list-style: none;
  gap: 16px;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:active {
  color: #0b70cf;
}
@media screen and (min-width: 1025px) {
  .faq-item summary:hover {
    color: #0b70cf;
  }
}
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%230b70cf'%3E%3Cpath d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E");
  background-size: cover;
  transition: transform 0.2s;
}
.faq-item[open] summary {
  padding-bottom: 16px;
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item__a.content {
  padding: 0 32px 32px;
  max-width: none;
}
.faq-item__a.content p,
.faq-item__a.content ul,
.faq-item__a.content ol {
  font-size: 20px;
  line-height: 32px;
  color: rgba(4, 8, 58, 0.52);
}
.faq-item__a.content p:not(:last-child) {
  margin-bottom: 32px;
}
.faq-item__a.content > :last-child {
  margin-bottom: 0;
}

.payment-section .content {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(4, 8, 58, 0.52);
}
.payment-section .content h3 {
  font-family: "Work Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #04083a;
  margin: 0 0 16px;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li {
  padding-left: 32px;
  margin-bottom: 16px;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li::before {
  content: "";
  width: 20px;
  height: 20px;
  top: 2px;
  border-radius: 0;
  background-color: #0b70cf;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24a104,104,0,1,0,104,104A104.11,104.11,0,0,0,128,24Z' opacity='0.2'/%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M128,24a104,104,0,1,0,104,104A104.11,104.11,0,0,0,128,24Z' opacity='0.2'/%3E%3Cpath d='M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li ul li {
  padding-left: 16px;
  margin-bottom: 8px;
  color: #7a7d98;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li ul li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.payment-section .content > ul:not(.blocks-gallery-grid):not(.selectric-items) > li ul li:last-child {
  margin-bottom: 0;
}
