/* ═══════════════════════════════════════════════════════════════
   صفحه جزئیات محصول — طراحی مدرن (tc-pdp)
   ═══════════════════════════════════════════════════════════════ */

.landing-home .tc-pdp {
  --pdp-violet: #8b5cf6;
  --pdp-violet-dark: #7c3aed;
  --pdp-violet-soft: #f5f3ff;
  --pdp-surface: #f8f9fb;
  --pdp-border: #e8ecf1;
  padding: 1.5rem 0 3.5rem;
  background: #fff;
}

.landing-home .tc-pdp__container {
  min-width: 0;
}

/* ── breadcrumb (داخل ستون محتوا) ── */
.landing-home .tc-pdp__hero-main .tc-pdp__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.5;
}

.landing-home .tc-pdp__crumb a {
  color: var(--pdp-violet-dark);
  text-decoration: none;
  font-weight: 600;
}

.landing-home .tc-pdp__crumb a:hover {
  text-decoration: underline;
}

.landing-home .tc-pdp__crumb-sep {
  color: #c4b5fd;
  font-weight: 400;
}

/* ── پیام موفقیت ── */
.landing-home .tc-pdp__success {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--tc-radius-md);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

.landing-home .tc-pdp__success-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: #059669;
}

.landing-home .tc-pdp__success-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: #065f46;
}

.landing-home .tc-pdp__success-text {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #047857;
}

.landing-home .tc-pdp__success-dl {
  margin-inline-start: auto;
  padding: 0.55rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #059669;
}

/* ── چیدمان دو ستونه: محتوا (~۲/۳) | خرید (~۱/۳) ── */
.landing-home .tc-pdp__layout {
  display: grid;
  gap: 1.75rem 2rem;
  align-items: start;
}

.landing-home .tc-pdp__main {
  min-width: 0;
}

.landing-home .tc-pdp__checkout {
  min-width: 0;
}

/* ── هیرو: جلد راست | محتوا چپ (RTL) ── */
.landing-home .tc-pdp__hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
  margin-bottom: 2rem;
  direction: rtl;
}

.landing-home .tc-pdp__hero-cover {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 12.5rem;
  justify-self: end;
}

.landing-home .tc-pdp__cover-wrap {
  width: 100%;
  border-radius: 0.35rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.landing-home .tc-pdp__cover-actions {
  position: relative;
  width: 100%;
  margin-top: 0.85rem;
}

.landing-home .tc-pdp__hero-main {
  grid-column: 2;
  min-width: 0;
  text-align: right;
  align-self: start;
}

.landing-home .tc-pdp__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #1a1a2e;
  word-break: break-word;
}

.landing-home .tc-pdp__teacher {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tc-text-muted);
}

.landing-home .tc-pdp__toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.landing-home .tc-pdp__btn-preview {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  border: none;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  color: #0f766e;
  background: #e6f7f5;
  cursor: pointer;
  transition: background 0.2s ease, filter 0.2s ease;
}

.landing-home .tc-pdp__btn-preview:hover {
  background: #d1f0ec;
  filter: brightness(0.98);
}

.landing-home .tc-pdp__btn-preview svg {
  color: #14b8a6;
  flex-shrink: 0;
}

.landing-home .tc-pdp__btn-share {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--pdp-border);
  border-radius: 999px;
  color: #6b7280;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.landing-home .tc-pdp__btn-share:hover {
  background: var(--pdp-violet-soft);
  border-color: #c4b5fd;
  color: var(--pdp-violet-dark);
}

/* ── مودال اشتراک‌گذاری ── */
.tc-pdp-share {
  --share-violet: #7c3aed;
  --share-violet-soft: #f5f3ff;
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.tc-pdp-share[hidden] {
  display: none;
}

.tc-pdp-share__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(30, 27, 46, 0.46);
  cursor: pointer;
}

.tc-pdp-share__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 25rem);
  padding: 0;
  border-radius: 1.15rem;
  background: linear-gradient(165deg, #ffffff 0%, #faf8ff 48%, #f8f9fb 100%);
  border: 1px solid rgba(139, 92, 246, 0.14);
  box-shadow: 0 16px 40px rgba(46, 35, 77, 0.14);
  overflow: hidden;
}

.tc-pdp-share__accent {
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa 45%, #c4b5fd);
  pointer-events: none;
}

