section.special-product {
    direction: rtl;
    background: #fff;
}
.sticky-top{
    box-shadow: 0 3px 5px 0 rgba(170,179,217,.1);
}

h1.category-title{
    font-size: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 16px;
}
section.product-tabs ul{
    display: flex;
    padding: 0;
    justify-content: right;
    z-index: 1;
    direction: rtl;
    background: #fff;
}
section.product-tabs ul li{
    border-top: 1px solid #E8E8E8;
}
section.product-tabs ul li button{
    color: #A1A1A1;

}
.cat-btn a:hover{
    color: #FFCE34 !important;
}
.cat-btn {
    direction: rtl;
}
.cat-child-mobile{
    font-size: 14px;
}
.cat-title{
    background: #FFCE34;
}
.cat-btn a{
background: transparent;
    color: #000;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid #FFCE34;
}

section.special-product ,section.shop{
    margin-top: 32px;
    direction: rtl;
}
section.special-product  ul{
    display: flex;
    justify-content: center;
    z-index: 1;
}
section.special-product  ul li{
    border-top: 1px solid #E8E8E8;
}
section.special-product  ul li button{
    color: #A1A1A1;

}
section.special-product  ul li button:hover{
    color: #FFCE34 !important;
}
section.special-product  ul li button.active{
    color: #000 !important;
    border-top: 3px solid #FFCE34;
    background-color: transparent !important;
    border-radius: unset;
}
section.special-product  .owl-carousel .item ,section.shop .item{
    text-align: right;
    border: 1px solid #E8E8E8;
    padding: 16px;
    overflow: hidden;
}
section.special-product  .owl-carousel .item .added_to_cart.wc-forward ,section.shop  .item .added_to_cart.wc-forward{
    position: absolute;
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 0 10px 0 0;
    font-size: 12px;
    display: block;
    padding: 8px;
    bottom: 15px;
}
section.special-product  .regular-price ,section.shop .regular-price{
    color: black;
}

section.special-product  .regular-price.strike ,section.shop .regular-price.strike{
    color: gray;
    text-decoration: line-through;
}

section.special-product  .sale-price ,section.shop  .sale-price{
    color: black;
    font-weight: bold;
}

section.special-product  .regular-price.regular-active , section.shop .regular-price.regular-active{
    color: black;
    position: relative;
    top: 10px;
}
section.special-product  .owl-carousel .item p.title ,section.shop .item p.title{
    font-size: 12px;
    margin-top: 32px;
}
section.special-product  .owl-carousel .item p.en-title ,section.shop .item p.en-title{
    font-size: 12px;
    font-weight: 400;
}
section.special-product  .owl-carousel .item a.btn-product-cart ,section.shop .item a.btn-product-cart{
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 10px 0 0 0;
    font-size: 12px;
    height: 41px;
    display: inline-grid;
    align-items: center;
    margin-bottom: 10px;
}
section.special-product  .owl-carousel .item span.discount ,section.shop .item span.discount{
    background: #C13232;
    color: #fff;
    border-radius: 50%;
    padding: 8px;
    float: right;
    width: 40px;
    height: 40px;
    text-align: center;
}
section.special-product  .owl-carousel .item a.show-product-cart ,section.shop .item a.show-product-cart{
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 10px 0 0 0;
    font-size: 12px;
    height: 41px;
    display: inline-grid !important;
    align-items: center !important;

}
.child-cat-title{
    font-size: 14px;
  background: #FFCE34;
  padding: 14px;
  border-radius: 15px 0 0;
}
section.special-product  .owl-carousel .item span,section.shop .item span{
    text-align: left;
    direction: rtl;
    font-size: 13px;
    font-weight: 700;
    float: left;
    margin-top: 3px;
}
section.special-product  .owl-carousel .item span.woocommerce-Price-currencySymbol ,section.shop .item span.woocommerce-Price-currencySymbol{
    margin-right: 10px;
    margin-top: 0px;
}

