input[type="checkbox"] {
  min-width: 18px;
  min-height: 18px;
}

.grand_total_main .left {
  display: flex;
  align-items: flex-start;
}

.grand_total_main .left input[type="checkbox"] {
  margin-right: 10px;
}

.search_main .search_btn {
  align-items: center;
  background: white;
  justify-content: center;
  top: 0;
  right: 3px;
  padding: 5px;
}

.search_main .search_btn {
  width: 25px;
  height: 100%;
}

.checkbox_label {
  display: flex;
  align-items: center;
}

.checkbox_label label {
  margin-left: 10px;
  margin-bottom: 0px;
}

.form-group .form-control {
  height: 45px !important;
}

.custom_select.form-grays .selection {
  background: #f4f2f2 !important;
  padding-right: 30px;
}

.custom_select.form-grays.only-phone .select2 {
  width: 75px !important;
}

.category_list li a,
.category_list li a:hover {
  text-decoration: none;
}

.arrow_btn {
  background: transparent;
  border: none;
  padding: 0;
  margin-left: 8px;
}

.arrow_btn img.arrow_icon {
  transition: transform 0.3s ease;
}

.rotate-90 {
  transform: rotate(90deg);
}

.btn.btn-blue {
  color: var(--primarycolor) !important;
}

.btn.payNow:hover {
  color: white;
}

.select2-container--open .select2-dropdown--below {
  border-top: 1px solid #aaa;
  border-radius: 1px !important;
}

.prod_list_card .carousel-inner,
.prod_list_card .carousel-item {
  max-height: 280px;
  height: 100%;
}

.cart_product_details_main .cart_product_details figure {
  height: 90px;
  overflow: hidden;
}

.order_single figure {
  height: 90px;
  width: 90px;
}

.prod_list_card .carousel-item img {
  max-width: 280px;
}

.btn.btn-white {
  color: var(--primarycolor);
}

.handburger-right {
  cursor: pointer;
}

.form-control,
.form-control:focus {
  min-height: 45px;
}

.prod_list_main {
  width: 100%;
}

.select2-container .select2-selection--single {
  width: 100%;
}

.search-container .selection {
  height: 44px;
}

.search-container {
  position: relative;
}

.search-container::after {
  position: absolute;
  content: "";
  right: 13px;
  top: 15px;
  width: 13px;
  height: 13px;
  background: url(../img/icons/header_search_icon.svg) center center no-repeat;
  background-size: cover;
  pointer-events: none;
}

.search-container .select2-selection__arrow {
  display: none;
}

.prod_list_card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.prod_slider {
  height: 100%;
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.pagination li a {
  padding: 0px 5px;
}

.pagination {
  justify-content: center;
  flex-wrap: wrap;
}

.pagination li .arrow_btn {
  margin: 0px;
}

.dropdown-toggle.dropdown-whites::after {
  height: 13px;
  width: 13px;
  background: url(../img/icons/right_arrow_white.svg) no-repeat center;
  border: 0px;
  background-size: contain;
  vertical-align: middle;
  margin-top: -3px;
}

.btn-login.dropdown-toggle.dropdown-whites::after  {

  top: 8px;
}

#failedModal .modal-icon-titles {
  color: #FF4444;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
input:-internal-autofill-selected {
  background-color: transparent !important;
}

.inner_list_main.empty,
.prod_list_main.empty {
  display: flex;
}

.inner_list_main.empty .order_wrapper,
.prod_list_main.empty .order_wrapper {
  width: 100%;
}

.dropdown-item {
  cursor: pointer;
}



.category_list_main {
  max-width: 270px;
}

.product_details_filter_main .white_card {
  max-width: 270px;
}


.category-left {
  max-width: 270px;
  width: 100%;
}

.category-right {
  width: 100%;

}



#AddressModal .modal-header {
  border-bottom: 0px;
  padding-bottom: 20px;
}

.form_footer_btns {
  margin-bottom: 0px;
}

.ts-control {
  min-height: 45px;
}

.toggle-password.show_password .pw-show {
  margin-top: 3px;
}

.added_address_list .added_address_single .recipient_details .recipient_name {
  margin: 0 0 10px;
}


.order_single {
  position: relative;
}

.top_corner_label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #1396D3;
  color: white;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 12px;
  font-weight: 500;
}
.top_corner_dropdown {
  position: absolute;
  top: 20px;
  right: 10px;
  z-index: 10;
}

.top_corner_dropdown select {
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.delete-order-item {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 99999;
  height: 28px;
  width: 28px;
  padding: 0;
  border-radius: 50%;
  background-color: #dc3545; /* Bootstrap danger red */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.btn.checkOutBtn:hover {
  color: white;
}

.ts-control {
  padding: 8px 14px!important;
}

.ok {
  border-left: 0px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.filter_option_single.active {
  background-color: #f0f0f0;
  border-radius: 5px;
}
.product_title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
  cursor: default; /* optional, shows it's not clickable */
}

#min_price {
  text-align: left;
}

#max_price {
  text-align: right;
}

@media (min-width: 1200px) and  (max-width: 1500px){

  .main_menu_wrapper .main_menu li a {
    font-size: 12px;
  }
}


.prod_list_card {
  padding: 0px;
}

.prod_list_card .prod_slider {
  padding: 20px 20px 0px 20px;
}

.prod_list_card .prod_last {
  padding: 0px 0px 20px 0px;
  width: calc(100% - 40px);
  margin: auto;
}

#product_listing {
  grid-template-columns: repeat(5, 1fr);
}


