.shop-product-card {

  width: 100%;

  cursor: pointer;

  background: transparent;

  border-radius: 0;

  box-shadow: none;

  position: relative;
}

.shop-image-wrap {

  position: relative;

  overflow: hidden;

  background: #f3f3f3;

   border-radius: 18px;
}

.shop-product-image {

  width: 100%;
  height: 430px;
aspect-ratio: 3 / 4;
  object-fit: cover;

  display: block;

  transition: 0.5s ease;
}

.shop-product-card:hover
.shop-product-image {

  transform: scale(1.03);
}

.shop-product-card.is-sold-out .front-image {

  opacity: 0.72;

}

.shop-product-card.is-sold-out:hover .front-image {

  opacity: 0;

}

.shop-product-card.is-sold-out .shop-image-wrap::after {

  content: "";

  position: absolute;

  inset: 0;

  background: rgba(255,250,246,0.2);

  pointer-events: none;

}

.shop-product-info {

  padding-top: 12px;

  text-align: left;
}

.shop-product-info h3 {

  font-size: 13px;
  font-weight: 500;

  color: #222;

  margin: 0 0 4px;
  letter-spacing: 0.4px;

text-transform: uppercase;
}

.shop-product-card.is-sold-out .shop-product-info h3,
.shop-product-card.is-sold-out .shop-normal-price,
.shop-product-card.is-sold-out .shop-sale-price {

  color: #7a6b63;

}

#product-list {

  display: grid;

  grid-template-columns:
    repeat(auto-fill, minmax(320px, 1fr));

  gap: 40px 20px;

  padding: 20px 20px 80px;

  width: 100%;

  box-sizing: border-box;
}

.shop-advanced-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 26px auto 12px;
  padding: 14px;
  max-width: 1120px;
  background: rgba(255,250,246,0.92);
  border: 1px solid #eaded2;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(139,90,43,0.06);
}

.shop-filter-field {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #eaded2;
  border-radius: 999px;
  background: white;
  color: #5f3619;
}

.shop-filter-field span {
  color: #9a6a42;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.shop-advanced-filters select,
.shop-advanced-filters input {
  min-height: 42px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #5f3619;
  font-family: inherit;
  outline: none;
}

.shop-advanced-filters input {
  width: 92px;
}

.shop-filter-field:focus-within {
  border-color: #8b5a2b;
  box-shadow: 0 0 0 3px rgba(139,90,43,0.08);
}

.shop-advanced-filters button {
  min-height: 46px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  background: #8b5a2b;
  color: white;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(139,90,43,0.14);
}

.shop-advanced-filters button:hover {
  background: #6f4522;
  transform: translateY(-1px);
}

.shop-empty-state {
  grid-column: 1 / -1;
  max-width: 430px;
  margin: 46px auto 80px;
  padding: 38px 28px;
  text-align: center;
  background: #fffaf6;
  border: 1px solid #eaded2;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(139,90,43,0.08);
}

.shop-empty-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #f3e7da;
  color: #8b5a2b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.shop-empty-state h3 {
  margin: 0 0 10px;
  color: #3f2a1d;
  font-family: "Playfair Display", serif;
  font-size: 28px;
}

.shop-empty-state p {
  margin: 0 auto 22px;
  max-width: 300px;
  color: #6f625b;
  line-height: 1.7;
}

.shop-empty-state button {
  min-height: 44px;
  padding: 0 22px;
  border: none;
  border-radius: 999px;
  background: #8b5a2b;
  color: white;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(139,90,43,0.14);
}

.shop-empty-state button:hover {
  background: #6f4522;
  transform: translateY(-1px);
}

.shop-price {

  font-size: 14px;

  color: #444;

  margin: 0;
}

