/* ═══════════════════════════════════════════════════════════════
   Site pages — همان توکن‌ها و شِل لندینگ برای بقیهٔ صفحات
   ═══════════════════════════════════════════════════════════════ */

.landing-home .tc-site-main {
  position: relative;
  z-index: 1;
}

/* ── Hero صفحات داخلی ── */
.landing-home .tc-page-hero {
  padding: 2.75rem 0 2.25rem;
  background: linear-gradient(180deg, #faf8ff 0%, #ffffff 72%);
  border-bottom: 1px solid var(--tc-border);
}

.landing-home .tc-page-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tc-primary-dark);
  opacity: 0.85;
}

.landing-home .tc-page-hero__title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--tc-text);
}

.landing-home .tc-page-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--tc-text-muted);
}

.landing-home .tc-page-section {
  padding: 2.5rem 0 3.5rem;
}

.landing-home .tc-page-section--tight {
  padding-top: 1.5rem;
}

.landing-home .tc-page-narrow {
  max-width: 48rem;
  margin-inline: auto;
}

.landing-home .tc-page-wide {
  max-width: var(--tc-max);
  margin-inline: auto;
}

/* ── کارت و پنل ── */
.landing-home .tc-card {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  box-shadow: var(--tc-shadow-card);
  padding: 1.5rem;
}

.landing-home .tc-card--soft {
  background: linear-gradient(145deg, #faf8ff 0%, #ffffff 100%);
}

.landing-home .tc-card--dashed {
  border-style: dashed;
  text-align: center;
  padding: 3rem 1.5rem;
}

.landing-home .tc-about-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 640px) {
  .landing-home .tc-about-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .landing-home .tc-about-team-card__media {
    width: 16.5rem;
    height: 16.5rem;
  }

  .landing-home .tc-about-team-card__placeholder-icon {
    width: 5rem;
    height: 5rem;
  }
}

.landing-home .tc-about-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.15rem 1rem 1.25rem;
  border-radius: var(--tc-radius-md);
  border: 1px solid var(--tc-border);
  background: var(--tc-surface);
  box-shadow: var(--tc-shadow-card);
  text-align: center;
}

.landing-home .tc-about-team-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14.25rem;
  height: 14.25rem;
  flex-shrink: 0;
  margin-bottom: 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(196, 181, 253, 0.55);
  background: linear-gradient(145deg, #f5f3ff 0%, #ffffff 100%);
  box-shadow: 0 8px 22px rgba(139, 92, 246, 0.14);
}

.landing-home .tc-about-team-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.landing-home .tc-about-team-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: rgba(139, 92, 246, 0.4);
}

.landing-home .tc-about-team-card__placeholder-icon {
  width: 4.5rem;
  height: 4.5rem;
}

.landing-home .tc-about-team-card__body {
  padding: 0;
  width: 100%;
}

.landing-home .tc-about-team-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tc-text);
}

.landing-home .tc-about-team-card__name--placeholder {
  color: var(--tc-text-muted);
}

.landing-home .tc-about-team-card__bio {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--tc-text-muted);
}

.landing-home .tc-about-team-card__bio--placeholder {
  opacity: 0.65;
}

.landing-home .tc-prose {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--tc-text-muted);
}

.landing-home .tc-prose p + p {
  margin-top: 1rem;
}

/* ── فرم‌ها ── */
.landing-home .tc-form label,
.landing-home .tc-field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tc-text);
}

.landing-home .tc-form input[type='text'],
.landing-home .tc-form input[type='email'],
.landing-home .tc-form input[type='password'],
.landing-home .tc-form input[type='tel'],
.landing-home .tc-form input[type='search'],
.landing-home .tc-form input[type='number'],
.landing-home .tc-form select,
.landing-home .tc-form textarea,
.landing-home .tc-field,
.landing-home input.tc-field,
.landing-home select.tc-field,
.landing-home textarea.tc-field {
  width: 100%;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--tc-font);
  font-size: 0.92rem;
  color: var(--tc-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-home .tc-form input:focus,
.landing-home .tc-form select:focus,
.landing-home .tc-form textarea:focus,
.landing-home .tc-field:focus {
  outline: none;
  border-color: var(--tc-primary-dark);
  box-shadow: 0 0 0 3px rgba(124, 92, 230, 0.15);
}

.landing-home .tc-form-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .landing-home .tc-form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-home .tc-form-grid--2 .tc-span-2 {
    grid-column: 1 / -1;
  }
}

.landing-home .tc-field-error {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: #dc2626;
}

/* ── تماس با ما ── */
.landing-home .tc-contact-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .landing-home .tc-contact-layout {
    grid-template-columns: minmax(17rem, 22rem) 1fr;
    gap: 2rem;
  }
}

