* {
  font-family: "iranYekan";
  direction: rtl;
  box-sizing: border-box;
}

@font-face {
  font-family: iranYekan;
  src: url(./IRANYekanX-Regular.7e57d4f5.ttf);
}
.header-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.header-banner img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.header {
  display: flex;
  align-items: center;
  position: absolute;
  top: 50px;
  right: 0;
  left: 0;
  z-index: 10;
  padding: 10px 20px;
  margin: 0 auto;
}

.kimia-header {
  width: 90%;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 20px;
}

.logo {
  width: 10%;
  z-index: 30;
}

.logo img {
  height: 130px;
  width: auto;
  display: block;
}

.kimia-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.main-menu {
  flex-grow: 1;
  margin: 0 20px;
}

.main-menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
}

.main-menu ul li a {
  text-decoration: none;
  color: #888;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
}

.main-menu ul li a:hover {
  color: #ff6666;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-form {
  display: flex;
  border-radius: 30px;
  overflow: hidden;
  background-color: #f1f1f1;
}

.search-form input {
  border: none;
  padding: 8px 15px;
  background: none;
  color: #666;
  font-size: 14px;
  outline: none;
  width: 150px;
}

.search-form button {
  background-color: #ff6666;
  border: none;
  color: white;
  padding: 8px 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background-color: #e55a5a;
}

