/* Search Container */
.custom_search_container_csb {
  width: 100%;
  z-index: 999;
  position: relative;
}
.csb-my-account_search_section
{
  margin-bottom: 20px;
}

.csb-my-account_search_section .csb_custom_container input[type="search"], .csb-my-account_search_section .csb_custom_container input[type="text"] {
    border: 1px solid #d8d8d8 !important;
    background: transparent !important;
}

.csb-my-account_search_section .csb_custom_container .search-form .search-btn {
    background: #fefefe !important;
}

.csb-my-account_search_section .search-submit i {
    color: #171616 !important;
}

/* Search Form */
/*.search-form {
    display: flex;
    align-items: center;
    background-color: #2C2E36;
    padding: 0;
    border-radius: 5px;
}*/

/* Search Input Field */
.custom_search_container_csb .search-field {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  color: #e1e1e1; /* Light text color */
  background-color: transparent;
  border: none;
  outline: none;
}
.custom_search_container_csb .loader_csb > img {
  position: absolute !important;
  top: 0 !important;
  height: 20px !important;
  right: 0 !important;
  padding: 0px !important;
  margin: 12px 0px !important;
}

/* Placeholder Text Styling */
.custom_search_container_csb .search-field::placeholder {
  color: #e1e1e1; /* Light placeholder color */
  opacity: 1; /* Ensure the placeholder is fully visible */
}

/* Search Button */
/*.search-submit {
    background-color: transparent;
    color: #E1E1E1; 
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 18px; 
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
}*/

/* Search Icon */
.custom_search_container_csb .search-submit i {
  margin-left: 5px;
}

/* Results Container */
.search_result_container_csb {
  max-height: 400px;
  overflow-y: auto;
  background-color: #fff;
  margin-top: -1px;
  z-index: 1000;
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  font-size: 12px;
  line-height: 16px;
  /*    border: 1px solid #ccc;*/
}

/* Product Item */
.search_result_container_csb .product-item {
  list-style: none;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
  margin: 0 !important;
  position: relative;
}

.search_result_container_csb .product-thumbnail img {
  width: 50px;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  margin-right: 10px;
}

/* "View All" Button */
.csb_view_all {
  text-align: center;
  background: transparent;
}

.csb_view_all:hover {
  background: #f5f5f5;
}

/* Scrollable Product List */
.search_result_container_csb {
  overflow-y: auto;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
  .custom_search_container_csb {
    width: 100%;
    right: 0;
    left: 0;
  }

  .custom_search_container_csb .search-field {
    font-size: 12px;
  }

  .custom_search_container_csb .search-submit {
    padding: 5px 8px;
    font-size: 12px;
  }
}

.csb_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  font-family: Arial, sans-serif;
  margin-bottom: 30px;
  flex-wrap: wrap;
  row-gap: 10px;
}

