/* ------------------------------------------------------------------
   ژنا (Zhena Shop) - استایل عمومی سایت
   ------------------------------------------------------------------ */

:root {
  --sh-bg: #fdf6f5;
  --sh-bg-alt: #f7e9e7;
  --sh-ink: #34262a;
  --sh-ink-soft: #6e5a5e;
  --sh-primary: #c2456b;
  --sh-primary-dark: #9c2f52;
  --sh-secondary: #e8a24e;
  --sh-gold: #c9a15a;
  --sh-border: #ecd9d6;
  --sh-white: #ffffff;
  --sh-grad: linear-gradient(135deg, #c2456b 0%, #e8a24e 100%);
}

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background-color: var(--sh-bg);
  color: var(--sh-ink);
  line-height: 1.85;
}

a { color: var(--sh-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--sh-primary-dark); }

h1, h2, h3, h4, h5 { font-weight: 800; color: var(--sh-ink); }

/* ---------------- نوار بالای اطلاع‌رسانی ---------------- */
.sh-topbar {
  background: var(--sh-grad);
  color: #fff;
  font-size: 0.82rem;
  text-align: center;
  padding: 0.4rem 0;
  letter-spacing: 0.2px;
}

/* ---------------- نوار بالا ---------------- */
.sh-navbar {
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-border);
  box-shadow: 0 2px 10px rgba(194, 69, 107, 0.05);
}
.sh-navbar .navbar-brand {
  font-size: 1.7rem;
  font-weight: 900;
  background: var(--sh-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}
.sh-navbar .navbar-brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--sh-ink-soft);
  -webkit-text-fill-color: var(--sh-ink-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.sh-navbar .nav-link {
  color: var(--sh-ink) !important;
  font-weight: 600;
  font-size: 0.92rem;
}
.sh-navbar .nav-link:hover { color: var(--sh-primary) !important; }
.sh-navbar .dropdown-menu {
  border: none;
  box-shadow: 0 0.6rem 1.5rem rgba(0,0,0,0.12);
  border-radius: 0.7rem;
  padding: 0.6rem;
}
.sh-navbar .dropdown-item {
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
}
.sh-navbar .dropdown-item:hover { background: var(--sh-bg-alt); color: var(--sh-primary-dark); }

.sh-cart-badge {
  background: var(--sh-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  position: relative;
  top: -8px;
  right: 4px;
}

/* ---------------- هیرو ---------------- */
.sh-hero {
  position: relative;
  overflow: hidden;
  background: var(--sh-grad);
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  color: #fff;
}
.sh-hero::before, .sh-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.sh-hero::before { width: 260px; height: 260px; top: -100px; left: -60px; }
.sh-hero::after { width: 180px; height: 180px; bottom: -80px; right: 10%; }
.sh-hero .container { position: relative; z-index: 2; }
.sh-hero h1 { font-size: 2.4rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.sh-hero p { color: rgba(255,255,255,0.92); font-size: 1.05rem; }
.sh-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.sh-hero .btn-light-outline {
  border: 1.5px solid #fff;
  color: #fff;
  background: transparent;
}
.sh-hero .btn-light-outline:hover { background: #fff; color: var(--sh-primary-dark); }

.sh-page-header {
  padding: 2.2rem 0 1.4rem;
  border-bottom: 1px solid var(--sh-border);
  margin-bottom: 2rem;
  background: var(--sh-bg-alt);
}

/* ---------------- نوار ویژگی‌ها (ارسال، ضمانت و...) ---------------- */
.sh-perks {
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-border);
  padding: 1.6rem 0;
}
.sh-perk {
  text-align: center;
  padding: 0.5rem;
}
.sh-perk .icon { font-size: 1.8rem; display: block; margin-bottom: 0.3rem; }
.sh-perk .label { font-size: 0.85rem; font-weight: 600; color: var(--sh-ink-soft); }

/* ---------------- دسته‌بندی‌ها (خانه) ---------------- */
.sh-cat-card {
  background: var(--sh-white);
  border: 1px solid var(--sh-border);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  display: block;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sh-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.8rem 1.6rem rgba(194, 69, 107, 0.14);
  border-color: var(--sh-primary);
}
.sh-cat-card .icon {
  font-size: 2.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.sh-cat-card .name { font-weight: 700; color: var(--sh-ink); font-size: 0.95rem; }

/* ---------------- کارت محصول ---------------- */
.sh-card {
  background: var(--sh-white);
  border: 1px solid var(--sh-border);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
}
.sh-card:hover {
  box-shadow: 0 0.7rem 1.6rem rgba(194, 69, 107, 0.18);
  transform: translateY(-4px);
}
.sh-card .img-wrap { position: relative; overflow: hidden; }
.sh-card .card-img-top {
  height: 260px;
  width: 100%;
  object-fit: cover;
  background: var(--sh-bg-alt);
  transition: transform .35s ease;
}
.sh-card:hover .card-img-top { transform: scale(1.06); }

.sh-price {
  font-weight: 800;
  color: var(--sh-primary);
}
.sh-price-old {
  text-decoration: line-through;
  color: #a99;
  font-size: 0.85rem;
  margin-inline-start: 0.4rem;
}
.sh-badge-discount {
  background: var(--sh-grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.sh-badge-out {
  background: #999;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
}
.sh-badge-new {
  background: #2f9e63;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 2rem;
}
.sh-badge-cat {
  background: var(--sh-bg-alt);
  color: var(--sh-primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px #ddd;
  cursor: pointer;
}
.color-radio:checked + .color-dot { box-shadow: 0 0 0 2px var(--sh-primary); }

/* ---------------- بنر تبلیغاتی میانی ---------------- */
.sh-promo-banner {
  background: linear-gradient(120deg, #fbeaea, #fdf3e3);
  border: 1px dashed var(--sh-gold);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

/* ---------------- نظرات مشتریان (خانه) ---------------- */
.sh-testimonial {
  background: var(--sh-white);
  border-radius: 1rem;
  border: 1px solid var(--sh-border);
  padding: 1.5rem;
  height: 100%;
}
.sh-testimonial .stars { color: var(--sh-gold); font-size: 0.9rem; }
.sh-testimonial p { font-size: 0.92rem; color: var(--sh-ink-soft); }
.sh-testimonial .name { font-weight: 700; font-size: 0.88rem; }

/* ---------------- خبرنامه ---------------- */
.sh-newsletter {
  background: var(--sh-grad);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  color: #fff;
}
.sh-newsletter input {
  border-radius: 2rem;
  border: none;
  padding: 0.6rem 1.2rem;
}
.sh-newsletter button {
  border-radius: 2rem;
  background: #fff;
  color: var(--sh-primary-dark);
  font-weight: 700;
  border: none;
  padding: 0.6rem 1.6rem;
}

/* ---------------- دکمه‌ها ---------------- */
.btn-sh-primary {
  background: var(--sh-grad);
  border: none;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(194, 69, 107, 0.3);
}
.btn-sh-primary:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 6px 16px rgba(194, 69, 107, 0.4);
}
.btn-outline-sh {
  border-color: var(--sh-primary);
  color: var(--sh-primary);
  font-weight: 600;
}
.btn-outline-sh:hover {
  background-color: var(--sh-primary);
  color: #fff;
}

/* ---------------- فوتر ---------------- */
.sh-footer {
  background: #2b1f22;
  color: #e7d3d1;
  margin-top: 4rem;
  padding: 2.5rem 0 1.2rem;
}
.sh-footer a { color: #f3e2e0; }
.sh-footer h6 { color: #fff; }
.sh-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  margin-inline-end: 0.4rem;
}
.sh-social a:hover { background: var(--sh-primary); }

/* ---------------- سبد خرید ---------------- */
.sh-cart-row {
  border-bottom: 1px solid var(--sh-border);
  padding: 1rem 0;
}
.sh-cart-thumb {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.5rem;
}

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

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  background: var(--sh-grad);
}
