.behesht-services-plugin {
  --behesht-primary: #f97316;
  --behesht-primary-hover: #ea580c;
  --behesht-item-bg: #171717;
  --behesht-item-hover: #202020;
  --behesht-text-main: #ffffff;
  --behesht-text-muted: #9ca3af;
  --behesht-border-color: #262626;
  --behesht-theme-font: var(--wd-text-font, var(--wd-primary-font, inherit));

  width: 100%;
  max-width: 1200px;
  margin: 24px auto;
  font-family: var(--behesht-theme-font) !important;
  direction: rtl;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  background-color: #111111;
}

.behesht-services-plugin * {
  box-sizing: border-box;
  font-family: var(--behesht-theme-font) !important;
}

/* جلوگیری از تغییر فونت آیکون‌های احتمالی داخل محتوا */
.behesht-services-plugin i[class*="fa-"],
.behesht-services-plugin i[class*="dashicons-"],
.behesht-services-plugin .dashicons {
  font-family: inherit !important;
}

.behesht-services-plugin code,
.behesht-services-plugin pre,
.behesht-services-plugin kbd,
.behesht-services-plugin samp {
  font-family: var(--behesht-theme-font) !important;
}

.behesht-services-plugin .app-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* هدر */
.behesht-services-plugin .header {
  background-color: var(--behesht-primary);
  padding: 40px 20px;
  text-align: center;
  color: #fff;
}

.behesht-services-plugin .logo-wrapper {
  background-color: #000;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.behesht-services-plugin .logo img {
  max-height: 50px;
  width: auto;
}

.behesht-services-plugin .logo-en {
  font-size: 0.7rem;
  color: #60a5fa;
  font-weight: 700;
  display: block;
}

.behesht-services-plugin .logo-fa {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  display: block;
}

.behesht-services-plugin .discount-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.behesht-services-plugin .discount-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
}

.behesht-services-plugin .discount-btn:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* لیست آیتم‌ها */
.behesht-services-plugin .list-container {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.behesht-services-plugin .accordion-item {
  background-color: var(--behesht-item-bg);
  border: 1px solid var(--behesht-border-color);
  border-radius: 14px;
  overflow: hidden;
}

.behesht-services-plugin .accordion-header,
.behesht-services-plugin a.accordion-header,
.behesht-services-plugin button.accordion-header {
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--behesht-text-main);
  text-decoration: none;
  font: inherit;
  line-height: 1.5;
  text-align: right;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.behesht-services-plugin .accordion-header:hover {
  background-color: var(--behesht-item-hover);
}

.behesht-services-plugin .item-title {
  flex: 1;
  margin: 0;
  color: var(--behesht-text-main);
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
}

.behesht-services-plugin .icon-circle {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* اگر متوجه شدید آیکونی در فرانت لود نمی‌شود، این بخش را اصلاح می‌کنیم */
.behesht-services-plugin .icon-circle svg {
  width: 18px;
  height: 18px;
  color: var(--behesht-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.behesht-services-plugin .accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  transition: max-height 0.28s ease;
}

.behesht-services-plugin .accordion-item.active .accordion-header {
  border-bottom: 1px solid var(--behesht-border-color);
}

.behesht-services-plugin .accordion-item.active .accordion-content {
  max-height: 2000px;
}

.behesht-services-plugin .content-inner {
  padding: 16px 20px 20px;
  font-size: 0.9rem;
  color: var(--behesht-text-muted);
  line-height: 1.8;
}

/* کروسل */
.behesht-services-plugin .carousel-container {
  width: 100%;
  margin-top: 12px;
}

.behesht-services-plugin .carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(249, 115, 22, 0.5) transparent;
}

.behesht-services-plugin .carousel-track::-webkit-scrollbar {
  height: 7px;
}

.behesht-services-plugin .carousel-track::-webkit-scrollbar-track {
  background: transparent;
}

.behesht-services-plugin .carousel-track::-webkit-scrollbar-thumb {
  background: rgba(249, 115, 22, 0.45);
  border-radius: 999px;
}

.behesht-services-plugin .carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.behesht-services-plugin .carousel-slide {
  flex: 0 0 min(82%, 320px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .behesht-services-plugin .carousel-slide {
    flex-basis: min(58%, 340px);
  }
}

.behesht-services-plugin .carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* فوتر افزونه */
.behesht-services-plugin .footer {
  padding: 20px;
  text-align: center;
  border-top: 1px solid var(--behesht-border-color);
  font-size: 0.75rem;
  color: var(--behesht-text-muted);
}
