﻿/* Filtres custom LeGeekShop â€” panneau unifiÃ© */
.lgk-cf {
  --lgk-cf-accent: #f97316;
  --lgk-cf-accent-soft: rgba(249, 115, 22, 0.16);
  --lgk-cf-line: rgba(255, 255, 255, 0.1);
  --lgk-cf-muted: rgba(244, 244, 245, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 0 1rem;
  max-width: 100%;
}

.lgk-cf__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 0.1rem;
}

.lgk-cf__head-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lgk-cf__title {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lgk-cf-muted);
}

.lgk-cf__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--lgk-cf-accent);
  color: #111;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.lgk-cf__clear {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--lgk-cf-accent);
  text-decoration: none;
  white-space: nowrap;
}

.lgk-cf__clear:hover {
  text-decoration: underline;
}

.lgk-cf__active {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: linear-gradient(180deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.04));
}

.lgk-cf__panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--lgk-cf-line);
  border-radius: 14px;
  background: rgba(12, 12, 18, 0.72);
  overflow: hidden;
}

.lgk-cf .lgk-facet-browse {
  margin: 0;
  padding: 0.75rem 0.8rem 0.85rem;
  border-bottom: 1px solid var(--lgk-cf-line);
}

.lgk-cf .lgk-facet-browse__label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lgk-cf-muted);
}

.lgk-cf .lgk-facet-browse__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lgk-cf .lgk-facet-browse__chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 244, 245, 0.9);
  font-size: 0.76rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.lgk-cf .lgk-facet-browse__chip:hover {
  border-color: rgba(249, 115, 22, 0.5);
  background: var(--lgk-cf-accent-soft);
}

.lgk-cf .lgk-facet-browse__chip.is-active {
  border-color: transparent;
  background: var(--lgk-cf-accent);
  color: #111;
  font-weight: 700;
}

.lgk-cf__group {
  border-bottom: 1px solid var(--lgk-cf-line);
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.lgk-cf__group:last-of-type {
  border-bottom: 0;
}

.lgk-cf__group > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 0.85rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(244, 244, 245, 0.95);
  user-select: none;
}

.lgk-cf__group > summary::-webkit-details-marker {
  display: none;
}

.lgk-cf__chev {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1.5px solid rgba(244, 244, 245, 0.45);
  border-bottom: 1.5px solid rgba(244, 244, 245, 0.45);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex-shrink: 0;
  margin-top: -0.2rem;
}

.lgk-cf__group[open] > summary .lgk-cf__chev {
  transform: rotate(-135deg);
  margin-top: 0.15rem;
}

.lgk-cf__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.85rem 0.85rem;
  max-height: 14rem;
  overflow-y: auto;
  scrollbar-width: thin;
}

.lgk-cf facet-link.contents,
.lgk-cf facet-link {
  display: contents;
}

.lgk-cf__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 1.95rem;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(244, 244, 245, 0.9);
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.lgk-cf__chip:hover {
  border-color: rgba(249, 115, 22, 0.55);
  background: var(--lgk-cf-accent-soft);
}

.lgk-cf__chip:active {
  transform: scale(0.97);
}

.lgk-cf__chip.is-active {
  border-color: transparent;
  background: var(--lgk-cf-accent);
  color: #111;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.35), 0 6px 16px rgba(249, 115, 22, 0.18);
}

.lgk-cf__chip-x {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.75;
}

.lgk-cf__active .lgk-cf__chip {
  padding-right: 0.55rem;
}

.lgk-cf__native {
  margin: 0;
  padding: 0.15rem 0.35rem 0.55rem;
  border-top: 1px solid var(--lgk-cf-line);
}

.lgk-cf__native .accordion,
.lgk-cf__native .facets-filters,
.lgk-cf__native details {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lgk-cf.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.lgk-cf.is-loading::after {
  content: '';
  position: absolute;
}

@media (prefers-reduced-motion: reduce) {
  .lgk-cf__chip,
  .lgk-cf__chev {
    transition: none;
  }
}

/* â€”â€”â€” Layout catalogue (Next storefront) â€”â€”â€” */
.lgk-cf__profile {
  margin: 0;
  font-size: 0.78rem;
  color: var(--lgk-cf-muted);
}
.lgk-cf__profile strong { color: rgba(244, 244, 245, 0.92); font-weight: 700; }
.lgk-cf__profile-sep { margin: 0 0.35rem; opacity: 0.5; }

.lgk-cf__active-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(249, 115, 22, 0.45);
  background: var(--lgk-cf-accent-soft);
  color: #fdba74;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}
.lgk-cf__active-chip:hover { background: rgba(249, 115, 22, 0.28); color: #fff; }

.lgk-cf__chip-count {
  font-size: 0.68rem;
  opacity: 0.7;
  font-weight: 600;
}
.lgk-cf__chip.is-active .lgk-cf__chip-count { opacity: 0.85; color: inherit; }

.lgk-cf__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
}
.lgk-cf__search-input {
  flex: 1 1 8rem;
  min-height: 2.1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.85rem;
}
.lgk-cf__search-btn {
  min-height: 2.1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 10px;
  border: 0;
  background: var(--lgk-cf-accent);
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.lgk-cf__clear-inline {
  font-size: 0.76rem;
  color: var(--lgk-cf-accent);
  align-self: center;
}

.lgk-catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
  align-items: start;
}
@media (min-width: 980px) {
  .lgk-catalog-layout {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.lgk-catalog-layout__filters {
  position: relative;
  z-index: 2;
}
@media (min-width: 980px) {
  .lgk-catalog-layout__filters {
    position: sticky;
    top: calc(var(--sticky-area-height, 4.5rem) + 0.75rem);
    max-height: calc(100vh - var(--sticky-area-height, 4.5rem) - 1.5rem);
    overflow: auto;
    scrollbar-width: thin;
  }
}

.lgk-cf-shell { display: block; margin: 0; }
@media (min-width: 980px) {
  .lgk-cf-shell > .lgk-cf-mobile__summary { display: none; }
  .lgk-cf-shell[open] .lgk-cf,
  .lgk-cf-shell .lgk-cf {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }
}
}

.lgk-cf-mobile__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 12, 18, 0.85);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  user-select: none;
}
.lgk-cf-mobile__summary::-webkit-details-marker { display: none; }
.lgk-cf-mobile__hint {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.45);
}
.lgk-cf-shell[open] .lgk-cf-mobile__summary {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.lgk-cf-shell[open] .lgk-cf {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  padding: 0.75rem 0.85rem 1rem;
  background: rgba(12, 12, 18, 0.85);
}

.lgk-catalog-empty {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
}

@media (min-width: 980px) {
  .lgk-collection-toolbar__sort {
    max-width: 100%;
  }
}


