.elementor-kit-5{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-a9c0caa:#FFFFFF;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-5 e-page-transition{background-color:#FFBC7D;}.elementor-kit-5 button,.elementor-kit-5 input[type="button"],.elementor-kit-5 input[type="submit"],.elementor-kit-5 .elementor-button{color:var( --e-global-color-a9c0caa );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.boxyellow {
    background-color: #E8F5E9;
    border-right: 6px solid #2E7D32;
    padding: 18px 22px;
    margin: 25px 0;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.9;
    color: #1B5E20;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.boxyellow a {
    color: #1E7F43;
    font-weight: 700;
    text-decoration: none;
}

.boxyellow a:hover {
    text-decoration: underline;
}


/* Affiliate Article Styles */
.affiliate-container {
    line-height: 1.8;
    color: #333;
    font-family: 'Tahoma', 'Arial', sans-serif;
}

.toc-box {
    background-color: #fdfdfd;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.toc-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.product-table th {
    background-color: #f4f4f4;
    padding: 12px;
    text-align: right;
    border-bottom: 2px solid #ddd;
}

.product-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.product-pros {
    color: #2e7d32;
    font-weight: bold;
    margin-top: 10px;
}

.product-cons {
    color: #c62828;
    font-weight: bold;
    margin-top: 5px;
}

.cta-button-wrapper {
    text-align: center;
    margin: 30px 0;
}

.cta-button-red {
    background-color: #ef4056;
    color: #fff !important;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.cta-button-red:hover {
    background-color: #c82333;
}

.cta-button-green {
    background-color: #2563eb; /* آبی یا سبز به انتخاب شما */
    color: #fff !important;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    font-size: 1.1rem;
}

.highlight-box {
    border-right: 5px solid #ef4056;
    background: #fff5f6;
    padding: 15px;
    margin: 20px 0;
}

/*----------------------*/
/* ===============================
   Affiliate Box – SAFE ISOLATED CSS
   Works everywhere (Theme-Independent)
================================ */

.affiliate-box {
  all: initial;               /* ریست فقط روی خود باکس */
  box-sizing: border-box;

  display: flex;
  align-items: center;
  gap: 20px;

  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  padding: 18px;

  max-width: 900px;
  margin: 0 auto 15px;

  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);

  font-family: inherit;
  direction: rtl;
}

/* همه چیز داخل باکس */
.affiliate-box * {
  box-sizing: border-box;
}

/* تصویر */
.affiliate-image img {
  display: block;
  width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  object-fit: cover;
}

/* محتوا */
.affiliate-content {
  flex: 1;
}

/* عنوان */
.affiliate-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #8b0000;
  margin: 0 0 8px;
}

/* متن */
.affiliate-text {
  display: block;
  font-size: 15.5px;
  line-height: 1.9;
  color: #333333;
  margin: 0 0 16px;
}

/* خنثی‌سازی استایل قالب روی p */
.affiliate-text p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* دکمه */
.affiliate-btn {
  display: inline-block;
  background-color: #c40000;
  color: #ffffff !important;

  padding: 14px 32px;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;

  box-shadow: 0 8px 22px rgba(196, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.affiliate-btn:hover {
  background-color: #a80000;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(196, 0, 0, 0.45);
}

/* جلوگیری از خراب شدن دکمه داخل p قالب */
.post-details p .affiliate-btn {
  line-height: normal;
}

/* موبایل */
@media (max-width: 768px) {
  .affiliate-box {
    flex-direction: column;
    text-align: center;
  }

  .affiliate-btn {
    width: 100%;
  }

  .affiliate-image img {
    width: 100%;
    max-width: 260px;
  }
}/* End custom CSS */