.promo-section { height: 50px; background: linear-gradient(to right, #ffffff, #dedcdc);
 display: flex; justify-content: center; align-items: center; margin-top: 20px; }
.promo-container { display: flex; align-items: center; gap: 20px; }
.promo-text-wrapper { position: relative; overflow: hidden; width: 600px; text-align: center; }
.promo-text { font-family: "Javanese Text", sans-serif; font-size: 16px; font-weight: 400; color: #000; opacity: 0; position: absolute; width: 100%; transition: opacity 0.5s ease-in-out; }
.promo-text.active { opacity: 1; position: relative; }
.promo-arrow { background: none; border: none; font-size: 20px; cursor: pointer; color: #000; }

@media screen and (max-width: 768px) {
  .promo-section { margin-top: 100px; height: 64px; }
  .promo-text-wrapper { width: 250px; }
  .promo-text { font-size: 14px; }
}


.all-clothing,
.featured,
.accessories,
.shoes {
  display: flex;
  gap: 30px;
  padding: 20px;
  
}
/* sidebar stays fixed in place */
.filters {
  width: 250px;
  border-right: 1px solid #ccc;
  font-family: "Javanese Text", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: black;
  flex-shrink: 0;

  /* keep visible while scrolling products */
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  scrollbar-width: thin;       /* Firefox */
  scrollbar-color: grey #f1f1f1;    
}


/* Chrome, Edge, Safari scrollbar */
.filters::-webkit-scrollbar {
  width: 8px;
}
.filters::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.filters::-webkit-scrollbar-thumb {
  background-color: grey;
  border-radius: 8px;
}

.filters h2 {
  margin-bottom: 15px;
  font-size: 22px;
}

.filters ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filters ul li {
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

/* active item = bold, no hover effects */
.filters ul li.active {
  font-weight: 700;
}

.extra-links {
  margin-top: 20px;
}
.extra-links h3 a {
  text-decoration: none;
  color: black;
  font-weight: 400;
}
.extra-links h3 a:hover {
  font-weight: 700;
}
.filters .hide-filters { margin-top: 15px; font-size: 16px; cursor: pointer; }
.products {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;

  /* ✅ Add padding so products don’t touch the screen edges */
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.product-item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.product-item img { width: 343px; height: 295px; object-fit: cover; }
.product-info { font-family: "Javanese Text", sans-serif; font-size: 20px; line-height: 1; }
.product-info .best-seller { color: #AD1D1D; }
.product-info .brand { font-weight: 400; color: black; }
.product-info .name, .product-info .price { color: #464646; }

/* Sidebar Animation */
.filters {
  width: 250px;
  border-right: 1px solid #ccc;
  font-family: "Javanese Text", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: black;
  flex-shrink: 0;
  transition: transform 0.3s ease-in-out;
}

.filters.hidden {
  transform: translateX(-100%);
  position: absolute;
  background: white;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Products Wrapper */
.products-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Toggle Buttons Row */
.toggle-filters {
  display: flex;
  justify-content: flex-end;
  padding-right: 15px;
  margin-bottom: 10px;
  position: relative;
  left: -120px;
  
}

.toggle-filters svg {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

/* ✅ Hide the toggle icon on screens smaller than 768px */
@media (max-width: 768px) {
  .toggle-filters {
    display: none !important;
  }
}


@media screen and (max-width: 768px) {
  .filters, .hide-filters .options { display: none; }
  .products { display: flex; flex-direction: column; gap: 20px; width: 100%; }
  .product-item img { width: 439px; height: 295px; object-fit: cover; max-width: 100%; }
  .product-info { font-size: 18px; text-align: left; width: 100%; line-height: 1; }
}

.featured-link { text-decoration: none; font-weight: bold; color: #000; }
.featured-link:hover { color: #c00; }
.filters h3 { border-bottom: 1px solid #ccc; padding-bottom: 5px; margin-bottom: 10px; }
.filters h3 a { text-decoration: none; color: #000; font-weight: bold; }

.mobile-sidebar ul li a { display: flex; justify-content: space-between; padding: 12px 16px; color: #fff; text-decoration: none; transition: color 0.3s ease; }
.mobile-sidebar ul li a.active { color: #7D722D; animation: clickPulse 0.25s ease; }

@keyframes clickPulse { 0% { transform: scale(1); } 50% { transform: scale(0.97); } 100% { transform: scale(1); } }
.submenu { display: none; padding-left: 12px; margin: 5px 0; }
.submenu.open { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.submenu li a { color: #fff; display: block; padding: 8px 16px; transition: color 0.3s ease; }
.submenu li a.active-submenu { color: #7D722D; animation: clickPulse 0.25s ease; }