.landing-home .tc-contact-panel,
.landing-home .tc-contact-form {
  border-radius: 1.35rem;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: linear-gradient(155deg, #ffffff 0%, #faf8ff 48%, #f5f3ff 100%);
  box-shadow:
    0 4px 24px -8px rgba(139, 92, 246, 0.14),
    0 1px 3px rgba(15, 23, 42, 0.04);
}

.landing-home .tc-contact-panel {
  padding: 1.35rem 1.25rem 1.5rem;
}

.landing-home .tc-contact-panel__head,
.landing-home .tc-contact-form__head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.landing-home .tc-contact-panel__badge,
.landing-home .tc-contact-form__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.9rem;
  color: var(--tc-primary-dark, #6d28d9);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.16) 0%, rgba(224, 242, 254, 0.5) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.landing-home .tc-contact-panel__title,
.landing-home .tc-contact-form__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tc-text);
  line-height: 1.35;
}

.landing-home .tc-contact-panel__lead,
.landing-home .tc-contact-form__lead {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--tc-text-muted);
}

.landing-home .tc-contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing-home .tc-contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid rgba(232, 227, 245, 0.9);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-home .tc-contact-channel:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 6px 18px -10px rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.landing-home .tc-contact-channel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  color: var(--tc-primary-dark, #6d28d9);
}

.landing-home .tc-contact-channel__icon--mail {
  background: #ede9fe;
}

.landing-home .tc-contact-channel__icon--phone {
  background: #dbeafe;
}

.landing-home .tc-contact-channel__icon--pin {
  background: #fce7f3;
}

.landing-home .tc-contact-channel__icon--clock {
  background: #d1fae5;
}

.landing-home .tc-contact-channel__body {
  min-width: 0;
  flex: 1;
}

.landing-home .tc-contact-channel__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tc-text-muted);
  margin-bottom: 0.15rem;
}

.landing-home .tc-contact-channel__value {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tc-text);
  line-height: 1.5;
  word-break: break-word;
}

.landing-home a.tc-contact-channel__value:hover {
  color: var(--tc-primary-dark, #6d28d9);
}

.landing-home .tc-contact-social {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(196, 181, 253, 0.55);
}

.landing-home .tc-contact-social__title {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tc-text-muted);
}

.landing-home .tc-contact-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.landing-home .tc-contact-form {
  padding: 1.5rem 1.35rem 1.35rem;
}

.landing-home .tc-contact-form .tc-field--contact {
  border-radius: 0.85rem;
  padding: 0.72rem 0.95rem;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(196, 181, 253, 0.55);
}

.landing-home .tc-contact-form .tc-field--contact:focus {
  background: #fff;
  border-color: var(--tc-primary, #8b5cf6);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
}

.landing-home .tc-contact-form .tc-field-area {
  min-height: 9rem;
  resize: vertical;
}

.landing-home .tc-contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(196, 181, 253, 0.45);
}

.landing-home .tc-contact-form__hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(139, 92, 246, 0.55);
}

.landing-home .tc-contact-submit svg {
  transform: rotate(-90deg);
}

.landing-home .tc-contact-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.landing-home .tc-contact-alert__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 991px) {
  .landing-home .tc-contact-form__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-home .tc-contact-submit {
    width: 100%;
  }
}

/* ── هشدار ── */
.landing-home .tc-alert {
  border-radius: var(--tc-radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.landing-home .tc-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.landing-home .tc-alert--error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
}

/* ── FAQ ── */
.landing-home .tc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.landing-home .tc-faq-item {
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  background: #fff;
  padding: 1.1rem 1.25rem;
  box-shadow: var(--tc-shadow);
}

.landing-home .tc-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--tc-text);
}

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

.landing-home .tc-faq-item[open] {
  border-color: rgba(124, 92, 230, 0.35);
  box-shadow: 0 0 0 3px rgba(124, 92, 230, 0.08);
}

.landing-home .tc-faq-item p {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--tc-text-muted);
}

/* ── صفحه‌بندی ── */
.landing-home .tc-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.landing-home .tc-pagination a,
.landing-home .tc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}

.landing-home .tc-pagination a {
  border: 1px solid var(--tc-border);
  background: #fff;
  color: var(--tc-text);
  transition: background 0.2s, border-color 0.2s;
}

.landing-home .tc-pagination a:hover {
  background: var(--tc-lavender-bg);
  border-color: rgba(124, 92, 230, 0.35);
}

.landing-home .tc-pagination .is-current {
  background: rgba(124, 92, 230, 0.12);
  color: var(--tc-primary-dark);
}

.landing-home .tc-pagination-summary {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--tc-text-muted);
}

/* ── گرید محتوا ── */
.landing-home .tc-grid-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .landing-home .tc-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .landing-home .tc-grid-cards--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.landing-home .tc-grid-split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .landing-home .tc-grid-split {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }

  .landing-home .tc-grid-split--reverse {
    grid-template-columns: 1.2fr 1fr;
  }
}

.landing-home .tc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* ── کارت وبلاگ / خبر ── */
.landing-home .tc-article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--tc-shadow-card);
  transition: transform 0.25s var(--tc-ease), box-shadow 0.25s;
}

