/*
 * Blikk Store — design system
 * Replicates the look of the /store page (dark, glassmorphic, purple→pink).
 * This file is raw CSS (not processed by Tailwind) and loads after built.css.
*/

:root {
  --bk-primary: rgb(var(--cl-accent));
  --bk-primary-rgb: var(--cl-accent);
  --bk-primary-glow: rgba(var(--cl-accent), 0.35);
  --bk-secondary: #ec4899;
  --bk-card: rgba(255, 255, 255, 0.04);
  --bk-card-hover: rgba(255, 255, 255, 0.06);
  --bk-border: rgba(255, 255, 255, 0.08);
  --bk-glass: rgba(10, 10, 16, 0.55);
  --bk-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Ambient page glow ───────────────────────────────────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -5%, var(--bk-primary-glow), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.12), transparent 40%);
}

/* ── Glassmorphism ───────────────────────────────────────────────── */
.bk-glass {
  background: var(--bk-glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bk-border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* ── Gradient text ───────────────────────────────────────────────── */
.bk-gradient-text {
  background-image: linear-gradient(135deg, var(--bk-primary), var(--bk-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.bk-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s var(--bk-ease), box-shadow 0.3s var(--bk-ease), border-color 0.3s var(--bk-ease), background-color 0.3s var(--bk-ease);
}
.bk-btn:hover { transform: translateY(-2px); }

.bk-btn-primary {
  background-color: var(--bk-primary);
  color: #fff;
  box-shadow: 0 0 30px var(--bk-primary-glow);
}
.bk-btn-primary:hover { box-shadow: 0 0 45px var(--bk-primary-glow); }

.bk-btn-ghost {
  background: var(--bk-card);
  border: 1px solid var(--bk-border);
  color: rgba(var(--cl-t-primary), 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.bk-btn-ghost:hover { color: #fff; border-color: var(--bk-primary); }

/* shimmer sweep on hover */
.bk-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
}
.bk-shimmer:hover::after { animation: bk-shimmer 0.7s var(--bk-ease); }
@keyframes bk-shimmer {
  from { left: -120%; }
  to { left: 220%; }
}

/* ── Badge pill ──────────────────────────────────────────────────── */
.bk-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--bk-border);
  background: var(--bk-card);
  font-size: 0.875rem;
  color: rgba(var(--cl-t-primary), 0.75);
}

/* ── Entrance animation ──────────────────────────────────────────── */
@keyframes bk-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.bk-fade-up { opacity: 0; animation: bk-fade-up 0.7s var(--bk-ease) forwards; }
.bk-d1 { animation-delay: 0.10s; }
.bk-d2 { animation-delay: 0.22s; }
.bk-d3 { animation-delay: 0.34s; }
.bk-d4 { animation-delay: 0.46s; }
.bk-d5 { animation-delay: 0.58s; }
@media (prefers-reduced-motion: reduce) {
  .bk-fade-up { opacity: 1; animation: none; }
}
/* LCP fix: the hero's largest text (headline + subhead) must paint instantly instead of
   waiting for the fade-in, which was delaying Largest Contentful Paint by up to ~1s. */
.bk-hero__headline.bk-fade-up,
.bk-hero__subhead.bk-fade-up {
  opacity: 1;
  animation: none;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.bk-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  overflow: hidden;
}
.bk-hero__headline {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.bk-hero__subhead {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
}

/* Hero bottom fade into the page */
.bk-hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  pointer-events: none;
  background: linear-gradient(to top, rgb(var(--cl-background)), transparent);
}

/* ── Orbit (desktop only) ────────────────────────────────────────── */
.bk-orbit {
  position: relative;
  width: 620px;
  height: 480px;
  margin-top: 1rem;
}
.bk-orbit__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 560px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
}
.bk-orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  gap: 1rem;
}
.bk-orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -28px 0 0 -70px;
  animation: bk-orbit 22s linear infinite;
}
.bk-orbit__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  white-space: nowrap;
  user-select: none;
}
@keyframes bk-orbit {
  from { transform: rotate(0deg) translateX(250px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(250px) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .bk-orbit__item { animation: none; }
}

/* ── Scroll indicator ────────────────────────────────────────────── */
.bk-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.bk-scroll i { animation: bk-bounce 1.5s ease-in-out infinite; color: var(--bk-primary); }
@keyframes bk-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── Category pills ──────────────────────────────────────────────── */
.bk-pillbar {
  display: inline-flex;
  gap: 0.375rem;
  padding: 0.375rem;
  border-radius: 9999px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.bk-pillbar::-webkit-scrollbar { display: none; }
.bk-pill {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(var(--cl-t-primary), 0.7);
  transition: color 0.2s, background-color 0.2s;
}
.bk-pill:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.bk-pill.is-active { background: var(--bk-primary); color: #fff; }

/* ── Product / group card ────────────────────────────────────────── */
.bk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--bk-border);
  background: var(--bk-card);
  transition: transform 0.35s var(--bk-ease), border-color 0.35s var(--bk-ease), box-shadow 0.35s var(--bk-ease);
}
.bk-card:hover {
  transform: translateY(-6px);
  border-color: var(--bk-primary);
  box-shadow: 0 0 28px var(--bk-primary-glow);
}
.bk-card__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
}
.bk-card__media img { transition: transform 0.5s var(--bk-ease); }
.bk-card:hover .bk-card__media img { transform: scale(1.06); }

.bk-stock {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid;
}
.bk-stock--in { color: #34d399; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.3); }
.bk-stock--low { color: #fbbf24; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.bk-stock--out { color: #f87171; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.3); }
.bk-stock--bundle { color: var(--bk-primary); background: var(--bk-card); border-color: var(--bk-border); text-transform: uppercase; letter-spacing: 0.05em; }

.bk-benefit { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: rgba(var(--cl-t-primary), 0.65); }
.bk-benefit i { color: var(--bk-primary); }
.bk-instant { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--bk-primary); }

/* ── Stat cards ──────────────────────────────────────────────────── */
.bk-stat { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem; }
.bk-stat__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.85rem;
  background: var(--bk-card);
  border: 1px solid var(--bk-border);
  color: var(--bk-primary);
  font-size: 1.15rem;
}
.bk-stat__value { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; }

/* ── Testimonials ────────────────────────────────────────────────── */
.bk-quote { border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; height: 100%; }

/* ── Navbar ──────────────────────────────────────────────────────── */
.bk-navbar { position: relative; border-radius: 1rem; }
.bk-navbar__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bk-primary), transparent);
  opacity: 0.5;
}
.bk-logo {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  font-weight: 700;
  background: rgb(var(--cl-background));
  border: 1px solid var(--bk-primary);
  color: var(--bk-primary);
  box-shadow: 0 0 15px var(--bk-primary-glow);
}

