/* The main css */
.gl-default-header-main {
  background-color: var(--gl-header-bg);
  font-family: var(--gl-font-family);
  font-weight: var(--gl-font-weight-main);
  color: var(--gl-text-color);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.gl-default-header-main .container {
  display: flex;
  justify-content: space-between;
  padding: 15px 10px;
  align-items: center;
}

.gl-defalut-header-main-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-defalut-header-main-logo .night-theme-logo {
  display: block;
}

.gl-defalut-header-main-logo .day-theme-logo {
  display: none;
}

.container .main-right-container {
  display: flex;
  gap: 10px;
}
.gl-default-header-seach-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
}

.gl-default-header-seach-box input {
  border-radius: var(--gl-radius-md);
  padding: 8px 10px;
  border: 1px solid
    color-mix(in srgb, var(--gl-header-bg) 40%, rgb(128, 128, 128));
  background-color: var(--gl-input-bg);
  color: var(--gl-input-text);
  min-width: 300px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
  outline: none;
  height: 40px;
}

.gl-default-header-seach-box input::placeholder {
  color: color-mix(in srgb, var(--gl-header-bg) 40%, rgb(106, 106, 106));
  background-color: var(--gl-input-bg);
  font-size: 15px;
  font-family: var(--gl-font-family);
  font-weight: var(--gl-font-weight-normal);
  transition: all 0.2s ease;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
  display: none !important;
}


.wc-custom-single__breadcrumb .woocommerce-breadcrumb{
  display: block !important;
}

.gl-default-header-seach-box button {
  border: none;
  background: none;
  color: color-mix(in srgb, var(--gl-header-bg) 39%, rgb(106, 106, 106));
  background-color: var(--gl-input-bg);
  position: absolute;
  top: 25%;
  left: 5px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.gl-default-header-seach-box input:hover,
.gl-default-header-seach-box input:hover::placeholder,
.gl-default-header-seach-box:hover button {
  border-color: color-mix(
    in srgb,
    var(--gl-header-bg) 20%,
    rgba(128, 128, 128, 1)
  );
  /* color: color-mix(in srgb, var(--gl-header-bg) 20%, rgba(128, 128, 128, 0.6)); */
}

.gl-default-header-seach-box input:focus-visible {
  border-color: var(--gl-accent-strong);
  outline: none; /* برای حذف خط پیش‌فرض مرورگر */
}

.gl-default-header-seach-box input:focus-visible::placeholder {
  color: var(--gl-accent-strong);
}

.gl-default-header-seach-box:focus-within button {
  border-color: var(--gl-accent-strong);
  color: var(--gl-accent-strong);
}

.user-auth,
.user-auth-logged {
  border-radius: var(--gl-radius-md);
  border: none;
  padding: 7px 10px;
  background-color: var(--gl-auth-btn-bg);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  border: 1.5px solid var(--gl-auth-btn-border);
  color: var(--gl-auth-btn-text);
  max-width: 180px;
  cursor: pointer;
  height: 40px;
}

.user-auth:hover,
.user-auth-logged:hover {
  background-color: var(--gl-auth-btn-hover-bg);
  color: var(--gl-auth-btn-hover-text);
  border: 1.5px solid var(--gl-auth-btn-hover-bg);
}

.user-auth a,
.user-auth-logged a {
  color: var(--gl-auth-btn-text);
}

.user-auth a:hover,
.user-auth:hover a,
.user-auth-logged a:hover,
.user-auth-logged:hover a {
  color: var(--gl-auth-btn-hover-text);
}

a.galaxium-dark-light-mode-switch-elementor,
a.membdership-icon-class-hover,
a.side-icon.galaxium-user-icon-buy-cart-elementor-class {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-icon {
  position: relative;
}

/* پنهان‌سازی فرم‌های غیرفعال */
.modal-form-wrapper {
  display: none;
}
.modal-form-wrapper.active {
  display: block;
}

/* استایل تب‌ها */
.modal-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 15px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.44);
  padding-bottom: 10px;
}
.modal-tab-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  color: rgba(128, 128, 128, 0.345);
  padding: 5px 10px;
  transition: all 0.3s;
}
.modal-tab-btn.active,
.modal-tab-btn:hover {
  color: var(--gl-accent-strong);
  border-bottom: 2px solid var(--gl-muted);
}
.modal-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 15px;
  text-align: center;
}

/* login-link-my-account-start */

/* رنگ پس‌زمینه کل صفحه */
.gl-login-myacctount-link-method-wrapper {
  min-height: 65vh;
  background-color: var(--gl-body-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* کارت اصلی سفید رنگ */
.gl-login-myacctount-link-method-container {
  background: var(--gl-header-bg);
  width: 100%;
  max-width: 1000px;
  height: 700px;
  border-radius: 24px;
  display: flex;
  padding: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* ----- ستون چپ (سبز رنگ) ----- */
.gl-login-myacctount-link-method-left {
  width: 45%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.gl-login-myacctount-link-method-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.gl-login-myacctount-link-method-bg-circle.circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
}

.gl-login-myacctount-link-method-bg-circle.circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -150px;
}

.gl-login-myacctount-link-method-content {
  position: relative;
  z-index: 2;
}

.gl-login-myacctount-link-method-title {
  color: color-mix(in srgb, var(--gl-body-bg) 80%, grey);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.gl-login-myacctount-link-method-subtitle {
  color: color-mix(in srgb, var(--gl-body-bg) 80%, grey);
  font-size: 0.85rem;
  line-height: 1.6;
}

.gl-login-myacctount-link-method-img {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100% !important; /* تنظیم ارتفاع برای برش خوردن مناسب در پایین باکس */
  object-fit: cover;
  object-position: top;
  z-index: 1;
}

/* ----- ستون راست (فرم) ----- */
.gl-login-myacctount-link-method-right {
  width: 55%;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gl-login-myacctount-link-method-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(#505971);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.gl-login-myacctount-link-method-heading {
  font-size: 1.5rem;
  color: #111;
  font-weight: 700;
  margin-bottom: 30px;
}

.gl-login-myacctount-link-method-form {
  width: 100%;
}

.gl-login-myacctount-link-method-input-group {
  margin-bottom: 20px;
}

.gl-login-myacctount-link-method-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.gl-login-myacctount-link-method-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 8px;
}
.gl-login-myacctount-link-method-label-wrap
  .gl-login-myacctount-link-method-label {
  margin-bottom: 0;
}

.gl-login-myacctount-link-method-forgot {
  font-size: 0.75rem;
  color: #129b7f;
  text-decoration: none;
  font-weight: 500;
}

.gl-login-myacctount-link-method-input-box {
  display: flex;
  align-items: center;
  background: var(--gl-input-bg); /* رنگ پس‌زمینه طوسی بسیار روشن */
  border: 1px solid var(--gl-text-not-active);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  position: relative;
  color: var(--gl-accent-strong) !important;
}

.gl-login-myacctount-link-method-input-box:focus-within {
  border-color: var(--gl-accent-strong);
}

.gl-login-myacctount-link-method-input-box .show-password-input {
  display: none !important;
}

.gl-login-myacctount-link-method-tab-content
  .gl-login-myacctount-link-method-btn {
  background-color: var(--gl-accent-strong) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 15px 25px !important;
  color: var(--gl-body-bg) !important;
}

.gl-login-myacctount-link-method-tab-content .woocommerce-privacy-policy-text {
  display: none !important;
}

.gl-login-myacctount-link-method-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  color: var(--gl-accent-strong);
}

.gl-login-myacctount-link-method-input::placeholder {
  color: #a0aec0;
}

.gl-login-myacctount-link-method-eye-icon {
  color: #a0aec0;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 10px;
}

.gl-login-myacctount-link-method-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  margin-top: 10px;
}

.gl-login-myacctount-link-method-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--gl-accent-strong);
  cursor: pointer;
}

.gl-login-myacctount-link-method-checkbox-wrap label {
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
}

.gl-login-myacctount-link-method-btn {
  width: 100%;
  padding: 14px;
  background: var(--gl-accent-strong);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.gl-login-myacctount-link-method-btn:hover {
  background: #0f856d;
}

.gl-login-myacctount-link-method-footer {
  margin-top: auto; /* هُل دادن به پایین ترین قسمت ممکن */
  padding-top: 40px;
  font-size: 0.7rem;
  color: #a0aec0;
}

/* استایل مربوط به تب‌ها */
.gl-login-myacctount-link-method-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--gl-text-not-active);
  padding-bottom: 10px;
}

.gl-login-myacctount-link-method-tab {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gl-text-not-active);
  cursor: pointer;
  position: relative;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.gl-login-myacctount-link-method-tab:hover {
  color: var(--gl-accent);
}

.gl-login-myacctount-link-method-tab.active {
  color: var(--gl-accent-strong);
}

/* خط زیرین تب فعال */
.gl-login-myacctount-link-method-tab.active::after {
  content: "";
  position: absolute;
  bottom: -12px; /* هم‌تراز با خط پایین کادر */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #129b7f;
  border-radius: 2px;
}

/* اصلاح حاشیه پایین هدینگ برای تطبیق با تب‌ها */
.gl-login-myacctount-link-method-heading {
  font-size: 1.3rem;
  color: var(--gl-text-color);
  font-weight: 700;
  margin-bottom: 25px;
}

/* login-link-my-account-end */

/* forget-password-start */

/* ========================================================
   استایل‌های صفحه فراموشی رمز عبور (دو ستونه)
======================================================== */

/* ========================================================
   استایل‌های صفحه فراموشی رمز عبور (منطبق با فرم ورود)
======================================================== */

/* کانتینر اصلی تمام صفحه */
.gl-lostpassword-wrapper {
  min-height: 65vh;
  background-color: var(--gl-body-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  direction: rtl;
}

/* باکس اصلی حاوی دو ستون */
.gl-lostpassword-container {
  background: var(--gl-header-bg);
  width: 100%;
  max-width: 1000px;
  height: fit-content;
  border-radius: 24px;
  display: flex;
  padding: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* ---------------- ستون چپ (تصویر/طرح گرافیکی) ---------------- */
.gl-lostpassword-left {
  width: 45%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background-color: var(--gl-accent-strong);
  height: 465px;
}

.gl-lostpassword-img {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
  z-index: 1;
}

/* ---------------- ستون راست (فرم) ---------------- */
.gl-lostpassword-right {
  width: 55%;
  padding: 15px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* هدر و لوگو */
.gl-lostpassword-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gl-text-color, #505971);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.gl-lostpassword-logo i {
  color: var(--gl-accent-strong);
}

/* محتوای داخلی فرم */
.gl-lostpassword-content {
  width: 100%;
}

.gl-lostpassword-heading {
  font-size: 1.3rem;
  color: var(--gl-text-color);
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 0;
}

.gl-lostpassword-message {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--gl-body-bg) 50%, grey);
  line-height: 1.6;
  margin-bottom: 30px;
}

/* گروه فیلد ورودی */
.gl-lostpassword-input-group {
  margin-bottom: 20px;
}

.gl-lostpassword-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 8px;
}

/* باکس اینپوت */
.gl-lostpassword-input-box {
  display: flex;
  align-items: center;
  background: var(--gl-input-bg);
  border: 1px solid var(--gl-text-not-active);
  border-radius: 8px;
  padding: 12px 16px;
  transition: all 0.3s ease;
  position: relative;
}

.gl-lostpassword-input-box:focus-within {
  border-color: var(--gl-accent-strong);
}

.gl-lostpassword-input-box .gl-lostpassword-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  color: var(--gl-accent-strong);
}

.gl-lostpassword-input-box .gl-lostpassword-input::placeholder {
  color: #a0aec0;
}

/* دکمه ارسال */
.gl-lostpassword-submit-wrap {
  margin-top: 20px;
}

.gl-lostpassword-btn {
  width: 100%;
  background-color: var(--gl-accent-strong) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 15px 25px !important;
  color: var(--gl-body-bg) !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.gl-lostpassword-btn:hover {
  background-color: var(
    --gl-accent
  ) !important; /* رنگ هاور دکمه (کمی تیره‌تر از accent) */
}

/* لینک بازگشت به ورود */
.gl-lostpassword-back-to-login {
  text-align: center;
  margin-top: 25px;
}

.gl-lostpassword-back-to-login a {
  font-size: 0.75rem;
  color: var(--gl-accent-strong, #129b7f);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.gl-lostpassword-back-to-login a:hover {
  opacity: 0.8;
}

/* فوتر فرم */
.gl-lostpassword-footer {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.7rem;
  color: #a0aec0;
  text-align: right;
}

/* forget-password-end */

/* confirm-lost-password */

/* ========================================================
   استایل‌های صفحه تأیید فراموشی رمز عبور
======================================================== */

.gl-lostpassword-confirm-wrapper {
  min-height: 65vh;
  background-color: var(--gl-body-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  direction: rtl;
}

.gl-lostpassword-confirm-container {
  background: var(--gl-header-bg);
  width: 100%;
  max-width: 1000px;
  height: fit-content;
  border-radius: 24px;
  display: flex;
  padding: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* ---------------- ستون چپ ---------------- */
.gl-lostpassword-confirm-left {
  width: 45%;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background-color: var(--gl-accent-strong);
  height: 530px;
}

.gl-lostpassword-confirm-img {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
  z-index: 1;
}

/* ---------------- ستون راست ---------------- */
.gl-lostpassword-confirm-right {
  width: 55%;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gl-lostpassword-confirm-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gl-text-color, #505971);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.gl-lostpassword-confirm-logo i {
  color: var(--gl-accent-strong);
  font-size: 1.5rem;
}

.gl-lostpassword-confirm-content {
  width: 100%;
}

.gl-lostpassword-confirm-heading {
  font-size: 1.5rem;
  color: var(--gl-text-color);
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
}

/* استایل پیام‌های ووکامرس داخل این صفحه */
.gl-lostpassword-confirm-notice .woocommerce-message,
.gl-lostpassword-confirm-notice .woocommerce-info {
  background-color: var(--gl-input-bg);
  border-top-color: var(--gl-accent-strong);
  color: var(--gl-text-color);
  border-radius: 8px;
  font-size: 0.85rem;
}

.gl-lostpassword-confirm-message {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--gl-body-bg) 10%, grey);
  line-height: 1.8;
  margin-bottom: 35px;
  background: var(--gl-input-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--gl-text-not-active);
}

.gl-lostpassword-confirm-action {
  margin-top: 20px;
}

.gl-lostpassword-confirm-btn {
  display: block;
  width: 100%;
  background-color: var(--gl-accent-strong) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 15px 25px !important;
  color: var(--gl-body-bg) !important;
  border: none;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.gl-lostpassword-confirm-btn:hover {
  background-color: var(--gl-accent) !important;
}

.gl-lostpassword-confirm-footer {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.7rem;
  color: #a0aec0;
  text-align: right;
}

/* confirm-lost-password */

.side-icon.cart-icon {
  position: relative;
  display: inline-block;
}

.gl-theme-shopping-cart-mini-cart-content {
  position: absolute;
  top: 40px;
  left: -76px;
  margin-left: 12px;
  width: 320px;
  background: var(--gl-cart-checkout-all-backgrounds, #fff);
  border: 1px solid #8484842b;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 15px;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px) scale(0.95);
  transition: all 0.3s ease-in-out;
}

.gl-theme-shopping-cart-mini-cart-content.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

/* بخش اکشن‌های سفارشی */
.gl-theme-shopping-cart-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.gl-theme-shopping-cart-actions a {
  flex: 1;
  text-align: center;
  padding: 8px 12px !important;
  border: 1px solid rgba(128, 128, 128, 0.181);
  border-radius: 10px;
  font-size: 14px !important;
  color: var(--gl-cart-checkout-main-color) !important;
  background: transparent;
  text-decoration: none;
  transition: all 0.2s ease !important;
}

.gl-theme-shopping-cart-actions a:hover {
  background-color: var(--gl-cart-checkout-main-color) !important;
  color: var(--gl-cart-checkout-all-backgrounds) !important;
}

.gl-mini-cart-top-part-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.182);
}

.gl-mini-cart-top-part-counter p {
  margin: 0;
  color: var(--gl-cart-checkout-text-color);
}

.gl-mini-cart-product-item-thumbnail-title {
  display: flex;
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid #80808033;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.gl-mini-cart-product-item-thumbnail-title:hover {
  scale: 1.015;
}

.gl-mini-cart-product-item-thumbnail-title img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.gl-mini-cart-product-item-thumbnail-title a {
  margin: 0;
  color: var(--gl-cart-checkout-text-color) !important;
  font-size: 13px !important;
}

.gl-mini-cart-product-item-thumbnail-title p {
  margin: 0;
}

.gl-mini-cart-product-item-thumbnail-title bdi {
  font-size: 12px !important;
}

.gl-mini-cart-middle-inside-price-trash-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
  margin-top: 20px;
}

.gl-mini-cart-middle-inside-price-trash-icon-wrapper a.remove.remove_from_cart_button{
border: 1px solid rgb(228, 82, 82) !important;
color: rgb(228, 82, 82) !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 5px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .1s ease;
}


.gl-mini-cart-middle-inside-price-trash-icon-wrapper a.remove:hover {
  color: rgb(255, 255, 255) !important;
  background-color: rgb(228, 82, 82) !important;
}

.gl-mini-cart-footer-part-total-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-direction: row-reverse;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(128, 128, 128, 0.208);
}

.gl-mini-cart-footer-part-total-btns p {
  margin: 0;
}

.gl-mini-cart-show-cart-btn-footer {
  padding: 10px 25px !important;
  color: var(--gl-cart-checkout-all-backgrounds) !important;
  font-size: 14px !important;
  font-weight: 900;
  background-color: var(--gl-cart-checkout-main-color);
  transition: all 0.2s ease;
}

.gl-mini-cart-show-cart-btn-footer:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-cart-checkout-main-color) 80%,
    grey
  );
}

.gl-mini-cart-footer-part-total-btns .woocommerce-Price-amount {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 6px;
  font-weight: 900;
  color: var(--gl-cart-checkout-text-color);
  font-size: 16px;
}

.gl-mini-cart-footer-part-total-btns .woocommerce-Price-currencySymbol {
  font-weight: 400;
  color: var(--gl-cart-checkout-text-color);
  font-size: 14px;
}

.cart-icon .gl-mini-cart-icon-counter-main-show {
  font-size: 10px;
  width: 12px;
  height: 12px;
  background-color: rgb(188, 52, 12);
  border-radius: 50%;
  color: white;
  position: absolute;
  top: 14px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-defalut-header-main-buttons .side-icon a {
  color: var(--gl-cart-color);
  font-size: 20px;
  transition: color 0.2s ease;
  line-height: 1;
  display: flex;
  border-color: var(--gl-cart-color);
  border-width: 2px;
  border-radius: 10px;
  padding: 2px;
}

.gl-defalut-header-main-buttons .side-icon a:hover {
  color: var(--gl-cart-hover);
}

.side-icon {
  cursor: pointer;
}

.side-icon:hover {
  color: var(--gl-cart-hover);
}

.gl-defalut-header-main-buttons .dark-mode {
  display: none;
}

.gl-defalut-header-main-buttons .day-mode {
  display: block;
}

.galaxium-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--gl-modal-overlay);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  transition: all 0.3s ease;
}

.galaxium-modal.show {
  display: block;
  z-index: 999;
}

.galaxium-modal .body {
  font-family: var(--gl-font-family);
  font-weight: var(--gl-font-weight-normal);
  text-align: center;
  position: absolute;
  max-width: 550px;
  max-height: auto;
  background-color: var(--gl-modal-bg);
  color: var(--gl-text-color);
  top: 50%;
  left: 50%;
  min-width: 420px;
  border-radius: var(--gl-radius-md);
  padding: 30px 20px;
  transform: translate(-50%, -50%);
  z-index: 999;
}

.galaxium-modal .header-modal-logo-day {
  display: none;
}

.galaxium-modal .header-modal-logo-night {
  display: inline;
}

a.galaxium-dark-light-mode-switch-elementor:hover,
a.side-icon.galaxium-user-icon-buy-cart-elementor-class:hover,
a.membdership-icon-class-hover:hover {
  color: var(--gl-accent);
}

.galaxium-modal .body .gl-loggin-modal-closer,
.modal-closer-style {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gl-close-btn-bg);
  border-radius: var(--gl-radius-full);
  color: var(--gl-close-btn-color);
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.galaxium-modal .body .gl-loggin-modal-closer:hover {
  background-color: var(--gl-close-btn-hover-bg);
}

.galaxium-modal .body p {
  margin-top: 20px;
}

.galaxium-modal .body .webname {
  font-family: var(--gl-font-family);
  font-weight: var(--gl-font-weight-bold);
}

.full-login-form-input {
  width: 100%;
}

.loggin-form {
  border-radius: var(--gl-radius-md);
  padding: 8px 10px;
  border: 1px solid var(--gl-border);
  background-color: var(--gl-input-bg);
  color: var(--gl-input-text);
  min-width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
  outline: none;
  margin-bottom: 15px;
}

.loggin-form::placeholder {
  color: var(--gl-input-placeholder);
}

.loggin-form:hover {
  border-color: var(--gl-accent);
  color: var(--gl-input-text);
}

.password-manager {
  display: flex;
  align-items: center;
}

.galaxium-modal .forgetting-password {
  /* color: var(--gl-forgot-link); */
  text-align: right;
  display: flex;
  font-size: 14px;
}

body .password-manager .forgetting-password-icon {
  position: static;
  background: none;
  /* color: var(--gl-forgot-icon); */
}

.full-login-form-input .login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login-footer .loggin-button {
  background-color: var(--gl-login-btn-bg);
  color: white;
  border: none;
  border-radius: var(--gl-radius-md);
  padding: 14px 6px;
  width: 150px;
  transition: background-color 0.2s ease;
  font-weight: 600;
  font-size: 18px;
}

.login-footer .loggin-button:hover {
  background-color: var(--gl-login-btn-hover-bg);
}

.login-footer .loggin-extra {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-not-logged-btn-short {
  display: none;
}

.notification-widget {
  font-size: 20px;
  position: relative;
}

.notification-widget-main-icon {
  display: inline-block;
  transform-origin: top center;
  animation: bell-shake 6s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bell-shake {
  0%,
  100% {
    transform: rotate(0);
  }
  5%,
  15%,
  25% {
    transform: rotate(-5deg);
  }
  10%,
  20%,
  30% {
    transform: rotate(5deg);
  }
  35% {
    transform: rotate(0);
  }
}

.notification-widget-number {
  font-size: 10px;
  width: 12px;
  height: 12px;
  background-color: rgb(188, 52, 12);
  border-radius: 50%;
  color: white;
  position: absolute;
  top: -4px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-widget-footer-menu-title {
  color: var(--gl-text-color);
}

.elementor-widget-footer-menu-item {
  color: var(--bs-heading-color);
  margin-bottom: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.elementor-widget-footer-menu-item:hover {
  color: var(--gl-close-btn-hover-bg);
}

.elementor-widget-footer-menu-item-div {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* تنظیمات کلی باکس کانتینر */
.elementor-footer-call-information {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Vazir", "IRANSans", Tahoma, sans-serif;
  direction: rtl;
  /* max-width: 350px; بسته به نیاز خود تغییر دهید */
}

/* بخش عنوان اصلی */
.elementor-footer-call-information-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 15px;
  /* در صورت نیاز می‌توانید برای خط زیرین از یک متغیر رنگ حاشیه استفاده کنید */
  border-bottom: 2px solid var(--gl-text-color);
}

.elementor-footer-call-information-title h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--gl-text-color);
}

.elementor-footer-call-information-title i,
.elementor-footer-call-information-title svg {
  font-size: 24px;
  color: var(--gl-text-color);
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* استایل آیتم‌های اطلاعات تماس (باکس‌های فلت) */
.elementor-footer-call-information-sub {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 16px;
  background-color: transparent; /* مقدار none اشتباه بود، به transparent تغییر یافت */
  border-radius: 8px;
  border: 1px solid var(--gl-text-color); /* حاشیه با رنگ متغیر متن */
  transition: all 0.3s ease;
}

/* افکت هاور روی باکس‌ها */
/* .elementor-footer-call-information-sub:hover {
  background-color: var(--gl-hover-bg, rgba(0, 0, 0, 0.05)); 
  border-color: var(--gl-text-color);
} */

/* بخش عنوان و آیکون هر آیتم */
.elementor-footer-call-information-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.elementor-footer-call-information-main h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--gl-text-color); /* جایگزین کد رنگ ثابت */
}

.elementor-footer-call-information-main i,
.elementor-footer-call-information-main svg {
  font-size: 18px;
  color: var(
    --gl-text-color
  ); /* یا متغیر رنگ اصلی سایت مثل var(--gl-primary-color) */
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* متن اطلاعات (شماره، ایمیل، آدرس) */
.elementor-footer-call-information-sub h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  /* برای متن‌های فرعی می‌توانید از opacity استفاده کنید تا کمی کمرنگ‌تر از عنوان باشند */
  color: var(--gl-text-color);
  opacity: 0.8;
  line-height: 1.6;
  padding-right: 28px; /* تراز شدن متن با عنوان */
  direction: ltr;
}

.elementor-footer-widget-address {
  direction: rtl !important;
}

.content-section.container {
  box-shadow: 1px 2px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 15px 25px;
  margin: 15px auto;
}

.single-bread-crump {
  padding: 3px 10px;
  background-color: var(--gl-product-all-backgrounds);
  color: var(--gl-post-main-color);
  border-radius: 10px;
  margin: 15px 0px;
  border-right: 18px solid var(--gl-post-main-color);
  font-size: 70%;
  /* display: none; */
  white-space: nowrap;
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
}

.single-bread-crump .home {
  opacity: 0.96;
}

.single-bread-crump .taxonomy.category {
  opacity: 1rem;
}

.single-bread-crump .post.post-post.current-item {
  font-size: 1.03rem;
  font-weight: 700;
}

.top-section .single-title h1 {
  font-size: 1.8rem;
  margin: 25px 0 10px 0;
  color: var(--gl-post-title-color);
}

.single-post-content-section {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.atricle-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 1310px;
  gap: 15px;
}

.top-article {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-thumbnail {
  display: flex;
  gap: 15px;
}

.post-thumbnail img {
  border-radius: 15px;
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 50 / 30;
  object-fit: cover;
  border-right: 3px solid var(--gl-secondary-color);
  /* box-shadow: -4px 5px 6px rgba(0, 0, 0, .2); */
}

.top-section .post-details {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 30px;
  background-color: var(--gl-product-all-backgrounds);
  color: var(--gl-post-main-color);
  padding: 5px;
  border-radius: 10px;
  font-size: 0.9rem;
  overflow-x: auto;
  white-space: nowrap;
}

.top-section .post-details::-webkit-scrollbar {
  display: none;
}

.post-details .post-items {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}

.top-section .post-details span {
  text-wrap: nowrap;
}

.introduction-important {
  text-align: justify;
  color: var(--gl-single-post-text-color);
  line-height: 28px;
}

.top-article .article-top-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: space-between;
  border-right: 2px solid var(--gl-secondary-color);
  padding: 0px 10px 0px 0;
  max-width: 700px;
}

.article-details .article-details-likes {
  color: var(--gl-single-post-article-detail-color-heart);
}

.article-top-left .article-details {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background: var(--gl-product-all-backgrounds);
  border-radius: 10px;
  width: fit-content;
  flex-shrink: 1;
}

.article-details .article-details-shares {
  color: var(--gl-post-main-color);
  transition: all 0.2s ease;
  cursor: pointer;
}

.article-details-comments {
  cursor: pointer;
  color: var(--gl-post-main-color);
}

.post-single-main-content {
  color: var(--gl-single-post-text-color);
  margin-top: 10px;
  text-align: justify;
  line-height: 28px;
}

.post-single-main-content p {
  margin-bottom: 10px;
}

.post-single-main-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.post-single-main-content h4 {
  font-size: 20px;
  margin-bottom: 5px;
}

.single-post-share-title {
  font-size: 1.1rem;
  margin-top: 35px;
}

.single-post-share-items {
  display: flex;
  font-size: 40px;
  align-items: center;
  justify-content: space-around;
}

.single-post-share-items .telegram {
  color: rgb(75 189 248);
}

.single-post-share-items .whatsapp {
  color: rgb(78, 248, 75);
}

.single-post-share-items .twitter {
  color: rgb(151, 151, 151);
}

.single-post-share-items .eitha {
  margin-bottom: 11px;
}

.single-post-share-items .bale {
  color: rgb(43, 177, 83);
}

.cls-1 {
  fill: #fb8459;
}

.single-post-short-link p {
  margin: 0 0 10px 0;
}

.single-post-short-link input {
  width: 100%;
  padding: 10px 15px;
  border: 1px dashed var(--gl-text-color);
  background: var(--gl-header-bg);
  border-radius: 10px;
  color: var(--gl-single-post-text-color);
  direction: ltr;
  transition: all 0.25s ease;
}

.single-post-short-link input:focus {
  outline: none;
}

.single-post-side-bar-wrapper {
  flex: 0 0 300px;
  position: relative;
}

.single-post-main-side-bar {
  position: sticky;
  top: 50px;
  max-width: 100%;
}

.single-post-sidebar-section {
  background: var(--gl-product-all-backgrounds);
  border-radius: 10px;
  padding: 5px 10px;
  margin-bottom: 10px;
  /* box-shadow: 2px 2px 7px rgba(0, 0, 0, .1); */
}

.single-post-tags {
  color: var(--gl-single-post-text-color);
}

.single-post-sidebar-title-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gl-post-main-color);
}
.single-post-sidebar-title-icon p {
  margin: 0;
}

.single-post-comments .related,
.single-post-comments .related h5 {
  color: var(--gl-post-main-color);
}

.single-post-commment-notice {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.single-post-commment-notice h5 {
  margin: 0;
}

.single-post-commment-notice i {
  color: var(--gl-post-main-color);
}

.comment {
  border-right: 2px dashed var(--gl-secondary-color);
  /* background: var(--gl-post-main-background-color); */
  /* box-shadow: -5px 7px 16px rgba(0,0,0,.1); */
}

.reply-button {
  color: var(--gl-post-main-color);
}

.single-post-comments .single-post-comments-title {
  display: flex;
  gap: 5px;
  color: var(--gl-post-main-color);
  font-size: 1.3rem;
  align-items: center;
}

.single-post-comments .single-post-comments-title h5 {
  color: var(--gl-post-main-color);
  margin: 0;
}

.single-post-comments-title .dots {
  flex-grow: 1;
  border: 1px dashed var(--gl-post-main-color);
}

.single-post-comments .related,
.single-post-comments .related h5,
.single-post-comments .related .dots {
  color: var(--gl-post-main-color);
  border-color: var(--gl-post-main-color);
}

.comment-list .comment {
  border-radius: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
}

ul.comment-list {
  padding: 0px 10px;
  margin-top: 5px;
}

.comment-body {
  /* border: 1px solid #4f4f68; */
  border-radius: 10px;
  height: fit-content;
  overflow: hidden;
}
.reply-button {
  margin-top: 10px;
}

.comment-list {
  list-style: none;
}

.comments-top-part {
  display: flex;
  align-items: center;
  color: var(--gl-single-post-text-color);
  justify-content: space-between;
  gap: 20px;
  background: var(--gl-post-main-background-color);
  padding: 0 0 0 15px;
  height: 30px;
}

.comments-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.comment-avatar img {
  border-radius: 50%;
  max-width: 46px;
  height: auto;
  margin-bottom: -20px;
}

.comment-text {
  padding-right: 84px;
  padding-left: 25px;
  text-align: justify;
  width: 100%;
  padding-bottom: 8px;
  color: var(--gl-single-post-text-color);
}

.comment-text p {
  margin: 5px 0 0 1px;
  font-weight: 300;
  font-size: 14px;
}

.comment-dots {
  flex-grow: 1;
  border: 1px dashed var(--gl-post-sidebar-color);
}

.comment-content {
  display: flex;
  justify-content: space-between;
  padding: 0 0 0 15px;
  flex-direction: column;
}

.comment-awaiting-moderation {
  display: block;
  font-size: 0.875em;
  line-height: 1.5;
  text-align: left;
}

.single-post-comments ul.children {
  list-style: none;
  padding-left: 0;
}

.children .comment {
  border-right: 2px dashed var(--gl-post-main-color);
  box-shadow: -5px 7px 16px rgba(0, 0, 0, 0.06);
}

.children .comments-top-part {
  background: color-mix(
    in srgb,
    var(--gl-post-main-color) 20%,
    rgb(128, 128, 128)
  );
}

.comment-list .depth-1 {
  margin-top: 25px;
}

/* کاروسل قسمت نوشته ها */
.owl-stage-outer {
  margin-top: 10px;
}

.realted-post-thumb img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

.carosel-card {
  background-color: var(--gl-product-all-backgrounds);
  padding: 10px;
  border-radius: 15px;
  height: 310px;
  transition: all 0.3s ease-in-out;
}

.carosel-card:hover {
  /* کمی روشن‌تر یا تیره‌تر کردن پس‌زمینه */
  filter: brightness(1.1);
  cursor: pointer;
}

.related-post-title {
  margin-top: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 10px;
  color: var(--gl-single-post-text-color);
}

.realted-post-extra {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Container فرم نظرات */
/* Container فرم نظرات */
#respond {
  border-radius: 8px;
  direction: rtl;
  text-align: right;
  font-family: "Vazir", Tahoma, sans-serif;
  margin-top: 15px; /* کاهش فاصله از بالا */
  padding: 10px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* سایه شما حفظ شد */
}

/* عنوان فرم */
#reply-title {
  font-size: 16px; /* کمی کوچکتر */
  font-weight: bold;
  color: var(--gl-single-post-text-color);
  margin-bottom: 10px; /* کاهش فاصله */
  display: inline-block;
  padding-bottom: 4px;
}

/* استایل لیبل‌ها */
.comment-form label {
  display: block;
  font-size: 13px;
  color: var(--gl-single-post-text-color);
  margin-bottom: 3px;
}

.single-post-insider {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--gl-input-bg) 80%, var(--gl-semi-pure-color));
  font-size: 13px;
  color: var(--gl-single-post-text-color);
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  border: none;
  border: 2px solid rgba(0, 0, 0, 0);
  box-shadow: inset 0px 0px 9px rgba(0, 0, 0, .15);
}

/* افکت هنگام کلیک روی فیلدها */
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  /* box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); */
  border: 2px solid var(--gl-post-main-color);
  outline: none;
}

/* تنظیم ارتفاع باکس پیام */
.comment-form textarea {
  resize: vertical;
  min-height: 80px; /* کاهش ارتفاع پیش‌فرض باکس پیام */
}

/* دکمه ارسال */
.form-submit #submit {
  background-color: #3498db;
  color: #fff;
  border: none;
  padding: 8px 20px; /* دکمه کمی جمع‌وجورتر */
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
}

.form-submit #submit:hover {
  background-color: #2980b9;
}