@keyframes tc-pdp-share-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tc-pdp-share-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.tc-pdp-share__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0.85rem;
}

.tc-pdp-share__title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-width: 0;
}

.tc-pdp-share__title-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.85rem;
  color: var(--share-violet);
  background: linear-gradient(145deg, #ede9fe 0%, #f5f3ff 100%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.12);
}

.tc-pdp-share__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e1b2e;
  letter-spacing: -0.02em;
}

.tc-pdp-share__subtitle {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #94a3b8;
  line-height: 1.45;
}

.tc-pdp-share__close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  border: 1px solid #e8ecf1;
  border-radius: 0.65rem;
  color: #94a3b8;
  background: #fff;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.tc-pdp-share__close:hover {
  color: #64748b;
  background: #f8fafc;
  border-color: #dde3ea;
  transform: scale(1.04);
}

.tc-pdp-share__section {
  padding: 0 1.25rem 1.1rem;
}

.tc-pdp-share__section--link {
  padding-bottom: 1.25rem;
}

.tc-pdp-share__label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.01em;
}

.tc-pdp-share__networks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.tc-pdp-share__net {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.5rem;
  border-radius: 0.9rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  color: #334155;
  background: #fff;
  border: 1px solid #e8ecf1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.tc-pdp-share__net:hover {
  background: #faf8ff;
  border-color: rgba(139, 92, 246, 0.28);
}

.tc-pdp-share__net-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #eef2f6;
}

.tc-pdp-share__net-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.tc-pdp-share__net-name {
  line-height: 1.2;
}

.tc-pdp-share__link-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(139, 92, 246, 0.16);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.tc-pdp-share__link-text {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748b;
  word-break: break-all;
  line-height: 1.5;
  text-align: left;
  background: linear-gradient(180deg, #faf8ff 0%, #fff 100%);
  border-inline-end: 1px solid rgba(139, 92, 246, 0.1);
}

.tc-pdp-share__link-text--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  text-align: right;
  background: rgba(30, 185, 128, 0.1) !important;
  border: 1px solid rgba(30, 185, 128, 0.3) !important;
  border-radius: 0.65rem;
  border-inline-end: 1px solid rgba(30, 185, 128, 0.3) !important;
}

.tc-share-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 100000;
  max-width: min(92vw, 24rem);
  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%) translateY(0.5rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tc-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tc-pdp-share__link-hint {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.55;
  word-break: break-word;
}

.tc-pdp-share__link-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  word-break: break-word;
}

.tc-pdp-share__link-url {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1eb980;
  line-height: 1.45;
  word-break: break-all;
}

.tc-pdp-share__copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 1rem;
  min-width: 4.5rem;
  border: none;
  font-size: 0.76rem;
  font-weight: 800;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(145deg, #8b5cf6, var(--share-violet));
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tc-pdp-share__copy:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.tc-pdp-share__copy:active {
  transform: scale(0.98);
}

.tc-pdp-share__copy.is-copied {
  background: linear-gradient(145deg, #34d399, #059669);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.tc-pdp-share__copy svg {
  flex-shrink: 0;
  opacity: 0.92;
}

body.tc-pdp-share-open {
  overflow: hidden;
}

@media (max-width: 380px) {
  .tc-pdp-share__networks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .tc-pdp-share__dialog {
    width: min(100%, 20rem);
  }

  .tc-pdp-share__net {
    padding: 0.7rem 0.35rem;
  }

  .tc-pdp-share__link-row {
    flex-direction: column;
  }

  .tc-pdp-share__link-text {
    border-inline-end: none;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  }

  .tc-pdp-share__copy {
    min-height: 2.65rem;
    width: 100%;
  }
}

.landing-home .tc-pdp__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  justify-content: flex-start;
}

.landing-home .tc-pdp__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.65rem;
  background: #f3f4f6;
  border: none;
  text-align: right;
}

.landing-home .tc-pdp__meta--format {
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  min-width: 6.5rem;
}

.landing-home .tc-pdp__meta-pdf-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.2rem;
  font-size: 0.5rem;
  font-weight: 800;
  color: #fff;
  background: #e11d48;
}

.landing-home .tc-pdp__meta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.landing-home .tc-pdp__meta-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #9ca3af;
}

.landing-home .tc-pdp__meta-value {
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #1f2937;
}

