@font-face {
  font-family: yekan;
  src: url('fonts/BYekan/BYekan+.ttf');
  src: url('fonts/BYekan/BYekan+\ Bold.ttf');
}

body {
  font-family: yekan;
  width: auto;
  direction: rtl;
  margin: auto;
  border: 1px solid black;

}


.header {
  margin: 10px;
  display: inline-block;
  display: flex;
  align-items: center;
  padding: 20px 80px;
  background: #e3e6f3;
  box-shadow: 0 5px 15px rgba(219, 29, 29, 0.06);
  z-index: 999;

  top: 0;
  left: 0;
}


h1 {
  background: linear-gradient(to right, red, orange);
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-top: 20px;

}

h3 {
  text-align: center;
}

.header .logo {

  width: 200px;
  height: 200px;
  display: inline-block;
  text-align: center;
}

svg {
  width: 50px;


}

h2 {
  text-align: center;
  font-size: 30px;
  background-color: rgb(26, 26, 27);

  background-clip: text;
  border: 5px solid rgb(243, 120, 26);
  border-radius: 100px;

}


.footer {
  margin: 10px;
  display: inline-block;
  display: flex;
  align-items: center;
  padding: 20px 80px;
  background: #e3e6f3;

  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  z-index: 999;

  top: 0;
  left: 0;
}



.product-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  font-family: yekan;
}

/* قاب عکس */
.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

/* خود عکس */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* تیتر روی عکس */
.product-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  font-size: 30px;
  font-weight: bold;
  color: #f9f7f7;

  /* بک‌گراند گرادینت برای خوانایی */
  background: linear-gradient(to bottom,
      rgba(231, 12, 12, 0.7),
      rgba(11, 11, 11, 0.044));

  text-align: center;
  z-index: 2;
}

/* کپشن زیر کارت */
.product-caption {
  margin-top: 8px;
  font-size: 20px;
  color: #ece8e8;
  text-align: center;
}


.product-actions {
  margin-top: 16px;
  text-align: center;
}

/* دکمه خرید */
.buy-btn {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  box-shadow:
    0 6px 16px rgba(34, 197, 94, 0.4);

  transition: all 0.2s ease;
}

/* هاور */
.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(34, 197, 94, 0.5);
}

/* کلیک */
.buy-btn:active {
  transform: translateY(0);
  box-shadow:
    0 4px 10px rgba(34, 197, 94, 0.3);
}

.buy-btn {
  text-decoration: none;
  display: inline-block;
}

/* موبایل */
@media (max-width: 480px) {
  .buy-btn {
    width: 100%;
  }
}

/* پایه */
body {
  margin: 0;
  font-family: yekan;
  background: #ca391f;
  color: #111;
  line-height: 1.7;
}

/* ========== HEADER ========== */
.main-header {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  z-index: 1000;
}

/* استیکی */
.main-header.sticky {
  position: sticky;
  top: 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* برند */
.brand {
  display: flex;
  align-items: center;
  gap: 19px;
}

.brand img {
  height: 85px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.brand-text h1 {
  margin: 0;
  font-size: 17px;
  color: #b45309;
  font-weight: 900;
  font-family: yekan;
}

.brand-text span {
  font-size: 12px;
  color: #555;
}

/* منو */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-weight: bold;
  font-size: 14px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #b45309;
  transition: 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

/* اکشن‌ها */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  text-decoration: none;
  color: #111;
  font-weight: bold;
  font-size: 13px;
}

.header-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg,#e71414df, #171718);
  color: #fff;
  padding: 60px 20px;
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero h2 {
  font-size: 25px;
  margin-bottom: 12px;
}

.hero p {
  color: #cbd5f5;
  font-size: 16px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: bold;
  font-size: 14px;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  color: #fff;
}

.hero-btn.secondary {
  background: transparent;
  border: 1px solid #94a3b8;
  color: #fff;
}

/* ========== SECTIONS ========== */
.section {
  padding: 60px 20px;
}

.section-light {
  background: rgb(16, 15, 15);
}

.section-dark {
  background: hsla(0, 4%, 5%, 0.937);
}

.section-title {
  text-align: center;
  font-size: 22px;
  color: #b45309;
  margin-bottom: 20px;
}

.section-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #efeded;
}

.contact-box {
  max-width: 500px;
  margin: 0 auto;
  background: #e07878;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-box p {
  direction: ltr;
}

.seo-sub {
  font-size: 12px;
  font-weight: 400;
}



/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
  }

  .hero h2 {
    font-size: 22px;
  }

  .section {
    padding: 40px 16px;
  }

}

/* ========== FOOTER ========== */
.main-footer {
  background: linear-gradient(135deg, #e71414df, #171718);
  color: #cbd5f5;
  padding-top: 60px;
}

/* گرید فوتر */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;

  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

/* ستون‌ها */
.footer-col h5 {
  color: #02f206;
  margin-bottom: 14px;
  font-size: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  direction: unset;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 13px;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
  transition: 0.2s;
}

.footer-col a:hover {
  color: #f59e0b;
}

/* برند */
.footer-brand img {
  height: 85px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 10px;
  margin-bottom: 10px;
}

.footer-brand h4 {
  margin: 6px 0;
  color: #f59e0b;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
}

/* تماس */
.footer-contact li {
  font-size: 13px;
}

/* CTA */
.footer-cta p {
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-btn {
  display: inline-block;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 13px;
  box-shadow: 0 6px 16px rgba(25, 196, 88, 0.35);
}

.insta-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.insta-mini img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* کلاس برای شماره تلفن */
.phone-number {
  direction: ltr;
  /* چپ به راست */
  unicode-bidi: embed;
  /* حفظ ترتیب اعداد */
}

/* اگر میخوای تمام لینک‌های تلفن هم خودکار درست بشن */
a[href^="tel:"] {
  direction: ltr;
  unicode-bidi: embed;
}

/* پایین فوتر */
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 16px 10px;
  font-size: 12px;
  color: #dee6ef;
}

/* ========== RESPONSIVE FOOTER ========== */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand img {
    margin: 0 auto 10px;
  }
 
}

@media (max-width: 768px) {
  .seo-h1 {
    font-size: 15px;
    line-height: 1.4;
  }

  .seo-sub {
    display: block;
    font-size: 11px;
    margin-top: 3px;
  }
}

/* === MOBILE FIX === */
html,
body {
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}