
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif !important;
  word-wrap: break-word;
}

@font-face {
  font-family: 'Benton Sans';
  src: url('font/BentonSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('font/Relative-Bold.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('font/Hanson-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}
/* General Product Box Styles */

    .product-box {
        height: 400px;
        display: flex;
        text-align: center;
        border: 1px solid #e0e0e0;
        /* padding: 15px; */
        border-radius: 5px;
        margin-bottom: 20px;
        /* background-color: #a61616; */
        position: relative;
        overflow: hidden;
        transition: all 0.3s;
        flex-direction: column;
        flex-wrap: nowrap;
        align-content: stretch;
        align-items: stretch;
}




/* Product Image */
.product-image {
    flex: 1;
    object-fit: cover;
    max-height: 180px;
    width: 100% !important;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}


/* Product Box Hover Effect */
.product-box:hover .product-image {
    transform: scale(1.1);
}

/* Product Details */
.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    text-align: center;
}

/* Product Title */
.product-title {
    font-size: 13px;
    margin: 10px 0;
    text-align: center;
}

/* Category Wrap */
.category-wrap {
    display: flex;
    justify-content: center; /* Align the category in the center */
}

/* Price Box */
.price-box {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 10px; /* Optional: space between old and new prices */
}

/* View Button (Initially hidden, shown on hover) */
.btn-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    transition: all 0.3s ease;
}

.product-box:hover .btn-view {
    display: block;
}

/* Latest Product Section */
.latest-product-item img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
}

.latest-product-name {
    font-size: 14px;
    color: #333;
    padding-left: 8px;
}


    /* Services start */
     .blog-type2 .post {
            display: -ms-flexbox;
            display: flex;
            align-items: center;
            -ms-flex-align: center;
            margin-bottom: 0
        }

        .blog-type2 .post-media {
            margin: 0;
            background-color:#fff !important;
        }

        .blog-type2 .post-body {
            flex: 1;
            -ms-flex: 1;
            z-index: 1;
            position: relative;
            margin: 0px 0 0 -32px;
            padding: 3.6rem 3.6rem 3.3rem;
            border: 0;
            background-color: #fff
        }

        .blog-type2 .post-body .post-date {
            display: inline-block;
            float: none;
            width: auto;
            margin: 0 0 1rem;
            padding: 0.2rem 0.8rem;
            color: #fff;
            background-color: #222529;
            font-size: 1.1rem;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            box-shadow: none
        }

        .blog-type2 .post-title {
            margin-bottom: 0.8rem;
            font-size: 1.8rem;
            font-weight: 600;
            text-transform: uppercase
        }

        .blog-type2 .post-content {
            font-size: 1.3rem;
            letter-spacing: 0.03em;
            line-height: 1.9
        }

        .blog-type2 .post-content p {
            max-width: 100%;
            margin-bottom: 1.3rem;
            line-height: 1.7
        }

        .blog-type2 .read-more {
            float: left;
            color: #222529;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: -0.025em;
            text-transform: uppercase
        }

        .blog-type2 .read-more i {
            display: inline-block;
            margin-top: -0.2rem;
            line-height: 1;
            vertical-align: middle
        }

            .testimonial-type2 {
                margin: 0 0 20px
            }

            .testimonial-type2>p {
                padding: 0 2rem
            }
    /* Services end */


    /* Header style */

    .search{
      border-radius: 5px !important;
    }

    .search-btn{
      margin-right: 11px !important;
    width: 90px !important;
    height: 36px;
    background-color: #aa77cf !important;
    margin: 7px;
    color: #fff;
    border: none !important;
    }

.header-search-wrapper {
    border-radius: 5px;
    height: 50px !important;
    background-color:#007bff1f !important
}
.bg-dark {
  background-color: #4a7db9 !important;
  color: #FFF !important;
}
.bg-light {
  background-color: #4a7db9 !important;
  color: #FFF !important;
}



/* تنظیمات کلی برای بخش انتخاب زبان */
.langss {
  display: inline-block;
  margin-left: 20px;
}