.landing-home .tc-pdp__cover-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.landing-home .tc-pdp__cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, #a78bfa 0%, #7c3aed 100%);
}

.landing-home .tc-pdp__cover-fallback span {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
}

/* ── معرفی (کنار تصویر) ── */
.landing-home .tc-pdp__hero-main .tc-pdp__intro {
  margin-top: 1.15rem;
  margin-bottom: 0;
}

.landing-home .tc-pdp__intro-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-pdp__intro-body {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--tc-text-muted);
  text-align: justify;
  word-break: break-word;
}

/* ── باکس checkout (سایدبار چپ) ── */
.landing-home .tc-pdp__checkout-card {
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 0.85rem;
  background: #fff;
  border: 1px solid var(--pdp-border);
  box-shadow: none;
}

.landing-home .tc-pdp__checkout-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.landing-home .tc-pdp__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.landing-home .tc-pdp__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tc-text);
}

.landing-home .tc-pdp-input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--tc-border);
  border-radius: 0.65rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--tc-text);
  background: #fafafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-home .tc-pdp-input:focus {
  outline: none;
  border-color: var(--pdp-violet);
  box-shadow: 0 0 0 3px rgba(124, 92, 230, 0.15);
  background: #fff;
}

.landing-home .tc-pdp-input--invalid {
  border-color: #fda4af;
  background: #fff5f5;
}

.landing-home .tc-pdp-input--invalid:focus {
  border-color: #fb7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
}

.landing-home .tc-pdp__field-error {
  margin-top: 0.15rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  color: #9f1239;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 55%, #fdf2f8 100%);
  border: 1px solid rgba(244, 63, 94, 0.16);
}

.landing-home .tc-pdp__field-error p {
  margin: 0;
}

.landing-home .tc-pdp__field-error p + p {
  margin-top: 0.25rem;
}

.landing-home .tc-pdp__field-error[hidden] {
  display: none;
}

.landing-home .tc-pdp__coupon-feedback {
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
}

.landing-home .tc-pdp__coupon-feedback[hidden] {
  display: none;
}

.landing-home .tc-pdp__coupon-feedback--success {
  color: #047857;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 55%, #f0fdf4 100%);
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.landing-home .tc-pdp__coupon-feedback--error {
  color: #9f1239;
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 55%, #fdf2f8 100%);
  border: 1px solid rgba(244, 63, 94, 0.16);
}

.landing-home .tc-pdp__price-line--final {
  margin-top: 0.35rem;
  padding-top: 0.4rem;
  border-top: 1px dashed var(--pdp-border);
  font-weight: 800;
  color: var(--pdp-violet-dark);
}

.landing-home .tc-pdp__coupon-details {
  border: none;
  margin: 0;
}

.landing-home .tc-pdp__coupon-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--pdp-border);
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  color: #4b5563;
  background: var(--pdp-surface);
  cursor: pointer;
  list-style: none;
  transition: background 0.2s ease;
}

.landing-home .tc-pdp__coupon-summary::-webkit-details-marker {
  display: none;
}

.landing-home .tc-pdp__coupon-summary::marker {
  content: '';
}

.landing-home .tc-pdp__coupon-details[open] .tc-pdp__coupon-summary {
  border-end-end-radius: 0;
  border-end-start-radius: 0;
  border-bottom-color: transparent;
}

.landing-home .tc-pdp__coupon-summary:hover {
  background: #eef1f5;
}

.landing-home .tc-pdp__coupon-summary svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.landing-home .tc-pdp__coupon-body {
  padding: 0.65rem 0.75rem 0.75rem;
  border: 1px solid var(--pdp-border);
  border-top: none;
  border-radius: 0 0 0.65rem 0.65rem;
  background: #fff;
}

.landing-home .tc-pdp__pay-btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: var(--pdp-violet-dark);
  box-shadow: 0 6px 20px rgba(124, 92, 230, 0.35);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.landing-home .tc-pdp__pay-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.landing-home .tc-pdp__pay-btn-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 0.75rem;
}

.landing-home .tc-pdp__pay-btn-price {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 0.75rem;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  background: rgba(0, 0, 0, 0.12);
  border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.landing-home a.tc-pdp__pay-btn .tc-pdp__pay-btn-label {
  flex: 1;
}

.landing-home .tc-pdp__checkout-lead {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tc-text-muted);
}

