/* =========================================================
   WOOCOMMERCE PRODUCT & CATEGORY GRID STYLES
   ========================================================= */

/* =========================================================
   GLOBAL PRODUCT CARD
   ========================================================= */

.woocommerce ul.products {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch; /* KEY: forces equal height rows */
}

.woocommerce ul.products li.product {
  background: #fff !important;
  border-radius: 8px !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
      display: flex;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin-right: 2%;
  margin-bottom: 2%;
}

/* .woocommerce ul.products li.product a {
  text-decoration: none;
  text-align: left !important;
  font-weight: normal !important;
} */

.woocommerce ul.products li.product .woocommerce-loop-category__title {
  padding: .5em .5em !important;
}

/* product description */

.woocommerce ul.products li.product .product-short-desc {
    font-size: 12px;
    color: #000;
    line-height: 1.4;
    -webkit-line-clamp: 3;   /* 👈 number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

h2.woocommerce-loop-category__title,
h2.woocommerce-page ul.products li.product  {
  font-size: 15px !important;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 0 !important;
    transition:none !important;
}

/* ul.products li.product img.nectar-lazy {

} */

/* .woocommerce ul.products li.product .woocommerce-loop-product__title {
    line-height: 23px;
    font-size: 15px !important;
    font-family: 'Montserrat Bold' !important;
    font-weight: bold !important;
    margin-top: 10px;
    color: #000 !important;
} */

.woocommerce ul.products li.product .woocommerce-loop-category__title, 
.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 1em !important;
    line-height:1 !important;
    font-family: 'Montserrat SemiBold' !important;
}

div.loop-price {
  margin:5px 0 !important;
}

/* =========================================================
   PRODUCT PRICE
   ========================================================= */

.products li.product.minimal {
    display: flex;
    flex-direction: column;
    height: 100%;
}


.products li.product.minimal .product-meta .amount {
    font-family: Helvetica !important;
    /* font-weight: bold !important; */
    color: var(--gs-button-cta-darkblue);
    font-size: 18px;
    /* background: rgba() !important; */
    background: rgba(95, 114, 142, 0.05) !important;
    padding: 3px 7.5px !important;
    border-radius: 2.5px !important;
}

.woocommerce ul.products li.product.minimal .price,
.woocommerce-page ul.products li.product.minimal .price {
  color: #370909 !important;
  font-weight: normal;
  font-size: 15px !important;
  display:none !important;
}

/* =========================================================
   PRODUCT META / CARD BODY
   ========================================================= */

.products li.product.minimal .product-meta {
  padding: 7.5px 10px;
      display: flex;
    flex-direction: column;
    flex: 1;
}

ul.products li.product img.nectar-lazy {
  background-color: transparent !important;
}

.products li.product.minimal .product-image-wrap {
  position: relative;
  /* background: #f8fcff !important; */
   /* background: rgba(95,114,142,0.3) !important; */
  background: radial-gradient(
  circle at center,
  rgba(95,114,142,0.2) 0%,
  rgba(95,114,142,0.15) 30%,
  rgba(95,114,142,0.1) 60%,
  rgba(95,114,142,0.05) 100%
) !important;
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}

.woocommerce-page ul.products li.product.minimal .product-wrap,
.woocommerce ul.products li.product.minimal .product-wrap {
  border: 1px solid rgb(15, 58, 95,0.1) !important;
  /* background: rgba(235,245,255,1) !important; */
  background: rgba(255, 255, 255, 0.3) !important;
  margin:0.25em !important;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: 100%;
}

.woocommerce-page ul.products li.product.minimal .product-wrap:hover, 
.woocommerce ul.products li.product.minimal .product-wrap:hover {
  border: 1px solid rgb(15, 58, 95,0.2) !important;
    /* background: rgba(235, 245, 255, 1) !important; */
    /* background: rgba(255, 255, 255, 1) !important; */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px 2px rgba(192,192,192,0.3);
}

/* =========================================================
   PRODUCT DESCRIPTION (LOOP)
   ========================================================= */

.woocommerce ul.products li.product a .salient-loop-short-desc,
.woocommerce ul.products li.product a .salient-loop-research-meta {
  font-size: 12px !important;
  line-height: 1 !important;
  color: rgba(0,0,0,0.65) !important;
  opacity: 1 !important;
}

.salient-loop-short-desc {
  font-size: 13px;
  line-height: 1.45;
  opacity: 0.75;
  margin: 6px 0 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  max-height: calc(1.45em * 2);
  letter-spacing: 0.01em;
  color: rgba(0,0,0,0.65);
}

.salient-loop-short-desc::after {
  content: "Research Use Only";
  display: block;
  font-size: 10px;
  opacity: 0.6;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.research-badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 4px;
}

/* =========================================================
   PRODUCT HOVER / OVERLAY
   ========================================================= */

.text_on_hover.product .nectar_quick_view {
  color: var(--gs-global-link-color) !important;
  left: 25% !important;
  right: 25% !important;
}

.woocommerce ul.products li.text_on_hover .product-wrap .text-on-hover-wrap {
  padding: 20px !important;
  background: #fff !important;
  margin: 1.5% !important;
}