/* متن‌های راهنما (مثل ایمیل شما منتشر نخواهد شد) */
.comment-notes,
.logged-in-as {
  font-size: 11px;
  color: #888;
  margin-bottom: 10px; /* کاهش فاصله */
}

/* چک‌باکس ذخیره اطلاعات */
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
  margin-bottom: 15px; /* کاهش فاصله */
}

.comment-form-cookies-consent input {
  margin: 0;
}

.comments-not-logged {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  gap: 10px;
  margin: 40px 10px 60px 10px;
  justify-content: space-between;
  background: var(--gl-post-comments-background-warning-box);
  padding: 5px 10px;
  border-radius: 10px;
  color: var(--gl-post-comments-color-warning-box);
}
.comments-not-logged p,
.comments-not-logged a {
  margin: 0;
  font-size: 18px;
}

.comments-not-logged-text {
  display: flex;
  align-items: center;
}

#cancel-comment-reply-link {
  margin-right: 30px;
  color: white;
  background-color: var(--gl-post-main-color);
  padding: 2px 5px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

#cancel-comment-reply-link:hover {
  background-color: var(--gl-post-main-color-hover);
}

.form-submit {
  text-align: left;
}

.form-submit #submit {
  background: none;
  color: var(--gl-post-main-color);
  border: 1px solid var(--gl-post-main-color);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
  background: none;
  background-color: rgba(0, 0, 0, 0);
}

.form-submit #submit:hover {
  background-color: var(--gl-post-main-color);
  color: white;
}

.atricle-wrapper,
.single-post-side-bar-wrapper,
.single-post-content-section > div {
  min-width: 0; /* این کد مشکل کشیدگی فلکس‌باکس را حل می‌کند */
  max-width: 100%;
}

.like-box {
  display: flex;
  align-items: center;
  color: var(--gl-post-main-color);
}

.my-like-button {
  background: none;
  border: none;
  color: rgb(162, 162, 162);
  font-size: 1.2rem;
}

.my-like-button-activate {
  color: var(--gl-post-main-color);
}

.like-error {
  margin-right: 15px;
}

.view_history-single_post a {
  display: block;
  color: var(--gl-single-post-text-color);
  margin-bottom: 10px;
  transition: all 0.2s ease;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view_history-single_post a:hover {
  color: var(--gl-post-sidebar-text-color-hover);
}

.single-post-history-bullet {
  margin-left: 7px;
  font-size: 11px;
  color: var(--gl-post-main-color);
}

.single-post-download-box-title {
  background-color: var(--gl-post-main-background-color);
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}

.single-post-download-box-title.box-title-activated {
  box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.1);
  scale: 1.002;
}

.single-post-download-box-title h5 {
  margin: 0;
}

.single-post-download-size-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.download-box-main {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-box-main.download-box-main-activate {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  padding: 5px;
}

.single-post-button-show {
  transition: transform 0.3s ease;
  cursor: pointer;
  color: var(--gl-post-main-color);
}

.active-btn {
  transform: rotate(180deg);
}

.single-post-download-rows {
  background-color: var(--gl-post-main-background-color);
  margin-top: 10px;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
}

.single-post-download-rows a:hover {
  color: var(--gl-single-post-text-color);
}

.single-post-download-rows p {
  margin: 0;
}

.wc-custom-single {
  /* box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
  /* padding: 7px 20px; */
  margin: 7px auto;
  border-radius: 15px;
}

.wc-custom-single__breadcrumb {
  display: flex;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  gap: 10px;
  margin-top: 15px;
  margin-bottom: 10px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 50%,
    var(--gl-pure-color)
  );
  padding: 10px 15px;
  border-radius: 10px;
  align-items: center;
  color: var(--gl-post-main-color);
}

.wc-custom-single__breadcrumb .woocommerce-breadcrumb {
  margin: 0;
  color: var(--gl-post-main-color);
}

.wc-custom-single__breadcrumb h5 {
  margin: 0;
}

.wc-custom-single__top h1 {
  font-size: 1.8rem;
  margin: 0px 0 !important;
}

.wc-custom-single__main {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
  padding: 10px 0px;
}

.wc-custom-single-full-catagory-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 20px;
  margin-bottom: 25px;
  color: var(--gl-secondary-color);
}

.wc-custom-single-full-catagory-wrapper i {
  border: 1px solid var(--gl-secondary-color);
  border-radius: 50%;
  display: flex;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wc-custom-full-catagory-modern {
  font-weight: 500;
}

.wc-custom-single__image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.wc-custom-single__image img {
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 6 / 5;
  border-radius: 12px;
  border: 1.5px solid rgba(97, 97, 97, 0.3);
  width: 100%;
}

.course-preview-section {
  position: absolute;
  padding: 10px 15px;
  border: 2px solid rgba(183, 183, 183, 0.9);
  left: 10px;
  bottom: 10px;
  background-color: color-mix(
    in srgb,
    var(--gl-post-main-background-color) 70%,
    transparent
  );
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
  cursor: pointer;
  color: var(--gl-post-main-color);
}
.course-preview-section i {
  font-size: 1.3rem;
}

.course-preview-section:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-post-main-color) 70%,
    transparent
  );
  color: var(--gl-post-main-background-color);
}

.wc-custom-desc-modern-course-temp {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 30px;
  margin-top: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  color: var(--gl-single-post-text-color);
}

.wc-custom-single__info {
  flex: 0.9;
  min-width: 300px;
  background-color: var(--gl-product-all-backgrounds);
  padding: 15px 15px 5px 15px;
  border-radius: 15px;
  box-shadow: 3px 2px 15px rgba(0, 0, 0, .1);
  border: 1.5px solid rgba(97, 97, 97, 0.3);
}

.wc-custom-single__info .product_title {
  height: 65px;
  color: var(--gl-post-title-color);
}

.wc-custom-single__info .product_title h1 {
  font-size: 1.6rem;
}

.we-custom-course-download-modern-info-wrapper {
  margin: 5px 10px;
  display: flex;
  flex-wrap: wrap;
      box-shadow: 1px 1px 10px rgba(0, 0, 0, .1);
    border-radius: 10px;
}

.we-custom-course-download-modern-info-wrapper
  > .we-custom-course-download-modern-info-item:first-child {
  border-radius: 0 10px 0 0;
}

.we-custom-course-download-modern-info-wrapper
  > .we-custom-course-download-modern-info-item:nth-child(2) {
  border-radius: 10px 0 0 0;
}

.we-custom-course-download-modern-info-wrapper
  > .we-custom-course-download-modern-info-item:nth-child(5) {
  border-radius: 0 0 10px 0;
}

.we-custom-course-download-modern-info-wrapper
  > .we-custom-course-download-modern-info-item:last-child {
  border-radius: 0 0 0 10px;
}

.profile-img img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--gl-post-main-color);
}

.wc-custom-course-download-teacher-name {
  display: flex;
  gap: 6px;
  align-items: center;
}

.we-custom-course-download-modern-info-item h6 {
  margin: 0;
  font-weight: 100;
  color: var(--gl-single-post-text-color);
  opacity: 0.9;
}

.we-custom-course-download-modern-info-item p {
  margin: 0;
  font-weight: 700;
  color: var(--gl-single-post-text-color);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.we-custom-course-download-modern-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1.5px solid rgba(97, 97, 97, 0.3);
  padding: 5px 15px;
  width: 50%;
}

.we-custom-course-download-modern-info-item .item-wrapper {
  width: 70%;
}

.profile {
  width: 50px;
  height: 50px;
  border: 1.5px solid #8686864f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  color: var(--gl-post-main-color);
}

.gl-wc-custom-single-action-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0 10px 0;
}

.wc-custom-single__cart-action {
  margin: 0;
  width: 100%;
  flex: 1.25;
}

.gl-wc-custom-single-action-wrapper
  .wc-custom-single__cart-action
  button.single_add_to_cart_button.button.alt.disabled {
  width: 100%;
  height: 57px;
  border-radius: 10px;
  color: white !important;
  background-color: var(--gl-product-add-to-cart-color) !important;
}

.woocommerce div.product form.cart {
  margin: 0 !important;
}

.wc-custom-single__cart-action .cart .button {
  background-color: var(--gl-product-add-to-cart-color) !important;
  color: var(--gl-product-add-to-cart-text-color) !important;
  width: 100%;
  border-radius: 10px;
  font-size: 1.1rem;
  height: 57px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.wc-custom-single__cart-action .cart .button:hover {
  background-color: var(--gl-product-add-to-cart-color-hover) !important;
}

.gl-wc-custom-single-action-wrapper .wc-custom-single__cart-action a {
  background-color: var(--gl-product-add-to-cart-color) !important;
  color: var(--gl-product-add-to-cart-text-color) !important;
  width: 100%;
  border-radius: 10px;
  font-size: 1.1rem;
  height: 57px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-wc-custom-single-action-wrapper .wc-custom-single__cart-action a:hover {
  background-color: var(--gl-product-add-to-cart-color-hover) !important;
}

.wc-custom-single__cart-action .out-of-stock {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gl-product-add-to-cart-color-out-of-stock) !important;
  width: 100%;
  color: rgb(249, 249, 249) !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  border-radius: 10px;
  height: 50px;
}

/* شروع لودینگ */

.gl-main-add-to-cart-course-v1-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  vertical-align: middle;
}

.gl-main-add-to-cart-course-v1-loading span {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background-color: #ffffff;
  animation: gl-dot-scale 1.4s infinite ease-in-out;
}

.gl-main-add-to-cart-course-v1-loading span:nth-child(1) {
  animation-delay: -0.32s;
}

.gl-main-add-to-cart-course-v1-loading span:nth-child(2) {
  animation-delay: -0.16s;
}

.gl-main-add-to-cart-course-v1-loading span:nth-child(3) {
  animation-delay: 0s;
}

@keyframes gl-dot-scale {
  0%,
  80%,
  100% {
    transform: scale(0.5);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* پایان لودینگ */

.wc-peodcut-single-showing-lessons {
  width: 100%;
  flex: 0.75;
}

.wc-peodcut-single-showing-lessons button {
  width: 100%;
  height: 55px;
  margin: 0;
  background: none;
  border: 2px solid var(--gl-product-add-to-cart-color);
  border-radius: 10px;
  color: var(--gl-product-add-to-cart-color);
  font-size: 1.1rem;
  transition: all 0.2s ease;
  font-weight: 600;
}

.wc-peodcut-single-showing-lessons button:hover {
  background: var(--gl-product-add-to-cart-color);
  border-radius: 10px;
  color: var(--gl-product-add-to-cart-text-color);
}

.wc-custom-single__price-wrapper {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 65px;
  margin-top: 20px;
}

.wc-custom-single__price-wrapper span {
  color: var(--gl-single-post-text-color);
  font-size: 20px;
  font-weight: 500;
}

.wc-custom-single__price-amount {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  font-size: 22px;
  color: var(--gl-single-post-text-color);
  font-weight: 700;
}

.wc-custom-single__price-amount-v1-discount-timer-wrapper {
  display: flex;
  gap: 20px;
}

.wc-custom-single__price-currency span {
  font-size: 16px;
  font-weight: 400;
}

.wc-custom-single__price-amount span {
  font-size: 16px;
  font-weight: 400;
  color: red;
}

.wc-custom-single__price-amount .wc-custom-single__price-old {
  color: #767676;
  position: relative;
}

.wc-custom-single__price-strike {
  width: 100%;
  border: 2px solid rgb(222, 16, 16);
  position: absolute;
  bottom: 15px;
  left: 0px;
  transform: rotate(5deg);
}

.wc-custom-single__price-amount--simple {
  flex-direction: row;
}

.wc-custom-single__price-amount--simple span {
  color: var(--gl-single-post-text-color);
}

.discount-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 10px;
  align-items: end;
}

.discount-percent {
  color: var(--gl-post-main-background-color);
  font-weight: 500;
  padding: 5px 10px;
  background-color: var(--gl-post-main-color);
  border-radius: 10px;
  width: 100%;
  text-align: center;
}

.wc-cuctom-single__detail_wrapper {
  display: flex;
  justify-content: space-between;
}

.wc-custom-single__detail_item {
  width: 150px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(199, 199, 199);
  border-radius: 10px;
  color: rgb(78, 78, 78);
  font-weight: 600;
}

.wc-custom-course-v1-buttom-wrapper {
  margin-top: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wc-custom-course-v1-rate-wrapper {
  display: flex;
  align-items: center;
  font-size: 25px;
}

.wc-custom-course-v1-traits-wrapper {
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gl-post-main-color);
}

.wc-custom-course-v1-traits {
  display: flex;
  height: 60px;
  width: 60px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(97, 97, 97, 0.3);
}

* پس‌زمینه مودال */ .galaxiom-wc-product-video-section {
  padding: 20px;
  text-align: center;
}

.galaxiom-wc-product-modal-opener {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.galaxiom-wc-product-modal-opener:hover {
  background: #1f2937;
}

.galaxiom-wc-product-modal-opener:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

.galaxiom-wc-product-video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.galaxiom-wc-product-video-modal.galaxiom-is-active {
  display: block;
}

.galaxiom-wc-product-video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.galaxiom-wc-product-video-modal__dialog {
  position: relative;
  width: calc(100% - 32px);
  max-width: 920px;
  margin: 180px auto;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.galaxiom-wc-product-video-modal.galaxiom-is-active
  .galaxiom-wc-product-video-modal__dialog {
  transform: scale(1);
  opacity: 1;
}

.galaxiom-wc-product-video-modal__close {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.galaxiom-wc-product-video-modal__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.galaxiom-wc-product-video-modal__close:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.galaxiom-wc-product-video-modal__media-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000000;
}

.galaxiom-wc-product-video-modal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
}

/* Container */
.galaxiom-wc-v1-product-locked-content-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    visibility 0.3s ease,
    opacity 0.3s ease;
}

/* Active State */
.galaxiom-wc-v1-product-locked-content-modal.galaxiom-is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Overlay Background */
.galaxiom-wc-v1-product-locked-content-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal Dialog Box */
.galaxiom-wc-v1-product-locked-content-modal-content {
  position: relative;
  width: calc(100% - 100px);
  max-width: 920px;
  margin: 180px auto;
  background: var(--gl-post-main-background-color);
  border-radius: 16px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  opacity: 0;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  transform: scale(0.95) translateY(20px);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.4s ease;
  opacity: 0;
}

/* Dialog Active Animation */
.galaxiom-wc-v1-product-locked-content-modal.galaxiom-is-active
  .galaxiom-wc-v1-product-locked-content-modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Close Button */
.galaxiom-wc-v1-product-locked-content-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgb(228 101 101 / 95%);
  color: #e4e4e4;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.galaxiom-wc-v1-product-locked-content-modal-close:hover {
  background: #f27575f2;
}

.galaxiom-wc-v1-product-locked-content-modal-close:focus {
  outline: 2px solid #333333;
  outline-offset: 2px;
}

.galaxiom-wc-v1-product-locked-content-modal-content-wrapper {
  position: relative;
  width: 100%;
  padding: 40px;
  min-height: 300px;
}

/* استایل‌های مربوط به طراحی داخلی مودال قفل شده */
.galaxiom-wc-v1-locked-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  direction: rtl; /* برای راست‌چین بودن متون فارسی */
  padding: 20px 15px;
}

/* استایل آیکون قفل (پس‌زمینه دایره‌ای طلایی/نارنجی) */
.galaxiom-wc-v1-locked-icon {
  width: 72px;
  height: 72px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-cart-backgrounds) 70%,
    var(--gl-post-main-color)
  ); /* زرد خیلی روشن */
  color: var(--gl-post-main-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.galaxiom-wc-v1-locked-icon svg {
  width: 36px;
  height: 36px;
}

/* عنوان */
.galaxiom-wc-v1-locked-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gl-post-main-color);
  margin: 0 0 12px 0;
}

/* متن توضیحات */
.galaxiom-wc-v1-locked-text {
  font-size: 16px;
  color: var(--gl-post-title-color);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 0 32px 0;
}

/* دکمه خرید */
.galaxiom-wc-v1-locked-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background-color: var(--gl-secondary-color);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.galaxiom-wc-v1-locked-btn:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-secondary-color) 80%,
    rgba(37, 99, 235)
  );
}

.galaxiom-wc-v1-locked-btn:active {
  transform: translateY(2px); /* افکت کلیک شدن */
}

/* استایل خود آیکون */
.verified-teacher-badge {
  color: var(--gl-post-main-color); /* رنگ آبی شیک (مشابه تیک آبی) */
  font-size: 1.2rem;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* افکت بزرگ شدن ملایم روی آیکون */
.verified-teacher-badge:hover {
  transform: scale(1.1);
}

/* استایل باکسی که متن را نشان می‌دهد (تولتیپ) */
.verified-teacher-badge::after {
  content: attr(aria-label);
  position: absolute;
  bottom: 130%; /* فاصله از آیکون */
  left: 50%;
  transform: translateX(-50%) translateY(5px);
  background-color: #222;
  color: #fff;
  font-size: 0.75rem;
  font-family: sans-serif;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}


.verified-teacher-badge:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.gl-wooc-custom-v1-content-lessons h4 {
  margin-bottom: 0px;
}

.gl-wooc-custom-v1-content-main,
.gl-wooc-custom-v1-content-lessons {
  background-color: var(--gl-product-all-backgrounds);
  padding: 15px;
  border-radius: 15px;
  border: 1.5px solid rgb(205 205 205 / 30%);
  color: var(--bs-heading-color);
  margin-bottom: 15px;
  flex: 1.2;
  box-shadow: 6px -2px 8px rgba(0, 0, 0, .05);
}

.gl-wooc-custom-v1-content-main h4 {
  margin-bottom: 0;
}

.galaxiom-simple-course-modern-v1-main-section-content {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.galaxiom-simple-course-modern-v1-main-section-content i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gl-post-main-color);
  font-size: 20px;
  color: var(--gl-post-main-color);
}

.gl-wooc-custom-v1-content-chapter-wrapper {
  border-radius: 10px;
  border: 1.5px solid rgba(97, 97, 97, 0.3);
  margin: 10px 0;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.gl-wooc-custom-v1-content-chapter-wrapper-items {
  display: flex;
  padding: 10px 15px;
  margin: -1px 7px;
  justify-content: space-between;
  position: relative;
  z-index: 99;
}

.gl-wooc-custom-v1-content-chapter-wrapper-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gl-wooc-custom-v1-content-chapter-wrapper-item p {
  margin: 0;
  padding: 4px 7px;
  border: 1px solid var(--gl-product-add-to-cart-text-color);
  border-radius: 10px;
  width: 90px;
  text-align: center;
  background-color: var(--gl-secondary-color);
  color: white;
}

.gl-wooc-custom-v1-content-chapter-wrapper-item i {
  margin: 0;
  color: var(--gl-post-main-color);
  font-size: 25px;
  font-weight: 600;
  cursor: pointer;
}

.wc-custom-course-additional {
  height: 40px;
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--gl-post-main-color);
  border-radius: 50%;
  cursor: default !important;
}

.gl-wooc-custom-v1-content-all .gl-wooc-custom-v1-content-all-wrapper {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}

.gl-wooc-course-v1-content-sidebar {
  flex: 0.25;
  align-self: flex-start;
  top: 20px;
  position: sticky;
}

.gl-wooc-custom-v1-content-main-item-core-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-wooc-custom-v1-content-main-item-wrapper {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--gl-post-main-color);
  font-weight: 500;
}

.gl-wooc-custom-v1-content-main-item-wrapper p {
  margin: 0;
}

.gl-wooc-custom-v1-content-main-item-core-wrapper p {
  margin: 0;
  margin-left: 10px;
}

.progress-container {
  width: 100%;
  max-width: 500px;
  background-color: #e0e0e0;
  border-radius: 8px;
  margin: 8px auto;
}

.progress-bar {
  width: 0%;
  height: 30px;
  background-color: var(--gl-post-main-color);
  border-radius: 8px;
  text-align: center;
  line-height: 30px;
  color: white;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes shine {
  0% {
    left: -100%;
  }
  10% {
    left: 200%;
  }
  100% {
    left: 200%;
  }
}

.gl-wooc-custom-v1-content-chapter-wrapper-item h6 {
  margin: 0;
  color: var(--bs-heading-color);
  font-size: 20px;
  font-weight: 600;
}

.gl-wooc-custom-v1-content-lesson-wrapper ul {
  border-bottom: 1px solid rgb(73, 73, 73);
  padding: 15px 25px;
  margin-bottom: 0;
  list-style-type: none;
}

.gl-wooc-custom-v1-content-lesson-wrapper ul:first-child {
  border-top: 1px solid var(--gl-secondary-color);
}

.gl-wooc-custom-v1-content-lesson-wrapper ul:last-child {
  border-bottom: none;
  padding: 15px 25px;
  margin-bottom: 0;
}

.gl-wooc-custom-v1-content-lesson-wrapper p {
  margin: 0;
}

.gl-wooc-custom-v1-content-lesson-wrapper {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  pointer-events: none;
  /* انیمیشن نرم‌تر با زمان‌بندی متفاوت برای باز و بسته شدن */
  transition:
    max-height 0.4s cubic-bezier(0, 1, 0, 1),
    opacity 0.3s ease-out,
    transform 0.3s ease-out;
}

.gl-wooc-custom-v1-content-lesson-wrapper.open-class-wrapper {
  max-height: 1000px; /* سعی کنید این عدد تا حد امکان به ارتفاع واقعی نزدیک باشد */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  /* وقتی باز می‌شود، منحنی حرکت تغییر می‌کند */
  transition:
    max-height 0.5s ease-in-out,
    opacity 0.4s ease-in,
    transform 0.4s ease-out;
}

.wc-course-v1-each-core-title-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.wc-course-v1-each-core {
  display: grid;
  grid-template-columns: 5fr 1fr 1fr 1fr 0.3fr 0.8fr;
  align-items: center;
  gap: 12px;
}

.wc-course-v1-each-core > :nth-child(1) {
  justify-self: start;
  font-size: 18px;
  font-weight: 500;
}

.wc-course-v1-each-core > :nth-child(2),
.wc-course-v1-each-core > :nth-child(3),
.wc-course-v1-each-core > :nth-child(4) {
  justify-self: center;
  padding: 5px 6px;
  width: 150px;
  border: 1px solid #818181;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wc-course-v1-each-core > :nth-child(5) {
  border: none;
  justify-self: left;
  background-color: orange;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #3a3a3a;
}

.wc-course-v1-each-core > :nth-child(5).fa-unlock {
  background-color: rgb(0, 255, 102);
}

.wc-course-v1-each-core > :nth-child(2):hover,
.wc-course-v1-each-core > :nth-child(3):hover,
.wc-course-v1-each-core > :nth-child(4):hover {
  background-color: var(--gl-post-main-color);
  color: var(--gl-post-main-background-color);
}

.wc-course-v1-each-core > :nth-child(6) {
  justify-self: end;
}

.wooc-course-v1-quiz--empty {
  border: none !important;
  padding: 0;
  margin: 0;
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
  background: none !important;
  cursor: none !important;
}

.wooc-course-v1-quiz--empty:hover {
  border: none !important;
  padding: 0;
  margin: 0;
  display: inline-block;
  width: 0;
  height: 0;
  overflow: hidden;
  background-color: none !important;
}

.chapter-opener {
  transition: all 0.2s ease;
}

.chapter-opener.chapter-opened {
  transform: rotate(180deg);
}

.woocommerce-galaxiom-product-v1-course-comments {
  border: 1.5px solid rgba(97, 97, 97, 0.3);
  padding: 10px 15px;
  border-radius: 15px;
  align-items: center;
  margin-bottom: 15px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
}

.woocommerce-galaxiom-product-v1-profile-name-section {
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 20px;
}


.gl-donwload-files-coments-message-section{
  flex: 12;
}

.woocommerce-galaxiom-product-v1-profile-name-section img {
  border-radius: 50%;
  border: 2px solid var(--bs-heading-color);
  width: 60px;
  height: 60px;
}

.woocommerce-galaxiom-product-v1-name-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.woocommerce-galaxiom-product-v1-name-section p {
  margin-bottom: 0;
}

.woocommerce-galaxiom-product-v1-name-section p:first-child {
  font-size: 17px;
  font-weight: 600;
}

.woocommerce-galaxiom-product-v1-name-section p:last-child {
  opacity: 0.6;
}

.woocommerce-galaxiom-product-v1-reply-section {
  border: 1px solid var(--gl-secondary-color);
  border-radius: 20px;
  color: var(--gl-secondary-color);
  padding: 5px 20px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.woocommerce-galaxiom-product-v1-reply-section:hover {
  border: 1px solid var(--gl-secondary-color);
  background-color: var(--gl-secondary-color);
  color: var(--gl-post-main-background-color);
}

.review-replies .review-reply {
  padding: 5px 10px;
  border: 1.5px solid rgba(97, 97, 97, 0.3);
  border-radius: 15px;
  margin: 5px 50px 5px 10px;
}

.review-replies .review-reply p {
  margin: 0;
}

.woocomerce-product-modern-course-v1-reply-name-profile-time {
  display: flex;
  align-items: center;
  gap: 20px;
}

.woocomerce-product-modern-course-v1-reply-name-time {
  display: flex;
  align-items: center;
  gap: 20px;
}

.woocomerce-product-modern-course-v1-reply-name-profile-time img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--bs-heading-color);
}

.woocomerce-product-modern-course-v1-reply-name-time p:last-child {
  opacity: 0.6;
}

.woocommerce-galaxiom-product-v1-name-section-buyer {
  background-color: var(--gl-secondary-color);
  padding: 1px 10px;
  border-radius: 10px;
  color: white;
}

p.reply-main-comment {
  opacity: 0.6 !important;
}

.wooc-prodcut-comments-wrapper .submit {
  background: none !important;
  border: 1px solid var(--gl-secondary-color) !important;
  color: var(--gl-secondary-color) !important;
  transition: all 0.3s ease;
}

.wooc-prodcut-comments-wrapper .submit:hover {
  background-color: var(--gl-secondary-color) !important;
  color: var(--gl-post-main-background-color) !important;
  border: 1px solid var(--gl-secondary-color) !important;
}

.wooc-prodcut-comments-wrapper input:focus,
.wooc-prodcut-comments-wrapper textarea:focus {
  border: 2px solid var(--gl-post-main-color) !important;
  outline: none;
}

.wooc-login-required {
  margin: 16px 0;
  padding: 16px 18px;
  border: 1px solid #767676;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gl-post-main-background-color);
  background-color: var(--gl-post-main-color);
}

.wooc-login-required__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

p.stars.selected a.active:before,
p.stars:hover a:before {
  color: #e6a400;
}

.comment-form-rating .stars {
  direction: ltr !important;
  text-align: right;
  display: block;
  margin-bottom: 0;
}

.comment-form-rating .stars span {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.comment-form-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-form-rating .stars a {
  float: none !important;
  display: inline-block;
}

.comment-form-rating select {
  display: none !important;
}

.comment-form-rating .stars a {
  font-size: 30px !important;
  color: transparent !important;
}

.comment-form-rating .stars a::before {
  font-family: "Font Awesome 5 Free" !important;
  content: "\f005" !important;
  font-size: 25px !important;
  font-weight: 400 !important;
  color: var(--gl-post-main-color) !important;
}

.comment-form-rating .stars:hover a::before,
.comment-form-rating .stars.selected a::before {
  font-weight: 900 !important;
  color: var(--gl-post-main-color) !important;
}

.comment-form-rating .stars a:hover ~ a::before,
.comment-form-rating .stars.selected a.active ~ a::before {
  font-weight: 400 !important;
  color: var(--gl-post-main-color) !important;
}

.wc-custom-course-v1-rate-wrapper .rating {
  transform: rotateY(180deg);
  color: var(--gl-post-main-color);
}

.galaxiom-otp-code-modal {
  background-color: rgb(0 0 0 / 0%);
  backdrop-filter: none;
}

.galaxiom-register-code-modal {
  background-color: rgb(0 0 0 / 0%);
  backdrop-filter: none;
}

div#otp-timer {
  margin-bottom: 10px;
  font-weight: 500;
  text-align: left;
  height: 26px;
  color: color-mix(in srgb, var(--gl-text-color) 80%, grey);
}


#otp-login-number-error-area {
  margin-bottom: 5px;
  width: 380px;
}

.gl-main-header-phone-loggin-otp-timer-end-resend{
  color: var(--gl-close-btn-color);
  text-decoration: none;
  font-weight: 600;
  margin-right: 10px;
  padding: 2px 10px;
  border-radius: 10px;
  background-color: var(--gl-accent);
  transition: all .2s ease;
}

.gl-main-header-phone-loggin-otp-timer-end-resend:hover{
  background-color: color-mix(in srgb, var(--gl-accent) 90%, grey);
}

.galaxiom-related-courses-section {
  margin: 40px 0;
  direction: rtl;
}

/* استایل اصلی کارت دوره */
.galaxiom-course-product-v1 {
  background-color: var(--gl-product-all-backgrounds);
  border: 1px solid rgba(97, 97, 97, 0.3);
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-family: inherit;
      box-shadow: 0px 0px 8px rgba(0, 0, 0, .3);
}

.galaxiom-course-product-v1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #3a3a3d;
}

.galaxiom-cp-image-wrapper {
  position: relative;
  width: 100%;
  padding: 12px 12px 0 12px;
  box-sizing: border-box;
}

.galaxiom-cp-image {
  width: 100%;
  height: 250px !important;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.galaxiom-cp-image-wrapper img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

.galaxiom-cp-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--gl-post-main-background-color);
  color: var(--gl-secondary-color);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: bold;
  backdrop-filter: blur(4px);
  border: 1px solid #f5822033;
}

.galaxiom-cp-content {
  padding: 20px;
}

.galaxiom-cp-title {
  color: var(--bs-heading-color);
  font-size: 1.05rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.5;
  height: 55px;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* حداکثر دو خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.galaxiom-cp-description {
  color: var(--bs-heading-color);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 45px;
}

.galaxiom-cp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--bs-heading-color);
}

.galaxiom-cp-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--gl-post-main-color);
}

.galaxiom-cp-rating span {
  color: var(--bs-heading-color);
}

.galaxiom-cp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(97, 97, 97, 0.3);
  padding-top: 15px;
}

.gl-product-course-v1-sale-price-related {
  display: flex;
  flex-direction: column;
  margin-left: 5px;
}

.galaxiom-cp-price {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 20px;
}

.galaxiom-cp-amount {
  color: var(--gl-product-cart-price_text);
  font-size: 1.2rem;
  font-weight: bold;
}

.galaxiom-cp-amount.sale-price-related-course-v1 {
  text-decoration: line-through;
}

.galaxiom-cp-currency {
  color: #8a8a8e;
  font-size: 0.75rem;
}

.galaxiom-cp-add-btn {
  background-color: transparent;
  color: var(--gl-post-main-color);
  border: 1px solid var(--gl-post-main-color);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.galaxiom-cp-add-btn:hover {
  background-color: var(--gl-post-main-color);
  color: white;
}

/* استایل کلی باکس تایمر */
.wc-course-download-v1-discount-timer {
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  direction: rtl;
  color: var(--gl-post-title-color);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

/* استایل مشترک برای تمام اعداد تایمر (جلوگیری از تداخل با استفاده از والد) */
.wc-course-download-v1-discount-timer span.days,
.wc-course-download-v1-discount-timer span.hours,
.wc-course-download-v1-discount-timer span.minutes,
.wc-course-download-v1-discount-timer span.seconds {
  background-color: var(--gl-secondary-color);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 18px;
  width: 36px;
  text-align: center;
  display: inline-block;
  line-height: 1.2;
  font-family: "Vazir", sans-serif;
}

/* blog-start */

.gl-blog-top-part {
  padding: 10px 15px;
  background-color: var(--gl-blog-all-backgrounds);
  border-radius: 10px;
  margin-top: 10px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.gl-blog-top-part h3 {
  margin: 0;
  color: var(--gl-blog-title-color);
  font-weight: 800;
  text-align: center;
}

.gl-blog-main-content {
  margin-top: 10px;
  display: flex;
  gap: 15px;
}

.gl-blog-content {
  flex: 4;
}

.gl-blog-sidebar {
  flex: 1;
}

.gl-blog-content-wrapper {
  padding: 10px 12px;
  background-color: var(--gl-blog-all-backgrounds);
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.bl-blog-sidebar-item-container {
  padding: 10px 12px;
  background-color: var(--gl-blog-all-backgrounds);
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.bl-blog-sidebar-item-container h6 {
  color: var(--gl-blog-main-color);
  margin-bottom: 20px;
  font-size: 20px;
}

.gl-blog-search-box {
  position: relative;
}

.gl-blog-search-box input {
  width: 100%;
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 5%
  );
  border: 1px solid
    color-mix(in hsl, var(--gl-blog-all-backgrounds), rgb(126, 126, 126) 15%);
  height: 40px;
  border-radius: 10px;
  padding: 5px 10px;
  transition: all 0.2s ease;
  color: var(--gl-blog-main-color);
}

.gl-blog-search-box input::placeholder {
  transition: all 0.2s ease;
}

.gl-blog-search-box input:focus {
  outline: none;
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 2%
  );
  border: 1px solid var(--gl-blog-main-color);
}

.gl-blog-search-box button {
  background: none;
  border: none;
  color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 80%
  );
  position: absolute;
  left: 25px;
  top: 22px;
  transition: all 0.2s ease;
}

.gl-blog-search-box input:focus + button,
.gl-blog-search-box input:focus::placeholder {
  color: var(--gl-blog-main-color);
}

.gl-blog-sidebarcategory-items-wrapper::-webkit-scrollbar {
  width: 6px;
}

.gl-blog-sidebarcategory-items-wrapper {
  max-height: 368px;
  overflow-y: auto;
  scrollbar-width: none;
  padding-left: 5px;
}

.gl-blog-sidebarcategory-items-wrapper:hover {
  scrollbar-width: thin;
  scrollbar-color: var(--gl-blog-main-color)
    color-mix(in hsl, var(--gl-blog-all-backgrounds), rgb(118, 118, 118) 15%);
}

.gl-blog-sidebarcategory-items-wrapper::-webkit-scrollbar {
  width: 0;
  transition: all 0.2s ease;
}

.gl-blog-sidebarcategory-items-wrapper:hover::-webkit-scrollbar {
  width: 6px;
}

.gl-blog-sidebarcategory-items-wrapper::-webkit-scrollbar-track {
  background: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 10%
  );
  border-radius: 10px;
}

.gl-blog-sidebarcategory-items-wrapper::-webkit-scrollbar-thumb {
  background: color-mix(in hsl, var(--gl-blog-main-color), black 10%);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.gl-blog-sidebarcategory-items-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gl-blog-main-color);
}

.gl-blog-sidebarcategory-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gl-blog-text-color);
  margin: 0;
  padding: 10px 8px;
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 15%
  );
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gl-blog-sidebarcategory-items:hover {
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 20%
  );
}

