/* ================= SECTION ROOT ================= */
.product-list-sec-1 {
  background: #f7f3ee;
  color: #2b1e14;
  padding-bottom: 64px;
  margin-top: 90px;
}

/* ================= HEADER ================= */
.product-list-sec-1-header {
  text-align: center;
  padding: 0 16px;
  background: #f7f3ee;
  padding-top: 3rem;
  margin-top: 90px;
  color: #2b1e14;
}

.product-list-sec-1-header::after {
    content: "";
    display: block;
    width: 90%;
    max-width: 500px;
    height: 1px;
    background: #5a3e2b;
    margin: 4rem auto 0rem;
}

.product-list-sec-1-header h1 {
  font-size: 48px;
  margin-bottom: 12px;
  color: #2b1e14;
  margin-top: 0;
  font-style: italic;
}

.product-list-sec-1-header p {
  max-width: 640px;
  margin: auto;
  color: #7a6a5e;
  font-family: "Source Sans 3", sans-serif;
}

/* ================= LAYOUT ================= */
.product-list-sec-1-layout {
  max-width: 1280px;
  margin: auto;
  padding: 4rem 1rem;
  display: flex;
  gap: 32px;
  background: #f7f3ee;
}

/* ================= SIDEBAR ================= */
.product-list-sec-1-sidebar {
  width: 260px;
}

.product-list-sec-1-sidebar-inner {
  position: sticky;
  top: 96px;
}

.product-list-sec-1-block {
  margin-bottom: 20px;
  border-bottom: 1px solid #5a3e2b;
  display: flex;
  justify-content: space-between;
}

.product-list-sec-1-block .search{
	background-color: transparent;
    padding: 12px 16px;
    width: 100%;
    border: 1px solid #5a3e2b;
    border-radius: 38px;
    color: #5a3e2b;
	outline: none;
}

.product-list-sec-1-block h3 {
  margin-bottom: 0px;
  margin-top: 0px;
  color: #2b1e14;
  font-size: 2rem;
}

.product-list-sec-1-block .filter-reset-btn{
	background: transparent;
	border: none;
	outline: 0;
	padding: 0px;
	cursor: pointer;
}

.product-list-sec-1-block .filter-reset-btn svg{
	stroke: #5a3e2b;
    width: 1.2rem;
    height: 1.2rem;
}

.product-list-sec-1-block .block-pill {
  position: relative;
  display: block;
  cursor: pointer;
  margin-bottom: 8px;
}

/* hide native checkbox */
.product-list-sec-1-block .block-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* visual pill (replaces button) */
.product-list-sec-1-block .block-pill span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px;
  background: #eee5d8;
  color: #2b1e14;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: "Source Sans 3", sans-serif;
}

.product-list-sec-1-block .block-pill span b{
	margin-left: 8px;
    font-weight: 400;
    border-left: 1px solid #2b1e144a;
    padding-left: 8px;
}

/* hover */
.product-list-sec-1-block .block-pill:hover span {
  background: #d8c4a3;
}

/* checked = active */
.product-list-sec-1-block .block-pill input:checked + span {
  background: #5a3e2b;
  color: #f7f3ee;
}

.product-list-sec-1-block .block-pill input:checked + span b{
  border-left: 1px solid #f7f3ee4a;
}

.product-list-sec-1-sidebar-inner .search{
    background-color: transparent;
    padding: 12px 16px;
    width: 100%;
    border: 1px solid #5a3e2b;
    border-radius: 38px;
    color: #5a3e2b;
    outline: none;
    font-size: 12px;
    margin-bottom: 12px;
}
/* ================= CONTENT ================= */
.product-list-sec-1-content {
  flex: 1;
}

/* ================= FILTERS ================= */
.product-list-sec-1-filters {
  display: flex;
  gap: 8px;
  flex-direction: column;
  margin-bottom: 32px;
}

.product-list-sec-1-filters h3 {
  width: 100%;
  margin-top: 0;
  margin-bottom: 8px;
}

/* pill wrapper */
.product-list-sec-1-filters .pill {
  position: relative;
  cursor: pointer;
}