.products .product .nectar-product-overlay .price::after {
  content: "Research Use Only • Not for Human Consumption";
  display: block;
  font-size: 11px;
  opacity: 0.7;
  margin-top: 4px;
}

/* =========================================================
   CATEGORY GRID
   ========================================================= */

.category-grid-title {
  font-size: 28px;
  font-weight: 600;
  margin-top: 60px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.gs-category-description p {
  font-size: 13px !important;
  color: #333 !important;
}

/* =========================================================
   CATEGORY GRID LAYOUT (2 COLUMN)
   ========================================================= */

.woocommerce ul.products li.product-category {
  width: 48.4% !important;
  margin-right: 4%;
  float: left;
  background: #fff !important;
  border-radius: 10px !important;
  border:1px solid rgba(192,192,192,0.3)
}

.woocommerce ul.products li.product-category:hover {
    border: 1px solid rgba(95, 114, 142, 0.1) !important;
    /* background: rgba(235, 245, 255, 1) !important; */
    background: rgba(255, 255, 255, 1) !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 5px 2px rgba(192,192,192,0.3);
}

.woocommerce ul.products li.product-category:nth-child(2n) {
  margin-right: 0;
}

.woocommerce ul.products li.product-category:nth-child(2n+1) {
  clear: both;
}

.woocommerce ul.products li.product-category:last-child {
  margin-bottom: 60px;
}


/* =========================================================
   OPTIONAL / UTILITY
   ========================================================= */

/* Hide default add-to-cart if needed */

/* .products .product .add_to_cart_button:not(.custom-loop-actions * {} */
.products .product .product-wrap .button.add_to_cart_button {}


/* =========================================================
   TEMP
   ========================================================= */

.custom-loop-actions {
  /* display:none !important */
      margin-top: auto;
}


@media (max-width: 768px) {
  .custom-loop-actions {
    grid-template-columns: 1fr;
  }

  .custom-loop-actions > div {
    width: 100%;
    text-align: center;
  }
}

/* CSS — 3-column layout + styling (exact spec) */

/* normalize */

/* .custom-loop-actions a,
.custom-loop-actions button {
    height: 100%;
    display: flex;
    align-items: center;
} */

/* -------------------
  custom-loop-actions
----------------------- */

.custom-loop-actions {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 4px;
    align-items: center;
    justify-items: center;
    margin: 10px 0 !important;
    border-radius: 5px !important;
  background: rgba(0, 149, 69, 0) !important;
    border: 1px solid rgba(30,115,190,1) !important;
    opacity:0.6 !important
}

.custom-loop-actions:hover {
  opacity:1 !important;
}

.custom-loop-actions a,
.custom-loop-actions button {
    align-self: center;
    display: flex;
    align-items: center;
}

/* .custom-loop-actions * {
    font-size: 10px !important;
    text-transform: uppercase !important;
} */

.custom-loop-actions > div:empty {
  /* display: none; */
  /* background: red !important; */
}

/* Column 1 — Price (small, bold) */

.custom-loop-actions .loop-price {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* Column 2 — View details (white, chrome border) */

/* .custom-loop-actions .loop-view-details,  */
.custom-loop-actions .loop-add-to-cart {
      /* margin-top: 10px; */

}

/* Column 3 — Add to Cart (inherit Salient primary button) */
.custom-loop-actions .loop-view-details a,
.custom-loop-actions .loop-add-to-cart a {
  font-size: 10px;
    /* padding: 6px 12px;
      border-radius: 5px !important; */
      text-transform: uppercase !important;
      margin:0 !important;
      font-weight:bold !important
}

.custom-loop-actions .loop-view-details a {
    /* display: inline-block; */
  /* padding: 6px 10px; */
  /* background: #fff; */
  /* border: 1px solid rgba(0,0,0,0.35); */
  color: #000;
  /* border-radius: 5px; */
  /* font-size: 12px; */
  text-align: center;
}

.custom-loop-actions .loop-add-to-cart a {
/* background: rgba(0, 149, 69, 1) !important; */
  background: rgba(30,115,190,1) !important;
    color: #FFF !important;

}

.custom-loop-actions .loop-add-to-cart a:hover {
  /* background: #f7f7f7; */
  /* border-color: rgba(0,0,0,0.55); */ 
    color: #FFF !important;
    /* background: rgba(30,115,190,1) !important; */
   background: rgba(30,115,190,1) !important;
    transition: all 0.2s ease-out !important;
}

/* .custom-loop-actions .loop-add-to-cart a {
} */


/* responsive */

/* .woocommerce a.button, 
.woocommerce a.button {
  background: none !important;
}

.woocommerce ul.products li.product .button {
    display: inline-block;
    margin-top: auto;
    background: var(--gs-general-section-button) !important;
    color: #FFF !important;
}

.woocommerce ul.products li.product .button:hover {
    display: inline-block;
    margin-top: auto;
    box-shadow: 0 0 5px 2px rgba(192,192,192,0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    color: var(--gs-general-section-button) !important;
        color: #FFF !important;

} */