.gl-blog-sidebarcategory-items p {
  margin: 0;
}

.gl-blog-sidebarcategory-items p:last-child {
  margin-left: 10px;
  color: var(--gl-blog-main-color);
}

.gl-blog-sidebarcategory-icon-name {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
}

.gl-blog-sidebarcategory-name {
  color: var(--gl-blog-text-color) !important;
}

.gl-blog-sidebarcategory-icon-name i {
  color: var(--gl-blog-main-color);
}

.gl-blog-post-tag-names-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 150px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.gl-blog-post-tag-names-wrapper::-webkit-scrollbar {
  width: 6px;
}

.gl-blog-post-tag-names-wrapper::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

.gl-blog-post-tag-names-wrapper::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.gl-blog-post-tag-names-wrapper:hover {
  scrollbar-color: var(--gl-blog-main-color)
    color-mix(in hsl, var(--gl-blog-all-backgrounds), rgb(118, 118, 118) 15%);
}

.gl-blog-post-tag-names-wrapper:hover::-webkit-scrollbar-track {
  background: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 10%
  );
}

.gl-blog-post-tag-names-wrapper:hover::-webkit-scrollbar-thumb {
  background: color-mix(in hsl, var(--gl-blog-main-color), black 10%);
}

.gl-blog-post-tag-names-wrapper:hover::-webkit-scrollbar-thumb:hover {
  background: var(--gl-blog-main-color);
}

.gl-blog-post-tag-names {
  padding: 5px 10px;
  border: 1px solid
    color-mix(in srgb, var(--gl-blog-main-color), rgb(116, 116, 116) 40%);
  border-radius: 10px;
  margin: 5px 0;
  color: var(--gl-blog-main-color);
}

/* blog-carts-start */

.gl-blog-post-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* تنظیمات پایه برای کانتینر اصلی */
.gl-blog-posts-main {
  direction: rtl;
  font-family: "Vazir", "Vazirmatn", "IRANSans", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* استایل بدنه کارت */
.gl-blog-posts-main .blog-card {
  background-color: color-mix(
    in srgb,
    var(--gl-blog-all-backgrounds),
    var(--gl-blog-pure-bg) 20%
  );
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--gl-blog-all-backgrounds), grey 20%);
  transition: transform 0.3s ease;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.gl-blog-posts-main .blog-card:hover {
  transform: translateY(-5px);
}

/* بخش تصویر */
.gl-blog-posts-main .card-image-wrapper {
  position: relative;
  width: 100%;
  height: 280px; /* ارتفاع تقریبی تصویر */
}

.gl-blog-posts-main .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* تگ فناوری */
.gl-blog-posts-main .category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: color-mix(
    in srgb,
    var(--gl-blog-all-backgrounds) 80%,
    transparent
  );
  color: var(--gl-blog-main-color);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* لوگوی کوچک روی تصویر */
.gl-blog-posts-main .logo-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background-color: color-mix(
    in srgb,
    var(--gl-blog-all-backgrounds) 80%,
    transparent
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-blog-main-color);
  padding: 6px;
}

/* بخش محتوای متنی */
.gl-blog-posts-main .card-content {
  padding: 20px;
}

/* عنوان پست */
.gl-blog-posts-main .card-title {
  display: -webkit-box; /* این مورد برای کار کردن line-clamp الزامی است */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  /* تنظیمات تراز متن (اضافه شده) */
  text-align: justify;
  text-align-last: right;

  /* استایل‌های خودتان */
  color: var(--gl-blog-title-color);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-weight: bold;
  height: 56.3px; /* نکته: وقتی line-clamp دارید، معمولا نیازی به height ثابت نیست، اما می‌توانید نگه‌دارید */
  transition: all 0.2s ease;
}

.gl-blog-posts-main .card-title:hover {
  color: color-mix(
    in srgb,
    var(--gl-blog-title-color) 80%,
    var(--gl-blog-pure-bg)
  ) !important;
}

/* اطلاعات متا (تاریخ و زمان مطالعه) */
.gl-blog-posts-main .card-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  color: var(--gl-blog-text-color);
  font-size: 0.8rem;
  margin-top: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--gl-blog-main-color);
  padding-bottom: 20px;
}

.gl-blog-posts-main .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* فوتر کارت */
.gl-blog-posts-main .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row-reverse;
}

.gl-blog-posts-main .card-footer .gl-blog-v1-card-footer-like-save {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
}

.gl-blog-posts-main .card-footer .gl-blog-v1-card-footer-like-save p {
  margin: 0;
}

/* دکمه بوکمارک */
.gl-blog-posts-main .bookmark-btn {
  background: none;
  border: none;
  color: color-mix(in srgb, var(--gl-blog-all-backgrounds), grey 20%);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.gl-blog-v1-bookmark-active {
  color: var(--gl-blog-main-color);
}

.gl-blog-v1-like-active {
  color: color-mix(in srgb, var(--gl-blog-main-color), rgb(188, 59, 59) 20%);
}

.gl-blog-cart-footer-like-counter-none {
  color: color-mix(in srgb, var(--gl-blog-all-backgrounds), grey 20%);
}

.gl-blog-posts-main .bookmark-btn:hover {
  color: var(--gl-blog-main-color);
}

/* اطلاعات نویسنده */
.gl-blog-posts-main .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: row-reverse;
}

.gl-blog-posts-main .author-name {
  color: var(--gl-blog-text-color);
  font-size: 0.9rem;
}

.gl-blog-posts-main .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #333;
}

/* blog-carts-start */

/* نگهدارنده اصلی صفحه‌بندی */
.custom-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 40px 0;
  direction: rtl;
}

/* استایل عمومی اعداد و دکمه‌ها */
.custom-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  background: none;
  color: var(--gl-blog-main-color);
  text-decoration: none;
  border: 1px solid var(--gl-blog-main-color);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* افکت هاور (رفتن موس روی دکمه‌ها) */
.custom-pagination a.page-numbers:hover {
  background-color: var(--gl-blog-main-color);
  color: #ffffff;
  border: 1px solid var(--gl-blog-main-color);
}

/* استایل صفحه فعلی (اکتیو) */
.custom-pagination .current {
  background-color: var(--gl-blog-main-color);
  color: #ffffff;
  border: none;
  cursor: default;
}

/* استایل نقطه‌ها (...) */
.custom-pagination .dots {
  background-color: transparent;
  border: none;
  color: #888888;
  padding: 0 4px;
}

.gl-blog-sidebar-popular-posts {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 15%
  );
  padding: 10px 8px;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gl-blog-sidebar-popular-posts:hover {
  background-color: color-mix(
    in hsl,
    var(--gl-blog-all-backgrounds),
    rgb(118, 118, 118) 25%
  );
}

.gl-blog-sidebar-popular-posts p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* تعداد خطوط دلخواه */
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--gl-blog-main-color);
}

.gl-blog-sidebar-popular-posts img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
}

/* blog-end */

/* peoduct-archive-start */

.gl-product-archive-v1-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 8px;
  background-color: var(--gl-product-archive-all-backgrounds);
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.gl-product-archive-v1-header-wrapper h3 {
  color: var(--gl-product-archive-title-color);
}

.gl-product-archive-v1-header-wrapper p {
  margin: 0;
  color: var(--gl-product-archive-text-color);
}

.gl-poduct-archive-v1-main-content-wrapper {
  display: flex;
  gap: 10px;
}

.gl-poduct-archive-v1-main-content-item-wrapper {
  flex: 3;
  border-radius: 10px;
}

.gl-poduct-archive-v1-main-content-item-header-wrapper {
  background-color: var(--gl-product-archive-all-backgrounds);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.gl-poduct-archive-v1-main-content-item-header-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 10px;
}

.gl-poduct-archive-v1-main-content-item-header-item p {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--gl-product-archive-main-color);
}

#gl-poduct-archive-v1-main-content-item-header-item-filter {
  display: inline-block;
  padding: 3px 12px;
  font-size: 14px;
  border: 1px solid var(--gl-product-archive-main-color);
  border-radius: 6px;
  background-color: var(--gl-product-archive-all-backgrounds);
  color: var(--gl-product-archive-main-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ۲. استایل تگ select داخلی */
#gl-poduct-archive-v1-main-content-item-header-item-filter select {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  width: 100%;
  font-family: inherit;
}

#gl-poduct-archive-v1-main-content-item-header-item-filter:hover {
  background-color: var(--gl-product-archive-main-color);
  color: var(--gl-product-archive-all-backgrounds);
  border-color: var(--gl-product-archive-main-color);
}

#gl-poduct-archive-v1-main-content-item-header-item-filter:focus-within {
  border-color: var(--gl-product-archive-main-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gl-product-archive-main-color) 20%, transparent);
}

#gl-poduct-archive-v1-main-content-item-header-item-filter select option {
  background-color: var(--gl-product-archive-all-backgrounds);
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-products-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  background-color: var(--gl-product-archive-all-backgrounds);
  padding: 15px;
  border-radius: 10px;
  margin: 10px 0;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.gl-poduct-archive-v1-main-content-sidebar-wrapper {
  flex: 0.75;
  border-radius: 10px;
  min-width: 0;
}

.gl-poduct-archive-v1-main-content-sidebar-inside-wrapper {
  background-color: var(--gl-product-archive-all-backgrounds);
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 100%;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.gl-poduct-archive-v1-main-content-sidebar-inside-wrapper h5 {
  margin-top: 5px;
  margin-bottom: 12px;
  color: var(--gl-product-archive-main-color);
  font-size: 1.1rem;
}

.gl-poduct-archive-v1-main-content-sidebar-inside-wrapper p {
  color: var(--gl-product-archive-text-color);
  margin: 0;
}

#gl-poduct-archive-v1-upcoming-carousel {
  width: 100%;
  overflow: hidden;
}

.gl-poduct-archive-v1-main-content-sidebar-submit-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-poduct-archive-v1-main-content-sidebar-submit-range button {
  background: none;
  border: 1px solid var(--gl-product-archive-main-color);
  color: var(--gl-product-archive-main-color);
  border-radius: 10px;
  font-size: 14px;
  padding: 3px 9px;
  transition: all 0.3s ease;
}

.gl-poduct-archive-v1-main-content-sidebar-submit-range button:hover {
  background-color: var(--gl-product-archive-main-color);
  border: 1px solid var(--gl-product-archive-main-color);
  color: white;
}

.gl-poduct-archive-v1-main-content-sidebar-category-item-wrapper {
  max-height: 216px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gl-poduct-archive-v1-main-content-sidebar-category-item-wrapper::-webkit-scrollbar {
  display: none;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-items-wrapper {
  max-height: 165px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-items-wrapper::-webkit-scrollbar {
  display: none;
}

.gl-poduct-archive-v1-main-content-sidebar-category-item-icon-name {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gl-poduct-archive-v1-main-content-sidebar-category-item-icon-name p {
  margin: 0;
}

.gl-poduct-archive-v1-main-content-sidebar-category-item {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 90%,
    rgb(113, 113, 113)
  );
  margin: 8px 0;
  border-radius: 10px;
  padding-left: 15px;
  transition: all 0.1s ease;
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-category-item:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 70%,
    rgb(108, 108, 108)
  );
}

.gl-product-archive-v1-course-card {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 85%,
    var(--gl-product-archive-pure-bg)
  );
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 60%, grey);
  transition: all 0.2s ease;
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}

.gl-product-archive-v1-course-card:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 65%,
    var(--gl-product-archive-pure-bg)
  );
  scale: 1.01;
}

/* بخش هدر (تصویر) */
.gl-product-archive-v1-card-header {
  position: relative;
  width: 100%;
  height: 320px;
}

.gl-product-archive-v1-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* نشان جاوا اسکریپت در بالا راست (چون rtl است می‌شود چپ تصویر در کد) */
.gl-product-archive-v1-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--gl-product-archive-all-backgrounds);
  color: var(--gl-product-archive-main-color);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  backdrop-filter: blur(4px);
}

/* دکمه لایک */
.gl-product-archive-v1-like-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--gl-product-archive-all-backgrounds);
  border: none;
  color: color-mix(in srgb, var(--gl-product-archive-main-color) 15%, grey);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  backdrop-filter: blur(4px);
  transition: color 0.3s ease;
}

.gl-product-archive-v1-like-btn i.loading {
  color: var(--gl-product-archive-main-color);
  animation: loading-ajax-shop-save 1s infinite;
}

@keyframes loading-ajax-shop-save {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

.gl-product-archive-v1-like-btn.active {
  color: var(--gl-product-archive-main-color);
}

.gl-product-archive-v1-like-btn:hover {
  color: var(--gl-product-archive-main-color);
}

/* بخش بدنه کارت */
.gl-product-archive-v1-card-body {
  padding: 20px;
}

.gl-product-archive-v1-course-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: right;
  height: 51px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all .2s ease;
}


.gl-product-archive-v1-course-title:hover{
color: var(--gl-product-archive-main-color);
}

/* بخش متای دوره (سطح و امتیاز) */
.gl-product-archive-v1-course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a3a3a3;
  font-size: 13px;
  margin-bottom: 20px;
}

.gl-product-archive-v1-course-meta .gl-product-archive-v1-level,
.gl-product-archive-v1-course-meta .gl-product-archive-v1-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gl-product-archive-main-color);
  font-weight: 600;
}

.gl-product-archive-v1-course-meta .gl-product-archive-v1-rating {
  color: var(--gl-product-archive-main-color);
}

.gl-product-archive-v1-course-meta .gl-product-archive-v1-rating span {
  color: var(--gl-product-archive-text-color);
}

.gl-product-archive-v1-rating-stars {
  transform: rotateY(180deg);
}

.gl-product-archive-v1-divider {
  border: 0;
  height: 1.5px;
  background-color: var(--gl-product-archive-text-color);
  margin-bottom: 20px;
}

/* فوتر کارت (قیمت و دکمه خرید) */
.gl-product-archive-v1-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 54px;
}

/* دکمه خرید دوره */
.gl-product-archive-v1-buy-btn {
  background-color: transparent;
  border: 1px solid var(--gl-product-archive-main-color);
  color: var(--gl-product-archive-main-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.2);
}

.gl-product-archive-v1-buy-btn:hover {
  background-color: var(--gl-product-archive-main-color);
  color: white;
}

/* قیمت */
.gl-product-archive-v1-price {
  font-size: 18px;
  font-weight: bold;
  color: var(--gl-product-archive-main-color);
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.gl-product-archive-v1-price-wrapper {
  display: flex;
  flex-direction: column;
}

.gl-product-archive-v1-price-regular-price {
  color: rgb(117, 117, 117);
  position: relative;
}

.gl-product-archive-v1-price-regular-price::after {
  content: "";
  width: 100%;
  height: 0px;
  border: 2px solid rgb(117, 117, 117);
  position: absolute;
  left: 0px;
  top: 10px;
  transform: rotate(4deg);
}

.gl-product-archive-v1-price span {
  font-size: 12px;
  font-weight: normal;
  margin-bottom: 5px;
}

.gl-shop-archive-main-theme-1-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  direction: rtl;
}

.gl-shop-archive-main-theme-1-pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: none;
  color: var(--gl-product-archive-main-color);
  text-decoration: none;
  border: 1px solid var(--gl-product-archive-main-color);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.gl-shop-archive-main-theme-1-pagination a.page-numbers:hover {
  background-color: var(--gl-product-archive-main-color);
  color: #ffffff;
}

.gl-shop-archive-main-theme-1-pagination .page-numbers.current {
  background-color: var(--gl-product-archive-main-color);
  color: #ffffff;
  border-color: var(--gl-product-archive-main-color);
  box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
  cursor: default;
}

.gl-shop-archive-main-theme-1-pagination .page-numbers.dots {
  background-color: transparent;
  border: none;
  color: #777777;
  font-size: 18px;
  min-width: auto;
  padding: 0 5px;
}

a.add_to_cart_button.ajax_add_to_cart {
  display: flex;
  align-items: center;
  gap: 12px;
}

.add_to_cart_button.loading .gl-product-archive-v1-buy-btn-text {
  opacity: 0.7;
}

.add_to_cart_button.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 3px dotted var(--gl-product-archive-main-color);
  border-top-color: var(--gl-product-archive-all-backgrounds);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  transition: all 0.2s ease;
  margin-left: 10px;
}

.gl-product-archive-v1-buy-btn:hover .add_to_cart_button.loading::after {
  border: 3px dotted white;
  border-top-color: var(--gl-product-archive-main-color);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gl-product-archive-v1-buy-btn-added-to-cart-wrapper {
  display: none;
}

.add_to_cart_button.added .gl-product-archive-v1-buy-btn-added-to-cart-wrapper {
  display: inline;
  margin-right: 11px;
  margin-left: -12px;
}

.add_to_cart_button.added .gl-product-archive-v1-buy-btn-text-wrapper {
  display: none;
}

.woocommerce a.added_to_cart {
  padding: 8px 15px;
}

.gl-product-archive-v1-buy-btn-text-wrapper {
  padding: 8px 15px;
}

/* استایل نگهدارنده اصلی */
.gl-poduct-archive-v1-main-content-sidebar-price-range-insider {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

/* استایل نوار پایه اسلایدر */
.gl-shop-archive-v1-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: color-mix(
    in srgb,
    var(--gl-product-archive-main-color) 60%,
    var(--gl-product-archive-pure-bg)
  );
  outline: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.gl-shop-archive-v1-slider:hover {
  opacity: 1;
}

/* استایل دکمه لغزنده برای مرورگرهای مبتنی بر WebKit (کروم، سافاری، اج) */
.gl-shop-archive-v1-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gl-product-archive-main-color);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s;
}

.gl-shop-archive-v1-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

/* استایل دکمه لغزنده برای فایرفاکس */
.gl-shop-archive-v1-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--gl-product-archive-main-color);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s;
}

.gl-shop-archive-v1-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
}

.gl-shop-archive-v1-slider-values {
  display: flex;
  justify-content: space-between; /* فاصله‌گذاری بین حداقل، فعلی و حداکثر */
  align-items: center;
  margin-top: 15px;
  font-weight: 400;
  font-size: 14px;
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 70%,
    grey percentage
  );
}


.gl-shop-archive-v1-slider-values span{
  color: var(--gl-product-archive-main-color);
}

.gl-shop-archive-v1-current-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box {
  position: relative;
  margin: 10px 0;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box input {
  width: 100%;
  background: none;
  border: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 60%, grey);
  border-radius: 10px;
  height: 40px;
  padding: 0 10px;
  color: var(--gl-product-archive-text-color);
  transition: all 0.2s ease;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box input:hover {
  border: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 50%, grey);
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input:focus-visible {
  outline: none;
  border: 1px solid var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 60%,
    grey
  );
  transition: all 0.2s ease;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input:hover::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 30%,
    grey
  );
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input:focus-visible::placeholder {
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box button {
  background: none;
  position: absolute;
  top: 10px;
  left: 1px;
  border: none;
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 60%,
    grey
  );
  transition: all 0.2s ease;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input:hover
  + button {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 30%,
    grey
  );
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-search-box
  input:focus-visible
  + button {
  color: var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 90%,
    rgb(113, 113, 113)
  );
  border-radius: 10px;
  margin-bottom: 10px;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 80%,
    rgb(113, 113, 113)
  );
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper img {
  width: 33px;
  height: 33px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper h6 {
  margin: 0;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-name-profile {
  display: flex;
  align-items: center;
  gap: 10px;

  i{
    color: var(--gl-product-archive-main-color);
  }
}

.gl-shop-teachers-search-ajax-loading {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  margin: 20px 0;
  background: linear-gradient(
    120deg,
    var(--gl-product-archive-main-color) 0%,
    #222 50%,
    var(--gl-product-archive-main-color) 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  animation: textShimmer 1.5s linear infinite;
}

/* انیمیشن حرکت نور */
@keyframes textShimmer {
  to {
    background-position: 200% center;
  }
}

p.gl-teachers-empty-result {
  margin: 2px auto;
  font-family: inherit;
  font-size: 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.7s ease-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-courses-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-poduct-archive-v1-main-content-sidebar-teachers-courses-rating p {
  font-size: 14px;
  width: 40px;
  height: 25px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 70%,
    rgb(113, 113, 113)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.gl-poduct-archive-v1-upcoming-content-wrapper h6 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.gl-poduct-archive-v1-upcoming-content-wrapper img {
  height: 192px;
  object-fit: cover;
  border-radius: 10px;
}

.gl-poduct-archive-v1-upcoming-instructor {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 5px;
}

.gl-poduct-archive-v1-upcoming-instructor img {
  width: 30px !important;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gl-product-archive-main-color);
}

.gl-poduct-archive-v1-upcoming-instructor p {
  color: color-mix(in srgb, var(--gl-product-archive-text-color) 70%, grey);
}

.gl-shop-archive-upcoming-countdown-wrapper {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}

.gl-shop-archive-upcoming-countdown-item {
  width: 60px;
  height: 60px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 95%,
    rgb(113, 113, 113)
  );
  border-radius: 10px;
  border: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 30%, grey);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gl-archive-shop-v1-upcoming-footer {
  border: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 30%, grey);
  padding: 4.5px 15px;
  border-radius: 10px;
}

.gl-archive-shop-v1-upcoming-footer-item-wrapper:first-child {
  padding-bottom: 10px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 30%, grey);
}

.gl-archive-shop-v1-upcoming-footer-item-wrapper:last-child {
  padding-top: 10px;
}

.gl-archive-shop-v1-upcoming-footer-item-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-archive-shop-v1-upcoming-footer-item-name-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-shop-archive-upcoming-count-number {
  font-size: 18px;
  font-weight: 700;
}

.gl-shop-archive-upcoming-count-label {
  color: var(--gl-product-archive-text-color);
  font-size: 12px;
}

.gl-archive-shop-v1-upcoming-footer-item-number {
  color: var(--gl-product-archive-main-color) !important;
  font-size: 18px;
  font-weight: 700;
}

/* product-archive-end*/

/* teacher-single-page-start*/

.gl-single-teacher-v1-main-content-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gl-single-teacher-v1-main-sidebar-content-wrapper {
  flex: 1.1;
  min-width: 0;
}

.gl-single-teacher-sidebar-main-item-wrapper {
  background-color: var(--gl-single-teacher-all-backgrounds);
  border-radius: 10px;
  padding: 15px 20px;
  border: 1px solid rgba(109, 109, 109, 0.259);
  margin-bottom: 10px;
      box-shadow: 1px 5px 10px rgba(0, 0, 0, .1);
}

.gl-single-teacher-v1-main-sidebar-content-wrapper h5 {
  color: var(--gl-single-teacher-main-color);
  margin-bottom: 15px;
}

.gl-single-teacher-v1-main-core-content-wrapper {
  flex: 4;
}

.gl-single-teacher-sidebar-item-wrapper {
  background-color: color-mix(
    in srgb,
    var(--gl-single-teacher-all-backgrounds) 94%,
    grey
  );
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
}

.gl-single-teacher-sidebar-item-wrapper p {
  margin: 0;
  color: var(--gl-single-teacher-text-color);
}

.gl-single-teacher-v1-restricted-message{
  color: var(--gl-single-teacher-text-color);
  margin-bottom: 0;
  text-align: justify;

}

.gl-talk-to-teacher-restricted-wrapper{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-direction: row-reverse;
}

.gl-talk-to-teacher-restricted-wrapper svg{
  width: 90%;
}


.gl-teacher-single-talk-to-user-information-wrapper{
  margin-top: 20px;
}

.galaxium-profile-picture-wrapper .current-avatar img{
  border-radius: 50%;
  }

  .woocommerce-EditAccountForm.edit-account .galaxium-profile-picture-wrapper{
    display: flex;
    align-items: center;
    gap: 10px;
  }

.gl-teacher-single-talk-to-user-information-item{
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-teacher-single-talk-to-user-information-item i{
  width: 35px;
  height: 35px;
  border: 1px solid rgba(128, 128, 128, 0.222);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-single-teacher-main-talk-to-name-amount p{
  margin: 0;
  color: var(--gl-single-teacher-text-color);
}

.gl-single-teacher-main-talk-to-name-amount p:first-child{
  font-size: 12px;

}

.gl-single-teacher-sidebar-item-wrapper i {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.4px solid
    color-mix(in srgb, var(--gl-single-teacher-main-color), transparent 80%);
  border-radius: 6px;
  color: var(--gl-single-teacher-main-color);
}

.gl-single-teacher-v1-header-wrapper-inside,
.gl-single-teacher-v1-main-products-wrapper-inside {
  background-color: var(--gl-single-teacher-all-backgrounds);
  border-radius: 10px;
  border: 1px solid rgba(109, 109, 109, 0.259);
  margin-bottom: 10px;
}

.gl-single-teacher-v1-main-products-wrapper-inside {
  padding: 15px;
}
.gl-single-teacher-v1-header-background-picture {
  position: relative;
  overflow: hidden;
}

.gl-single-teacher-v1-header-background-picture-wrapper {
  position: relative;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.gl-single-teacher-v1-header-background-picture-self {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: blur(2px);
}

.gl-single-teacher-v1-header-background-picture-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--gl-single-teacher-all-backgrounds) 10%,
    color-mix(
        in srgb,
        var(--gl-single-teacher-all-backgrounds),
        transparent 40%
      )
      65%,
    rgba(0, 0, 0, 0) 95%
  );
}

.gl-single-teacher-v1-header-character-pic img {
  position: absolute;
  width: 350px;
  top: 10px;
  right: 35px;
}

.gl-single-teacher-v1-header-teacher-status-badge {
  color: var(--gl-single-teacher-main-color);
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--gl-single-teacher-main-color);
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 8px;
  border-radius: 10px;
  background-color: color-mix(in srgb, #424242, transparent 60%);
}

.gl-single-teacher-v1-header-teacher-status-badge p {
  margin: 0;
}

.single-teacher-v1-header-text-wrapper {
  position: absolute;
  top: 115px;
  left: 130px;
  width: 550px;
}

.single-teacher-v1-header-title-name {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 10px;
}

.single-teacher-v1-header-title-name i {
  font-size: 25px;
}

.single-teacher-v1-header-title-name h1 {
  margin: 0;
}

.single-teacher-v1-header-major h4 {
  color: var(--gl-single-teacher-main-color);
  font-size: 20px;
  margin-bottom: 15px;
}

.single-teacher-v1-header-introduction p {
  color: var(--gl-single-teacher-text-color);
  text-align: justify;
}

.single-teacher-v1-header-social-media {
  display: flex;
  align-items: center;
  gap: 15px;
}

.single-teacher-v1-header-social-media-item {
  width: 30px;
  transition: all 0.2s ease;
}

.single-teacher-v1-header-social-media-item:hover {
  scale: 1.03;
}

.single-teacher-v1-header-title-name-verification-icon {
  width: 32px;
}

.single-teacher-v1-top-part-footer {
  padding: 25px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-teacher-v1-top-part-footer-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.single-teacher-v1-top-part-footer-item i {
  font-size: 2.5rem;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 2px solid
    color-mix(in srgb, var(--gl-single-teacher-main-color), transparent 50%);
  color: var(--gl-single-teacher-main-color);
}

.single-teacher-v1-top-part-footer-item h6 {
  margin-bottom: 5px;
  font-size: 25px;
}

.single-teacher-v1-top-part-footer-item p {
  margin: 0;
  color: var(--gl-single-teacher-main-color);
}

.single-teacher-v1-top-part-footer-top-down-max-sold {
  max-width: 250px;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-single-teacher-v1-main-products-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}
.gl-single-teacher-v1-main-products-header i {
  color: var(--gl-single-teacher-main-color);
}

.gl-single-teacher-v1-main-products-header h4 {
  margin: 0;
}

.gl-single-teacher-v1-main-product {
  background-color: color-mix(
    in srgb,
    var(--gl-single-teacher-all-backgrounds) 85%,
    var(--gl-single-teacher-pure-bg)
  );
  width: 100%;
  border-radius: 16px;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #69696948;
  transition: all 0.2s ease;
}

.gl-single-teacher-v1-main-product:hover {
  scale: 1.03;
}

.gl-single-teacher-v1-main-product__image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.gl-single-teacher-sidebar-item-wrapper.gl-single-teacher-sidebar-income-special {
  color: var(--gl-single-teacher-main-color);
}

.gl-single-teacher-v1-main-product__image-wrapper img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gl-single-teacher-v1-main-product__category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: color-mix(
    in srgb,
    var(--gl-single-teacher-all-backgrounds) 85%,
    var(--gl-single-teacher-pure-bg)
  );
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-main-color) 40%,
    var(--gl-single-teacher-text-color)
  );
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
}

.gl-single-teacher-v1-main-product__content {
  padding: 20px 4px 8px 4px;
}

.gl-single-teacher-v1-main-product__title {
  color: var(--gl-single-teacher-text-color);
  font-size: 18px;
  font-weight: normal;
  margin: 0 0 30px 0;
  line-height: 1.4;
  height: 50px;
}

.gl-single-teacher-v1-main-product__stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gl-single-teacher-v1-main-product__students {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 85%,
    var(--gl-single-teacher-pure-bg)
  );
  font-size: 14px;
}

.gl-single-teacher-v1-main-product__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gl-single-teacher-v1-main-product__score {
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding-top: 3px;
}

.gl-single-teacher-v1-main-product__star-icon {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 16px;
  height: 16px;
  color: var(--gl-single-teacher-main-color);
}

.gl-single-teacher-v1-main-product-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

#gl-single-teacher-v1-load-more-products {
  width: 100%;
  background: none;
  border: 1px solid var(--gl-single-teacher-main-color);
  border-radius: 10px;
  margin: 20px 0;
  padding: 10px 10px;
  color: var(--gl-single-teacher-main-color);
  transition: all 0.2s ease;
}

#gl-single-teacher-v1-load-more-products:hover {
  background: var(--gl-single-teacher-main-color);
  color: white;
}

.gl-single-teacher-v1-talk-user-name {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 75%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

.gl-single-teacher-v1-talk-form input,
.gl-single-teacher-v1-talk-form textarea {
  width: 100%;
  color: var(--gl-single-teacher-text-color);
  background: none;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 15%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-v1-talk-form input:hover,
.gl-single-teacher-v1-talk-form textarea:hover {
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 35%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-v1-talk-form input:focus-visible,
.gl-single-teacher-v1-talk-form textarea:focus-visible {
  outline: none;
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 80%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-v1-talk-form input::placeholder,
.gl-single-teacher-v1-talk-form textarea::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 15%,
    var(--gl-single-teacher-all-backgrounds)
  );
  transition: all 0.2s ease;
}

.gl-single-teacher-v1-talk-form input:hover::placeholder,
.gl-single-teacher-v1-talk-form textarea:hover::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 35%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

.gl-single-teacher-v1-talk-form input:focus-visible::placeholder,
.gl-single-teacher-v1-talk-form textarea:focus-visible::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 80%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

.gl-single-teacher-v1-talk-text {
  width: 100%;
  min-height: 100px;
  padding: 12px 14px;
  line-height: 1.6;
  resize: vertical;
  box-sizing: border-box;
  overflow-y: auto;

  &::-webkit-scrollbar {
    display: none;
  }

  scrollbar-width: none;

  -ms-overflow-style: none;
}

.gl-single-teacher-v1-talk-submit {
  background-color: var(--gl-single-teacher-main-color);
  border: none;
  border-radius: 10px;
  width: 100%;
  color: white;
  padding: 7px 10px;
  transition: all 0.2s ease;
}

.gl-single-teacher-v1-talk-submit:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-single-teacher-main-color) 70%,
    var(--gl-single-teacher-text-color)
  );
  border: none;
  border-radius: 10px;
  width: 100%;
  color: white;
  padding: 7px 10px;
}

.gl-single-teacher-form-response-message {
  color: var(--gl-single-teacher-main-colo);
  font-weight: 600;
  text-align: center;
  display: none;
  margin-top: 10px;
}

.gl-single-teacher-response-question-title {
  font-size: 18px;
  margin: 0;
}

.gl-single-teacher-main-title-wrapper-message span {
  background-color: var(--gl-single-teacher-main-color);
  color: var(--gl-single-teacher-all-backgrounds);
  border-radius: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-single-teacher-no-message {
  margin-top: 20px;
  border: 1px solid;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gl-single-teacher-no-message p {
  margin: 0;
}

.gl-single-teacher-no-message i {
  font-size: 2rem;
}

.gl-single-teacher-mesage-wrappper {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 15%,
      var(--gl-single-teacher-all-backgrounds)
    );
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
}

.gl-single-teacher-main-title-wrapper-message {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gl-single-teacher-title-wrappper {
  padding: 8px 0;
  display: flex;
  align-items: start;
  justify-content: start;
  gap: 10px;
  border-bottom: 1px dashed
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 15%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-title-wrappper:last-of-type {
  flex-direction: column;
  align-items: start;
}

.gl-single-teacher-title-wrappper h6 {
  font-size: 16px;
  min-height: 0;
  max-height: 45px;
  overflow-y: auto;
  margin: 0;
  scrollbar-width: none;

  -ms-overflow-style: none;
}

.gl-single-teacher-title-wrappper h6::-webkit-scrollbar {
  display: none;
}

.gl-single-teacher-title-wrappper p {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 60%,
    var(--gl-single-teacher-all-backgrounds)
  );
  margin: 0;
}

.gl-single-teacher-content-message-text {
  color: var(--gl-single-teacher-text-color) !important;
  max-height: 100px;
  min-height: 0;
  overflow-y: auto;
}

.gl-single-teacher-content-message-text::-webkit-scrollbar {
  display: none;
}

.gl-single-teacher-content-message-text-reply {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: var(--gl-single-teacher-text-color);
  margin-top: 10px;
  background: none;
  border-radius: 10px;
  padding: 10px;
  transition: all 0.2s ease;
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 15%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-content-message-text-reply::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 15%,
    var(--gl-single-teacher-all-backgrounds)
  );
  transition: all 0.2s ease;
}

.gl-single-teacher-content-message-text-reply:hover {
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 25%,
      var(--gl-single-teacher-all-backgrounds)
    );
}

.gl-single-teacher-content-message-text-reply:hover::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 25%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

.gl-single-teacher-content-message-text-reply:focus-visible {
  border: 1px solid
    color-mix(
      in srgb,
      var(--gl-single-teacher-text-color) 50%,
      var(--gl-single-teacher-all-backgrounds)
    );
  outline: none;
}

.gl-single-teacher-content-message-text-reply:focus-visible::placeholder {
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 50%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

.gl-single-teacher-content-message-text-reply-submit-button {
  background-color: var(--gl-single-teacher-main-color);
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  font-weight: 600;
  color: color-mix(
    in srgb,
    var(--gl-single-teacher-text-color) 10%,
    var(--gl-single-teacher-all-backgrounds)
  );
}

#single-teacher-messeges-new {
  width: 100%;
  overflow: hidden;
}