.landing-home .tc-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow-lg);
}

.landing-home .tc-article-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.landing-home .tc-article-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--tc-text);
}

.landing-home .tc-article-card__meta {
  font-size: 0.78rem;
  color: var(--tc-text-muted);
  margin-bottom: 0.65rem;
}

.landing-home .tc-article-card__excerpt {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--tc-text-muted);
  flex: 1;
}

.landing-home .tc-article-card__link {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tc-primary-dark);
}

/* ── فروشگاه ── */
.landing-home .tc-store-hero-wrap {
  padding-top: 1.25rem;
}

.landing-home .tc-store-hero {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.75rem;
  border: 1px solid rgba(196, 181, 253, 0.45);
  box-shadow:
    0 4px 24px -6px rgba(139, 92, 246, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.04);
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 42%, #fdf4ff 100%);
}

.site-home .tc-store-hero::before {
  display: none;
}

.landing-home .tc-store-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem 0;
}

.landing-home .tc-store-hero__content {
  text-align: center;
  padding-bottom: 0.25rem;
}

.landing-home .tc-store-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5b21b6;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(196, 181, 253, 0.55);
  box-shadow: 0 1px 2px rgba(139, 92, 246, 0.08);
}

.landing-home .tc-store-hero__eyebrow::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #38bdf8);
}

.landing-home .tc-store-hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 4.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--tc-text);
}

.landing-home .tc-store-hero__lead {
  margin: 0.75rem auto 0;
  max-width: 26rem;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.85;
  color: var(--tc-text-muted);
}

.landing-home .tc-store-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.15rem;
  padding-inline: 1.35rem;
  box-shadow: 0 8px 22px -8px rgba(139, 92, 246, 0.45);
}

.landing-home .tc-store-hero__cta-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.landing-home .tc-store-hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 10rem;
  margin: 0 auto;
  width: min(100%, 18rem);
  pointer-events: none;
}

.landing-home .tc-store-hero__glow {
  position: absolute;
  inset-inline: 5%;
  bottom: 10%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.35) 0%, rgba(125, 211, 252, 0.2) 45%, transparent 72%);
  z-index: 0;
}

.landing-home .tc-store-hero__shadow {
  position: absolute;
  inset-inline: 8%;
  bottom: 4%;
  height: 14%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(91, 75, 184, 0.28) 0%, transparent 70%);
  z-index: 0;
  filter: blur(6px);
}

.landing-home .tc-store-hero__figure {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 17.5rem;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  filter:
    drop-shadow(0 6px 10px rgba(91, 75, 184, 0.14))
    drop-shadow(0 22px 34px rgba(91, 75, 184, 0.22));
  transform: perspective(900px) rotateY(-4deg);
  transform-origin: center bottom;
}

@media (min-width: 768px) {
  .landing-home .tc-store-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(14rem, 19rem);
    gap: 1.5rem 2rem;
    padding: 2.25rem 2.5rem 1.5rem;
    min-height: 15.5rem;
  }

  .landing-home .tc-store-hero__content {
    text-align: right;
    align-self: center;
    padding-bottom: 0.5rem;
  }

  .landing-home .tc-store-hero__eyebrow {
    margin-bottom: 0.85rem;
  }

  .landing-home .tc-store-hero__lead {
    margin-inline-start: 0;
    margin-inline-end: 0;
    max-width: 22rem;
    font-size: 1rem;
  }

  .landing-home .tc-store-hero__visual {
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 13rem;
    margin: 0;
  }

  .landing-home .tc-store-hero__figure {
    max-width: 100%;
    max-height: 13.5rem;
    width: auto;
    margin-inline-start: -0.5rem;
    transform: perspective(900px) rotateY(-6deg);
  }

  .landing-home .tc-store-hero__glow {
    inset-inline: 0;
    bottom: 12%;
    height: 65%;
  }

  .landing-home .tc-store-hero__shadow {
    inset-inline: 4%;
    bottom: 5%;
    height: 16%;
  }
}

@media (min-width: 1024px) {
  .landing-home .tc-store-hero__inner {
    grid-template-columns: minmax(0, 1.08fr) 26rem;
    padding: 2.3rem 3rem 1.55rem;
    min-height: 18.25rem;
  }

  .landing-home .tc-store-hero__visual {
    min-height: 15.8rem;
  }

  .landing-home .tc-store-hero__figure {
    max-height: 18.2rem;
    margin-inline-start: -1.2rem;
  }
}

