section.slider div.container{
direction: rtl;
}
section.slider div.container div.col-sm-8{
padding-right: 0;
}
section.slider div.container div.col-sm-4{
    padding-left: 0;
}
section.slider div.container div.col-sm-4 img{
    height: 615px;
}
section.slider .carousel-caption{
    text-align: right;
    right: 32px;
    bottom: 58px;
}
section.slider .carousel-caption span{
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}
section.slider .mini-slider h1{
    color: #fff;
    margin-right: 32px;
    font-size: 30px;
    position: absolute;
    bottom: 75px;
}
section.product-tabs{
    margin-top: 32px;
    direction: rtl;
}
section.product-tabs ul{
display: flex;
    justify-content: center;
    z-index: 1;
}
section.product-tabs ul li{
 border-top: 1px solid #E8E8E8;
}
section.product-tabs ul li button{
    color: #A1A1A1;

}
section.product-tabs ul li button:hover{
    color: #FFCE34 !important;
}
section.product-tabs ul li button.active{
    color: #000 !important;
    border-top: 3px solid #FFCE34;
    background-color: transparent !important;
    border-radius: unset;
}
section.product-tabs .owl-carousel .item{
    text-align: right;
    border: 1px solid #E8E8E8;
    padding: 16px;
}
section.product-tabs .owl-carousel .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.product-tabs .regular-price {
    color: black;
}

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

section.product-tabs .sale-price {
    color: black;
    font-weight: bold;
}

section.product-tabs .regular-price.regular-active {
    color: black;
    position: relative;
    top: 10px;
}
section.product-tabs .owl-carousel .item p.title {
    font-size: 12px;
    margin-top: 32px;
}
section.product-tabs .owl-carousel .item p.en-title{
    font-size: 12px;
    font-weight: 400;
}
section.product-tabs .owl-carousel .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.product-tabs .owl-carousel .item span.discount{
    background: #C13232;
    color: #fff;
    border-radius: 50%;
    padding: 8px;
    float: right;
    width: 40px;
    height: 40px;
    text-align: center;
}
section.product-tabs .owl-carousel .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;
    align-items: center;

}

section.product-tabs .owl-carousel .item span{
    text-align: left;
    direction: rtl;
    font-size: 13px;
    font-weight: 700;
    float: left;
    margin-top: 3px;
}
section.product-tabs .owl-carousel .item span.woocommerce-Price-currencySymbol{
    margin-right: 10px;
    margin-top: 0px;
}
section.category{
    margin-top: 64px;
}
section.category p.title ,section.package p.title,section.article .title ,section.about-us span.title,section.brand span.title,section.why-forever h2.title,section.faq h2.title{
    text-align: center;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 32px;
}
section.category ul,section.category .category-list li a{
    direction: rtl;
    list-style: none;
    padding-right: 0;
    color: #A1A1A1;
    font-size: 16px;
    line-height: 32px;
}

section.category ul li{
    border-bottom: 2px solid #E8E8E8;
    padding-bottom: 16px;
    margin-bottom: 14px;
}
section.category ul li:last-child{
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
section.category ul li a strong{
    color: #000;
}
section.category ul li a{
    display: block;
}
section.category ul li a i{
    float: left;
    background: #000;
    border-radius: 50%;
    padding: 9px;
    color: #fff;
}
/* مخفی کردن تصاویر پیش‌فرض */
.default-right-img,
.default-left-img {
    display: block;
}

/* مخفی کردن تصاویر هنگام هاور */
.category-item:hover ~ .default-right-img,
.category-item:hover ~ .default-left-img {
    display: none;
}

/* مخفی کردن تصاویر پیش‌فرض در حالت عادی */
.default-right-img img,
.default-left-img img {
    display: block;
}
.default-right-img img{
    border-top-left-radius: 240px;
}
.default-left-img img{
    border-bottom-left-radius: 240px;
}

section.package {
    margin-top: 64px;
}

section.package .owl-carousel .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 .owl-carousel .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; /* اورلی همیشه قابل مشاهده است */
    transition: opacity 0.3s ease; /* ترنزیشن برای اورلی */
}

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

/* متن "دیابت" */
section.package .owl-carousel .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; /* ترنزیشن برای متن */
}
section.package .owl-carousel .item p i{
    color: #FFCE34;
    font-size: 12px;
    margin-left: 16px;
}

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

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

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

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

section.package .owl-carousel .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 .owl-carousel .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 .owl-carousel .item .item-details li {
    margin-bottom: 5px;
    color: #333;
}

