@charset "UTF-8";
/*
Theme Name: baft
Theme URI: 
Author: the سجاد عنایتی
Author URI: sjdenayati
Description: Our 2019 default theme is designed to show off the power of the block editor. It features custom styles for all the default blocks, and is built so that what you see in the editor looks like what you'll see on your website. Twenty Nineteen is designed to be adaptable to a wide range of websites, whether you’re running a photo blog, launching a new business, or supporting a non-profit. Featuring ample whitespace and modern sans-serif headlines paired with classic serif body text, it's built to be beautiful on all screen sizes.
Requires at least: WordPress 4.9.6
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentynineteen
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready


*/

body {
    background: #fff;
    font-family: Aviny !important;
}
.meno {
    background: #b5ddd1;
}
a.ttt {
    padding: 9px;
    color: #000;
}
header {
    background: #f99a9cc4;
    position: fixed;
    z-index: 3000;
    right: 0;
    left: 0;
    opacity: 1;
    pointer-events: all;
    transition: all .3s ease;
    backdrop-filter: saturate(154%) blur(5px);
    /* border: 1px solid #0b71b9; */
    max-width: 100%;
}
.carousel-caption {
    position: initial !important;
}
a.right.carousel-control {
    background: none !important;
}

a.left.carousel-control {
    background: none !important;
}

ol.carousel-indicators {
    bottom: 106px;
}
img.imgj {
    width: 100%;
}
strong.jobss {
    font-weight: 400;
    color: #1346b1;
    font-size: 8pt;
    font-weight: bold;
}
li.masal {
    font-size: 12pt;
    margin-left: 17px;
    /* border-left: 1px solid #1b42c7; */
    padding-left: 19px;
}

