/* =========================================================
   home.css  —  استایل صفحه‌ی خانه
   مسیر: theme-home/assets/css/home.css
   ========================================================= */

/* =========================================================
   ۱. Header2 — هیرو اصلی
   ========================================================= */
.header2 {
  background: #faf3e6;
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.header2 .bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: var(--cl-theme);
}

.header2 .bg-inner {
  position: absolute;
  left: 0;
  top: -15%;
  width: 100%;
  height: 130%;
  will-change: transform;
}

.header2 .bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.header2 .bg .bg-img-mobile { display: block; }
.header2 .bg .bg-img-desktop { display: none; }

@media (min-width: 768px) {
  .header2 .bg .bg-img-mobile { display: none; }
  .header2 .bg .bg-img-desktop { display: block; }
}

.header2 .overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* =========================================================
   ۲. محتوای هیرو
   ========================================================= */
.header2 .content {
  position: absolute;
  top: 30%;
  right: 0;
  left: 0;
  padding: 0 4rem;
  text-align: right;
  color: #faf3e6;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .header2 .content {
    padding: 0 2.4rem;
    top: 28%;
  }
}

.header2 .title {
  font-size: clamp(3.2rem, 9vw, 10rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
  color: #faf3e6;
  text-align: right;
  margin: 0;
}

/* =========================================================
   ۳. دکمه شناور بازگشت (چپ)
   ========================================================= */
.back-button {
  position: fixed;
  left: 0;
  bottom: 16.666%;
  z-index: 60;
  width: 12rem;
  height: 12rem;
  background: #0077cc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.3s var(--ease-out-quad),
              transform 0.3s var(--ease-out-quad);
  box-shadow: 0 4px 20px rgba(0, 119, 204, 0.4);
  -webkit-tap-highlight-color: transparent;
}

.back-button:hover {
  background: #0066b3;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .back-button {
    width: 10rem;
    height: 10rem;
    font-size: 2.4rem;
  }
}

/* =========================================================
   ۴. دکمه شناور خرید محصول (راست)
   ========================================================= */
.buy-button {
  position: fixed;
  right: 0;
  bottom: 16.666%;
  z-index: 60;
  width: 12rem;
  height: 12rem;
  background: #0077cc;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.3s var(--ease-out-quad),
              transform 0.3s var(--ease-out-quad);
  box-shadow: 0 4px 20px rgba(0, 119, 204, 0.4);
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  line-height: 1.2;
  padding: 1rem;
  box-sizing: border-box;
}

.buy-button:hover {
  background: #0066b3;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .buy-button {
    width: 10rem;
    height: 10rem;
    font-size: 1.9rem;
    padding: 0.6rem;
  }
}

/* =========================================================
   ۵. بیشتر بدانید
   ========================================================= */
.learn-more {
  position: fixed;
  bottom: calc(3rem + env(safe-area-inset-bottom, 0px));
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  cursor: pointer;
  color: #000;
  -webkit-user-select: none;
  user-select: none;
}

.learn-more .learn-more-text {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: #000;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .learn-more {
    bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
}

/* =========================================================
   ۶. والد مشترک کادر کرمی + زرد
   ========================================================= */
.two-boxes {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: -22vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .two-boxes {
    width: 90%;
  }
}

/* =========================================================
   ۷. بخش ۲: Text Block (کادر کرمی)
   ========================================================= */
.text-block2 {
  width: 100%;
}

.text-block2 .left {
  grid-column: 1 / 24;
  padding-left: 4rem;
}

.text-block2 .right {
  grid-column: 25 / 49;
}

@media (max-width: 767px) {
  .text-block2 .left {
    grid-column: 1 / 17;
    padding-left: 0;
    margin-bottom: 3rem;
  }
  .text-block2 .right {
    grid-column: 1 / 17;
  }
}

