/*
Theme Name: Zephyr Child
Template: Zephyr
Version: 3.0.5
Author:	UpSolution
Theme URI: http://zephyr.us-themes.com/
Author URI: http://us-themes.com/
*/

/*Add your own styles here:*/

/***************** Header Tag Section *****************/
.l-subheader.at_top {
  height: 40px !important;
}

.at_top .l-subheader-cell.at_left,
.at_top .l-subheader-cell.at_right {
  width: 25%;
	max-width: 25%;
}

.l-subheader-cell.at_right {
  justify-content: flex-end !important;
}

.at_top  .l-subheader-cell.at_center {
	min-width: 50%;
}

.at_center .l-subheader-cell.at_center {
	min-width: 60%;
}

.login_button {
  display: none;
  width: 100%;
  height: 100%;
}

#menu-item-77105 {
  display: none;
}

.content-box {
columns: 3 auto;
}

/************************ Custom AJAX Product Table  ************************/

#ajax-search-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.ajax-search-input {
  font-size: 0.85rem !important;
}

.filters-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  margin-bottom: 15px;
  /* overflow-x: hidden;  */
}

.filters-container:empty {
  display: none;
  margin: 0;
}

.part-search-title, .cat-filter-title {
  margin-bottom: 0.5rem;
  padding-top: 0.5rem;
  font-size: 1.5rem;
  color: #036;
}

.custom-category-filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 10px;
  row-gap: 3px;
  width: 90%;

  justify-items: start;
  align-items: end;
}

.custom-filter {
    font-size: 0.65rem;
    color: #888888;
}

.filter-group {
  width: 300px; /* Adjust as needed */
}

.filter-group label {
  margin-bottom: 5px;
  font-size: 0.75rem;
}

/* Style for the main filters */
#ajax-search-input,
#category-select,
.manufacturer-select {
  min-width: 200px;
}

/* Ensure consistent sizing for all form elements */
.filter-group select,
.filter-group .radio-group,
#ajax-search-input,
#category-select,
.manufacturer-select,
.ajax-search-btn,
.ajax-reset-btn {
  height: 50px;
}

.ajax-search-btn {
  background: #f6ab12 !important;
  color: #fff !important;
}

.ajax-search-btn:hover {
  background: #1182a2 !important;
}

.ajax-reset-btn, .filter-reset-btn {
  font-size: 0.85rem !important;
  margin-bottom: 0 !important;
  padding: 0.5rem !important;
  border-radius: 3px !important;
  background: #e3e3e3 !important;
  color: #036 !important;
  cursor: pointer !important;
}

.ajax-reset-btn:hover, .filter-reset-btn:hover {
  background: #036 !important;
  color: #fff !important;
}

.ajax-reset-btn {
  box-shadow: 0px 0.1em 0.2em 0px rgba(0, 0, 0, 0.2);
}

#ajax-search-only-form .search-only {
  width: 80%;
  margin-right: 5%;
  height: 50px;
}

.filter-reset-btn {
  margin-bottom: 0.65rem !important;
  /* padding: 0.25rem 1rem; */
  border-radius: 3px;
}

/************************ Datasheet Page Product Table  ************************/
#dalt-table-861 row:hover {
  color: #ffffff !important;
}

.part-link {
  color: #666666 !important;
}

#dalt-table-861 tr:hover a.part-link {
  color: #ffffff !important;
}

#dalt-table-861 a.part-link:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Desktop styles */
@media screen and (max-width: 1600px) { 
  .l-subheader-cell.at_right {
    justify-content: flex-end !important;
  }

  .custom-category-filters {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (max-width: 1440px) { 
  .ajax-reset-btn {
    margin-top: 0.5rem;
    margin-left: 0;
  }

  .custom-category-filters {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1024px) {

  .custom-category-filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .ajax-reset-btn, .ajax-search-btn {
    margin-top: 10px;
  }

}

.rsNav.rsBullets {
  margin-top: 0 !important;
}

/* Tablet styles */
@media screen and (max-width: 767px) {
  .filters-container {
    width: 100%;
  }

  .filter-group {
    max-width: 300px;
  }

  .ajax-search-btn, .ajax-reset-btn {
    margin-top: 1rem;
  }

  .ajax-reset-btn {
    margin-left: 0;
  }

  .l-subheader-cell.at_right {
    justify-content: flex-end !important;
  }
}

/* Mobile styles */
@media screen and (max-width: 680px) {
  .custom-category-filters {
    grid-template-columns: 1fr;
  }

  .filter-group {
    max-width: 100%;
  }
}

@media screen and (max-width: 600px) {
  
  .l-subheader-cell.at_center {
    flex-grow: 0.65 !important;
    max-width: 140px;
    min-width: unset !important;
  }

  .l-subheader-cell.at_center .w-html.ush_html_3 {
    margin: 0;
  }

  .ush_text_1 {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 600px) {

}

/* *************** Part Search Table Specs Column *************** */
.additional-specs-wrapper {
  padding: 5px 0;
}

.spec-item {
  padding-top: 0.15rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #f2f4f5;
}

.spec-item:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #333;
  line-height: 0.85rem;
}

.spec-value {
  font-size: 0.95em;
  color: #555;
}

/* *************** Part Search Table Pagination Information Tools *************** */
.pagination-infor-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#results-per-page {
  max-width: 150px;
}

/* *************** Series Section in Single Product Page *************** */
/* Only applies to image-top layout */
.series-carousel {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.series-heading {
  margin-top: 0.25rem;
}

.related-products-carousel.image-top-layout .woocommerce-product-item,
.series-carousel.image-top-layout .woocommerce-product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.related-products-carousel.image-top-layout .related-product-image,
.series-carousel.image-top-layout .related-product-image {
  margin-bottom: 0.5rem;
}

.related-products-carousel.image-top-layout .woocommerce-loop-product__title,
.series-carousel.image-top-layout .woocommerce-loop-product__title {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.related-products-carousel.image-top-layout .related-product-additional-info,
.series-carousel.image-top-layout .related-product-additional-info {
  font-size: 0.75rem;
  color: #555;
}

.series-image-wrapper {
    flex: 2;
    max-width: 150px;
}

.series-image-wrapper img {
    width: 150px;
}

.series-info-wrapper {
    padding-left: 10px;
}

.series-title {
    margin-bottom: 0.25rem !important;
    line-height: 0.85rem;
}

.series-item .mfr-description {
    font-size: 0.65rem;
    line-height:0.85rem;
}