.gl-single-teacher-content-message-text-reply {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gl-single-teacher-sidebar-income-special {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gl-single-teacher-sidebar-item-income-special {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 5px;
}

.gl-single-teacher-sidebar-item-income-special span {
  color: var(--gl-single-teacher-text-color);
}

/* teacher-single-page-end*/

/* تنظیم فونت دلخواه برای کل پیام‌های توستر */
#toast-container > div {
  border-radius: 8px !important;
  padding: 15px 15px 15px 50px !important;
}

/* استایل پیام موفقیت (سبز) */
#toast-container > .toast-success {
  background-color: #b97e10 !important;
  color: #ffffff !important;
}

/* استایل پیام خطا (قرمز) */
#toast-container > .toast-error {
  background-color: #ef4444 !important; /* رنگ قرمز دلخواه */
  color: #ffffff !important;
}

/* استایل پیام اطلاعات (آبی) */
#toast-container > .toast-info {
  background-color: #3b82f6 !important; /* رنگ آبی دلخواه */
  color: #ffffff !important;
}

/* تغییر رنگ نوار پیشرفت پایین توستر */
#toast-container .toast-progress {
  background-color: var(--gl-product-add-to-cart-color-out-of-stock) !important;
}

#toast-container > .toast-success {
  background-image: none !important;
}

.rtl .toast-close-button {
  left: -0.1em;
  float: left;
  right: 40px !important;
}

#toast-container > div {
  opacity: 1 !important;
  -webkit-box-shadow: none !important;
  width: 350px;
}

#toast-container > .toast-success {
  background-color: var(--gl-blog-main-color) !important;
  color: var(--gl-blog-all-backgrounds) !important;
  font-weight: 500;
}

.toast-top-right {
  top: unset !important;
  bottom: 12px !important;
  right: 12px !important;
}

/* notification-modal-start */

/* استایل پس‌زمینه تیره (Overlay) */
.gl-notifications-modal-overlay {
  display: none; /* در حالت پیش‌فرض مخفی است */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

/* برای نمایش مدال (کلاس فعال) */
.gl-notifications-modal-overlay.gl-notifications-modal-active {
  display: block;
}

/* استایل باکس اصلی مدال */
.gl-notifications-modal-content {
  background-color: color-mix(
    in srgb,
    var(--gl-single-teacher-all-backgrounds) 87%,
    var(--gl-product-archive-pure-bg)
  );
  padding: 20px;
  border-radius: 8px;
  width: 350px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  text-align: right;
  animation: glModalFadeIn 0.3s ease;
  border: 1px solid rgba(115, 115, 115, 0.238);
}

/* دکمه بستن */
.gl-notifications-modal-close-btn {
  position: absolute;
  width: 25px;
  height: 25px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 80%,
    grey
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 15px;
  left: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--gl-product-archive-title-color);
  transition: all 0.2s ease;
  line-height: 0;
}

.gl-notifications-modal-title-wrapper h4 {
  margin-bottom: 2px;
}

.gl-notifications-modal-title-wrapper p {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 30%,
    grey
  );
  font-size: 14px;
  margin: 0;
}

.gl-notifications-modal-title-wrapper {
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--gl-product-archive-all-backgrounds) 30%, grey);
}

.gl-notifications-modal-close-btn:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 75%,
    grey
  );
}

/* انیمیشن باز شدن */
@keyframes glModalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gl-notification-item-excerpt {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 20%,
    grey
  );
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-notification-item-title i {
  margin-left: 5px;
  font-size: 12px;
}

.gl-notification-item-time-before {
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 20%,
    grey
  );
  font-size: 14px;
  text-align: left;
  margin-top: 10px;
}

#gl-theme-no-notif-wrapper {
  width: 70%;
  margin: 0 auto;
}

.gl-notification-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.notification-item {
  width: 100%;
}

.gl-notification-item-main {
  width: 100%;
  background-color: var(--gl-header-bg);
  padding: 5px 7px;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(115, 115, 115, 0.238);
  transition: all 0.2s ease;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.08);
}

.gl-notification-item-main:hover {
  background-color: color-mix(in srgb, var(--gl-header-bg) 99%, grey);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.12);
}

.gl-notification-time-loader {
  --base-color: var(--gl-single-teacher-main-color, #0073aa);
  --mixed-color: color-mix(in srgb, var(--base-color) 80%, #ffffff 20%);

  height: 30px;
  aspect-ratio: 2.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8%;
}

.gl-notification-time-loader span {
  width: 14%;
  aspect-ratio: 1;
  background: radial-gradient(
    farthest-side,
    var(--mixed-color) 90%,
    transparent
  );
  border-radius: 50%;
  opacity: 0.2;
  animation: dot-pulse 1.6s infinite ease-in-out;
}

/* تأخیر sequential برای هر دات */
.gl-notification-time-loader span:nth-child(1) {
  animation-delay: 0s;
}
.gl-notification-time-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.gl-notification-time-loader span:nth-child(3) {
  animation-delay: 0.4s;
}
.gl-notification-time-loader span:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.9);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

/* notification-modal-end */

/* single-notification-start */

.gl-notification-main-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gl-single-notification-sidebar {
  flex: 1;
}

.gl-single-notification-content {
  flex: 4;
}

.gl-single-notif-related {
  background-color: var(--gl-product-archive-all-backgrounds);
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.295);
  padding: 7px 10px;
}

.gl-single-notif-sidebar-header-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.gl-single-notif-sidebar-header-wrapper h5 {
  color: var(--gl-product-archive-main-color);
  margin: 0;
  font-size: 18px;
}

.gl-single-notif-sidebar-header-wrapper i {
  font-size: 12px;
}

.gl-single-notif-related-item-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 90%,
    rgb(113, 113, 113)
  );
  border-radius: 10px;
}

.gl-single-notif-related-item-wrapper img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.gl-single-notif-related-title-date h6 {
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gl-single-notif-main-page-details {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gl-single-notification-main-div-holder {
  border: 1px solid rgba(128, 128, 128, 0.293);
  border-radius: 10px;
  overflow: hidden;
}

.gl-single-notif-main-content-header-main-pic {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.gl-single-notification-main-div-holder h1 {
  margin: 20px;
  font-size: 28px;
}

.gl-single-notif-the-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 20px;
}

.gl-single-notif-the-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.gl-single-notif-the-author p {
  margin: 0;
}

.gl-single-notif-the-author i {
  font-size: 20px;
}

.gl-single-notif-main-content-wrapper-text {
  margin: 20px;
  line-height: 1.8;
  color: var(--gl-product-archive-text-color);
  text-align: justify;
}

/* single-notification-end */

/* cart-start */

.gl-main-cart-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 35px;
}

.gl-cart-main-price-holder {
  flex: 1;
  border: 1px solid rgba(128, 128, 128, 0.423);
  border-radius: 10px;
  padding: 10px 15px;
  height: fit-content;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.gl-main-items-holder {
  flex: 3;
  border: 1px solid rgba(128, 128, 128, 0.423);
  border-radius: 10px;
  padding: 10px 15px;
  height: fit-content;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.gl-cart-each-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: var(--gl-product-archive-all-backgrounds);
  border-radius: 10px;
  padding-left: 20px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

.gl-cart-item-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gl-cart-each-item-thubnail-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gl-cart-each-item-title a {
  font-size: 18px;
  color: var(--gl-cart-checkout-text-color);
  font-weight: 600;
}

.gl-cart-each-item-thumbnail img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.255);
}

.woocommerce-Price-amount.amount bdi {
  display: flex;
  flex-direction: row-reverse;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--gl-cart-checkout-text-color);
}

.gl-cart-each-item-price .woocommerce-Price-amount.amount span {
  font-weight: 400;
  font-size: 14px;
  line-height: 2;
}

.gl-cart-item-total-time {
  margin-top: 15px;
}

.gl-cart-item-course-detail-time-level {
  display: flex;
  gap: 40px;
  align-items: center;
}

.gl-cart-main-title-top-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.gl-cart-main-title-top-wrapper p {
  margin: 0;
  font-size: 17px;
  color: var(--gl-cart-checkout-text-color);
}

.gl-cart-main-title-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-cart-main-title-top h4 {
  margin: 0;
  color: var(--gl-my-account-title-color);
}

.gl-cart-main-title-top i {
  font-size: 26px;
  color: var(--gl-cart-checkout-title-color);
}

.gl-cart-item-remove-price-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.woocommerce a.remove {
  color: rgb(223, 77, 77) !important;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(128, 128, 128, 0.396);
  border-radius: 10px;
  background-color: var(--gl-product-archive-all-backgrounds);
  transition: all 0.2s ease;
}
.gl-toast-remove-item {
  width: fit-content !important;
  padding: 14px 18px;
  font-size: 14px;
  border-radius: 12px;
  background-color: red;
}

.gl-cart-main-price-holder .wc-proceed-to-checkout a {
  background-color: #dc3545 !important;
  color: white !important;
  border-radius: 10px !important;
  transition: all 0.2s ease;
  margin-bottom: 0 !important;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
}

.gl-cart-main-price-holder .wc-proceed-to-checkout a:hover {
  background-color: #f55867 !important;
}

.gl-cart-coupon-wrapper p {
  margin-bottom: 5px;
  font-size: 16px;
  color: var(--gl-cart-checkout-text-color);
  font-weight: 700;
}

.gl-cart-main-price-holder .coupon input {
  width: 100%;
  padding: 10px 50px 10px 10px;
  background: none;
  border: 1px solid rgba(128, 128, 128, 0.319);
  border-radius: 10px;
  transition: all 0.2s ease;
  color: var(--gl-cart-checkout-text-color);
}

.gl-cart-main-price-holder .coupon input::placeholder {
  color: rgba(128, 128, 128, 0.319);
  transition: all 0.2s ease;
}

.gl-cart-main-price-holder .coupon input:hover {
  border: 1px solid rgba(128, 128, 128, 0.564);
}

.gl-cart-main-price-holder .coupon input:hover::placeholder {
  color: rgba(128, 128, 128, 0.564);
}

.gl-cart-main-price-holder .coupon input:focus-visible {
  border: 1px solid rgba(128, 128, 128, 0.645);
  outline: none;
}

.gl-cart-main-price-holder .coupon input:focus-visible::placeholder {
  color: rgba(128, 128, 128, 0.645);
}

.gl-cart-main-input-file {
  position: relative;
  margin-bottom: 10px;
}

.gl-cart-main-input-file i {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 25px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(128, 128, 128, 0.319);
  border-radius: 0px 10px 10px 0px;
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-main-color) 90%,
    var(--gl-cart-checkout-all-backgrounds)
  );
  transition: all 0.2s ease;
}

.gl-cart-main-input-file:hover i {
  border-left: 1px solid rgba(128, 128, 128, 0.564);
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-main-color) 92%,
    var(--gl-cart-checkout-all-backgrounds)
  );
}

.gl-cart-main-input-file:focus-within i {
  border-left: 1px solid rgba(128, 128, 128, 0.645);
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-main-color) 100%,
    var(--gl-cart-checkout-all-backgrounds)
  );
}

.gl-cart-item-course-detail-time-level {
  color: var(--gl-cart-checkout-main-color);
}

.gl-woocommerce-button-counpon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-woocommerce-button-counpon button {
  background: none !important;
  border-radius: 10px !important;
  border: 1px solid rgba(128, 128, 128, 0.307) !important;
  width: 100% !important;
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-text-color) 90%,
    var(--gl-cart-checkout-all-backgrounds)
  ) !important;
  transition: all 0.2s ease;
}

.gl-woocommerce-button-counpon button:hover {
  background: var(--gl-cart-checkout-main-color) !important;
  color: white !important;
}

.gl-cart-item-mini-detail {
  display: none;
}

.gl-main-cart-inside-title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.gl-main-cart-inside-title-wrapper h2 {
  margin: 0;
  color: var(--gl-cart-checkout-main-color);
  font-size: 20px;
  font-weight: 700;
}

.gl-main-cart-inside-title-wrapper i {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  color: var(--gl-cart-checkout-main-color);
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gl-cart-checkout-main-color);
  border-radius: 10px;
}

.gl-cart-inside-total-number-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  margin-bottom: 10px;
}

.gl-cart-theme-inside-number-wrapper-title-icon {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-cart-theme-inside-number-wrapper-title-icon i {
  color: var(--gl-cart-checkout-main-color);
}

.gl-cart-inside-total-number-final h2 {
  margin: 0;
  color: var(--gl-cart-checkout-text-color);
  font-size: 16px;
}

.gl-cart-inside-total-number-final p {
  margin: 0;
  color: var(--gl-cart-checkout-text-color);
}

.gl-wc-cart-main-wrapper-calc {
  margin-bottom: 20px;
}

.gl-cart-inside-total-number-final-imp {
  padding-top: 5px;
  margin-top: 5px;
  border-top: 1px solid rgba(128, 128, 128, 0.437);
}

.empty-cart-list-main-title-img {
  width: fit-content;
}

.empty-cart-list-main-title-img h4 {
  text-align: center;
}

.empty-cart-list-img svg {
  width: 274px;
  height: 200px;
}

.gl-theme-main-minicart-empty-text {
  margin: 0;
  text-align: center;
}

.woocommerce-mini-cart__empty-message.gl-theme-main-minicart-empty-icon svg {
  width: 300px;
  height: 300px;
}
/* cart-end */

/* checkout-page-start */

.gl-checkout-main-wrapper {
  display: flex;
  gap: 10px;
  margin: 30px 10px 10px 10px;
}

.gl-checkout-main-wrapper-products-info {
  flex: 1.15;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.334);
}

.gl-checkout-main-wrapper-form {
  flex: 2.5;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.334);
}

.gl-co-main-pr-info-title-top-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px;
}

.gl-co-main-pr-info-title-top-wrapper h5 {
  margin: 0;
  color: var(--gl-cart-checkout-title-color);
}

.gl-co-main-pr-info-title-top-wrapper i {
  font-size: 18px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 10px;
  color: var(--gl-cart-checkout-title-color);
}

.custom-checkout-cart-items {
  max-height: 263px;
  overflow-y: auto;
  padding-left: 5px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  padding-top: 5px;
}

/* --- استایل‌های اختصاصی Webkit (کروم، سافاری، اج) --- */

/* عرض کل اسکرول‌بار */
.custom-checkout-cart-items::-webkit-scrollbar {
  width: 5px;
}

/* مسیر پس‌زمینه اسکرول‌بار */
.custom-checkout-cart-items::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

/* خودِ نوار اسکرول (Thumb) */
.custom-checkout-cart-items::-webkit-scrollbar-thumb {
  background-color: #cbd5e1; /* رنگ خاکستری ملایم */
  border-radius: 10px;
}

/* تغییر رنگ نوار اسکرول هنگام هاور */
.custom-checkout-cart-items::-webkit-scrollbar-thumb:hover {
  background-color: var(
    --gl-single-teacher-main-color,
    #94a3b8
  ); /* استفاده از رنگ اصلی سایت شما یا خاکستری تیره‌تر */
}

.gl-checkout-main-each-item-wrapper {
  margin-bottom: 15px;
  background-color: color-mix(
    in srgb,
    var(--gl-cart-checkout-all-backgrounds) 10%,
    var(--gl-cart-checkout-pure-bg)
  );
  padding: 10px 15px 5px 15px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
}

.gl-checkout-main-product-name-thumb {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-checkout-main-product-name-thumb p {
  margin: 0;
  color: var(--gl-single-teacher-text-color);
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.gl-checkout-main-product-name-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
}

.gl-checkout-main-product-price-time-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 10px 3px 0 3px;
  color: var(--gl-cart-checkout-main-color);
}

.gl-checkout-price-calc-wrapper-main {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(128, 128, 128, 0.41);
}

.gl-checkput-item-calc-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  padding: 10px 10px;
}

.gl-checkput-item-calc-main-eggagerate {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 12px 10px;
}

.gl-checkput-item-calc-main-title-icon i {
  color: var(--gl-cart-checkout-main-color);
}

.gl-checkput-item-calc-main-title-icon span {
  color: var(--gl-single-teacher-text-color);
}

.gl-cho-final-price-parayble bdi {
  font-size: 20px;
  font-weight: 900;
}

.woocommerce-form-coupon-toggle {
  display: none !important;
}

.woocommerce-form-coupon-wrapper {
  display: flex;
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: none;
  padding: 0;
  margin: 0;
}

.gl-cho-coupon-input-code-main-wrapper {
  display: flex !important;
  width: 100%;
  gap: 10px;
}

.gl-cho-coupon-input-code-main-wrapper input {
  flex: 2;
  background: none;
  border: 1px solid rgba(128, 128, 128, 0.39);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gl-cart-checkout-main-color);
  height: 45px;
  margin-bottom: 15px;
  padding: 0 10px;
  transition: all 0.2s ease;
}

.gl-cho-coupon-input-code-main-wrapper input::placeholder {
  color: rgba(128, 128, 128, 0.39);
  transition: all 0.2s ease;
}

.gl-cho-coupon-input-code-main-wrapper input:hover {
  border: 1px solid rgba(128, 128, 128, 0.475);
}

.gl-cho-coupon-input-code-main-wrapper input:hover::placeholder {
  color: rgba(128, 128, 128, 0.475);
}

.gl-cho-coupon-input-code-main-wrapper input:focus-visible {
  border: 1px solid rgba(128, 128, 128, 0.555);
  outline: none;
}

.gl-cho-coupon-input-code-main-wrapper input:focus-visible::placeholder {
  color: rgba(128, 128, 128, 0.555);
}

.gl-cho-coupon-input-code-main-wrapper button {
  flex: 1;
  background: none !important;
  border-radius: 10px !important;
  border: 1px solid rgba(128, 128, 128, 0.307) !important;
  width: 100% !important;
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-main-color) 90%,
    var(--gl-cart-checkout-all-backgrounds)
  ) !important;
  transition: all 0.2s ease;
  height: 45px;
  margin-bottom: 15px;
}

.gl-cho-coupon-input-code-main-wrapper button:hover {
  background: var(--gl-cart-checkout-main-color) !important;
  color: color-mix(
    in srgb,
    var(--gl-cart-checkout-all-backgrounds) 90%,
    var(--gl-cart-checkout-text-color)
  ) !important;
}

.gl-cho-coupon-input-code {
  flex: 2;
}

.gl-cho-coupon-input-code input {
  height: 40px !important;
  background: none !important;
  border: 1px solid rgba(128, 128, 128, 0.39) !important;
  border-radius: 10px !important;
  color: var(--gl-single-teacher-main-color) !important;
  transition: all 0.2s ease;
}

.gl-cho-coupon-input-code input::placeholder {
  color: rgba(128, 128, 128, 0.39);
}

.gl-cho-coupon-input-code input:hover::placeholder {
  color: rgba(128, 128, 128, 0.503);
}

.gl-cho-coupon-input-code input:focus-visible::placeholder {
  color: rgba(128, 128, 128, 0.623);
}

.gl-cho-coupon-input-code input:hover {
  border: 1px solid rgba(128, 128, 128, 0.503) !important;
}

.gl-cho-coupon-input-code input:focus-visible {
  border: 1px solid rgba(128, 128, 128, 0.623) !important;
  outline: none;
}

.gl-cho-coupon-input-confirm {
  flex: 1;
}

.gl-cho-coupon-input-confirm button {
  width: 100%;
  height: 40px;
  background: none !important;
  border: 1px solid rgba(128, 128, 128, 0.39) !important;
  border-radius: 10px !important;
  color: color-mix(
    in srgb,
    var(--gl-product-archive-text-color) 90%,
    var(--gl-product-archive-all-backgrounds)
  ) !important;
  transition: all 0.2s ease;
}

.gl-cho-coupon-input-confirm button:hover {
  background: var(--gl-product-archive-main-color) !important;
  color: color-mix(
    in srgb,
    var(--gl-product-archive-all-backgrounds) 90%,
    var(--gl-product-archive-text-color)
  ) !important;
}

.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text {
  display: none;
}

/* ========================================================
   Custom WooCommerce Checkout Payment Styles
   ======================================================== */

/* کادر اصلی بخش پرداخت */
#payment.woocommerce-checkout-payment {
  background: none;
  border-radius: 0px;
  margin-bottom: 30px;
  border-top: 1px solid rgba(128, 128, 128, 0.41);
}

#payment.woocommerce-checkout-payment div.payment_box.payment_method_cod {
  display: none !important;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  padding: 15px 0px 10px 0px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  display: grid;
}

/* لیست درگاه‌های پرداخت */
#payment.woocommerce-checkout-payment div.payment_box.payment_method_cod,
#payment.woocommerce-checkout-payment div.payment_box.payment_method_WC_ZPal {
  display: none !important;
}

/* آیتم‌های هر درگاه */
#payment.woocommerce-checkout-payment
  ul.wc_payment_methods
  li.wc_payment_method {
  background: none;
  border: 1px solid rgba(128, 128, 128, 0.39);
  border-radius: 8px;
  padding: 6px 16px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#payment.woocommerce-checkout-payment
  ul.wc_payment_methods
  li.wc_payment_method:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* حذف ظاهر پیش‌فرض و استایل‌دهی حالت انتخاب نشده */
#payment.woocommerce-checkout-payment
  ul.wc_payment_methods
  li
  > input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-left: 10px; /* برای راست‌چین */
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 2px solid rgba(128, 128, 128, 0.4); /* رنگ حاشیه دکمه */
  background-color: var(
    --gl-single-teacher-all-backgrounds
  ); /* رنگ پس‌زمینه در حالت انتخاب نشده (تغییر دهید) */
  border-radius: 50%;
  position: relative;
  outline: none;
  transition: all 0.2s ease;
}

/* استایل کادر دور دکمه در حالت انتخاب شده */
#payment.woocommerce-checkout-payment
  ul.wc_payment_methods
  li
  > input[type="radio"]:checked {
  border-color: var(--gl-cart-checkout-main-color);
  background-color: #ffffff; /* پس‌زمینه در حالت انتخاب شده */
}

/* ایجاد نقطه رنگی داخل دکمه در حالت انتخاب شده */
#payment.woocommerce-checkout-payment
  ul.wc_payment_methods
  li
  > input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; /* اندازه نقطه داخلی */
  height: 10px;
  background-color: var(--gl-cart-checkout-main-color);
  border-radius: 50%;
}

#payment.woocommerce-checkout-payment ul.wc_payment_methods li > label {
  font-weight: 600;
  color: var(--gl-cart-checkout-text-color);
  cursor: pointer;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
}

#payment.woocommerce-checkout-payment ul.wc_payment_methods li > label {
  font-weight: 600;
  color: var(--gl-cart-checkout-text-color);
  cursor: pointer;
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 15px;
}

/* آیکون یا لوگوی درگاه بانکی (در صورت وجود) */
#payment.woocommerce-checkout-payment ul.wc_payment_methods li > label img {
  max-height: 24px;
  margin-right: 10px; /* برای راست‌چین */
  border-radius: 4px;
}

/* باکس توضیحات درگاه (که بعد از انتخاب باز می‌شود) */
#payment.woocommerce-checkout-payment div.payment_box {
  width: 100%;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 13px;
  line-height: 1.6;
  padding: 12px 16px;
  margin-top: 12px;
  border-radius: 6px;
  border-right: 3px solid #3b82f6; /* خط رنگی کنار توضیحات */
  position: relative;
}

/* پیام خطای خالی بودن درگاه */
#payment.woocommerce-checkout-payment .woocommerce-info {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* بخش دکمه ثبت سفارش */
#payment.woocommerce-checkout-payment .form-row.place-order {
  margin: 0;
  padding: 0;
}

/* دکمه ثبت سفارش */
#payment.woocommerce-checkout-payment button#place_order {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  text-align: center;
  display: block;
}

#payment.woocommerce-checkout-payment button#place_order:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

#payment.woocommerce-checkout-payment button#place_order:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.gl-cho-form-main-wrapper-info {
  padding: 10px;
}

.gl-cho-form-main-wrapper-info-user-personal-title i,
.gl-cho-form-main-wrapper-info-user-personal-title span {
  font-size: 22px;
  color: var(--gl-cart-checkout-title-color);
}

.gl-cho-form-main-wrapper-info-user-personal-title i {
  margin-left: 7px;
}

.gl-cho-form-main-wrapper-info-user-personal-title span {
  color: var(--gl-cart-checkout-text-color);
}

.gl-cho-form-main-wrapper-info-user-personal-title p {
  margin-top: 5px;
  color: var(--gl-cart-checkout-text-color);
}

.gl-cho-main-user-personal-info-fields,
.gl-cho-address-fields {
  color: var(--gl-cart-checkout-text-color);
  font-size: 16px;
  font-weight: 700;
}

.gl-cho-main-user-personal-info-fields
  .woocommerce
  form
  .form-row.woocommerce-invalid
  label {
  color: rgb(210, 33, 33) !important;
}

.gl-cho-main-user-personal-info-fields input {
  background: none !important;
  border: 1px solid rgba(128, 128, 128, 0.39) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--gl-cart-checkout-main-color) !important;
}

.gl-cho-main-user-personal-info-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

/* حل مشکل عرض پیش‌فرض فیلدهای ووکامرس */
.gl-cho-main-user-personal-info-fields .form-row {
  width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gl-cho-address-fields .select2-selection.select2-selection--single {
  background: none !important;
  border: 1px solid rgba(128, 128, 128, 0.39) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--gl-cart-checkout-main-color) !important;
}

.gl-cho-address-fields
  .select2-container[dir="rtl"]
  .select2-selection--single
  .select2-selection__rendered {
  color: var(--gl-cart-checkout-main-color) !important;
}

.gl-cho-address-fields .input-text {
  background: none !important;
  border: 1px solid rgba(128, 128, 128, 0.39) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--gl-cart-checkout-main-color) !important;
}

.select2-dropdown {
  background: var(--gl-cart-checkout-all-backgrounds) !important;
  color: var(--gl-cart-checkout-main-color) !important;
  border-radius: 10px;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected],
.select2-container--default
  .select2-results__option--highlighted[data-selected] {
  color: white;
  background-color: var(--gl-cart-checkout-main-color);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background-color: var(--gl-cart-checkout-all-backgrounds) !important;
  color: var(--gl-cart-checkout-main-color) !important;
  border-radius: 10px;
}

.gl-checkout-main-question-answer-box-wrapper {
  background: none;
  border-radius: 8px;
  margin-top: 30px;
}

.gl-checkout-main-question-answer-box-wrapper i {
  margin-left: 7px;
  font-size: 22px;
  color: var(--gl-cart-checkout-title-color);
}

.gl-checkout-main-question-answer-box-heading {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 0;
  color: var(--gl-cart-checkout-title-color);
}

.gl-checkout-main-question-answer-box-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.gl-checkout-main-question-answer-box-question {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--gl-cart-checkout-text-color);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.gl-final-theme-each-item.gl-final-thankyou-notice-header-top i {
  color: var(--gl-cart-checkout-main-color);
}

.gl-final-order-main-user-status-info i {
  color: var(--gl-cart-checkout-main-color);
}

.gl-final-theme-each-item i {
  color: var(--gl-cart-checkout-main-color);
}

.gl-final-shop-main-header-title-wrapper.gl-final-theme-each-item p {
  color: var(--gl-cart-checkout-main-color);
}

.gl-checkout-main-question-answer-box-question:hover {
  color: var(--gl-cart-checkout-main-color);
  font-weight: 800;
}

.gl-checkout-main-question-answer-box-icon {
  font-size: 18px;
  font-weight: normal;
}

.gl-checkout-main-question-answer-box-answer {
  display: none; /* مخفی بودن در حالت پیش‌فرض */
  font-size: 16px;
  color: var(--gl-cart-checkout-text-color);
  line-height: 1.6;
  padding-bottom: 15px;
}

.gl-checkout-main-question-answer-box-item-wrapper {
  margin-top: 15px;
}

.gl-cho-form-main-wrapper-info-core-cont,
.gl-checkout-main-question-answer-box-wrapper {
  padding: 15px;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  margin-top: 15px !important;
  background-color: var(--gl-cart-checkout-pure-bg) !important;
  color: var(--gl-cart-checkout-main-color) !important;
  border-radius: 10px !important;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.gl-checkout-main-question-answer-box-question-question-number {
  display: flex;
  gap: 8px;
}

.gl-checkout-main-question-answer-main-question-number {
  color: var(--gl-cart-checkout-main-color);
  font-weight: 900;
}

/* checkout-page-end */

/* final-shop-start */

.gl-final-shop-main-header-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.gl-header-main-top-class-wrappper-main-each {
  flex: 1.5;
  height: 171px;
}

.gl-final-thankyou-notice-header-top {
  flex: 1.3;
  height: 171px;
  margin-bottom: 0 !important;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #b3b3b3 transparent;
}

.gl-final-thankyou-notice-header-top::-webkit-scrollbar {
  width: 6px;
}

.gl-final-thankyou-notice-header-top::-webkit-scrollbar-track {
  background: transparent;
}

/* دستگیره اسکرول (Thumb) */
.gl-final-thankyou-notice-header-top::-webkit-scrollbar-thumb {
  background-color: #b3b3b3;
  border-radius: 10px;
  border: 2px solid transparent;
}

.gl-final-thankyou-notice-header-top::-webkit-scrollbar-thumb:hover {
  background-color: #8e8e8e;
}

.gl-final-shop-main-header-title-wrapper p {
  margin: 0;
}

.gl-final-shop-main-header-order-id {
  padding: 10px 5px;
  border: 1px solid;
  border-radius: 10px;
  box-shadow: 1px 1px 9px rgba(0, 0, 0, 0.2);
  margin-top: 15px !important;
  width: fit-content;
}

.gl-final-order-page-main-content-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gl-final-order-main-content-right {
  flex: 1;
}

.gl-final-order-main-content-left {
  flex: 2;
}

.gl-final-theme-each-item {
  border: 1px solid rgba(128, 128, 128, 0.363);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
  margin-bottom: 15px;
}

.gl-final-order-main-user-status-info i,
.gl-final-order-main-content-left i,
.gl-final-order-main-user-status-info span,
.gl-final-order-main-content-left span,
.gl-final-thankyou-notice-header-top i,
.gl-final-thankyou-notice-header-top span {
  font-size: 22px;
}

.gl-final-order-main-user-status-info span,
.gl-final-order-main-content-left span,
.gl-final-thankyou-notice-header-top span {
  font-weight: 700;
  color: var(--gl-cart-checkout-text-color);
}

.gl-final-thankyou-notice-header-top p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  text-align: justify;
  color: var(--gl-cart-checkout-text-color);
  padding: 0 10px;
}

.gl-final-order-user-main-info-item-each {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 3px;
  padding: 5px 15px;
  color: var(--gl-cart-checkout-text-color);
}

.gl-final-order-user-main-info-static,
.gl-final-order-user-main-info-change {
  margin: 0;
  white-space: nowrap;
}

/* استایل خط نقطه‌چین */
.dots-line {
  flex-grow: 1; /* باعث می‌شود خط تمام فضای خالی را پر کند */
  border-bottom: 2px dotted #ccc;
  margin: 0 10px; /* فاصله از متن‌ها */
  height: 0.7em; /* تنظیم ارتفاع برای قرارگیری دقیق در خط متن */
}

.gl-payment-status-final-main-completed {
  color: rgb(0, 143, 0);
  font-weight: 700;
}

.gl-payment-status-final-main-waiting {
  color: rgb(222, 153, 33);
  font-weight: 700;
}

.gl-payment-status-final-main-failed {
  color: rgb(185, 6, 6);
  font-weight: 700;
}

.gl-payment-status-final-main-unknown {
  color: rgb(210, 98, 38);
  font-weight: 700;
}

/* تنظیمات کلی جدول */
.gl-final-order-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--gl-cart-checkout-pure-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  direction: rtl;
  text-align: right;
  font-family: inherit; /* از فونت قالب شما مثلا ایران‌سنس استفاده می‌کند */
  margin-top: 5px;
}

.gl-final-order-td-item-regular-price {
  text-align: center;
}

/* فاصله داخلی و خطوط جداکننده */
.gl-final-order-table th,
.gl-final-order-table td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f013;
}

/* استایل هدر جدول */
.gl-final-order-thead {
  background-color: var(--gl-cart-checkout-all-backgrounds);
}

.gl-final-order-tr-head th {
  color: var(--gl-cart-checkout-text-color);
  font-weight: 600;
  font-size: 15px;
}

/* استایل بدنه جدول */
.gl-final-order-tr-body td {
  color: var(--gl-cart-checkout-text-color);
  font-size: 14px;
  vertical-align: middle;
}

/* افکت هاور برای ردیف‌ها */
.gl-final-order-tr-body:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-cart-checkout-all-backgrounds) 90%,
    var(--gl-cart-checkout-pure-bg)
  );
  transition: background-color 0.3s ease;
}

/* ----------------------------------
   استایل‌های اختصاصی کلاس‌های شما
----------------------------------- */

/* تصویر */
.gl-final-order-th-item-image,
.gl-final-order-td-item-image img {
  width: 120px;
  height: 60px;
  object-fit: cover;
  text-align: center;
}

.gl-final-order-td-item-image img {
  max-width: 60px;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

/* نام محصول */
.gl-final-order-th-item-name,
.gl-final-order-td-item-name {
  font-weight: 500;
}

/* قیمت */
.gl-final-order-th-item-price,
.gl-final-order-td-item-price {
  width: 150px;
}

.gl-final-order-td-item-price {
  font-weight: 700;
  color: #10b981; /* یک رنگ سبز ملایم و مدرن برای قیمت */
}

.gl-thankyou-page-main-top-header-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

/* ----------------------------------
   قیمت بدون تخفیف
----------------------------------- */
.gl-final-order-th-item-regular-price,
.gl-final-order-td-item-regular-price {
  width: 150px;
}

.gl-final-order-td-item-regular-price {
  color: #9ca3af; /* رنگ خاکستری ملایم */
  font-size: 13px;
}

/* استایل دهی به تگ del برای خط خوردگی قیمت */
.gl-final-order-td-item-regular-price del {
  text-decoration: line-through;
  color: #ef4444; /* رنگ قرمز ملایم برای تاکید روی خط خوردگی تخفیف */
}

.gl-final-price-counting {
  font-size: 16px;
  font-weight: 700;
}

.gl-thankyou-page-final-pay-number-price {
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
  padding: 10px 10px;
}

.gl-thankyou-page-final-pay-number-price p {
  font-size: 18px;
  font-weight: 900;
}

/* download-section-start */

/* استایل کلی جدول */
.gl-thankyou-page-main-download-section-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--gl-cart-checkout-pure-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  direction: rtl;
  text-align: right;
  margin-bottom: 20px;
}

/* استایل هدر جدول */
.gl-thankyou-page-main-download-section-table thead {
  background-color: var(--gl-cart-checkout-all-backgrounds);
  border-bottom: 2px solid #7373731d;
}

.gl-thankyou-page-main-download-section-table th {
  padding: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gl-cart-checkout-text-color);
}