.landing-home .tc-pdp__checkout-hint {
  margin: 0.5rem 0 0;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #9ca3af;
  text-align: center;
}

.landing-home .tc-pdp__checkout-free-badge {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d9a6e;
  background: rgba(83, 221, 169, 0.12);
  border: 1px solid rgba(83, 221, 169, 0.28);
}

.landing-home .tc-pdp__pay-btn--free .tc-pdp__pay-btn-label {
  flex: 1;
  background: transparent;
  border: none;
}

.landing-home .tc-product-price__free {
  color: #2d9a6e;
}

.landing-home .tc-pdp__coupon-row {
  display: flex;
  gap: 0.45rem;
  align-items: stretch;
}

.landing-home .tc-pdp__coupon-row .tc-pdp-input {
  flex: 1;
  min-width: 0;
}

.landing-home .tc-pdp__coupon-apply {
  flex-shrink: 0;
  padding: 0 0.85rem;
  border: 1px solid rgba(124, 92, 230, 0.35);
  border-radius: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--pdp-violet);
  background: var(--pdp-violet-soft);
  cursor: pointer;
  transition: background 0.2s ease;
}

.landing-home .tc-pdp__coupon-apply:hover {
  background: #ddd6fe;
}

.landing-home .tc-pdp__price-breakdown {
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid var(--tc-border);
  font-size: 0.78rem;
}

.landing-home .tc-pdp__price-line {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0;
  color: var(--tc-text-muted);
}

.landing-home .tc-pdp__price-line--off {
  color: #059669;
  font-weight: 600;
}

.landing-home .tc-pdp__price-breakdown {
  margin-top: 0.15rem;
}

/* ── گالری (داخل پنل — بدون کادر جدا) ── */
.landing-home .tc-pdp-gallery {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.landing-home .tc-pdp-gallery__stage {
  position: relative;
  order: 1;
  padding: 1rem 0.85rem 0.75rem;
  min-height: min(58vw, 16rem);
  background: transparent;
}

.landing-home .tc-pdp-gallery__zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f5f3ff;
  cursor: zoom-in;
  transition: opacity 0.2s ease;
}

.landing-home .tc-pdp-gallery__zoom:hover {
  opacity: 0.92;
}

.landing-home .tc-pdp-gallery__zoom:focus-visible {
  outline: 2px solid var(--tc-primary);
  outline-offset: 2px;
}

.landing-home .tc-pdp-gallery__frame {
  display: flex;
  flex-direction: column;
}

.landing-home .tc-pdp-gallery__figure {
  position: relative;
  margin: 0;
  padding-inline: 2.75rem;
  text-align: center;
}

.landing-home .tc-pdp-gallery__main {
  display: block;
  width: 100%;
  max-height: min(68vw, 22rem);
  margin: 0 auto;
  object-fit: contain;
}

.landing-home .tc-pdp-gallery__zoom-hint {
  position: absolute;
  inset-inline-end: 0.55rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(91, 33, 182, 0.82);
  backdrop-filter: blur(4px);
  opacity: 0.9;
}

.landing-home .tc-pdp-gallery__caption {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tc-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pdp-border);
}

.landing-home .tc-pdp-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: var(--tc-primary-dark);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(124, 92, 230, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-home .tc-pdp-gallery__nav:hover {
  background: var(--pdp-violet);
  color: #fff;
  transform: translateY(-50%) scale(1.06);
}

.landing-home .tc-pdp-gallery__nav--prev { inset-inline-end: 0.35rem; }
.landing-home .tc-pdp-gallery__nav--next { inset-inline-start: 0.35rem; }

.landing-home .tc-pdp-gallery__thumbs {
  order: 2;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: transparent;
  border-top: 1px solid var(--tc-border);
}

.landing-home .tc-pdp-gallery__thumbs::-webkit-scrollbar {
  height: 4px;
}

.landing-home .tc-pdp-gallery__thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.5);
}

.landing-home .tc-pdp-gallery__thumb {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.25rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.landing-home .tc-pdp-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.5rem;
}

.landing-home .tc-pdp-gallery__thumb:hover {
  border-color: rgba(167, 139, 250, 0.55);
  transform: translateY(-2px);
}