@media (min-width: 1280px) {
  .landing-home .tc-store-hero__inner {
    grid-template-columns: minmax(0, 1.06fr) 28rem;
    min-height: 19.25rem;
  }

  .landing-home .tc-store-hero__visual {
    min-height: 16.8rem;
  }

  .landing-home .tc-store-hero__figure {
    max-height: 19.1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .landing-home .tc-store-hero__figure {
    animation: tc-store-hero-float 5s ease-in-out infinite;
  }

  @keyframes tc-store-hero-float {
    0%,
    100% {
      transform: perspective(900px) rotateY(-4deg) translateY(0);
    }
    50% {
      transform: perspective(900px) rotateY(-4deg) translateY(-6px);
    }
  }
}

.landing-home .tc-store-layout {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 2.5rem;
}

@media (min-width: 1024px) {
  .landing-home .tc-store-layout {
    grid-template-columns: 17rem 1fr;
  }
}

.landing-home .tc-store-filter {
  position: sticky;
  top: 5.5rem;
}

.landing-home .tc-store-filter .tc-card {
  padding: 1.25rem;
}

.landing-home .tc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--tc-lavender-bg);
  color: var(--tc-primary-dark);
}

/* ── فهرست محصولات فروشگاه ── */
.landing-home .tc-store-catalog {
  position: relative;
}

.landing-home .tc-store-catalog__inner {
  padding: 1.15rem;
  border-radius: var(--tc-radius-lg);
  border: 1px solid rgba(196, 181, 253, 0.4);
  background: #fff;
  box-shadow:
    0 4px 28px -8px rgba(139, 92, 246, 0.12),
    0 1px 3px rgba(15, 23, 42, 0.04);
}

.landing-home .tc-store-catalog__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
}

.landing-home .tc-store-catalog__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tc-text);
  letter-spacing: -0.02em;
}

.landing-home .tc-store-catalog__stats {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tc-text-muted);
}

.landing-home .tc-store-catalog__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  margin-inline-end: 0.2rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 800;
  color: var(--tc-primary-dark);
  background: rgba(237, 233, 254, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.5);
}

.landing-home .tc-store-catalog__search {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: #fff;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.06);
}

.landing-home .tc-store-catalog__search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.5rem;
  color: var(--tc-primary);
}

.landing-home .tc-store-catalog__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.55rem 0;
  font-family: var(--tc-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tc-text);
  outline: none;
}

.landing-home .tc-store-catalog__search-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.landing-home .tc-store-catalog__search-btn {
  flex-shrink: 0;
  align-self: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 999px;
  font-family: var(--tc-font);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: var(--tc-gradient-btn, linear-gradient(135deg, #8b5cf6, #7c3aed));
  box-shadow: 0 4px 14px rgba(124, 92, 230, 0.28);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.landing-home .tc-store-catalog__search-btn:hover {
  filter: brightness(1.06);
}

.landing-home .tc-store-catalog__search-btn:active {
  transform: scale(0.98);
}

.landing-home .tc-store-catalog__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--tc-radius-md);
  border: 1px dashed rgba(196, 181, 253, 0.55);
  background: rgba(255, 255, 255, 0.7);
}

.landing-home .tc-store-catalog__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  color: var(--tc-primary);
  background: rgba(237, 233, 254, 0.9);
}

.landing-home .tc-store-catalog__empty-title {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-store-catalog__empty-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--tc-text-muted);
  max-width: 18rem;
}

.landing-home .tc-store-catalog__empty-btn {
  margin-top: 0.65rem;
}

.landing-home .tc-store-catalog__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(196, 181, 253, 0.3);
}

.landing-home .tc-store-catalog__page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tc-primary-dark);
  background: #fff;
  border: 1px solid rgba(196, 181, 253, 0.55);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.08);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.landing-home .tc-store-catalog__page-btn:hover {
  border-color: rgba(167, 139, 250, 0.75);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.14);
  transform: translateY(-1px);
}

