.lp-products * {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}


.lp-products i.fa,
.lp-products i.fas,
.lp-products i.far,
.lp-products i.fab,
.lp-products i.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900; 
}

.lp-products {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.lp-products .lp-wrapper {
  width: calc(50% - 8px);
  display: flex;
  justify-content: center;
}


.lp-products .lp-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  padding-bottom: 10px;
}
.lp-products .lp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}


.lp-products .lp-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}


.lp-products .lp-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  text-align: center;
  margin: 10px 12px 6px;
  min-height: 2.4em;
}

.lp-products .lp-name {
  margin-bottom: 10px; 
  min-height: 3.6em;   
}


.lp-products .lp-info {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  justify-content: flex-start; 
  min-height: 120px;
  max-height: 120px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 8px;
}
.lp-products .lp-info::-webkit-scrollbar { display: none; }

.lp-products .lp-info > div {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 10px 12px;
}


.lp-products .lp-desc {
  font-size: 0.7rem;
  color: #444;
  line-height: 1.3em;
}

.lp-products .lp-desc.long {
  max-height: 100px;
  overflow-y: auto;
  white-space: pre-line;
  text-align: left;
  padding-right: 6px;
}
.lp-products .lp-desc.long::-webkit-scrollbar { width: 4px; }
.lp-products .lp-desc.long::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.lp-products .lp-desc.long:hover::-webkit-scrollbar-thumb {
  background: #999;
}


.lp-products .lp-auth {
  text-align: center;
}
.lp-products .lp-auth img {
  width: 45px;
  height: 45px;
  margin-bottom: 5px;
}


.lp-products .lp-price {
  font-family: 'Playfair Display', serif !important;
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 8px 0;
}


.lp-products .lp-btn-cart {
  align-self: center;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 12px;
  font-size: 1.2rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
}



.lp-btn-offer {
  align-self: center;
  background: transparent;
  color: #c5a253; 
  border: 2px solid #c5a253;
  border-radius: 50%;
  padding: 10px;
  font-size: 1.1rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: all .3s ease;
}
.lp-btn-offer:hover {
  background: #c5a253;
  color: #fff;
  transform: scale(1.05);
}
.lp-card-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}




.lp-products .lp-btn-cart:hover { background:#333; }



@media (max-width: 575px) {
  
  #product-list .lp-products {
    margin-left: 1px;
    margin-right: 1px;
    padding-left:  0px;
    padding-right: 0px;
    gap: 2px; 
  }
   
  #product-list .lp-wrapper {
    width: 49.6%;
    margin: 0;
    padding: 0;
  }
  
    
  #product-list .lp-image {
    width: 80%;
    margin: 0 auto;
    display: block;
  }
  
  #product-list {
	  position: relative;
	  left: 0px;
	  margin-left: -1.3em !important;
  }
}


.lp-card {
  position: relative;
}
.lp-info-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
}
.lp-info-btn:hover {
  opacity: 1;
  transform: scale(1.05);
}


.lp-info-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.25s ease;
}
.lp-info-box {
  background: #fff;
  color: #222;
  border-radius: 10px;
  max-width: 90%;
  width: 400px;
  padding: 20px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.3);
  font-family: 'Poppins', sans-serif;
  position: relative;
}
.lp-info-box h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-align: center;
}
.lp-info-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #333;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}






.pagination-float-smart {
  position: relative;
  left: -1.5em; 
  right: 0;
  width: 100vw; 
  margin: 0; 
  background: rgba(255,255,255,0.96);
  transition: all 0.25s ease;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05); 
}



.pagination-float-smart.fixed {
  position: fixed;
  top: 0; 
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  animation: fadeSlide .25s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.pagination-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}



.pagination,
.pagination-float-smart,
.pagination-sticky {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}


.pagination-float-smart.fixed {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}


.page-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.9rem;
  color: #282828;
  font-weight: 500;
  background: rgba(245, 245, 245, 0.7);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: inset 0 0 4px rgba(255,255,255,0.8);
  transition: all 0.25s ease-in-out;
}