.langss a {
  text-decoration: none;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
  background-color: #f3f3f3;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
}

.langss a:hover {
  background-color: #d1d1d1;
  color: #000;
}

.langss a.active {
  background-color: #007bff;
  color: white;
}

.langss a:last-child {
  margin-right: 0;
  /* حذف فاصله آخرین گزینه */
}

/* تنظیمات برای نمایش در کنار آیکون‌های اجتماعی */
.header-right {
  display: flex;
  align-items: center;
}

.social-icons {
  margin-right: 20px;
}

.social-icons a {
  margin-right: 10px;
}




          .menu .megamenu img {
    width: 397px !important;
    height: 100% !important;
    object-fit: cover;
}

@media (min-width: 1160px) {
    .container {
        max-width: 1300px !important;
    }
}

.main-nav .menu>li>a {
    font-size: 12px;
    font-weight: 700;
    padding: 2.1rem 0;
    color: #FFF;
}

/* slider photo css */

 /* برای حذف فاصله بین عکس‌ها */
      .no-gutters {
      margin-right: 0;
      margin-left: 0;
      }
      
      .no-gutters > [class*='col-'] {
      padding-right: 0;
      padding-left: 0;
      }
      
      /* تنظیم ارتفاع ثابت برای تصاویر در هر سطر */
      .image-container {
      position: relative;
      overflow: hidden;
      height: 400px; /* ارتفاع ثابت برای سطر اول */
      }
      
      .row + .row .image-container {
      height: 210px; /* ارتفاع ثابت برای سطر دوم */
      }
      
      .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
      }
      
      /* افکت زوم و حرکت تصویر هنگام هاور */
      .image-container:hover img {
      transform: scale(1.2);
      }
      
      /* متن‌ها همیشه نمایش داده شوند */
      .content {
    position: absolute;
      bottom: 10px;
      left: 10px;
      width: 200px;
      color: white !important;
      /* background-color: rgba(0, 0, 0, 0.5); */
      padding: 10px;
      /* border-radius: 5px; */
      transition: background-color 0.3s ease;
      }
      .content >h2,p{
        color: #4a7db9 !important;
      }


            /* .content>h2,
            .content>p {
              background: linear-gradient(to left, black 0%, black 0%, transparent 100%);
              background-size: 200% 100%;
              background-position: -100% 0;
              color: #000000;
              transition: background-position 1s ease;
            }
            .content>h2:hover,
            .content>p:hover {
              background-position: 0 0;
              color: #ffffff !important;
            }

             */
      /* وقتی ماوس روی تصویر قرار می‌گیرد، تصویر حرکت می‌کند ولی متن ثابت می‌ماند */
      .image-container:hover .content {
      /* background-color: rgba(0, 0, 0, 0.7); */
      }

      .content h2 {
      font-size: 20px;
      font-weight: bold;
      }
      .content p {
      font-size: 16px;
      }
      /* Featured Products */

        .product-default {
  position: relative;
  overflow: hidden; /* To ensure elements stay within the box */
  }

  .img-effect {
  display: flex;
  justify-content: center; /* Centering the button horizontally */
  align-items: center; /* Centering the button vertically */
  height: 100%; /* Ensuring full height for centering */
  }
  .img-effect img {
  transition: transform 0.6s ease !important;
  object-fit: contain;
  }

  .img-effect:hover img {
  transform: scale(1.1); /* Zoom in on hover */
  }

  .btn-view {
  position: absolute;
  display: flex; /* Using flexbox for centering */
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust positioning to center */
  background: rgba(239, 236, 236, 0.771); /* Semi-transparent background */
  color: #240df2;
  padding: 10px 15px;
  border-radius: 5px;
  opacity: 0; /* Hidden by default */
  transition: opacity 0.3s ease; /* Smooth appearance */
  }
  
  .product-default:hover .btn-view {
  opacity: 1; /* Show button on hover */
  }

  /* hotsell css */

  .products-section {
    background-color: #f8f9fa;
    /* Light background for contrast */
  }

  .hotsellproduct-box {
    /* Updated class name */
    position: relative;
    /* For positioning overlay */
    overflow: hidden;
    /* Prevent overflow */
    margin: 0;
    /* Remove margin */
    padding: 0;
    /* Remove padding */
  }

  .hotsell-img-container {
    /* Updated class name */
    position: relative;
    height: 300px;
    /* Fixed height for all images */
    width: 100%;
    /* Full width */
    overflow: hidden;
    /* Hide overflow */
  }

  .hotsell-product-image {
    /* Updated class name */
    width: 100% !important;
    /* Full width */
    height: 100%;
    /* Full height */
    object-fit: cover;
    /* Cover the area */
    transition: transform 0.5s ease;
    /* Smooth zoom effect */
  }

  .hotsell-img-container:hover .hotsell-product-image {
    /* Updated class name */
    transform: scale(1.1);
    /* Zoom in */
  }

  .hotsell-overlay {
    /* Updated class name */
    position: absolute;
    /* Overlay on top of image */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    /* Center text vertically */
    justify-content: center;
    /* Center text horizontally */
    background-color: rgba(0, 0, 0, 0);
    /* Transparent by default */
    transition: background-color 0.5s ease;
    /* Smooth background transition */
  }

  .hotsell-img-container:hover .hotsell-overlay {
    /* Updated class name */
    background-color: rgba(0, 0, 0, 0.7);
    /* Dark background on hover */
  }

  .hotsell-overlay h3 {
    /* Updated class name */
    color: #ffffff;
    /* White text color */
    margin: 0;
    /* Remove default margin */
    transition: color 0.5s ease;
    /* Smooth text color transition */
  }

  .hotsell-img-container:hover .hotsell-overlay h3 {
    /* Updated class name */
    color: #ffffff;
    /* Keep text white on hover */
  }
 

  
        .bg-orange {
          background-color: #aa77cf !important;
          color: #FFF !important;
        }

