@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --brand-primary: #CD747F;
  --brand-cta:     #B85563;
  --brand-light:   #E5B7BD;
  --brand-cream:   #F5EFEE;
  --brand-snow:    #F5EFEE;
  --brand-alabaster: #EAE3DD;
  --brand-dark:    #3D2B2E;
  --brand-muted:   rgba(61,43,46,0.55);
  --brand-border:  #EAE3DD;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: var(--brand-cream);
  color: var(--brand-dark);
  line-height: 1.7;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background-color: #B85563;
  color: white;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Vazirmatn', sans-serif;
  border: 2px solid #B85563;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .15s;
}
.btn-primary:hover {
  background-color: #E5B7BD;
  border-color: #E5B7BD;
  color: #3D2B2E;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184,85,99,.25);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #B85563;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Vazirmatn', sans-serif;
  border: 2px solid #B85563;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, transform .15s;
}
.btn-secondary:hover {
  background-color: #B85563;
  color: white;
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  background-color: transparent;
  color: white;
  padding: .75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'Vazirmatn', sans-serif;
  border: 2px solid white;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-ghost:hover {
  background-color: white;
  color: var(--brand-primary);
}

/* ── Cards ── */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(205,116,127,.18);
}

.article-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44,36,38,.1);
}

/* ── Typography helpers ── */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: .5rem;
}
.section-subtitle {
  color: var(--brand-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ── Star rating ── */
.star-rating { color: var(--brand-gold); }
.star-rating::before { content: '★★★★★'; }

/* ── Check list ── */
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: .35rem 0;
  padding-right: 1.5rem;
  position: relative;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--brand-primary);
  font-weight: 700;
}

/* ── Cross list ── */
.cross-list { list-style: none; padding: 0; }
.cross-list li {
  padding: .35rem 0;
  padding-right: 1.5rem;
  position: relative;
}
.cross-list li::before {
  content: '✕';
  position: absolute;
  right: 0;
  color: #e05252;
  font-weight: 700;
}

/* ── LTR overrides ── */
[dir="ltr"] .check-list li {
  padding-right: 0;
  padding-left: 1.5rem;
}
[dir="ltr"] .check-list li::before {
  right: auto;
  left: 0;
}
[dir="ltr"] .cross-list li {
  padding-right: 0;
  padding-left: 1.5rem;
}
[dir="ltr"] .cross-list li::before {
  right: auto;
  left: 0;
}

/* ── Form ── */
.form-input {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--brand-border);
  border-radius: .5rem;
  background: white;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  text-align: right;
  direction: rtl;
  transition: border-color .2s;
}
[dir="ltr"] .form-input {
  text-align: left;
  direction: ltr;
}
.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--brand-border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--brand-primary); }
.faq-item p {
  padding: .75rem 0 1.25rem;
  color: var(--brand-muted);
  line-height: 1.9;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: .25rem .8rem;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 600;
}
.badge-primary { background: var(--brand-light); color: var(--brand-primary); }
.badge-gold    { background: #f9f0e3; color: #8a6520; }
.badge-green   { background: #e6f5ec; color: #276d45; }

/* ── Utility ── */
.divider {
  height: 3px;
  width: 60px;
  background: var(--brand-primary);
  border-radius: 9999px;
  margin: .75rem 0 1.5rem;
}
.glass-card {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 1rem;
}