/* استایل سلول‌های بدنه */
.gl-thankyou-page-main-download-section-table td {
  padding: 16px;
  font-size: 14px;
  color: var(--gl-cart-checkout-text-color);
  border-bottom: 1px solid #f2f2f2;
  vertical-align: middle;
}

/* حذف حاشیه پایین برای آخرین ردیف */
.gl-thankyou-page-main-download-section-table tbody tr:last-child td {
  border-bottom: none;
}

/* افکت هاور برای ردیف‌ها */
.gl-thankyou-page-main-download-section-table tbody tr:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-cart-checkout-all-backgrounds) 90%,
    var(--gl-cart-checkout-pure-bg)
  );
}

/* استایل دکمه/آیکون دانلود */
.gl-thankyou-page-main-download-section-table td i.fa-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(
    --gl-cart-checkout-main-color
  ); /* رنگ سبز مناسب برای دانلود */
  color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.gl-thankyou-page-main-download-section-table td i.fa-download:hover {
  background-color: var(--gl-cart-checkout-main-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.125);
  transform: translateY(-1px);
}

.gl-thankyou-page-main-download-section-table th:nth-child(2) {
  width: 70%;
}

.gl-thanks-main-download-item-none span,
.gl-thanks-main-download-item-none i {
  font-size: 16px !important;
  text-align: center !important;
  margin-top: 20px !important;
}

/* download-section-end */

/* final-shop-end */

/* account-start */

.gl-main-navigation-items-all-wrapper {
  display: flex;
  flex-direction: column;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 16.5% !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 83% !important;
}

.gl-main-overall-account-panel-wrapper {
  margin-top: 30px;
}

.gl-navigation-main-item-each {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  background-color: var(--gl-my-account-pure-bg);
  transition: all 0.12s ease;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid rgba(128, 128, 128, 0.286);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.08);
  color: var(--gl-my-account-main-color);
}

.gl-navigation-main-item-each:hover {
  background-color: var(--gl-my-account-main-color);
  color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  scale: 1.03;
}

.gl-navigation-main-item-each.is-active {
  background-color: var(--gl-my-account-main-color);
  color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.gl-main-navigation-profile-wrapper {
  margin-bottom: 10px;
  width: 100%;
  height: fit-content;
  border: 1px solid rgba(128, 128, 128, 0.286);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 10px;
  background-color: var(--gl-my-account-pure-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-main-navigation-profile-wrapper img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gl-my-account-main-color);
}

.gl-main--navigation-profile-name-date {
  width: 100%;
}

.gl-main--navigation-profile-name-date p {
  margin: 0;
  margin-bottom: 5px;
  padding: 5px 8px;
  color: var(--gl-my-account-main-color);
}

.gl-main--navigation-profile-name-date p:last-child {
  margin: 0;
  margin-bottom: 5px;
  background-color: var(--gl-my-account-main-color);
  border-radius: 10px;
  color: var(--gl-my-account-pure-bg);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gl-main-dashbord-top-part-statics-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.gl-dashbord-main-narrow-informative-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-dashbord-talk-of-the-admin span, .gl-dashbord-discount-coupon-section span{
  color: color-mix(in srgb, var(--gl-my-account-text-color) 90%, grey);
}


.gl-dashbord-talk-of-the-admin i, .gl-dashbord-discount-coupon-section i{
  color: var(--gl-my-account-main-color);
}

.gl-dashbord-talk-of-the-admin{
  flex: 2;
}

.gl-dashbord-discount-coupon-section{
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-discount-coupon-text-coupom-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.coupon-dashbord-span-dots {
  flex: 1;
  border-top: 3px dotted rgba(136, 136, 136, 0.492);
}

.gl-discount-coupon-text-coupom-wrapper span:last-child{
  font-weight: 600;
}

.gl-discount-coupon-text-coupom-wrapper span:first-child{
  font-weight: unset;
}

.gl-main-dhashbord-top-part-items {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 216px;
  height: 99.6px;
  border: 1px solid rgba(128, 128, 128, 0.286);
  border-radius: 10px;
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.08);
  padding: 10px 15px;
  background-color: var(--gl-my-account-pure-bg);
  transition: all 0.12s ease;
}

.gl-main-dhashbord-top-part-items:hover {
  border: 1px solid rgba(128, 128, 128, 0.405);
  scale: 1.03;
}

.gl-main-dhashbord-top-part-items i {
  font-size: 35px;
  color: var(--gl-my-account-main-color);
}

.gl-main-dhashbord-top-part-items h6 {
  margin: 0;
  margin-bottom: 6px;
}

.gl-main-dhashbord-top-part-items p {
  margin: 0;
  color: var(--gl-my-account-main-color);
}

.gl-main-dhashbord-top-part-title-sub .woocommerce-Price-amount bdi {
  flex-direction: row;
  font-size: 16px;
  font-weight: 100;
  color: var(--gl-my-account-main-color);
}

.gl-main-dhashbord-top-part-title-sub .woocommerce-Price-currencySymbol {
  display: none;
}

.gl-main-dashbord-middle-part-suggestions-wrapper {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.gl-dashbord-middle-core-wrapper {
  padding: 20px 10px;
  border: 1px solid rgba(128, 128, 128, 0.292);
  border-radius: 10px;
  box-shadow: 0px 0px 4px 2px rgba(0,0,0,.06);
  background-color: color-mix(in srgb, var(--gl-my-account-all-backgrounds) 10%, var(--gl-my-account-pure-bg));
}


.gl-dashbord-middle-core-wrapper p {
  color: color-mix(in srgb, var(--gl-my-account-text-color) 90%, grey);
}

.gl-dashbord-middle-part-our-suggestion-according {
  flex: 1;
  min-width: 0;
}

.gl-dashbord-middle-part-your-activity-on-website {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gl-dashbord-middle-part-the-announcements {
  flex: 1;
  display: flex;
  gap: 10px;
  flex-direction: column;
  overflow: hidden;
}

.gl-middle-last-section-notifications {
  flex: 1;
}

.gl-middle-last-section-income {
  flex: 2;
}

.gl-middle-middle-section-wallet {
  flex: 1;
}

.gl-middle-middle-section-activity {
  flex: 1;
}

.gl-dashbord-title-core-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--gl-my-account-main-color);
}

.gl-dashbord-title-core-wrapper h5{
  color: color-mix(in srgb, var(--gl-my-account-title-color) 90%, grey);
}

.gl-dashbord-earn-title-core-wrapper {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 13px;
}

.gl-dashbord-earn-title-core-wrapper .dots {
  flex: 1;
  border-bottom: 2px dotted #7e7e7e39;
  height: 0.5em;
}

.gl-dashbord-title-core-wrapper h5 {
  margin: 0;
}

.gl-dashbord-middle-smart-suggestion-carousel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.gl-dashbord-middle-part-our-suggestion-according.gl-dashbord-middle-core-wrapper
  .owl-theme
  .owl-dots
  .owl-dot
  span {
  background: color-mix(in srgb, var(--gl-my-account-pure-bg) 85%, grey);
}
.gl-dashbord-middle-part-our-suggestion-according.gl-dashbord-middle-core-wrapper
  .owl-theme
  .owl-dots
  .owl-dot.active
  span {
  background: var(--gl-my-account-main-color);
}

.gl-dashbord-middle-smart-suggestion-carousel a {
  font-size: 16px;
  font-weight: 600;
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.gl-dashbord-wallet-curreny-middle-section-items {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.gl-dashbord-wallet-curreny-middle-section-items p {
  margin: 0;
  margin-bottom: 10px;
}

.gl-dashbord-wallet-curreny-middle-section-items .dots {
  flex: 1;
  border-bottom: 2px dotted #7e7e7e39;
  height: 0.5em;
}

.gl-main-thme-my-account-website-notification-items {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background-color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
  padding: 2px 10px;
  transition: all 0.12s ease;
  margin-bottom: 10px;
  box-shadow: 0px 0px 10px 1px rgba(0,0,0,.1);
}

.gl-main-thme-my-account-website-notification-items:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-my-account-pure-bg) 90%,
    rgb(128, 128, 128)
  );
}

.gl-main-thme-my-account-website-notification-items p {
  text-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  min-width: 0;
}

.gl-main-thme-my-account-website-notification-items img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
}

.gl-dashbord-earn-title-core-wrapper span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgb(229, 89, 50);
  animation: pulse-dot 15s infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 89, 50, 0.7);
  }
  8% {
    box-shadow: 0 0 0 10px rgba(229, 89, 50, 0);
  }
  18% {
    box-shadow: 0 0 0 0 rgba(229, 89, 50, 0);
  }
}

.woocommerce-EditAccountForm.edit-account input {
  background-color: var(--gl-my-account-pure-bg) !important;
  color: var(--gl-my-account-text-color) !important;
}

.gl-my-account-my-saves-main-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  color: var(--gl-my-account-main-color);
}

.gl-my-account-saved-product-card {
  width: 100%;
  background-color: var(--gl-bg-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #7c7c7c65;
  color: var(--gl-text-white);
}

.gl-my-account-saved-product-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
}

.gl-my-account-saved-product-card__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.gl-my-account-saved-product-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--gl-my-account-all-backgrounds);
  color: var(--gl-my-account-text-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gl-my-account-saved-product-card__bookmark {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--gl-badge-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}

.gl-my-account-saved-product-card__bookmark:hover {
  transform: scale(1.1);
}

.gl-my-account-saved-product-card__content {
  padding: 20px;
}

.gl-my-account-saved-product-card__title {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-weight: bold;
  color: var(--gl-my-account-text-color);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.gl-my-account-saved-product-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.gl-my-account-saved-product-card__level {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gl-primary-gold);
  font-size: 13px;
  font-weight: 500;
}

.gl-my-account-saved-product-card__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-my-account-saved-product-card__rating-count {
  color: var(--gl-text-white);
  font-size: 14px;
  font-weight: bold;
}

.gl-my-account-saved-product-card__stars {
  display: flex;
  gap: 2px;
  font-size: 16px;
  flex-direction: row-reverse;
}

.gl-my-account-saved-product-card__stars .star.filled {
  color: var(--gl-primary-gold);
}
.gl-my-account-saved-product-card__stars .star.half {
  color: var(--gl-primary-gold);
  opacity: 0.7; /* برای شبیه‌سازی نیمه پر */
}
.gl-my-account-saved-product-card__stars .star.empty {
  color: color-mix(in srgb, var(--gl-my-account-all-backgrounds) 70%, grey);
}

.gl-my-account-saved-product-card__divider {
  border: none;
  border-top: 1px solid var(--gl-divider-color);
  margin: 20px 0;
}

.gl-my-account-saved-product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gl-my-account-saved-product-card__price {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gl-primary-gold);
}

.gl-my-account-saved-product-card__price .amount {
  font-size: 18px;
  font-weight: bold;
}

.gl-my-account-saved-product-card__price .currency {
  font-size: 12px;
  opacity: 0.9;
}

.gl-my-account-saved-product-card__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid var(--gl-my-account-main-color);
  color: var(--gl-my-account-main-color);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.12s ease;
}

.gl-my-account-saved-product-card__btn:hover {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
}

.gl-my-account-main-drop-down-container {
  display: none; /* پنهان به صورت پیش‌فرض */
  position: absolute; /* برای قرارگیری دقیق زیر دکمه */
  width: 320px;
  background: var(--gl-my-account-pure-bg);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 12px;
  font-family:
    "Vazir",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  box-sizing: border-box;
  z-index: 9999;
  border: 1px solid #7070706e;
}

.gl-my-account-main-drop-down-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid #7a7a7a6c;
  border-radius: 16px;
  margin-bottom: 12px;
}

.gl-my-account-main-drop-down-user-info {
  display: flex;
  flex-direction: column;
}

.gl-my-account-main-drop-down-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--gl-my-account-text-color);
  margin-bottom: 4px;
}

.gl-my-account-main-drop-down-email {
  font-size: 15px;
  color: #888;
}

.gl-my-account-main-drop-down-avatar-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  padding: 3px;
  /* گرادیان مشابه اینستاگرام دور عکس */
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  box-sizing: border-box;
}


.gl-my-account-main-drop-down-avatar-wrapper img{
   width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-sizing: border-box;
}


.gl-my-account-main-drop-down-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gl-my-account-main-drop-down-item {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  margin-bottom: 4px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: var(--gl-my-account-text-color);
  gap: 10px;
}

.gl-my-account-main-drop-down-item:hover,
.gl-my-account-main-drop-down-active {
  background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);
}

.gl-my-account-main-drop-down-icon {
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-my-account-main-color);
  font-size: 18px;
}

.gl-my-account-main-drop-down-text {
  font-size: 16px;
  font-weight: 500;
  flex-grow: 1;
}

.gl-my-account-main-drop-down-action-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #555;
  font-size: 18px;
  line-height: 1;
}

.gl-my-account-main-drop-down-badge.gl-my-account-main-drop-down-pro {
  background: #9cfc96; /* سبز روشن */
  color: #000;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
}

.gl-my-account-main-drop-down-divider {
  height: 1px;
  background: #7575755d;
  margin: 8px 0;
}

.woocommerce table.my_account_orders {
  border-color: rgba(128, 128, 128, 0.314);
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th,
.woocommerce table.shop_table td {
  border-color: rgba(128, 128, 128, 0.314);
  
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
  background-color: var(--gl-my-account-main-color);
  border-radius: 10px;
  color: var(--gl-my-account-pure-bg);
}

.woocommerce-button.woocommerce-button--next.woocommerce-Button.woocommerce-Button--next.button {
  background-color: var(--gl-my-account-main-color);
  border-radius: 10px;
  color: var(--gl-my-account-pure-bg);
}

.woocommerce table.shop_table {
  border-color: rgba(128, 128, 128, 0.314);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
  color: var(--gl-my-account-main-color);
}

.woocommerce-table.woocommerce-table--order-downloads.shop_table.shop_table_responsive.order_details
  thead {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
}

.woocommerce-table.woocommerce-table--order-downloads.shop_table.shop_table_responsive.order_details
  .download-file
  a {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
}

.woocommerce-info,
.woocommerce-info::before {
  border-top-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-main-color);
}

.woocommerce-PaymentBox.woocommerce-PaymentBox--WC_ZPal.payment_box.payment_method_WC_ZPal {
  display: none !important;
}

.woocommerce-Button.woocommerce-Button--alt.button.alt {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  border: var(--wc-form-border-width) solid rgb(32 7 7 / 12%);
}

button.woocommerce-Button.button {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
}

.woocommerce-MyAccount-content a.button {
  background-color: var(--gl-my-account-main-color);
  color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
}

#payment.woocommerce-checkout-payment div.payment_box {
  display: none !important;
}

/* account-end */

.gl-main-search-ajax-result-field {
  position: absolute;
  width: 550px;
  height: fit-content;
  top: 50px;
  left: 0;
  background-color: var(--gl-my-account-pure-bg);
  border-radius: 10px;
  border: 1px solid #8080801c;
  box-shadow: 4px 5px 13px rgba(0, 0, 0, 0.05);
  padding: 10px;
  z-index: 99999;
  color: rgb(210, 59, 59);
}

.gl-main-search-item-wrapper {
  display: grid;
  grid-template-columns: 1fr 9fr;
  gap: 10px;
  margin-bottom: 10px;
  background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 95%, grey);
  border-radius: 10px;
  color: var(--gl-text-color);
}

.gl-main-search-ajax-result-field a:last-child div {
  margin-bottom: 0;
}

.gl-main-search-item-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
}

.gl-main-search-ajax-result-field p {
  margin: 0;
}


button.gl_main_account_profile_change {
    background-color: var(--gl-my-account-main-color);
    border: none;
    padding: 5px 20px;
    border-radius: 10px;
    color: var(--gl-my-account-pure-bg);
}

.gl-search-loader {
  --color-1: color-mix(in srgb, var(--gl-my-account-text-color) 80%, grey);
  --color-2: var(--gl-accent);
  --size: 0.3px;

  width: calc(48 * var(--size));
  height: calc(48 * var(--size));
  border: calc(6 * var(--size)) solid var(--color-1);
  border-bottom-color: var(--color-2);
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: absolute;
  left: 10.5px;
  top: 12px;
  display: none;
}
.gl-search-loader.mobile-loader {
  top: 12px;
  left: 26px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* main-elementor-widgets-start */

.gl-main-wrapper-slider-products {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.gl-main-elementor-product-slider-top-main {
  font-family:
    "Vazir",
    system-ui,
    -apple-system,
    sans-serif;
  position: relative;
  background-color: var(--gl-low-body-color);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 390px;
}

.gl-main-elementor-product-slider-top-main__container {
  z-index: 2;
  width: 100%;
  margin: 0 2.5rem 0 0;
}

.gl-main-elementor-product-slider-top-main__content {
  width: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  justify-content: space-around;
  z-index: 10;
  text-align: justify;
  height: 360px;
}

.gl-main-elementor-product-slider-top-main__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gl-body-bg);
  color: var(--gl-accent);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.gl-main-elementor-product-slider-top-main__title {
  color: var(--gl-text-color);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 1rem 0;
}

.gl-main-elementor-product-slider-top-main__title span {
  color: #fbaf5d;
}

.gl-main-elementor-product-slider-top-main__desc {
  color: #898989;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0 0 0.5rem 0;
  max-width: 100%;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gl-main-elementor-product-slider-top-main__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #a3005f;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.gl-main-elementor-product-slider-top-main__btn:hover {
  background-color: #e59a4c;
  transform: translateY(-2px);
}

.gl-main-elementor-product-slider-top-main__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.gl-main-elementor-product-slider-top-main__avatars {
  display: flex;
}

.gl-main-elementor-product-slider-top-main__avatars img {
  width: 44px !important;
  height: 44px;
  border-radius: 50% !important;
  border: 2px solid #0b0c10;
  object-fit: cover;
}

.gl-main-elementor-product-slider-top-main__avatars img ~ img {
  margin-right: -16px;
}

.gl-main-elementor-product-slider-top-main__stats-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.gl-main-elementor-product-slider-top-main__stats-number {
  color: #fbaf5d;
  font-weight: 800;
  font-size: 1.1rem;
  direction: ltr;
  text-align: right;
}

.gl-main-elementor-product-slider-top-main__stats-text {
  color: #a1a1aa;
  font-size: 0.85rem;
}

.gl-main-elementor-product-slider-top-main__image-wrapper {
  position: absolute;
  top: 0;
  left: 0px;
  bottom: 0;
  width: 40%;
  z-index: 1;
  pointer-events: none;
  padding: 15px;
}

.gl-main-elementor-product-slider-top-main__image {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: left center;
  border-radius: 10px !important;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1) !important;
}

.gl-main-elementor-product-slider-top-main__image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 30%;
}

.gl-main-elementor-product-slider-top-main__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gl-body-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.gl-main-elementor-product-slider-top-main__arrow:hover {
  background-color: rgba(255, 255, 255, 0.15);
}
.gl-main-elementor-product-slider-top-main__arrow--next {
  right: 1.5rem;
}
.gl-main-elementor-product-slider-top-main__arrow--prev {
  left: 1.5rem;
}

