@font-face {
    font-family: Dana Light;
    font-display: swap;
    src: url('fonts/Dana-Light.woff2') format('woff2'),
         url('fonts/Dana-Light.woff') format('woff');
}

@font-face {
    font-family: Dana;
    font-display: swap;
    src: url('fonts/Dana-Regular.woff2') format('woff2'),
         url('fonts/Dana-Regular.woff') format('woff');
}

@font-face {
    font-family: Dana Medium;
    font-display: swap;
    src: url('fonts/Dana-Medium.woff2') format('woff2'),
         url('fonts/Dana-Medium.woff') format('woff');
}

@font-face {
    font-family: Dana DemiBold;
    font-display: swap;
    src: url('fonts/Dana-DemiBold.woff2') format('woff2'),
         url('fonts/Dana-DemiBold.woff') format('woff');
}

@font-face {
    font-family: Dana Bold;
    font-display: swap;
    src: url('fonts/Dana-Bold.woff2') format('woff2'),
         url('fonts/Dana-Bold.woff') format('woff');
}

@font-face {
    font-family: Dana ExtraBold;
    font-display: swap;
    src: url('fonts/Dana-ExtraBold.woff2') format('woff2'),
         url('fonts/Dana-ExtraBold.woff') format('woff');
}

@font-face {
    font-family: Dana ExtraBlack;
    font-display: swap;
    src: url('fonts/Dana-ExtraBlack.woff2') format('woff2'),
         url('fonts/Dana-ExtraBlack.woff') format('woff');
}

@font-face {
    font-family: Kalameh;
    font-display: swap;
    src: url('fonts/KalamehWebFaNum-Regular.woff2') format('woff2'),
         url('fonts/KalamehWebFaNum-Regular.woff') format('woff');
}

@font-face {
    font-family: Kalameh Medium;
    font-display: swap;
    src: url('fonts/KalamehWebFaNum-Medium.woff2') format('woff2'),
         url('fonts/KalamehWebFaNum-Medium.woff') format('woff');
}

@font-face {
    font-family: Kalameh SemiBold;
    font-display: swap;
    src: url('fonts/KalamehWebFaNum-SemiBold.woff2') format('woff2'),
         url('fonts/KalamehWebFaNum-SemiBold.woff') format('woff');
}

@font-face {
    font-family: Nunito;
    font-display: swap;
    src: url('fonts/Nunito-Regular.woff2') format('woff2');
}

* {
    list-style: none;
        font-family: Kalameh !important;

}
.sf-menu > .cz > a > span {
    z-index: 1;
    font-family: Kalameh !important;
}
p:last-child {
        font-family: Kalameh !important;

}
.cz_title_content * {
    margin: 0;
    font-family: Kalameh!important;
}
.cz_stylish_list li > div > span {
    line-height: 1.6;
    display: block;
    font-family: Kalameh;
}
h1, h2, h3, h4, h5, h6 {
    font-family: Kalameh !important;
}
.breadcrumbs {
    color: #fff;
    background-color: rgb(162 28 28) !important;
    padding: 4px 26px 6px; 
    border-style: solid;
    border-radius: 8px;
    font-family: Kalameh;
}
.breadcrumbs a, .breadcrumbs i {
    font-size: 12px;
    opacity: 1;
    color: #fff;
}
.elementor-388 .elementor-element.elementor-element-0351144 .cz_cf7 label {
    margin-left: 12px;
    font-family: 'Kalameh';
}
.cz_stylish_list li > div, .cz_stylish_list li > a > div {
    color: inherit;
    display: table-cell;
    vertical-align: middle;
    text-decoration: inherit;
    font-family: 'Kalameh';
}
p {
    font-family: 'Kalameh' !important;
}
.elementor-widget-text-editor {
    color: var(--e-global-color-text);
    font-family: 'Kalameh' !important;
    font-weight: var(--e-global-typography-text-font-weight);
}
/* =========================
   PROVID – Woo My Account v2
   ========================= */

/* عنوان‌های پیش‌فرض قالب رو مخفی کن */
.woocommerce-account .entry-title,
.woocommerce-account .page-title {
  display: none;
}

/* فضای کلی صفحه اکانت */
.woocommerce-account #provid-my-account {
  --pa-bg: #f9fafb;
  --pa-shell-max: 1200px;
  --pa-sidebar-bg: #020617;
  --pa-sidebar-border: rgba(248, 250, 252, .06);
  --pa-card-bg: #ffffff;
  --pa-brand: #e11d48;
  --pa-brand-soft: #fb7185;
  --pa-text-main: #0f172a;
  --pa-text-muted: #6b7280;

  direction: rtl;
  text-align: right;
  padding: 40px 0 60px;

}

/* کانتینر اصلی */
.woocommerce-account #provid-my-account .provid-my-account-shell {
  max-width: var(--pa-shell-max);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 26px;
  align-items: flex-start;
}

