/* ========== #products section (product cards grid) ========== */
#products {
  border-bottom: none !important;
}
#products img {
  width: 100%;
}
#products .font-white {
  color: #ffffff;
}
#products h2 {
  color: #62acff;
}
#products .line-space {
  padding: 40px 0 100px 0;
}

/* ========== Category filter buttons ========== */
.lv-category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
  padding: 12px 20px 14px;
  position: sticky;
  top: 60px;
  z-index: 50;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.lv-category-filter.is-stuck {
  background: rgba(11, 6, 26, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Buttons: visible on desktop */
.lv-category-filter__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

/* Dropdown: hidden on desktop, shown on mobile */
.lv-category-filter__select {
  display: none;
  width: 100%;
  max-width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 234, 168, 0.5);
  border-radius: 12px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffe9a8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lv-category-filter__select:hover,
.lv-category-filter__select:focus {
  border-color: #ffe9a8;
  outline: none;
}

@media (max-width: 768px) {
  .lv-category-filter__buttons {
    display: none;
  }
  .lv-category-filter__select {
    display: block;
  }
  .lv-category-filter {
    flex-direction: column;
    margin-bottom: 20px;
  }
  /* Mobile: sticky is unreliable (body overflow-x), so JS uses fixed + spacer */
  .lv-category-filter.is-fixed-mobile {
    position: fixed !important;
    top: 50px !important; /* below header */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 60;
    border-radius: 0;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 !important;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  }
  /* Spacer prevents layout jump when filter is fixed */
  .lv-category-filter-spacer {
    display: none;
    height: 0;
  }
  .lv-category-filter-spacer.is-visible {
    display: block;
  }
}

.lv-category-filter__btn {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  /* letter-spacing: 0.6px; */
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 234, 168, 0.5);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.12s ease;
}

.lv-category-filter__btn:hover {
  background: rgba(255, 234, 168, 0.2);
  border-color: #ffe9a8;
  color: #ffe9a8;
}

.lv-category-filter__btn.is-active {
  background: linear-gradient(135deg, #ffe9a8 35%, #f4ab33 55%);
  border-color: #f4ab33;
  color: #1a102c;
}

.lv-category-filter__btn:active {
  transform: translateY(1px);
}

.lv-product-card.is-hidden-by-filter {
  display: none !important;
}

#products .lv-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== LV Product Card ========== */
.lv-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 380px;
  border-radius: 26px;
  padding: 2px;
  background-color: #ffe1004a;
}

.lv-product-card::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 24px;
  background: radial-gradient(120% 120% at 50% 0%,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #140b2d 0%, #0b061a 100%);
  z-index: 0;
}

.lv-product-card::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 34px;
  background: linear-gradient(135deg,
    rgba(123,92,255,.35),
    rgba(255,79,216,.28),
    rgba(255,184,77,.20),
    rgba(79,220,255,.22));
  filter: blur(18px);
  opacity: .9;
  z-index: -1;
}

.lv-product-card__media,
.lv-product-card__content {
  position: relative;
  z-index: 1;
}

.lv-product-card__media {
  display: block;
  border-radius: 22px 22px 0px 0px;
  overflow: hidden;
}

.lv-product-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lv-product-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 18px;
  color: #fff;
  text-align: center;
}

.lv-product-card__title {
  margin: 6px 0 10px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.lv-product-card__title a {
  color: #ffd86b;
  text-decoration: none;
}

.lv-product-card__title a:hover { text-decoration: underline; }

.lv-product-card__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

.lv-product-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 10px 0;
  margin-top: auto;
}

.lv-product-card .lv-btn {
  display: block;
  width: 100%;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .9px;
  text-transform: uppercase;
  padding: 12px 14px;
  border-radius: 14px;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  user-select: none;
  text-align: center;
  box-sizing: border-box;
}

.lv-product-card .lv-btn:active { transform: translateY(1px); }

.lv-product-card .lv-btn--primary {
  color: #1a102c;
  background-image: linear-gradient(40deg, #936a28, #ded1b2);
}


.lv-product-card .lv-btn:hover { filter: brightness(1.3); }

#products .lv-cards-grid .lv-product-card { max-width: none; }

@media (max-width: 420px) {
  .lv-product-card { max-width: 100%; }
  .lv-product-card__title { font-size: 20px; }
  .lv-product-card__desc { font-size: 14px; }
}