.landing-home .tc-store-catalog__page-btn--next {
  color: #fff;
  background: var(--tc-gradient-btn, linear-gradient(135deg, #8b5cf6, #7c3aed));
  border-color: transparent;
}

@media (min-width: 768px) {
  .landing-home .tc-store-catalog__inner {
    padding: 1.35rem 1.5rem 1.5rem;
  }

  .landing-home .tc-store-catalog__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .landing-home .tc-store-catalog__search {
    flex: 0 1 22rem;
    max-width: 100%;
  }

  .landing-home .tc-store-catalog__title {
    font-size: 1.28rem;
  }
}

.landing-home .tc-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .landing-home .tc-product-grid {
    gap: 1.1rem;
  }
}

@media (min-width: 1280px) {
  .landing-home .tc-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1500px) {
  .landing-home .tc-product-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* کارت محصول */
.landing-home .tc-store-product-card {
  position: relative;
  border-radius: var(--tc-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition:
    transform 0.28s var(--tc-ease, ease),
    box-shadow 0.28s var(--tc-ease, ease),
    border-color 0.28s var(--tc-ease, ease);
}

.landing-home .tc-store-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 181, 253, 0.65);
  box-shadow:
    0 14px 32px -10px rgba(139, 92, 246, 0.2),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.landing-home .tc-store-product-card__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.landing-home .tc-store-product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  min-height: 14rem;
  padding: 0.65rem;
  overflow: hidden;
}

.landing-home .tc-store-product-card__media--violet {
  background: linear-gradient(145deg, #ede9fe 0%, #f5f3ff 48%, #fff 100%);
}

.landing-home .tc-store-product-card__media--pink {
  background: linear-gradient(145deg, #fce7f3 0%, #fdf2f8 48%, #fff 100%);
}

.landing-home .tc-store-product-card__media--sky {
  background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 48%, #fff 100%);
}

.landing-home .tc-store-product-card__media--mint {
  background: linear-gradient(145deg, #d1fae5 0%, #ecfdf5 48%, #fff 100%);
}

.landing-home .tc-store-product-card__kind {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--tc-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(196, 181, 253, 0.45);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(6px);
}

.landing-home .tc-store-product-card__badge {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
}

.landing-home .tc-store-product-card__img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 13.5rem;
  height: auto;
  border-radius: var(--tc-radius-sm);
  object-fit: contain;
  object-position: center;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.35s var(--tc-ease, ease);
}

.landing-home .tc-store-product-card:hover .tc-store-product-card__img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .landing-home .tc-store-hero__figure {
    animation: none;
  }

  .landing-home .tc-store-product-card,
  .landing-home .tc-store-product-card__img {
    transition: none;
  }

  .landing-home .tc-store-product-card:hover,
  .landing-home .tc-store-product-card:hover .tc-store-product-card__img {
    transform: none;
  }

  .landing-home .tc-product-grid {
    gap: 0.65rem;
  }

  .landing-home .tc-store-product-card__media {
    min-height: 11.5rem;
    aspect-ratio: 4 / 4.6;
  }

  .landing-home .tc-store-product-card__img {
    max-height: 11rem;
    box-shadow: none;
  }
}

.landing-home .tc-store-product-card__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: var(--tc-radius-sm);
  font-size: 2rem;
  font-weight: 800;
  color: var(--tc-primary-dark);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.landing-home .tc-store-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.85rem 0.9rem 0.95rem;
  text-align: right;
}

.landing-home .tc-store-product-card__title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.5;
  color: var(--tc-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.landing-home .tc-store-product-card:hover .tc-store-product-card__title {
  color: var(--tc-primary-dark);
}

.landing-home .tc-store-product-card__teacher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin: 0.45rem 0 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tc-text-muted);
  line-height: 1.4;
}

.landing-home .tc-store-product-card__teacher-icon {
  flex-shrink: 0;
  color: rgba(124, 92, 230, 0.75);
}

.landing-home .tc-store-product-card__category {
  color: #94a3b8;
  font-weight: 500;
}

.landing-home .tc-store-product-card__dot {
  color: #cbd5e1;
}

.landing-home .tc-store-product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.landing-home .tc-store-product-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

@media (max-width: 767px) {
  .landing-home .tc-store-product-card__media {
    border-start-start-radius: var(--tc-radius-sm);
    border-start-end-radius: var(--tc-radius-sm);
  }

  .landing-home .tc-store-product-card__img {
    width: auto;
    max-width: calc(100% - 0.75rem);
    margin-inline: auto;
  }
}

@media (min-width: 768px) {
  .landing-home .tc-store-product-card__media {
    aspect-ratio: 3 / 4;
    min-height: 12.5rem;
    padding: 0.85rem;
  }

  .landing-home .tc-store-product-card__img {
    width: auto;
    max-width: 90%;
    max-height: 11.5rem;
  }

  .landing-home .tc-store-product-card__fallback {
    width: 5rem;
    height: 5rem;
    font-size: 1.75rem;
  }

  .landing-home .tc-store-product-card__title {
    font-size: 0.86rem;
  }
}

.landing-home .tc-store-products-panel {
  position: relative;
}

.landing-home .tc-store-products-loader {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--tc-radius-md);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.landing-home .tc-store-products-panel.htmx-request .tc-store-products-loader {
  display: flex;
}

.landing-home .tc-store-products-loader__spinner {
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-top-color: var(--tc-primary, #8b5cf6);
  border-radius: 50%;
  animation: tc-store-spin 0.7s linear infinite;
}

@keyframes tc-store-spin {
  to {
    transform: rotate(360deg);
  }
}

.landing-home .tc-store-products-loader__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tc-text-muted);
}

.landing-home .tc-store-products-panel.htmx-request .tc-store-catalog__swap {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* قیمت محصول — تخفیف مبلغی */
.landing-home .tc-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  text-align: right;
}