.text-block2 h2 {
  font-size: clamp(2.8rem, 5vw, 6.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.text-block2 p {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.5;
  opacity: 0.85;
}

/* =========================================================
   ۸. بخش‌ها — عمومی
   ========================================================= */
.module-blok {
  background: #faf3e6;
  color: #154726;
  padding: 12rem 6rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .module-blok {
    padding: 8rem 2.4rem;
  }
}

.the-grid {
  display: grid;
  grid-template-columns: repeat(48, 1fr);
  margin: 0 auto;
  max-width: 1480px;
  width: 100%;
}

@media (max-width: 767px) {
  .the-grid {
    grid-template-columns: repeat(16, 1fr);
  }
}

/* =========================================================
   ۹. درباره ما (کادر زرد)
   ========================================================= */
.about-block {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 8rem 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 100%;
  margin-bottom: -20px;
}

@media (max-width: 767px) {
  .about-block {
    min-height: auto;
    padding: 6rem 2.4rem;
    margin-bottom: -10px;
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
  color: #ffffff;
  width: 100%;
}

.about-text h2 {
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  margin: 0;
}

.about-text p {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.8;
  color: #ffffff;
  max-width: 900px;
  opacity: 0.95;
}

.about-media {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  border-radius: 0;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

@media (max-width: 767px) {
  .about-content {
    gap: 3rem;
  }
}

/* =========================================================
   ۱۰. گالری ۷ عکسی
   ========================================================= */
.gallery-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #faf3e6;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .gallery-section {
    height: 70vh;
  }
}

.gallery-image-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-ticker {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
  transform: none;
  z-index: 4;
  background: #ffd550;
  color: #154726;
  overflow: hidden;
  height: 6rem;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.gallery-ticker-track {
  display: flex;
  align-items: center;
  gap: 6rem;
  white-space: nowrap;
  padding-right: 100%;
  animation: ticker-scroll 30s linear infinite;
}

.gallery-ticker-track span {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #154726;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(250, 243, 230, 0.7);
  color: #154726;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease-out-quad),
              transform 0.3s var(--ease-out-quad);
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.gallery-arrow:hover {
  background: #faf3e6;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow svg {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  color: #154726;
}

.gallery-arrow-prev { left: 2.5rem; }
.gallery-arrow-next { right: 2.5rem; }

@media (max-width: 767px) {
  .gallery-arrow {
    width: 5rem;
    height: 5rem;
  }
  .gallery-arrow svg {
    width: 3rem;
    height: 3rem;
  }
  .gallery-arrow-prev { left: 1rem; }
  .gallery-arrow-next { right: 1rem; }
  .gallery-ticker {
    height: 4rem;
  }
  .gallery-ticker-track span {
    font-size: 1.6rem;
  }
}

/* =========================================================
   ۱۱. مجوزها
   ========================================================= */
.mojavez-section {
  background: #97c74b;
  padding: 8rem 4rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .mojavez-section {
    padding: 6rem 2rem;
  }
}

.mojavez-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  justify-content: center;
}

@media (max-width: 767px) {
  .mojavez-grid {
    gap: 1.5rem;
  }
}

.mojavez-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 1.2rem;
}

.mojavez-title-top {
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: #154726;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.mojavez-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.mojavez-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  width: 100%;
}

.mojavez-text span {
  display: block;
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  color: #154726;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  .mojavez-title-top {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }
  .mojavez-text span {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }
}

/* =========================================================
   ۱۲. Text Image Block — خدمات
   ========================================================= */
.text-image-block1 {
  position: relative;
  padding: 12rem 6rem;
  background: #faf3e6;
  color: #154726;
  z-index: 2;
}

@media (max-width: 767px) {
  .text-image-block1 {
    padding: 8rem 2.4rem;
  }
}

.text-image-block1 .head {
  grid-column: 1 / 32;
  margin-bottom: 6rem;
}

@media (max-width: 767px) {
  .text-image-block1 .head {
    grid-column: 1 / 17;
    margin-bottom: 4rem;
  }
}

.text-image-block1 .head .title {
  font-size: clamp(3rem, 7vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.text-image-block1 .hero {
  grid-column: 15 / 35;
  overflow: hidden;
  border-radius: 1.5rem;
  margin-bottom: 6rem;
}

@media (max-width: 767px) {
  .text-image-block1 .hero {
    grid-column: 1 / 17;
  }
}

.text-image-block1 .hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5rem;
}

.text-image-block1 .foot {
  grid-column: 33 / 49;
}

@media (max-width: 767px) {
  .text-image-block1 .foot {
    grid-column: 1 / 17;
  }
}

.text-image-block1 .foot .desc {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  line-height: 1.5;
  opacity: 0.85;
}

/* =========================================================
   ۱۳. طرح‌های تشویقی
   ========================================================= */
.strawberry-section {
  background: #ff5b4e;
  color: #5b1a1d;
  padding: 12rem 6rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .strawberry-section {
    padding: 8rem 2.4rem;
  }
}

.strawberry-section h2 {
  font-size: clamp(2.8rem, 5vw, 6.4rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 2.4rem;
}

/* =========================================================
   ۱۴. Footer
   ========================================================= */
.the-footer {
  background: #135a60;
  color: #faf3e6;
  padding: 4rem 6rem 3rem;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .the-footer {
    padding: 3rem 2.4rem 2rem;
  }
}

.the-footer .head .title {
  font-size: clamp(3rem, 7vw, 9rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.the-footer .nav-primary,
.the-footer .nav-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem;
  margin-bottom: 2rem;
}

.the-footer .nav-primary a,
.the-footer .nav-secondary a {
  color: #faf3e6;
  text-decoration: none;
  font-size: 1.6rem;
  position: relative;
  padding-bottom: 4px;
}

.the-footer .nav-primary a::after,
.the-footer .nav-secondary a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.the-footer .nav-primary a:hover::after,
.the-footer .nav-secondary a:hover::after {
  width: 100%;
}

/* ===== کادرهای فوتر (مثل تم ۱ — لبه‌ها همرنگ فوتر) ===== */
.footer-badges {
  display: flex;
  gap: 2rem;
  margin-top: 2.4rem;
  flex-wrap: wrap;
}

.footer-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12rem;
  height: 12rem;
  text-decoration: none;
  border-radius: 0;
  overflow: hidden;
  background: #faf3e6;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-quad);
}

.footer-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  background: #faf3e6;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 100%
  );
}

.footer-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(19, 90, 96, 0) 25%,
    rgba(19, 90, 96, 0.5) 60%,
    rgba(19, 90, 96, 0.7) 100%
  );
  z-index: 1;
}

