body {
  font-family: "Anjoman", sans-serif !important;
  background-color: #f9f7f2;
  -webkit-font-smoothing: antialiased;
}
/********************************************
---------استایل های صفحه اصلی -------
 *********************************************/
.insta-gradient-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background-size: 200% 200%;
    transition: background-position 0.5s ease, transform 0.3s ease;
}

.insta-gradient-btn:hover {
    background-position: 100% 50%;
}
/********************************************
---------استایل های ووکامرس -------
 *********************************************/
/* بازنویسی دکمه‌های ووکامرس برای هماهنگی با تن‌سا */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  @apply bg-[#2D3E5E] text-white px-8 py-3 rounded-xl font-bold transition-all hover:bg-[#D4A373];
}

/* انیمیشن ورود ملایم برای پیغام‌ها */
[role="alert"] {
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* اجبار تمام ورودی‌ها به استفاده از فونت انجمن و اعداد فارسی */
input,
textarea,
select,
button,
.persian-num {
  font-family: "Anjoman", sans-serif !important;
  font-variant-numeric: tabular-nums !important;
  -moz-font-feature-settings: "ss01" on !important;
  -webkit-font-feature-settings: "ss01" on !important;
  font-feature-settings: "ss01" on !important;
}

/* رفع مشکل اختصاصی برای اینپوت‌های سرچ و ایمیل که در فایل‌های شما بود */
input[type="text"],
input[type="email"],
input[type="search"],
input::placeholder {
  font-family: "Anjoman", sans-serif !important;
  font-feature-settings: "ss01" on !important;
}

.group:hover .group-hover-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease-out;
  transition-delay: 100ms;
}

.group-hover-visible {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease-in;
  transition-delay: 200ms;
}

.custom-shadow {
  box-shadow: 0 10px 30px -10px rgba(45, 62, 94, 0.2);
}

#search-results {
  display: none;
}

#search-input:focus + #search-results {
  display: block;
}

/*************************************
شروع استایل فوتر 
*************************************/
.footer-bg-text {
  font-size: 12rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.03;
  position: absolute;
  bottom: 0;
  right: -2rem;
}
.license-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.license-card:hover {
  transform: translateY(-10px) rotate(2deg);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px border rgba(255, 255, 255, 0.05);
}

/*************************************************
---------استایل های ضربان قلب علاقمندی ها -------
**************************************************/

@keyframes tansa-heartbeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.3);
  }

  50% {
    transform: scale(1);
  }

  75% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.animate-tansa-pulse {
  animation: tansa-heartbeat 0.45s ease-in-out;
  color: #ef4444 !important;
  /* رنگ قرمز زرشکی */
}

/*************************************************
--------- استایل های نوتیف های ووکامرس -------
**************************************************/

.tansa-notice form.checkout_coupon,
.tansa-notice form.login,
.tansa-notice form.register {
  margin-top: 1.5rem !important;
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* استایل فیلد ورودی */
.tansa-notice input.input-text {
  background-color: #f9f9f9 !important;
  border: 1px solid rgba(45, 62, 94, 0.1) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 1rem !important;
  outline: none !important;
  font-size: 0.875rem !important;
  flex-grow: 1 !important;
  transition: all 0.3s !important;
  color: #2d3e5e !important;
}

.tansa-notice input.input-text:focus {
  border-color: #d4a373 !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.1) !important;
}

/* استایل دکمه‌های داخل نوتیف */
.tansa-notice .button {
  background-color: #2d3e5e !important;
  color: #ffffff !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 1rem !important;
  font-weight: 900 !important;
  font-size: 0.875rem !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  border: none !important;
}

.tansa-notice .button:hover {
  background-color: #1a253a !important;
  transform: translateY(-1px) !important;
}

/* حذف پیام‌های پیش‌فرض ووکامرس برای جلوگیری از تداخل */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
.woocommerce-error::before,
.woocommerce-message::before,
.woocommerce-info::before {
  display: none !important;
}

/*************************************************
--------- استایل های بخش پرداخت موفق -------
**************************************************/

.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: #d4a373;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleUp {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.order-card {
  border: 1px solid rgba(45, 62, 94, 0.05);
  transition: all 0.3s ease;
}

.dashed-line {
  border-top: 2px dashed #e5e7eb;
  margin: 20px 0;
}

.thanks span.woocommerce-Price-amount {
  display: flex;
  justify-content: flex-end;
}
.thanks .shipped_via {
  background: #d4a373;
  padding: 4px 8px;
  border-radius: 24px;
  color: #ffffff;
}

