/* ============================================================
   LoKa · Customer storefront (website/loka/storefront)
   — /loka-storefront
   ------------------------------------------------------------
   From SOURCE/app/loka-storefront/storefront.module.css of the
   Dékolé Global reference: a dark grid page, the hero with the
   bag panel, sticky search + type tools, three-column cards of
   approved records, the empty state and "what the customer
   does not see". Colour panels (.lk-art) stand in for photos.
   Everything is scoped under .lk-storefront .lks; classes are
   .lks-*. State from js/loka/storefront.js: [hidden] on cards
   and the empty state, .is-active on the type button.
   ============================================================ */

.lk-storefront .lks {
  min-height: 100vh;
  padding: 76px max(24px, calc((100vw - 1420px) / 2)) 120px;
  color: #edfdfa;
  background-image:
    linear-gradient(rgba(105, 237, 215, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 237, 215, .055) 1px, transparent 1px),
    radial-gradient(circle at 10% 4%, rgba(80, 236, 204, .24), transparent 30%),
    radial-gradient(circle at 93% 8%, rgba(148, 110, 255, .27), transparent 30%),
    linear-gradient(145deg, #0d262d, #202339 57%, #162a2d);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.lk-storefront .lks :where(*:not(.fa)) { font-family: inherit; }
.lk-storefront .lks :is(button, input) { font: inherit; }
.lk-storefront .lks button { cursor: pointer; }
.lk-storefront .lks :is(h1, h2, p, ol) { margin: 0; padding: 0; }
.lk-storefront .lks h1, .lk-storefront .lks h2 { font-weight: 400; }
.lk-storefront .lks ol { list-style: none; }
.lk-storefront .lks [hidden] { display: none !important; }
.lk-storefront .lks :is(button, a, input):focus-visible { outline: 3px solid rgba(111, 233, 208, .5); outline-offset: 3px; }

/* Gradient words */
.lk-storefront .lks-hero h1 em,
.lk-storefront .lks-explain h2 em {
  color: transparent;
  background: linear-gradient(90deg, #6aefd0, #8b8dff 55%, #ff73a8);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: normal;
}
/* Kickers */
.lk-storefront .lks-hero > div > span,
.lk-storefront .lks-explain > div > span,
.lk-storefront .lks-empty > span {
  color: #6fe9d0;
  font: 850 11px/1.35 var(--lk-mono, monospace);
  letter-spacing: .15em;
}

/* ---------- Hero + bag panel ---------- */
.lk-storefront .lks-hero {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 7vw;
  align-items: end;
}
.lk-storefront .lks-hero > div { min-width: 0; }
.lk-storefront .lks-hero > div > span i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #70edd1;
  box-shadow: 0 0 14px #70edd1;
}
.lk-storefront .lks-hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(4.8rem, 8vw, 8.8rem);
  line-height: .78;
  letter-spacing: -.085em;
}
.lk-storefront .lks-hero p { max-width: 770px; color: #b4c9c4; font-size: 18px; line-height: 1.65; }
.lk-storefront .lks-hero aside {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  padding: 23px;
  border: 1px solid rgba(116, 237, 216, .25);
  border-radius: 24px;
  background: rgba(7, 19, 24, .55);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .2);
}
.lk-storefront .lks-hero aside small {
  grid-column: 1 / -1;
  color: #80a39d;
  font: 800 10px/1.4 var(--lk-mono, monospace);
  letter-spacing: .12em;
}
.lk-storefront .lks-hero aside strong { font-size: 48px; font-weight: 700; line-height: 1.5; }
.lk-storefront .lks-hero aside span { align-self: end; padding-bottom: 8px; color: #a7bbb6; font-size: 13px; }
.lk-storefront .lks-hero aside button {
  grid-column: 1 / -1;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  color: #071410;
  background: #6fe9d0;
  font-size: 13px;
  font-weight: 900;
}
.lk-storefront .lks-hero aside button:hover { background: #8ff2dc; }

/* ---------- Tools ---------- */
.lk-storefront .lks-tools {
  position: sticky;
  z-index: 5;
  top: var(--lk-top-h, 0);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-top: 62px;
  padding: 14px;
  border: 1px solid rgba(111, 233, 208, .2);
  border-radius: 22px;
  background: rgba(9, 24, 30, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.lk-storefront .lks-tools label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 15px;
  border: 1px solid rgba(111, 233, 208, .21);
  border-radius: 999px;
  background: #f4fbf8;
}
.lk-storefront .lks-tools label span { color: #106f5a; font-size: 20px; }
.lk-storefront .lks-tools input {
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  color: #14211d;
  background: transparent;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}
.lk-storefront .lks-tools input::placeholder { color: #6d7d78; }
.lk-storefront .lks-tools nav { display: flex; gap: 6px; }
.lk-storefront .lks-tools button {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 0 14px;
  border: 1px solid rgba(111, 233, 208, .16);
  border-radius: 999px;
  color: #abc0ba;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
  transition: color .2s, border-color .2s;
}
.lk-storefront .lks-tools button:hover { border-color: rgba(111, 233, 208, .45); color: #e8fbf6; }
.lk-storefront .lks-tools button.is-active { border-color: #6fe9d0; color: #071410; background: #6fe9d0; }

/* ---------- Grid of approved records ---------- */
.lk-storefront .lks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.lk-storefront .lks-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(111, 233, 208, .18);
  border-radius: 22px;
  background: rgba(7, 18, 25, .74);
  box-shadow: 0 22px 65px rgba(0, 0, 0, .16);
}
.lk-storefront .lks-image { position: relative; height: 240px; }
.lk-storefront .lks-image > i { font-size: 48px; }
.lk-storefront .lks-image::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 12, 15, .9));
}
.lk-storefront .lks-image > :is(span, b) {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: #fff;
  background: rgba(4, 12, 15, .64);
  font: 800 9px/1.2 var(--lk-mono, monospace);
}
.lk-storefront .lks-image > span { left: 14px; }
.lk-storefront .lks-image > b { right: 14px; color: #77efd5; }
.lk-storefront .lks-copy { padding: 21px; }
.lk-storefront .lks-copy > small { color: #ff79aa; font: 800 10px/1.4 var(--lk-mono, monospace); text-transform: uppercase; }
.lk-storefront .lks-copy h2 { margin: 13px 0 8px; color: #edfdfa; font-size: 25px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.lk-storefront .lks-copy p { min-height: 52px; margin-bottom: 12px; color: #9db3ad; font-size: 13px; line-height: 1.55; }
.lk-storefront .lks-copy > span { color: #7ce5cf; font-size: 12px; font-weight: 750; }
.lk-storefront .lks-copy footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(111, 233, 208, .13);
}
.lk-storefront .lks-copy footer strong { font-size: 21px; font-weight: 700; }
.lk-storefront .lks-copy footer small { color: #839c96; font-size: 10px; }
.lk-storefront .lks-copy footer button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #6fe9d0;
  border-radius: 999px;
  color: #071410;
  background: #6fe9d0;
  font-size: 11px;
  font-weight: 900;
}
.lk-storefront .lks-copy footer button:hover { background: #8ff2dc; }
/* Real listings: the catalog photo, a link action, "in your cart", featured. */
.lk-storefront .lks-image { display: block; overflow: hidden; }
.lk-storefront .lks-image.has-photo { background: #0b1a20; }
.lk-storefront .lks-image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lk-storefront .lks-copy h2 a { color: inherit; text-decoration: none; }
.lk-storefront .lks-copy h2 a:hover { text-decoration: underline; }
.lk-storefront .lks-copy footer s { margin-left: 6px; color: #839c96; font-size: 12px; font-weight: 500; }
.lk-storefront .lks-copy footer > a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #6fe9d0;
  border-radius: 999px;
  color: #6fe9d0;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.lk-storefront .lks-copy footer > a:hover { color: #071410; background: #6fe9d0; }
.lk-storefront .lks-copy footer button.is-in { color: #6fe9d0; background: transparent; }
.lk-storefront .lks-grid article.is-featured { border-color: rgba(111, 233, 208, .55); }

/* Empty state */
.lk-storefront .lks-empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 50px;
  border: 1px solid rgba(111, 233, 208, .18);
  border-radius: 22px;
  background: rgba(7, 18, 25, .56);
}
.lk-storefront .lks-empty strong { font-size: 32px; font-weight: 700; line-height: 1.3; }
.lk-storefront .lks-empty p { max-width: 650px; color: #a4b8b3; line-height: 1.6; }
.lk-storefront .lks-empty a { margin-top: 6px; color: #71e9d0; font-size: 13px; font-weight: 850; }

/* ---------- What the customer does not see ---------- */
.lk-storefront .lks-explain {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-top: 100px;
  padding-top: 55px;
  border-top: 1px solid rgba(111, 233, 208, .2);
}
.lk-storefront .lks-explain h2 {
  margin: 20px 0 0;
  font-size: clamp(3.6rem, 5.8vw, 6.2rem);
  line-height: .83;
  letter-spacing: -.075em;
}
.lk-storefront .lks-explain ol { display: grid; border-top: 1px solid rgba(111, 233, 208, .18); }
.lk-storefront .lks-explain li {
  display: grid;
  grid-template-columns: 45px 155px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(111, 233, 208, .14);
}
.lk-storefront .lks-explain li > b { color: #74efd5; font: 800 10px/1.6 var(--lk-mono, monospace); }
.lk-storefront .lks-explain li strong { font-size: 16px; font-weight: 700; }
.lk-storefront .lks-explain li p { color: #a3b8b2; font-size: 13px; line-height: 1.55; }
.lk-storefront .lks-explain > a { grid-column: 2; justify-self: start; color: #77efd5; font-size: 13px; font-weight: 850; }

@media (max-width: 980px) {
  .lk-storefront .lks-hero { grid-template-columns: 1fr; }
  .lk-storefront .lks-hero aside { max-width: 360px; }
  .lk-storefront .lks-tools { position: static; grid-template-columns: 1fr; }
  .lk-storefront .lks-tools nav { overflow: auto; scrollbar-width: none; }
  .lk-storefront .lks-tools button { min-height: 42px; }
  .lk-storefront .lks-grid { grid-template-columns: 1fr 1fr; }
  .lk-storefront .lks-explain { grid-template-columns: 1fr; }
  .lk-storefront .lks-explain > a { grid-column: 1; }
}

@media (max-width: 640px) {
  .lk-storefront .lks { padding-inline: 14px; }
  .lk-storefront .lks-hero h1 { font-size: 4rem; }
  .lk-storefront .lks-hero p { font-size: 16px; }
  .lk-storefront .lks-tools { padding: 9px; }
  .lk-storefront .lks-grid { grid-template-columns: 1fr; }
  .lk-storefront .lks-image { height: 220px; }
  .lk-storefront .lks-explain h2 { font-size: 3.5rem; }
  .lk-storefront .lks-explain li { grid-template-columns: 36px 1fr; }
  .lk-storefront .lks-explain li p { grid-column: 2; }
}