.page-link:hover {
  background: #f8f8f8;
  border-color: rgba(0,0,0,0.1);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}


.page-link.active {
  background: linear-gradient(145deg, #d4af37, #e9d690);
  color: #fff !important;
  border: none;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(212,175,55,0.3);
  transform: scale(1.1);
}


.page-link:active {
  transform: scale(0.95);
}


@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.pagination-float-smart,
.pagination-sticky {
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.pagination-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}



.lp-price {
  position: relative;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin: 8px 0;
}

.lp-price .old-price {
  text-decoration: line-through;
  color: #aaa;
  margin-right: 8px;
  font-size: 0.9rem;
  opacity: 0.95;
}

.lp-price .promo-price {
  color: #000;
  font-weight: 600;
  font-size: 1.2rem;
  animation: lpFadeIn .3s ease;
}

.lp-price .promo-badge {
  display: inline-block;
  background: linear-gradient(145deg, #d4af37, #e9d690);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,.12);
  vertical-align: middle;
  letter-spacing: .02em;
  animation: lpSlideIn .3s ease;
}

@keyframes lpFadeIn { from {opacity:0} to {opacity:1} }
@keyframes lpSlideIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}



.promo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(145deg, #d4af37, #e9d690);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 3;
  font-family: 'Poppins', sans-serif;
}


.discount-circle {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d4af37, #e9d690);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 3;
  font-family: 'Poppins', sans-serif;
}


.lp-price .old-price {
  text-decoration: line-through;
  color: #aaa;
  margin-right: 6px;
  font-size: 0.8rem; 
  opacity: 0.9;
  vertical-align: middle;
}

.lp-price .promo-price {
  background: linear-gradient(90deg, rgba(212,175,55,0.35), rgba(233,214,144,0));
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
}


.sort-selector label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #333;
}

.sort-selector select {
  border: 1px solid #b8a05d;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: 'Poppins', sans-serif;
  color: #111;
  background: linear-gradient(to bottom, #fffdf8, #f5f1e6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}

.sort-selector select:hover {
  border-color: #d4b867;
  background: #fff9ed;
}

.hook-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  pointer-events: none;
}



#product-list,
.lp-products,
.lp-wrapper,
.lp-card {
  position: relative;
  z-index: 0;
}

.pagination-float-smart.fixed {
  z-index: 1040 !important; 
  pointer-events: auto !important;
  transform: translateZ(0);
}

.pagination-float-smart a.page-link {
  pointer-events: auto !important;
  position: relative;
  z-index: 10000;
}



@media (min-width: 992px) {
  .lp-products {
    gap: 20px; 
    justify-content: center;
  }

  .lp-products .lp-wrapper {
    width: calc(25% - 15px); 
    max-width: none;         
  }

  .lp-products .lp-card {
    max-width: none;         
  }
    
}


@media (min-width: 992px) {
  .lp-products .lp-image-wrapper {
    display: flex;
    justify-content: center;
  }

  .lp-products .lp-image {
    width: 70%;  
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
  }

  
  .lp-products .lp-image:hover {
    transform: scale(1.03);
  }
}


.lp-wrapper.lp-soldout {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.7);
  transition: opacity 0.3s ease-in-out;
}
.lp-wrapper.lp-soldout:hover {
  opacity: 0.6;
}


.sold-ribbon {
  position: absolute;
  top: 12px;
  right: -40px;
  background: #bfbfbf;
  color: #fff;
  font-weight: 600;
  transform: rotate(45deg);
  width: 160px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  padding: 5px 0;
  z-index: 3;
}


.not-clickable {
  cursor: default;
}


.new-ribbon {
  position: absolute;
  top: 12px;
  left: -40px;
  background: linear-gradient(145deg, #d4af37, #f5e9b0);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  transform: rotate(-45deg);
  width: 160px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  font-family: 'Poppins', sans-serif;
  padding: 5px 0;
  z-index: 3;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