.footer-badge:hover {
  transform: translateY(-2px);
}

.footer-badge:hover::after {
  background: radial-gradient(
    ellipse at center,
    rgba(19, 90, 96, 0) 35%,
    rgba(19, 90, 96, 0.4) 60%,
    rgba(19, 90, 96, 0.5) 100%
  );
}

@media (max-width: 767px) {
  .footer-badge {
    width: 9.5rem;
    height: 9.5rem;
  }
  .footer-badge img {
    padding: 0.6rem;
  }
}

.the-footer .divider {
  height: 1px;
  background: rgba(250, 243, 230, 0.15);
  margin: 3rem 0 1.5rem;
}

.the-footer .copyright {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0;
  border-top: none;
  color: #9aa694;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.3rem;
  line-height: 1.4;
}

.the-footer .copyright .copy-mark {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  color: #9aa694;
}

.the-footer .copyright .copy-text {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* =========================================================
   ۱۵. مُدال‌ها — ساختار با دکمه بستن ثابت پایین
   ========================================================= */
.cooperation-modal,
.support-modal,
.faq-modal,
.terms-modal,
.continue-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cooperation-modal.show,
.support-modal.show,
.faq-modal.show,
.terms-modal.show,
.continue-modal.show {
  display: flex;
}

.cooperation-box,
.support-box,
.faq-box,
.terms-box,
.continue-box {
  background: #faf3e6;
  color: #154726;
  padding: 4rem 3rem 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-x-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: transparent;
  border: none;
  font-size: 3rem;
  color: #154726;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.cooperation-box h3,
.support-box h3,
.faq-box h3,
.terms-box h3,
.continue-box h3 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 3rem;
  text-align: center;
  color: #154726;
  flex: 0 0 auto;
}

/* ===== اسکرول‌دارها ===== */
.faq-list-scroll,
.terms-content-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 1.5rem 0;
}

