/* =========================================================
   SIDEBAR: Base
========================================================= */

#sidebar .widget {
  margin-bottom: 2em !important;
}

#sidebar h4 {
  position: relative;
  color: #000;
  opacity: 1;
  font-weight: 600;
  font-size: 1.25rem !important;
  margin-bottom: 1em !important;
  padding-bottom: 6px;
}

#sidebar h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35%;
  height: 4px;
  background-color: #00ae6e !important
}

/* Sidebar lists */
.woocommerce #sidebar div ul li,
.material.woocommerce #sidebar div ul li {
  padding: 0.5em 0 !important;
}

/* =========================================================
   SIDEBAR: Widgets & Categories
========================================================= */

.widget_product_categories .product-categories .children {
  margin-left: 0 !important;
}

.widget_product_categories .product-categories li a {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
}

.widget_product_categories li a {
  opacity: 0.7;
}

.widget_product_categories li a:hover {
  opacity: 0.9;
}

.widget_product_categories .current-cat > a {
  font-weight: 700;
}

/* Parent categories */
.widget_product_categories li.cat-parent > a {
  font-size: 15px;
}

/* Category name */
.widget_product_categories .cat-name {
  display: inline-block;
  font-size: 15px !important;
}

/* Icon */
.widget_product_categories .cat-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Hide product counts */
.woocommerce .count,
.widget_product_categories .count,
.woocommerce-widget-layered-nav-list__count {
  display: none !important;
}

/* Specific category states */
.cat-item.cat-item-169.cat-parent.current-cat-parent {
  /* background: rgba(239, 243, 250, 0.3) !important; */
}

/* FIX invalid selectors */
.cat-item.cat-item-109 {
/* background: rgba(229, 238, 247, 0.5) !important; */
}

.cat-item.cat-item-169 {
/* background: rgba(229, 238, 247, 0.25) !important; */
}

/* =========================================================
   SIDEBAR: Tag Cloud
========================================================= */

.material #sidebar .widget .tagcloud a,
.material .widget .tagcloud a {
  float: left;
  display: inline-block;
  margin: 2px 4px 4px 0 !important;
  padding: 4px 10px !important;
  color: #666 !important;
  border-radius: 30px !important;
  border: 1px solid #e0e0e0 !important;
  transition: all 0.2s ease;
}

.material #sidebar .widget .tagcloud a:hover,
.material .widget .tagcloud a:hover {
  background: rgba(45, 108, 223, 0.1) !important;
  color: #000 !important;
  border: 1px solid #333 !important;
  box-shadow: none !important;
}

/* Scroll container */
.widget .tagcloud {
  max-height: 12em;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
  position: relative;
  scrollbar-width: thin;
}

.widget .tagcloud::-webkit-scrollbar {
  width: 4px;
}

.widget .tagcloud::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.widget .tagcloud::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.widget .tagcloud::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* =========================================================
   WOOCOMMERCE: Layout
========================================================= */

.archive.woocommerce .container-wrap > .main-content > .row {
  border-radius: 7.5px !important;
}

.archive.woocommerce .container-wrap > .main-content > .row .post-area.span_9 {
  flex: 1;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  border-radius: 5px !important;
}

.woocommerce.archive #sidebar.span_3 {
  width: 22.5% !important;
  /* padding-right:2em !important; */
}

/* =========================================================
   WOOCOMMERCE: Header & Titles
========================================================= */

.nectar-shop-header h1.page-title {
  margin-bottom: 1em !important;
  font-family: 'Montserrat SemiBold' !important;
  font-weight: normal !important;
  font-size: 32px !important;
}

/* Add prefix for tag archives */
body.tax-product_tag h1.page-title::before {
  content: "Tags: ";
}

/* =========================================================
   WOOCOMMERCE: Buttons & Messages
========================================================= */

.woocommerce-page button.button {
  background: #fff !important;
  border: 1px solid #1e73be !important;
  color: #000 !important;
}

.woocommerce-page .container .woocommerce-message a.button {
  padding: 0.15em 0.35em !important;
  vertical-align: middle;
  color: rgb(15, 58, 95) !important;
  background: rgba(192, 192, 192, 0.1) !important;
}

.container-wrap .woocommerce-error {
  margin-left: 0;
  margin-top: 15px !important;
  padding-left: 10px;
}