.landing-home .tc-pdp-gallery__thumb.is-active {
  border-color: var(--pdp-violet);
  box-shadow: 0 0 0 2px rgba(124, 92, 230, 0.15);
}

.landing-home .tc-pdp-gallery__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem 0.65rem;
  font-size: 0.72rem;
  background: transparent;
  border-top: 1px solid var(--tc-border);
}

.landing-home .tc-pdp-gallery__counter {
  font-weight: 800;
  color: var(--tc-primary-dark);
}

.landing-home .tc-pdp-gallery__badge {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid rgba(5, 150, 105, 0.2);
}

.landing-home .tc-pdp-gallery--empty .tc-pdp-gallery__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 14rem;
  padding: 2rem;
  text-align: center;
}

.landing-home .tc-pdp-gallery__empty span {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pdp-violet);
}

.landing-home .tc-pdp-gallery__empty p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--tc-text-muted);
}

/* ── اسلایدر محصولات مشابه ── */
.landing-home .tc-pdp-similar {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pdp-border);
}

.landing-home .tc-pdp-similar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1.1rem;
}

.landing-home .tc-pdp-similar__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-pdp-similar__lead {
  margin: 0.25rem 0 0;
  font-size: 0.74rem;
  font-weight: 500;
  color: #94a3b8;
}

.landing-home .tc-pdp-similar__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.landing-home .tc-pdp-similar__all {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--pdp-violet-dark);
  text-decoration: none;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--pdp-violet-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.landing-home .tc-pdp-similar__all:hover {
  background: #ede9fe;
  color: #6d28d9;
}

.landing-home .tc-pdp-similar__nav {
  display: flex;
  gap: 0.35rem;
}

.landing-home .tc-pdp-similar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--pdp-border);
  border-radius: 999px;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.landing-home .tc-pdp-similar__btn:hover:not(:disabled) {
  color: var(--pdp-violet-dark);
  border-color: #c4b5fd;
  background: var(--pdp-violet-soft);
  transform: scale(1.04);
}

.landing-home .tc-pdp-similar__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.landing-home .tc-pdp-similar__viewport {
  overflow: hidden;
  margin: 0 -0.15rem;
  padding: 0.35rem 0.15rem 0.5rem;
}

.landing-home .tc-pdp-similar__track {
  display: flex;
  gap: 0.85rem;
  align-items: stretch;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: auto;
}

/* اسلاید اسلایدر — داخلش همان کارت فروشگاه (tc-store-product-card) */
.landing-home .tc-pdp-similar__slide {
  flex: 0 0 calc((100% - 0.85rem) / 1.15);
  max-width: 14.5rem;
  min-width: 9.5rem;
}

.landing-home .tc-pdp-similar__slide .tc-store-product-card {
  height: 100%;
}

.landing-home .tc-pdp-similar__slide .tc-store-product-card__link {
  height: 100%;
}

.landing-home .tc-pdp-similar__dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.landing-home .tc-pdp-similar__dots[hidden] {
  display: none;
}

.landing-home .tc-pdp-similar__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #e2e8f0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.landing-home .tc-pdp-similar__dot.is-active {
  width: 1.35rem;
  background: linear-gradient(90deg, #8b5cf6, var(--pdp-violet));
}

@media (min-width: 480px) {
  .landing-home .tc-pdp-similar__slide {
    flex: 0 0 calc((100% - 1.7rem) / 2.08);
  }
}

@media (min-width: 768px) {
  .landing-home .tc-pdp-similar__slide {
    flex: 0 0 calc((100% - 1.7rem) / 2.85);
  }
}

@media (min-width: 1100px) {
  .landing-home .tc-pdp-similar__slide {
    flex: 0 0 calc((100% - 2.55rem) / 3.85);
    max-width: 15rem;
  }
}

/* ── Lightbox بزرگ‌نمایی ── */
body.tc-pdp-lightbox-open {
  overflow: hidden;
}

.landing-home .tc-pdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.landing-home .tc-pdp-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.landing-home .tc-pdp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.landing-home .tc-pdp-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(92vw, 52rem);
  max-height: 90vh;
  animation: tc-pdp-lightbox-in 0.28s ease;
}

@keyframes tc-pdp-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.landing-home .tc-pdp-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 3rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: #fff;
}