/* ===== دکمه بستن ثابت پایین ===== */
.modal-close-fixed,
.modal-close-bottom {
  flex: 0 0 auto;
  display: block;
  width: 100%;
  margin: 0;
  padding: 2rem;
  background: #ff5b4e;
  color: #ffffff;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.3s var(--ease-out-quad);
  letter-spacing: 0.02em;
  position: sticky;
  bottom: 0;
  z-index: 5;
}

.modal-close-fixed:hover,
.modal-close-bottom:hover {
  opacity: 0.9;
}

/* =========================================================
   ۱۵.۱ منوی «ادامه» — شماره موبایل + کد پیامکی
   ========================================================= */
.continue-hint {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.6;
  color: #154726;
  text-align: center;
  margin-bottom: 2.4rem;
  flex: 0 0 auto;
}

.continue-input {
  width: 100%;
  padding: 1.8rem 1.8rem;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: #154726;
  background: transparent;
  border: 2px solid #154726;
  border-radius: 0;
  outline: none;
  text-align: center;
  letter-spacing: 0.1em;
  direction: ltr;
  margin-bottom: 1.6rem;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.continue-input::placeholder {
  font-size: 1.6rem;
  opacity: 0.5;
  letter-spacing: normal;
  direction: rtl;
}

.continue-btn {
  width: 100%;
  padding: 1.8rem;
  background: #154726;
  color: #faf3e6;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.3s;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.continue-btn:hover {
  opacity: 0.9;
}

.continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.continue-result {
  display: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
  padding: 1.2rem;
  border-radius: 0;
  margin-top: 1.6rem;
  flex: 0 0 auto;
}

.continue-result.success {
  background: rgba(151, 199, 75, 0.2);
  color: #2f8f3e;
  border: 1px solid #97c74b;
}

.continue-result.error {
  background: rgba(255, 91, 78, 0.15);
  color: #d13030;
  border: 1px solid #ff5b4e;
}

.continue-actions {
  display: none;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.6rem;
  flex: 0 0 auto;
}

.continue-actions.show {
  display: flex;
}

.continue-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6rem;
  padding: 1.6rem;
  text-align: center;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  border-radius: 0;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.continue-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.continue-coop {
  background: #154726;
  color: #faf3e6;
}

.continue-action-btn:hover {
  opacity: 0.9;
}

/* =========================================================
   ۱۵.۲ فرم همکاری
   ========================================================= */
.cooperation-form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.cooperation-form input,
.cooperation-form textarea {
  width: 100%;
  padding: 1.6rem 1.8rem;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.6rem;
  border: 1.5px solid #154726;
  background: transparent;
  color: #154726;
  border-radius: 0;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}

.cooperation-form button[type="submit"] {
  padding: 1.6rem;
  background: #154726;
  color: #faf3e6;
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.3s var(--ease-out-quad);
}

.cooperation-form button[type="submit"]:hover {
  opacity: 0.9;
}

.cooperation-form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.coop-counter {
  text-align: left;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.3rem;
  color: #97c74b;
  padding: 0.4rem 0.4rem 0;
  font-weight: 600;
  direction: ltr;
}

.coop-msg {
  display: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  padding: 0.8rem;
  border-radius: 0;
  line-height: 1.6;
}

.coop-msg.success {
  display: block;
  background: rgba(151, 199, 75, 0.2);
  color: #2f8f3e;
  border: 1px solid #97c74b;
}

.coop-msg.error {
  display: block;
  background: rgba(255, 91, 78, 0.15);
  color: #d13030;
  border: 1px solid #ff5b4e;
}

/* =========================================================
   ۱۵.۳ پشتیبانی
   ========================================================= */
.support-options {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 3rem;
  flex: 1 1 auto;
  overflow-y: auto;
}

.support-btn {
  display: block;
  padding: 1.8rem;
  text-align: center;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 0;
  transition: opacity 0.3s var(--ease-out-quad);
}

.support-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.support-sms {
  background: #0077cc;
  color: #ffffff;
}

.support-btn:hover {
  opacity: 0.9;
}

/* =========================================================
   ۱۵.۴ سوالات متداول
   ========================================================= */
.faq-modal .faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid rgba(21, 71, 38, 0.15);
  border-radius: 0;
  padding: 1.8rem 2rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out-quad);
}

