/* Bridge React ↔ CSS thème Impact / LGK boutiques */

.lgk-storefront-root {
  min-height: 40vh;
}

/* Header / footer LGK partagés sur toutes les boutiques — ne plus masquer le chrome. */
html.lgk-storefront-isolated .lgk-site-chrome,
html.lgk-storefront-isolated .lgk-marquee,
html.lgk-storefront-isolated .lgk-topbar,
html.lgk-storefront-isolated .lgk-primary-nav,
html.lgk-storefront--wayne .lgk-site-chrome,
html.lgk-storefront--fivem .lgk-site-chrome,
html.lgk-storefront--candy-geekland .lgk-site-chrome,
html.lgk-storefront--deal-geekland .lgk-site-chrome,
html.lgk-storefront--digital-geekland .lgk-site-chrome,
html.lgk-storefront--gotham-airsoft .lgk-site-chrome,
html[class*="lgk-storefront--"] .lgk-site-chrome {
  display: block !important;
  visibility: visible !important;
}

.sf-chrome--shared-header {
  min-height: 0 !important;
  background: transparent;
}

.sf-chrome--shared-header > .sf-chrome__main {
  display: block;
  flex: 1 1 auto;
}

/* Contre les règles html:not(...) display:none du thème Shopify */
.lgk-storefront-root.lgk-storefront--candy-geekland .lgk-candy-home,
.lgk-storefront-root.lgk-storefront--candy-geekland [data-lgk-candy-geekland-home],
.lgk-storefront-root.lgk-storefront--gotham-airsoft .lgk-ga-home,
.lgk-storefront-root.lgk-storefront--gotham-airsoft [data-lgk-gotham-airsoft-home] {
  display: block !important;
}

/* ——— Chrome boutique indépendant ——— */
.sf-chrome {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0908;
  color: #f2ebe2;
}

.sf-chrome__announce {
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #11100e;
  color: rgba(242, 235, 226, 0.78);
  border-bottom: 1px solid rgba(201, 168, 108, 0.18);
}

.sf-chrome__header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 9, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 235, 226, 0.08);
}

.sf-chrome__header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 168, 108, 0.35),
    transparent
  );
  pointer-events: none;
}

