/*
 Theme Name:	Astra Child
 Theme URI:		https://www.zhaket.com/store/web/nagatheme/
 Description:	Astra Child Theme Developed By NagaTheme
 Author:		NagaTheme
 Author URI:	https://NagaTheme.com
 License:		GNU General Public License v2 or later
 License URI:	http://www.gnu.org/licenses/gpl-2.0.html
 text-domain:	astra-child
 Template:		astra
 Version:		4.11.8
*/

/* = Theme customization starts below here = is blocked by functions.php
------------------------------------------------------------------------ */
.light-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 400px;
    background-color: #0cffb9;
    border-radius: 120px;
    transform: translate(-50%, -50%) rotate(312deg);
    top: 37%;
    left: 38%;
    filter: blur(100px);
}

.op-steps {
    font-family: 'IRANYekanX';
}
/* فونت کلی برای بخش پیگیری پیشرفته */
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content * {
  font-family: "IRANYekanX", Sans-serif !important;
  direction: rtl;

}
.tb-nemodar div {
    text-align: center !important;
}
.op-order-table th {
    color: #666;
    font-weight: 500;
    width: 30%;
    font-family: 'IRANYekanX'!important;
}

.op-order-table th, .op-order-table td {
    text-align: right;
    padding: 8px 6px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'IRANYekanX';
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce h2, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce h3 {
    color: #443a3a;
    font-weight: 400;
    margin-bottom: var(--section-title-spacing, 45px);
    margin-top: 0;
}

body.elementor-page-4791:not(.elementor-motion-effects-element-type-background), body.elementor-page-4791 > .elementor-motion-effects-container > .elementor-motion-effects-layer
 {
    background-color: #f1f1f1;
}

/* ====== Order Tracking Table Styles ====== */

.ot-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
      font-family: 'IRANYekanX' !important;
}

.ot-table thead {
  background: linear-gradient(135deg, #348366 0%, #185c41 100%);
  color: #fff;
}

.ot-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.ot-table tbody tr {
  transition: background 0.3s ease;
}

.ot-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.ot-table tbody tr:hover {
  background: #f1f8ff;
}

.ot-table tbody td {
  padding: 12px 16px;
  text-align: center;
  font-size: 13px;
  color: #333;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

.ot-table tbody td a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 600;
}

.ot-table tbody td a:hover {
  text-decoration: underline;
}

.ot-empty {
  color: #999;
  font-style: italic;
}

.ot-notice {
  padding: 20px;
  background: #fff5f5;
  border: 1px solid #ffcccc;
  border-radius: 8px;
  text-align: center;
  color: #c00;
  font-size: 14px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .ot-table thead { display: none; }
  .ot-table tbody tr {
    margin-bottom: 12px;
    display: block;
    border-bottom: 2px solid #eee;
  }
  .ot-table tbody td {
    display: block;
    width: 100%;
    text-align: right;
    padding: 10px;
    border-bottom: none;
  }
  .ot-table tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #666;
    display: block;
    margin-bottom: 4px;
  }
}
/* Stepper (4 Steps) */
.order-progress4 {
  margin: 30px auto;
  max-width: 800px;
  text-align: center;
  font-family: 'IRANSans', sans-serif;
}
.order-steps4 {
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.order-steps4::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  height: 4px;
  background: #eee;
  z-index: 0;
}
.order-steps4 li {
  position: relative;
  z-index: 1;
  flex: 1;
  text-align: center;
}
.order-steps4 li .step-number {
  display: inline-block;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  font-weight: bold;
  margin-bottom: 6px;
  transition: background 0.3s;
}
.order-steps4 li.active .step-number {
  background: #009fff;
}
.order-steps4 li .step-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 3px;
}
.order-steps4 li.active .step-label {
  color: #000;
  font-weight: 600;
}
.tracking-code {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
  background: #f9f9f9;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
}
/* === حالت لغو شده (یک مرحله قرمز) === */
.order-progress-cancelled {
  margin: 24px auto;
  max-width: 600px;
  text-align: center;
  font-family: 'IRANSans', sans-serif;
}
.order-steps-cancelled {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}
.order-steps-cancelled .is-cancelled {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffe6e6;
  border: 2px solid #ff5a5a;
  color: #b00020;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.order-steps-cancelled .step-dot {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #ff5a5a;
  color: #fff;
  font-weight: 800;
}