/* ── Footer ──────────────────────────────────────────────────────── */
.bk-footer { position: relative; }
.bk-footer__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bk-primary), transparent);
  opacity: 0.4;
}
.bk-news-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.6rem;
  background: var(--bk-card);
  border: 1px solid var(--bk-border);
  color: rgb(var(--cl-t-primary));
  outline: none;
  transition: border-color 0.2s;
}
.bk-news-input::placeholder { color: rgba(var(--cl-t-primary), 0.45); }
.bk-news-input:focus { border-color: var(--bk-primary); }

/* ── Section heading ─────────────────────────────────────────────── */
.bk-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bk-primary); }

/* ── Product description prose ───────────────────────────────────── */
.bk-prose { font-size: 0.95rem; line-height: 1.75; color: rgba(var(--cl-t-primary), 0.78); }
.bk-prose > *:first-child { margin-top: 0; }
.bk-prose p, .bk-prose .e-paragraph { margin: 0.55rem 0; }
.bk-prose strong, .bk-prose b, .bk-prose .e-text-bold { color: rgb(var(--cl-t-primary)); font-weight: 700; }
.bk-prose h1, .bk-prose h2, .bk-prose h3,
.bk-prose .e-heading-h1, .bk-prose .e-heading-h2, .bk-prose .e-heading-h3 {
  color: rgb(var(--cl-t-primary));
  font-weight: 700;
  line-height: 1.3;
  margin: 1.4rem 0 0.6rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--bk-primary);
}
.bk-prose ul, .bk-prose .e-list-ul, .bk-prose ol, .bk-prose .e-list-ol { margin: 0.6rem 0; padding-left: 1.25rem; }
.bk-prose li, .bk-prose .e-listitem { margin: 0.35rem 0; padding-left: 0.25rem; }
.bk-prose li::marker, .bk-prose .e-listitem::marker { color: var(--bk-primary); }
.bk-prose a, .bk-prose .e-link { color: var(--bk-primary); text-decoration: none; border-bottom: 1px solid var(--bk-primary-glow); transition: opacity 0.2s; }
.bk-prose a:hover, .bk-prose .e-link:hover { opacity: 0.8; }
.bk-prose hr, .bk-prose .e-hr {
  border: 0 !important;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bk-border), transparent);
  margin: 1.4rem 0;
}
.bk-prose code, .bk-prose .e-text-code {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--bk-border);
  border-radius: 0.35rem;
  padding: 0.1rem 0.4rem;
  font-size: 0.85em;
}

/* ── Currency selector dropdown polish ───────────────────────────── */
.currency-selector .choices__list--dropdown { background: rgb(var(--cl-background)) !important; border: 1px solid var(--bk-border) !important; }
.currency-selector .choices__list--dropdown .choices__item {
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding-top: 0;
  padding-bottom: 0;
}
/* Remove the empty grey symbol boxes; keep symbols as clean text */
.currency-selector .choices__list--dropdown .symbol,
.currency-selector .choices__inner .symbol {
  background-color: transparent !important;
}