.landing-home .tc-pdp-lightbox__caption {
  margin: 0.65rem 0 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.landing-home .tc-pdp-lightbox__close {
  position: absolute;
  top: -0.25rem;
  inset-inline-end: -0.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: background 0.2s ease;
}

.landing-home .tc-pdp-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.landing-home .tc-pdp-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.landing-home .tc-pdp-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.landing-home .tc-pdp-lightbox__nav--prev { inset-inline-end: calc(100% + 0.65rem); }
.landing-home .tc-pdp-lightbox__nav--next { inset-inline-start: calc(100% + 0.65rem); }

@media (max-width: 640px) {
  .landing-home .tc-pdp-lightbox__nav--prev { inset-inline-end: 0.5rem; top: auto; bottom: calc(100% + 0.5rem); transform: none; }
  .landing-home .tc-pdp-lightbox__nav--next { inset-inline-start: 0.5rem; top: auto; bottom: calc(100% + 0.5rem); transform: none; }
  .landing-home .tc-pdp-lightbox__close { top: 0.5rem; inset-inline-end: 0.5rem; }
}

/* ── دسکتاپ ── */
@media (min-width: 960px) {
  .landing-home .tc-pdp {
    padding-top: 1.75rem;
  }

  .landing-home .tc-pdp__layout {
    grid-template-columns: minmax(0, 2fr) minmax(17rem, 22rem);
    gap: 2rem 2.5rem;
  }

  .landing-home .tc-pdp__checkout {
    position: sticky;
    top: 5.5rem;
  }

  .landing-home .tc-pdp__hero-cover {
    width: 12.5rem;
  }

  .landing-home .tc-pdp__title {
    font-size: 1.9rem;
  }

  .landing-home .tc-pdp-gallery__frame {
    flex-direction: row;
    align-items: stretch;
  }

  .landing-home .tc-pdp-gallery__thumbs {
    order: 0;
    flex-direction: column;
    width: 5rem;
    max-height: 20rem;
    padding: 0.75rem 0.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-top: none;
    border-inline-start: 1px solid var(--tc-border);
  }

  .landing-home .tc-pdp-gallery__stage {
    order: 1;
    flex: 1;
    min-height: 18rem;
    padding: 1.1rem 0.9rem;
  }

  .landing-home .tc-pdp-gallery__main {
    max-height: 18rem;
  }

  .landing-home .tc-pdp-gallery__thumb {
    width: 100%;
    height: 3.75rem;
  }

}

@media (min-width: 1100px) {
  .landing-home .tc-pdp__layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: 2.5rem;
  }

  .landing-home .tc-pdp-gallery__stage {
    min-height: 20rem;
  }

  .landing-home .tc-pdp-gallery__main {
    max-height: 20rem;
  }
}

@media (max-width: 899px) {
  .landing-home .tc-pdp__layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .landing-home .tc-pdp__main {
    order: 1;
    width: 100%;
  }

  .landing-home .tc-pdp__checkout {
    order: 2;
    width: 100%;
  }

  .landing-home .tc-pdp__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .landing-home .tc-pdp__hero-cover {
    order: 1;
    width: 100%;
    max-width: 17rem;
    margin-inline: auto;
    align-items: center;
  }

  .landing-home .tc-pdp__cover-wrap {
    margin-inline: auto;
    border-radius: var(--tc-radius-md);
  }

  .landing-home .tc-pdp__cover-wrap img {
    border-radius: inherit;
  }

  .landing-home .tc-pdp-gallery__zoom {
    border-radius: var(--tc-radius-md);
  }

  .landing-home .tc-pdp-gallery__main {
    border-radius: var(--tc-radius-md);
  }

  .landing-home .tc-pdp-similar__media img {
    border-radius: 0.65rem;
  }

  .landing-home .tc-pdp__cover-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 17rem;
    margin-inline: auto;
  }

  .landing-home .tc-pdp__toolbar {
    justify-content: center;
    width: 100%;
    max-width: 17rem;
  }

  .landing-home .tc-pdp__btn-preview {
    flex: 1;
    max-width: none;
  }

  .landing-home .tc-pdp__meta-row {
    justify-content: center;
    width: 100%;
  }

  .landing-home .tc-pdp__hero-main {
    order: 2;
    width: 100%;
    align-self: stretch;
    text-align: right;
    padding-top: 0.25rem;
    border-top: 1px solid var(--pdp-border);
  }

  .landing-home .tc-pdp__hero-main .tc-pdp__intro {
    margin-top: 1rem;
    padding-top: 0.25rem;
  }

  .landing-home .tc-pdp__title {
    text-align: right;
  }

  .landing-home .tc-pdp__hero-main .tc-pdp__crumb {
    justify-content: flex-start;
  }

  /* موبایل: حرکت اسلایدر مشابه‌ها فوری و کم‌هزینه باشد */
  .landing-home .tc-pdp-similar__track {
    transition: none !important;
    will-change: auto !important;
  }
}