/* === استپر ۴ مرحله‌ای (حالت عادی) === */
.order-progress4{margin:30px auto;max-width:800px;text-align:center;font-family:'IRANSans',sans-serif}
.order-steps4{display:flex;justify-content:space-between;list-style:none;padding:0;margin:0;position:relative}
.order-steps4::before{content:'';position:absolute;top:50%;left:5%;width:90%;height:4px;background:#eee;z-index:0}
.order-steps4 li{position:relative;z-index:1;flex:1;text-align:center}
.order-steps4 li .step-number{display:inline-block;width:38px;height:38px;line-height:38px;border-radius:50%;background:#ccc;color:#fff;font-weight:700;margin-bottom:6px;transition:background .3s}
.order-steps4 li.active .step-number{background:#009fff}
.order-steps4 li .step-label{display:block;font-size:14px;color:#666;margin-top:3px}
.order-steps4 li.active .step-label{color:#000;font-weight:600}
.tracking-code{margin-top:15px;font-size:14px;color:#333;background:#f9f9f9;padding:8px 12px;border-radius:6px;display:inline-block}
.op-debug{margin-top:8px;font-size:12px;color:#666}

@media(max-width:768px){
    .mobile-menu li{
        width:100%!important;
    }
}

.icon-box-account {
    padding: 15px !important;
}
p {
    font-family: 'IRANYekanX' !important;
}
a.woocommerce-button.button.fci-invoice {
    background-color: #3baf88;
    border-radius: 15px;
}

a.woocommerce-button.button.view {
    background-color: #5bb78d;
    border-radius: 15px;
}

table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table span {
    color: white !important;
    font-size: 14px;
    font-family: 'IRANYekanX';
}
table.woocommerce-orders-table.woocommerce-MyAccount-orders.shop_table.shop_table_responsive.my_account_orders.account-orders-table tr {
    color: white;
    font-family: 'IRANYekanX';
    font-size: 12px;
}

.woocommerce-MyAccount-content-wrapper {
    padding: 60px !important;
}

form.woocommerce-EditAccountForm.edit-account input {
    background-color: #ffffff2e !important;
    border-radius: 15px !important;
    color: white !important;
    font-family: 'IRANYekanX' !important;
}
span#account_display_name_description em {
    color: white !important;
}

/*button.show-password-input {*/
/*    display: none;*/
/*}*/

button.show-password-input::before {
    content: 'نمایش رمز عبور' !important;
    font-size: 14px !important;
}
button.show-password-input {
    background-color: #416b5c !important;
    margin-top: 16px;
    border-radius: 15px;
}

time {
    color: white !important;
    font-family: 'IRANYekanX' !important;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-status {
    color: white !important;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-total {
    color: white !important;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    color: white !important;
    margin: 10px !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce a {
    color: #1b1c1c;
}
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    padding: 8px !important;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    padding: 35px;
}

span.woocommerce-Price-amount.amount {
    color: white!important;
    font-family: 'IRANYekanX';
}
a.woocommerce-button.button.fci-invoice.order-actions-button {
    color: white !important;
}
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details td {
    border-color: #45826c !important;
    padding: 12px !important;
}
h2.woocommerce-order-details__title {
    color: black !important;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content>div>p {
    color: #000000 !important;
}
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content>div>p {
    color: #000000 !important;
}
h2.woocommerce-column__title {
    color: black !important;
}

.account-nav .account-btn
 {
    background: #6ec1e400!important;
    color: #fff;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0 !important;
    line-height: 1;
    text-decoration: none;
}
span.acc-label {
    font-size: 12px !important;
}
.account-nav .account-dropdown {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + -3px)!important;
    min-width: 180px;
    background: #28806e!important;
    border: none!important;
    border-radius: 12px;
    padding: 14px!important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    z-index: 9999;
}
.account-menu-list a:hover {
    background: #369480!important;
}

span.woocommerce-Price-amount.amount
 {
    color: #286557!important;
    font-family: 'IRANYekanX';
}

.wnp-select-toggle span {
    color: black;
}
a.wnp-button.wnp-reset {
    display: flex
;
    align-content: center;
    justify-content: center;
    align-items: center;
}

button:focus, .menu-toggle:hover, button:hover, .ast-button:hover, .ast-custom-button:hover .button:hover, .ast-custom-button:hover, input[type=reset]:hover, input[type=reset]:focus, input#submit:hover, input#submit:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, input[type="submit"]:focus

 {
    color: #ffffff;
    background-color: #e8e8e8!important;
    border-color: #e0dede!important;
}

.kife-pol .kh-wallet p {
    display: none;
}
.kife-pol .kh-wallet h3 {
    font-size: 16px;
    color: white;
    font-weight: 600;
    padding-bottom:20px!important
}
.kife-pol .kh-wallet form{
    flex-wrap: nowrap;
        margin-top: 2.5rem;
}

.kife-pol label {
    position: absolute;
    top: 55px;
    right: 3px;
    color: white;
    font-family: 'IRANYekanX';
    font-size: 12px;
}
.kife-pol .kh-wallet input[type=number] {
    max-width: 160px;
    background-color: #598374;
    border-color: #79b6a1;
}

.kh-wallet button {
    padding: .5rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #5abe90;
    color: #fff;
    cursor: pointer;
    font-family: 'IRANYekanX';
}

/* استایل برای جدول آمار خرید با کلاس اختصاصی */
.user-purchase-stats .user-purchase-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: #fff; /* رنگ پس‌زمینه سفید برای جدول */
    border: 1px solid #ddd; /* حاشیه برای جدول */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* سایه برای زیبایی */
}

.user-purchase-stats .user-purchase-table th,
.user-purchase-stats .user-purchase-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

.user-purchase-stats .user-purchase-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.user-purchase-stats .user-purchase-table td {
    background-color: #fafafa;
}

/* استایل برای نمودار */
.user-purchase-stats .user-purchase-chart {
    max-width: 100%;
    height: 400px;
    margin-top: 20px;
}
/* استایل برای جدول آمار خرید با کلاس اختصاصی */
.user-purchase-stats .user-purchase-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: #fff; /* رنگ پس‌زمینه سفید برای جدول */
    border: 1px solid #ddd; /* حاشیه برای جدول */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* سایه برای زیبایی */
}

.user-purchase-stats .user-purchase-table th,
.user-purchase-stats .user-purchase-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

.user-purchase-stats .user-purchase-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.user-purchase-stats .user-purchase-table td {
    background-color: #fafafa;
}

/* استایل برای نمودار */
.user-purchase-stats .user-purchase-chart {
    max-width: 100%;
    height: 400px;
    margin-top: 20px;
}
/* استایل برای نمودار */
.user-purchase-stats .user-purchase-chart {
    max-width: 100%;
    height: 400px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.title-footer::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -4px;
    transform: translate(-50%, -50%);
    width: 11px;
    height: 3px;
    background-color: #009688;
    border-radius: 4px;
}

.img-footer{
    /* From https://css.glass */
background: rgba(255, 255, 255, 0.2);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
border: 1px solid rgba(255, 255, 255, 0.3);
}

#ast-scroll-top {
    background-color: #000000;
    font-size: 20px !important;
    border-radius: 26px;
    bottom: 11%!important;
}

.credit-button {
    width: 100%;
    background-color: #009b61!important;
}

.social-sticky {
    background-color: #00000052;
    padding: 5px;
    border-radius: 8px;
}

.home-services-btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 23px;
    background: linear-gradient(230deg, rgb(54 148 115) 26.26% 26.26%, #0bdeb7 42.16%, #00ffa4 134.57%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    padding: 2px;
    box-sizing: border-box;
}

.home-services-btn .elementor-button-icon {
    padding: 7px 12px;
    border-radius: 23px;
    background: linear-gradient(230deg, rgb(54 148 115) 26.26% 26.26%, #0bdeb7 42.16%, #00ffa4 134.57%);
}

.home-services-btn .elementor-button-icon svg {
    transition: transform 0.2s 
ease-in-out;
}

.home-services-btn:hover svg{
    transform: rotate(45deg);
}
.brand-car .elementor-swiper-button {
    background-color: #7fc4a852;
    padding: 10px;
    border-radius: 10px;
}

select.jet-select__control {
    font-family: 'IRANSansX' !important;
}

.sale-title-section::before {
    content: url(https://radinsafepart.ir/wp-content/uploads/2025/10/sign2-icon.svg);
    position: absolute;
    top: 60%;
    left: 4px;
    transform: translate(-50%, -50%);
}

/*.title-types-car::before {*/
/*    content: url(https://radinsafepart.ir/wp-content/uploads/2025/10/Union.png);*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%) scale(0.6);*/
/*    z-index: -1;*/
/*}*/

/*.title-types-car {*/
/*    top: 11%;*/
/*}*/

.title-types-car{
    background-color:#35BC8B;
    border-radius:8px;
    padding:10px;
}

.section-brands {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 10px;
    padding: 18px;
}

.description-blog {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* یعنی فقط ۲ خط نمایش داده شود */
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;       /* فاصله بین خطوط */
  max-height: calc(2m * 2); /* مجموع ارتفاع دو خط */
  direction: rtl;         /* برای متن فارسی */
  unicode-bidi: plaintext;
}


.post-detail {
    background-color: #35BC8B;
    padding: 7px 20px 7px 20px;
    border-radius: 0px 15px 0px 15px;
    position: absolute;
    top: calc(63% - 15px);
    left: calc(70% - 13px);
    transform: translate(-50%, -50%);
}

.post-detail span.elementor-icon-list-text a {
    color: white !important;
}

.date-section {
    border-style: solid;
    border-width: 3px 0px 0px 0px;
    border-color: #35BC8B;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 8px 8px 8px 8px;
    background-color: white;
    border-radius: 0px 0px 15px 0px;
}

.date-section  time{
    color:#006556!important;
}

.megamenu-header{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.hamburger-menu {
 background-color: #35bc8c;
    padding: 7px !important;
    border-radius: 10px;
}

.header-main{
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.about-us-site::after {
    content: url(https://radinsafepart.ir/wp-content/uploads/2025/11/Untitled-design-12.png);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: -10%;
}
.date-section{
        top: calc(14% - 1px);
    left: -142px;
    z-index: 1;
}

.section-type-car::before {
    content: url(https://radinsafepart.ir/wp-content/uploads/2025/11/Untitled-design-16.png);
    position: absolute;
    top: 23%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.8);
    opacity: .1;
}

.banner-btn {
    clip-path: polygon(20% 0%, 89% 0, 100% 32%, 100% 80%, 100% 100%, 11% 100%, 0 66%, 0 0);
}

.main-titles-double-side::before {
    content: "";
    display: block;
    height: 1px;
    width: calc(100vw / 2);
    background-color: var(--e-global-color-primary);
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translate(-100%, -50%);
}

.main-titles-double-side::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--e-global-color-primary);
    border-radius: 100%;
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translate(-100%, -50%);
}

.e-loop-item {
    padding: 0 !important;
}
@media(max-width:768px){
.about-us-site::after {
    content: url(https://radinsafepart.ir/wp-content/uploads/2025/11/Untitled-design-12.png);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%) scale(.7);
    bottom: -12%;
}
img.attachment-large.size-large.wp-image-10399 {
    position: absolute;
    left: -35% !important;
}

.post-detail {
    background-color: #35BC8B;
    padding: 7px 20px 7px 20px;
    border-radius: 0px 15px 0px 15px;
    position: absolute;
    top: calc(63% - 14px);
    left: calc(53% - 12px);
    transform: translate(-50%, -50%);
}
}
input#gform_submit_button_1 {
    background-color: #306351;
    border-radius: 10px;
}

.form-kala h2.gform_title{
    display:none;
}

.form-kala .gform_wrapper.gravity-theme select {
    padding-right: 31px !important;
}

ul.products.elementor-grid.columns-4 li {
    background-color: white;
    border-radius: 10px;
    padding: 20px !important;
}
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background-color: #306351;
    padding: 10px;
    border-radius: 10px;
}
a.button.product_type_simple{
     background-color: #306351;
    padding: 10px;
    border-radius: 10px;
}