img,
svg {
  display: block;
}
.hero-text-discount-after,
.hero-title-span {
  background-color: var(--rose);
}
.btn,
.hero-btn-main {
  background: var(--rose);
  box-shadow: 0 12px 24px rgba(242, 166, 194, 0.35);
}
.answer,
.no-scroll,
.visually-hidden {
  overflow: hidden;
}
.faq-title,
.footer-privacy-text,
.guide-text,
.guide-title,
.hero-text-before-discount-price,
.pay-link,
.swiper-slide {
  text-align: center;
}
:root {
  --beige: rgb(248, 243, 238);
  --blush: #f7d9e4;
  --mint: #d9f1ea;
  --lavender: #e7dff4;
  --rose: #f2a6c2;
  --rose-2: #e75c7d;
  --text: #3c2f38;
  --muted: rgb(110, 90, 100);
  --white: rgb(255, 255, 255);
  --shadow: 0 18px 40px rgba(92, 64, 78, 0.15);
  --font-size-title: 22px;
  --padding-section: 2rem 0;
  --border-radius: 8px;
}
*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Poppins, Comfortaa, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--beige), #fff);
  line-height: 1.6;
  padding-bottom: 60px;
}
a,
h1,
h2,
h3,
h4,
h5,
h6,
img,
ol,
p,
ul {
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style-type: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
}
button {
  cursor: pointer;
}
address {
  font-style: normal;
}
section {
  scroll-margin-top: 50%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
svg {
  margin: 0 auto;
}
.container {
  max-width: 400px;
  padding: 0 10px;
  margin: 0 auto;
}
.btn {
  border: none;
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.hero {
  padding: var(--padding-section);
}
.hero-content {
  position: relative;
}
.hero-image {
  position: absolute;
  top: 70px;
  width: 100%;
}
.advantages-title,
.hero-title,
.pay-title,
.title-guide-for-you {
  font-weight: 700;
  text-align: center;
  font-size: var(--font-size-title);
}
.hero-text {
  font-weight: 700;
  margin-top: 1rem;
}

.hero-text-discount {
  position: absolute;
  z-index: 2;
  top: 110px;
  right: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--rose);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.discount {
  transform: translateX(-40px);
}
.hero-text-price-before {
  text-decoration: line-through;
  color: rgba(0, 0, 0, 0.6);
  font-size: 22px;
}
.hero-text-discount-after {
  position: absolute;
  z-index: 2;
  top: 310px;
  left: 24px;
  font-size: 27px;
  border-radius: 4px;
  font-weight: 700;
  color: var(--white);
  padding: 4px 10px;
  transform: rotate(-7deg);
}

.hero-buttons {
  display: flex;
  width: calc(100% - 90px);
  margin: 1rem 45px 0;
  gap: 0;
}

.hero-btn-main {
  color: black;
  width: 100%;
}
.hero-btn {
  background: 0 0;
  border: 1px solid rgba(60, 47, 56, 0.25);
  color: var(--text);
}
.advantage-img,
.advantage-item,
.author-img,
.img-guide-for-you,
.pay-link {
  min-width: 260px;
  border-radius: var(--border-radius);
}
.hero-btn-main:hover,
.hero-btn:hover {
  transform: translateY(-2px);
}
.hero-list-advantages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 280px;
  gap: 3px;
}
.hero-list-advantages-item {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid var(--blush);
}
.hero-list-advantages-item p {
  font-size: 13px;
}
.hero-list-advantages-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.hero-text-before-discount-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: rgba(46, 47, 66, 0.4);
}
.about-author,
.advantages,
.faq,
.feedback,
.footer,
.guide,
.guide-for-you,
.pay {
  padding: var(--padding-section);
}
.item-color {
  font-weight: 700;
  color: var(--rose-2);
}
.advantages-items,
.footer-social-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}
.guide-items,
.guide-text-container {
  flex-direction: column;
  display: flex;
}
.advantage-item {
  background: var(--white);
  padding: 1rem;
  box-shadow: 8px 5px 8px 5px rgba(92, 64, 78, 0.1);
  color: var(--muted);
  font-size: 0.95rem;
}
.advantage-img,
.author-img {
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 1rem;
}
.guide-text {
  margin-top: 1rem;
}
.guide-items {
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 1rem;
}
.guide-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.guide-social-icon {
  flex-shrink: 0;
  stroke: #6e5a64;
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.guide-item-title {
  margin-bottom: 10px;
}
.about-author-content-title-main {
  text-align: center;
}

.about-author-content-title {
  margin: 1rem 0;
}
.about-author-content,
.faq-questions,
.pay-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.pay-title {
  font-size: 18px;
}
.pay-time {
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.pay-time-container {
  font-size: 24px;
  min-width: 133px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius);
}
/* .pay-time-container:last-child {
  border-right: none;
} */
.pay-time-container div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.pay-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.hero-text-before-discount-price {
  position: absolute;
  top: 20px;
  right: 50%;
}

.pay-link {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background-color: var(--rose);
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}
.swiper {
  position: relative;
  height: 180px;
  width: 100%;
}
.swiper-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.feedback-img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}
.swiper-button-next,
.swiper-button-prev {
  width: 30px !important;
  height: 30px !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px !important;
  color: var(--text);
}
.swiper-button-prev {
  left: 1px !important;
}
.swiper-button-next {
  right: 1px !important;
}
.btn-guide-for-you {
  display: block;
  margin: 1rem auto 0;
}
.faq-title,
.guide-for-you-list {
  margin-bottom: 1rem;
}
.img-guide-for-you {
  max-height: 200px;
  object-fit: cover;
  object-position: 50% 25%;
}
.faq-title {
  font-size: var(--font-size-title);
}
.container-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question {
  border-bottom: 1px solid #ddd;
}
.question {
  flex: 1;
  font-weight: 500;
  font-size: 1.1rem;
  cursor: default;
}
.toggle-bth {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  line-height: 1;
  padding: 0;
}
.toggle-bth.active {
  transform: rotate(45deg);
}
.answer {
  max-height: 0;
  transition:
    max-height 0.2s,
    padding-top 0.2s,
    padding-bottom 0.2s;
  font-size: 1rem;
  color: #555;
  margin-left: 5px;
  flex-basis: 100%;
  padding: 0 5px;
}
.answer.active {
  max-height: 500px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.footer-privacy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-privacy-text {
  text-decoration: underline;
  font-weight: 700;
}
.footer-items-links {
  display: flex;
  gap: 2rem;
}
.footer-social-icon {
  stroke: #6e5a64;
}
.btn-buy-fixed {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  padding: 0 5px;
  z-index: 1000;
  display: flex;
  justify-content: center;
}
.btn-buy-fixed .btn-buy {
  background-color: var(--mint);
  width: 100%;
  color: var(--text);
  padding: 0.75rem 1.5rem;
  border: none;
  display: block;
  font-size: 1.125rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(238, 108, 77, 0.4);
  transition: background-color 0.3s;
}
.btn-buy-fixed .btn-buy:hover {
  background-color: #d85b3d;
}
