.ltsf-wrapper,
.ltsf-wrapper * {
  box-sizing: border-box;
}

.ltsf-wrapper {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 28px;
  color: #fff;
  background: transparent;
}

.ltsf-wrapper .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ltsf-controls {
  width: min(100%, 1120px);
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid #d4af37;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
}

.ltsf-search {
  max-width: 720px;
  margin: 0 auto 24px;
}

.ltsf-search input,
#ltsf-search {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.72);
  border-radius: 8px;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-size: 16px;
}

.ltsf-search input::placeholder,
#ltsf-search::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.ltsf-search input:focus,
#ltsf-search:focus {
  border-color: #f1d36a;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.ltsf-filter-title {
  margin: 20px 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.ltsf-categories,
.ltsf-alpha {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid #d4af37;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.32);
}

.ltsf-categories {
  display: block;
}

.ltsf-categories select,
#ltsf-category {
  display: block;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 12px 42px 12px 14px;
  border: 1px solid #d4af37;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.48);
  font: inherit;
  font-size: 16px;
}

.ltsf-categories select:focus,
#ltsf-category:focus {
  border-color: #f1d36a;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.ltsf-categories option,
#ltsf-category option {
  color: #fff;
  background: #19150b;
}

.ltsf-categories button,
.ltsf-alpha button {
  min-width: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(212, 175, 55, 0.72);
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
  background: transparent;
  font: inherit;
  line-height: 1.2;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.ltsf-categories button:hover,
.ltsf-alpha button:hover,
.ltsf-categories button:focus-visible,
.ltsf-alpha button:focus-visible {
  border-color: #f1d36a;
  color: #000;
  background: #d4af37;
}

.ltsf-categories button.active,
.ltsf-alpha button.active {
  border-color: #d4af37;
  color: #000;
  background: #d4af37;
}

.ltsf-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ltsf-product {
  min-width: 0;
  padding: 20px;
  border: 1px solid #d4af37;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.ltsf-product:hover {
  border-color: #f1d36a;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.18);
  transform: translateY(-5px);
}

.ltsf-product a {
  color: inherit;
  text-decoration: none;
}

.ltsf-image {
  overflow: hidden;
  border-radius: 8px;
}

.ltsf-product img {
  display: block;
  width: 100%;
  height: auto;
}

.ltsf-product h3 {
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
}

.ltsf-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 118px;
  color: #fff;
  background: transparent;
  font-size: 20px;
  font-weight: 700;
}

.ltsf-price > .amount,
.ltsf-price > del,
.ltsf-price > ins {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid #d4af37;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  text-decoration: none;
}

.ltsf-price del,
.ltsf-price del .amount {
  color: rgba(255, 255, 255, 0.62);
}

.ltsf-price ins,
.ltsf-price ins .amount,
.ltsf-price ins .woocommerce-Price-amount,
.ltsf-price ins .woocommerce-Price-amount bdi {
  border: 0;
  color: #fff !important;
  background: transparent !important;
  text-decoration: none;
}

.ltsf-price > ins {
  border: 1px solid #d4af37 !important;
  background: transparent !important;
}

.ltsf-sale-badge {
  display: block;
  width: fit-content;
  margin: 0 auto 10px;
  padding: 5px 10px;
  border: 1px solid rgba(241, 211, 106, 0.8);
  border-radius: 999px;
  color: #fff;
  background: rgba(212, 175, 55, 0.46);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ltsf-cart a {
  display: inline-block;
  margin-top: 15px;
  padding: 11px 18px;
  border: 1px solid rgba(241, 211, 106, 0.8);
  border-radius: 6px;
  color: #fff;
  background: rgba(212, 175, 55, 0.46);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.ltsf-cart a:hover {
  color: #000;
  background: #d4af37;
}

.no-products {
  padding: 32px;
  border: 1px solid #d4af37;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

@media (max-width: 1024px) {
  .ltsf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ltsf-wrapper {
    padding: 18px;
  }

  .ltsf-controls {
    padding: 18px;
  }

  .ltsf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .ltsf-wrapper {
    padding: 10px;
  }

  .ltsf-grid {
    grid-template-columns: 1fr;
  }
}