@font-face {
    font-family: 'IranYekan';
    src: url('../fonts/iranyekan/iranyekanwebblackfanum.woff') format('woff');        
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'IranYekan';
    background-color: #f8f9fa;
    direction: rtl;
}
 /* تنظیم ارتفاع اسلایدر */
 .carousel-item img {
    height: 450px; 
    object-fit: cover;
}
/* تنظیم ارتفاع ثابت برای اسلایدر */
.carousel-item {
    height: 450px;  /*ارتفاع ثابت برای اسلایدر */
}

/* تنظیم تصاویر برای پر کردن کامل اسلایدر */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;    
}
.navbar-nav {
    flex-direction: row;
    align-items: right;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
    display: none;
}
@media (min-width:1100px){
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}


/* Adjust the form input size */
form input[type="search"] {
    width:500px;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        justify-content: flex-start;
    }
    .navbar-nav {
        flex-direction: column;
        text-align: right;
        gap: 10px;
        padding-right:15px;
        
    }
    form {
        width: 100%;
        margin-top: 10px;
    }
    form input[type="search"] {
        width: 100%;
    }
}

/* Ensure the dropdown menu is positioned directly below the parent item */
.dropdown-menu {
    position: absolute;
    left: 0;
    top: 100%; /* Places the dropdown below the parent item */
    z-index: 1000; /* Ensure dropdown is on top of other elements */
    border-radius: 0.25rem;
}

/* Optionally, adjust for mobile view to prevent overlap */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        margin-top: 0.5rem;
    }
}
/* Mobile adjustments */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: absolute;
        width: 100%;
        top: 100%; /* Places the dropdown below the parent item */
        z-index: 1000; /* Ensure dropdown is on top of other elements */
        border: none;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
        text-align: right; /* Align items to the right */
    }
    .dropdown-item {
        padding: 10px 15px;
        border-bottom: 1px solid #ddd;
    }
    .dropdown-item:last-child {
        border-bottom: none;
    }    
}
/* change color menu item */
.hover-menu-item:hover {
    background: rgba(5, 0, 245, 0.24);
}
.menu-button-desktop {
    height: 44px;
    margin-right: 20px;
}
.carousel-item img {
    /* height: 250px;  */
    object-fit: cover;
}
.product-card img {
    height: 200px;
    object-fit: cover;
}
/*carousel codes */

  p {
    color: #b3b3b3;
    font-weight: 300; }
  
  
  a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    a, a:hover {
      text-decoration: none !important; }
  
  .content {
    padding: 7rem 0; }
  
  h2 {
    font-size: 20px; }
  
    .bg-left-half {
        position: relative; }
        .bg-left-half:before {
          position: absolute;
          width: 50%;
          height: 100%;
          z-index: -1;
          content: "";
          left: 0;
          top: 0;
          background-color: #f8f9fa; }
      
      .media-29101 img {
        margin-bottom: 20px; }
      
      .media-29101 h3 {
        font-size: 18px;
        font-weight: 900 !important; }
        .media-29101 h3 a {
          color: #6c757d; }
      
      .owl-2-style .owl-nav {
        display: none; }
      
      .owl-2-style .owl-dots {
        text-align: center;
        position: relative;
        bottom: -30px; }
        .owl-2-style .owl-dots .owl-dot {
          display: inline-block; }
          .owl-2-style .owl-dots .owl-dot span {
            display: inline-block;
            width: 15px;
            height: 3px;
            border-radius: 0px;
            background: #cccccc;
            -webkit-transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
            -o-transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
            transition: 0.3s all cubic-bezier(0.32, 0.71, 0.53, 0.53);
            margin: 3px; }
          .owl-2-style .owl-dots .owl-dot.active span {
            background: #007bff; }
          .owl-2-style .owl-dots .owl-dot:active, .owl-2-style .owl-dots .owl-dot:focus {
            outline: none; }
/* single product carousel */
/* Ensure carousel container is positioned relative */
.single-product-carousel {
    position: relative;
}

/* Custom styles for the left arrow */
.single-product-carousel .owl-nav .custom-prev {
    position: absolute;
    left: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Custom styles for the right arrow */
.single-product-carousel .owl-nav .custom-next {
    position: absolute;
    right: 10px; /* Adjust as needed */
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Optional: Change color on hover */
.single-product-carousel .owl-nav .custom-prev:hover,
.single-product-carousel .owl-nav .custom-next:hover {
    color: #007bff;
}
/*footer copy right section last part */
.footer-last-section{   
        display: flex!important;
        align-content: space-around;
        flex-direction: row;
        justify-content: center;
    }
/* shopping card */
@media (min-width: 1025px) {
    .h-custom {
    height: 100vh !important;
    }
    }

/* neshan change font */
.mapboxgl-popup-content h3 {
    font-family: 'IranYekan';
}
.mapboxgl-popup-content p {
    font-family: 'IranYekan';
}
            