.lcf-picker,
.lcf-picker * {
  box-sizing: border-box;
}

.lcf-picker {
  --lcf-bg: #1d2b38;
  --lcf-card: #142230;
  --lcf-gold: #d6ae64;
  --lcf-text: #f6f7f8;
  --lcf-muted: #b9c0c8;
  width: 100%;
  margin: 3rem 0;
  color: var(--lcf-text);
  clear: both;
  isolation: isolate;
}

.lcf-picker__panel {
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid rgba(214, 174, 100, .78);
  border-radius: 28px;
  background: var(--lcf-bg);
}

.lcf-picker__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.lcf-picker__heading h2 {
  margin: 0;
  color: var(--lcf-text);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
}

.lcf-picker__clear,
.lcf-picker__retry {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: .2rem 0;
  background: transparent;
  color: var(--lcf-gold);
  font: inherit;
  cursor: pointer;
}

.lcf-picker__clear:disabled {
  opacity: .38;
  cursor: default;
}

.lcf-picker__filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(.8rem, 1.7vw, 1.4rem);
}

.lcf-filter-group {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.lcf-filter-group legend {
  min-height: 2.8em;
  margin: 0 0 .8rem;
  padding: 0;
  color: var(--lcf-gold);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.35;
}

.lcf-filter-group__options {
  display: flex;
  max-height: 13rem;
  flex-direction: column;
  gap: .45rem;
  padding-right: .35rem;
  overflow: auto;
  scrollbar-color: rgba(214, 174, 100, .55) transparent;
  scrollbar-width: thin;
}

.lcf-choice {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 2.35rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: .45rem .65rem;
  background: rgba(255, 255, 255, .035);
  color: var(--lcf-text);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}

.lcf-choice:hover {
  border-color: rgba(214, 174, 100, .62);
}

.lcf-choice:has(input:checked) {
  border-color: var(--lcf-gold);
  background: rgba(214, 174, 100, .13);
}

.lcf-choice input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0 .55rem 0 0;
  accent-color: var(--lcf-gold);
}

.lcf-choice span {
  font-size: .88rem;
  line-height: 1.25;
}

.lcf-choice input:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lcf-picker__feedback {
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  gap: .7rem;
  color: var(--lcf-muted);
  font-size: .95rem;
}

.lcf-picker__spinner {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  border: 2px solid rgba(214, 174, 100, .28);
  border-top-color: var(--lcf-gold);
  border-radius: 50%;
  animation: lcf-spin .75s linear infinite;
}

.lcf-picker.is-loading .lcf-picker__spinner {
  display: block;
}

.lcf-results-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.lcf-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(214, 174, 100, .36);
  border-radius: 0 !important;
  background: var(--lcf-card);
  color: var(--lcf-text);
  overflow: hidden;
}

.lcf-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: #eef0f2;
  overflow: hidden;
}

.lcf-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .3s ease;
}

.lcf-card:hover .lcf-card__image img {
  transform: scale(1.025);
}

.lcf-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.15rem;
}

.lcf-card__title {
  margin: 0 0 .9rem;
  color: var(--lcf-text);
  font-size: 1.15rem;
  line-height: 1.25;
}

.lcf-card__title a {
  color: inherit;
  text-decoration: none;
}

.lcf-card__attributes {
  margin: 0 0 1rem;
  font-size: .82rem;
}

.lcf-card__attributes > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding: .35rem 0;
}

.lcf-card__attributes dt,
.lcf-card__attributes dd {
  margin: 0;
}

.lcf-card__attributes dt {
  color: var(--lcf-muted);
}

.lcf-card__attributes dd {
  color: var(--lcf-text);
  text-align: right;
}

.lcf-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  line-height: 1.2;
}

.lcf-card__price-label {
  color: #f6f7f8;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.lcf-card__price .amount {
  color: #cfae78 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  line-height: 1;
}

.lcf-card__price .woocommerce-Price-currencySymbol {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.lcf-card__button {
  display: inline-flex;
  width: 100%;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 1px solid var(--lcf-gold);
  border-radius: 0 !important;
  padding: .55rem 1rem;
  color: var(--lcf-gold);
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.lcf-card__button:hover,
.lcf-card__button:focus-visible {
  background: var(--lcf-gold);
  color: var(--lcf-card);
}

.lcf-picker__empty {
  display: flex;
  min-height: 8rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .55rem;
  border: 1px dashed rgba(214, 174, 100, .48);
  border-radius: 18px;
  padding: 1.5rem;
  background: rgba(20, 34, 48, .72);
  color: var(--lcf-muted);
  text-align: center;
}

.lcf-picker__empty strong {
  color: var(--lcf-text);
}

.lcf-picker__limited {
  margin: 1rem 0 0;
  color: var(--lcf-muted);
  text-align: center;
}

@keyframes lcf-spin {
  to { transform: rotate(360deg); }
}

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

  .lcf-results-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .lcf-picker {
    margin: 2rem 0;
  }

  .lcf-picker__panel {
    border-radius: 20px;
  }

  .lcf-picker__heading {
    align-items: flex-start;
  }

  .lcf-picker__filters,
  .lcf-results-grid {
    grid-template-columns: 1fr;
  }

  .lcf-filter-group legend {
    min-height: 0;
  }

  .lcf-filter-group__options {
    max-height: 10.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lcf-picker *,
  .lcf-picker *::before,
  .lcf-picker *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