/* =========================
   Sidebar – پروفایل و منو
   ========================= */

.woocommerce-account #provid-my-account .provid-my-account-sidebar {
  position: sticky;
  top: 24px;
  border-radius: 26px;
  padding: 20px 18px 18px;
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, .36) 0, transparent 60%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, .22) 0, transparent 55%),
    var(--pa-sidebar-bg);
  box-shadow:
    0 22px 70px rgba(15, 23, 42, .6),
    0 0 0 1px rgba(15, 23, 42, .8);
  color: #f9fafb;
  overflow: hidden;
}

/* هدر پروفایل */
.woocommerce-account #provid-my-account .provid-my-account-user {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  align-items: center;
  margin-bottom: 16px;
}

.woocommerce-account #provid-my-account .provid-my-account-avatar {
  grid-row: span 2;
}

.woocommerce-account #provid-my-account .provid-my-account-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(248, 250, 252, .7);
  box-shadow: 0 0 0 4px rgba(15, 23, 42, .7);
}

.woocommerce-account #provid-my-account .provid-my-account-user-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.woocommerce-account #provid-my-account .provid-my-account-greeting {
  font-size: 12px;
  opacity: .75;
}

.woocommerce-account #provid-my-account .provid-my-account-name {
  font-size: 16px;
  font-weight: 700;
}

.woocommerce-account #provid-my-account .provid-my-account-email {
  font-size: 11px;
  opacity: .8;
}

/* چِیپ وضعیت (مثلاً کاربر عادی) */
.woocommerce-account #provid-my-account .provid-my-account-user::after {
  content: 'حساب فعال';
  grid-column: 1 / -1;
  justify-self: flex-start;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  background: rgba(15, 23, 42, .9);
  box-shadow: 0 0 0 1px rgba(248, 250, 252, .14);
}

/* خط جداکننده زیر پروفایل */
.woocommerce-account #provid-my-account .provid-my-account-sidebar::after {
  content: '';
  display: block;
  height: 1px;
  margin: 6px 0 10px;
  background: linear-gradient(
    90deg,
    rgba(248, 250, 252, .12),
    rgba(248, 250, 252, .02)
  );
}

/* ناوبری */
.woocommerce-account #provid-my-account .provid-my-account-nav .woocommerce-MyAccount-navigation {
  margin: 0;
  padding: 0;
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation li {
  margin: 0;
}

/* آیتم منو */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: #f9fafb;
  background: rgba(15, 23, 42, .3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background .18s ease,
    color .18s ease,
    transform .12s ease,
    box-shadow .18s ease;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, .14);
}

/* دایره‌ی کوچک سمت چپ هر آیتم */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation a::before {
  content: '';
  flex: 0 0 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(248, 250, 252, .4);
}

/* فلش کوچک (می‌تونی بعداً با فونت‌آیکون عوضش کنی) */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation a::after {
  content: '‹';
  font-size: 14px;
  opacity: .55;
}

/* هاور */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation a:hover {
  background: rgba(15, 23, 42, .72);
  transform: translateY(-1px);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, .75),
    0 0 0 1px rgba(248, 250, 252, .22);
}

/* لینک فعال */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation .is-active a {
  background: linear-gradient(135deg, var(--pa-brand), var(--pa-brand-soft));
  box-shadow:
    0 12px 32px rgba(225, 29, 72, .7),
    0 0 0 1px rgba(248, 250, 252, .8);
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation .is-active a::before {
  background: rgba(248, 250, 252, 0.85);
}

/* Logout جدا در پایین */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  margin-top: 8px;
  background: rgba(127, 29, 29, .7);
  box-shadow:
    0 10px 26px rgba(127, 29, 29, .7),
    0 0 0 1px rgba(254, 242, 242, .4);
}

/* =========================
   Main – عنوان و محتوا
   ========================= */

.woocommerce-account #provid-my-account .provid-my-account-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* هدر صفحه */
.woocommerce-account #provid-my-account .provid-my-account-main-header {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 18px 60px rgba(15, 23, 42, .12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

.woocommerce-account #provid-my-account .provid-my-account-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--pa-text-main);
}

/* متن زیر عنوان اگر بعداً اضافه کردی */
.woocommerce-account #provid-my-account .provid-my-account-main-header p {
  margin: 0;
  font-size: 13px;
  color: var(--pa-text-muted);
}

/* Badge کوچک سمت چپ هدر */
.woocommerce-account #provid-my-account .provid-my-account-main-header::after {
  content: 'پروفایل شما';
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .04);
  font-size: 11px;
  color: var(--pa-text-muted);
}