.agahi {
    margin-top: 38px;
    background:  linear-gradient(to right, #196eed, #005ef0, #004cf1, #0036ef, #2112eb);
    color: #fff;
    padding: 14px;
    border-radius: 13px;
}
.agahiii {
    padding: 12px;
    font-weight: bold;
    color: #073d46;
    font-size: 18pt;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: right;
    direction: rtl;
}
.agahiii2 {
    font-weight: bold;
    color: #074249;
    font-size: 18pt;
    margin-bottom: 20px;
    text-align: center;
    /* background: #074249; */
    /* width: 186px; */
    text-align: right;
    margin-bottom: 3px;
    position: relative;
    font-weight: bold;
    margin-top: 16px;
}
.sp-head-title {
    /* position: relative; */
    top: -215px;
    /* width: 13%; */
    background: rgb(237 0 110);
    padding: 0px 40px;
    /* box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); */
    border-radius: 30px 30px 0 0;
    margin: 0 auto;
    display: table;
    font-style: normal;
    font-size: 18pt;
    /* line-height: 2em; */
    text-align: center;
    color: #fffbfb;
    margin-top: 14px;
}
.agahiiii {
    background: #04205b;
    padding: 12px;
    font-weight: bold;
    color: #fff;
    font-size: 14pt;
    margin-top: 15px;
    margin-bottom: 10px;
    border-radius: 11px;
    text-align: center;
}

.col-md-1.text-center.jobs {
    background: #fff;
    padding: 18px;
    border: 1px solid #b4c7eb;
}
.col-md-2.text-center.jobs {
    background: #fff;
    padding: 18px;
    border: 1px solid #b4c7eb;
    border-radius: 23px;
}
title1 {
    color: #fff !important;
    font-family: iransans !important;
    font-size: 11pt !important;
    font-weight: bold !important;
	direction: rtl;
}
.slides {
    border-radius: 17px;
    margin-top: 23px;
}
rs-module {
    /* border-radius: 17px; */
}
titr2 {
    font-family: iransans;
    color: #f8d513;
    font-size: 14pt;
    font-weight: bold;
	margin-bottom: 10px;
direction: rtl !important;}
section.slider {
    margin-bottom: 17px;
}
section.about {
}
section.news {
    /* margin-bottom: 17px; */
    /* background: #00a69c; */
    padding-bottom: 30px;
}
section.logos {
    margin-bottom: 17px;
}
section.ax {
    margin-bottom: 17px;
}
.newsbox {
   /* height: 409px; */
   /* background: #fff; */
   /* border-radius: 17px; */
   margin-bottom: 10px;
}
.newsbox2 {
  /* height: 677px; */
  background: #fff;
  border-radius: 17px;
  margin-bottom: 10px;
}
p.tit {
    text-align: center !important;
    margin-top: 8px;
    font-size: 15pt;
    font-weight: bold;
    color: #020303;
    direction: rtl;
    min-height: auto;
}
.des {text-align: right;direction: rtl;border: 1px solid #0047db;border-radius: 11px;}

.time {text-align: center;direction: rtl;font-size: 10pt;color: #201f1f;border-bottom: 1px solid #ffffff;padding-bottom: 17px;}
p.about {text-align: right;color: #fff;font-size: 12pt;margin-top: 76px;direction: rtl;text-align: justify;font-weight: 200;}
.slider-logo {
  padding-top: 10px;
  padding-bottom: 10px;
}
.slider-logo .slick-slide {
  text-align: center;
}
.slider-logo .slick-slide.active {
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  filter: grayscale(1);
  opacity: .2;
}
.slider-logo .slick-slide a {
  text-align: center;
}
.slider-logo .slick-slide a img {
  margin: 0 auto;
}
.slider-logo .slick-slide a img.active {
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  filter: grayscale(1);
  opacity: .2;
}
.boxx {border-radius: 31px;
    box-shadow: 0px 10px 10px rgb(0 0 0 / 25%);
    background: #f7f7f7;
    
    
    padding-left: 50px;
    padding-right: 50px;
    
    
    height: 182px;}
	
.swiper {
        width: 100%;
        height: 100%;
      }

      .swiper-slide {
        text-align: center;
        font-size: 18px;
        /* background: #fff; */

        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        
        object-fit: cover;
      }	
section.footer {
    background: #fff;
}
h5 {text-align: right;
    font-size: 13pt;
    word-spacing: -3pt;
    margin-bottom: 19px;
    color: #0c1a10;}

ul {direction: rtl;
    text-align: right;
    list-style: none;
    padding-right: 12px;
    font-size: 10pt;
    line-height: 25pt;
    color: #070707;
    /* border-right: 3px solid red; */
    float: right;}

.socialicons {direction: rtl;
    text-align: right;
    margin-right: 12px;
    float: right;}
	td {
    width: 100px;
}
.col-md-2.newsbox {
    height: 287px;
    margin-left: 10px;
    margin-top: 15px;
    border: 2px solid #e6e1e1;
    padding-top: 12px;
}
.sabt {
    background: #d70000;
    text-align: center;
    padding: 18px;
    font-size: 13pt;
    font-weight: bold;
    color: #fff;
    border-radius: 14px;
    margin-top: 15px;
}
.sabt1 {
    background: #000;
    text-align: center;
    padding: 18px;
    font-size: 10pt;
    font-weight: bold;
    color: #fff;
    border-radius: 14px;
    margin-top: 15px;
    width: 125px;
    float: right;
}
figure.wp-block-table {
    margin-top: 16px;
}
img.post {
    width: 100%;
    height: 237px;
    object-fit: cover;
    border-top-right-radius: 43px;
    /* margin-bottom: 15px; */
}
img.post2 {
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* border-radius: 10px; */
    margin-bottom: 16px;
    border-radius: 15px;
}
footer {
    background: #e8de5e;
    padding-top: 26px;
    /* border-radius: 41px; */
    min-height: 178px;
    /* margin-bottom: 12px; */
}

p.fot {
    text-align: justify;
    direction: rtl;
    border-right: 2px solid #fab1b3;
    padding-right: 11px;
    color: #380a17;
    font-size: 12pt;
    /* margin-top: 33px; */
    border-radius: 7px;
}

strong.fat {
    color: #f8efef;
}
img.mjavez {
    width: 75px;
    border-radius: 10px;
    height: 75px;
}
.tamas {
    padding: 10px;
    background: #07215854;
    text-align: right;
    margin-bottom: 8px;
    border-radius: 12px;
    font-size: 10pt;
}

img.job1 {
    width: 100%;
    border-radius: 10px;
    height: 151px;
    margin-bottom: 15px;
    border: 4px solid #0047db;
}

.matn {
    text-align: justify;
    direction: rtl;
    font-size: 14pt;
}
img.icon {
    width: 9%;
}
.col-md-2.text-center.jobs:hover {
    background: #1466ea;
}

span.material-symbols-outlined:hover {
    color: #fff !important;
}

strong.jobss:hover {
    color: #fff;
}

.caption {
    text-align: center;
    direction: rtl;
    padding-bottom: 30px;
    padding-top: 11px;
}
.cappp {}

.cappp {
    background: #b5ddd1;
    padding: 22px;
    min-height: 128px;
    border-bottom-left-radius: 43px;
}

.tarikh {
    text-align: center;
    color: #fff8ec;
    margin-top: 12px;
    direction: rtl;
    font-size: 10pt;
}
section.tolidat {
    min-height: 140px;
    background: #f1e7d7;
    padding-bottom: 30px;
}
section.negar {
    min-height: 100px;
    background: #00a69c;
    padding-top: 51px;
    padding-bottom: 42px;
}

section.newspa {
    min-height: 68px;
    padding: 14px;
    /* background: #d0aa64; */
}
.carousel-indicators .active {
    background-image: url(./img/sabz.png) !important;
}
h3.as {
    color: #00a69c;
    font-weight: bold;
    font-size: 24pt;
}

p.\34 5 {}

p.\34 5 {
    color: #00a69c;
    font-size: 12pt;
    text-align: center !important;
}
a.slm {background-image: url(./img/more.png);color: #fff;/* background: #00a69c; */padding: 8px;width: 118px;display: inline-grid;/* border-radius: 29px; */background-size: cover;font-size: 10pt;font-weight: bold;}
a.slm1 {/* background-image: url(./img/mors.png); */color: #fda418 !important;!i;!;background: #053f46;padding: 8px;width: 118px;display: inline-grid;border-radius: 10px;text-align: center;background-size: cover;font-size: 10pt;font-weight: bold;height: 36px;margin-top: 0;}
a.slm2 {background-image: url(./img/morss.png);color: #00a69c;/* background: #00a69c; */padding: 8px;width: 118px;display: inline-grid;/* border-radius: 29px; */text-align: center;background-size: cover;font-size: 10pt;font-weight: bold;height: 36px;margin-top: 29px;}
a.slm3 {background-image: url(./img/sab.png);color: #ffffff;/* background: #00a69c; */padding: 9px;width: 110px;display: inline-grid;/* border-radius: 29px; */text-align: center;background-size: cover;font-size: 7pt;font-weight: bold;height: 33px;margin-top: 29px;}
a.slm4 {background-image: url(./img/dar.png);color: #00a69c;/* background: #00a69c; */padding: 10px;width: 294px;display: inline-grid;/* border-radius: 29px; */text-align: center;background-size: cover;font-size: 11pt;font-weight: bold;height: 44px;margin-top: 29px;}


p.negarr {
    text-align: justify;
    color: #fff;
    direction: rtl;
    font-size: 9pt;
}
section.mahsolat {
    padding-bottom: 30px;
}
section.news1 {
    /* margin-top: 57px; */
    margin-bottom: 48px;
    padding-top: 108px;
}

.kholase {
    text-align: justify;
    direction: rtl;
    background: #fda418;
    padding: 10px;
    height: 113px;
    border-radius: 13px;
}
footer {
    padding-bottom: 25px;
}
bdi {}

p.price {
  font-size: 26pt;
  font-weight: bold;
  color: rgb(245, 9, 9);
}

form.cart {
    display: flex;
    flex-direction: row-reverse;
}

button.single_add_to_cart_button.button.alt {background-image: url(./img/sab.png);color: #ffffff;/* background: #00a69c; */padding: 9px;width: 130px;display: inline-grid;/* border-radius: 29px; */text-align: center;background-size: cover;font-size: 10pt;font-weight: bold;height: 39px;/* margin-top: 29px; */border: none !important;background-color: #0000;}
input {
    width: 81px;
    border-radius: 59px;
    text-align: center;
    height: 37px;
    border-color: #d0aa64;
    /* background-image: url(./img/sab.png); */
    border: none;
}
li.product {
    background: #ffffff !important;
    /* box-shadow: 3px 3px 11px 0px; */
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 3px;
}

h2.woocommerce-loop-product__title {
    text-align: center;
    margin-top: 8px;
    font-size: 15pt !important;
    font-weight: bold !important;
    color: #020303 !important;
    direction: rtl;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    /* background-image: url(./img/sab.png); */
    color: #ffffff;
    background: #df0c0c;
    padding: 9px;
    width: 165px !important;
    display: inline-grid;
    border-radius: 10px !important;
    text-align: center !important;
    background-size: cover;
    font-size: 10pt !important;
    font-weight: 100 !important;
    height: 33px;
    margin-top: 1px !important;
    margin-bottom: 13px;
}

span.price {
    font-size: 16pt !important;
    text-align: center;
    color: #fb007d !important;
    font-weight: bold !important;
}
nav.navigation.pagination {
    margin-top: 43px;
    font-size: 13pt;
}

span.page-numbers.current {
    background: #fff;
    padding: 5px;
    color: #00a69c;
    font-weight: 900;
}

a.page-numbers {
    background: #4d4d4d;
    padding: 5px;
    color: #fff;
    font-weight: 500;
}
p {
    text-align: justify !important;
    direction: rtl;
}
a.button.product_type_simple {
    background-image: url(./img/sab.png) !important;
    color: #ffffff !important;
    /* background: #00a69c; */
    padding: 9px !important;
    width: 110px;
    display: inline-grid !important;
    border-radius: 29px !important;
    text-align: center;
    background-size: cover;
    font-size: 7pt !important;
    font-weight: bold !important;
    height: 33px;
    margin-top: 29px !important;
}
.cappp2 {
    background: #f1e7d7;
    padding: 22px;
    min-height: 113px;
}
@media only screen and (max-width: 768px)
#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {
    border-radius: 0;
    border: 0;
    margin: 0;
    line-height: 40px;
    height: 40px;
    padding: 0 10px;
    background: transparent;
    text-align: left;
    color: #fff;
    font-size: 14px;
    width: 100px;
}
h3#reply-title {
    padding: 12px;
    font-weight: bold;
    color: #00a69c;
    font-size: 18pt;
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: right;
    direction: rtl;
}

div#respond {
    background: #f1e7d7;
    padding: 18px;
}

input#author {
    width: 242px;
    border-radius: 0px;
}

input#email {
    width: 242px;
    border-radius: 0px;
}

input#url {
    width: 242px;
    border-radius: 0px;
}

input#wp-comment-cookies-consent {
    width: 15px;
    border: none !important;
}

input#submit {
    width: 112px;
    background: #00a69c;
    color: #fff;
    font-weight: bold;
    border-radius: 0px;
}

h3#comments {
    background: #00a69c;
    color: #fff;
    font-size: 12pt;
    text-align: justify;
    direction: rtl;
    font-weight: bold;
    padding: 10px;
}

ol.commentlist {border: 2px solid #00a69c;padding: 23px;}

li#comment-2 {
    direction: rtl;
    text-align: justify;
    background: #f1e7d7;
    padding: 15px;
}
.woocommerce-product-gallery__image {
    margin-top: 11px;
}
.nogt {
    content: '';
    display: block;
    position: relative;
    right: 12px;
    top: 17px;
    background: #b9dbd1;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    float: inline-end;
    z-index: 0;
}
section.about {
    background-image: url(./img/back.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 399px;
    background-color: black;
}
.card-course .img-container {
    position: relative;
}

.card-course .img-inner {
    border-radius: 10px 10px 0 0;
    position: relative;
    /* -webkit-clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 40px), 0% 100%); */
    /* clip-path: polygon(0 0, 100% 0%, 100% calc(100% - 40px), 0% 100%); */
    /* overflow: hidden; */
}

.card-course .img-container .img-inner::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110%;
    height: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transform: rotate(-12deg);
    transform: rotate(-12deg);
    z-index: 10;
}

.card-course .img-container .img-inner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110%;
    height: 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.5);
    -webkit-transform: rotate(-16deg);
    transform: rotate(-16deg);
    z-index: 20;
}

