@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//gallery-vaniya.ir/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.0.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//gallery-vaniya.ir/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: iranyekan, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 15px;
	--wd-title-font: iranyekan, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan, sans-serif;
	--wd-widget-title-font: iranyekan, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 15px;
	--wd-header-el-font: iranyekan, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 15px;
	--wd-primary-color: rgb(38,38,49);
	--wd-alternative-color: rgb(255,75,0);
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(255,75,0);
	--btn-default-bgcolor: rgb(6,45,63);
	--btn-default-bgcolor-hover: rgb(6,45,63);
	--btn-accented-bgcolor: rgb(6,45,63);
	--btn-accented-bgcolor-hover: rgb(6,45,63);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 1000px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.page .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.single-product .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.woodmart-archive-blog .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.single-post .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.woodmart-archive-portfolio .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.single-portfolio .wd-page-content {
	background-color: rgb(224,236,242);
	background-image: none;
}
.product-labels .product-label.onsale {
	background-color: rgb(255,75,0);
	color: rgb(255,255,255);
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1231px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}

@media (min-width: 1248px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1231px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* ==========================================================
   متغیرهای رنگی و پایه‌ای (برای شخصی‌سازی راحت‌تر)
========================================================== */
:root {
  --table-border-color: #e5e7eb;
  --table-head-bg: #f3f4f6;
  --text-main: #374151;
  --text-muted: #6b7280;
  --btn-primary-bg: #3b82f6;
  --btn-primary-hover: #2563eb;
  --btn-success-bg: #10b981;
  --btn-success-hover: #059669;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* ==========================================================
   استایل‌های دسکتاپ (سایزهای بزرگتر از 768px)
========================================================== */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  text-align: right;
  font-family: inherit;
  color: var(--text-main);
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.woocommerce-orders-table thead {
  background-color: var(--table-head-bg);
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  padding: 16px;
  border-bottom: 1px solid var(--table-border-color);
  vertical-align: middle;
}

.woocommerce-orders-table thead th {
  font-weight: 600;
  color: #111827;
  border-bottom: 2px solid var(--table-border-color);
}

.woocommerce-orders-table tbody tr {
  transition: background-color 0.2s ease;
}

.woocommerce-orders-table tbody tr:hover {
  background-color: #f9fafb;
}

/* استایل دکمه‌ها (عمومی) */
.woocommerce-orders-table .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  margin: 2px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

/* دکمه مشاهده */
.woocommerce-orders-table .button.view {
  background-color: var(--btn-primary-bg);
  color: #ffffff;
}
.woocommerce-orders-table .button.view:hover {
  background-color: var(--btn-primary-hover);
}

/* دکمه مشاهده فاکتور */
.woocommerce-orders-table .button.fci-invoice {
  background-color: var(--btn-success-bg);
  color: #ffffff;
}
.woocommerce-orders-table .button.fci-invoice:hover {
  background-color: var(--btn-success-hover);
}

.woocommerce-orders-table__cell-order-number a {
  color: var(--btn-primary-bg);
  font-weight: bold;
  text-decoration: none;
}

/* ==========================================================
   استایل‌های موبایل و تبلت (سایزهای کوچکتر از 768px)
========================================================== */
@media screen and (max-width: 768px) {
  
  /* تبدیل جدول به بلاک برای چیدمان کارتی */
  .woocommerce-orders-table, 
  .woocommerce-orders-table tbody, 
  .woocommerce-orders-table tr, 
  .woocommerce-orders-table th, 
  .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  /* مخفی کردن هدر جدول در موبایل */
  .woocommerce-orders-table thead {
    display: none;
  }

  /* استایل هر سطر سفارش به عنوان یک کارت */
  .woocommerce-orders-table tbody tr {
    margin-bottom: 16px;
    border: 1px solid var(--table-border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    background: #fff;
    overflow: hidden;
  }

  /* استایل سلول‌ها در حالت موبایل */
  .woocommerce-orders-table tr th,
  .woocommerce-orders-table tr td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    text-align: left; /* محتوا سمت چپ */
  }

  .woocommerce-orders-table tr td:last-child {
    border-bottom: none;
  }

  /* فراخوانی نام ستون‌ها از data-title برای نمایش در موبایل */
  .woocommerce-orders-table td[data-title]::before,
  .woocommerce-orders-table th[data-title]::before {
    content: attr(data-title);
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 10px;
    text-align: right; /* عنوان سمت راست */
  }

  /* بهینه‌سازی بخش عملیات (دکمه‌ها) در موبایل */
  .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  /* دکمه‌ها در موبایل تمام عرض می‌شوند و عنوان "عملیات‌ها" حذف می‌شود تا زیباتر شود */
  .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions::before {
    display: none; 
  }

  .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    width: 100%;
    margin: 0;
    padding: 12px;
    font-size: 14px;
  }
}