@media (min-width: 992px) and (max-width: 1299px) {

  #product_listing .prod_list_card {
    width: 24%;
  }
}


.carousel-item img {
  max-width: 100%;
  height: 100%;
}

.category_list_main {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 20px 0px 20px 20px;
}

.category_head_main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.category_head_main h4 {
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.category_list,
.sub_category_list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.category_item {
    
    border-radius: 6px;
    transition: background 0.2s ease;
}


.category_item a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.arrow_btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    transition: transform 0.2s;
}

.arrow_icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.arrow_icon.rotate-90 {
    transform: rotate(90deg);
}

.sub_category_list {
    padding-left: 12px;
}

.category_item {
    margin-bottom: 4px;
}

#mainAll.category_item {
  margin-top: 7px;
}

.category_toggle {
  transform: translate(0px, 6px);
}

.swiper-button-next, .swiper-button-prev {
  color: gray;
}

.btn.btn-greys, .btn.btn-greys:hover {
  color: var(--txtdefault);
}

.category_head_main {
  margin-bottom: 10px!important;
}


.productSwiper .swiper-slide {
  width: calc((100% - 30px) / 4);
}

.productSwiper .image-slider {
  margin-top: 10px;
}

.more-dropdown-container {
  position:absolute; 
  display:none; 
  background:#fff; 
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); 
  z-index:99; 
  width: 270px; 
  padding-left: 14px; 
  border-radius:8px; 
  padding-top: 10px;
}

.view-toggle-bottom {
  cursor:pointer; 
  position:relative; 
  z-index: 99; 
  padding-top: 20px; 
  padding-bottom: 10px;
}

.product_details_header {
  margin: -62px 0px 20px 0px;
}

.after-login-hedaer {
  width: auto;
}

@media (min-width: 1200px) {
  .min-h-lefts {
    min-height: 736px;
  }
}

@media (max-width: 1299px) {

  .category_list_main {
    max-width: 100%;
  }
  
  .product_details_filter_main .white_card {
    max-width: 100%;
  }
}

@media (max-width: 1200px) {

  .header_main .header_content_main .header_top {
    margin: 0 0 0px!important;
  }

  .search_main {
    margin-top: 10px;
  }
}

@media (max-width: 992px) {

  .after-login-hedaer {
    width: 100%;
  }
  
  .product_details_header {
    margin: 0px 0px 20px 0px;
  }

  .category_list {
    padding: 10px 0px!important;
  }

  .category_item:hover {
    box-shadow: initial!important;
  }

  .category-left {
    max-width: 100%;
    width: 100%;
  }

  .sub_category_list {
    box-shadow: initial!important;
  }

  .sub_category_list .category_item {
    padding-left: 15px!important;
    padding-right: 0px!important;
  }

  .swiper {
    height: auto!important;
  }
}

@media (max-width: 768px) {
  .filter-btn-submit button {
    width: 100%;
  }

  .filter_main {
    display: none;
    width: 100%;
  }

  .status-container {
    overflow: scroll;
  }

  .grand_total_main .right {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
  }

  .order_card_single,
  .select_all_main {
    padding: 20px 15px;
    justify-content: space-between;
  }

  .header,
  .address-section {
    padding: 15px !important;
  }

  .order-items {
    margin: 15px auto 0;
    width: calc(100% - 30px);
  }

  .total_th {
    padding: 0px;
  }

  .item-row .order-numberss:nth-child(3) {
    width: 40px;
  }

  .item-header .label:nth-child(3) {
    width: 78px;
  }

  .item-info {
    padding-right: 0px;
  }

  .summary {
    padding: 0px 15px;
  }

  .summary-table {
    min-width: 100%;
    padding: 30px 15px;
  }

  .added_address_list .added_address_single .recipient_details {
    min-width: 100%;
    max-width: 100%;
  }

  .added_address_list .added_address_single {
    flex-wrap: wrap;
  }

  .added_address_list .added_address_single .default_main {
    margin-left: 0px;
  }

  .common_white_card {
    padding: 25px 15px;
  }

  .payment_btn_wrapper,
  .two_btns {
    flex-wrap: wrap;
  }

  .payment_btn_wrapper button,
  .two_btns button {
    width: 100% !important;
    max-width: 100% !important;
  }

  .two_btns button:last-child {
    margin-top: 15px;
  }

  .added_address_single.finaladdress .default_main .set_as_default,
  .added_address_single.finaladdress .default_main .default,
  .added_address_single.finaladdress .default_main {
    padding: 0px;
    font-size: 14px;
  }

  .added_address_single.finaladdress .address_btns_main {
    padding: 0px;
    font-size: 14px;
  }

  .added_address_list .added_address_single .address_btns_main {
    width: auto;
  }
}


@media (max-width: 576px) {
  .sub-page-white {
      padding: 0px;
      background: rgba(255, 255, 255, 0.7);
  }

  #AddressModal .modal-content {
    padding: 20px 15px;
  }

  .specification_main ul li img{
    width: 100%;
    margin-top: 10px;
  }
}

@media (min-width: 576px) {
  #AddressModal .modal-dialog {
    min-width: 750px;
  }

  #AddressModal .modal-content {
    padding: 20px;
  }

  .specification_main ul li img{
    max-width: 100%;
    margin-top: 10px;
  }

  .specification_main ul li .value.description_main {
    max-width: calc(100% - 260px );
    width: 100%;
  }
}


.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999999999; 
}

.loader {
  border: 16px solid #f3f3f3; 
  border-top: 16px solid #3498db; 
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.select2-search.select2-search--dropdown {
  padding: 0px!important;
}

.category_item {
  min-height: 32px;
}