.card-course .percentage {
    position: absolute;
    right: 10px;
    bottom: 20px;
    background-color: #FEB139;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.card-course .card-b {
    /* padding: 13px; */
    position: relative;
}

.card-course .card-b h2 {
    font-size: 17px;
    font-weight: bolder;
    color: #151515;
    margin-bottom: -13px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    /* display: -webkit-box; */
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    /* overflow: hidden; */
    text-align: right;
    margin-top: 3px;
}

.card-course .card-b .info h6 {
    font-size: 13px;
    font-weight: 400;
    color: #676c70;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-course .card-b .price-content .price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-start;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-start;
    margin-top: 0.5rem;
    position: relative;
    min-height: 48px;
    flex-direction: column-reverse;
    align-content: flex-start;
}

.card-course .card-b .price-content.off-code .price .real {
    /* text-decoration: line-through; */
    text-decoration-thickness: 1px;
    color: #212529;
    font-size: 14px;
    font-weight: 600;
    font-family: IRANYekanX;
}

.card-course .card-b .price-content .price .real {
    font-size: 17px;
    font-weight: 800;
    color: #212529;
}
.card-course {
    background-color: white;
    border-radius: 15px;
    /* border: 1px solid black; */
    transition: all 0.3s ease-out;
    /* -webkit-box-shadow: 0 4px 25px -1px rgb(33 37 41 / 15%); */
    /* box-shadow: 0 4px 25px -1px rgb(33 37 41 / 15%); */
    padding: 10px;
    height: 380px;
    margin-bottom: 18px;
}