.landing-home .tc-product-price__original {
  font-size: 0.8em;
  font-weight: 600;
  color: var(--tc-text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(190, 24, 93, 0.55);
}

.landing-home .tc-product-price__sale {
  font-size: inherit;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-product-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65em;
  font-weight: 700;
  line-height: 1.3;
  color: #7c3aed;
  background: rgba(237, 233, 254, 0.95);
  border: 1px solid rgba(196, 181, 253, 0.55);
}

.landing-home .tc-product-price--compact .tc-product-price__sale {
  font-size: 0.875rem;
}

.landing-home .tc-product-price--compact .tc-product-price__original {
  font-size: 0.7rem;
}

.landing-home .tc-product-price__prices {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.35rem;
  max-width: 100%;
}

/* فوتر کارت فروشگاه: دکمه سبد ثابت، قیمت تخفیف‌دار فشرده */
.landing-home .tc-store-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
  min-height: 2.35rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.landing-home .tc-store-product-card__footer .tc-product-price {
  flex: 1 1 0%;
  min-width: 0;
  max-width: calc(100% - 2.75rem);
}

.landing-home .tc-store-product-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  color: #fff;
  background: var(--tc-gradient-btn, linear-gradient(135deg, #8b5cf6, #7c3aed));
  box-shadow: 0 4px 14px rgba(124, 92, 230, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-home .tc-store-product-card:hover .tc-store-product-card__cta {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(124, 92, 230, 0.38);
}

.landing-home .tc-store-product-card__cta svg {
  width: 1rem;
  height: 1rem;
}

.landing-home .tc-store-product-card__footer .tc-product-price--card {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.4rem;
  line-height: 1.3;
}

.landing-home .tc-store-product-card__footer .tc-product-price--card .tc-product-price__sale {
  white-space: nowrap;
}

.landing-home .tc-store-product-card__footer .tc-product-price--card .tc-product-price__badge {
  font-size: 0.58rem;
  padding: 0.1rem 0.4rem;
  flex-shrink: 0;
}

.landing-home .tc-product-price--large {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.landing-home .tc-product-price--large .tc-product-price__sale {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  color: var(--tc-primary-dark);
}

.landing-home .tc-product-price--large .tc-product-price__original {
  font-size: 1rem;
}

.landing-home .tc-product-price--large .tc-product-price__badge {
  font-size: 0.75rem;
}

.landing-home .lp-pdf-price .tc-product-price {
  margin-top: 0.15rem;
}

.landing-home .lp-pdf-price .tc-product-price--compact .tc-product-price__sale {
  font-size: 0.8rem;
}

/* صفحه جزئیات محصول → static/css/store-product-detail.css */

/* سکشن‌های پیشنهاد پایین فروشگاه — هم‌خوان با tc-store-hero */
.landing-home .tc-promo-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--tc-border);
}

@media (max-width: 767px) {
  .landing-home .tc-promo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }

  .landing-home .tc-promo-row .tc-promo-card {
    flex: 0 1 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
    min-width: 9rem;
  }

  .landing-home .tc-promo-row .tc-promo-card--bestseller-test {
    flex: 0 1 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }
}

@media (min-width: 768px) {
  .landing-home .tc-promo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 2.5rem 0;
  }

  .landing-home .tc-promo-row .tc-promo-card--bestseller-test {
    grid-column: auto;
    width: auto;
    margin-inline: 0;
    justify-self: stretch;
  }
}

.landing-home .tc-promo-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(196, 181, 253, 0.45);
  background: #fff;
  box-shadow:
    0 4px 24px -6px rgba(139, 92, 246, 0.1),
    0 1px 3px rgba(15, 23, 42, 0.04);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.28s var(--tc-ease),
    box-shadow 0.28s var(--tc-ease),
    border-color 0.28s var(--tc-ease);
}

.landing-home .tc-promo-row .tc-promo-card {
  min-height: 0;
  padding: 0;
}

.landing-home .tc-promo-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 6.75rem;
  padding: 0.75rem 0.55rem;
  overflow: visible;
  background: transparent;
  border-bottom: 1px solid rgba(196, 181, 253, 0.2);
}

.landing-home .tc-promo-row .tc-promo-card img.tc-promo-card__illus,
.landing-home .tc-promo-card__illus {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: min(100%, 6.25rem);
  max-height: 6.25rem;
  margin: 0 !important;
  object-fit: contain;
  object-position: center center;
  background: transparent;
  filter: drop-shadow(0 6px 12px rgba(124, 92, 230, 0.1));
  transition: transform 0.28s var(--tc-ease);
}

.landing-home .tc-promo-card--discount .tc-promo-card__media {
  min-height: 7.25rem;
  padding: 0.85rem 0.5rem;
}

.landing-home .tc-promo-card--discount .tc-promo-card__illus {
  max-width: min(100%, 7.5rem);
  max-height: 7.5rem;
}

.landing-home .tc-promo-card__body {
  min-width: 0;
  width: 100%;
  padding: 0.7rem 0.75rem 0.8rem;
}

.landing-home .tc-promo-card__chip {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--tc-primary-dark);
  background: rgba(237, 233, 254, 0.9);
  border: 1px solid rgba(196, 181, 253, 0.5);
}

.landing-home .tc-promo-card--discount .tc-promo-card__chip {
  color: #7c3aed;
  background: rgba(245, 243, 255, 0.95);
}

.landing-home .tc-promo-card--bestseller .tc-promo-card__chip {
  color: #6d28d9;
}