.faq-item:hover {
  border-color: #154726;
}

.faq-item summary {
  font-size: 1.7rem;
  font-weight: 600;
  color: #154726;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-left: 2.4rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  font-weight: 400;
  color: #154726;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  margin-top: 1.4rem;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #154726;
  opacity: 0.85;
}

/* =========================================================
   ۱۵.۵ شرایط و ضوابط
   ========================================================= */
.terms-modal .terms-content {
  font-size: 1.7rem;
  line-height: 1.9;
  color: #154726;
  margin-bottom: 1.5rem;
}

.terms-modal .terms-content h4 {
  font-size: 2rem;
  font-weight: 800;
  color: #154726;
  margin: 2.4rem 0 1.2rem;
}

.terms-modal .terms-content h4:first-child {
  margin-top: 0;
}

.terms-modal .terms-content p {
  margin-bottom: 1.4rem;
}

.terms-modal .terms-content ul,
.terms-modal .terms-content ol {
  padding-right: 2rem;
  margin-bottom: 1.4rem;
}

.terms-modal .terms-content ul {
  list-style: disc;
}

.terms-modal .terms-content ol {
  list-style: decimal;
}

.terms-modal .terms-content li {
  margin-bottom: 0.8rem;
}

/* =========================================================
   ۱۶. صفحه خرید مهمان — فول‌اسکرین
   ========================================================= */
.guest-buy-page {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #faf3e6;
}

.guest-buy-title-bar {
  flex: 0 0 auto;
  background: #feb291;
  color: #154726;
  padding: 1.6rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: none;
  box-shadow: none;
}

.guest-buy-title-bar .bar-main {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.guest-buy-title-bar .bar-sub {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.85;
}

.guest-buy-grid {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: #feb291;
  gap: 0;
  overflow: hidden;
  min-height: 0;
}

.guest-row-top {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: #feb291;
  gap: 6px;
  min-height: 0;
}

.guest-row-bottom {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #feb291;
  gap: 6px;
  margin-top: 6px;
  min-height: 0;
}

.guest-cell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #faf3e6;
}

.guest-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.guest-buy-bottom {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guest-buy-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.6rem 1.2rem;
  background: linear-gradient(180deg, #1DA1F2 0%, #1A91DA 50%, #0E71A8 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  text-align: center;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  transition: opacity 0.2s;
  line-height: 1.3;
}

.guest-buy-btn-main:hover {
  opacity: 0.92;
}

.guest-buy-btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.4rem 1.2rem;
  padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  background: #feb291;
  color: #154726;
  text-decoration: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 1.8rem);
  font-weight: 800;
  text-align: center;
  border: none;
  border-top: 1px solid rgba(21, 71, 38, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: opacity 0.2s;
  line-height: 1.3;
}

.guest-buy-btn-download:hover {
  opacity: 0.92;
}

/* =========================================================
   ۱۷. انیمیشن‌های عمومی
   ========================================================= */
.anim-line {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
              transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.anim-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-opacity {
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.anim-opacity.is-visible {
  opacity: 1;
}

/* =========================================================
   ۱۸. Utilities
   ========================================================= */
.hidden { display: none !important; }
.text-center { text-align: center; }