.gl-main-elementor-product-slider-top-main__pagination {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.gl-main-elementor-product-slider-top-main__dots-wrapper {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.gl-main-elementor-product-slider-top-main__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #52525b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gl-main-elementor-product-slider-top-main__dot--active {
  width: 18px;
  border-radius: 10px;
  background-color: #fbaf5d;
}

.gl-main-wrapper-slider-products .owl-dots {
  margin-top: -33px !important;
  background-color: #7c7c7c33;
  position: relative;
  width: fit-content;
  margin: -20px auto;
  display: flex;
  padding: 5px;
  border-radius: 12px; /* کمی گردتر برای زیبایی */
  gap: 6px; /* ایجاد فاصله ثابت بین دات‌ها به جای مارجین داخلی */
}

/* خود دکمه‌های دات که المان span را در بر می‌گیرند */
.gl-main-wrapper-slider-products .owl-dot {
  display: block;
  border: none;
  background: transparent;
  padding: 0;
}

.gl-main-wrapper-slider-products .owl-dot span {
  z-index: 2;
  position: relative;
  background-color: rgba(121, 121, 121, 0.45);
  width: 8px !important;
  height: 8px !important;
  border-radius: 10px;
  display: block;
  margin: 5px 3px !important;
  /* استفاده از cubic-bezier برای شبیه‌سازی افکت لغزش و کشسانی دیجی‌کالا */
  transition:
    width 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.35s ease !important;
}

.gl-main-wrapper-slider-products .owl-dot.active span {
  background: var(--gl-accent) !important;
  width: 24px !important;
}

.gl-product-slider:not(.owl-loaded) {
  display: block;
  min-height: 390px;
  background-color: #0b0c10;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.gl-product-slider:not(.owl-loaded) .item {
  display: none;
}

.gl-product-slider:not(.owl-loaded) .item:first-child {
  display: block;
}

.gl-product-slider.owl-loaded {
  animation: fadeInSlider 0.4s ease-in-out;
}

@keyframes fadeInSlider {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

/*main_header_v1_start_slider*/

/* متغیرهای رنگی برای تم تاریک (پیش‌فرض) */
:root {
  --gl-bg-v1: #11141a;
  --gl-text-main-v1: #ffffff;
  --gl-text-muted-v1: #9ca3af;
  --gl-primary-v1: #fbbd61;
  --gl-primary-hover-v1: #e0a34b;
  --gl-element-bg-v1: rgba(255, 255, 255, 0.05);
  --gl-border-v1: rgba(255, 255, 255, 0.08);
  --gl-nav-bg-v1: #1a1d24;
}

/* متغیرهای رنگی برای تم روشن (با اضافه کردن کلاس به section) */
.gl-light-theme-v1 {
  --gl-bg-v1: #f9f9fa;
  --gl-text-main-v1: #1f2937;
  --gl-text-muted-v1: #4b5563;
  --gl-element-bg-v1: rgba(0, 0, 0, 0.05);
  --gl-border-v1: rgba(0, 0, 0, 0.1);
  --gl-nav-bg-v1: #ffffff;
}

/* استایل‌های اصلی بدنه بنر */
.gl-main-header-section-style-elementor-v1 {
  background-color: color-mix(in srgb, var(--gl-low-body-color) 70%, var(--gl-pure-color));
  font-family: inherit;
  border-radius: 20px; /* شعاع گوشه‌های کل بنر */
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(128, 128, 128, 0.138);
}

.gl-main-header-container-v1 {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 500px; /* حداقل ارتفاع بنر */
  margin: 0 auto;
}

/* =========================================
   بخش تصویر و ماسک (جادوی محو شدن)
   ========================================= */
.gl-main-header-image-col-v1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%; /* تصویر ۶۰ درصد از سمت چپ را اشغال می‌کند */
  height: 100%;
  z-index: 1;
}

.gl-main-header-hero-img-v1 {
  width: 100%;
  height: 100%;
  object-fit: cover; /* حفظ تناسب عکس در هر ابعادی */
  object-position: center;
  /* این خط باعث می‌شود عکس از لبه راست (به سمت متن) به نرمی محو شود */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* =========================================
   بخش محتوا (متن و دکمه‌ها)
   ========================================= */
.gl-main-header-content-col-v1 {
  position: relative;
  z-index: 2; /* قرارگیری روی تصویر */
  width: 50%;
  padding-right: 3rem; /* فاصله از دکمه نویگیشن راست */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

body.theme-light .gl-hero-dark-img {
  display: none;
}

body.theme-dark .gl-hero-light-img {
  display: none;
}

.gl-main-header-badge-v1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(128, 128, 128, 0.089);
  border: 1px solid var(--gl-border-v1);
  color: var(--gl-accent);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.gl-main-header-title-v1 {
  color: var(--gl-text-main-color);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.gl-text-highlight-v1 {
  color: var(--gl-text-different-color);
}

.gl-main-header-desc-v1 {
  color: rgb(132, 132, 132);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 30px 0;
  max-width: 90%;
}

.gl-main-header-desc-v1 p {
  font-size: 1.4rem;
}


.gl-main-header-btns-v1-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-main-header-btn-v1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--gl-accent);
  color: white; /* رنگ متن دکمه همیشه تیره است */
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.gl-main-header-btn-v1:hover {
  background-color: var(--gl-primary-hover-v1);
}

.gl-main-header-content-col-v1 p {
  margin-bottom: 3px;
}

/* =========================================
   بخش آمار و آواتارها
   ========================================= */
.gl-main-header-stats-v1 {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.gl-main-header-avatars-v1 {
  display: flex;
}

.gl-main-header-avatars-v1 img {
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid var(--gl-bg-v1); /* حاشیه همرنگ پس‌زمینه برای تفکیک */
  margin-left: -15px; /* همپوشانی آواتارها */
}

.gl-main-header-stats-text-v1 {
  display: flex;
  flex-direction: column;
  color: var(--gl-text-main-v1);
}

.gl-main-header-stats-text-v1 strong {
  font-size: 1.1rem;
  color: var(--gl-primary-v1);
}

.gl-main-header-stats-text-v1 span {
  font-size: 0.85rem;
  color: var(--gl-text-muted-v1);
}

/* =========================================
   دکمه‌های اسلایدر و صفحه‌بندی
   ========================================= */
.gl-main-header-nav-prev-v1,
.gl-main-header-nav-next-v1 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: var(--gl-nav-bg-v1);
  border: 1px solid var(--gl-border-v1);
  color: var(--gl-text-main-v1);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

.gl-main-header-nav-prev-v1 {
  right: 0;
}
.gl-main-header-nav-next-v1 {
  left: 0;
}

.gl-main-header-nav-prev-v1:hover,
.gl-main-header-nav-next-v1:hover {
  background-color: var(--gl-primary-v1);
  color: #111;
}

.gl-main-header-pagination-v1 {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: var(--gl-element-bg-v1);
  padding: 8px 16px;
  border-radius: 20px;
  z-index: 3;
}

.gl-dot-v1 {
  width: 8px;
  height: 8px;
  background-color: var(--gl-text-muted-v1);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.gl-dot-active-v1 {
  width: 20px;
  background-color: var(--gl-primary-v1);
  border-radius: 4px;
}

/* main_header_slider_v1_end */

/* main-elementor-widgets-end */

/* main-download-files-v1-start */

.gl-download-file-v1-main-top-wrapper {
  display: flex;
  gap: 10px;
}

.gl-download-file-main-wrapper-bg {
  background: var(--gl-product-all-backgrounds);
  border: 1px solid rgba(128, 128, 128, 0.168);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.gl-download-file-v1-main-top-download-items-wrapper {
  flex: 2;
}

.gl-download-file-v1-main-top-download-thumbnail-wrapper {
  flex: 2;
  position: relative;
}

.gl-theme-download-section-main-item-top-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gl-secondary-color);
}

.gl-theme-download-section-main-item-top-title span {
  font-size: 20px;
  font-weight: 500;
}

.gl-theme-download-section-main-item-top-title i {
  width: 35px;
  height: 35px;
  border: 1px solid var(--gl-secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-download-main-download-section-top-main-title h1 {
  font-size: 28px;
  line-height: 1.6;
  margin-top: 10px;
  color: var(--gl-post-title-color);
}

.gl-download-file-v1-details-main {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 15px;
}

.gl-download-main-download-section-top-version {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.gl-download-main-download-section-top-version a {
  color: var(--gl-single-post-text-color);
}

.gl-download-main-download-section-top-version p:first-child {
  color: var(--gl-post-main-color);
  padding: 5px 10px;
  border: 1px solid rgba(128, 128, 128, 0.178);
  border-radius: 10px;
  margin: 0;
}

.gl-download-main-download-section-top-version p:last-child {
  color: var(--gl-single-post-text-color);
  margin: 0;
}

.gl-main-download-file-v1-title-author-details{
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-main-download-file-v1-title-author-details i{
  color: var(--gl-secondary-color);;
}

.gl-main-download-file-v1-title-author-details img{
  width: 35px;
  height: 35px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gl-post-main-color);
}

.gl-download-file-v1-main-top-download-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.263);
  position: absolute;
}

.gl-download-main-download-section-top-excerpt p {
  color: var(--gl-single-post-text-color);;
  font-size: 18px;
  text-align: justify;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* تنظیمات کلی مدال */
.gl-download-product-v1-overlay {
  direction: rtl;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* پیش‌فرض مخفی */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.gl-download-product-v1-container {
  background: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 20%,
    var(--gl-pure-color)
  );
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  padding: 30px;
  color: var(--gl-post-title-color);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid #2a2a2c;
  box-sizing: border-box;
  height: 80%;
}

/* هدر */
.gl-download-product-v1-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.gl-download-product-v1-close {
  background: transparent;
  border: none;
  color: #666;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.gl-download-product-v1-close:hover {
  color: color-mix(in srgb, var(--gl-post-main-color) 98%, transparent);
}

.gl-download-product-v1-title-area {
  text-align: center;
  flex-grow: 1;
}

.gl-download-product-v1-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.gl-download-product-v1-subtitle {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.gl-download-product-v1-header-icon {
  width: 40px;
  height: 40px;
  background-color: color-mix(
    in srgb,
    var(--gl-post-main-color) 10%,
    transparent
  );
  color: var(--gl-post-main-color);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

/* بدنه و آیتم‌ها */
.gl-download-product-v1-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gl-download-product-v1-item {
  background-color: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 35%,
    var(--gl-pure-color)
  );
  border: 1px solid #7a7a7a19;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  box-shadow: 1px 4px 5px rgba(0, 0, 0, 0.1);
}

.gl-download-product-v1-item:hover {
  border-color: #76767622;
  background-color: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 25%,
    var(--gl-pure-color)
  );
}

/* آیکون سمت راست آیتم */
.gl-download-product-v1-item-icon {
  width: 70px;
  height: 70px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  gap: 5px;
  flex-shrink: 0;
}
.gl-download-product-v1-item-icon span {
  font-size: 11px;
  font-weight: bold;
}

/* رنگ بندی آیکون ها */
.gl-download-product-v1-icon-zip {
  background: rgba(230, 154, 53, 0.05);
  color: #e69a35;
  border: 1px solid rgba(230, 154, 53, 0.2);
}
.gl-download-product-v1-icon-exe {
  background: rgba(80, 130, 250, 0.05);
  color: #5082fa;
  border: 1px solid rgba(80, 130, 250, 0.2);
}
.gl-download-product-v1-icon-bundle {
  background: rgba(160, 90, 220, 0.05);
  color: #a05adc;
  border: 1px solid rgba(160, 90, 220, 0.2);
}
.gl-download-product-v1-icon-docs {
  background: rgba(50, 180, 150, 0.05);
  color: #32b496;
  border: 1px solid rgba(50, 180, 150, 0.2);
}
.gl-download-product-v1-icon-videos {
  background: rgba(50, 180, 150, 0.05);
  color: #b760d9;
  border: 1px solid rgba(50, 180, 150, 0.2);
}

/* محتوای میانی آیتم */
.gl-download-product-v1-item-content {
  flex-grow: 1;
}

.gl-download-product-v1-item-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.gl-download-product-v1-item-title-wrapper h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.gl-download-product-v1-badge {
  background-color: color-mix(
    in srgb,
    var(--gl-post-main-color) 10%,
    transparent
  );
  color: var(--gl-post-main-color);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-download-product-v1-item-desc {
  color: #888;
  font-size: 13px;
  margin: 0 0 12px 0;
}

.gl-download-product-v1-item-meta {
  display: flex;
  gap: 15px;
}

.gl-download-product-v1-item-meta p {
  background: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 20%,
    var(--gl-pure-color)
  );
  color: #7f7f7f;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #79797925;
  margin-bottom: 0;
  box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.1);
}

.gl-download-product-v1-item-prefix-download {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* بخش دکمه و قیمت */
.gl-download-product-v1-item-action {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.gl-download-product-v1-price {
  text-align: left;
}

.gl-download-product-v1-price-amount {
  display: block;
  font-size: 18px;
  font-weight: bold;
}

.gl-download-product-v1-price-currency {
  font-size: 11px;
  color: #888;
}

.gl-download-product-v1-btn {
  background-color: transparent;
  color: var(--gl-post-main-color);
  border: 1px solid var(--gl-post-main-color);
  padding: 10px 20px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.gl-download-product-v1-btn:hover {
  background-color: var(--gl-post-main-color);
  color: white;
}

.gl-download-product-v1-sale-timer .sale-timer-box {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* فوتر */
.gl-download-product-v1-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #78787835;
  background-color: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 20%,
    var(--gl-pure-color)
  );
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

.gl-download-product-v1-footer-security,
.gl-download-product-v1-footer-support {
  display: flex;
  align-items: center;
  gap: 15px;
}

.gl-download-product-v1-footer h4 {
  margin: 0 0 5px 0;
  font-size: 13px;
  font-weight: bold;
}

.gl-download-product-v1-footer p {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.gl-download-product-v1-footer-icon {
  width: 40px;
  height: 40px;
  background-color: #6f6f6f1a;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #d76e6e;
}

.gl-download-product-v1-icon-green {
  color: #32b496;
  background-color: rgba(50, 180, 150, 0.1);
}

.gl-wc-variation-main-price-style .woocommerce-Price-amount.amount {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
}

.gl-download-product-v1-price .gl-wc-variation-main-price-style del {
  text-decoration: none;
  position: relative;
  color: grey;
}

.gl-download-product-v1-price .gl-wc-variation-main-price-style del::after {
  content: "";
  border: 2px solid #d04f4f;
  position: absolute;
  top: 11px;
  left: -2px;
  width: 90px;
}

.gl-download-product-v1-price .gl-wc-variation-main-price-style ins {
  text-decoration: none;
}

.gl-download-product-v1-item-icon span {
  font-family: Arial, Helvetica, sans-serif;
}

.gl-wooc-variable-download-product-main-cart-btn-timer-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.gl-wooc-variable-download-product-main-cart-btn-timer-wrapper
  .added_to_cart.wc-forward {
  display: none !important;
}

.gl-download-product-v1-sale-timer .time {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.gl-download-product-v1-sale-timer .sale-timer-box {
  width: 30px;
  height: 40px;
  border-radius: 5px;
  background: #f16452;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-family: inherit;
}

.gl-download-product-v1-sale-timer .sale-timer-number {
  display: block;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 6px;
}

.gl-download-product-v1-sale-timer .sale-timer-label {
  display: block;
  font-size: 10px;
  line-height: 1;
  text-transform: lowercase;
  opacity: 0.95;
}

.gl-download-product-v1-sale-timer .sale-timer-expired {
  font-size: 12px;
  color: #d9534f;
  font-weight: 600;
}

.gl-download-product-v1-btn.bought-item {
  background: #54bc58;
  cursor: default;
  pointer-events: none;
  border: none;
  color: white;
}

.gl-download-variable-product-v1-main-wrapper {
  overflow-y: auto;
  height: 65dvh;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}

.gl-download-variable-product-v1-main-wrapper::-webkit-scrollbar {
  width: 4px;
}

.gl-download-variable-product-v1-main-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.gl-download-variable-product-v1-main-wrapper::-webkit-scrollbar-thumb {
  background-color: #d1d1d1;
  border-radius: 10px;
}

.gl-download-product-v1-main-file-features {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 15px;
}

.gl-main-download-top-section-items-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.gl-prodict-download-section-top-item {
  padding: 10px;
  border: 1px solid rgba(128, 128, 128, 0.266);
  background: color-mix(
    in srgb,
    var(--gl-product-all-backgrounds) 20%,
    var(--gl-pure-color)
  );
  border-radius: 10px;
  font-size: 18px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  color: var(--gl-post-main-color);
}

.gl-prodict-download-section-top-item span {
  color: var(--gl-single-post-text-color);
}

.gl-download-product-v1-main-file-features i {
  font-size: 20px;
  color: var(--gl-post-main-color);
}

.gl-download-product-main-button-style {
  background: none;
  border: 1px solid var(--gl-post-main-color);
  border-radius: 10px;
  color: var(--gl-post-main-color);
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-download-product-main-button-style:hover {
  background: var(--gl-post-main-color);
  color: white;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

.gl-variable-donwload-main-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

#gl-download-product-v1-trigger {
  flex: 2;
  background-color: var(--gl-product-add-to-cart-color);
  color: white;
  transition: all 0.2s ease;
  border: none;
}

#gl-download-product-v1-trigger:hover {
  flex: 2;
  background-color: color-mix(
    in srgb,
    var(--gl-product-add-to-cart-color) 80%,
    grey
  );
}

#gl-download-product-v1-review,
#gl-download-product-v1-purchase-error {
  flex: 1;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple {
  display: flex;
  flex-direction: row-reverse;
  gap: 15px;
  align-items: center;
}

.gl-download-product-simple-v1-price .woocommerce-Price-amount.amount {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 5px;
  font-size: 22px;
  font-weight: 600;
  color: var(--gl-single-post-text-color);
}

.gl-download-product-simple-v1-price
  .woocommerce-Price-amount.amount
  .woocommerce-Price-currencySymbol {
  font-size: 16px;
  font-weight: 400;
}

.gl-download-product-cart {
  width: 100%;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-cart
  button {
  background-color: var(--gl-product-add-to-cart-color) !important;
  width: 100%;
  height: 57px;
  border-radius: 10px !important;
  transition: all 0.2s ease;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-cart
  button:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-add-to-cart-color) 80%,
    grey
  ) !important;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-cart
  a {
  background-color: var(--gl-product-add-to-cart-color) !important;
  /* width: 250px; */
  height: 57px;
  border-radius: 10px !important;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-cart
  a:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-add-to-cart-color) 80%,
    grey
  ) !important;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-simple-v1-price
  del {
  text-decoration: none;
  position: relative;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-simple-v1-price
  del::before {
  content: "";
  border: 2px solid rgb(229, 77, 77);
  width: 100%;
  position: absolute;
  top: 15px;
}

.gl-download-product-purchase-box.gl-download-product-purchase-box--simple
  .gl-download-product-simple-v1-price
  ins {
  text-decoration: none;
}

/* کانتینر اصلی تایمر */
.gl-download-product-sale-timer-time {
  display: flex;
  justify-content: center;
  gap: 10px;
  direction: ltr;
}

/* استایل هر باکس کوچک */
.gl-download-sale-timer-box {
  background-color: #ff7669;
  border-radius: 8px;
  padding: 10px 5px;
  width: 35px;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* استایل عدد (بالا) */
.gl-download-sale-timer-number {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1px;
}

/* استایل متن (پایین) */
.gl-download-sale-timer-label {
  font-size: 10px;
}

/* اگر تخفیف تمام شد */
.gl-download-sale-timer-expired {
  color: #ff7669;
  font-weight: bold;
  padding: 10px;
}

.gl-main-simple-download-main-price-timer-wrapper {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 20px;
}

.gl-simple-download-file-main-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-simple-download-file-main-btn form {
  flex: 3;
}

.gl-simple-download-file-main-btn a {
  flex: 1;
}

.gl-donwload-file-v1-main-middle-wrapper {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.gl-main-middle-wrapper-content-v1-download-files{
  flex: 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.gl-download-file-v1-main-middle-content {
  height: fit-content;
}

.gl-main-middle-wrapper-content-v1-download-files .gl-download-file-main-wrapper-bg.gl-download-file-v1-main-middle-content.mobile-sidebar{
  display: none;
}

.gl-download-file-v1-main-middle-sidebar-wrapper {
  flex: 1;
}

.gl-download-file-main-middle-content-top-title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-download-file-main-middle-content-top-title-wrapper i {
  font-size: 16px;
  width: 30px;
  height: 30px;
  border: 1px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-post-main-color);
}

.gl-download-file-main-middle-content-top-title-wrapper h4 {
  margin: 0;
}

.gl-download-file-main-middle-content-text {
  margin-top: 10px;
  color: var(--gl-single-post-text-color);
  font-size: 1rem;
}

/* ---------acardion */

/* =========================================
   استایل‌های اصلی و انیمیشن حرکت خط دور باکس
   ========================================= */

.gl-main-download-file-purchased-section {
  position: relative;
  direction: rtl;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  font-family: inherit;
  padding: 1px; /* ضخامت خط */
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

.gl-main-download-file-purchased-section:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* پس‌زمینه داخلی که روی انیمیشن قرار می‌گیرد */
.gl-main-download-file-purchased-section::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--gl-product-archive-all-backgrounds, #232323);
  border-radius: 11px;
  z-index: -1;
}

/* خط متحرک (گرادیان چرخشی) - نرم تر و بزرگتر */
.gl-main-download-file-purchased-section::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: conic-gradient(
    from 0deg,
    transparent 60%,
    var(--gl-post-main-color) 100%
  );
  animation: gl-border-rotate 4s linear infinite;
  z-index: -2;
}

/* توقف انیمیشن در حالت باز */
.gl-main-download-file-purchased-section.is-open::before {
  animation: none;
  background: var(--gl-product-archive-main-color, #ffb85b);
  opacity: 0.3; /* کاهش وضوح خط در حالت باز */
}

@keyframes gl-border-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* =========================================
   هدر، فلش و محتوای آکاردئون
   ========================================= */

.gl-download-accordion-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--gl-pure-color);
  border: 1px solid rgba(128, 128, 128, 0.227);
  border-radius: 11px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.gl-download-accordion-header:hover {
  background-color: color-mix(
    in srgb,
    var(--gl-product-archive-pure-bg) 70%,
    var(--gl-pure-color)
  );
}

.gl-download-title {
  margin: 0 !important;
  font-size: 16px;
  font-weight: 600;
  color:  var(--gl-post-main-color);
}

.gl-download-chevron {
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--gl-product-archive-text-color, #e0e0e0);
  border-bottom: 2px solid var(--gl-product-archive-text-color, #e0e0e0);
  transform: translateY(-2px) rotate(-45deg);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.gl-main-download-file-purchased-section.is-open .gl-download-chevron {
  transform: translateY(3px) rotate(135deg);
  border-color: var(--gl-product-archive-main-color, #ffb85b);
}

/* انیمیشن ارتفاع با CSS Grid */
.gl-download-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}

.gl-main-download-file-purchased-section.is-open
  .gl-download-accordion-content {
  grid-template-rows: 1fr;
}

.gl-download-content-inner {
  overflow: hidden;
}

/* =========================================
   لیست و لینک‌های دانلود
   ========================================= */

.gl-download-list {
  list-style: none;
  margin: 0 !important;
  padding: 10px 20px 20px 20px !important;
}

.gl-download-item {
  margin-bottom: 10px;
}

.gl-download-item:last-child {
  margin-bottom: 0;
}

.gl-download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: color-mix(
    in srgb,
    var(--gl-product-archive-pure-bg) 60%,
    var(--gl-pure-color)
  );
  color: var(--gl-product-archive-text-color, #e0e0e0);
  text-decoration: none !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.gl-download-link:hover {
  background: var(--gl-product-archive-all-backgrounds, #232323);
  color: var(--gl-product-archive-main-color, #ffb85b);
  border-color: var(--gl-product-archive-main-color, #ffb85b);
  transform: translateX(-4px);
}

.gl-download-link svg {
  flex-shrink: 0;
  color: var(---gl-post-main-color);
}

.gl-main-download-file-purchased-before-links-title-informing-wrapper {
  font-size: 16px;
  text-align: justify;
  line-height: 1.7;
}

/* ------------acardion-end */

.gl-main-download-file-v1-sidebar-all-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
}

.gl-main-download-file-v1-sidebar-all-title h3 {
  font-size: 20px;
  margin: 0;
}

.gl-main-download-file-v1-sidebar-all-title i {
  font-size: 22px;
  border: 1px solid;
  border-radius: 10px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-post-main-color);
}

.gl-download-file-v1-sidebar-main-download-each-all {
  margin-bottom: 10px;
}

.gl-download-file-v1-sidebar-main-download-each-all:last-child {
  margin-bottom: 0;
}

/* --------------download chart start */

.gl-main-download-file-v1-sidebar-download-statistic-chart-container {
  background-color: var(--gl-pure-color);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  direction: rtl;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(128, 128, 128, 0.168);
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-title {
  margin: 0 0 30px 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--gl-chart-text-main);
}

/* ساختار نمودار */
.gl-main-download-file-v1-sidebar-download-statistic-chart-wrapper {
  display: flex;
  height: 180px;
  margin-bottom: 24px;
  flex-direction: row-reverse;
  gap: 5px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-y-axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gl-post-main-color);
  padding-left: 15px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-area {
  flex-grow: 1;
  position: relative;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 14.1%,
    color-mix(in srgb, var(--gl-post-main-color) 5%, transparent) 14.2%,
    color-mix(in srgb, var(--gl-post-main-color) 5%, transparent) 14.5%
  );
}
path.gl-main-download-file-v1-sidebar-download-statistic-chart-fill {
  fill: color-mix(in srgb, var(--gl-post-main-color) 10%, transparent);
}
.gl-main-download-file-v1-sidebar-download-statistic-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}


.gl-main-download-file-v1-sidebar-download-statistic-chart-line {
  fill: none;
  stroke: var(--gl-post-main-color);
  stroke-width: 0.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* بخش آمار (ماهانه/سالانه) */
.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-purchade-dl-stat-dots {
  display: flex;
  flex: 1;
}

.gl-purchade-dl-stat-dots::after {
  content: "";
  flex: 1;
  border-bottom: 2px dotted rgba(128, 128, 128, 0.168);
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gl-post-title-color);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-title span{
  color: var(--gl-single-post-text-color);
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-icon-green {
  color: var(--gl-post-main-color);
  font-size: 16px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-icon-yellow {
  color: var(--gl-post-main-color);
  font-size: 16px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-value {
  font-size: 22px;
  font-weight: bold;
  color: var(--gl-single-post-text-color);
  margin-bottom: 5px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-value
  .gl-main-stats-download-file-end {
  font-size: 12px;
  font-weight: 400;
  margin-right: 5px;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-stat-growth {
  font-size: 12px;
  color: var(--gl-chart-text-muted);
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-growth-up {
  color: var(--gl-chart-green);
  font-weight: bold;
  margin-left: 5px;
}

/* بخش لیست پایین */
.gl-main-download-file-v1-sidebar-download-statistic-chart-list {
  display: flex;
  flex-direction: column;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-list-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 14px;
  color: var(--gl-chart-text-muted);
  border-bottom: 1px solid var(--gl-chart-grid);
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-list-item:last-child {
  border-bottom: none;
}

.gl-main-download-file-v1-sidebar-download-statistic-chart-list-value {
  font-weight: bold;
  color: var(--gl-chart-text-main);
  font-family: monospace;
}

/* --------------download chart end */


.gl-main-sidebar-extra-details{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.gl-main-sidebar-extra-details i{
      color: var(--gl-post-main-color);
}

.gl-main-sidebar-extra-details:last-child{
  margin-bottom: 0px;
}

.gl-main-sidebar-extra-details h6{
  margin: 0;
}


.gl-main-span-sidbar-dots{
  display: flex;
  flex: 1;
}

.gl-main-span-sidbar-dots::after{
  content: '';
  flex: 1;
  border-top: 2px dotted #8080803d;
}



/* ---download-file-related-start */


.gl-main-download-file-v1-realted-products-wrapper {
    direction: rtl;
    display: block;
    padding: 15px;
    background: none; /* رنگ پس زمینه تست */
}

/* استایل کارت محصول */
.gl-main-download-file-v1-realted-products-wrapper .gl-product-card {
    width: 100%;
    background-color:var(--gl-pure-color);;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.168);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* بخش تصویر */
.gl-main-download-file-v1-realted-products-wrapper .gl-product-image-wrapper {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* بدنه کارت */
.gl-main-download-file-v1-realted-products-wrapper .gl-product-body {
    padding: 15px 20px;
    position: relative;
    height: 80px;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-title {
    color: var(--bs-heading-color); /* رنگ سبز تایتل */
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.6;
        white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all .05s ease;
    transition: color .2s ease;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-title:hover {
    color: var(--gl-product-add-to-cart-color);
    position: absolute;
    white-space: normal;
        background-color: var(--gl-pure-color);
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-category {
    display: flex;
    align-items: center;
    color: var(--gl-post-main-color);;
    font-size: 12px;
    margin-bottom: 5px;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-category svg {
    margin-left: 6px;
}

/* فوتر کارت (دکمه ها و قیمت) */
.gl-main-download-file-v1-realted-products-wrapper .gl-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid transparent;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-product-actions {
    display: flex;
    gap: 8px;
}

/* دکمه خرید */
.gl-main-download-file-v1-realted-products-wrapper .gl-btn-buy {
    background-color: var(--gl-product-add-to-cart-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-btn-buy:hover {
    background-color: color-mix(in srgb, var(--gl-product-add-to-cart-color) 80%, grey);
}

/* دکمه پیش نمایش */
.gl-main-download-file-v1-realted-products-wrapper .gl-btn-preview {
        background: none;
    color: #999;
        border: 1.3px solid #80808075;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-btn-preview:hover {
    background-color: #80808075;
    color: white;
}

/* بخش قیمت */
.gl-main-download-file-v1-realted-products-wrapper .gl-product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: color-mix(in srgb, var(--bs-heading-color) 85%, grey);
}

.gl-main-download-file-v1-realted-products-wrapper .gl-price-number {
    font-size: 18px;
    font-weight: bold;
}

.gl-main-download-file-v1-realted-products-wrapper .gl-price-currency {
    font-size: 12px;
}


/* ---downoad-file-related-end */


.gl-wooc-custom-v1-content-main.gl-download-file-edition{
  background: 
color-mix(in srgb, var(--gl-product-all-backgrounds) 70%, var(--gl-product-pure-color));
}

span.gl-main-sidebar-rating-file-download-v1 {
    direction: ltr;
    display: flex;
}

/* main-download-files-v1-end */





/* main-request-start */

/* استایل‌های پایه مودال */
.gl-mr-modal-overlay {
    display: none; /* پیش‌فرض مخفی */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.gl-mr-modal-overlay.gl-mr-active {
    display: flex;
}

/* ریشه فرم داخل مودال */
.gl-mr-wrapper {
    direction: rtl;
    text-align: right;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
    background: var(--gl-my-account-pure-bg);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border: 1px solid #74747461;
    padding: 30px 20px;
    box-sizing: border-box;
    position: relative;
    animation: glMrModalFadeIn 0.3s ease-out;
    scrollbar-width: none;
    -ms-overflow-style: none;
}


.gl-mr-wrapper::-webkit-scrollbar {
    display: none;
}

@keyframes glMrModalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* دکمه بستن (ضربدر) */
.gl-mr-close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gl-my-account-main-color);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.gl-mr-close-btn:hover {
    color: color-mix(in srgb, var(--gl-my-account-main-color) 90%, grey);
}

/* هدر */
.gl-mr-header {
    text-align: center;
    margin-bottom: 15px;
}
.gl-mr-star-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #a491f0;
    margin-bottom: 12px;
}
.gl-mr-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--gl-my-account-text-color);
    margin: 0 0 10px 0;
}
.gl-mr-subtitle {
    font-size: 13.5px;
    color: var(--gl-my-account-text-color);
    margin: 0;
}

/* فیلدست و لِجند */
.gl-mr-section {
    border: none;
    padding: 10px 20px;
    margin: 0 0 15px 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, .1);
    border-radius: 10px;
}
.gl-mr-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--gl-my-account-text-color);
    margin-bottom: 10px;
    padding: 0;
}
.gl-mr-title-icon {
    width: 18px;
    height: 18px;
    color: var(--gl-my-account-main-color);
    display: flex;
}

/* ساختار گرید فرم */
.gl-mr-grid-3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.gl-mr-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gl-mr-form-warning-info{
  margin: 10px 0px;
      color: #d94720;
}
.gl-mr-mt-20 {
    margin-top: 20px;
}
.gl-mr-label {
    font-size: 14px;
    color: #7e7e7e;
    font-weight: 500;
    padding-right: 4px;
}
.gl-mr-label-iconic {
    display: flex;
    align-items: center;
    gap: 6px;
}
.gl-mr-label-inline-icon {
    width: 14px;
    height: 14px;
    color: #7364e8;
    display: flex;
}

/* اینپوت‌ها */
.gl-mr-input, .gl-mr-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #8e8e8e47;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 95%, grey);
    color: var(--gl-my-account-text-color);
    font-size: 13.5px;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.gl-mr-input[readonly] {
    cursor: not-allowed;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);;
    color: var(--gl-my-account-text-color);;
}
.gl-mr-input-phone {
    font-family: Tahoma, sans-serif;
    letter-spacing: 0.5px;
}
.gl-mr-textarea {
    min-height: 100px;
    resize: vertical;
}
.gl-mr-textarea:focus {
    border-color: var(--gl-my-account-main-color);
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 92%, grey);;
    box-shadow: 0 0 0 3px rgba(115, 100, 232, 0.1);
}

/* کامپوننت تغییر نقش */
.gl-mr-role-box {
    border: 1px solid #89898936;
    border-radius: 16px;
    background: none;
    padding: 7px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1px 1px var(--gl-my-account-main-color);
    gap: 20px;
}
.gl-mr-role-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.gl-mr-role-icon-container {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);;
    color: var(--gl-my-account-main-color);;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 25px;
}



.gl-mr-role-icon-container svg {
    width: 28px;
    height: 28px;
}
.gl-mr-role-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gl-my-account-main-color);
    margin-bottom: 6px;
}
.gl-mr-role-desc {
    font-size: 12px;
    color: #818181;;
    line-height: 1.6;
}

/* استایل نقش هدف (سمت چپ) */
.gl-mr-role-target .gl-mr-role-icon-container {
        background-color: 
color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);

}

/* جداکننده فلش‌دار */
.gl-mr-role-divider {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--gl-my-account-text-color);
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
}
.gl-mr-divider-arrow {
    opacity: 0.7;
    font-family: sans-serif;
        left: -7px;
    top: 2px;
    position: absolute;
}
.gl-mr-divider-line {
    width: 30px;
    height: 1px;
    border-top: 1px dashed var(--gl-my-account-text-color);;
    opacity: 0.5;
}
.gl-mr-divider-badge {
    padding: 4px 12px;
    border-radius: 20px;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);;
    font-size: 12px;
    color: var(--gl-my-account-text-color);
}

/* دراپ زون آپلود فایل */
.gl-mr-upload-zone {
    border: 1.5px dashed #89898936;
    border-radius: 12px;
    background: none;
    padding: 7px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}
.gl-mr-upload-zone:hover, .gl-mr-upload-zone.gl-mr-dragover {
    border-color: #8e8e8e47;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 95%, grey);
}
.gl-mr-hidden-file-input {
    display: none;
}
.gl-mr-upload-cloud-icon {
    width: 44px;
    height: 44px;
        background-color: 
color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);
    color: var(--gl-my-account-main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}
.gl-mr-upload-cloud-icon svg {
    width: 20px;
    height: 20px;
}
.gl-mr-upload-primary-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--gl-my-account-text-color);
    margin-bottom: 6px;
}
.gl-mr-upload-secondary-text {
    font-size: 12px;
    color: #868686;
    margin-bottom: 12px;
}
.gl-mr-upload-hint {
    font-size: 10px;
    color: #808080;
}

/* لیست فایل‌ها */
.gl-mr-file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}
.gl-mr-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 96%, grey);;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    border: 1px solid #8b8b8b2e;
}
.gl-mr-file-name {
    color: var(--gl-my-account-main-color);
    word-break: break-all;
}
.gl-mr-file-remove {
    color: #ef4444;
    cursor: pointer;
    font-weight: bold;
    padding: 2px 6px;
}

/* دکمه سابمیت با رنگ بنفش */
.gl-mr-submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--gl-my-account-main-color);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(120, 97, 230, 0.25);
    transition: all 0.25s ease;
}
.gl-mr-submit-btn:hover {
    background-color: color-mix(in srgb, var(--gl-my-account-main-color) 90%, grey);
    transform: translateY(-1px);
}
.gl-mr-btn-arrow {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
}

/* فوتر */
.gl-mr-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    color: var(--gl-my-account-text-color);
    font-size: 14px;
}
.gl-mr-footer-icon {
    width: 14px;
    height: 14px;
    color: var(--gl-my-account-main-color);
    display: flex;
}


/* Container for status view */
.gl-mr-status-view {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 10px 0;
}

/* Alert Box */
.gl-mr-alert {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.gl-mr-alert-warning {
  background:none;
  color: var(--gl-my-account-text-color);
  border: 1px solid #8c8c8c4f;
  box-shadow: 2px 3px 3px rgba(0, 0, 0, .1);
}


.gl-mr-alert-text{
  flex: 1;
}

.gl-mr-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
}

/* Status Card */
.gl-mr-status-card {
  background: none;
  border: 1px solid #8c8c8c4f;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.gl-mr-status-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gl-my-account-text-color);;
  margin: 0 0 20px 0;
  padding-bottom: 16px;
  border-bottom: 1px dashed #cbd5e1;
}

.gl-mr-status-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gl-mr-status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.gl-mr-item-column {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.gl-mr-status-label {
  color: color-mix(in srgb, var(--gl-my-account-text-color) 80%, grey);
  font-weight: 500;
}

.gl-mr-status-value {
  color: color-mix(in srgb, var(--gl-my-account-text-color) 80%, grey);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Badges for status */
.gl-mr-status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.gl-mr-badge-pending { background: #fef08a; color: #854d0e; }
.gl-mr-badge-approved { background: #bbf7d0; color: #166534; }
.gl-mr-badge-rejected { background: #fecaca; color: #991b1b; }
.gl-mr-badge-نامشخص { background: #f1f5f9; color: #475569; }

/* Admin Note Box */
.gl-mr-status-note-box {
  background: none;
  border: 1px solid #77777736;
  padding: 16px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  color: var(--gl-my-account-text-color);
  line-height: 1.8;
  font-size: 13px;
      box-shadow: 2px 3px 3px rgba(0, 0, 0, .1);
}

.gl-mr-admin-icon {
  color: var(--gl-my-account-main-color);
  font-size: 14px;
}

/* Disabled View Container */
.gl-mr-disabled-view {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
}

/* Disabled Card */
.gl-mr-disabled-card {
  background: none;
  border: 1px dashed #7f7f7f47;
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Icon Wrapper */
.gl-mr-disabled-icon-wrapper {
  background-color: color-mix(in srgb, var(--gl-my-account-pure-bg) 90%, grey);
  color: var(--gl-my-account-main-color);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  font-size: 40px;
  box-shadow: 0px 0px 0px 2px;
}

.gl-mr-disabled-icon {
  width: 40px;
  height: 40px;
}

/* Title & Description */
.gl-mr-disabled-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--gl-my-account-text-color);
  margin: 0 0 12px 0;
}

.gl-mr-disabled-desc {
  font-size: 14px;
  color: color-mix(in srgb, var(--gl-my-account-text-color) 80%, grey);
  line-height: 1.8;
  margin: 0 0 30px 0;
}

/* Buttons */
.gl-mr-disabled-actions {
  display: flex;
  justify-content: center;
}

.gl-mr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gl-mr-btn-primary {
  background-color: var(--gl-my-account-main-color);
  color: white;
      border: 1px solid #7272722e;
}

.gl-mr-btn-primary:hover {
  background-color: color-mix(in srgb, var(--gl-my-account-main-color) 80%, grey);
}





/* main-request-end */



/* website-features-widget-start */


.gl-main-feature-website-widget-v1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    border-radius: 16px;
    padding: 24px 32px;
    margin: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(128, 128, 128, 0.138);
    overflow-x: auto;
}

.gl-main-feature-website-widget-v1__item {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex: 1;
    position: relative;
    padding: 0 15px;
}

/* خطوط جداکننده بین آیتم‌ها */
.gl-main-feature-website-widget-v1__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background-color: rgba(128, 128, 128, 0.138);
}

.gl-main-feature-website-widget-v1__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 30px;
}

.gl-main-feature-website-widget-v1__icon svg {
    width: 100%;
    height: 100%;
}

/* رنگ‌بندی آیکون‌ها بر اساس تصویر */
.gl-main-feature-website-widget-v1__icon--blue { color: var(--gl-text-color); }

.gl-main-feature-website-widget-v1__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gl-main-feature-website-widget-v1__title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    white-space: nowrap;
}

.gl-main-feature-website-widget-v1__subtitle {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: color-mix(in srgb, var(--gl-text-main-color) 40%, grey);
    white-space: nowrap;
}

/* website-features-widget-end */

/* website-special-offer-start */

.gl-main-special-offer-carousel{
  box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, .1);
  border-radius: 10px;
}


.gl-main-special-offer-carousel .owl-stage-outer{
  margin-top: 0;
}

.gl-main-special-offer-carousel{
  position: relative;
}

.gl-main-special-offer-carousel .owl-dots{
  position: absolute;
  bottom: -5px;
  right: 50%;
}

.gl-main-special-offer-carousel .owl-dots .owl-dot.active span{
  background: var(--gl-text-color);
}

.gl-main-special-offer-carousel .owl-dots .owl-dot.active:hover span{
  background: color-mix(in srgb, var(--gl-text-color) 90%, grey);
}


.gl-main-special-offer-widget-wrapper {
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    border: 1px solid rgb(255 255 255 / 6%);
    border-radius: 10px;
    padding: 24px;
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    display: flex;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 24px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
}

/* بخش بالایی */
.gl-main-special-offer-widget-top {
    display: flex;
    gap: 32px;
    align-items: center;
}

.gl-main-special-offer-widget-visual {
    flex: 1;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    overflow: hidden;
}

.gl-main-special-offer-widget-img {
    max-width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.gl-main-special-offer-widget-content {
    flex: 1.25;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gl-main-special-offer-widget-top-section-wrapper{
  display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* تایمر */
.gl-main-special-offer-widget-timer-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background-color: color-mix(in srgb, var(--gl-low-body-color) 95%, #ffffff);
    padding: 30px 10px 10px 10px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0px -2px 0px -1px rgb(185 185 185 / 42%), inset 0px 0px 3px rgba(0, 0, 0, .1);
}

.gl-main-special-offer-widget-timer-label {
    color: var(--gl-text-color);
    font-size: 14px;
    position: absolute;
    font-weight: 600;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, .1);
    top: -16px;
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));;
    padding: 5px 15px;
    border-radius: 10px;
        border: 1px solid #8080804d;
}

.gl-main-special-offer-widget-timer {
    display: flex;
    gap: 8px;
}

.gl-main-special-offer-widget-time-box {
        background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));;
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-width: 60px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .1);
        border: 1px solid #ffffff1c;
}

.gl-main-special-offer-widget-btn.gl-main-special-offer-widget-btn-primary.add_to_cart_button.ajax_add_to_cart.added{
  display: none !important;
}

.gl-main-special-offer-widget-actions-bar .gl-main-special-offer-widget-buttons a.added_to_cart.wc-forward{
  padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background-color: var(--gl-text-color);
    color: #fff;
}

.gl-main-special-offer-widget-time-val {
    font-size: 20px;
    font-weight: bold;
    color: var(--gl-text-color);
}

.gl-main-special-offer-widget-time-text {
    font-size: 12px;
    color: var(--gl-widget-text-muted);
}

/* محتوای متنی */
.gl-main-special-offer-widget-title {
    font-size: 28px;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
        color: 
color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
transition: all .1s ease;
}

.gl-main-special-offer-widget-title:hover{
  color: var(--gl-text-color);
}

.gl-main-special-offer-widget-desc {
    color: var(--gl-widget-text-muted);
    font-size: 15px;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

/* بج Pro */
.gl-main-special-offer-widget-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gl-widget-text-muted);
}

.gl-main-special-offer-widget-pro-icon {
        background-color: rgb(180 180 180 / 10%);
    color:  var(--gl-text-color);
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
}

/* اکشن بار (دکمه‌ها و قیمت) */
.gl-main-special-offer-widget-actions-bar {
    background-color: color-mix(in srgb, var(--gl-pure-color) 95%, #ffffff);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 2px 1px rgb(185 185 185 / 20%), inset 0px 0px 8px 2px rgba(0, 0, 0, .05);
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.gl-main-special-offer-widget-buttons {
    display: flex;
    gap: 12px;
}

.gl-main-special-offer-widget-btn {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gl-main-special-offer-widget-btn-primary {
    background-color: var(--gl-text-color);
    color: #fff;
}

.gl-main-special-offer-widget-btn-primary:hover {
    background-color: color-mix(in srgb, var(--gl-text-color) 70%, white);
    color: #fff;
}

.gl-main-special-offer-widget-btn-secondary {
    background: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    color: var(--gl-text-color);
    border: 1px solid var(--gl-text-color);
    transition: all .1s ease;
}

.gl-main-special-offer-widget-btn-secondary:hover{
  background-color: var(--gl-text-color);
  color: white;
}

.gl-main-special-offer-widget-stats {
    display: flex;
    gap: 16px;
    border-right: 1px solid var(--gl-widget-border);
    border-left: 1px solid var(--gl-widget-border);
    padding: 0 16px;
}

.gl-main-special-offer-widget-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: var(--gl-widget-text-muted);
}

.gl-main-special-offer-widget-stat span {
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    font-weight: bold;
    font-size: 14px;
}

.gl-main-special-offer-widget-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.gl-main-special-offer-widget-price-old {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gl-widget-text-muted);
}

.gl-main-special-offer-widget-discount {
    background-color: rgba(46, 204, 113, 0.2);
    color: var(--gl-widget-green);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.gl-main-special-offer-widget-price-new {
    font-size: 24px;
    font-weight: bold;
}
.gl-main-special-offer-widget-price-new span {
    font-size: 14px;
    font-weight: normal;
}

/* فوتر (ویژگی‌ها) */
.gl-main-special-offer-widget-footer {
    display: flex;
    justify-content: space-between;
    background-color: var(--gl-widget-surface);
    padding: 24px;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.gl-main-special-offer-widget-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gl-main-special-offer-widget-feature-icon {
    font-size: 24px;
    color: var(--gl-widget-primary);
}

.gl-main-special-offer-widget-feature-text {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.gl-main-special-offer-widget-feature-text strong {
    color: var(--gl-widget-text);
    font-size: 15px;
}

.gl-main-special-offer-widget-feature-text span {
    color: var(--gl-widget-text-muted);
}


/* website-special-offer-end */


/* website-carousel-v2-start */

:root {
    --gl-v1-bg-color: #1c1c20;
    --gl-v1-card-bg: #16161a;
    --gl-v1-border-color: #2e2e34;
    --gl-v1-text-primary: #ffffff;
    --gl-v1-text-secondary: #9a9a9f;
    --gl-v1-accent-color: #f04e59;
    --gl-v1-accent-hover: #d43b46;
    --gl-v1-highlight-color: #f7a14e;
    --gl-v1-border-radius: 16px;
}

.gl-main-widget-product-carousel-main-v1 {
    direction: rtl;
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #80808021;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gl-main-carouse-product-widget-v1-title-wrapper{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

span.gl-main-widget-product-dots-v1{
  flex: 1;
  border-top: 2px dotted #80808026;
}

.gl-main-carouse-product-widget-v1-title-wrapper h6{
  width: 170px;
  height: 40px;
  background-color: var(--gl-text-color);
  display: flex;
  color: white;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 0;
}

.gl-main-widget-elementor-carousel-product-v2 .owl-stage{
      padding: 10px 0px;
}

.gl-main-carouse-product-widget-v1-title-wrapper h6:hover{
  background-color: color-mix(in srgb, var(--gl-text-color) 80%, grey);
}

.gl-main-carouse-product-widget-v1-title-icon-wrapper{
  display: flex;
  align-items: center;
  gap: 10px;

  h3{
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    font-weight: 600;
    margin: 0;
  }
}


.gl-main-carouse-product-widget-v1-title-icon-wrapper i{
  width: 40px;
  height: 40px;
  border: 1px solid var(--gl-accent);
  color: var(--gl-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;

}

.gl-main-widget-product-carousel-main-v1__card {
    background-color: color-mix(in srgb, var(--gl-pure-color) 97%, white);
    border: 1px solid #ffffff0d;
    border-radius: 10px;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, .2);
    transition: all .15s ease;
}

.gl-main-widget-product-carousel-main-v1__card:hover {
    scale: 1.02;
}


.gl-main-widget-product-carousel-main-v1__card:hover .gl-main-widget-product-carousel-main-v1__title{
    position: absolute;
    top: 16px;
    white-space: unset;
    overflow: unset;
    background-color: grey;
    background-color: 
color-mix(in srgb, var(--gl-pure-color) 97%, white);
}

/* تصویر */
.gl-main-widget-product-carousel-main-v1__image-box {
    position: relative;
    width: 100%;
    padding: 12px;
}

.gl-main-widget-product-carousel-main-v1__image {
    width: 100%;
    height:300px !important;
    border-radius: 12px !important;
    display: block;
    object-fit: cover;
}

.gl-main-widget-product-carousel-main-v1__wishlist {
    position: absolute;
    top: 24px;
    left: 24px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gl-v1-text-primary);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.gl-main-widget-product-carousel-main-v1__wishlist:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gl-v1-accent-color);
}

/* محتوای متنی */
.gl-main-widget-product-carousel-main-v1__content {
    padding: 16px 20px;
    border-bottom: 1px solid #7f7f7f1f;
    position: relative;
    height: 91.5px;
}

.gl-main-widget-product-carousel-main-v1__title {
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .1s ease;
}

.gl-main-widget-product-carousel-main-v1__title:hover {
    color: var(--gl-text-color);
position: absolute;
top: 16px;
white-space: unset;
overflow: unset;
background-color: grey;
    background-color: color-mix(in srgb, var(--gl-pure-color) 97%, white);
}

.gl-main-widget-product-carousel-main-v1__category {
    color: grey;
    font-size: 13px;
    display: block;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart.add_to_cart_button.ajax_add_to_cart.loading{
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart.add_to_cart_button.ajax_add_to_cart.loading::after{
  margin: 0;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart.add_to_cart_button.ajax_add_to_cart.loading i{
  display: none;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart.add_to_cart_button.ajax_add_to_cart.added{
  background-color: #059669;
}

.gl-main-widget-product-carousel-main-v1__footer .added_to_cart.wc-forward{
display: none;
}

/* فوتر (آمار و قیمت) */
.gl-main-widget-product-carousel-main-v1__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 15px;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart {
    background-color: var(--gl-v1-accent-color);
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart:hover {
    background-color: var(--gl-v1-accent-hover);
}

.gl-main-widget-product-carousel-main-v1__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 15px;
    border-left: 1px solid #94949433;
}

.gl-main-widget-product-carousel-main-v1__meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.gl-main-widget-product-carousel-main-v1__meta-value {
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    font-size: 16px;
    font-weight: 700;
}

.gl-main-widget-product-carousel-main-v1__meta-value--highlight {
    color: var(--gl-text-color);
}

.gl-main-widget-product-carousel-main-v1__meta-label {
    color: var(--gl-v1-text-secondary);
    font-size: 12px;
}

.gl-main-widget-product-carousel-main-v1__price-box {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-grow: 1;
    gap: 6px;
}

.gl-main-widget-product-carousel-main-v1__price {
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    font-size: 18px;
    font-weight: 700;
}

.gl-main-widget-product-carousel-main-v1__currency {
    color: var(--gl-accent);
    font-size: 12px;
}

/* website-carousel-v2-end */


/* website-category-widget-start */

/* Container */
.gl-category-widget-v1-elementor {
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    padding: 20px;
    color: #ffffff;
    box-sizing: border-box;
    border: 1px solid #80808021;
    border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gl-category-widget-v1-elementor * {
    box-sizing: border-box;
}

/* Header */
.gl-category-widget-v1-elementor__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.gl-category-widget-v1-elementor__title-area {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 10px;
}

.gl-category-widget-v1-elementor__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    display: flex;
    align-items: center;
    gap: 8px;

    i{
    width: 40px;
    height: 40px;
    border: 1px solid var(--gl-accent);
    color: var(--gl-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    }
}

.gl-category-widget-v1-elementor__title-icon {
    margin-left: 5px;
}

.gl-category-widget-v1-elementor__title-highlight {
    color: #f59e0b; /* Orange */
}

.gl-category-widget-v1-elementor__subtitle {
    margin: 0;
    font-size: 14px;
    color: grey;
}

.gl-category-widget-v1-elementor__link {
    color: #f59e0b;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.gl-category-widget-v1-elementor__link:hover {
    color: #d97706;
}

/* Grid layout */
.gl-category-widget-v1-elementor__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

/* Card */
.gl-category-widget-v1-elementor__card {
        background-color: color-mix(in srgb, var(--gl-pure-color) 97%, white);
    border: 1px solid #ffffff0d;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease, border-color 0.3s ease;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, .1) !important;

    i{
      width: 65px;
      height: 65px;
      border-radius: 10px;
              border: 1px solid #ffffff12;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      font-size: 25px;
      color: var(--gl-text-color);
      background-color: color-mix(in srgb, var(--gl-pure-color) 95%, white);
      box-shadow: 0px 0px 3px 1px rgba(0, 0, 0, .1);
    }
}



.gl-category-widget-v1-elementor__card:hover {
    scale: 1.05;
    border-color: #d6d6d63b;
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, .15) !important;
}

.gl-category-widget-v1-elementor__card-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
    /* Placeholder fallback style if image breaks */
    background-color: #27272a; 
    border-radius: 10px;
}

.gl-category-widget-v1-elementor__card-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
}

.gl-category-widget-v1-elementor__card-divider {
    width: 25px;
    height: 2px;
    background-color: #f59e0b;
    margin: 0 auto 15px;
    border-radius: 2px;
}

.gl-category-widget-v1-elementor__card-badge {
       background-color: #8383830d;
    color: #878787;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Footer Button */
.gl-category-widget-v1-elementor__footer {
    display: flex;
    justify-content: center;
    margin-top: 35px;
}

.gl-category-widget-v1-elementor__btn {
    background-color: transparent;
    border: 1px solid #27272a;
    color: #f59e0b;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.gl-category-widget-v1-elementor__btn:hover {
    background-color: #1b1b1e;
    border-color: #f59e0b;
}

/* website-category-widget-end */

/* website-header-special-offer-start */

/* ===============================
   متغیرها
================================ */
.gl-main-discount-widget-eleentor-top {
  --gl-disc-bg: #1a1a1a;
  --gl-disc-bg-inner: #0f0f0f;
  --gl-disc-orange: #ff8c00;
  --gl-disc-orange-light: #ffa mon;
  --gl-disc-orange-dark: #e67e00;
  --gl-disc-text: #ffffff;
  --gl-disc-text-muted: #cccccc;
  --gl-disc-radius: 12px;
  --gl-disc-height: 56px;
  --gl-disc-font: inherit;
}

/* ===============================
   کانتینر اصلی (نوار بالای سایت)
================================ */
.gl-main-discount-widget-eleentor-top {
  position: relative;
  width: 100%;
  background: linear-gradient(90deg, 
color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color)) 0%, var(--gl-pure-color) 50%, 
color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color)) 100%);
  border-bottom: 1px solid rgba(255, 140, 0, 0.15);
  overflow: hidden;
  box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, .1);
  direction: rtl;
  border-radius: 10px;
  border: 1px solid #ffffff0d;
}

.gl-main-discount-widget-eleentor-top__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  padding: 10px 50px;
  min-height: var(--gl-disc-height);
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* ===============================
   بج تخفیف محدود
================================ */
.gl-main-discount-widget-eleentor-top__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gl-text-color);
  color: color-mix(in srgb, var(--gl-low-body-color) 70%, var(--gl-pure-color));;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.gl-main-discount-widget-eleentor-top__badge-icon {
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  animation: gl-disc-bolt 1.4s ease-in-out infinite;
}

@keyframes gl-disc-bolt {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* ===============================
   متن پیام
================================ */
.gl-main-discount-widget-eleentor-top__message {
  color: var(--gl-text-main-color);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.gl-main-discount-widget-eleentor-top__message strong {
  color: var(--gl-text-color);
  font-weight: 800;
  font-size: 1.05em;
}

/* ===============================
   تایمر
================================ */
.gl-main-discount-widget-eleentor-top__timer {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.gl-main-discount-widget-eleentor-top__timer-label {
  color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
  font-size: 13px;
  white-space: nowrap;
}

.gl-main-discount-widget-eleentor-top__timer-boxes {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-direction: row-reverse;
}

.gl-main-discount-widget-eleentor-top__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 32px;
  background: var(--gl-text-color);
    color: color-mix(in srgb, var(--gl-low-body-color) 70%, var(--gl-pure-color));
  font-size: 15px;
  font-weight: 800;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);
}

.gl-main-discount-widget-eleentor-top__colon {
  color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* ===============================
   دکمه CTA
================================ */
.gl-main-discount-widget-eleentor-top__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--gl-text-color);
  color: var(--gl-text-color);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, .3);

  i{
    display: none;
  }
}

.gl-main-discount-widget-eleentor-top__btn:hover {
  background: var(--gl-text-color);
  color: color-mix(in srgb, var(--gl-low-body-color) 70%, var(--gl-pure-color));
}

.gl-main-discount-widget-eleentor-top__btn-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.gl-main-discount-widget-eleentor-top__btn:hover .gl-main-discount-widget-eleentor-top__btn-arrow {
  transform: translateX(-3px);
}

/* ===============================
   دکمه بستن
================================ */
.gl-main-discount-widget-eleentor-top__close {
  background: transparent;
  border: none;
  color: #888;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s ease;
  position: absolute;
  left: 5px;
  top: 4px;
}

.gl-main-discount-widget-eleentor-top__close:hover {
  color: var(--gl-text-color);
}

/* ===============================
   ستاره‌های درخشان (انیمیت)
================================ */
.gl-main-discount-widget-eleentor-top__star {
  position: absolute;
  color: var(--gl-text-color);
  pointer-events: none;
  z-index: 1;
  animation: gl-disc-sparkle 2.2s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.8);
}