/* hide native checkbox */
.product-list-sec-1-filters .pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* pill UI (replaces button) */
.product-list-sec-1-filters .pill span {
    display: flex;
    border-radius: 999px;
    background: #eee5d8;
    color: #2b1e14;
    font-family: "Source Sans 3", sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
    font-size: 14px;
    padding: 8px 16px;
	gap: 8px;
}

.product-list-sec-1-filters .pill span b{
	margin-left: auto;
    font-weight: 400;
    border-left: 1px solid #2b1e144a;
    padding-left: 8px;
}

/* hover */
.product-list-sec-1-filters .pill:hover span {
  background: #d8c4a3;
}

/* checked = active */
.product-list-sec-1-filters .pill input:checked + span {
  background: #5a3e2b;
  color: #f7f3ee;
}

.product-list-sec-1-filters .pill input:checked + span b{
  border-left: 1px solid #f7f3ee4a;
}

.product-list-sec-1-count {
  color: #7a6a5e;
  margin-top: 0;
  font-family: "Source Sans 3", sans-serif;
}

/* ================= GRID ================= */
.product-list-sec-1-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 24px;
}

/* ================= CARD ================= */
.product-list-sec-1-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-list-sec-1-card {
  background: #f7f3ee;
  border-radius: 16px;
  overflow: hidden;
  animation: productFade 0.6s ease forwards;
  box-shadow: 0 8px 24px rgba(43, 30, 20, 0.08);
  height: 100%;
}

.product-list-sec-1-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-list-sec-1-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-list-sec-1-card:hover img {
  transform: scale(1.02);
}

.product-list-sec-1-image span {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(45deg, #5a3e2b, #5a3e2b59);
  color: #f7f3ee;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

/* ================= CARD BODY ================= */
.product-list-sec-1-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.product-list-sec-1-card-body h3 {
  margin-bottom: 8px;
  color: #2b1e14;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-list-sec-1-card-body p {
  font-size: 14px;
  color: #7a6a5e;
  margin-bottom: 16px;
  font-family: "Source Sans 3", sans-serif;
}

/* ================= CARD FOOTER ================= */
.product-list-sec-1-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-list-sec-1-card-footer strong {
  font-size: 20px;
  color: #5a3e2b;
  font-family: "Source Sans 3", sans-serif;
}

.product-list-sec-1-card-footer button {
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  background: #5a3e2b;
  color: #f7f3ee;
  cursor: pointer;
  transition:
  opacity 0.2s ease,
  box-shadow 0.2s ease;
  width: 100%;
}

.product-list-sec-1-card-footer button:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(90, 62, 43, 0.3);
}

/* ================= ANIMATION ================= */
@keyframes productFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .product-list-sec-1-sidebar {
    display: none;
  }
}

.product-list-sec-1-mobile-bar {
  display: none;
}

/* ================= MOBILE SEARCH BAR ================= */
@media (max-width: 1024px) {
  .product-list-sec-1-mobile-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
  }

  .product-list-sec-1-mobile-bar input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #d8c4a3;
    background: #f7f3ee;
    color: #2b1e14;
  }

  .product-list-sec-1-mobile-bar input {
	outline: 0;
  }
	
  .product-list-sec-1-filter-btn {
	  border-radius: 999px;
	  border: none;
	  background: #5a3e2b;
	  color: #f7f3ee;
	  font-size: 16px;
	  cursor: pointer;
	  height: 32px;
	  line-height: 32px;
	  width: 50px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
  }
	
	.product-list-sec-1-filter-btn svg{
       width: 16px;
       height: 16px;
	}
	
  .product-list-sec-1-header{
	display:none;	
  }
	
  .product-list-sec-1-layout{
	margin-top: 50px;
  }
}

/* ================= FILTER DRAWER ================= */
.product-list-sec-1-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.product-list-sec-1-filter-drawer.active {
  pointer-events: auto;
}

.product-list-sec-1-filter-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-list-sec-1-filter-drawer.active .product-list-sec-1-filter-overlay {
  opacity: 1;
}

.product-list-sec-1-filter-drawer .filter-reset-btn{
	background-color: #5a3e2b;
    padding: 8px 16px;
    font-size: 12px;
    color: #f7f3ee;
    border: none;
    outline: 0;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
	margin-left: auto;
}