.landing-home .tc-promo-card--bestseller-test .tc-promo-card__chip {
  color: #5b21b6;
}

.landing-home .tc-promo-card__title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--tc-text);
}

.landing-home .tc-promo-card__desc {
  display: none;
  margin: 0.3rem 0 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: var(--tc-text-muted);
}

.landing-home .tc-promo-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.45rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--tc-primary-dark);
  background: #fff;
  border: 1px solid rgba(196, 181, 253, 0.55);
  box-shadow: 0 1px 2px rgba(139, 92, 246, 0.08);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

@media (max-width: 767px) {
  .landing-home .tc-promo-card__media {
    order: -1;
  }
}

@media (min-width: 768px) {
  .landing-home .tc-promo-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 8.25rem;
    text-align: right;
  }

  .landing-home .tc-promo-card__media {
    order: 0;
    flex: 0 0 38%;
    min-height: 0;
    padding: 0.75rem 0.5rem;
    border-bottom: none;
    border-inline-start: 1px solid rgba(196, 181, 253, 0.25);
  }

  .landing-home .tc-promo-row .tc-promo-card img.tc-promo-card__illus,
  .landing-home .tc-promo-card__illus {
    max-width: min(100%, 7rem);
    max-height: 7rem;
  }

  .landing-home .tc-promo-card--discount .tc-promo-card__illus {
    max-width: min(100%, 8.25rem);
    max-height: 8.25rem;
  }

  .landing-home .tc-promo-card--discount .tc-promo-card__media {
    flex: 0 0 42%;
    min-height: 8.5rem;
    padding: 1rem 0.65rem;
  }

  .landing-home .tc-promo-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 1.1rem;
  }

  .landing-home .tc-promo-card__chip {
    font-size: 0.68rem;
    margin-bottom: 0.45rem;
  }

  .landing-home .tc-promo-card__title {
    font-size: 1rem;
  }

  .landing-home .tc-promo-card__desc {
    display: block;
    font-size: 0.75rem;
  }

  .landing-home .tc-promo-card__cta {
    margin-top: 0.7rem;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    align-self: flex-start;
  }
}

.landing-home .tc-promo-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.65);
  box-shadow:
    0 10px 28px -8px rgba(139, 92, 246, 0.18),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.landing-home .tc-promo-card:hover .tc-promo-card__cta {
  color: #fff;
  background: var(--tc-primary);
  border-color: var(--tc-primary);
}

.landing-home .tc-promo-card:hover .tc-promo-card__illus {
  transform: translateY(-3px) scale(1.04);
}

/* ── ورود / ثبت‌نام ── */
.landing-home .tc-auth-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 640px);
  padding: 2.5rem 0 3.5rem;
}

.landing-home .tc-auth-card {
  width: min(100%, 26rem);
  padding: 2rem 1.75rem;
}

.landing-home .tc-auth-card h1 {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
}