section.package .owl-carousel .item .add-to-cart {
    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 .owl-carousel .item .price {
    font-size: 18px;
    font-weight: bold;
    color: #FFCE34;
    margin-top: 10px;
}

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.article .owl-carousel .item p.title i{
    color: #FFCE34;
    font-size: 12px;
    margin-left: 16px;
}
section.dr{
    margin-top: 64px;
}
section.dr .gradient-overlay,section.slider  .mini-slider .gradient-overlay {
    position: absolute !important;
    bottom: -56px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0)) !important;
    color: white !important;
    margin: auto !important;
    text-align: right !important;
    height: 200px !important;
    transform: translate(-1%, -28%);
    width: 97%;
}
section.slider .gradient-overlay{
    position: absolute !important;
    bottom: -56px !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0)) !important;
    color: white !important;
    margin: 0 !important;
    text-align: right !important;
    height: 200px !important;
    transform: translate(0%, -28%);
    width: 100%;
}
section.dr .content{
    position: absolute;
    bottom: 0;
    text-align: right;
    padding: 32px;
    color: #fff;
}
section.dr .content span{
    font-size: 25px;
    font-weight: 900;
    display: block;
    margin-bottom: 16px;
}
section.dr .content p{
    font-size: 14px;
    font-weight: 400;
    line-height: 32px;
    direction: rtl;
}
section.dr .content a.btn-dr{
    width: 200px;
    padding: 16px;
    background: #FFCE34;
    color: #000;
    font-weight: 700;
    border-radius: 10px 0 0 0;
    font-size: 12px;
}
section.brand {
  margin: 32px 0;
}
section.about-us{
    margin-top: 64px;
}
section.about-us p{
text-align: justify;
  line-height: 32px;
  direction: rtl;
}
section.about-us div.position-relative img{
    position: relative;
    top: -64px;
}
section.brand img{
    filter: grayscale(100%);
}
section.brand img:hover{
    filter: none;
}
section.why-forever{
    margin-top: 64px;
    text-align: right;
    direction: rtl;
}
section.why-forever p{
 font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    text-align: justify;
}
section.why-forever .why-forever-content {
    height: 88px;
    overflow: hidden;
    transition: height 0.3s ease;
    position: relative;
}

section.why-forever .fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to top, white, transparent); /* افکت محو */
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.show-more {
    position: relative;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 1.5s infinite;
    font-size: 24px; /* اندازه فلش */
    color: #333; /* رنگ فلش */
    text-align: center;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.show-more.up i {
    transform: rotate(180deg); /* چرخاندن فلش به سمت بالا */
}
section.why-forever h1,section.why-forever h2,section.why-forever h3,section.why-forever h4,section.why-forever h5,section.why-forever h6{
    font-size: 16px;
    font-weight: 900;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 16px;
    margin-top: 16px;
}
section.why-forever a,section.why-forever b{
    display: contents;
}
section.faq {
  margin: 32px 0;
  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 {
    padding: 0 200px 0 200px ;
}
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;
}
@media (max-width: 767px) {
    .carousel {
        margin-bottom: 32px;
    }
    section.slider div.container div.col-sm-8 {
        padding-right: 12px;
    }
    section.slider .carousel-caption span {
        font-size: 19px;
        font-weight: 900;
        position: relative;
        bottom: -30px;
    }
    .carousel-control-next, .carousel-control-prev{
        display: none;
    }
    section.slider div.container div.col-sm-4 {
        padding-left: 12px;
    }
    section.slider div.container div.col-sm-4 img {
        height: auto;
        width: 100%;
    }
    section.slider .mini-slider .gradient-overlay {
        position: absolute !important;
        bottom: -49px !important;
        left: 0 !important;
        right: -5px !important;
        padding: 20px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0)) !important;
        color: white !important;
        margin: auto !important;
        text-align: right !important;
        height: 175px !important;
        transform: translate(-1%, -28%);
        width: 93%;
    }
    section.slider .mini-slider h1 {
        color: #fff;
        margin-right: 32px;
        font-size: 22px;
        position: absolute;
        bottom: 17px;
        right: 0;
    }
    section.dr .gradient-overlay {
        position: absolute !important;
        bottom: -149px !important;
        left: 0 !important;
        right: -8px !important;
        padding: 20px !important;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0)) !important;
        color: white !important;
        margin: auto !important;
        text-align: right !important;
        height: 533px !important;
        transform: translate(-1%, -28%);
        width: 93%;
        border-top-left-radius: 196px;
    }
    section.about-us {
        margin-bottom: 32px;
    }
    section.category p.title, section.package p.title, section.article .title, section.about-us span.title, section.brand span.title, section.why-forever h2.title, section.faq h2.title {
        text-align: center;
        font-size: 16px;
        font-weight: 900;
        margin-bottom: 32px;
    }
    section.faq .accordion {
        padding: 0;
    }

    footer div.container {
        padding-right: 12px;
    }
    .logo-footer{
        display: none;
    }
    section.category ul {
        direction: rtl;
        list-style: none;
        padding-right: 12px;
        color: #A1A1A1;
        font-size: 16px;
        line-height: 32px;
        padding-left: 12px;
        margin-top: 32px;
    }
    section.category ul li a {
        display: block;
        color: #a1a1a1;
        font-size: 11px !important;
    }
    section.why-forever p {
        font-size: 13px;
        font-weight: 400;
        line-height: 32px;
        text-align: justify;
    }
    section.about-us p {
        line-height: 32px;
        text-align: justify;
        direction: rtl;
        font-size: 13px;
    }
    section.package .owl-carousel .item a {
    z-index: 10000;
        width: 350px;
    }

}