.gl-main-discount-widget-eleentor-top__star--1 {
  top: 8px;
  right: 18%;
  font-size: 14px;
  animation-delay: 0s;
}

.gl-main-discount-widget-eleentor-top__star--2 {
  bottom: 10px;
  right: 28%;
  font-size: 11px;
  animation-delay: 0.4s;
}

.gl-main-discount-widget-eleentor-top__star--3 {
  top: 6px;
  left: 22%;
  font-size: 13px;
  animation-delay: 0.8s;
}

.gl-main-discount-widget-eleentor-top__star--4 {
  bottom: 8px;
  left: 15%;
  font-size: 10px;
  animation-delay: 1.2s;
}

.gl-main-discount-widget-eleentor-top__star--5 {
  top: 50%;
  right: 8%;
  font-size: 12px;
  transform: translateY(-50%);
  animation-delay: 0.6s;
}

@keyframes gl-disc-sparkle {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.7) rotate(0deg);
    filter: brightness(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.25) rotate(15deg);
    filter: brightness(1.6);
    text-shadow: 0 0 12px rgba(255, 200, 100, 1), 0 0 20px rgba(255, 154, 31, 0.6);
  }
}

/* برای ستاره ۵ که translateY دارد */
.gl-main-discount-widget-eleentor-top__star--5 {
  animation-name: gl-disc-sparkle-center;
}

@keyframes gl-disc-sparkle-center {
  0%, 100% {
    opacity: 0.25;
    transform: translateY(-50%) scale(0.7) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.25) rotate(15deg);
    text-shadow: 0 0 12px rgba(255, 200, 100, 1);
  }
}

/* website-special-offer-header-end */

/* webiste-user-comments-elementor-widget-start */


.gl-main-user_comment_section_main { 
    background-color: color-mix(in srgb, var(--gl-low-body-color) 20%, var(--gl-pure-color));
    padding: 20px;
    color: color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    border: 1px solid #ffffff21;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gl-main-user_comment_section_main__header {
    text-align: center;
    margin-bottom: 40px;
}

.gl-main-user_comment_section_main__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.gl-main-user_comment_section_main__title {
    font-size: 32px;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.gl-main-user_comment_section_main__desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.gl-main-user_comment_section_main__line {
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

.gl-main-user_comment_section_main__slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.gl-main-user_comment_section_main__cards {
    display: flex;
    gap: 20px;
    padding: 10px 10px;
    margin-top: 10px;
    width: 100%;
    overflow-x: auto;

}

.gl-main-user_comment_section_main__cards::-webkit-scrollbar {
    display: none;
}

.gl-main-user_comment_section_main__card {
    background-color: color-mix(in srgb, var(--gl-pure-color) 97%, white);
    border: 1px solid #ffffff0d;
    border-radius: 10px;
    padding: 25px;
    min-width: 260px;
    flex: 1;
    display: flex;
    flex-direction: column;
            box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, .1);
            width: 100%;
}

.gl-main-user_comment_section_main__quote {
    color: var(--accent-color);
    font-size: 40px;
    line-height: 1;
    font-family: serif;
    margin-bottom: 10px;
}

.gl-main-user_comment_section_main__stars {
    color: var(--gl-accent);
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.gl-main-user_comment_section_main__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 20px;
    flex-grow: 1;
    overflow: hidden;
    max-height: calc(1.8em * 3);
    opacity: 0.92;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);  
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                -webkit-mask-image 0.4s ease, 
                mask-image 0.4s ease,
                opacity 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gl-main-user_comment_section_main__text:hover {
        max-height: calc(1.8em * 8);
        opacity: 1;
        -webkit-mask-image: linear-gradient(180deg, #000 100%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 100%, transparent 100%);
    }
}

.gl-main-user_comment_section_main__text.is-expanded {
    max-height: calc(1.8em * 12);
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, #000 100%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 100%, transparent 100%);
}
.gl-main-user_comment_section_main__divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 0 0 20px 0;
}

.gl-main-user_comment_section_main__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gl-main-user_comment_section_main__avatar, .gl-main-user_comment_section_main__avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid var(--gl-accent) !important;
}



.gl-main-user_comment_section_main__user-info {
    flex-grow: 1;
}

.gl-main-user_comment_section_main__name {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: bold;
}

.gl-main-user_comment_section_main__role {
    font-size: 12px;
    color: var(--text-secondary);
}

.gl-main-user_comment_section_main__badge {
    color: #fff;
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.gl-main-user_comment_section_main__nav {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s, color 0.3s;
}

.gl-main-user_comment_section_main__nav:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}



/* website-elementor-widget-picture-start */


.gl-main-widget-elementor-image-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.gl-main-widget-elementor-responsive-img {
    display: block;
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}


.gl-main-widget-elementor-responsive-img {
    border-radius: 8px;
}


.gl-elementor-main-theme-pictures-light {
    display: none;
}
.gl-elementor-main-theme-pictures-dark {
    display: block;
}

body[data-theme="light"] .gl-elementor-main-theme-pictures-light {
    display: block;
}
body[data-theme="light"] .gl-elementor-main-theme-pictures-dark {
    display: none;
}


/* website-elementor-widget-picture-end */


/* website-main-blog-slider-elementor-start */

.gl-main-widget-blog-slider .owl-stage{
  padding: 20px 0px;
  border-radius: 10px;
}

/* متغیرها فقط داخل ویجت */
.gl-main-elementor-widget-blog {
    --card-bg-color: #ffffff;
    --card-border-radius: 16px;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);

    --text-primary: #333333;
    --text-secondary: #777777;
    --text-light: #999999;

    --accent-color: #9b51e0;
    --border-color: #eaeaea;

    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 24px;

    --transition-speed: 0.3s;

  /* استایل‌های مخصوص خود ویجت (جایگزین body) */
    font-family: 'Vazir', sans-serif;
    max-width: 380px;
    width: 100%;
    box-sizing: border-box;
}

.gl-main-elementor-widget-blog *,
.gl-main-elementor-widget-blog *::before,
.gl-main-elementor-widget-blog *::after {
    box-sizing: inherit;
}

/* BEM — بدون تغییر منطقی */
.blog-card {
    background-color: color-mix(in srgb, var(--gl-pure-color) 97%, white);
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, .15);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.blog-card__media {
    position: relative;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-sm) 0 var(--spacing-sm);
    height: 250px;
    overflow: hidden;
}

.blog-card__image {
    width: 100%;
    height: auto;
    border-radius: 10px !important;
    display: block;
    object-fit: cover;
}

.blog-card__badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background-color: var(--card-bg-color);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-card__body {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-md);
}

.blog-card__title {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card__link {
    text-decoration: none;
    color:     color-mix(in srgb, var(--gl-text-main-color) 85%, grey);
    transition: color .1s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 51px;
}

.blog-card__link:hover {
    color: var(--gl-accent);
}

.blog-card__excerpt {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px dashed #eaeaea0f;
    margin: 0 var(--spacing-lg);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
}

.blog-card__icon {
    color: var(--text-light);
    transition: color var(--transition-speed);
}

.gl-main-elementor-widget-blog .blog-card:hover .blog-card__icon {
    color: var(--gl-accent);
}

/* website-main-blog-slider-elementor-end */



/* webiste-user-comments-elementor-widget-end */


.hl-main-theme-page-not-found-404 {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;

    background: var(--gl-pure-color);

    color: #fff;
    font-family: inherit;
    box-sizing: border-box;
}

.hl-main-theme-page-not-found-404 *,
.hl-main-theme-page-not-found-404 *::before,
.hl-main-theme-page-not-found-404 *::after {
    box-sizing: border-box;
}

/* --------------------------------
   Background
-------------------------------- */

.hl-main-theme-page-not-found-404::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px
        );

    background-size: 55px 55px;
    mask-image: linear-gradient(
        to bottom,
        transparent,
        #000 25%,
        #000 75%,
        transparent
    );

    pointer-events: none;
}

.hl-main-theme-page-not-found-404__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0.4;
}

.hl-main-theme-page-not-found-404__glow--one {
    width: 280px;
    height: 280px;
    top: 10%;
    right: 15%;
    background: rgba(255, 136, 0, 0.08);
}

.hl-main-theme-page-not-found-404__glow--two {
    width: 220px;
    height: 220px;
    bottom: 5%;
    left: 15%;
    background: rgba(255, 136, 0, 0.05);
}

/* --------------------------------
   Container
-------------------------------- */

.hl-main-theme-page-not-found-404__container {
    position: relative;
    z-index: 2;

    width: min(100% - 40px, 1100px);

    padding: 70px 20px 45px;

    text-align: center;
}

/* --------------------------------
   Icon
-------------------------------- */

.hl-main-theme-page-not-found-404__icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid color-mix(in srgb, var(--gl-cart-color) 15%, transparent);;
    border-radius: 16px;

    background: color-mix(in srgb, var(--gl-cart-color) 15%, transparent);
}

.hl-main-theme-page-not-found-404__icon span {
    color: var(--gl-cart-color);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -2px;
    text-shadow: 0 0 18px rgba(255, 145, 0, 0.45);
}

/* --------------------------------
   404 Number
-------------------------------- */

.hl-main-theme-page-not-found-404__number {
    direction: ltr;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-bottom: 12px;

    color: var(--gl-text-main-color);

    font-size: clamp(120px, 18vw, 220px);
    font-weight: 900;
    line-height: 0.8;

    letter-spacing: -16px;

    text-shadow:
        0 8px 35px rgba(0, 0, 0, 0.5);
}

.hl-main-theme-page-not-found-404__number > span {
    display: block;
}

.hl-main-theme-page-not-found-404__number-icon {
    position: relative;

    width: clamp(100px, 14vw, 170px);
    height: clamp(100px, 14vw, 170px);

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 12px;

    border-radius: 50%;

    border: 2px solid var(--gl-text-color);
}

.hl-main-theme-page-not-found-404__number-icon::before {
    content: "";

    position: absolute;
    inset: 14px;

    border: 1px dashed var(--gl-text-color);
    border-radius: 50%;
}

.hl-main-theme-page-not-found-404__number-icon span {
    position: relative;
    z-index: 2;

    color: var(--gl-text-color);

    font-size: clamp(65px, 9vw, 115px);
    font-weight: 900;

    letter-spacing: -8px;

    text-shadow:
        0 0 25px rgba(255, 145, 0, 0.3);
}

/* --------------------------------
   Content
-------------------------------- */

.hl-main-theme-page-not-found-404__content {
    max-width: 650px;
    margin: 0 auto;
}

.hl-main-theme-page-not-found-404__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 15px;

    border-radius: 999px;

    color: var(--gl-text-color);

    font-size: 13px;
    font-weight: 500;
}

.hl-main-theme-page-not-found-404__badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gl-text-color);

    box-shadow:
        0 0 10px rgba(255, 149, 0, 0.8);
}

.hl-main-theme-page-not-found-404__title {
    margin: 20px 0 12px;

    color: var(--gl-text-main-color); 

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;

    line-height: 1.35;
}

.hl-main-theme-page-not-found-404__title strong {
    color: var(--gl-text-color);
    font-weight: 800;

    text-shadow:
        0 0 25px rgba(255, 145, 0, 0.15);
}

.hl-main-theme-page-not-found-404__description {
    max-width: 570px;

    margin: 0 auto;

    color: var(--gl-text-main-color);

    font-size: 15px;
    line-height: 2;

}



@media (max-width: 1650px) {
  .container {
    max-width: 1620px;
  }

  .we-custom-course-download-modern-info-item {
    width: 50%;
  }

  .wc-custom-single__info {
    flex: 1.25;
  }

  .wc-custom-single__image img {
    height: 100%;
  }
}

@media (max-width: 1450px) {
  .container {
    max-width: 1420px;
  }
  .gl-default-header-seach-box input {
    min-width: 0;
    width: 225px;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 500px;
  }

  .wc-custom-single__info {
    flex: 1.25;
  }

  .wc-custom-single__image img {
    height: 100%;
  }

  .gl-poduct-archive-v1-main-content-sidebar-wrapper {
    flex: 1;
  }
}

/* --- لپ‌تاپ‌های بزرگ (زیر 1400px) --- */
@media (max-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  .gl-default-header-seach-box input {
    min-width: 0;
    width: 225px;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 500px;
  }

  .wc-custom-single__info {
    flex: 1.25;
  }

  .wc-custom-single__image img {
    height: 100%;
  }

  .gl-wooc-course-v1-content-sidebar {
    flex: 0.35;
  }
}