/* باکس محتوا */
.woocommerce-account #provid-my-account .provid-my-account-content {
  background: var(--pa-card-bg);
  border-radius: 24px;
  padding: 22px 20px;
  box-shadow:
    0 22px 70px rgba(15, 23, 42, .14),
    0 0 0 1px rgba(15, 23, 42, .04);
}

/* متن عمومی ووکامرس */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-content {
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-content a {
  color: var(--pa-brand);
  font-weight: 500;
  text-decoration: none;
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-content a:hover {
  text-decoration: underline;
}

/* =========================
   جدول‌ها (سفارش‌ها و غیره)
   ========================= */

.woocommerce-account #provid-my-account .woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 18px;
  overflow: hidden;
  font-size: 13px;
}

.woocommerce-account #provid-my-account .woocommerce table.shop_table thead {
  background: #f3f4f6;
}

.woocommerce-account #provid-my-account .woocommerce table.shop_table th,
.woocommerce-account #provid-my-account .woocommerce table.shop_table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e7eb;
}

.woocommerce-account #provid-my-account .woocommerce table.shop_table th {
  font-weight: 600;
  color: #111827;
}

.woocommerce-account #provid-my-account .woocommerce table.shop_table td {
  color: #374151;
}

/* دکمه‌ها داخل اکانت */
.woocommerce-account #provid-my-account .woocommerce-MyAccount-content .button,
.woocommerce-account #provid-my-account .woocommerce-MyAccount-content .woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--pa-brand), var(--pa-brand-soft));
  color: #f9fafb !important;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(225, 29, 72, .45);
  transition: transform .12s ease, box-shadow .18s ease, filter .12s ease;
}

.woocommerce-account #provid-my-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account #provid-my-account .woocommerce-MyAccount-content .woocommerce-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(225, 29, 72, .6);
}

/* نوتیف‌ها */
.woocommerce-account #provid-my-account .woocommerce-message,
.woocommerce-account #provid-my-account .woocommerce-error,
.woocommerce-account #provid-my-account .woocommerce-info {
  margin-bottom: 16px;
  border-radius: 16px;
}

/* =========================
   ریسپانسیو
   ========================= */

@media (max-width: 960px) {
  .woocommerce-account #provid-my-account .provid-my-account-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-account #provid-my-account .provid-my-account-sidebar {
    position: static;
    order: 2;
  }

  .woocommerce-account #provid-my-account .provid-my-account-main {
    order: 1;
  }
}

@media (max-width: 640px) {
  .woocommerce-account #provid-my-account {
    padding: 28px 0 40px;
  }

  .woocommerce-account #provid-my-account .provid-my-account-shell {
    padding-inline: 14px;
  }

  .woocommerce-account #provid-my-account .provid-my-account-main-header {
    padding: 12px 14px;
  }

  .woocommerce-account #provid-my-account .provid-my-account-title {
    font-size: 18px;
  }

  .woocommerce-account #provid-my-account .provid-my-account-content {
    padding: 16px 14px;
  }
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}
.provid-hide-title .entry-title,
.provid-hide-title .page-title,
.provid-hide-title .elementor-heading-title {
  display: none !important;
}

.provid-hide-title.woocommerce-account .entry-title,
.provid-hide-title.woocommerce-account .page-title,
.provid-hide-title.woocommerce-account .woocommerce-MyAccount-content h1 {
  display: none !important;
}

.provid-disable-comments #comments,
.provid-disable-comments .comments-area {
  display: none !important;
}
.woocommerce.archive #provid-shop-archive,
.post-type-archive-product #provid-shop-archive {
  --ps-bg: #f9fafb;
  --ps-shell-max: 1200px;
  --ps-brand: #e11d48;
  --ps-brand-soft: #fb7185;
  --ps-text-main: #0f172a;
  --ps-text-muted: #6b7280;

  direction: rtl;
  text-align: right;
  padding: 40px 0 60px;
  background:
    radial-gradient(circle at top right, rgba(248, 113, 113, .16) 0, transparent 55%),
    radial-gradient(circle at bottom left, rgba(56, 189, 248, .12) 0, transparent 60%),
    var(--ps-bg);
}

.woocommerce.archive #provid-shop-archive .provid-shop-shell,
.post-type-archive-product #provid-shop-archive .provid-shop-shell {
  max-width: var(--ps-shell-max);
  margin-inline: auto;
  padding-inline: 20px;
}

#provid-shop-archive .provid-shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}

/* Sidebar */

#provid-shop-archive .provid-shop-sidebar {
  border-radius: 26px;
  padding: 18px 16px 16px;
  background:
    radial-gradient(circle at top left, rgba(248, 113, 113, .24) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, .25) 0, transparent 60%),
    #020617;
  color: #f9fafb;
  box-shadow:
    0 22px 70px rgba(15, 23, 42, .7),
    0 0 0 1px rgba(15, 23, 42, .9);
  position: sticky;
  top: 24px;
}

#provid-shop-archive .provid-shop-sidebar-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