section.shop{
    direction: rtl;
}
section.shop ul{
    display: flex;
    padding: 0;
    justify-content: right;
    font-size: 12px;
}
section.shop ul li{
    border-top: 1px solid #E8E8E8;
}
section.shop ul li button{
    color: #A1A1A1;

}
section.shop ul li button:hover{
    color: #FFCE34 !important;
}
section.shop ul li button.active{
    color: #000 !important;
    border-top: 3px solid #FFCE34;
    background-color: transparent !important;
    border-radius: unset;
}
section.shop .item,.special-product .owl-carousel .item{
    text-align: right;
    border: 1px solid #E8E8E8;
    padding: 16px;
    background: #fff;
    margin-bottom: 32px;
}
section.shop .package .item{
    padding: 0;
}
section.shop .item p.title , .special-product .owl-carousel .item p.title{
    font-size: 12px;
    margin-top: 32px;
}
section.shop .item p.en-title , .special-product .owl-carousel .item p.en-title{
    font-size: 12px;
    font-weight: 400;
}
section.shop .item a.btn-product-cart ,.special-product .owl-carousel .item a{
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 10px 0 0 0;
    font-size: 12px;
}
section.shop .item img,.special-product .owl-carousel .item img{
    display: flex;
    width: auto;
    justify-content: center;
    margin: auto;
}
section.shop .item span,.special-product .owl-carousel .item span{
    display: inline-block;
    text-align: left;
    direction: rtl;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
}
section.special-product{
    background: #F5F5F5;
    padding-top: 32px;
    padding-bottom: 32px;
}
section.special-product span{
    text-align: center;
    font-size: 25px;
    margin-bottom: 32px;
    font-weight: 700;
}
section.special-product .product{
    background: #fff;
}
section.shop{
    margin-top: 32px;
}
section.article .title{
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 32px;
}
section.article .owl-carousel .item p.title i{
    font-size: 10px;
    margin-left: 12px;
    color: #FFCE34;
}
section.article{
    background: black;
    margin-top: 64px;
    padding-top: 16px;
}
section.article .owl-carousel .item p.title{
    background: #fff;
    font-size: 16px;
    padding: 16px;
    color: #1A1A1A;
    font-weight: 400;
    text-align: right;
}
section.faq{
    margin-top: 32px;
    direction: rtl;
}
section.faq .accordion-button::after{
    margin-right: auto !important;
    margin-left: unset !important;
    font-family: "Font Awesome 6 Free";
    content: "\f175";
    font-weight: 900;
    font-size: 20px;
    background-image: none;
    color: #A1A1A1;
}
section.faq .accordion-button:not(.collapsed)::after {
    background: #000;
    background-image: none;
    color: #fff !important;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding-top: 8px;
    position: relative;
    left: -12px;
}

section.faq .accordion .accordion-button:not(.collapsed),section.faq .accordion .accordion-button{
    background-color: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 900;
}
section.faq p{
    font-size: 13px;
    font-weight: 400;
}
section.faq h1,section.faq h2,section.faq h3,section.faq h4,section.faq h5,section.faq h6{
    font-size: 16px;
    font-weight: 900;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 16px;
}
section.package  .item {
    position: relative;
    overflow: hidden; /* مخفی کردن اضافات */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 470px;
    border: 1px solid #E8E8E8;
}

/* اورلی روی تصویر */
section.package  .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    opacity: 1; /* اورلی همیشه قابل مشاهده است */
    z-index: 1;
    transition: opacity 0.3s ease; /* ترنزیشن برای اورلی */
}

/* تصویر */
section.package  .item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.2;
    object-fit: cover;
    transition: transform 0.3s ease, aspect-ratio 0.3s ease; /* ترنزیشن برای تغییرات ابعاد تصویر */
    z-index: 0; /* تصویر باید زیر اورلی باشد */
}

/* متن "دیابت" */
section.package  .item p {
    margin: 0;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    border: 1px solid #E8E8E8;
    background-color: #fff;
    width: 100%;
    text-align: center;
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1; /* همیشه نمایش داده می‌شود */
    transition: opacity 0.3s ease; /* ترنزیشن برای متن */
    direction: ltr;
}
section.package  .item p i{
    color: #FFCE34;
    font-size: 12px;
    margin-left: 16px;
}

/* تغییرات در هاور */
section.package  .item:hover img {
    transform: scale(1.1); /* بزرگ‌تر شدن تصویر هنگام هاور */
    aspect-ratio: auto; /* برگشت به حالت اولیه هنگام هاور */
}

section.package  .item:hover::before {
    opacity: 0; /* پنهان شدن اورلی هنگام هاور */
}

section.package  .item:hover p {
    opacity: 0; /* مخفی کردن متن "دیابت" هنگام هاور */
}

/* لیست و دکمه‌ها */
section.package  .item .item-details,
section.package  .item .add-to-cart,
section.package  .item .price {
    display: none; /* پنهان به صورت پیش‌فرض */
    opacity: 0; /* شفافیت صفر */
    transition: opacity 0.3s ease, transform 0.3s ease; /* ترنزیشن برای نمایش این عناصر */
}

section.package  .item:hover .item-details
{
    opacity: 1;
    transform: translateY(0);
    display: block;
    width: 100%;
    text-align: right;
    padding-right: 43px;
    margin-top: 18px;
    list-style: decimal;
    direction: rtl;
}

section.package  .item:hover .price{
    opacity: 1;
    transform: translateY(0);
    display: inline-flex;
    width: 39%;
    text-align: right;
    padding: 0;
    font-size: 12px;
    border: none;
    margin: auto auto 25px 15px;
    color: #000;
}
.package-btn-price{
    width: 100%;
    padding: 16px;
}
/* استایل لیست و دکمه‌ها */
section.package  .item .item-details li {
    margin-bottom: 5px;
    color: #333;
    border: none;
}

section.package  .item .add-to-cart {
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    display: inline-flex;
    width: 50%;
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 10px 0 0 0;
    font-size: 12px;
    text-align: right;
    justify-content: center;
    float: right;
    padding: 10px;
}

section.package  .item .price {
    font-size: 18px;
    font-weight: bold;
    color: #FFCE34;
    margin-top: 10px;
}