@media (max-width: 1280px) {
  .container {
    max-width: 1260px;
  }

  .atricle-wrapper .top-article {
    gap: 15px;
  }

  .top-article .article-top-left {
    padding: 0px 20px 0px 0;
    max-width: 650px;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 570px;
  }

  .wc-custom-single__info {
    flex: 1.25;
  }

  .we-custom-course-download-modern-info-item {
    width: 50%;
  }

  .wc-custom-single__image img {
    height: 100%;
  }

  .gl-wooc-course-v1-content-sidebar {
    flex: 0.38;
  }

  .gl-blog-content {
    flex: 3;
  }

  .gl-blog-post-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-product-archive-v1-course-title {
    font-size: 15px;
  }

  .gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper h6 {
    margin: 0;
    font-size: 14px;
  }

  .gl-poduct-archive-v1-main-content-sidebar-teachers-courses-rating p {
    font-size: 12px;
    width: 30px;
    height: 23px;
  }

  .gl-poduct-archive-v1-main-content-sidebar-teachers-name-profile i {
    font-size: 12px;
  }

  .gl-single-teacher-v1-main-sidebar-content-wrapper {
    flex: 1.35;
    min-width: 0;
  }

  .single-teacher-v1-header-text-wrapper {
    position: absolute;
    top: 115px;
    left: 48px;
    width: 480px;
  }

  .single-teacher-v1-top-part-footer {
    padding: 25px 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gl-single-teacher-v1-main-product__title {
    height: 60px;
  }

  .gl-single-notification-sidebar {
    flex: 2;
  }

  .gl-cart-main-price-holder {
    flex: 1.2;
  }

  .gl-cart-each-item-title {
    flex: 2;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 20% !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 79% !important;
    color: var(--gl-my-account-main-color);
  }

  .gl-main-dashbord-top-part-statics-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gl-main-dhashbord-top-part-items {
    height: 60px;
    width: 100%;
  }

  .gl-main-dashbord-middle-part-suggestions-wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
  }

  .gl-dashbord-middle-part-the-announcements {
    gap: 10px;
    overflow: hidden;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-main-elementor-product-slider-top-main__title {
    font-size: 1.7rem;
  }

  .gl-main-elementor-product-slider-top-main__desc {
    font-size: 1rem;
    line-height: 1.6;
  }

  .gl-main-header-title-v1 {
    font-size: 2.3rem;
  }

  .gl-main-header-container-v1 {
    min-height: 450px;
  }

  .gl-main-header-desc-v1 {
    margin: 0 0 0px 0;
  }



  .gl-download-main-download-section-top-excerpt p{
    font-size: 16px;
  }

  .gl-download-product-v1-main-file-features h5{
    font-size: 16px;
  }

  .gl-prodict-download-section-top-item{
    font-size: 16px;
  }

  .gl-download-product-main-button-style{
    font-size: 16px;
        height: 45px;
  }

  .gl-download-file-v1-main-middle-sidebar-wrapper{
    flex: 1.3;
  }

  .gl-main-download-file-v1-sidebar-all-title h3{
    font-size: 18px;
  }

  .gl-main-download-file-purchased-before-links-title-informing-wrapper{
    font-size: 14px;
  }
  
  .gl-main-feature-website-widget-v1{
    padding: 10px 5px;
  }

  .gl-main-feature-website-widget-v1__icon{
  font-size: 24px;
}

.gl-main-feature-website-widget-v1__title{
  font-size: 14px;
}

.gl-main-feature-website-widget-v1__subtitle{
  font-size: 10px;
}

.gl-main-special-offer-widget-title{
  font-size: 24px;
}

.gl-main-special-offer-widget-time-box{
      padding: 12px 10px;
      min-width: 50px;
}

.gl-main-special-offer-widget-content{
      gap: 5px;
}

.gl-main-special-offer-widget-actions-bar{
  gap: 5px;
  padding: 5px 20px;
}

.gl-main-special-offer-widget-btn{
  font-size: 14px;
  padding: 7px 7px;
}

.gl-main-special-offer-carousel .owl-dots{
  bottom: 2px;
}

.gl-main-special-offer-widget-stats{
  gap: 8px;
}

.gl-main-special-offer-widget-visual{
  height: 355px;
}
}

/* --- لپ‌تاپ‌های معمولی (زیر 1200px) --- */
@media (max-width: 1205px) {
  .container {
    max-width: 1140px;
  }
  .gl-default-header-seach-box input {
    min-width: 0;
    width: 300px; /* کوچک شدن سرچ برای جا شدن منوها */
  }

  .phone-nav-menu-item {
    display: inline-flex !important;
  }

  .gl-defalut-header-main-menus {
    display: none;
  }
  .menu {
    gap: 2px !important;
  }
  /* مخفی کردن آیتم‌های اضافی برای جلوگیری از دو خطی شدن */
  .user-name-loggin {
    display: none;
  }

  .elementor-footer-call-information-sub {
    padding: 14px;
  }

  .elementor-footer-call-information-title h2 {
    font-size: 18px;
  }

  .elementor-footer-call-information-sub h4 {
    font-size: 13px;
  }

  .phone-menu-edition {
    display: none;
  }

  .atricle-wrapper .top-article {
    gap: 15px;
  }

  .top-article .article-top-left {
    padding: 0px 15px 0px 0;
    max-width: 450px;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 900px;
  }

  .post-thumbnail img {
    aspect-ratio: 40 / 30;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 auto;
  }

  .single-post-content-section {
    flex-direction: column;
  }

  .wc-custom-course-v1-traits {
    height: 45px;
    width: 45px;
  }

  .gl-wooc-course-v1-content-sidebar {
    flex: 0.4;
  }

  .gl-poduct-archive-v1-main-content-sidebar-teachers-name-profile {
    gap: 3px;
  }

  .gl-final-shop-main-header-order-id {
    padding: 5px 5px;
    margin-top: 9px !important;
  }

  .gl-my-account-my-saves-main-wrapper {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
  }
}

@media (max-width: 1024px) {
  .container {
    max-width: 1020px;
  }
  .single-post-side-bar-wrapper {
    flex: 0 1 auto;
  }

  .post-thumbnail img {
    aspect-ratio: 30 / 30;
  }

  .wc-custom-single__main {
    flex-direction: column-reverse;
  }

  .we-custom-course-download-modern-info-item {
    width: 50%;
  }

  .wc-course-v1-each-core > :nth-child(2),
  .wc-course-v1-each-core > :nth-child(3),
  .wc-course-v1-each-core > :nth-child(4) {
    width: 130px;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper ul,
  .gl-wooc-custom-v1-content-lesson-wrapper ul:last-child {
    padding: 10px 2px;
  }

  .gl-wooc-course-v1-content-sidebar {
    flex: 0.45;
  }

  .gl-blog-content {
    flex: 2;
  }

  .gl-blog-post-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .gl-blog-sidebar {
    position: sticky;
    align-self: flex-start;
    top: 20px;
  }

  .gl-poduct-archive-v1-main-content-products-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-poduct-archive-v1-main-content-item-wrapper {
    flex: 2.5;
  }

  .gl-poduct-archive-v1-main-content-sidebar-teachers-item-wrapper h6 {
    font-size: 12px;
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .gl-single-teacher-v1-main-content-wrapper {
    flex-direction: column-reverse;
  }

  .single-teacher-v1-top-part-footer {
    padding: 20px 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gl-single-teacher-v1-header-character-pic img {
    width: 361px;
    top: 58px;
    right: 9px;
  }

  .single-teacher-v1-header-text-wrapper {
    top: 115px;
    left: 26px;
    width: 550px;
  }

  .gl-single-teacher-v1-main-product-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-main-cart-wrapper {
    flex-direction: column-reverse;
  }

  .gl-cart-each-item-title {
    flex: 2;
  }

  .gl-checkout-main-wrapper {
    flex-direction: column-reverse;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 22% !important;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 77% !important;
  }

  .gl-main-dashbord-top-part-statics-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .gl-main-dhashbord-top-part-items {
    width: 100%;
    height: 70px;
  }

  .gl-main-dashbord-middle-part-suggestions-wrapper {
    gap: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
  }

  .gl-dashbord-middle-part-the-announcements {
    flex: 1;
    gap: 10px;
    overflow: hidden;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-dashbord-middle-smart-suggestion-carousel a {
    text-wrap: unset;
  }

  .gl-main-elementor-product-slider-top-main__title {
    font-size: 1.4rem;
  }

  .gl-main-elementor-product-slider-top-main__desc {
    font-size: 0.9rem;
  }

  .gl-main-elementor-product-slider-top-main__stats-info {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .gl-main-header-container-v1 {
    min-height: 368px;
  }

  .gl-main-header-title-v1 {
    font-size: 1.8rem;
  }

  .gl-main-header-desc-v1 {
    margin-bottom: 2px;
  }

  .gl-main-header-btn-v1 {
    padding: 5px 15px;
    font-size: 1rem;
    margin-top: 5px;
  }

  .gl-main-header-content-col-v1 {
    position: relative;
    z-index: 2;
    width: 50%;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .gl-main-header-desc-v1 p {
    font-size: 1.1rem;
  }

  .gl-download-product-v1-container {
    height: unset;
  }

  .gl-download-variable-product-v1-main-wrapper {
    max-height: 55dvh;
    overflow-y: auto;
  }

  .gl-download-file-v1-main-middle-sidebar-wrapper{
    flex: 1.5;
  }

      .gl-main-special-offer-widget-title {
        font-size: 18px;
    }

        .gl-main-special-offer-widget-time-box {
        padding: 3px 5px;
        min-width: 42px;
    }

    .gl-main-special-offer-widget-desc {
    font-size: 13px;
}

.gl-main-special-offer-widget-pro-badge{
  font-size: 12px;
}

.gl-main-special-offer-widget-stats {
        display: none;
    }

    .gl-main-special-offer-widget-visual {
        height: 315px;
    }

    .gl-main-special-offer-widget-price-new{
      font-size: 20px;
    }

        .gl-main-special-offer-widget-btn {
        font-size: 12px;
    }


    .gl-main-special-offer-widget-actions-bar {
    margin-top: 6px;
            border-radius: 5px;
        padding: 10px 8px;
}

.gl-category-widget-v1-elementor__grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.gl-main-discount-widget-eleentor-top__badge{
      font-size: 12px;
    padding: 6px 6px;
}

.gl-main-discount-widget-eleentor-top__inner {
    padding: 10px 34px;
}

.gl-main-discount-widget-eleentor-top__btn{
      font-size: 12px;
    padding: 8px 7px;
}

.gl-main-discount-widget-eleentor-top__time {
    min-width: 30px;
    height: 30px;
    font-size: 14px;
}


.gl-main-header-stats-v1{
  display: none;
}


.gl-main-header-badge-v1{
  display: none;
}
}

/* --- تبلت‌ها و تغییر به منوی موبایل (زیر 992px) --- */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  /* مخفی کردن منوی اصلی و نمایش منوی همبرگری/موبایلی */
  .gl-defalut-header-main-menus {
    display: none;
  }
  .gl-default-header-seach-box input {
    min-width: 0;
    width: 225px; /* کوچک شدن سرچ برای جا شدن منوها */
  }

  .phone-menu-edition {
    display: none;
  }

  /* چون منوی اصلی رفت و جا باز شد، این موارد رو برمی‌گردونیم */
  .subscription-icon,
  .user-name-loggin {
    display: inline;
  }
  .single-post-content-section {
    flex-direction: column;
  }

  .wc-custom-single__main {
    padding: 10px 0;
    flex-direction: column-reverse;
  }

  .we-custom-course-download-modern-info-item {
    width: 50%;
  }

  /* course-product-v1 */

  .gl-wooc-custom-v1-content-main,
  .gl-wooc-custom-v1-content-lessons {
    padding: 15px 5px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item i {
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item h6 {
    font-size: 17px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item p {
    width: 80px;
    padding: 2px 5px;
    font-size: 16px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-items {
    padding: 10px 4px;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper p {
    font-size: 16px;
  }

  .wc-course-v1-each-core {
    font-size: 12px;
  }

  .wc-course-v1-each-core {
    grid-template-columns: 6fr 0.6fr 0.6fr 0.6fr 0.4fr 1.5fr;
    gap: 5px;
  }

  .wc-course-v1-each-core > :nth-child(2),
  .wc-course-v1-each-core > :nth-child(3),
  .wc-course-v1-each-core > :nth-child(4) {
    border: none;
    width: 24px;
    padding: 0;
  }

  .wooc-course-v1-lessons-items-text {
    display: none;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper ul,
  .gl-wooc-custom-v1-content-lesson-wrapper ul:last-child {
    padding: 10px 6px;
  }

  .gl-blog-main-content {
    flex-direction: column-reverse;
  }

  .gl-blog-post-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-blog-sidebar {
    align-self: auto;
  }

  .gl-poduct-archive-v1-main-content-wrapper {
    flex-direction: column-reverse;
  }

  .gl-poduct-archive-v1-main-content-products-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-single-teacher-v1-main-content-wrapper {
    flex-direction: column-reverse;
  }

  .single-teacher-v1-top-part-footer {
    padding: 20px 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gl-single-teacher-v1-header-character-pic img {
    width: 284px;
    top: 67px;
    right: 17px;
  }

  .single-teacher-v1-header-text-wrapper {
    top: 115px;
    left: 26px;
    width: 415px;
  }

  .gl-single-teacher-v1-main-product-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-notification-main-wrapper {
    flex-direction: column-reverse;
  }

  .gl-cart-each-item-title a {
    font-size: 16px;
  }

  .gl-cart-each-item-thumbnail img {
    width: 125px;
    height: 90px;
  }

  .woocommerce-Price-amount.amount bdi {
    gap: 5px;
    font-size: 16px;
  }

  .gl-cart-each-item-price .woocommerce-Price-amount.amount span {
    font-weight: 400;
    font-size: 12px;
    line-height: 2;
  }

  .woocommerce a.remove {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .gl-final-order-page-main-content-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .gl-thankyou-page-main-top-header-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .gl-final-theme-each-item {
    margin-bottom: 10px;
  }

  .gl-header-main-top-class-wrappper-main-each {
    width: 100%;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100% !important;
  }

  .gl-ma-nav-wrapper-pro {
    overflow-x: auto;
    display: flex;
  }

  .gl-main-navigation-items-all-wrapper {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 10px;
  }

  .gl-main-overall-account-panel-wrapper {
    margin-top: 10px;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
  }

  .gl-main-dashbord-top-part-statics-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gl-main-dhashbord-top-part-items {
    width: 100%;
    height: 60px;
  }

  .gl-main-dashbord-middle-part-suggestions-wrapper {
    display: flex;
    flex-direction: column;
  }

  .gl-main-search-ajax-result-field {
    left: -324px;
  }

  .gl-main-header-title-v1 {
    font-size: 1.3rem;
  }

  .gl-main-header-container-v1 {
    min-height: 290px;
  }

  .gl-main-header-desc-v1 {
    margin-bottom: 8px;
  }

  .gl-main-header-badge-v1 {
    padding: 3px 8px;
    font-size: 0.7rem;
  }

  .gl-main-header-btn-v1 {
    margin-top: 0px;
  }

  .gl-main-header-desc-v1 p {
    font-size: 0.8rem;
  }

  .gl-main-header-content-col-v1 {
    padding-right: 2rem;
  }

  .gl-main-header-avatars-v1 img {
    width: 30px;
  }

  .gl-main-header-stats-text-v1 strong {
    font-size: 0.8rem;
  }

  .gl-main-header-stats-text-v1 span {
    font-size: 0.6rem;
  }

  .gl-download-product-v1-container {
    width: 98%;
  }

  .gl-download-file-v1-main-top-wrapper{
    flex-direction: column-reverse;
  }

  .gl-download-file-v1-main-top-download-thumbnail-wrapper img{
    position: unset;
  }

  .gl-donwload-file-v1-main-middle-wrapper{
    flex-direction: column;
  }

  .gl-main-middle-wrapper-content-v1-download-files .gl-download-file-main-wrapper-bg.gl-download-file-v1-main-middle-content.mobile-sidebar{
  display: block;
}

.gl-download-file-v1-main-middle-sidebar-wrapper .gl-download-file-main-wrapper-bg.gl-download-file-v1-sidebar-main-download-each-all.pc-sidebar{
  display: none;
}


    .gl-category-widget-v1-elementor__grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }


.gl-main-discount-widget-eleentor-top__timer-label {
    display: none;
}

    .gl-main-discount-widget-eleentor-top__badge {
        display: none;
    }



      .hl-main-theme-page-not-found-404__container {
        padding-top: 55px;
    }

    .hl-main-theme-page-not-found-404__cards {
        max-width: 650px;
        grid-template-columns: 1fr;
    }

    .hl-main-theme-page-not-found-404__card {
        min-height: 76px;
    }

}

/* --- موبایل‌های بزرگ (زیر 768px) --- */
@media (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  .gl-default-header-seach-box {
    display: none;
  }

  .phone-menu-edition {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  .phone-menu-edition input {
    width: 290px;
  }

  .phone-menu-edition input::placeholder {
    font-weight: 500;
  }

  .phone-menu-edition button {
    top: 21%;
    left: 19px;
  }

  .elementor-footer-call-information {
    max-width: 100%;
    gap: 16px;
  }

  .elementor-footer-call-information-title {
    gap: 10px;
    padding-bottom: 12px;
  }

  .elementor-footer-call-information-title h2 {
    font-size: 17px;
  }

  .elementor-footer-call-information-title i,
  .elementor-footer-call-information-title svg {
    width: 20px;
    height: 20px;
    font-size: 20px;
  }

  .elementor-footer-call-information-sub {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .elementor-footer-call-information-main h3 {
    font-size: 14px;
  }

  .elementor-footer-call-information-sub h4 {
    font-size: 13px;
    padding-right: 0;
  }

  .top-article .article-top-left {
    max-width: 400px;
  }

  .post-thumbnail img {
    aspect-ratio: 30 / 30;
  }

  .single-post-side-bar-wrapper {
    flex: 0 1 auto;
  }

  .wc-custom-single__info {
    flex: 1;
  }

  .we-custom-course-download-modern-info-item {
    width: 50%;
  }

  /* course-product-v1 */
  .gl-wooc-custom-v1-content-main,
  .gl-wooc-custom-v1-content-lessons {
    padding: 15px 5px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item i {
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item h6 {
    font-size: 14px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item p {
    width: 60px;
    padding: 2px 5px;
    font-size: 14px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-items {
    padding: 10px 4px;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper p {
    font-size: 14px;
  }

  .wc-course-v1-each-core {
    font-size: 12px;
  }

  .wc-course-v1-each-core {
    grid-template-columns: 6fr 0.6fr 0.6fr 0.6fr 0.4fr 1.5fr;
    gap: 5px;
  }

  .wc-course-v1-each-core > :nth-child(2),
  .wc-course-v1-each-core > :nth-child(3),
  .wc-course-v1-each-core > :nth-child(4) {
    border: none;
    width: 24px;
    padding: 0;
  }

  .wooc-course-v1-lessons-items-text {
    display: none;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper ul,
  .gl-wooc-custom-v1-content-lesson-wrapper ul:last-child {
    padding: 10px 0;
  }

  .gl-wooc-custom-v1-content-all .gl-wooc-custom-v1-content-all-wrapper {
    flex-direction: column;
  }

  .progress-container {
    max-width: none;
  }

  .gl-wooc-course-v1-content-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-self: auto;
    position: static;
  }

  .gl-wooc-course-v1-content-sidebar
    > .gl-wooc-custom-v1-content-main:first-child {
    flex: 0 0 100%;
  }

  .gl-wooc-course-v1-content-sidebar
    > .gl-wooc-custom-v1-content-main:nth-child(n + 2) {
    flex: 1;
  }

  .gl-single-teacher-v1-main-content-wrapper {
    flex-direction: column-reverse;
  }

  .single-teacher-v1-top-part-footer {
    padding: 20px 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gl-single-teacher-v1-header-character-pic img {
    width: 284px;
    top: 67px;
    right: 17px;
  }

  .single-teacher-v1-header-text-wrapper {
    top: 115px;
    left: 26px;
    width: 360px;
  }

  .gl-single-teacher-v1-main-product-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-final-order-table .gl-final-order-thead {
    display: none;
  }

  .gl-final-order-table,
  .gl-final-order-tbody,
  .gl-final-order-tr-body,
  .gl-final-order-table td {
    display: block;
    width: 100%;
  }

  .gl-final-order-tr-body {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 0;
    overflow: hidden;
  }

  .gl-final-order-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
  }

  .gl-final-order-table td[data-label]::before {
    content: attr(data-label) ":";
    font-weight: 600;
    color: #333;
    text-align: right;
  }

  .gl-final-order-td-item-image {
    padding: 0;
    border: none;
  }
  .gl-final-order-td-item-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .gl-final-order-td-item-image::before {
    display: none;
  }

  .gl-final-order-tr-body td:last-child {
    border-bottom: none;
  }

  .gl-login-myacctount-link-method-container {
    height: 1015px;
    flex-direction: column;
    padding: 16px 10px;
  }
  .gl-login-myacctount-link-method-left,
  .gl-login-myacctount-link-method-right {
    width: 100%;
  }
  .gl-login-myacctount-link-method-left {
    min-height: 350px;
  }
  .gl-lostpassword-container {
    height: auto;
    min-height: 500px;
    flex-direction: column;
  }

  .gl-lostpassword-left {
    width: unset;
    height: 280px;
  }

  .gl-lostpassword-right {
    width: 100%;
    padding: 30px 20px;
  }

  .gl-lostpassword-heading {
    font-size: 1.2rem;
  }

  .gl-lostpassword-confirm-container {
    height: auto;
    min-height: 400px;
    flex-direction: column;
  }

  .gl-lostpassword-confirm-right {
    width: 100%;
    padding: 30px 20px;
  }

  .gl-lostpassword-confirm-heading {
    font-size: 1.3rem;
  }

  .gl-lostpassword-confirm-left {
    width: unset;
    height: 280px;
  }

  .gl-dashbord-middle-part-the-announcements {
    grid-template-columns: repeat(1, 1fr);
  }

  .gl-main-search-ajax-result-field {
    width: 290px;
    left: 12px;
  }

  .gl-main-search-item-wrapper {
    grid-template-columns: 1fr 5fr;
  }

  .gl-main-search-item-wrapper {
    font-size: 14px;
    text-align: right;
  }

  .gl-main-elementor-product-slider-top-main__image-wrapper {
    width: 53%;
  }

  .gl-main-elementor-product-slider-top-main__content {
    width: 39%;
  }

  .gl-main-header-container-v1 {
    min-height: 250px;
  }

  .gl-main-header-title-v1 {
    font-size: 1rem;
  }

  .gl-main-header-badge-v1 {
    padding: 2px 8px;
    font-size: 0.65rem;
    margin-bottom: 5px;
  }

  .gl-main-header-desc-v1 p {
    font-size: 0.7rem;
  }

  .gl-main-header-btn-v1 {
    padding: 3px 5px;
    font-size: 0.7rem;
    margin-top: 5px;
  }

  .gl-main-header-avatars-v1 img {
    width: 25px;
  }

  .gl-download-product-v1-item-meta p {
    font-size: 9px;
  }

  .gl-main-special-offer-widget-top-section-wrapper{
    flex-direction: column;
  }

  .gl-main-special-offer-widget-timer-wrap{
    width: 100%;
  }

  .gl-main-special-offer-widget-timer {
    width: 100%;
}

.gl-main-special-offer-widget-time-box {
        width: 100%;
    }

    .gl-main-special-offer-widget-timer-wrap{
          padding: 18px 10px 10px 10px;
    }

    .gl-main-special-offer-widget-btn-secondary-span{
      display: none;
    }

    .gl-main-special-offer-widget-btn{
      border-radius: 6px;
    }

    .gl-main-special-offer-widget-visual {
        height: 340px;
    }

    .gl-main-special-offer-widget-img{
      height: 340px !important;
    }

    .gl-main-special-offer-widget-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
}

.gl-main-special-offer-widget-time-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.gl-main-special-offer-widget-time-val{
  font-size: 14px;
}

    .gl-main-special-offer-widget-price-new {
        font-size: 15px;
    }

        .gl-main-special-offer-widget-visual {
        height: 278px;
    }

        .gl-main-special-offer-carousel .owl-dots {
        bottom: -5px;
    }

    .gl-main-special-offer-widget-timer-label {
    font-size: 9px;
}

.gl-main-discount-widget-eleentor-top__btn {
  padding: 8px 8px;

  i{
    display: block;
  }

  span{
    display: none;
  }
}


 .hl-main-theme-page-not-found-404 {
        min-height: 80svh;
    }

    .hl-main-theme-page-not-found-404__container {
        width: 100%;

        padding:
            45px 18px
            35px;
    }

    .hl-main-theme-page-not-found-404__icon {
        width: 50px;
        height: 50px;

        margin-bottom: 18px;

        border-radius: 14px;
    }

    .hl-main-theme-page-not-found-404__number {
        gap: 4px;

        font-size: clamp(82px, 25vw, 125px);

        letter-spacing: -10px;
    }

    .hl-main-theme-page-not-found-404__number-icon {
        width: clamp(72px, 22vw, 105px);
        height: clamp(72px, 22vw, 105px);

        margin: 0 7px;
    }

    .hl-main-theme-page-not-found-404__number-icon::before {
        inset: 9px;
    }

    .hl-main-theme-page-not-found-404__number-icon span {
        font-size: clamp(48px, 15vw, 70px);
        letter-spacing: -5px;
    }

    .hl-main-theme-page-not-found-404__title {
        margin-top: 16px;

        font-size: 28px;
    }

    .hl-main-theme-page-not-found-404__description {
        padding: 0 8px;

        font-size: 13px;
        line-height: 2;
    }

    .hl-main-theme-page-not-found-404__actions {
        width: 100%;

        flex-direction: column;

        gap: 9px;

        margin-top: 24px;
    }

    .hl-main-theme-page-not-found-404__button {
        width: 100%;
        min-height: 50px;
    }

    .hl-main-theme-page-not-found-404__cards {
        width: 100%;

        margin-top: 38px;

        gap: 9px;
    }

    .hl-main-theme-page-not-found-404__card {
        min-height: 72px;

        padding: 14px;
        border-radius: 14px;
    }

    .hl-main-theme-page-not-found-404__card-icon {
        width: 39px;
        height: 39px;

        flex-basis: 39px;
    }

    .hl-main-theme-page-not-found-404__card-content strong {
        font-size: 13px;
    }

    .hl-main-theme-page-not-found-404__card-content span {
        font-size: 10px;
    }

    .hl-main-theme-page-not-found-404__glow--one {
        width: 180px;
        height: 180px;

        right: -60px;
        top: 12%;
    }

    .hl-main-theme-page-not-found-404__glow--two {
        width: 150px;
        height: 150px;

        left: -50px;
        bottom: 5%;
    }
}


/* --- موبایل‌های کوچک (زیر 576px) --- */
@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .gl-default-header-seach-box,
  .user-name-loggin,
  .subscription-icon {
    display: none;
  }

  .phone-menu-edition {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  .phone-menu-edition input {
    width: 290px;
  }

  .gl-defalut-header-main-logo .night-theme-logo,
  .gl-defalut-header-main-logo .day-theme-logo {
    width: 70%;
  }

  .atricle-wrapper .top-article {
    flex-direction: column;
  }

  .top-article .article-top-left {
    max-width: 100%;
  }

  .comment-content {
    height: fit-content;
  }

  .comment-avatar img {
    margin-top: -14px;
    width: 30px;
    height: 30px;
  }

  .comment-text {
    padding-right: 35px;
    font-size: 0.85rem;
  }

  .comments-top-part {
    gap: 3px;
    font-size: 0.9rem;
  }

  .reply-button {
    font-size: 0.75rem;
  }

  .single-post-comments ul.children {
    padding-right: 20px;
  }

  .comments-not-logged {
    font-size: 1rem;
    flex-direction: column;
    margin: 10px 10px 15px 10px;
  }

  .comments-not-logged p,
  .comments-not-logged a {
    margin: 0;
    font-size: 16px;
    margin: 5px 10px 5px 10px;
  }

  .article-top-left .article-details {
    width: 100%;
    justify-content: space-between;
  }

  .top-section .single-title h1 {
    font-size: 1.4rem;
  }

  .single-download-description {
    flex-direction: column;
    gap: 15px;
  }

  .wc-custom-single__main {
    flex-direction: column-reverse;
  }

  .wc-custom-single__breadcrumb {
    white-space: nowrap;
    overflow-x: auto;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .wc-custom-single__main {
    padding: 0;
  }

  .wc-custom-single__info {
    flex: 1;
  }

  .wc-custom-single__price-wrapper {
    font-size: 70%;
  }

  .we-custom-course-download-modern-info-wrapper {
    margin: 5px 0;
  }

  .we-custom-course-download-modern-info-item {
    width: 100%;
  }

  .we-custom-course-download-modern-info-wrapper
    > .we-custom-course-download-modern-info-item:first-child {
    border-radius: 10px 10px 0 0;
  }

  .we-custom-course-download-modern-info-wrapper
    > .we-custom-course-download-modern-info-item:nth-child(2) {
    border-radius: 0;
  }

  .we-custom-course-download-modern-info-wrapper
    > .we-custom-course-download-modern-info-item:nth-child(5) {
    border-radius: 0;
  }

  .we-custom-course-download-modern-info-wrapper
    > .we-custom-course-download-modern-info-item:last-child {
    border-radius: 0 0 10px 10px;
  }

  .wc-custom-course-v1-traits {
    height: 40px;
    width: 40px;
    font-size: 15px;
  }

  .wc-custom-single__price-wrapper span {
    font-size: 16px;
  }

  .gl-wc-custom-single-action-wrapper {
    flex-direction: column;
  }

  .galaxiom-wc-product-video-modal__dialog {
    width: calc(100% - 16px);
    margin: 250px auto;
    border-radius: 12px;
  }

  .galaxiom-wc-product-video-modal__media-wrapper {
    padding-top: 62%;
  }

  .gl-dashbord-middle-part-the-announcements{
    display: flex;
    flex-direction: column;
  }

  .galaxiom-wc-product-video-modal__close {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .gl-wooc-custom-v1-content-main,
  .gl-wooc-custom-v1-content-lessons {
    padding: 15px 5px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item i {
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item h6 {
    font-size: 12px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-item p {
    width: 42px;
    padding: 1px 3px;
    font-size: 10px;
  }

  .gl-wooc-custom-v1-content-chapter-wrapper-items {
    padding: 10px 4px;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper p {
    font-size: 11px;
  }

  .wc-course-v1-each-core {
    grid-template-columns: 6fr 0.6fr 0.6fr 0.6fr 0.4fr 1.5fr;
    gap: 5px;
    padding: 0 5px;
    font-size: 12px;
  }

  .wc-course-v1-each-core > :nth-child(2),
  .wc-course-v1-each-core > :nth-child(3),
  .wc-course-v1-each-core > :nth-child(4) {
    border: none;
    width: 24px;
    padding: 0;
  }

  .wooc-course-v1-lessons-items-text {
    display: none;
  }

  .gl-wooc-custom-v1-content-lesson-wrapper ul,
  .gl-wooc-custom-v1-content-lesson-wrapper ul:last-child {
    padding: 10px 0;
  }

  .wc-course-v1-each-core-title-section i {
    display: none;
  }

  .woocommerce-galaxiom-product-v1-profile-name-section {
    align-items: start;
    gap: 8px;
  }

  .woocommerce-galaxiom-product-v1-profile-name-section img {
    width: 50px;
    height: 50px;
  }

  .woocomerce-product-modern-course-v1-reply-name-profile-time img {
    width: 35px;
    height: 35px;
  }

  .woocommerce-galaxiom-product-v1-name-section p:first-child {
    font-size: 13px;
  }
  .woocommerce-galaxiom-product-v1-course-comments {
    font-size: 11px;
  }

  .review-replies .review-reply {
    margin: 5px 20px 5px 10px;
  }

  .wc-custom-course-v1-rate-wrapper {
    font-size: 18px;
  }

  .wc-course-v1-each-core > :nth-child(5) {
    width: 20px;
    height: 20px;
  }

  .wc-course-download-v1-discount-timer span.days,
  .wc-course-download-v1-discount-timer span.hours,
  .wc-course-download-v1-discount-timer span.minutes,
  .wc-course-download-v1-discount-timer span.seconds {
    font-size: 14px;
    padding: 3px 3px;
    width: 24px;
  }


  .gl-cart-each-item-title a {
    font-size: 14px;
  }

  .gl-cart-main-title-top-wrapper{
    flex-direction: column;
    align-items: start;
    margin-top: 10px;
  }
  
  .gl-main-cart-wrapper{
    margin-top: 15px;
  }

  .wc-custom-single__top h1 {
    font-size: 1.15rem;
  }

  .wc-custom-desc-modern-course-temp {
    margin: 3px 0;
    font-size: 0.95rem;
  }

  .gl-wooc-custom-v1-content-all .gl-wooc-custom-v1-content-all-wrapper {
    flex-direction: column;
  }

  .gl-blog-main-content {
    flex-direction: column-reverse;
  }

  .gl-blog-post-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .gl-blog-posts-main {
    padding: 15px 2px;
  }

  .gl-blog-posts-main .card-title {
    font-size: 1rem;
    margin: 0 0 10px 0;
  }

  .gl-wooc-course-v1-content-sidebar {
    position: static;
  }

  .gl-poduct-archive-v1-main-content-products-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .gl-product-archive-v1-header-wrapper {
    gap: 0;
    justify-content: space-between;
    padding: 5px 10px;
  }

  .gl-shop-archive-upcoming-countdown-item {
    width: 90px;
  }

  .gl-single-teacher-v1-header-background-picture-self {
    height: 250px;
  }


  .gl-main-special-offer-widget-actions-bar .gl-main-special-offer-widget-buttons a.added_to_cart.wc-forward{
    width: 140px;
    height: 32px;
    font-size: 12px;
    border-radius: 5px;
  }

  .gl-single-teacher-v1-header-character-pic img {
    width: 180px;
    top: 52px;
    right: 8px;
  }

  .single-teacher-v1-header-text-wrapper {
    top: 80px;
    left: 15px;
    width: 185px;
  }

  .gl-single-teacher-v1-header-teacher-status-badge {
    padding: 2px 5px;
    border-radius: 7px;
    font-size: 12px;
  }

  .single-teacher-v1-header-social-media-item {
    width: 16px;
  }

  .single-teacher-v1-header-social-media {
    gap: 5px;
  }

  .single-teacher-v1-header-title-name h1 {
    margin: 0;
    font-size: 14px;
  }

  .single-teacher-v1-header-major h4 {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .single-teacher-v1-header-title-name-verification-icon {
    width: 20px;
  }

  .single-teacher-v1-header-introduction p {
    font-size: 9px;
  }

  .single-teacher-v1-top-part-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    font-size: 50%;
    padding: 10px 15px;
    gap: 10px;
  }

  .single-teacher-v1-top-part-footer > :nth-child(4) {
    grid-column: 1 / -1;
  }

  .single-teacher-v1-top-part-footer-item i {
    font-size: 1.5rem;
    width: 35px;
    height: 40px;
  }

  .single-teacher-v1-top-part-footer-item h6 {
    font-size: 16px;
  }

  .gl-single-teacher-v1-main-product-wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .gl-single-notif-main-page-details {
    gap: 0;
  }

  .gl-single-notif-the-author p {
    font-size: 14px;
  }

  .gl-cart-item-course-detail-time-level {
    display: none;
  }

  .gl-cart-each-item {
    flex-direction: column;
  }

  .gl-cart-item-remove-price-wrapper {
    justify-content: space-between;
    width: 100%;
  }

  .gl-cart-item-total-time {
    margin-top: 0;
  }

  .gl-cart-item-mini-detail {
    display: block;
  }

  .gl-cho-main-user-personal-info-fields {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .gl-checkout-main-question-answer-box-question {
    font-size: 16px;
  }

  .gl-checkout-main-question-answer-box-answer {
    font-size: 15px;
  }

  .gl-my-account-my-saves-main-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }

  .woocommerce-MyAccount-content {
    margin-top: 10px;
  }

  .gl-main-search-ajax-result-field {
    width: 290px;
    left: 14px;
  }

  .gl-main-search-item-wrapper {
    font-size: 12px;
    text-align: right;
  }

  .gl-main-elementor-product-slider-top-main {
    min-height: unset;
    height: 240px;
  }

  .gl-main-elementor-product-slider-top-main__container {
    margin-right: 20px;
  }

  .gl-main-elementor-product-slider-top-main__image-wrapper {
    width: 60%;
  }

  .gl-main-elementor-product-slider-top-main__image {
    width: 100% !important;
  }

  .gl-main-elementor-product-slider-top-main__title {
    font-size: 10px;
  }

  .gl-main-elementor-product-slider-top-main__desc {
    font-size: 8px;
  }

  .gl-main-elementor-product-slider-top-main__btn {
    font-size: 8px;
    padding: 1px 2px;
  }

  .gl-main-elementor-product-slider-top-main__badge {
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 5px;
  }

  .gl-main-elementor-product-slider-top-main__title {
    margin-bottom: 0.2rem;
  }

  .gl-main-elementor-product-slider-top-main__stats {
    margin-top: 0.3rem;
  }

  .gl-main-elementor-product-slider-top-main__stats-number {
    font-size: 10px;
  }

  .gl-main-elementor-product-slider-top-main__stats-text {
    font-size: 7px;
  }

  .gl-main-elementor-product-slider-top-main__stats-info {
    flex-direction: row;
    gap: 7px;
    align-items: center;
  }

  .gl-main-elementor-product-slider-top-main__content {
    width: 36%;
    height: 200px;
  }

  .gl-main-header-content-col-v1 {
    padding-right: 1rem;
  }

  .gl-main-header-desc-v1 p {
    font-size: 0.5rem;
  }

  .gl-main-elementor-product-slider-top-main__badge {
    margin-bottom: 0.2rem;
  }
  .gl-main-header-badge-v1 {
    padding: 1px 8px;
    font-size: 0.5rem;
  }

  .gl-main-header-title-v1 {
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .gl-main-header-btn-v1 {
    padding: 3px 3px;
    font-size: 0.5rem;
    margin-top: -5px;
    font-weight: 400;
    border-radius: 5px;
  }

  .gl-main-header-btn-v1{
    gap: 4px;
  }

  .gl-main-header-avatars-v1 img {
    width: 20px;
  }

  .gl-main-header-avatars-v1 {
    display: flex;
    gap: 5px;
  }

  .gl-main-header-stats-text-v1 strong {
    font-size: 0.6rem;
  }

  .gl-main-header-stats-text-v1 span {
    font-size: 0.4rem;
  }

  .gl-main-header-stats-v1 {
    margin-top: 5px;
  }

  .gl-main-header-image-col-v1 {
    left: -40px;
    width: 73%;
  }

  .gl-main-header-container-v1 {
    min-height: 169px;
  }

  .gl-download-product-v1-item {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: 1fr 7fr;
  }

  .gl-download-product-v1-item-action {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    grid-column: 1 / 3;
    justify-content: space-between;
    margin-top: 7px;
  }

  .gl-download-product-v1-item-icon {
    width: 40px;
    height: 100%;
  }

  .gl-download-product-v1-btn {
    padding: 7px 20px;
    border-radius: 8px;
    font-size: 16px;
  }

  .gl-download-product-v1-item-icon,
  .gl-download-product-v1-item-icon span {
    font-size: 12px;
  }

  .gl-download-product-v1-item-meta {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-download-product-v1-item-meta p:last-child {
    grid-column: 1/3;
  }

  .gl-download-product-v1-item-meta p:first-child {
    grid-column: unset;
  }

  .gl-download-product-v1-footer-icon {
    border-radius: 4px;
  }

  .gl-wc-variation-main-price-style .woocommerce-Price-amount.amount {
    font-size: 18px;
  }

  .gl-download-product-v1-footer {
    flex-direction: column;
    gap: 15px;
  }

  .gl-download-product-v1-footer-support:last-child {
    flex-direction: row-reverse;
    justify-content: start;
  }

  .gl-download-product-v1-container {
    padding: 30px 10px;
  }

  .gl-download-file-v1-details-main{
    overflow-x: auto;
  }

  .gl-download-main-download-section-top-version p:first-child{
        font-size: 14px;
    white-space: nowrap;
  }

      .gl-prodict-download-section-top-item {
        font-size: 14px;
    }

    .gl-variable-donwload-main-btns {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}

#gl-download-product-v1-trigger {
    grid-column: -1 / 1;
}

.gl-download-file-main-wrapper-bg{
  padding: 15px;
}

.gl-mr-wrapper{
  padding: 30px 10px;
}
.gl-mr-role-box{
  padding: 7px 7px;
  gap: 12px;
}

.gl-mr-role-icon-container{
      width: 35px;
    height: 35px;
    font-size: 17px;
}

.gl-mr-role-title{
      font-size: 12px;
}

.gl-mr-divider-badge{
  font-size: 10px;
}

.gl-mr-close-btn{
      top: 8px;
    left: 8px;
}

.gl-dashbord-main-narrow-informative-wrapper{
  flex-direction: column;
}

.gl-dashbord-talk-of-the-admin{
  width: 100%;
}

.gl-dashbord-discount-coupon-section{
  width: 100%;
}

.gl-main-feature-website-widget-v1{
  padding: 3px 1px;
}

.gl-main-feature-website-widget-v1__icon{
  font-size: 18px;
}

.gl-main-feature-website-widget-v1__title{
  font-size: 10px;
}

.gl-main-feature-website-widget-v1__subtitle{
  font-size: 8px;
}

.gl-main-special-offer-widget-top{
  flex-direction: column;
      gap: 10px;
}

    .gl-main-special-offer-widget-img {
        height: 270px !important;
        width: 100%;
    }
    .gl-main-special-offer-widget-visual {
        height: 160px;
        width: 100%;
    }

        .gl-main-special-offer-widget-content {
        gap: 10px;
    }

        .gl-main-special-offer-widget-title {
        font-size: 14px;
        height: 40px;
    }

    .gl-main-special-offer-wisget-title-wrapper {
    width: 100%;
    margin-bottom: 10px;
}

.gl-main-special-offer-widget-time-box {
        padding: 3px 10px;
    }

        .gl-main-special-offer-widget-desc {
        font-size: 10px;
    }

    .gl-main-widget-product-carousel-main-v1__title{
      white-space: unset;
    }

    .gl-main-widget-product-carousel-main-v1__content {
    height: 110px;
}

.gl-main-widget-product-carousel-main-v1__title {
    font-size: 16px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gl-category-widget-v1-elementor__card{
  padding: 10px;
}

.gl-category-widget-v1-elementor__grid {
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
}

.gl-category-widget-v1-elementor__title-area{
  flex-direction: column;
  align-items: start;
}

.gl-category-widget-v1-elementor__card-title{
  height: 36px;
}

    .gl-main-discount-widget-eleentor-top__inner {
        padding: 10px 10px 10px 32px;
    }

.gl-main-discount-widget-eleentor-top__message {
    font-size: 11px;
}

.gl-main-discount-widget-eleentor-top__colon {
    font-size: 11px;
}

    .gl-main-discount-widget-eleentor-top__time {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }

        .gl-main-discount-widget-eleentor-top__btn {
        padding: 8px 5px;
                font-size: 10px;
    }
}

@media (max-width: 478px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .wc-custom-course-v1-rate-wrapper {
    font-size: 14px;
  }

  .wc-custom-course-v1-traits-wrapper {
    gap: 4px;
  }

  .wc-custom-course-v1-traits {
    height: 30px;
    width: 30px;
  }

  .galaxium-modal .body {
    min-width: auto;
    width: 375px;
  }

  #otp-login-number-error-area {
    width: 330px;
  }

  .woocommerce-galaxiom-product-v1-name-section-buyer {
    font-size: 8px;
  }

  .gl-shop-archive-upcoming-countdown-item {
    width: 90px;
  }

  .single-teacher-v1-top-part-footer-item h6 {
    font-size: 11px;
  }

  .single-teacher-v1-top-part-footer-item p {
    font-size: 6px;
  }

  .gl-cart-item-mini-detail {
    font-size: 15px;
  }

  .gl-product-slider:not(.owl-loaded) {
    min-height: 240px;
  }

  .gl-main-header-title-v1 {
    font-size: 0.8rem;
  }

  .gl-main-header-desc-v1 p {
    font-size: 0.45rem;
  }

  .gl-main-special-offer-widget-img {
        height: 192px !important;
        width: 100%;
    }

    .gl-main-special-offer-widget-wrapper {
    padding: 10px;
}

.gl-main-special-offer-carousel .owl-dots {
        display: none;
    }

    .gl-main-carouse-product-widget-v1-title-icon-wrapper {
    h3{
      font-size: 14px;
    }
    }

    .gl-main-carouse-product-widget-v1-title-wrapper h6{
                  width: 100px;
        font-size: 12px;
        height: 24px;
    }

    .gl-main-carouse-product-widget-v1-title-icon-wrapper i {
    width: 30px;
    height: 30px;
    font-size: 15px;
}

.gl-category-widget-v1-elementor__card i{
          width: 40px;
        height: 40px;
                font-size: 16px;
}

.gl-category-widget-v1-elementor__card-title{
  font-size: 12px;
}

.gl-category-widget-v1-elementor__card-badge {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
}

    .gl-category-widget-v1-elementor__grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }

        .gl-main-discount-widget-eleentor-top__message {
        font-size: 10px;
    }


    .gl-main-discount-widget-eleentor-top__btn {
      display: none;
    }
}

@media (max-width: 415px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .gl-shop-archive-upcoming-countdown-item {
    width: 75px;
  }

  .single-teacher-v1-header-text-wrapper {
    top: 57px;
    left: 16px;
    width: 143px;
  }

  .gl-cart-item-mini-detail {
    font-size: 13px;
  }

  .gl-final-order-user-main-info-static {
    font-size: 14px;
  }

  .gl-main-header-image-col-v1 {
    left: -68px;
        width: 90%;
  }

  .gl-main-dhashbord-top-part-items h6{
    font-size: 14px;
  }

  .gl-category-widget-v1-elementor__subtitle {
    font-size: 10px;
}

.gl-category-widget-v1-elementor__title {
    font-size: 17px;

        i {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        font-size: 14px;
    }
}
.hl-main-theme-page-not-found-404__container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hl-main-theme-page-not-found-404__number {
        font-size: 78px;
    }

    .hl-main-theme-page-not-found-404__number-icon {
        width: 68px;
        height: 68px;

        margin: 0 5px;
    }

    .hl-main-theme-page-not-found-404__number-icon span {
        font-size: 43px;
    }

    .hl-main-theme-page-not-found-404__title {
        font-size: 25px;
    }
}

@media (max-width: 376px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .gl-my-account-main-drop-down-container {
    width: 280px;
  }

  .gl-download-product-v1-item-icon,
  .gl-download-product-v1-item-icon span {
    font-size: 10px;
  }

  .gl-download-product-v1-item-icon {
    width: 30px;
  }

  .gl-download-product-v1-btn {
    border-radius: 10px;
    font-size: 12px;
    padding: 7px 12px;
  }

  .gl-wc-variation-main-price-style .woocommerce-Price-amount.amount {
    font-size: 16px;
  }

  .gl-download-product-v1-item-meta {
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }

  .gl-download-product-v1-item-meta p:last-child {
    grid-column: 1 / 3;
  }

  .gl-download-product-v1-item-meta p:first-child {
    grid-column: unset;
  }

  .gl-download-product-v1-sale-timer .time {
    gap: 5px;
  }

  .gl-download-product-v1-sale-timer .sale-timer-box {
    width: 25px;
  }

  .gl-download-product-v1-sale-timer .sale-timer-number {
    font-size: 12px;
  }

  .gl-download-product-v1-sale-timer .sale-timer-label {
    font-size: 8px;
  }

  .comment-form-rating{
    justify-content: space-between;

  }

      .woocommerce-galaxiom-product-v1-profile-name-section img {
        width: 40px;
        height: 40px;
    }

    .woocommerce-galaxiom-product-v1-name-section {
    font-size: 10px;
}

.woocommerce-galaxiom-product-v1-reply-section {
    padding: 0px 9px;
}

  .comment-form-rating .stars{
    direction: unset !important;
  }
.gl-main-header-image-col-v1{
          left: -60px;
        width: 91%;
}

  .gl-main-header-content-col-v1{
    width: 60%;
  }

  .gl-main-special-offer-widget-discount {
    font-size: 8px;
}

.gl-main-special-offer-widget-buttons {
    gap: 6px;
}

.gl-main-widget-product-carousel-main-v1 {
    padding: 20px 10px;
}

    .gl-main-carouse-product-widget-v1-title-icon-wrapper i {
        width: 25px;
        height: 25px;
        font-size: 12px;
        border-radius: 5px;
    }

    .gl-main-widget-product-carousel-main-v1__title {
    font-size: 15px;
}

.gl-main-widget-product-carousel-main-v1__add-to-cart{
      width: 40px;
    height: 40px;
        border-radius: 8px;
}

.gl-main-widget-product-carousel-main-v1__meta {
    gap: 10px;
}

.gl-main-widget-product-carousel-main-v1__meta-item {
    gap: 2px;
}

.gl-main-widget-product-carousel-main-v1__title {
    font-size: 14px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
}