.landing-home .tc-auth-card .tc-auth-lead {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-auth-card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-home .tc-auth-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-auth-footer a {
  font-weight: 700;
  color: var(--tc-primary-dark);
}

/* ── شرکت در آزمون ── */
.landing-home.landing-join {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: var(--tc-shell-top, 0.5rem) var(--tc-shell-gutter, 0.25rem);
}

.landing-home .tc-shell--join {
  width: min(100%, 32rem);
  margin: 0;
}

.landing-home .tc-shell--join-wide {
  box-sizing: border-box;
  width: 100%;
  max-width: 48rem;
  margin: 0;
  margin-inline: auto;
}

.landing-home .tc-join-main {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.75rem 2.75rem;
}

.landing-home .tc-join-card {
  max-width: 26rem;
  margin: 0 auto;
}

/* ورود به آزمون — استایل‌های تکمیلی در join-experience.css */

/* ── داشبورد (تم لندینگ) ── */
.landing-home.landing-dashboard {
  min-height: 100vh;
  background: var(--tc-page-bg, #f3f5fa);
}

.landing-home .tc-dashboard-layout {
  display: flex;
  min-height: 100vh;
  gap: 0.55rem;
  padding: 0.55rem;
  max-width: calc(var(--tc-max) + 3rem);
  margin: 0 auto;
}

.landing-home .tc-dashboard-sidebar {
  display: none;
  width: 15.5rem;
  flex-shrink: 0;
  flex-direction: column;
  padding: 1.35rem 1rem;
  border-radius: var(--tc-radius-lg);
  background: linear-gradient(165deg, #6d3ce0 0%, #7c5ce6 48%, #5b4bb8 100%);
  color: #fff;
  box-shadow: 0 20px 50px rgba(109, 60, 224, 0.35);
}

@media (min-width: 1024px) {
  .landing-home .tc-dashboard-sidebar {
    display: flex;
  }
}

.landing-home .tc-dashboard-sidebar a,
.landing-home .tc-dashboard-sidebar button.tc-dash-nav-link--locked {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.2s, color 0.2s;
}

.landing-home .tc-dashboard-sidebar a:hover,
.landing-home .tc-dashboard-sidebar a.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.landing-home .tc-dashboard-panel {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.landing-home.landing-dashboard .tc-dashboard-panel {
  padding: 0.5rem 0.75rem 0;
  overflow: visible;
}

.landing-home.landing-dashboard .tc-dash-heading {
  margin: 0 0.65rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  background: #fff;
  box-shadow: var(--tc-shadow);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.landing-home.landing-dashboard .tc-dash-heading__row {
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
}

.landing-home.landing-dashboard .tc-dash-heading__menu {
  flex-shrink: 0;
}

.landing-home.landing-dashboard .tc-dash-heading__main {
  flex: 1;
  min-width: 0;
}

.landing-home.landing-dashboard .tc-dash-heading__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.landing-home.landing-dashboard .tc-dash-heading__profile {
  white-space: nowrap;
}

/* موبایل: دکمه منو بالای لایه تیره بماند تا همان لمس، منو را بلافاصله نبندد */
@media (max-width: 1023px) {
  .landing-home.landing-dashboard .tc-dash-heading--mobile-nav {
    position: relative;
    z-index: 2;
  }

  .landing-home.landing-dashboard .tc-dash-heading--mobile-nav.is-menu-open {
    z-index: 10035;
  }

  .landing-home.landing-dashboard .tc-dash-heading--mobile-nav.is-menu-open .tc-dash-heading__menu {
    position: relative;
    z-index: 1;
  }
}

.landing-home .tc-dashboard-body {
  flex: 1;
  padding: 0 0.75rem 1.25rem;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.landing-home.landing-dashboard .tc-dashboard-body {
  gap: 0;
  padding: 0;
  overflow: visible;
  min-height: 0;
}

.landing-home.landing-dashboard .tc-dashboard-scroll {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0 0.65rem 1.1rem;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1023px) {
  .landing-home.landing-dashboard .tc-dashboard-page {
    padding: var(--tc-shell-gutter, 0.25rem);
    margin-inline: auto;
    box-sizing: border-box;
  }

  .landing-home.landing-dashboard .tc-dashboard-site-nav-wrap {
    margin-bottom: 0.35rem;
  }

  .landing-home.landing-dashboard .tc-dash-site-nav {
    border-radius: 24px;
  }

  .landing-home.landing-dashboard .tc-dashboard-panel {
    padding: 0.65rem 0.75rem 0;
  }
}

.landing-home .tc-dash-heading {
  margin: 0 0 1.5rem;
}

.landing-home .tc-dash-heading p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-dash-heading h1 {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.landing-home .tc-dash-card {
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  background: #fff;
  padding: 1.35rem;
  box-shadow: var(--tc-shadow);
}

.landing-home .tc-dash-stat {
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-sm);
  background: var(--tc-lavender-bg);
  padding: 1rem;
}

.landing-home .tc-dash-stat p {
  margin: 0;
  font-size: 0.72rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-dash-stat strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: var(--tc-text);
}

.landing-home .tc-menu-toggle-dash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  background: #fff;
  color: var(--tc-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

@media (min-width: 1024px) {
  .landing-home .tc-menu-toggle-dash {
    display: none;
  }
}

/* override Tailwind inputs inside landing-home */
.landing-home input:not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='submit']):not([type='button']),
.landing-home select,
.landing-home textarea {
  font-family: var(--tc-font);
}

.landing-home .pastel-input,
.landing-home .pastel-card {
  border-color: var(--tc-border);
  border-radius: var(--tc-radius-sm);
}

.landing-home .pastel-input {
  background-color: #fff !important;
}

.landing-home :is(input, select, textarea):not([type='checkbox']):not([type='radio']):not([type='hidden']):not([type='submit']):not([type='button']):not([type='reset']) {
  background-color: #fff;
}

.landing-home .pastel-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  background: var(--tc-gradient-btn);
  box-shadow: 0 8px 20px rgba(124, 92, 230, 0.25);
  transition: filter 0.2s, transform 0.2s;
}

.landing-home .pastel-btn-primary:hover {
  filter: brightness(1.05);
}

.landing-home .pastel-btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--tc-border);
  color: var(--tc-text);
  background: #fff;
}

.landing-home .pastel-card {
  background: #fff;
  box-shadow: var(--tc-shadow);
}

/* ── موبایل: حاشیهٔ چپ و راست یکسان در کل قالب ── */
@media (max-width: 768px) {
  .landing-home.landing-join {
    padding: var(--tc-shell-gutter, 0.25rem);
  }

  .landing-home .tc-shell--join {
    width: 100%;
    max-width: 32rem;
  }

  .landing-home .tc-join-main {
    padding-inline: 1.25rem;
  }
}

/* صفحات داخلی (غیر لندینگ اصلی): بدون لکه‌های دایره‌ای پس‌زمینه */
.site-home .tc-shell-blobs,
.site-home .tc-shell-blob {
  display: none !important;
}