.sf-chrome__header-inner {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.sf-chrome__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.sf-chrome__logo-img {
  width: 88px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (min-width: 700px) {
  .sf-chrome__logo-img {
    width: 108px;
  }
}

.sf-chrome__logo-text {
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #f2ebe2;
}

@media (max-width: 899px) {
  .sf-chrome__logo-text {
    display: none;
  }
}

.sf-chrome__nav {
  display: none;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .sf-chrome__nav {
    display: flex;
  }
}

.sf-chrome__nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(242, 235, 226, 0.72);
  text-decoration: none;
}

.sf-chrome__nav a:hover {
  color: #c9a86c;
}

.sf-chrome__actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.sf-chrome__icon,
.sf-chrome__cart {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(242, 235, 226, 0.85);
  text-decoration: none;
}

.sf-chrome__cart {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(201, 168, 108, 0.35);
  border-radius: 999px;
  color: #c9a86c;
}

.sf-chrome__main {
  flex: 1;
}

.sf-chrome__footer {
  margin-top: auto;
  border-top: 1px solid rgba(242, 235, 226, 0.1);
  background: #080706;
  padding: 2.5rem 0 1.25rem;
}

.sf-chrome__footer-inner {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .sf-chrome__footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.sf-chrome__footer-logo {
  height: 2.5rem;
  width: auto;
  margin-bottom: 0.85rem;
  object-fit: contain;
}

.sf-chrome__footer p,
.sf-chrome__footer li,
.sf-chrome__footer a {
  color: rgba(242, 235, 226, 0.62);
  font-size: 0.88rem;
  line-height: 1.55;
}

.sf-chrome__footer a:hover {
  color: #c9a86c;
}

.sf-chrome__footer-title {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f2ebe2 !important;
}

.sf-chrome__footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.sf-chrome__copy {
  width: min(100% - 2rem, 1280px);
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(242, 235, 226, 0.08);
  text-align: center;
  font-size: 0.72rem !important;
  color: rgba(242, 235, 226, 0.42) !important;
}

/* Accents par boutique */
.sf-chrome--wayne {
  --sf-accent: #c9a86c;
  --sf-cream: #f2ebe2;
  --sf-ink: #0a0908;
}

.sf-chrome--fivem {
  --sf-accent: #5b8cff;
  --sf-cream: #e8eefc;
  --sf-ink: #070b14;
}

.sf-chrome--candy {
  --sf-accent: #ff6ad5;
  --sf-cream: #fff0fb;
  --sf-ink: #1a0b16;
}

.sf-chrome--deal {
  --sf-accent: #22d3ee;
  --sf-cream: #ecfeff;
  --sf-ink: #071016;
}

.sf-chrome--digital {
  --sf-accent: #a78bfa;
  --sf-cream: #f3e8ff;
  --sf-ink: #0c0814;
}

.sf-chrome--airsoft {
  --sf-accent: #95a282;
  --sf-cream: #f3f5f3;
  --sf-ink: #080a0b;
}

.sf-chrome {
  background: var(--sf-ink, #0a0908);
  color: var(--sf-cream, #f2ebe2);
}

.sf-chrome__announce {
  border-bottom-color: color-mix(in srgb, var(--sf-accent, #c9a86c) 28%, transparent);
}

.sf-chrome__nav a:hover,
.sf-chrome__cart,
.sf-chrome__footer a:hover {
  color: var(--sf-accent, #c9a86c);
}

.sf-chrome__cart {
  border-color: color-mix(in srgb, var(--sf-accent, #c9a86c) 45%, transparent);
}

html.lgk-storefront--wayne,
html.lgk-storefront--wayne body,
html.lgk-storefront--fivem,
html.lgk-storefront--fivem body,
html.lgk-storefront--candy-geekland,
html.lgk-storefront--candy-geekland body,
html.lgk-storefront--deal-geekland,
html.lgk-storefront--deal-geekland body,
html.lgk-storefront--digital-geekland,
html.lgk-storefront--digital-geekland body,
html.lgk-storefront--gotham-airsoft,
html.lgk-storefront--gotham-airsoft body {
  background-image: none !important;
}

html.lgk-storefront--wayne,
html.lgk-storefront--wayne body { background: #0a0908 !important; }
html.lgk-storefront--fivem,
html.lgk-storefront--fivem body { background: #070b14 !important; }
html.lgk-storefront--candy-geekland,
html.lgk-storefront--candy-geekland body { background: #1a0b16 !important; }
html.lgk-storefront--deal-geekland,
html.lgk-storefront--deal-geekland body { background: #071016 !important; }
html.lgk-storefront--digital-geekland,
html.lgk-storefront--digital-geekland body { background: #0c0814 !important; }
html.lgk-storefront--gotham-airsoft,
html.lgk-storefront--gotham-airsoft body { background: #080a0b !important; }

/* Grille produits (Impact product-list manquant hors Shopify) */
.lgk-wayne-home__product-list,
.lgk-wayne-home__carousel .lgk-wayne-home__product-list {
  display: grid;
  grid-template-columns: repeat(var(--product-list-items-per-row, 2), minmax(0, 1fr));
  gap: 0.85rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lgk-wayne-home__product-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.lgk-wayne-home__product-card:hover {
  border-color: rgba(201, 168, 108, 0.45);
  transform: translateY(-2px);
}

.lgk-wayne-home__product-media {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.lgk-wayne-home__product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lgk-wayne-home__product-meta {
  padding: 0 0.65rem 0.75rem;
}

.lgk-wayne-home__product-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lgk-wayne-home__product-price {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #c9a86c;
}

.lgk-wayne-home__empty {
  grid-column: 1 / -1;
  opacity: 0.65;
  font-size: 0.9rem;
}

@media (max-width: 699px) {
  .lgk-wayne-home__carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .lgk-wayne-home__carousel .lgk-wayne-home__product-list {
    display: flex;
    width: max-content;
    min-width: 100%;
    gap: 0.75rem;
  }

  .lgk-wayne-home__carousel .lgk-wayne-home__product-card {
    width: min(42vw, 11rem);
    flex: 0 0 auto;
  }
}

.lgk-hero-slideshow__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.lgk-hero-slideshow__frame.is-active {
  opacity: 1;
}

.lgk-hero-slideshow .lgk-hero-v2__media {
  position: relative;
}

.lgk-hero-slideshow__dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.lgk-hero-slideshow__dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.lgk-hero-slideshow__dots button.is-active {
  background: #fff;
  width: 1.35rem;
}

.shopify-section--lgk-home-collections-hub {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.lgk-mesh-accordion__summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 0.85rem 0;
}

.lgk-mesh-accordion__summary::-webkit-details-marker {
  display: none;
}
