/* ==========================================
   سینایِ تن — استایل اصلی
   تم: سرمه‌ای عمیق + آبی روشن + طلایی
   ========================================== */

:root {
  --navy-900: #060f26;
  --navy-800: #0a1f44;
  --navy-700: #12295c;
  --navy-600: #1c3a7a;
  --blue-400: #4fc3f7;
  --blue-300: #81d4fa;
  --gold: #d4af37;
  --gold-light: #e8c96a;
  --ice: #eef4fb;
  --white: #ffffff;
  --text-muted: #9fb3d1;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  background: var(--navy-900);
  color: var(--ice);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ===== دکمه‌ها ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.1rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-900);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--ice);
  border: 2px solid var(--blue-400);
}

.btn-outline:hover {
  background: rgba(79, 195, 247, 0.12);
}

/* ===== هدر شیشه‌ای ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 15, 38, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79, 195, 247, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ice);
  white-space: nowrap;
}

.logo-text b {
  color: var(--gold);
}

.main-nav {
  display: flex;
  gap: 0.4rem;
}

.main-nav a {
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.98rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(79, 195, 247, 0.14);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.cart-btn {
  position: relative;
  color: var(--ice);
  display: flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -8px;
  left: -10px;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--ice);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== هیرو ===== */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(6, 15, 38, 0.92) 0%,
      rgba(6, 15, 38, 0.65) 45%,
      rgba(6, 15, 38, 0.25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-block: 5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.4rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.gold {
  color: var(--gold);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== نوار اعتماد ===== */
.trust-bar {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  border-block: 1px solid rgba(79, 195, 247, 0.12);
  padding-block: 1.8rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: center;
}

.trust-item .trust-icon {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 0.4rem;
}

.trust-item p {
  font-size: 0.95rem;
  color: var(--ice);
}

/* ===== معرفی محصول ===== */
.about-product {
  padding-block: 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-right: 1.8rem;
  margin-bottom: 0.7rem;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: var(--gold);
}

/* ===== محصولات ===== */
.products {
  padding-block: 5rem;
  background:
    radial-gradient(ellipse at top, rgba(28, 58, 122, 0.35), transparent 60%),
    var(--navy-900);
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.product-card {
  position: relative;
  background: linear-gradient(180deg, var(--navy-800), var(--navy-700));
  border: 1px solid rgba(79, 195, 247, 0.15);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.6rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: var(--shadow);
}

.product-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 34px rgba(212, 175, 55, 0.18);
}

.product-card img {
  border-radius: 12px;
  margin-bottom: 1rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.p-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  min-height: 2.6em;
}

.p-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.p-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.btn-add {
  background: linear-gradient(135deg, var(--blue-400), #2196d9);
  color: var(--navy-900);
  font-weight: 800;
  padding: 0.75rem 1rem;
  width: 100%;
  margin-top: auto;
}

.btn-add:hover {
  box-shadow: 0 8px 24px rgba(79, 195, 247, 0.4);
}

.ribbon {
  position: absolute;
  top: 14px;
  right: -8px;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 6px 0 0 6px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ribbon.gift {
  background: var(--blue-400);
}

.claims-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ===== ضمانت‌نامه ===== */
.guarantee {
  padding-block: 5rem;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-block: 1px solid rgba(212, 175, 55, 0.2);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.guarantee-text h2 {
  font-size: 2.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.guarantee-text p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.guarantee-img img {
  border-radius: var(--radius);
  border: 2px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 44px rgba(212, 175, 55, 0.15), var(--shadow);
}

/* ===== اسلایدر نتایج ===== */
.results {
  padding-block: 5rem;
}

.slider {
  position: relative;
  max-width: 620px;
  margin-inline: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(79, 195, 247, 0.2);
}

.slides {
  display: flex;
  transition: transform 0.55s ease;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 1240 / 1280;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(6, 15, 38, 0.65);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 3;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
}

.slider-btn:hover {
  background: var(--gold);
  color: var(--navy-900);
}

.slider-btn.prev {
  right: 12px;
}

.slider-btn.next {
  left: 12px;
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dots button.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===== فوتر ===== */
.site-footer {
  background: #040b1d;
  border-top: 1px solid rgba(79, 195, 247, 0.12);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-grid h4 {
  color: var(--gold);
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}

.footer-grid p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-grid a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: var(--blue-300);
}

.footer-bottom {
  text-align: center;
  padding-block: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: rgba(6, 15, 38, 0.97);
    backdrop-filter: blur(14px);
    padding: 1.4rem 6%;
    gap: 0.3rem;
    transform: translateY(-130%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid rgba(79, 195, 247, 0.2);
    z-index: 99;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .about-grid,
  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-grid .guarantee-img {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-overlay {
    background: linear-gradient(180deg,
        rgba(6, 15, 38, 0.55) 0%,
        rgba(6, 15, 38, 0.9) 100%);
  }
}

@media (max-width: 560px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================================
   اعلان افزودن به سبد خرید (Cart Toast)
   ========================================== */
.fly-ghost {
  position: fixed;
  z-index: 9999;
  width: 90px;
  height: 90px;
  border-radius: 18px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid #d4af37;
  transition: all 0.8s cubic-bezier(0.42, 0, 0.58, 1);
}

.cart-btn.cart-bump {
  animation: cartBump 0.5s ease-out;
}

@keyframes cartBump {
  0% { transform: scale(1); }
  25% { transform: scale(1.25) rotate(-8deg); }
  50% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1); }
}

.cart-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(160px);
  background: rgba(212, 175, 55, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #060f26;
  padding: 14px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: max-content;
  max-width: 92vw;
  direction: rtl;
  font-weight: 600;
  font-family: inherit;
}

.cart-toast.show {
  transform: translateX(-50%) translateY(0);
}

.ct-check {
  background: #060f26;
  color: #d4af37;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ct-msg {
  font-size: 0.95rem;
  white-space: nowrap;
}

.ct-go {
  background: #060f26;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.ct-go:hover { opacity: 0.85; }

.ct-close {
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.7;
}

.ct-close:hover { opacity: 1; }

@media (max-width: 480px) {
  .cart-toast { bottom: 18px; padding: 12px 16px; gap: 10px; }
  .ct-msg { font-size: 0.85rem; }
  .ct-go { font-size: 0.78rem; padding: 5px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .cart-toast { transition: none; }
  .fly-ghost { display: none; }
  .cart-btn.cart-bump { animation: none; }
}


/* ===== Social Proof Toast ===== */
.sp-toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  pointer-events: none;
}
.sp-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 31, 68, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  opacity: 0;
  transform: translateY(120px) scale(0.9);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.45s ease;
}
.sp-inner.sp-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sp-inner.sp-hide {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
}
.sp-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}
.sp-body {
  flex: 1;
  min-width: 0;
}
.sp-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #d4af37;
  line-height: 1.3;
}
.sp-action {
  font-size: 0.82rem;
  color: #eaf2ff;
  opacity: 0.95;
}
.sp-time {
  font-size: 0.72rem;
  color: #9fb4d8;
  margin-top: 2px;
}
.sp-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d07f;
  flex-shrink: 0;
  animation: spPulse 1.6s infinite;
}
@keyframes spPulse {
  0%   { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(53, 208, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); }
}
@media (max-width: 480px) {
  .sp-toast {
    left: 12px;
    right: 12px;
    bottom: 14px;
  }
  .sp-inner {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-inner {
    transition: opacity 0.3s ease;
    transform: none;
  }
  .sp-pulse {
    animation: none;
  }
}
/* ===== Social Proof Toast ===== */
.sp-toast {
  position: fixed;
  bottom: 20px;
  right: 16px;            /* برای RTL؛ اگر سمت چپ می‌خواهید left بگذارید */
  z-index: 9999;
  pointer-events: none;   /* مزاحم کلیک روی صفحه نشود */
  direction: rtl;
}

.sp-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  background: rgba(15, 25, 45, 0.95);   /* هماهنگ با تم آبی تیره سایت */
  border: 1px solid rgba(80, 140, 255, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  min-width: 240px;
  max-width: 320px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);

  /* حالت اولیه: مخفی، پایین‌تر */
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .4s ease, transform .4s ease;
}

.sp-inner.sp-show {
  opacity: 1;
  transform: translateY(0);
}

.sp-inner.sp-hide {
  opacity: 0;
  transform: translateY(24px);
}

.sp-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.sp-name {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.sp-action {
  color: #a9c4ff;
  font-size: 13px;
  margin-top: 2px;
}

.sp-time {
  color: #7a8aa5;
  font-size: 11px;
  margin-top: 3px;
}

.sp-pulse {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: spPulse 1.5s infinite;
}

@keyframes spPulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* موبایل: کمی کوچک‌تر و وسط پایین */
@media (max-width: 480px) {
  .sp-toast {
    right: 12px;
    left: 12px;
    bottom: 14px;
  }
  .sp-inner {
    max-width: none;
    width: 100%;
  }
}

