/* product-shell.css — فقط هدر/فوتر/فونت برای صفحات محصول (بدون styles.css سنگین) */
@font-face {
  font-family: 'Shabnam';
  src: url('./Shabnam.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}
@font-face {
  font-family: 'Shabnam';
  src: url('./Shabnam-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

:root {
  --persian-font-stack: 'Shabnam', Tahoma, Arial, sans-serif;
  --accent-color: #ff6b35;
  --accent-secondary: #e55a2b;
  --text-color: #ffffff;
  --text-secondary: #f5f5f5;
  --header-bg: #1a1a1a;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: hidden;
  background: #1a1a1a;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--persian-font-stack);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-color);
  background: #1a1a1a;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

header {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 107, 53, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 4px 8px;
}
.header-logo-left {
  flex-shrink: 0;
  order: 3;
  padding: 4px 8px;
}
.header-logo-left img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.center-title {
  flex: 1;
  text-align: center;
  order: 2;
  min-width: 0;
}
.center-title .site-title {
  font-size: clamp(0.85rem, 3.2vw, 1.15rem);
  margin: 0;
  color: var(--accent-color);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

footer.site-footer {
  background: #0a0a0a;
  color: var(--accent-color);
  padding: 1rem 0.75rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 107, 53, 0.2);
  margin-top: 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto 1rem;
}
.footer-section {
  flex: 1 1 150px;
  min-width: 140px;
  max-width: 230px;
  padding: 0.75rem 0.6rem;
  background: rgba(45, 45, 45, 0.35);
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 53, 0.12);
  display: flex;
  flex-direction: column;
}
.footer-section h3 {
  color: var(--accent-color);
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.footer-section ul li { margin-bottom: 0.2rem; }
.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.2rem;
}
.footer-section ul li a i {
  color: var(--accent-color);
  font-size: 0.8rem;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}
.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}
.social-icon.instagram { background: #e1306c; }
.social-icon.whatsapp { background: #25d366; }
.social-icon.linkedin { background: #0a66c2; }
.enamad {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0;
}
.enamad img {
  display: block;
  max-width: 72px;
  height: auto;
  border-radius: 8px;
}
.footer-brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.footer-brand-logos a {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
}
.footer-brand-logos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer-content {
  text-align: center;
  opacity: 0.7;
  font-size: 0.8rem;
}
.footer-content p { margin: 0; color: var(--text-secondary); }

.share-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1000;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}
.share-btn:active { transform: scale(0.96); }

@media (max-width: 760px) {
  .footer-section {
    flex: 1 1 100%;
    max-width: none;
  }
  .center-title .site-title { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