/* =========================================================
   WOOCOMMERCE: Forms (Login / Account)
========================================================= */

.woocommerce-account .woocommerce {
  background: #fff !important;
  padding: 20px !important;
  border-radius: 10px !important;
  margin: 0 auto;
}

.woocommerce-account form {
  background: #fff;
  border-radius: 12px;
  margin: 0 auto !important;
  max-width: 550px !important;
  padding: 3% 0 !important;
}

.woocommerce-form-login,
.woocommerce-form-register {
  padding: 20px !important;
}

.woocommerce-account input.input-text {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.woocommerce-account button.button {
  padding: 14px;
  border-radius: 8px;
  background: rgb(45, 108, 223);
  color: #fff;
  font-weight: 600;
  border: none;
}

.woocommerce-account .woocommerce-form-login button.button {
  background: #1e73be !important;
  padding: 10px 20px !important;
}

/* Lost password heading */
body.woocommerce-lost-password h2::before {
  content: "Forgot Your Password?";
  display: block;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Center form controls */
.woocommerce-account .woocommerce > #customer_login .nectar-form-controls * {
  text-align: center;
  font-size: 18px;
  font-weight: bold !important;
  color: #000 !important;
}

/* =========================================================
   WOOCOMMERCE: Components
========================================================= */

/* Price filter */
body[data-form-submit].material .container-wrap .widget_price_filter button[type="submit"] {
  border-radius: 5px !important;
  background: #fff !important;
  color: #000 !important;
  border: rgba(30, 115, 190, 1) !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: rgba(30, 115, 190, 1) !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-Tabs-panel {
  color: #000 !important;
}

/* Quick view */
.text_on_hover.product .nectar_quick_view {
  background: transparent !important;
}

.nectar-quick-view-box-backdrop {
  background-color: rgba(0, 0, 0, 0.45);
}

/* Product nav */
.custom-product-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-weight: 600;
}

.custom-product-nav a {
  text-decoration: none;
}

/* =========================================================
   WOOCOMMERCE: Misc UI
========================================================= */

.woocommerce-products-header .woocommerce-category-description,
.woocommerce-page .woocommerce-result-count,
.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead,
div.widget.woocommerce.widget_product_search form {
  display: none !important;
}

.woocommerce .woocommerce-breadcrumb span:last-child {
  opacity: 0.75 !important;
}

.woocommerce .actions .button {
  line-height: unset !important;
}

/* Cart row cleanup */
.woocommerce-cart table tbody tr td:not(.actions) {
  background: none !important;
}

/* =========================================================
   SHOP: Banners
========================================================= */

.shop-banner {
  background: url('/wp-content/uploads/shop-banner.jpg') center / cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  color: #fff;
}

.shop-global-banner {
  background: #111 !important;
  color: #fff !important;
  padding: 80px 20px !important;
  text-align: center;
}

/* =========================================================
   PRODUCT GALLERY
========================================================= */

.woocommerce-product-gallery__image {
  position: relative;
  overflow: hidden;
}

.woocommerce-product-gallery__image img {
  position: relative;
  top: -35px;
  left: -35px;
  width: calc(100% + 70px);
  height: calc(100% + 70px);
  object-fit: cover;
}

.woocommerce div.product div.images .zoomImg {
  background-color: #fff !important;
}

/* =========================================================
   GLOBAL MISC
========================================================= */

div.single-research-meta span.research-text {
  font-family: 'Montserrat Regular' !important;
}

.gs-peptidecatalog-headers h2 {
  text-transform: uppercase !important;
}

#search-results .result .title a {
  color: #000;
  font-family: Helvetica !important;
  font-size: 15px !important;
  line-height: 15px !important;
}

#gs-widget-product-carousel {
  border-radius: 7.5px !important;
}

#gs-woo-search {
  padding: 2em 0 !important;
}

#shop-global-section-target .row-bg-wrap {
  background: rgba(30, 115, 190, 0.2) !important;
}

.products.columns-5 li.product {
  width: 20% !important;
}

.nectar-social.fixed {
  left: 2rem !important;
}

/* Store notice */
.woocommerce-store-notice,
p.demo_store {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

.admin-bar p.demo_store {
  top: 0 !important;
}