/* Custom styles */
/* Mobile header */
@media (max-width: 767px) {
    .logo {
        text-align: center;
    }

    .navbar-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .sidebar-toggle {
        order: -1; /* Move the sidebar toggle to the left */
    }
}

/* Desktop header */
@media (min-width: 768px) {
    .ht-container {
        /*max-width: 1230px;*/
        margin-left: auto;
        margin-right: auto;
    }

    .logo {
        text-align: left;
    }

    .navbar-nav {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    .navbar-nav .nav-item {
        margin-left: 20px;
    }

    .navbar-nav .nav-item:first-child {
        margin-left: 0;
    }
}

.title-logo {
    max-height: 25px;
}

.icon16 {
    height: 16px;
    width: 16px;
}

.icon20 {
    height: 20px;
    width: 20px;
}

.icon30 {
    height: 30px;
    width: 30px;
}

.icon40 {
    height: 40px;
    width: 40px;
}

.icon50 {
    height: 50px;
    width: 50px;
}

.icon60 {
    height: 60px;
    width: 60px;
}

.icon80 {
    height: 80px;
    width: 80px;
}

a:hover {
    color: #e62b35 !important;
}

.text10 {
    font-size: 10px;
}

.text12 {
    font-size: 12px;
}

.text14 {
    font-size: 14px;
}

.text16 {
    font-size: 16px;
}

.text18 {
    font-size: 18px;
}

.text20 {
    font-size: 20px;
}

.text22 {
    font-size: 22px;
}
/*header */
.dropdown-hover .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 150px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-hover:hover .dropdown-menu {
    display: block;
}

.reg-button:hover {
    color: #FFFFFF !important;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    color: #FFFFFF !important;
    transition: background-color 0.3s ease;
}

.custom-input-group-search {
    display: flex;
    align-items: center;
}

.custom-form-control-search {
    flex: 1;
    border: 1px solid #ced4da; /* Default border color */
    outline: none;
    background-color: transparent;
    border-radius: 20px;
    padding: 5px 10px;
    margin-right: -1px; /* Remove the gap between button and input */
    transition: width 0.3s ease; /* Transition for width change */
}

.custom-btn-search {
    background-color: #28a745;
    border-color: #28a745;
    border-radius: 20px;
    padding: 5px 8px;
    transition: all 0.3s ease;
}

.custom-btn-search:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.custom-form-control-search::placeholder {
    text-align: left;
}

.custom-form-control-search:focus {
    border-color: #28a745; /* Border color on focus */
}


.custom-btn:hover {
    background-color: #218838; /* Change background color on hover */
    border-color: #1e7e34; /* Change border color on hover */
}

.bag-custom {
    padding: 7px;
    user-select: none;
}

.pointer {
    cursor: pointer;
}

/* Custom CSS with unique class names */
.custom-input-cart .custom-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.custom-input-cart .custom-input {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    height: calc(1.5em + 0.5rem + 2px);
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    max-width: 50px; /* Adjust the max-width as per your requirement */
}

a.btn:hover {
    color: #fff !important;
}
  /* Hide carousel control buttons by default */
  .carousel-control-prev, .carousel-control-next {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  /* Show carousel control buttons on hover */
  .carousel:hover .carousel-control-prev, .carousel:hover .carousel-control-next {
    opacity: 1;
  }

/*quickCategory*/
    .category-list {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    .category-item {
      border-radius: 20px;
      background-color: #f8f9fa;
      margin: 5px;
      padding: 10px;
      display: flex;
      align-items: center;
      flex-basis: calc(25% - 10px); /* 4 items per row, with margin between them */
    }

    .category-item i {
      width: 30px;
      height: 30px;
      margin-right: 10px;
      border-radius: 50%;
    }
    .category-item a{color: #000; text-decoration: none;}
     @media (min-width: 576px) {
         .category-item a {
             font-weight: 550;
         }
     }
    @media (max-width: 767px) {
      .category-item {
        flex-basis: calc(50% - 10px); /* 2 items per row in mobile */
      }
    }
    .category-item:hover{box-shadow: -2px 3px 5px rgb(0 0 0 / 0.1);}

/*sidebar*/
        /* Custom styles */
        .icon-left {
            margin-right: 10px;
        }
        .list-item, .accordion-button, .subcategory-item {
            transition: background-color 0.3s;
            background-color: #fff;
        }
        .list-item:hover, .accordion-button:hover, .subcategory-item:hover {
            background-color: #eaeaea  !important;
        }
        .accordion-button.active {
            background-color: transparent;
        }
        .subcategory-list {
            list-style-type: none;
            padding-left: 20px;
        }
        .subcategory-item {
            margin-bottom: 5px;
            padding: 5px;
            border-radius: 5px;
            background-color: #f8f9fa;
            color: #333;
        }
        .subcategory-item:hover {
            background-color: #e9ecef;
        }
        .show {
            display: block !important;
        }
        .accordion-button:not(.collapsed) {
          background-color: #fff;
        }
        .accordion-button a{
          color: #000;
          text-decoration: none;
        }
        .accordion-item{
            background-color: #fff;
        }
/*sidebar*/

        .italic-text {
            font-style: italic;
        }
    footer a{ text-decoration: none}
    .social-icons svg:hover{ color: red!important;}
        /* Custom styles */
        .product {
            position: relative;
            padding: 5px;
            border: 1px solid #dee2e6;
            display: flex;
            flex-direction: column;
            height: 100%;
            border-radius: 15px;
            background-color: #FFFFFF;
            text-decoration: none;

        }
        .product a{ text-decoration:  none;}
        .product-img{
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }
        .product img {
            display: block;
            width: 100%;
            height: auto;
            flex-shrink: 0; /* Prevent image from shrinking */
            background-color: #fff;
             transition:all 0.5s;
        }
        .product img:hover {
            transform: scale(1.1) rotate(3deg);
        }
        .product>.badge {
            position: absolute;
            top: 15px;
            left: 15px;
            cursor:pointer;
            z-index: 1;
        }
        .favorite {
            z-index: 1;
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: white; /* White background */
            border-radius: 50%; /* Rounded circle */
            /* Adjust padding as needed */
            padding: 3px;
            --tw-shadow: 0px 4px 16px rgba(126, 133, 142, 0.16);
        }
        .favorite:hover {
            background-color: #d7d7d7;
        }
        .favorite svg {
            height: 20px;
            color: black; /* Change the color of the heart icon */
        }
        .product-info{ padding-left : 4px}
            .product-info h5:hover {
                color: #e62b35;
            }
        /* Responsive styles */
        @media (max-width: 576px) { /* Small devices (phones) */
            .product-info h5 {
                font-weight: 550;
                color: #000;
                font-size: 14px; /* Adjust font size for small devices */
                /*font-style: italic;*/
display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
            }
            .product-info p {
                font-weight: 550;
                font-size: 12px; /* Adjust font size for small devices */
            }
            .product-info p>del {
                font-weight: 400;
                font-size: 80%;
            }
            /* Hover effect */
            .product:hover {
                box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Add shadow effect on hover */
            }
        }

        @media (min-width: 576px) { /* Medium devices (tablets) */
            .product-info h5 {
                font-weight: 600;
                color: #000;
                /*font-style: italic;*/
                font-size: 16px; /* Adjust font size for medium devices */
display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-line-clamp: 2;
            }
            .product-info p {
                font-weight: 600;
                font-size: 14px; /* Adjust font size for medium devices */
            }
            .product-info p>del {
                font-weight: 400;
                font-size: 80%;
            }
            /* Hover effect */
            .product:hover {
                transform: translateY(-3px); /* Move the card up on hover */
                box-shadow: 0 0 20px rgba(0, 0, 0, 0.12); /* Add shadow effect on hover */
            }
        }
/*//brands*/
    .brand-item {
      padding-top: 8px;
      flex: 0 0 auto;
      margin-right: 15px;
      overflow: hidden;
      transition: background-color 0.3s ease, box-shadow 0.3s ease, all 0.3s;
    }
    .brand-item img {
      width: 70px;
      height: 70px;
      object-fit: cover;
    }
    .brand-item a {
     color: #000;
        text-decoration: none;
        font-weight: bold;
    }
    .brand-item:hover {
        background-color: #f0f0f0; /* Change background color on hover */
        transform: scale(1.05);
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
    }
    /* Media Query for small screens */
    @media (max-width: 576px) {
    .brand-item img {
      width: 60px;
      height: 60px;
      margin-left: 16px;
      margin-right: 16px;
      object-fit: cover;
    }
    }
.flex-nowrap::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for Chrome, Safari and Opera */
.flex-nowrap {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}


.mySubCategory{
    text-decoration: none; color: black;
}


/* //profile */
.info-box {
    min-height: 100px;
    background: #fff;
    width: 100%;
    margin-bottom: 10px;
    padding: 1.25rem;
    border-radius: 5px;
    -webkit-box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.05);
  }
  .info-box-icon {
  float: left;
  height: 70px;
  width: 70px;
  text-align: center;
  line-height: 74px;
  background: rgba(0, 0, 0, .2);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
}
.info-box-content {
  padding: 10px 10px 10px 0;
  margin-left: 90px;
}
.info-box-number {
  font-weight: 500;
  font-size: 18px;
}
.info-box-text, .progress-description {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
}
@media (max-width: 576px) {
    .info-box {
    margin-bottom: 10px;
    padding: .5rem;
    min-height: 40px;
    align-content: center
  }
  .info-box-icon {
  float: left;
  height: 60px;
  width: 60px;
  text-align: center;
}
.info-box-content {
  padding: 10px ;
  margin-left: 70px;
}
}
/* Profile container */
.profile {
  margin: 20px 0;
}

/* Profile sidebar */
.profile-sidebar {
  padding: 20px 0 10px 0;
  background: #fff;
  border-radius: 8px;
}
.profile-userpic{
    text-align: center;
}
.profile-userpic img {
  float: none;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  border-radius: 50% !important;
}

.profile-usertitle {
  text-align: center;
  margin-top: 20px;
}

.profile-usertitle-name {
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 7px;
}

.profile-usertitle-job {
  text-transform: uppercase;
  color: #5b9bd1;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}


/* Profile Content */
.profile-content {
  padding: 20px;
  background: #fff;
  min-height: 460px;
}

        /* Loader styles */
        .loader {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: inline-block;
            position: relative;
            border: 3px solid;
            border-color: #FFF #FFF transparent transparent;
            box-sizing: border-box;
            animation: rotation 1s linear infinite;
        }
        .loader::after,
        .loader::before {
            content: '';
            box-sizing: border-box;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            margin: auto;
            border: 3px solid;
            border-color: transparent transparent #FF3D00 #FF3D00;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            box-sizing: border-box;
            animation: rotationBack 0.5s linear infinite;
            transform-origin: center center;
        }
        .loader::before {
            width: 32px;
            height: 32px;
            border-color: #FFF #FFF transparent transparent;
            animation: rotation 1.5s linear infinite;
        }

        @keyframes rotation {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
        @keyframes rotationBack {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(-360deg);
            }
        }

        /* Full-screen preloader */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            display: flex;
            justify-content: center;
            align-items: center;
        }
/*//bre*/
        .breadcrumb-item a{color: black!important;text-decoration: none}
        .breadcrumb-item a:hover{color: red!important;}
        h6 a{text-decoration: none}
        .mainThumbnail{max-width: 100%; max-height: 100vh; margin: auto; background-color: #fff}