.csb_pagination a,
.csb_pagination span.current-page {
  color: #767676; /* Change this color to match your theme */
  text-decoration: none;
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.csb_pagination a:hover {
  background-color: #666; /* Change this color to match your theme */
}

.csb_pagination span.current-page {
  background-color: #b50c09; /* Change this color to match your theme */
  color: #fff;
  font-weight: bold;
}

.csb_pagination a.prev,
.csb_pagination a.next {
  font-weight: bold;
}

.csb_pagination a.prev:hover,
.csb_pagination a.next:hover {
  background-color: #b50c09;
  color: #fff;
}

.csb_admin_container {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 300px;
  margin: 20px auto;
  text-align: center;
}

.csb_index_products {
  padding: 10px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.csb_index_products:hover {
  background-color: #b50c09;
}

.csb_progress_bar_container {
  margin-top: 20px;
  width: 100%;
}

.csb_progress_bar {
  background-color: #e0e0e0;
  border-radius: 20px;
  height: 20px;
  overflow: hidden;
}

.csb_progress {
  height: 100%;
  width: 0;
  background-color: #b50c09;
  border-radius: 20px;
  transition: width 0.5s;
}

.csb_progress_percentage {
  margin-top: 10px;
  font-size: 14px;
}

/* searchbar design */
@media (min-width: 1201px) {
  header .srch_hdr .csb_custom_container {
    margin: 0 !important;
    width: 290px;
  }
}

.csb_custom_container .search-form {
  position: relative;
  width: 100%;
  float: none !important;
  display: -webkit-box !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: -webkit-flex !important;
  display: flex !important;
  align-items: stretch;
  height: 44px;
}
.csb_custom_container .search-form .aws-wrapper {
  flex-grow: 1;
  position: relative;
  vertical-align: top;
  padding: 0;
  width: 100%;
  overflow: hidden;
}
/*.csb_custom_container .search-form label {
    position: absolute!important;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
}*/
.csb_custom_container input[type="search"],
.csb_custom_container input[type="text"] {
  background: rgba(242, 243, 243, 0.1) !important;
  border: 2px solid rgba(242, 243, 243, 0.1) !important;
  padding: 6px 15px 6px 15px !important;
  font-size: 15px !important;
  color: #ffff !important;
  width: 100% !important;
  height: 43px !important;
  border-right: 0 !important;
}

.csb_custom_container .search-submit {
  background: transparent;
  border: none;
  border-left: 0 !important;
  height: 43px;
  margin: 0 !important;
  width: 42px;
}

.search-submit i {
  color: #bfbfbf !important;
}

.csb_custom_container .search-form .search-wrapper {
  flex-grow: 1;
  position: relative;
  vertical-align: top;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

.csb_custom_container .search-form .search-btn {
  background: rgba(242, 243, 243, 0.1) !important;
  border: 2px solid rgba(242, 243, 243, 0.1) !important;
  border-left: 0 !important;
  height: 43px;
  margin: 0 !important;
  cursor: pointer;
}

.csb_custom_container .aws-search-form.aws-processing .aws-loader {
  display: block;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 0.7s infinite linear;
  animation: load8 0.7s infinite linear;
}

.aws-search-result {
  position: absolute;
  text-align: left;
  z-index: 9999999999999;
  background: #fff;
  width: 100%;
  margin-top: -1px;
  border: 1px solid #ccc;
  font-size: 12px;
  line-height: 16px;
}

.csb_custom_container .product-thumbnail {
  display: flex;
  height: 100%;
  padding: 10px 8px;
}

.csb_custom_container .product-thumbnail:hover {
  background: #f5f5f5;
}

.csb_custom_container .product-details {
  width: calc(100% - 50px);
}

.csb_custom_container .product-details p {
  margin: 0;
}

.csb_product_thumb {
  width: 50px;
  padding: 0 10px 0 0;
}
.csb_custom_container .product-title {
  color: #b50c09 !important;
  font-size: 15px;
  display: block !important;
  font-weight: 400;
  margin-bottom: 7px !important;
}

.csb_custom_container .product-price {
  display: block;
  padding: 2px 0;
  color: #222;
}

.csb_custom_container .product-description {
  display: block;
  color: #222;
}

.search_view_all {
  color: #b50c09 !important;
  font-size: 15px;
  display: block !important;
  line-height: 40px;
  text-decoration: none;
  border: none;
  text-align: center;
  cursor: pointer;
  width: 100%;
  background: #f1f1f1;
}

/* result page */
.custom-search-results .pro_csb_search_container {
  display: flex;
  flex-wrap: wrap;
}

.custom-search-results .product-item {
  width: 25%;
  padding: calc((20px) / 2);
  margin-bottom: 60px;
}
.custom-search-results .product-item img {
  width: 100%;
  display: block;
}
.custom-search-results .product-title {
  margin-bottom: 15px;
  min-height: 65px;
  width: 100%;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.csb_custom_search_page main#main.full_width_wrapper .fusion-row {
  max-width: 100% !important;
}

.custom-search-results .product-title a {
  color: #111;
  font-weight: 600;
  text-align: center;
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-family: Montserrat, Arial, Helvetica, sans-serif;
}
.custom-search-results .product-details {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
}
.custom-search-results .product-thumbnail {
  display: block;
}
.custom-search-results .product-price span,
.custom-search-results .product-price bdi {
  font-family: "chakra_petchbold" !important;
  color: #9d9d9d !important;
  margin-top: 3px;
  display: inline-block;
  font-size: 20px;
}
.custom-search-results .product-details span.price > del:before,
.custom-search-results
  .product-details
  .single-product
  .summary.entry-summary
  del
  span.woocommerce-Price-amount.amount
  bdi:before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 2px solid #b50c09 !important;
  border-color: inherit;
  -webkit-transform: rotate(-5deg);
  transform: rotate(-5deg);
}
.custom-search-results .product-price {
  margin: 0;
}
.custom-search-results .button.add_to_cart_button {
  color: #fff !important;
  background: #b50c09 !important;
  padding: 10px 21px 10px 45px;
  margin: auto;
  float: none;
  max-width: 100%;
  text-align: center;
  border-radius: 5px;
  font-family: "chakra_petchbold";
  text-transform: uppercase;
  font-size: 17px;
  width: auto;
  display: table;
  margin-top: 25px;
  line-height: 1.5;
}
.custom-search-results .button.add_to_cart_button:before {
  position: absolute;
  margin-left: -16px;
  font-family: awb-icons;
  color: inherit;
}
.custom-search-results .button.add_to_cart_button:before {
  margin-left: -24px;
}
.custom-search-results .button.add_to_cart_button.product_type_variable:before {
  content: "\f013";
}
.custom-search-results .add_to_cart_button:before,
.custom-search-results .product_type_auction:before,
.custom-search-results .product_type_external:before,
.custom-search-results .product_type_simple:before {
  content: "\f07a";
}

.csb_custom_search_page .full_width_wrapper {
  background: #fff !important;
}

ul.csb_bcp {
  display: flex;
  align-items: center;
}

.csb_main_search_container {
  padding: 0 0 60px;
  max-width: 100%;
  margin: auto;
  /* display: table; */
  width: 100%;
}
.newest-product-tag {
  position: absolute;
  background: #de303a !important;
  color: #fff !important;
  top: 0;
  left: 0;
  padding: 0 46px;
  z-index: 99;
  font-size: 16px;
  line-height: 35px;
  height: 35px;
}
.newest-product-tag:after {
  border-top: 35px solid #de303a;
  border-right: 30px solid transparent;
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  border-radius: 0px 2px 0 0;
}
.csb_main_search_container #content {
  float: none;
}


/* .full_width_wrapper {
  background-color: #fff !important;
} */

.custom-search-header {
  margin-bottom: 30px;
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.custom-search-header ul {
  flex-wrap: wrap;
}
.custom-search-header .csb_bcp i {
  color: #abaaaa !important;
  font-size: 20px;
}

span.arrow_hd {
  color: #abaaaa !important;
  font-size: 20px;
}

.custom-search-header ul li {
  color: #707070;
  font-family: "chakra_petchbold";
  text-transform: uppercase;
  font-size: 18px;
  padding: 0 5px;
}

.custom-search-header ul li a {
  color: #707070;
  font-family: "chakra_petchbold";
  text-transform: uppercase;
  font-size: 18px;
}

.csb_bc_button a {
  padding: 2px 20px 3px 20px;
  margin: 0;
  display: table;
  border-radius: 4px;
  background: #b50c09 !important;
  color: #fff !important;
  font-size: 18px;
  width: auto;
}

.csb_bc_button {
  display: table;
  width: 100%;
  margin-top: 20px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .custom-search-results .product-item {
    width: 50%;
  }
}

@media only screen and (max-width: 917px) {
  .custom-search-results .product-item {
    width: 50%;
  }
}

@media only screen and (max-width: 575px) {
  .custom-search-results .product-item {
    width: 100%;
  }
  .custom-search-header ul li a,
  .custom-search-header ul li {
    font-size: 14px;
  }
  .csb_main_search_container {
    padding: 20px 0;
  }
}

.newest-product-tag{
  color: #9c9c9c;
}

/* .csb_view_all {
  top: auto;
  text-align: center;
  background: transparent;
  position: absolute;
  bottom: 0;
  height: 50px;
  background: #e7e7e7;
  z-index: 1;
  display: flex;
  width: 100%;
} */


.button.add_to_cart_button
{
    color: #fff !important;
    background: #b50c09 !important;
    padding: 10px 21px 10px 45px;
    margin: auto !important;
    float: none;
    max-width: 100%;
    text-align: center;
    border-radius: 5px;
    font-family: "chakra_petchbold";
    text-transform: uppercase;
    font-size: 17px;
    width: auto;
    display: table;
    margin-top: 25px !important;
    float: none !important;
}

.button.add_to_cart_button:before{
    margin-left: -24px !important;
}

.csb_error_
{
  text-align: center;
  color: #666;
  margin: 0 !important;
  padding: 10px 0 !important;
}

.csb_main_search_container p.woocommerce-info{
  color: #666;
}
@media only screen and (max-width: 767px) {
.csb_pagination a, .csb_pagination span.current-page {
  padding: 1px 8px;
  font-size: 13px;
}
}