#provid-shop-archive .widget {
  margin: 0 0 14px;
  padding: 10px 10px 10px;
  border-radius: 18px;
  background: rgba(15, 23, 42, .84);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .9);
  font-size: 13px;
}

#provid-shop-archive .widget:last-child {
  margin-bottom: 0;
}

#provid-shop-archive .widget .provid-shop-sidebar-title {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

#provid-shop-archive .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#provid-shop-archive .widget ul li {
  margin: 0 0 6px;
}

#provid-shop-archive .widget ul li:last-child {
  margin-bottom: 0;
}

#provid-shop-archive .widget a {
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 4px 4px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease;
}

#provid-shop-archive .widget a:hover {
  background: rgba(15, 23, 42, .9);
  color: #f9fafb;
}

/* Price filter slider */

#provid-shop-archive .widget_price_filter .price_slider_wrapper {
  padding-top: 4px;
}

#provid-shop-archive .widget_price_filter .price_slider {
  position: relative;
  height: 4px;
  background: rgba(15, 23, 42, .7);
  border-radius: 999px;
  margin: 4px 2px 10px;
}

#provid-shop-archive .widget_price_filter .ui-slider-range {
  position: absolute;
  height: 100%;
  background: linear-gradient(135deg, var(--ps-brand), var(--ps-brand-soft));
  border-radius: 999px;
}

#provid-shop-archive .widget_price_filter .ui-slider-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 999px;
  background: #f9fafb;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .5);
  cursor: pointer;
}

#provid-shop-archive .widget_price_filter .price_slider_amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #e5e7eb;
}

#provid-shop-archive .widget_price_filter .price_slider_amount .button {
  border-radius: 999px;
  font-size: 11px;
  padding: 5px 10px;
  background: #f9fafb;
  color: #020617;
  border: none;
}

/* Main */

#provid-shop-archive .provid-shop-main {
  min-width: 0;
}

/* Header */

#provid-shop-archive .provid-shop-header {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .9fr);
  gap: 18px 26px;
  align-items: center;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px rgba(15, 23, 42, .16),
    0 0 0 1px rgba(15, 23, 42, .04);
}

#provid-shop-archive .provid-shop-header-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#provid-shop-archive .provid-shop-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(15, 23, 42, .04);
  color: var(--ps-text-muted);
}

#provid-shop-archive .provid-shop-title {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ps-text-main);
}

#provid-shop-archive .provid-shop-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ps-text-muted);
}

#provid-shop-archive .provid-shop-header-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 14px;
  align-items: center;
}

#provid-shop-archive .provid-shop-result-count {
  font-size: 12px;
  color: var(--ps-text-muted);
}

#provid-shop-archive .provid-shop-ordering .woocommerce-ordering {
  margin: 0;
}

#provid-shop-archive .provid-shop-ordering select {
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, .7);
  padding: 6px 20px 6px 10px;
  background: #ffffff;
}

/* Products grid */

#provid-shop-archive ul.products {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px) {
  #provid-shop-archive ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  #provid-shop-archive ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #provid-shop-archive ul.products {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product card */

#provid-shop-archive ul.products li.product {
  position: relative;
  margin: 0 !important;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, .14),
    0 0 0 1px rgba(15, 23, 42, .04);
  transition: transform .16s ease, box-shadow .18s ease;
}

#provid-shop-archive ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .22),
    0 0 0 1px rgba(225, 29, 72, .3);
}

#provid-shop-archive ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Thumbnail */

#provid-shop-archive ul.products li.product .woocommerce-LoopProduct-link img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

/* Sale badge */

#provid-shop-archive ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  background: linear-gradient(135deg, var(--ps-brand), var(--ps-brand-soft));
}

/* Card body */

#provid-shop-archive ul.products li.product .woocommerce-loop-product__title,
#provid-shop-archive ul.products li.product .price {
  padding-inline: 14px;
}

#provid-shop-archive ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  font-weight: 700;
  margin: 10px 0 4px;
  color: var(--ps-text-main);
}

#provid-shop-archive ul.products li.product .price {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--ps-brand);
}

/* Add to cart */

#provid-shop-archive ul.products li.product .button {
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    font-size: 59px;
    padding: 0px;
    background: linear-gradient(135deg, var(--ps-brand), var(--ps-brand-soft));
    color: #f9fafb;
    border: none;
    box-shadow: 0 14px 30px rgba(225, 29, 72, .45);
    transition: transform .12s ease, box-shadow .16s ease, filter .12s ease;
    width: 64px;
    height: 64px;
    border-radius: 5px;
}

#provid-shop-archive ul.products li.product .button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px rgba(225, 29, 72, .6);
}

/* Pagination */

#provid-shop-archive .woocommerce-pagination {
  margin-top: 26px;
}

