/*
   Theme Name: Kaveh Theme
   Description: Kaveh Theme is undoubtedly the best e-commerce theme produced in the WordPress industry of Iran.
   Theme URI: https://rtl-theme.com/author/moein757
   Version: 3.9.9.9
   Author: Moein WordPress
   Author URI: https://rtl-theme.com/author/moein757
   Requires at least: 6.2
   Tested up to: 6.4.2
   Requires PHP: 7.4
   License: GNU General Public License v2 or later
   License URI: http://www.gnu.org/licenses/gpl-2.0.html
   Text Domain: kavehTheme
   Tags: responsive, e-commerce, customizable
*/


@media screen and (max-width: 480px) {

   .detail-product .detail .full-info li:not(:first-child)::after {
      display: none;
   }
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
   height: auto !important;
}

.swiper-detail-product-six_images .swiper-slide {
   padding: 50px;
}

.swiper-detail-product-six_images .swiper-slide img {
   max-width: 330px;
   max-height: 330px;
   margin: auto;
   text-align: center;
}

.elementor .detail-product-five .quantity {
   float: left !important;
   margin: 0px 0px 15px -30px !important;
}

.elementor .detail-product-five .quantity .input-text.qty.text {
   border-radius: 5px !important;
   background-color: #fff !important;
   width: 80px !important;
}

.elementor .detail-product-five .kplus-button {
   border-radius: 5px !important;
   background: transparent !important;
   font-weight: 100 !important;
   right: -25px !important;
   z-index: 4 !important;
}

.elementor .detail-product-five .kminus-button {
   border-radius: 5px !important;
   background: transparent !important;
   font-weight: 100 !important;
   left: -25px !important;
   z-index: 4 !important;
}

.elementor .detail-product-five .single_add_to_cart_button {
   float: unset !important;
   width: 100% !important;
   display: block !important;
   border-radius: 5px !important;
}

.wlm-button.btn.btn-secondary.rounded-circle {
   padding: 0;
   width: 35px;
   height: 35px;
   display: flex;
   justify-content: center;
   align-items: center;
}
.product-not .detail .icons-offer ul li{
   display: flex;
   align-items: center;
   justify-content: center;
   width: 30px;
   height: 30px;
}
.product-not .detail .icons-offer ul li a{
   display: flex;
   align-items: center;
   justify-content: center;
 
}
.product-thirteen .btns li a{
     display: flex;
   align-items: center;
   justify-content: center;
}
.kaveh_compare_top {
    position: absolute;
    right: 10px; /* Changed from left to right */
    top: 10px; /* Changed from bottom to top */
    z-index: 1; /* Changed from -1 to 1 to ensure it's above the card */
    opacity: 0;
    transform: translateY(-20px); /* Start position above */
    transition: all 0.3s ease; /* Smooth transition */
}

.product:hover .kaveh_compare_top {
    opacity: 1;
    transform: translateY(0); /* End position */
    top: 10px; /* Maintain position */
}

.add-to-compare {
   padding: 6px 10px !important; /* Simplified padding since it's now top-right */
}
.mb-8{
   margin-bottom: 3rem;
}
.product-five .product-image{
   height: 246px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.product-image>a>img{
   height: 186px;
}
.product-two-image img {
    height: 186px;
    object-fit: contain;
}
.product-eight a img{
   display: block;
   margin: auto;
   width: 90%;
}
.product-six .image img {
    margin: 0 auto;
    max-height: 194px;
    height: 185px;
    object-fit: contain;
}
.product-bed-two a img{
     height: 186px;
    object-fit: contain;
}
@media screen and (max-width: 480px) {
.product-book .image img {
    margin: 15px !important;
    max-width: 94px!important;
    height: 100px!important;
    object-fit: contain!important;
}
}

.detail-product-icons li:nth-child(2) {
    margin-bottom: 19px;
    position: relative;
    right: 7px;
}
.detail-product-two .gallery .icons li{
   color: #fff;
}

html,body{
   overflow-x: hidden !important;
}