/*!***************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/products-endless-scroll/style.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************/
/* ========================================================================= */
/* 1. GLOBAL LAYOUT AND STRUCTURE                                            */
/* ========================================================================= */
/* Apply font to the block and all descendants */
.product-endless-container,
.product-endless-container * {
  font-family: "Josefin Sans", sans-serif !important;
}

.product-endless-container[data-product-endless-uid="<?php echo esc_attr($uid); ?>"] {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

.product-endless-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  padding-top: 40px;
}

.pe-total-left {
  font-size: 16px;
  color: #333;
}

.product-endless-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* exactly 4 columns */
  gap: 30px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .product-endless-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for tablets */
  }
}
/* ========================================================================= */
/* 2. PRODUCT CARD & IMAGE                                                   */
/* ========================================================================= */
.product-card {
  position: relative;
  transition: box-shadow 0.3s ease;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
}

.product-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* Badges (Top Left) */
.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 10;
}

.product-badge {
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  /* Required left border */
  border: 1px solid white;
}

/* ========================================================================= */
/* 3. TITLE AND PRICE                                                        */
/* ========================================================================= */
@media (max-width: 768px) {
  .product-info-row {
    flex-direction: column; /* stack vertically */
    align-items: flex-start; /* left-align both title and price */
    gap: 5px; /* spacing between title and price */
  }
  .product-title {
    max-width: 100%; /* take full width */
    font-size: 16px; /* optional: smaller font on mobile */
  }
  .product-price {
    font-size: 18px; /* optional: adjust mobile size */
  }
}
.product-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  max-width: 70%;
}

.product-title a {
  text-decoration: none;
  color: #333;
  transition: color 0.2s ease;
}

.product-title a:hover {
  color: #0073aa;
}

.product-price {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  line-height: 1.2;
}

.product-price sup {
  font-size: 60%;
  vertical-align: super;
  font-weight: normal;
}

/* ========================================================================= */
/* 4. HOVER OVERLAY (60% Centered Bar)                                       */
/* ========================================================================= */
.product-hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: #ffffff;
  /* Desktop: 60% width centered */
  width: 60%;
  margin: 0 auto;
  border: 1px solid rgba(204, 204, 204, 0.4470588235);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  /* Hover Transition (Start state) */
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Desktop hover */
.product-card:hover .product-hover-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile: static overlay, full width, always visible */
@media (max-width: 768px) {
  .product-hover-overlay {
    position: static; /* remove absolute */
    width: 80%; /* full width */
    margin: 0;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  /* Disable hover effect on mobile */
  .product-card:hover .product-hover-overlay {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ========================================================================= */
/* 5. ADD TO CART BUTTON (Shared Animation Base)                             */
/* ========================================================================= */
.add-to-cart-btn {
  /* Layout */
  flex-grow: 1;
  height: 100%;
  min-width: 0;
  /* Allows flex-grow to work properly */
  text-align: center;
  /* Appearance */
  color: #000000;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  /* Separator border */
  border: none;
  /* Animation base */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background-color: transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  /* Center content */
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(204, 204, 204, 0.3294117647) !important;
}

/* Water-Fill Animation */
.add-to-cart-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Full height */
  background-color: black;
  /* Start position: hidden below the button */
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.add-to-cart-btn:hover {
  color: white;
  text-decoration: none;
}

.add-to-cart-btn:hover::before {
  /* End position: slide up to fill */
  transform: translateY(0);
}

/* Default: text + icon visible */
.cart-icon {
  display: none;
  margin-right: 6px;
}

/* Mobile only */
@media (max-width: 768px) {
  .add-to-cart-text {
    display: none;
  }
  .cart-icon {
    display: block;
  }
  .add-to-cart-btn {
    border-right: none; /* optional: clean look */
    justify-content: center;
  }
}
/* ========================================================================= */
/* 6. WISHLIST BUTTON (Shared Animation Base)                                */
/* ========================================================================= */
.wishlist-btn {
  /* Layout */
  width: 50px;
  height: 100%;
  min-width: 50px;
  /* Appearance */
  color: #000000;
  font-size: 18px;
  padding: 0;
  /* Reset conflicting padding */
  cursor: pointer;
  /* Animation base */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: none;
  border: none;
  transition: color 0.3s ease, border-color 0.3s ease;
  /* Center content */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Water-Fill Animation */
.wishlist-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  /* Consistent black fill */
  /* Start position: hidden below the button */
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.wishlist-btn:hover {
  color: white;
  /* White heart on black fill */
  text-decoration: none;
}

.wishlist-btn:hover::before {
  /* End position: slide up to fill */
  transform: translateY(0);
}

/* Endless scroll loader */
.product-loader {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 30px 0;
  text-align: center;
}

.product-loader.active {
  display: flex;
}

.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.loader-container .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0073aa;
  animation: bounce 0.8s infinite alternate;
}

.loader-container .dot:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
    opacity: 0.6;
  }
  to {
    transform: translateY(-8px);
    opacity: 1;
  }
}
.loader-text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Add to cart spinner */
.add-to-cart-btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.add-to-cart-btn.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-top-color: #0073aa;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.add-to-cart-btn.added {
  background-color: #2ecc71 !important;
  color: #fff !important;
}

.pe-sorting-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 20px;
}

.pe-sorting-right form.woocommerce-ordering {
  position: relative;
  display: inline-block;
}

.pe-sorting-right select.orderby {
  appearance: none;
  /* Remove default arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff url("data:image/svg+xml;charset=US-ASCII,%3Csvg width=%2710%27 height=%276%27 viewBox=%270 0 10 6%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1 1L5 5L9 1%27 stroke=%27%23222%27 stroke-width=%271.5%27/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 8px 36px 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pe-sorting-right select.orderby:hover,
.pe-sorting-right select.orderby:focus {
  border-color: #888;
  outline: none;
}

.pe-sorting-right input[name=paged] {
  display: none;
  /* hide hidden paged input */
}

.product-badges-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 2;
}

.product-badges-left,
.product-badges-right {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  flex-direction: column;
}

.product-badge {
  padding: 5px 15px 3px 15px;
  border: 2px solid;
  background-color: #fff;
  display: inline-block;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

/* Color styles (optional, match your theme) */
.product-badge.sale {
  border-color: #f9423a;
  color: #f9423a;
}

.product-badge.hot {
  border-color: #237be6;
  color: #237be6;
}

.product-badge.new {
  border-color: #000000;
  color: #000000;
}

.product-badge.nicotine {
  border-color: #264653;
  color: #264653;
}

.product-badge.puffs {
  border-color: #1d3557;
  color: #1d3557;
}

.product-price del {
  position: relative;
  text-decoration: none; /* remove default horizontal line */
}

.product-price del::after {
  content: "";
  position: absolute;
  top: 40%;
  left: 0;
  /* bottom: 27px; */
  width: 100%;
  height: 2px;
  background: red;
  transform: rotate(160deg);
  transform-origin: center;
}

.product-price ins {
  text-decoration: none !important;
  color: #111; /* optional: adjust to your design */
}

/*# sourceMappingURL=style-index.css.map*/