#provid-shop-archive .woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow:
    0 18px 46px rgba(15, 23, 42, .18),
    0 0 0 1px rgba(15, 23, 42, .04);
}

#provid-shop-archive .woocommerce-pagination li {
  margin: 0;
}

#provid-shop-archive .woocommerce-pagination a,
#provid-shop-archive .woocommerce-pagination span {
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  color: var(--ps-text-main);
}

#provid-shop-archive .woocommerce-pagination .current {
  background: linear-gradient(135deg, var(--ps-brand), var(--ps-brand-soft));
  color: #f9fafb;
}

/* Responsive */

@media (max-width: 960px) {
  #provid-shop-archive .provid-shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #provid-shop-archive .provid-shop-sidebar {
    position: static;
    order: 2;
  }

  #provid-shop-archive .provid-shop-main {
    order: 1;
  }

  #provid-shop-archive .provid-shop-header {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .woocommerce.archive #provid-shop-archive,
  .post-type-archive-product #provid-shop-archive {
    padding: 28px 0 40px;
  }

  .woocommerce.archive #provid-shop-archive .provid-shop-shell,
  .post-type-archive-product #provid-shop-archive .provid-shop-shell {
    padding-inline: 14px;
  }

  #provid-shop-archive .provid-shop-header {
    padding: 14px 14px;
  }

  #provid-shop-archive .provid-shop-title {
    font-size: 20px;
  }
}
.woocommerce.archive #provid-shop-archive .provid-shop-layout,
.post-type-archive-product #provid-shop-archive .provid-shop-layout {
  display: grid;
  grid-template-columns: minmax(260px, 310px) minmax(0, 1fr);
  gap: 22px;
  align-items: flex-start;
}
/* Force our grid for products inside our archive wrapper */
.woocommerce.archive #provid-shop-archive ul.products,
.post-type-archive-product #provid-shop-archive ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

/* Reset WooCommerce floats and widths */
#provid-shop-archive ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
#provid-shop-archive ul.products li.product {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, .14),
    0 0 0 1px rgba(15, 23, 42, .04);
  transition: transform .16s ease, box-shadow .18s ease;
}

#provid-shop-archive ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, .22),
    0 0 0 1px rgba(225, 29, 72, .3);
}

#provid-shop-archive ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Thumbnail with nicer aspect ratio */
#provid-shop-archive ul.products li.product .woocommerce-LoopProduct-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
/* Layout for products list inside our custom archive */
#provid-shop-archive ul.products {
  display: flex !important;
  flex-wrap: wrap;
  gap: 22px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  justify-content: flex-start;
}

/* Remove WooCommerce ghost elements used for float layout */
#provid-shop-archive ul.products::before,
#provid-shop-archive ul.products::after {
  display: none !important;
}

/* Reset Woo default float/width and define our columns */
#provid-shop-archive ul.products li.product {
  float: none !important;
  margin: 0 !important;
  width: calc(25% - 16.5px); /* 4 columns on desktop */
}
@media (max-width: 1100px) {
  #provid-shop-archive ul.products li.product {
    width: calc(33.333% - 15px); /* 3 columns */
  }
}
@media (max-width: 840px) {
  #provid-shop-archive ul.products li.product {
    width: calc(50% - 11px); /* 2 columns */
  }
}
@media (max-width: 520px) {
  #provid-shop-archive ul.products li.product {
    width: 100%; /* 1 column */
  }
}
.woocommerce-message.provid-addtocart-notice {
  position: fixed;
  left: 16px;
  bottom: 90px;
  z-index: 9999;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, .25),
    0 0 0 1px rgba(15, 23, 42, .06);
  border: none;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.woocommerce-message.provid-addtocart-notice::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #f9fafb;
  font-size: 12px;
}

/* optional: auto-hide animation (CSS only) */
.woocommerce-message.provid-addtocart-notice {
  opacity: 0;
  transform: translateY(10px);
  animation: provid-addtocart-toast 4s ease forwards;
}

@keyframes provid-addtocart-toast {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  80% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (max-width: 640px) {
  .woocommerce-message.provid-addtocart-notice {
    left: 10px;
    right: 10px;
    max-width: none;
    bottom: 80px;
  }
}
:where(
  .single_add_to_cart_button,
  .add_to_cart_button,
  .product a.button.add_to_cart_button,
  .provid-atc-btn
) {
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 2.4rem;
  font-family: "Dana DemiBold", system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    opacity 0.16s ease;
}

/* هاور / فعال */
:where(
  .single_add_to_cart_button,
  .add_to_cart_button,
  .product a.button.add_to_cart_button,
  .provid-atc-btn
):hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(225, 29, 72, 0.45);
  opacity: 0.98;
}

/* وقتی کلیک می‌کنی */
:where(
  .single_add_to_cart_button,
  .add_to_cart_button,
  .product a.button.add_to_cart_button,
  .provid-atc-btn
):active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.32);
}