@media (max-width: 768px) {

  .shop-advanced-filters {
    margin: 16px 14px 8px;
    padding: 12px;
    gap: 10px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .shop-advanced-filters::-webkit-scrollbar {
    display: none;
  }

  .shop-filter-field {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .shop-advanced-filters select,
  .shop-advanced-filters input,
  .shop-advanced-filters button {
    flex: 0 0 auto;
  }

  .shop-advanced-filters button {
    white-space: nowrap;
  }

  #product-list {

    grid-template-columns:
      repeat(2, 1fr);

    gap: 24px 16px;

    padding: 20px 16px 50px;
  }

  .shop-product-image {

    height: 250px;
  }

  .shop-product-info h3 {

    font-size: 12px;
  }

  .shop-price {

    font-size: 13px;
  }

  .shop-empty-state {
    margin: 28px 0 50px;
    padding: 30px 20px;
  }
}

.hover-image {

  position: absolute;

  inset: 0;

  opacity: 0;

  transition: opacity 0.4s ease;
}

.search-icon {

  width: 20px;

  height: 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #8b5a2b;

  font-size: 18px;

  cursor: pointer;

}

/* SEARCH MODAL */

.search-modal {

  position: fixed;

  inset: 0;

  background: rgba(255,255,255,0.96);

  z-index: 99999;

  display: none;

  justify-content: center;

  align-items: flex-start;

  padding-top: 100px;
}

.search-box {

  width: 90%;

  max-width: 700px;

  position: relative;
}

#search-input {

  width: 100%;

  height: 62px;

  border: none;

  border-bottom: 2px solid #ddd;

  background: transparent;

  font-size: 22px;

  padding: 0 50px 0 10px;

  outline: none;

  font-family: 'Poppins', sans-serif;

  color: #222;
}

#search-btn {

  position: absolute;

  right: 55px;

  top: 50%;

  transform: translateY(-50%);

  border: none;

  background: transparent;

  cursor: pointer;

  font-size: 18px;

  color: #666;
}

#search-btn:hover {

  color: black;
}

#search-input::placeholder {

  color: #999;
}

#close-search {

  position: absolute;

  right: 10px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 32px;

  cursor: pointer;

  color: #555;
}

@media (max-width: 768px) {

  #account-dropdown {

    right: -50px !important;

    top:  32px !important;

    width: 220px;

    min-width: unset !important;

    padding: 14px !important;

    border-radius: 18px !important;

  }

}

#account-dropdown {

  opacity: 0;

  transform: translateY(-10px);

  pointer-events: none;

  transition: 0.25s ease;

}

#account-dropdown.show {

  opacity: 1;

  transform: translateY(0);

  pointer-events: auto;

}

.front-image {

  opacity: 1;

  transition: 0.4s ease;

}

.shop-product-card:hover .front-image {

  opacity: 0;

}

.shop-product-card:hover .hover-image {

  opacity: 1;

}

.skeleton-card {

  width: 260px;

  height: 380px;

  border-radius: 20px;

  background:
    linear-gradient(
      90deg,
      #f2f2f2 25%,
      #e8e8e8 50%,
      #f2f2f2 75%
    );

  background-size:
    200% 100%;

  animation:
    skeletonLoading 1.2s infinite;

}

@keyframes skeletonLoading {

  0% {

    background-position:
      200% 0;

  }

  100% {

    background-position:
      -200% 0;

  }

}

@media (max-width: 768px) {

  .search-box {

    width: 92%;
  }

  #search-input {

    height: 54px;

    font-size: 18px;
  }

  #close-search {

    font-size: 28px;
  }

}


@media (max-width: 768px) {

  .shop-product-card i.fa-heart {

    font-size: 16px !important;
  }

}
.shop-price-row {

  display: flex;

  align-items: center;

  gap: 10px;

  flex-wrap: wrap;

  margin-top: 10px;

}

.shop-old-price {

  text-decoration: line-through;

  color: #999;

  font-size: 13px;

}

.shop-sale-price {

  color: #8b5a2b;

  font-size: 24px;

  font-weight: 700;

}

.shop-discount-badge {

  padding: 4px 10px;

  border-radius: 999px;

  background: #f3e7db;

  color: #8b5a2b;

  font-size: 11px;

  font-weight: 600;

}

.shop-normal-price {

  color: #8b5a2b;

  font-size: 24px;

  font-weight: 700;

  margin-top: 10px;

}

.shop-product-info .notify-stock-btn {

  margin: 0 0 10px;

  width: auto;

  min-height: 34px;

  padding: 0 16px;

  border-radius: 999px;

  background: #fff4e8;

  border: 1px solid #d8bfa7;

  color: #8b5a2b;

  font-size: 12px;

  font-weight: 700;

  box-shadow: none;

}

.shop-product-info .notify-stock-btn:hover {

  background: #f3e7db;

  border-color: #caa983;

  color: #6f4522;

}
