/* Дополнительные стили — навигация, футер, формы новых страниц */
:root {
  --onix-purple: #6a1b9a;
  --onix-pink: #b10061;
  --onix-green: #3aa84c;
  --onix-text: #1c1c1c;
}

.top_nav {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-family: "K2D", "Noto Sans Thai", sans-serif;
}
.top_nav_logo {
  font-family: "Itim", "Baloo Chettan 2", cursive;
  font-size: 32px;
  color: var(--onix-purple);
  text-decoration: none;
  font-weight: 700;
}
.top_nav_list {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.top_nav_list a {
  color: var(--onix-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}
.top_nav_list a:hover {
  color: var(--onix-purple);
}
.top_nav_cta {
  background: var(--onix-pink);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 24px;
}

/* On SEO pages the nav sits over a purple gradient hero — make text light */
.seo_page .top_nav {
  position: relative;
  background: linear-gradient(135deg, #6a1b9a 0%, #b10061 100%);
  padding: 14px 24px;
}
.seo_page .top_nav_logo {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.seo_page .top_nav_list a {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.seo_page .top_nav_list a:hover {
  color: #ffe9f3;
}
.seo_page .top_nav_cta {
  background: #fff;
  color: var(--onix-pink) !important;
  text-shadow: none;
}
.seo_page .top_nav_cta:hover {
  background: #ffe9f3;
}
/* The nav already provides the gradient background, so the hero below
   should not duplicate the top rounded edge — keep it visually continuous */
.seo_page .seo_hero {
  padding-top: 50px;
}
@media (max-width: 900px) {
  .top_nav {
    position: relative;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  .top_nav_list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .top_nav_list a {
    font-size: 14px;
  }
}

.site_footer {
  background: #2a0d3a;
  color: #fff;
  padding: 32px 0 28px;
  font-family: "K2D", "Noto Sans Thai", sans-serif;
  text-align: center;
}
.site_footer .limit {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.footer_nav a {
  color: #f3d1e3;
  text-decoration: none;
  font-size: 15px;
}
.footer_nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer_copy {
  font-size: 13px;
  color: #d0b1c0;
  margin: 0;
}

.prices {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 14px;
}
.prices ._new {
  font-family: "Itim", cursive;
  font-size: 36px;
  font-weight: 700;
  color: var(--onix-green);
}
.prices ._old {
  font-size: 22px;
  color: #999;
  text-decoration: line-through;
}
.form_note {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin: 10px 0 0;
}
.form_msg {
  text-align: center;
  margin: 8px 0 0;
  font-size: 14px;
  min-height: 18px;
}
.form_msg.error {
  color: #c62828;
}
.form_msg.success {
  color: var(--onix-green);
}
.submit-form[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* SEO-страницы — общий лейаут */
.seo_page {
  font-family: "K2D", "Noto Sans Thai", sans-serif;
  color: var(--onix-text);
  line-height: 1.7;
  background: #fff;
}
.seo_hero {
  background: linear-gradient(135deg, #6a1b9a 0%, #b10061 100%);
  color: #fff;
  padding: 70px 24px 60px;
  text-align: center;
}
.seo_hero h1 {
  font-family: "Itim", cursive;
  font-size: clamp(28px, 5vw, 48px);
  margin: 0 0 12px;
}
.seo_hero p {
  font-size: 18px;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}
.seo_wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 24px;
}
.seo_wrap h2 {
  font-family: "Itim", cursive;
  font-size: 30px;
  color: var(--onix-purple);
  margin: 36px 0 14px;
}
.seo_wrap h3 {
  font-size: 22px;
  color: var(--onix-pink);
  margin: 24px 0 10px;
}
.seo_wrap p,
.seo_wrap li {
  font-size: 17px;
}
.seo_wrap ul,
.seo_wrap ol {
  padding-left: 22px;
}
.seo_wrap img.inline {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 24px 0;
  display: block;
  box-shadow: 0 10px 32px rgba(106, 27, 154, 0.12);
}
.seo_wrap figure.banner_figure {
  margin: 28px 0;
  text-align: center;
}
.seo_wrap figure.banner_figure img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 12px 36px rgba(106, 27, 154, 0.14);
}
.seo_wrap figure.banner_figure figcaption {
  font-size: 14px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}
.banner_split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 28px 0;
}
.banner_split img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(106, 27, 154, 0.12);
}
@media (max-width: 700px) {
  .banner_split { grid-template-columns: 1fr; }
}
.seo_card_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.seo_card {
  background: #fdf6fb;
  border: 1px solid #f0d9e6;
  border-radius: 14px;
  padding: 22px;
}
.seo_card h3 {
  margin-top: 0;
  font-size: 19px;
}
.seo_card p {
  font-size: 15px;
  margin: 0;
}
.seo_table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
.seo_table th,
.seo_table td {
  border: 1px solid #e5d1de;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.seo_table th {
  background: #f6e5f0;
  color: var(--onix-purple);
}
.cta_band {
  background: var(--onix-purple);
  color: #fff;
  text-align: center;
  padding: 36px 24px;
  margin: 40px 0;
  border-radius: 16px;
}
.cta_band h2 {
  color: #fff;
  margin: 0 0 10px;
}
.cta_band .btn_buy {
  display: inline-block;
  background: var(--onix-green);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 600;
  margin-top: 12px;
  transition: transform 0.2s;
}
.cta_band .btn_buy:hover {
  transform: scale(1.04);
}

.review_card {
  background: #fff;
  border: 1px solid #ecd6e3;
  border-radius: 14px;
  padding: 22px;
  margin: 18px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items: start;
}
.review_card .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b10061, #6a1b9a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-family: "Itim", cursive;
}
.review_card .stars {
  color: #f5b400;
  font-size: 18px;
  margin: 0 0 4px;
}
.review_card .name {
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--onix-purple);
}

.faq_item {
  border-bottom: 1px solid #e8d4e0;
  padding: 18px 0;
}
.faq_item .q {
  font-weight: 700;
  color: var(--onix-purple);
  font-size: 17px;
  margin: 0 0 8px;
}
.faq_item .a {
  font-size: 16px;
  margin: 0;
  color: #333;
}

.buy_layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.buy_layout img.box {
  max-width: 100%;
  height: auto;
}
.buy_form_card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(106, 27, 154, 0.18);
}
.buy_form_card h2 {
  margin: 0 0 8px;
  text-align: center;
}
.buy_form_card .prices {
  margin-bottom: 18px;
}
.buy_form_card input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #d5b9c8;
  border-radius: 10px;
  margin: 8px 0;
  font-family: inherit;
  box-sizing: border-box;
}
.buy_form_card input:focus {
  outline: none;
  border-color: var(--onix-purple);
}
.buy_form_card button {
  width: 100%;
  background: var(--onix-pink);
  color: #fff;
  border: 0;
  padding: 16px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}
.buy_form_card button:hover {
  background: var(--onix-purple);
}
@media (max-width: 800px) {
  .buy_layout {
    grid-template-columns: 1fr;
  }
}

.thanks_box {
  max-width: 620px;
  margin: 80px auto;
  padding: 50px 28px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(106, 27, 154, 0.14);
}
.thanks_box .check {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--onix-green);
  color: #fff;
  font-size: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