/* حذف استایل پیش‌فرض ووکامرس */
:where(
  .single_add_to_cart_button,
  .add_to_cart_button,
  .product a.button.add_to_cart_button,
  .provid-atc-btn
).button,
:where(
  .single_add_to_cart_button,
  .add_to_cart_button,
  .product a.button.add_to_cart_button,
  .provid-atc-btn
).button.alt {
  background: none;
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  border: none;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
}
.bdt-wc-add-to-cart a {
    width: 100%;
    height: 54px !important;
    border-radius: 20px !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: -.2px !important;
    width: 100% !important;
    border: 1px solid rgba(225, 29, 72, .22) !important;
    /* background: linear-gradient(180deg, var(--pp-brand), var(--pp-brand2)) !important; */
    box-shadow: 0 22px 60px rgba(225, 29, 72, .20) !important;
    transform: translateZ(0);
    background-image: linear-gradient(180deg, #fb2b63, #e11d48);
    color: #fff;
}
/* ---------------------------------------------------
   PROVID x LEARNPRESS COURSES ARCHIVE FIX
   فقط برای آرشیو دوره‌های LearnPress
--------------------------------------------------- */

/* پس‌زمینه ملایم برای کل صفحه دوره‌ها */
body.post-type-archive-lp_course {
  background: var(--pp-bg, #fbf5f7);
}

/* گرید 3 ستونه برای لیست دوره‌ها */
body.post-type-archive-lp_course .learn-press-courses {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  body.post-type-archive-lp_course .learn-press-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body.post-type-archive-lp_course .learn-press-courses {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* هر دوره = کارت تمیز، نه تمام عرض */
body.post-type-archive-lp_course .learn-press-courses .course {
  background: var(--pp-card, #ffffff);
  border-radius: var(--pp-r2, 24px);
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2, 6, 23, 0.06));
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* تصویر دوره داخل کارت، با گوشه‌های گرد */
body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail,
body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail a {
  display: block;
  overflow: hidden;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

body.post-type-archive-lp_course .learn-press-courses .course:hover .course-thumbnail img {
  transform: scale(1.04);
}

/* محتوای متنی کارت */
body.post-type-archive-lp_course .learn-press-courses .course .course-content {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* عنوان دوره */
body.post-type-archive-lp_course .learn-press-courses .course .course-title {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-title a {
  color: var(--pp-text, #0b1220);
  text-decoration: none;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-title a:hover {
  color: var(--pp-brand, #e11d48);
}

/* متای دوره (مدرس، تعداد درس، …) */
body.post-type-archive-lp_course .learn-press-courses .course .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.7));
}

/* قیمت */
body.post-type-archive-lp_course .learn-press-courses .course .course-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-brand, #e11d48);
}

/* اگر قیمت تخفیفی باشد */
body.post-type-archive-lp_course .learn-press-courses .course .course-price del {
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.55));
  margin-inline-start: 6px;
}
body.post-type-archive-lp_course .learn-press-courses .course .course-price ins {
  text-decoration: none;
}

/* نوار پایین کارت: قیمت + دکمه */
body.post-type-archive-lp_course .learn-press-courses .course .course-info,
body.post-type-archive-lp_course .learn-press-courses .course .course-footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* بعضی قالب‌ها دکمه را داخل .course-readmore می‌گذارند */
body.post-type-archive-lp_course .learn-press-courses .course .course-readmore {
  margin-top: 0;
}

/* دکمه «مشاهده دوره» – درستش می‌کنیم :) */
body.post-type-archive-lp_course .learn-press-courses .course .course-readmore a,
body.post-type-archive-lp_course .learn-press-courses .course a.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  color: #fff;
  text-decoration: none;
  border: none;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
  cursor: pointer;
  position: static !important;   /* اگر قبلاً absolute شده باشد، خنثی شود */
  transform: none !important;
  margin: 0;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-readmore a:hover,
body.post-type-archive-lp_course .learn-press-courses .course a.lp-button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

/* برای موبایل، ارتفاع تصویر کمی کم‌تر شود */
@media (max-width: 640px) {
  body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail img {
    height: 170px;
  }
}
/* =========================================
   PROVID LEARNPRESS ARCHIVE (RTL)
   Target: Page template "Provid LearnPress Courses"
   Wrapper class: .provid-lp-archive
========================================= */

:where(.provid-lp-archive) {
  --lp-max-width: min(1240px, calc(100% - 32px));
  --lp-gap: 24px;
  --lp-gap-lg: 32px;

  direction: rtl;
  text-align: right;
  background: var(--pp-bg, #fbf5f7);
  color: var(--pp-text, #0b1220);
  font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI", sans-serif;
  padding-block: 24px 64px;
}

/* Container */
.provid-lp-archive main,
.provid-lp-archive > main,
.provid-lp-archive > .site-main {
  width: var(--lp-max-width);
  margin-inline: auto;
}

/* ========== HERO ========== */

.provid-lp-hero {
  width: 100%;
  margin-inline: auto;
  margin-bottom: var(--lp-gap-lg);
}

.provid-lp-hero__inner {
  background: linear-gradient(135deg, rgba(251, 245, 247, 0.7), #ffffff);
  border-radius: var(--pp-r2, 24px);
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2, 6, 23, 0.06));
  padding: 24px 20px 28px;
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.1));
}

.provid-eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pp-muted, rgba(11, 18, 32, 0.62));
  margin: 0 0 8px;
}

.provid-lp-hero__title {
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.4;
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--pp-text, #0b1220);
}

.provid-lp-hero__subtitle {
  margin: 0 0 18px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.72));
  font-size: 14px;
  max-width: 42rem;
}