section.pish {background: #fdbccf;border-radius: 15px;padding: 25px;margin-bottom: 36px;display: flex;flex-wrap: wrap;justify-content: center;}

p.rrt {
    font-size: 18pt;
    margin-bottom: -13px;
}
/* استایل کلی جدول ویژگی‌ها */
.woocommerce-product-attributes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  direction: rtl;
}

/* هر سطر جدول به شکل کارت‌مانند */
.woocommerce-product-attributes tr {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 12px;
  overflow: hidden;
}

/* ستون عنوان ویژگی */
.woocommerce-product-attributes th {
  background: #f9f9f9;
  font-weight: bold;
  color: #333;
  padding: 7px 11px;
  text-align: right;
  width: 35%;
  border-radius: 12px 0 0 12px;
  border-right: 3px solid #fdc4c6; /* رنگ شاخص */
  font-size: 13pt;
}

/* ستون مقدار ویژگی */
.woocommerce-product-attributes td {
  padding: 5px 11px;
  color: #555;
  text-align: left;
  border-radius: 0 12px 12px 0;
  font-size: 15pt;
}

/* حذف p اضافی داخل td */
.woocommerce-product-attributes td p {
  margin: 0;
}

/* عنوان "توضیحات تکمیلی" */
.elementor-widget-container h2 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  /* border-right: 4px solid #e79c05; */
  padding-right: 10px;
  margin-bottom: 15px;
}/* 🎯 باکس کلی انتخاب محصول */
form.cart {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: right;
  overflow: hidden; /* جلوگیری از بیرون‌زدن عناصر */
}