/* ── مودال پیش‌نمایش PDF — صفحات پشت‌سرهم ── */
body.tc-pdf-preview-open {
  overflow: hidden;
}

.tc-pdf-preview {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.tc-pdf-preview[hidden] {
  display: none;
}

.tc-pdf-preview__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(15, 23, 42, 0.5);
  cursor: pointer;
}

.tc-pdf-preview__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(96vw, 44rem);
  max-height: min(92vh, 52rem);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #eef0f2;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

@keyframes tc-pdf-preview-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tc-pdf-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

.tc-pdf-preview__head-start {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.tc-pdf-preview__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
}

.tc-pdf-preview__count {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
}

.tc-pdf-preview__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 0.5rem;
  color: #6b7280;
  background: transparent;
  cursor: pointer;
}

.tc-pdf-preview__close:hover {
  background: #f3f4f6;
  color: #111827;
}

.tc-pdf-preview__stack {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tc-pdf-preview__sheet {
  margin: 0;
  width: 100%;
  max-width: 36rem;
  display: flex;
  justify-content: center;
}

.tc-pdf-preview__sheet-img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
}

@media (max-width: 640px) {
  .tc-pdf-preview__dialog {
    width: 100%;
    max-height: 94vh;
  }

  .tc-pdf-preview__stack {
    padding: 0.65rem 0.65rem 1rem;
    gap: 0.75rem;
  }
}

/* ── محصولات مشابه سبک — بدون اسلایدر و تصویر ── */
.landing-home .tc-pdp-related {
  margin-top: 2.25rem;
  padding: 1rem;
  border: 1px solid var(--pdp-border);
  border-radius: 1rem;
  background: #fff;
}

.landing-home .tc-pdp-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.landing-home .tc-pdp-related__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-pdp-related__lead {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
}

.landing-home .tc-pdp-related__all {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--pdp-violet-dark);
  text-decoration: none;
  background: var(--pdp-violet-soft);
}

.landing-home .tc-pdp-related__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-home .tc-pdp-related__row {
  min-width: 0;
}

.landing-home .tc-pdp-related__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 5.15rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid #eef2f6;
  border-radius: 0.85rem;
  background: #fafafa;
  color: inherit;
  text-decoration: none;
}

.landing-home .tc-pdp-related__thumb {
  flex: 0 0 4.1rem;
  width: 4.1rem;
  height: 5.15rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #f5f3ff;
}

.landing-home .tc-pdp-related__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.landing-home .tc-pdp-related__fallback {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--pdp-violet-dark);
}

.landing-home .tc-pdp-related__body {
  flex: 1;
  min-width: 0;
}

.landing-home .tc-pdp-related__name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #1f2937;
}

.landing-home .tc-pdp-related__meta {
  display: block;
  overflow: hidden;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  line-height: 1.5;
  color: #94a3b8;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-home .tc-pdp-related__price {
  flex-shrink: 0;
  margin-inline-start: auto;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pdp-violet-dark);
}

.landing-home .tc-pdp-related__price .tc-product-price {
  margin: 0;
}

@media (hover: hover) {
  .landing-home .tc-pdp-related__item:hover {
    border-color: #ddd6fe;
    background: #f8f5ff;
  }
}

@media (max-width: 760px) {
  .landing-home .tc-pdp-related {
    margin-top: 1.6rem;
    padding: 0.85rem;
    box-shadow: none;
  }

  .landing-home .tc-pdp-related__head {
    align-items: flex-start;
  }

  .landing-home .tc-pdp-related__list {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .landing-home .tc-pdp-related__item {
    min-height: 5rem;
    padding: 0.65rem 0.75rem;
  }

  .landing-home .tc-pdp-related__thumb {
    flex-basis: 3.85rem;
    width: 3.85rem;
    height: 4.85rem;
  }
}