.circle-icon {
  background-color: #001f3f;
  color: white;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.circle-icon:hover {
  background-color: #003366;
}

.cart-count {
  position: absolute;
  top: -5px;
  left: -5px;
  background-color: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #001f3f;
}

.menu-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

/* ریسپانسیو */
@media (max-width: 991px) {
  .header {
    padding: 10px;
  }

  .logo {
    width: auto;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .kimia-header {
    width: 100%;
    position: relative;
  }

  .kimia-header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-container {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
  }

  .menu-container.active {
    display: flex;
  }

  .main-menu {
    margin: 0;
    width: 100%;
  }

  .main-menu ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-menu ul li {
    margin: 10px 0;
  }

  .mobile-search {
    display: flex;
    width: 100%;
    margin-top: 20px;
  }

  .mobile-search input {
    width: 100%;
  }

  .desktop-search {
    display: none;
  }

  .header-actions {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    gap: 10px;
  }
}

@media (min-width: 992px) {
  .mobile-search {
    display: none;
  }

  .desktop-search {
    display: flex;
  }

  .menu-container {
    display: flex !important;
  }

  .menu-toggle {
    display: none;
  }
}
/* استایل‌های جدید برای sticky header */
.header.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease forwards;
  z-index: 100;
  padding: 0px 20px;
}
.header.sticky-header .logo img{
  height: 90px;
  animation: slideDown 1s ease forwards;
  margin-top: 50px;
}

@keyframes slideDown {
  from {
      transform: translateY(-100%);
  }
  to {
      transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .header.sticky-header {
      padding: 0px;
      height: 70px;
  }

  .header.sticky-header .kimia-header {
      width: 100%;
      background-color:unset;
  }

  .header.sticky-header .logo {
      right: 10px;
  }

  .header.sticky-header .menu-toggle {
      left: 10px;
  }

  .header.sticky-header .header-actions {
      left: 50px;
  }
}

@media (min-width: 992px) {
  .header.sticky-header .kimia-header {
      width: 90%;
      background-color:unset;
  }
}

/* استایل‌های فوتر */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  direction: rtl;
}
.contact-us h1{
  text-align: right;
  padding-right: 90px;
  color: #333;
}
/* ستون اطلاعات تماس */
.contact-info {
  width: 30%;
  padding: 15px;
  box-sizing: border-box;
}

/* ستون نقشه */
.contact-map {
  width: 70%;
  padding: 15px;
  box-sizing: border-box;
}

/* آیتم‌های تماس */
.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-link {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.contact-icon {
  color: #EF3A4F;
  font-size: 18px;
  margin-left: 10px;
  flex-shrink: 0;
}

.contact-title {
  font-size: 16px;
  font-weight: 600;
  margin-left: 10px;
}

.contact-detail {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* خط جداکننده */
.contact-divider {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 10px 0;
}



.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 22%;
  text-align: center;
}

.social-icon {
  color: #EF3A4F;
  font-size: 22px;
  margin-bottom: 5px;
}

.social-title {
  font-size: 14px;
  font-weight: 400;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .contact-info,
  .contact-map {
      width: 100%;
  }

  .contact-item {
      flex-direction: column;
  }

  .contact-icon,
  .contact-title {
      margin-bottom: 5px;
  }

  .social-item {
      width: 45%;
      margin-bottom: 15px;
  }
}

/* استایل‌های عمومی */
.contact-form-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  direction: rtl;
}

/* ستون فرم */
.contact-form {
  width: 75%;
  padding: 15px;
  box-sizing: border-box;
}

/* ستون تصویر */
.contact-image {
  width: 25%;
  padding: 15px;
  box-sizing: border-box;
}

/* استایل فرم */
.wpcf7-form {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* گروه فیلدها */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/* فیلدهای ورودی */
.wpcf7-text,
.wpcf7-email,
.wpcf7-textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-textarea:focus {
  border-color: #007bff;
  outline: none;
}

.wpcf7-textarea {
  resize: vertical;
  min-height: 100px;
}

/* دکمه ثبت */
.wpcf7-submit {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wpcf7-submit:hover {
  background: #0056b3;
}

/* پیام‌های خطا */
.wpcf7-not-valid-tip {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.wpcf7-validation-errors {
  border: 1px solid #dc3545;
  color: #dc3545;
}

.wpcf7-mail-sent-ok {
  border: 1px solid #28a745;
  color: #28a745;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .contact-form,
  .contact-image {
      width: 100%;
  }

  .contact-image img {
      max-width: 100%;
      height: auto;
  }
}




/* استایل‌های فوتر */
.footer {
  background-color: #f0f0f0;
  padding: 40px 20px;
  direction: rtl;
  font-family: sans-serif;
  color: #333;
  clip-path: ellipse(120% 100% at 50% 100%);
}

/* ردیف‌های فوتر */
.footer-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ردیف اول: 5 ستون */
.footer-row-1 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  width: 18%;
  text-align: center;
  margin-bottom: 20px;
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ff6666;
}

.footer-column p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.social-media {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.social-item {
  color: #EF3A4F;
  font-size: 24px;
  transition: transform 0.3s ease;
}

.social-item:hover {
  transform: scale(1.2);
}

/* ردیف دوم: 4 ستون با آیکون */
.footer-row-2 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
}

.feature-box {
  width: 22%;
  text-align: center;
  padding: 15px;
  margin-bottom: 20px;
}

.feature-box i {
  font-size: 32px;
  color: #EF3A4F;
  margin-bottom: 10px;
}

.feature-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.feature-box p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* ردیف سوم: 2 ستون */
.footer-row-3 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.licenses {
  width: 100%;
  text-align: center;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.license-grid img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 5px;
}

.about {
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about p {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin: 0 auto;
}

/* ردیف چهارم: کپی‌رایت */
.footer-row-4 {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #ccc;
}

.footer-row-4 p {
  font-size: 14px;
  color: #555;
  margin: 5px 0;
}

.footer-row-4 a {
  color: #ff6666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-row-4 a:hover {
  color: #e55a5a;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .footer-column {
      width: 100%;
      margin-bottom: 30px;
  }

  .footer-row-2 .feature-box {
      width: 48%;
  }

  .footer-row-3 .licenses,
  .footer-row-3 .about {
      width: 100%;
      margin-bottom: 20px;
  }

  .license-grid {
      grid-template-columns: 1fr;
  }
}



.animal-categories {
  margin: 0 auto; /* وسط‌چین افقی */
  padding: 32px 0; /* فاصله عمودی */
  width: 100%; /* کل عرض */
}

.animal-parts {
  display: grid; /* استفاده از Grid */
  grid-template-columns: repeat(3, 1fr); /* 3 ستون مساوی (هر کدوم 33.33%) */
  gap: 16px; /* فاصله بین ستون‌ها */
  width: 100%; /* کل عرض والد */
}
.animal-part:hover {
  fill: #ff0000; /* قرمز موقع هاور */
}
.category-column {
  display: flex;
  flex-direction: column;
  align-items: center; /* وسط‌چین افقی */
  text-align: center; /* وسط‌چین متن */
  box-sizing: border-box;
  background: #f7f7f7;
  border-radius: 100px;
  border: 1px solid #e0e0e0;
}
.category-title{
  color: #dc3545;
  font-size: 35px;
  font-weight: bold;
}
.svg-container {
  width: 100%;
  height: 300px;
}

.animal-svg {
  width: 100%;
  max-width: 200px; /* حداکثر عرض SVG */
  height: auto;
  cursor: pointer;
}

.animal-part {
  transition: fill 0.3s ease;
}

.animal-part:hover {
  fill: #ff0000; /* قرمز موقع هاور */
}

.animal-part.active {
  fill: #ff0000; /* قرمز بعد از کلیک */
}


/* ریسپانسیو برای موبایل */
@media (max-width: 1199px) {
  .animal-parts {
      grid-template-columns: 1fr; /* تو موبایل 1 ستون */
  }
}


.our-services {
  background-color: #FFE8D1;
  margin-top: 30px;
  background-image: url(./assets/images/bg-pattern.webp);
  background-position: center center;
  background-size: contain;
  padding: 0 10px;
  padding-bottom: 20px;
}

.our-services .title {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.first-title {
  text-align: center;
  margin-top: 60px;
}

.our-services .title h2 {
  text-align: left;
  padding-left: 10px;
  color: #dc3545;
  font-weight: bold;
}

.our-services .title img {
  width: 196px;
  height: 135px;
  margin-top: -50px;
}

.our-services .services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.service {
  align-items: center;
  text-align: center;
}

.service-buy {
  background: #dc3545;
  padding: 10px;
  border-radius: 10px;
  font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  display: inline-block;
}

.service .description {
  text-align: right;
}

.service .description h3 {
  font-size: 21px;
  font-weight: bold;
  color: #000;
}

.service .description p {
  font-size: 15px;
  color: #535353;
}

/* ریسپانسیو برای تبلت و گوشی */
@media (max-width: 991px) {
  .our-services .services {
    grid-template-columns: 1fr; /* تک‌ستونه */
    gap: 20px; /* فاصله بیشتر بین ردیف‌ها */
  }

  .service {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .first-title {
    margin-top: 30px;
  }

  .our-services .title {
    grid-template-columns: 1fr 1fr; /* حفظ ساختار دو ستونه برای عنوان و تصویر */
    gap: 10px;
  }

  .our-services .title img {
    width: 100%;
    height: auto;
    margin-top: 0; /* حذف حاشیه منفی در موبایل */
  }

  .service-buy {
    font-size: 20px; /* کاهش اندازه فونت دکمه */
    padding: 8px 15px;
  }

  .service .description h3 {
    font-size: 18px; /* کاهش اندازه فونت برای موبایل */
  }

  .service .description p {
    font-size: 14px;
  }
}

/* تنظیمات اضافی برای گوشی‌های کوچک */
@media (max-width: 767px) {
  .our-services .title {
    grid-template-columns: 1fr; /* تک‌ستونه برای عنوان و تصویر */
    text-align: center;
  }

  .our-services .title h2 {
    text-align: center;
    padding-left: 0;
  }

  .our-services .title img {
    width: 100%;
    max-width: 196px; /* محدود کردن حداکثر عرض تصویر */
    margin: 0 auto;
  }

  .service .description {
    text-align: center; /* وسط‌چین متن در گوشی */
  }

  .first-title h3 {
    font-size: 18px; /* کاهش اندازه فونت عنوان در گوشی */
  }

  .service-buy {
    font-size: 18px;
    padding: 8px 12px;
  }
}


.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0;
  width: 100%;
}
.products-section .product-tab-content > a.more-products {
    display: block;
    padding: 10px;
    margin: 20px auto;
    text-decoration: none;
    text-align: center;
    width: fit-content;
    background: #E63946;
    color: #fff;
    border: none;
    border-radius: 10%;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 24px;
}

/* تب‌ها */
.product-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  list-style: none;
  padding: 0;
}

.product-tabs .product-tab {
  padding: 8px 24px;
  border: 1px solid #E63946;
  border-radius: 20px;
  background: #fff;
  color: #E63946;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.product-tabs .product-tab.product-active {
  background: #E63946;
  color: #fff;
}

/* محتوا */
.product-tab-content {
  display: none;
}

.product-tab-content.product-active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  background: #fff;
  text-decoration: none;
}

.product-card img {
  width: 100%;
  max-width: 150px;
  height: 130px;
  margin-bottom: 12px;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
  height: 70px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  direction: rtl;
  text-align: right;
}

.buy-button {
  background: #E63946;
  color: #fff;
  border: none;
  border-radius: 10%;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.buy-button:hover {
  background: #d32f3f;
}

.buy-button::before {
  content: "🛒"; /* آیکون سبد خرید */
}


/* ریسپانسیو */
@media (max-width: 768px) {
  .products-grid {
      grid-template-columns: 1fr; /* تو موبایل 1 ستون */
  }

  .product-tabs {
      flex-wrap: wrap;
      gap: 8px;
  }
}

.articles-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0;
  width: 100%;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 24px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  position: relative;
}

.articles-slider-wrapper {
  display: contents;
}

.article-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.article-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.article-summary {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-info {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.read-more {
  display: inline-block;
  background: #E63946;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #d32f3f;
}

.slider-prev,
.slider-next {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

@media (max-width: 768px) {
  .articles-grid {
      grid-template-columns: 1fr;
      overflow: hidden;
  }

  .articles-slider-wrapper {
      position: relative;
      width: 100%;
  }

  .article-card {
      width: 100%;
      display: none;
      opacity: 0;
  }

  .article-card.active {
      display: block;
      opacity: 1;
      animation: slideUp 0.5s ease forwards;
  }

  .article-card.zoom-out {
      transform: scale(0.5);
      opacity: 0;
      transition: transform 1s ease, opacity 1s ease;
  }

  @keyframes slideUp {
      from {
          transform: translateY(100%);
          opacity: 0;
      }
      to {
          transform: translateY(0);
          opacity: 1;
      }
  }

  .slider-prev,
  .slider-next {
      display: block;
  }
}
/* ریسپانسیو */
@media (max-width: 768px) {
  .articles-grid {
      grid-template-columns: 1fr;
  }
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.circle-container {
  position: relative;
  width: 550px;
  height: 550px;
}

.circle {
  width: 100%;
  height: 100%;
  border: 2px solid #333;
  border-radius: 50%;
  position: relative;
}

.icon {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 30px;
  color: #333;
  transition: transform 0.2s;
}
.icon-active {
  border: 3px solid #808285;
  border-radius: 100px;
}
.icon:hover {
  transform: scale(1.2);
}

/* موقعیت آیکون‌ها روی دایره (120 درجه فاصله) */
.icon:nth-child(1) {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.icon:nth-child(2) {
  top: 40%;
  right: 0px;
  z-index: 30;
}

.icon:nth-child(3) {
  top: 40%;
  left: 0px;
  z-index: 30;
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 400px; /* افزایش ارتفاع برای جا دادن عنوان */
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-content .category,
.center-content .hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.center-content .active {
  opacity: 1;
}

.center-content .category img {
  display: block;
  margin: 0 auto;
}

.center-content .category h3 {
  margin: 10px 0 0;
  text-align: center;
  font-size: 24px;
  color: #333;
}

.center-content .hover-content {
  opacity: 0;
}

.center-content .hover-content.active {
  z-index: 20;
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}

.center-content svg {
  width: 300px;
  height:300px;
}

@media (max-width: 768px) {
  .center-content .hover-content {
    opacity: 0;
    pointer-events: none; /* غیرفعال کردن لینک‌ها تا نمایش */
  }
  .center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px; /* افزایش ارتفاع برای جا دادن عنوان */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .circle-container {
    position: relative;
    width: 500px;
    height: 500px;
  }
  .icon:nth-child(2) {
    top: 0%;
    right: 40px;
    z-index: 30;
  }
  
  .icon:nth-child(3) {
    top: 0%;
    left: 40px;
    z-index: 30;
  }
  .center-content .category h3 {
    margin: 10px 0 0;
    text-align: center;
    font-size: 18px;
    color: #333;
  }
}
@media (max-width: 499px) {
  .center-content .hover-content {
    opacity: 0;
    pointer-events: none; /* غیرفعال کردن لینک‌ها تا نمایش */
  }
  .center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px; /* افزایش ارتفاع برای جا دادن عنوان */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .circle-container {
    position: relative;
    width: 350px;
    height: 350px;
  }
  .icon:nth-child(2) {
    top: 0%;
    right: 40px;
    z-index: 30;
  }
  
  .icon:nth-child(3) {
    top: 0%;
    left: 40px;
    z-index: 30;
  }
  .center-content .category h3 {
    margin: 10px 0 0;
    text-align: center;
    font-size: 13px;
    color: #333;
  }
  
  .icon{
    position: absolute;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 30px;
    color: #333;
    transition: transform 0.2s;
  }
  .icon img{
    width: 50px;
    height: 50px;
  }
  .center-content svg {
    width: 200px;
    height:200px;
  }
}

.st0 { fill: #808285; }
.st1 { fill: #bcbec0; }
.st2 { fill-rule: evenodd; clip-rule: evenodd; fill: #BCBEC0; }
.st3 { fill: #BCBEC0; }
.st4 { fill-rule: evenodd; clip-rule: evenodd; fill: #FFFFFF; }
.st5 { fill: #E6E7E8; }
.st6 { fill-rule: evenodd; clip-rule: evenodd; fill: #ED1C24; }
.st7 { fill: #FFFFFF; }
.st8 { fill: #333; }



.hero-section {
    width: 100%;
    position: relative;
}

.hero-image-container {
    position: relative;
    width: 100%;
}

.hero-image-container img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-text-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8); /* سفید نیمه‌شفاف */
    border-radius: 50%;
    width: 500px;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-text-circle h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.hero-text-circle p {
    color: #666; /* خاکستری */
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* ریسپانسیو برای صفحه‌نمایش‌های کوچک‌تر */
@media (max-width: 768px) {
    .hero-text-circle {
        width: 80%;
        height: auto;
        padding: 20px;
        border-radius: 20px;
    }

    .hero-text-circle h2 {
        font-size: 20px;
    }

    .hero-text-circle p {
        font-size: 14px;
    }

    .hero-image-container img {
        height: 300px;
    }
}

#zarinpal{
  margin:auto
}
#zarinpal img {
  width: 80px;
}

/* استایل منوی My Account */
.woocommerce-MyAccount-navigation {
    background: #2d2d2d; /* زمینه خاکستری تیره */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    color: #ffffff; /* متن سفید */
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background: #f28c38; /* نارنجی برای hover و آیتم فعال */
    color: #ffffff;
    transform: translateX(5px); /* انیمیشن جابه‌جایی */
}

/* آیکون‌ها */
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a:before,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a:before,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a:before,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a:before,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 18px;
}

.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a:before {
    content: "\f015"; /* آیکون خانه */
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--orders a:before {
    content: "\f291"; /* آیکون سبد خرید */
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-address a:before {
    content: "\f3c5"; /* آیکون موقعیت */
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--edit-account a:before {
    content: "\f007"; /* آیکون کاربر */
}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:before {
    content: "\f2f5"; /* آیکون خروج */
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation {
        padding: 15px;
    }
    .woocommerce-MyAccount-navigation a {
        font-size: 14px;
        padding: 10px;
    }
}

.search-results .container{
  padding: 40px 20px;
}

.container {
  width: 100%;
}

.search-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}

.search-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 30px 0 20px;
}

.products-grid,
.search-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.product-card,
.search-article-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.product-card:hover,
.search-article-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card img,
.search-article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h3,
.search-article-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.product-card h3 a,
.search-article-card h3 a {
  text-decoration: none;
  color: #333;
}

.product-card h3 a:hover,
.search-article-card h3 a:hover {
  color: #ff6666;
}

.product-card .price {
  font-size: 16px;
  color: #e63946;
  font-weight: 600;
}

.search-article-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}

.pagination a:hover {
  background-color: #ff6666;
  color: #fff;
  border-color: #ff6666;
}

.pagination .current {
  background-color: #ff6666;
  color: #fff;
  border-color: #ff6666;
}





.page-news-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-news {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 40px;
}

.page-news-image {
  margin-bottom: 20px;
}

.page-news-image img {
  width: 100%;
  max-width: 400px; /* کوچیک کردن حداکثر عرض */
  height: auto;
  max-height: 200px; /* محدود کردن حداکثر ارتفاع */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-right: 0; /* وسط‌چین کردن */
}

.page-news-header {
  margin-bottom: 20px;
}

.page-news-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.page-news-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #666;
}

.page-news-meta .date,
.page-news-meta .comments {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-news-meta i {
  color: #ff6666;
}

.page-news-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}

.page-news-content p {
  margin-bottom: 20px;
}

.page-news-content a {
  color: #e63946;
  text-decoration: none;
}

.page-news-content a:hover {
  text-decoration: underline;
}

.page-news-comments {
  border-top: 1px solid #ddd;
  padding-top: 30px;
}

.comments-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.comment {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.comment-author {
  font-weight: 600;
  color: #333;
}

.comment-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.comment-content {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.comment-respond {
  margin-top: 30px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.comment-form label {
  font-size: 14px;
  color: #333;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #ff6666;
}

.comment-form .submit {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.comment-form .submit:hover {
  background-color: #ff6666;
}

@media (max-width: 768px) {
  .page-news {
    padding: 20px;
  }

  .page-news-title {
    font-size: 24px;
  }

  .page-news-image img {
    max-height: 300px;
  }

  .page-news-meta {
    flex-direction: column;
    gap: 10px;
  }
}

.wave-section {
  position: relative;
  height: auto;
  overflow: hidden;
}

.wave-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: url(#waveClipBoth);
}

.wave-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wave-border svg {
  width: 100%;
  height: 100%;
}

.wave-path {
  fill: none;
  stroke: red;
  stroke-width: 1.5px;
}

@media (max-width: 616px) {
  .wave-section img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    clip-path: url(#waveClipBoth);
}
}