.title-orange,.product-price{
  color: #aa77cf !important
}

.icon-orange {
  color: #aa77cf !important
}
   
  .text-dark{
    color: #a8a8a8 !important
  }

    .footer a:focus,
    .footer a:hover,
    a:focus,
    a:hover {
      color: #aa77cf !important;
    }
.fleft{
        font-size: 20px;
        color: #aa77cf !important;
        padding:10px;
}


.product-default .btn-light {
  border-radius: 4px !important;
  padding: 10px !important;
  color: #fff !important;
  height: 40px !important;
}

.product-default .btn-dark {
  border-radius: 4px !important;
  padding: 10px !important;
  color: #fff !important;
  height: 40px !important;
}


.btn-light {
  background-color: #4a7db9 !important;
  color: #FFF !important;
  min-width: 90px;
  border:none !important;
  margin:3px;
}

.btn-dark {
  margin:3px;
  background-color: #aa77cf !important;
  color: #FFF !important;
  min-width: 90px;
  border:none !important;
}

 .btn-light:hover {
   background-color: #aa77cf !important;
   color: #FFF !important;
 }


 .btn-dark:hover {
   background-color: #4a7db9 !important;
   color: #FFF !important;
 }


 /* pagination */
 /* Container for pagination links */
 .pagination {
   display: flex;
   justify-content: center;
   margin-top: 20px;
 }

 .pagination .page-item {
   margin: 0 5px;
 }

 .pagination .page-link {
   color: #4a7db9;
   /* Text color for pagination links */
   background-color: #FFF;
   /* Background color for pagination links */
   border: 1px solid #aa77cf;
   /* Border color for pagination links */
   padding: 8px 12px;
   border-radius: 5px;
   transition: background-color 0.3s, color 0.3s;
   text-decoration: none;
 }

 /* Hover effect for pagination links */
 .pagination .page-link:hover {
   background-color: #4a7db9;
   color: #FFF;
 }

 /* Active page link */
 .pagination .active .page-link {
   background-color: #aa77cf;
   color: #FFF;
   border-color: #4a7db9;
 }
 /* pagination */