/* Optional search box inside hero */
.provid-lp-hero__search {
  max-width: 420px;
  width: 100%;
}

.provid-lp-hero__search input[type="search"],
.provid-lp-hero__search input[type="text"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.12));
  padding: 10px 16px;
  font-size: 13px;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 0 transparent;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.provid-lp-hero__search input[type="search"]:focus,
.provid-lp-hero__search input[type="text"]:focus {
  border-color: var(--pp-brand, #e11d48);
  box-shadow: 0 0 0 1px var(--pp-focus, rgba(225, 29, 72, 0.22));
}

/* ========== FILTER BAR ========== */

.provid-lp-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: var(--lp-gap-lg);
}

.provid-lp-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.provid-lp-filter-chip {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.12));
  background: rgba(255, 255, 255, 0.9);
  color: var(--pp-muted, rgba(11, 18, 32, 0.7));
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.provid-lp-filter-chip:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--pp-text, #0b1220);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.provid-lp-filter-chip.is-active {
  background: linear-gradient(135deg, var(--pp-brand2, #fb7185), var(--pp-brand, #e11d48));
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.35);
}

/* Sort dropdown */
.provid-lp-filters__sort {
  margin-inline-start: auto;
}

.provid-lp-sort-select {
  min-width: 160px;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.16));
  background: #ffffff;
  font-size: 12px;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--pp-muted, rgba(11, 18, 32, 0.72));
}

/* ========== GRID ========== */

.provid-lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lp-gap);
  margin-bottom: var(--lp-gap-lg);
}

/* Responsive grid */
@media (max-width: 992px) {
  .provid-lp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .provid-lp-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ========== COURSE CARD ========== */

.provid-lp-course-card {
  background: var(--pp-card, #ffffff);
  border-radius: var(--pp-r2, 24px);
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2, 6, 23, 0.06));
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Thumbnail */
.provid-lp-course-card__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  margin: 10px 10px 0;
}

.provid-lp-course-card__thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

.provid-lp-course-card:hover .provid-lp-course-card__thumb img {
  transform: scale(1.04);
}

/* Body */
.provid-lp-course-card__body {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.provid-lp-course-card__title {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.provid-lp-course-card__title a {
  color: var(--pp-text, #0b1220);
  text-decoration: none;
}

.provid-lp-course-card__title a:hover {
  color: var(--pp-brand, #e11d48);
}

/* Meta info (lessons, duration, level, etc.) */
.provid-lp-course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.7));
}

.provid-lp-course-card__meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* Footer: price + button */
.provid-lp-course-card__footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.provid-lp-course-card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-brand, #e11d48);
}

/* اگر LearnPress price HTML بسازد، فقط کمی تنظیم تایپوگرافی */
.provid-lp-course-card__price del {
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.55));
  margin-inline-start: 6px;
}

.provid-lp-course-card__price ins {
  text-decoration: none;
}

/* CTA button (استفاده از دکمه Provid موجود، فقط سایز کوچک‌تر) */
.provid-lp-course-card__btn {
  font-size: 12px;
  padding: 0.55rem 1.4rem;
  white-space: nowrap;
}

/* ========== PAGINATION ========== */

.provid-lp-archive .navigation.pagination,
.provid-lp-archive .woocommerce-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.provid-lp-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.provid-lp-archive .page-numbers li {
  list-style: none;
}

