/* صفحه تک‌محصول 7watch */
.pd-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--nm-muted, #64748b);
  margin-bottom: 1.25rem;
}
.pd-crumb a {
  color: inherit;
  text-decoration: none;
}
.pd-crumb a:hover { color: var(--nm-accent, #0d9488); }
.pd-crumb span { opacity: .5; }

.pd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
    align-items: start;
  }
  .pd-buy { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .pd-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr) minmax(260px, 0.55fr);
  }
  .pd-buy { grid-column: auto; }
}

.pd-gallery { min-width: 0; }
.pd-info { min-width: 0; }
.pd-buy {
  min-width: 0;
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 18px;
  background: #fff;
  padding: 1.1rem 1.15rem 1.2rem;
  position: sticky;
  top: 96px;
}
@media (max-width: 1099px) {
  .pd-buy { position: static; }
}

.pd-brand {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--nm-accent, #0d9488);
  margin-bottom: 0.35rem;
  text-decoration: none;
}
.pd-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: var(--nm-ink, #0f172a);
  line-height: 1.55;
}
.pd-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 0.8rem;
  color: var(--nm-muted, #64748b);
  margin-bottom: 1rem;
}
.pd-meta strong { color: var(--nm-ink, #0f172a); font-weight: 700; }

.pd-colors {
  margin: 1rem 0 1.15rem;
}
.pd-colors-label {
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
  color: var(--nm-muted, #64748b);
}
.pd-colors-label b { color: var(--nm-ink, #0f172a); }
.pd-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pd-swatch {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
  padding: 0;
  background: #ccc;
}
.pd-swatch.is-on {
  box-shadow: 0 0 0 2px #0d9488;
}

.pd-quick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pd-quick li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f4faf8;
}
.pd-quick span { color: var(--nm-muted, #64748b); }
.pd-quick strong { color: var(--nm-ink, #0f172a); font-weight: 700; }

.pd-buy-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.35rem;
}
.pd-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f766e;
}
.pd-price-old {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.pd-curr {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}
.pd-off {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: #ffe4e6;
  color: #e11d48;
  font-size: 0.72rem;
  font-weight: 800;
}
.pd-stock {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}
.pd-stock.is-up { color: #0f766e; }
.pd-stock.is-down { color: #e11d48; }
.pd-stock i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  display: inline-block;
}

.pd-warranty {
  font-size: 0.8rem;
  color: var(--nm-muted, #64748b);
  line-height: 1.7;
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--nm-line, #e2e8f0);
}
.pd-warranty strong {
  display: block;
  color: var(--nm-ink, #0f172a);
  margin-bottom: 2px;
}

.pd-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.55rem;
}
.pd-cta:disabled,
.pd-cta.is-disabled {
  opacity: .5;
  pointer-events: none;
  cursor: not-allowed;
}
.pd-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
}

.pd-trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 1.5rem 0 2rem;
}
@media (min-width: 768px) {
  .pd-trust { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
.pd-trust-item {
  text-align: center;
  padding: 0.9rem 0.6rem;
  border-radius: 14px;
  border: 1px solid var(--nm-line, #e2e8f0);
  background: #fff;
}
.pd-trust-item strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: var(--nm-ink, #0f172a);
}
.pd-trust-item span {
  font-size: 0.72rem;
  color: var(--nm-muted, #64748b);
}

.pd-tabs {
  border: 1px solid var(--nm-line, #e2e8f0);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 2rem;
}
.pd-tabs-nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--nm-line, #e2e8f0);
  scrollbar-width: none;
}
.pd-tabs-nav::-webkit-scrollbar { display: none; }
.pd-tab-btn {
  flex: 0 0 auto;
  padding: 0.85rem 1.1rem;
  border: none;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--nm-muted, #64748b);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.pd-tab-btn.is-on {
  color: #0f766e;
  border-bottom-color: #0d9488;
}
.pd-tab-panel {
  display: none;
  padding: 1.15rem 1.2rem 1.35rem;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--nm-muted, #64748b);
}
.pd-tab-panel.is-on { display: block; }
.pd-tab-panel p { margin: 0 0 0.85rem; }
.pd-specs {
  width: 100%;
  border-collapse: collapse;
}
.pd-specs th,
.pd-specs td {
  text-align: start;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--nm-line, #e2e8f0);
  font-size: 0.86rem;
}
.pd-specs th {
  width: 38%;
  color: var(--nm-muted, #64748b);
  font-weight: 600;
}
.pd-specs td {
  color: var(--nm-ink, #0f172a);
  font-weight: 700;
}

.pd-empty {
  text-align: center;
  padding: 3rem 1rem;
}
.pd-empty h1 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

/* گالری — چیدمان PDP */
.pd-gallery .fz-gallery-main {
  background: linear-gradient(160deg, #f1f5f4, #e8eeed);
}
.pd-gallery .fz-gallery-thumbs {
  grid-template-columns: repeat(4, 1fr);
}

html.dark .pd-buy,
html.dark .pd-trust-item,
html.dark .pd-tabs {
  background: #121820;
  border-color: rgba(212, 175, 110, 0.12);
}
html.dark .pd-title,
html.dark .pd-quick strong,
html.dark .pd-specs td,
html.dark .pd-trust-item strong,
html.dark .pd-warranty strong {
  color: #f3efe6;
}
html.dark .pd-quick li,
html.dark .pd-warranty {
  background: #0e131a;
  border-color: rgba(212, 175, 110, 0.1);
}
html.dark .pd-price { color: #5eead4; }
html.dark .pd-tab-btn.is-on { color: #5eead4; border-bottom-color: #2dd4bf; }
html.dark .pd-tabs-nav { border-bottom-color: rgba(212, 175, 110, 0.12); }

.nm-store .pd-buy.pc-product-card { max-width: none; margin: 0; padding: 1.25rem; gap: 1rem; align-self: start; }
.pd-related-section { margin-top: 3rem; }
.pd-related-section h2 { margin-bottom: 1.25rem; }