.product-list-sec-1-filter-drawer .filter-reset-btn svg{
	 stroke: #f7f3ee;
}

/* ================= PANEL ================= */
.product-list-sec-1-filter-panel {
  position: absolute;
  left: 0;
  top: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background: #f7f3ee;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 8px 0 24px rgba(0, 0, 0, 0.2);
  overflow: auto
}

.product-list-sec-1-filter-drawer.active .product-list-sec-1-filter-panel {
  transform: translateX(0);
}

/* ================= PANEL CONTENT ================= */
.product-list-sec-1-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #d8c4a3;
  position: sticky;
  top: 0;
  background: #f7f3ee;
}

.product-list-sec-1-filter-header h3 {
  margin: 0;
}

.product-list-sec-1-filter-header button {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.product-list-sec-1-filter-body {
  padding: 16px;
  overflow: auto;
}

@media (max-width: 600px) {
    .product-list-sec-1-header {
       padding-top: 1rem;
    }
	
	.product-list-sec-1-grid {
	  grid-template-columns: repeat(2, 1fr);
	  gap: 1rem;
	}
	
	.product-list-sec-1-card {
		border-radius: 8px;
	}
	
	.product-list-sec-1-card-body {
		padding: 0.8rem;
	}
	
	.product-list-sec-1-card-body h3 {
		font-size: 1rem;
		margin-bottom: 4px;
		white-space: break-spaces;
	}
	
	.product-list-sec-1-card-footer strong{
		font-size: 1rem;
	}
	.product-list-sec-1-card-body p {
		display:none;
	}
	
	.product-list-sec-1-card-footer button{
		padding: 6px 10px;
		font-size: 12px;
	}
}


/* no result found  */

.product-list-sec-1-grid.is-empty {
  height: 100%;
}

.product-list-sec-1-grid .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 1rem;
    border: 1px dashed #5a3e2b42;
    border-radius: 12px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.product-list-sec-1-grid .no-products-icon {
  margin-bottom: 0.25rem;
}

.product-list-sec-1-grid .no-products-icon svg{
    width: 40px;
    height: 40px;
    stroke: #5a3e2b;
}

.product-list-sec-1-grid .no-products-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #5a3e2b;
}

.product-list-sec-1-grid .no-products-text {
  font-size: 14px;
  color: #5a3e2b;
  margin-bottom:12px;
}

.product-list-sec-1-grid .no-products-reset-btn {
    background: #5a3e2b1f;
    outline: 0;
    border: none;
    color: #5a3e2b;
    padding: 8px 16px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.product-list-sec-1-grid .no-products-reset-btn svg{
    width: 12px;
    height: 12px;
    stroke-width: 2px;
    stroke: #5a3e2b;
}


/* ================= PRODUCT CARD SKELETON ================= */

.product-card-skeleton * {
  pointer-events: none;
}

/* shimmer animation */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.product-card-skeleton .skeleton-img,
.product-card-skeleton .skeleton-title,
.product-card-skeleton .skeleton-text,
.product-card-skeleton .skeleton-btn,
.product-card-skeleton .skeleton-badge {
  background: linear-gradient(
    90deg,
    #e6dfd6 25%,
    #f1ebe3 37%,
    #e6dfd6 63%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease infinite;
  border-radius: 8px;
}

/* image placeholder */
.product-card-skeleton .skeleton-img {
  width: 100%;
  height: 100%;
}

/* category badge */
.product-card-skeleton .skeleton-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 70px;
  height: 18px;
  border-radius: 999px;
}

/* title */
.product-card-skeleton .skeleton-title {
  height: 18px;
  width: 80%;
  margin-bottom: 12px;
}

/* text lines */
.product-card-skeleton .skeleton-text {
  height: 12px;
  width: 100%;
  margin-bottom: 8px;
}

.product-card-skeleton .skeleton-text.short {
  width: 60%;
}

/* button */
.product-card-skeleton .skeleton-btn {
  height: 42px;
  width: 100%;
  border-radius: 999px;
}

/* disable hover zoom */
.product-card-skeleton .product-list-sec-1-card:hover img {
  transform: none;
}