.provid-lp-archive .page-numbers a,
.provid-lp-archive .page-numbers span {
  min-width: 32px;
  height: 32px;
  padding-inline: 10px;
  border-radius: 999px;
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.16));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--pp-muted, rgba(11, 18, 32, 0.72));
  background: #ffffff;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.provid-lp-archive .page-numbers a:hover {
  border-color: var(--pp-brand, #e11d48);
  color: var(--pp-text, #0b1220);
}

.provid-lp-archive .page-numbers .current {
  background: linear-gradient(135deg, var(--pp-brand2, #fb7185), var(--pp-brand, #e11d48));
  border-color: transparent;
  color: #ffffff;
}

/* ========== SEO TEXT SECTION ========== */

.provid-lp-seo-text {
  margin-top: 40px;
  padding: 22px 18px 4px;
  border-radius: var(--pp-r2, 24px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed var(--pp-line, rgba(15, 23, 42, 0.16));
}

.provid-lp-seo-text h2 {
  font-size: 16px;
  margin: 0 0 10px;
}

.provid-lp-seo-text p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--pp-muted, rgba(11, 18, 32, 0.78));
  margin: 0 0 10px;
}

/* ========== MOBILE TWEAKS ========== */

@media (max-width: 640px) {
  .provid-lp-archive {
    padding-block: 16px 40px;
  }

  .provid-lp-hero__inner {
    padding: 18px 16px 20px;
  }

  .provid-lp-filters {
    align-items: flex-start;
  }

  .provid-lp-filters__sort {
    width: 100%;
  }

  .provid-lp-sort-select {
    width: 100%;
  }

  .provid-lp-course-card__thumb img {
    height: 170px;
  }
}
/* ---------------------------------------------------
   PROVID x LEARNPRESS COURSES ARCHIVE FIX
   فقط برای آرشیو دوره‌های LearnPress
--------------------------------------------------- */

/* پس‌زمینه ملایم برای کل صفحه دوره‌ها */
body.post-type-archive-lp_course {
  background: var(--pp-bg, #fbf5f7);
}

/* گرید 3 ستونه برای لیست دوره‌ها */
body.post-type-archive-lp_course .learn-press-courses {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* ریسپانسیو */
@media (max-width: 992px) {
  body.post-type-archive-lp_course .learn-press-courses {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body.post-type-archive-lp_course .learn-press-courses {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* هر دوره = کارت تمیز، نه تمام عرض */
body.post-type-archive-lp_course .learn-press-courses .course {
  background: var(--pp-card, #ffffff);
  border-radius: var(--pp-r2, 24px);
  box-shadow: var(--pp-shadow-soft, 0 12px 26px rgba(2, 6, 23, 0.06));
  border: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* تصویر دوره داخل کارت، با گوشه‌های گرد */
body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail,
body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail a {
  display: block;
  overflow: hidden;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

body.post-type-archive-lp_course .learn-press-courses .course:hover .course-thumbnail img {
  transform: scale(1.04);
}

/* محتوای متنی کارت */
body.post-type-archive-lp_course .learn-press-courses .course .course-content {
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* عنوان دوره */
body.post-type-archive-lp_course .learn-press-courses .course .course-title {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-title a {
  color: var(--pp-text, #0b1220);
  text-decoration: none;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-title a:hover {
  color: var(--pp-brand, #e11d48);
}

/* متای دوره (مدرس، تعداد درس، …) */
body.post-type-archive-lp_course .learn-press-courses .course .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.7));
}

/* قیمت */
body.post-type-archive-lp_course .learn-press-courses .course .course-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--pp-brand, #e11d48);
}

/* اگر قیمت تخفیفی باشد */
body.post-type-archive-lp_course .learn-press-courses .course .course-price del {
  font-size: 11px;
  color: var(--pp-muted, rgba(11, 18, 32, 0.55));
  margin-inline-start: 6px;
}
body.post-type-archive-lp_course .learn-press-courses .course .course-price ins {
  text-decoration: none;
}

/* نوار پایین کارت: قیمت + دکمه */
body.post-type-archive-lp_course .learn-press-courses .course .course-info,
body.post-type-archive-lp_course .learn-press-courses .course .course-footer {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--pp-line, rgba(15, 23, 42, 0.08));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* بعضی قالب‌ها دکمه را داخل .course-readmore می‌گذارند */
body.post-type-archive-lp_course .learn-press-courses .course .course-readmore {
  margin-top: 0;
}

/* دکمه «مشاهده دوره» – درستش می‌کنیم :) */
body.post-type-archive-lp_course .learn-press-courses .course .course-readmore a,
body.post-type-archive-lp_course .learn-press-courses .course a.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background-image: linear-gradient(180deg, #fb2b63, #e11d48);
  color: #fff;
  text-decoration: none;
  border: none;
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.35);
  cursor: pointer;
  position: static !important;   /* اگر قبلاً absolute شده باشد، خنثی شود */
  transform: none !important;
  margin: 0;
}

body.post-type-archive-lp_course .learn-press-courses .course .course-readmore a:hover,
body.post-type-archive-lp_course .learn-press-courses .course a.lp-button:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

/* برای موبایل، ارتفاع تصویر کمی کم‌تر شود */
@media (max-width: 640px) {
  body.post-type-archive-lp_course .learn-press-courses .course .course-thumbnail img {
    height: 170px;
  }
}