form.cart:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* 🧩 جدول ویژگی‌ها */
table.variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

table.variations th.label {
  font-weight: 600;
  color: #444;
  text-align: right;
  font-size: 15px;
  padding-left: 10px;
  white-space: nowrap;
}

table.variations td.value {
  text-align: right;
  width: 100%;
}

/* 🌈 Swatches رنگ‌ها — منظم و ریسپانسیو */
.thwvsf-wrapper-ul {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center;
  flex-wrap: wrap !important; /* ✅ اجازه رفتن به خط بعد */
  gap: 10px;
  padding: 5px 0;
  margin: 0;
  max-width: 100%; /* ✅ محدودیت داخل کادر */
  box-sizing: border-box;
}

.thwvsf-wrapper-item-li {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  border: 2px solid #ddd;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.thwvsf-item-span-color {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.thwvsf-wrapper-item-li:hover,
.thwvsf-wrapper-item-li.thwvsf-selected {
  transform: scale(1.15);
  border-color: #ff4b4b;
  box-shadow: 0 0 10px rgba(255, 75, 75, 0.4);
}

/* 💰 قیمت محصول */
.single_variation_wrap {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.single_variation .woocommerce-Price-amount {
  font-size: 26px;
  font-weight: 700;
  color: #ff4b4b; /* 🔴 قرمز مدرن */
  line-height: 1.4;
}

.woocommerce-variation-price {
  margin-bottom: 10px;
}

/* 🛒 دکمه افزودن به سبد خرید */
.single_add_to_cart_button {
  background: linear-gradient(135deg, #ff6a00, #ff9800);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #ff9800, #ff6a00);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 152, 0, 0.4);
}

/* 🔁 لینک پاک کردن انتخاب‌ها */
.reset_variations {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s;
}

.reset_variations:hover {
  color: #000;
  text-decoration: underline;
}

/* 📱 واکنش‌گرا */
@media (max-width: 768px) {
  form.cart {
    padding: 18px;
  }

  .single_add_to_cart_button {
    font-size: 15px;
    padding: 12px 24px;
  }

  .thwvsf-wrapper-item-li {
    width: 30px !important;
    height: 30px !important;
  }
}
/* 🎯 باکس کلی انتخاب محصول */
form.cart {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: right;
  overflow: hidden; /* جلوگیری از بیرون‌زدن عناصر */
}

form.cart:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* 🧩 جدول ویژگی‌ها */
table.variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

table.variations th.label {
  font-weight: 600;
  color: #444;
  text-align: right;
  font-size: 15px;
  padding-left: 10px;
  white-space: nowrap;
}

table.variations td.value {
  text-align: right;
  width: 100%;
}

/* 🌈 Swatches رنگ‌ها — منظم و ریسپانسیو */
.thwvsf-wrapper-ul {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center;
  flex-wrap: wrap !important; /* ✅ اجازه رفتن به خط بعد */
  gap: 10px;
  padding: 5px 0;
  margin: 0;
  max-width: 100%; /* ✅ محدودیت داخل کادر */
  box-sizing: border-box;
}

.thwvsf-wrapper-item-li {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50%;
  border: 2px solid #ddd;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.thwvsf-item-span-color {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.thwvsf-wrapper-item-li:hover,
.thwvsf-wrapper-item-li.thwvsf-selected {
  transform: scale(1.15);
  border-color: #ff4b4b;
  box-shadow: 0 0 10px rgba(255, 75, 75, 0.4);
}

/* 💰 قیمت محصول */
.single_variation_wrap {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #eee;
}

.single_variation .woocommerce-Price-amount {
  font-size: 26px;
  font-weight: 700;
  color: #ff4b4b; /* 🔴 قرمز مدرن */
  line-height: 1.4;
}

.woocommerce-variation-price {
  margin-bottom: 10px;
}

/* 🛒 دکمه افزودن به سبد خرید */
.single_add_to_cart_button {
  background: linear-gradient(135deg, #ff6a00, #ff9800);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.single_add_to_cart_button:hover {
  background: linear-gradient(135deg, #ff9800, #ff6a00);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 152, 0, 0.4);
}

/* 🔁 لینک پاک کردن انتخاب‌ها */
.reset_variations {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s;
}

.reset_variations:hover {
  color: #000;
  text-decoration: underline;
}

/* 📱 واکنش‌گرا */
@media (max-width: 768px) {
  form.cart {
    padding: 18px;
  }

  .single_add_to_cart_button {
    font-size: 15px;
    padding: 12px 24px;
  }

  .thwvsf-wrapper-item-li {
    width: 30px !important;
    height: 30px !important;
  }
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    padding: 9px;
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    border-radius: 10px;
}
/* چیدمان کلی: منو راست، محتوا چپ */
.woocommerce {
  display: flex !important;
  flex-direction: row-reverse !important;
  gap: 20px !important;
}

/* منوی سمت راست */
.woocommerce-MyAccount-navigation {
  width: 25% !important;
  background-color: #f3f3f3 !important;
  border-radius: 10px !important;
  padding: 15px !important;
  box-shadow: 0 0 5px rgba(0,0,0,0.1) !important;
}

/* محتوای سمت چپ */
.woocommerce-MyAccount-content {
  width: 75% !important;
  background-color: #fff !important;
  border-radius: 10px !important;
  padding: 20px !important;
  box-shadow: 0 0 5px rgba(0,0,0,0.05) !important;
}

/* استایل آیتم‌های منو */
.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 10px !important;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  background-color: #e7e7e7 !important;
  color: #333 !important;
  text-decoration: none !important;
  padding: 10px 15px !important;
  border-radius: 6px !important;
  transition: 0.3s !important;
  font-weight: 500 !important;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: #b5ddd1 !important;
  color: #000 !important;
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
  .woocommerce {
    flex-direction: column !important;
  }
  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    width: 100% !important;
  }
}

