@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Bebas+Neue&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ── TOKENS ── */
:root {
  --bg: #0a0d11;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(0, 200, 255, 0.4);
  --accent: #00c8ff;
  --lilly: rgba(238, 133, 209, 1);
  --danger: #ff3b5c;
  --text: #f2f6f8;
  --muted: #8b98a3;
  --nav-h: 64px;
}

html {
  font-size: clamp(15px, 0.55vw + 12.5px, 19px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: rgba(0, 200, 255, 0.25);
  color: #fff;
}

/* ── SCANLINES (very subtle texture) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent, transparent 2px,
      rgba(0, 0, 0, 0.05) 2px, rgba(0, 0, 0, 0.05) 4px);
  pointer-events: none;
  z-index: 100;
}

/* ── GRID BG ── */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}

/* ── GLOW ORBS ── */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb.o1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.07) 0%, transparent 70%);
  top: -160px;
  left: -160px;
}

.glow-orb.o2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 200, 255, 0.04) 0%, transparent 70%);
  bottom: -120px;
  right: -140px;
}

/* ── NOISE ── */
.noise {
  position: fixed;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 99;
}

/* ── CORNERS (kept minimal, just two) ── */
.corner-deco {
  position: fixed;
  width: 44px;
  height: 44px;
  pointer-events: none;
  z-index: 4;
  opacity: .5;
}

.corner-deco.tl {
  top: 14px;
  left: 14px;
  border-top: 1px solid rgba(0, 200, 255, 0.25);
  border-left: 1px solid rgba(0, 200, 255, 0.25);
}

.corner-deco.br {
  bottom: 14px;
  right: 14px;
  border-bottom: 1px solid rgba(0, 200, 255, 0.25);
  border-right: 1px solid rgba(0, 200, 255, 0.25);
}

/* ── INTRO ── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 1;
  transition: opacity .45s ease;
}

#intro.hide {
  opacity: 0;
  pointer-events: none;
}

.intro-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.1rem;
  letter-spacing: .1em;
  color: #fff;
}

.intro-mark span {
  color: var(--accent);
}

.intro-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
}

.intro-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.intro-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: width .7s ease;
}

/* ══════════════════════════════════════
   KK-HEADER (sticky top nav)
   ══════════════════════════════════════ */
#kk-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0a0d11;
  border-bottom: 1px solid rgba(0, 200, 255, 0.28);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

#kk-header .kk-nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

/* left nav links */
#kk-header .kk-links {
  display: flex;
  gap: 30px;
}

#kk-header .kk-links a {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

#kk-header .kk-links a:hover,
#kk-header .kk-links a.kk-active {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

/* center logo */
#kk-header .kk-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}

#kk-header .kk-logo svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 10px rgba(0, 200, 255, 0.5));
}

#kk-header .kk-logo span {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 2px;
  color: #ffffff;
}

#kk-header .kk-logo span .cyan {
  color: var(--accent);
}

/* right side: CTA + icons */
#kk-header .kk-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

#kk-header .kk-cta {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #05131a;
  background: var(--accent);
  padding: 9px 20px;
  border-radius: 20px;
  box-shadow: 0 0 14px rgba(0, 200, 255, 0.35);
  transition: filter .2s, transform .2s;
  white-space: nowrap;
}

#kk-header .kk-cta:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

#kk-header .kk-icon-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color .2s;
}

#kk-header .kk-icon-btn:hover {
  color: var(--accent);
}

/* search bar (expands under header) */
#kk-header .kk-search-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  border-top: 1px solid transparent;
}

#kk-header .kk-search-panel.kk-open {
  max-height: 70px;
  border-top-color: rgba(0, 200, 255, 0.2);
}

#kk-header .kk-search-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 28px;
}

#kk-header .kk-search-inner input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(0, 200, 255, 0.3);
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  outline: none;
}

#kk-header .kk-search-inner input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

#kk-header .kk-search-inner input:focus {
  border-color: var(--accent);
}

@media (max-width: 760px) {
  #kk-header .kk-links {
    display: none;
  }

  #kk-header .kk-nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  #kk-header .kk-cta {
    padding: 8px 14px;
    font-size: 12px;
  }
}

/* dims non-matching items when searching (product cards on shop.html, link-items on main.html) */
.link-item.kk-dimmed,
.product-card.kk-dimmed {
  opacity: 0.15;
  pointer-events: none;
}

.product-card {
  transition: border-color .2s ease, transform .2s ease, opacity .2s ease;
}

/* ── TOP NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 13, 17, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1600px) {
  .nav-inner {
    max-width: 1240px;
  }
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .14em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-clock {
  font-family: 'Share Tech Mono', monospace;
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--muted);
}

@media (max-width: 480px) {
  .nav-clock {
    display: none;
  }
}

.cart-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}

.cart-toggle:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--danger);
  color: #fff;
  font-family: 'Share Tech Mono', monospace;
  font-size: .62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── WRAPPER ── */
.wrapper {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

@media (min-width: 1600px) {
  .wrapper {
    max-width: 1240px;
  }
}

/* ── HERO CAROUSEL ── */
.hero-carousel {
  position: relative;
  height: clamp(320px, 34vw, 440px);
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 44px;
  animation: fadeUp .6s ease both;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.65, 0, .35, 1);
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* fallback (no live products yet) — simple centered text, same as the old .hero */
.hero-slide-fallback {
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero-slide-fallback .hero-eyebrow,
.hero-slide-fallback .hero-title,
.hero-slide-fallback .hero-sub {}

/* product slide — split into a solid text panel + a real <img> column.
   (A full-bleed background-image was cropping on-model photos way too
   tight, since those are portrait-ish shots being force-fit into a
   short, very wide banner — an actual img in a fixed-width column with
   object-fit keeps a sane crop regardless of the source photo's shape.) */
.hero-slide-product {
  justify-content: flex-start;
  align-items: stretch;
}

.hero-slide-media-wrap {
  position: relative;
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.hero-slide-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-slide-media-wrap::before {
  /* soft seam so the photo doesn't hard-cut against the text panel */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 12%);
}

@media (max-width: 760px) {
  .hero-slide-product {
    flex-direction: column;
  }

  .hero-slide-media-wrap {
    width: 100%;
    height: 46%;
    order: -1;
  }

  .hero-slide-media-wrap::before {
    background: linear-gradient(180deg, transparent 75%, var(--bg) 100%);
  }
}

.hero-slide-text {
  position: relative;
  z-index: 2;
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 6%;
  background: var(--bg);
}

@media (max-width: 760px) {
  .hero-slide-text {
    width: 100%;
    padding: 20px 22px;
  }
}

.hero-slide-cat {
  font-family: 'Share Tech Mono', monospace;
  font-size: .7rem;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: .85;
}

.hero-slide-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: .03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 10px;
}

.hero-slide-desc {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 18px;
  max-width: 380px;
}

.hero-slide-price {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 18px;
  display: block;
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  border: none;
  color: #05131a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 7px;
  cursor: pointer;
  transition: filter .2s, transform .2s;
}

.hero-slide-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.hero-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .8;
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  letter-spacing: .06em;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  letter-spacing: .04em;
  margin-bottom: 22px;
}

/* arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 13, 17, 0.55);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: border-color .2s, background .2s;
  z-index: 3;
}

.hero-arrow:hover {
  border-color: var(--border-hover);
  background: rgba(10, 13, 17, 0.8);
}

.hero-arrow-prev {
  left: 16px;
}

.hero-arrow-next {
  right: 16px;
}

.hero-carousel.single-slide .hero-arrow,
.hero-carousel.single-slide .hero-dots {
  display: none;
}

/* dots */
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 3;
}

.hero-dot {
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}

.hero-dot.active {
  background: var(--accent);
}

@media (max-width: 760px) {
  .hero-slide-desc {
    display: none;
  }
}

.status-strip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .4;
    transform: scale(.7);
  }
}

/* ── INTEL STRIP (compact data readout) ── */
.intel-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  font-family: 'Share Tech Mono', monospace;
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
  animation: fadeUp .6s ease .05s both;
}

.intel-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.intel-strip i {
  color: var(--accent);
  opacity: .7;
  font-size: .7rem;
}

.intel-strip b {
  color: var(--text);
  font-weight: 400;
}

.intel-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .5;
}

/* ── COLLECTIONS (simple pill row) ── */
.collections {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  animation: fadeUp .6s ease .1s both;
}

.collection-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  opacity: .85;
}

.collection-pill i {
  font-size: .8rem;
  color: var(--muted);
}

.collection-pill.accent i {
  color: var(--lilly);
}

/* ── COMING SOON BANNER ── */
.cs-banner {
  position: relative;
  text-align: center;
  padding: 44px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 48px;
  animation: fadeUp .6s ease .15s both;
}

.cs-icon {
  font-size: 2.2rem;
  color: var(--accent);
  opacity: .55;
  margin-bottom: 16px;
}

.cs-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  letter-spacing: .04em;
  color: #fff;
  margin-bottom: 8px;
}

.cs-sub {
  font-size: .92rem;
  color: var(--muted);
}

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: .72rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
  animation: fadeUp .6s ease .2s both;
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
  animation: fadeUp .6s ease .25s both;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, rgba(0, 200, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-img img.card-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-placeholder {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.12);
}

.card-cs-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 17, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-cs-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: .62rem;
  letter-spacing: .25em;
  color: var(--accent);
  text-transform: uppercase;
  border: 1px solid rgba(0, 200, 255, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  background: rgba(0, 200, 255, 0.06);
}

.card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: .58rem;
  letter-spacing: .15em;
  color: var(--text);
  background: rgba(10, 13, 17, 0.65);
  border-radius: 20px;
  padding: 4px 10px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.card-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.25;
}

.card-desc {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: none;
}

/* software card — the description is useful here since there's no real
   product photo, and the "Free Tool" tag gets its own color so it doesn't
   read as just another merch category */
.software-card .card-desc {
  display: block;
}

.software-card .card-cat {
  background: rgba(0, 200, 255, 0.12);
  color: var(--accent);
}

.software-card .card-price.live {
  color: var(--accent);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card-variant-select {
  width: 100%;
  margin-bottom: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: .86rem;
  border-radius: 6px;
  cursor: pointer;
}

/* the dropdown POPUP is drawn by the browser/OS with its own background
   (usually white/light) regardless of page theme — force dark, readable
   text for the option list itself so sizes aren't near-invisible */
.card-variant-select option {
  color: #111;
  background: #fff;
}

.card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.card-price {
  font-family: 'Share Tech Mono', monospace;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--text);
}

.card-price.live {
  color: var(--text);
}

.card-price .compare-at {
  color: var(--muted);
  text-decoration: line-through;
  font-size: .78rem;
  margin-left: 8px;
}

.card-price.tbd {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .1em;
}

.card-btn {
  width: 100%;
  font-family: 'Rajdhani', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 7px;
  cursor: not-allowed;
  opacity: .7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-btn.buyable {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #05131a;
  cursor: pointer;
  opacity: 1;
  transition: filter .2s;
}

.card-btn.buyable:hover {
  filter: brightness(1.1);
}

.card-btn.buyable:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.card-btn.sold-out {
  background: rgba(255, 59, 92, 0.08);
  border-color: rgba(255, 59, 92, 0.25);
  color: var(--danger);
  cursor: not-allowed;
  opacity: 1;
}

/* ── LOADING STATE ── */
.product-grid.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  font-family: 'Share Tech Mono', monospace;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── BACK LINK ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  letter-spacing: .04em;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s, gap .2s;
  animation: fadeUp .6s ease .3s both;
}

.back-link:hover {
  color: var(--accent);
  gap: 14px;
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  margin-top: 60px;
  font-family: 'Share Tech Mono', monospace;
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .12em;
  opacity: .5;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   CART DRAWER
   ══════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.7);
  backdrop-filter: blur(3px);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s ease;
}

.cart-overlay.show {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 100vw);
  background: #0d1117;
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: .06em;
}

.cart-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  transition: color .2s;
}

.cart-close:hover {
  color: var(--accent);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 22px;
}

.cart-empty {
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
  padding: 60px 0;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.cart-item-variant {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-qty button {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-size: .8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-qty button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-item-qty span {
  font-size: .85rem;
  min-width: 18px;
  text-align: center;
}

.cart-item-price {
  font-family: 'Share Tech Mono', monospace;
  font-size: .82rem;
  color: var(--text);
}

.cart-item-remove {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: .76rem;
  cursor: pointer;
  padding: 4px 0;
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-drawer-footer {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--border);
}

.cart-subtotal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

#cart-subtotal {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: var(--accent);
  border: none;
  color: #05131a;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s, transform .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cart-checkout-btn:not(:disabled):hover {
  filter: brightness(1.1);
}

.cart-checkout-btn:disabled {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: not-allowed;
}

/* ══════════════════════════════════════
   PRODUCT DETAIL MODAL
   ══════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.75);
  backdrop-filter: blur(4px);
  z-index: 400;
  opacity: 0;
  transition: opacity .25s ease;
}

.modal-overlay.show {
  opacity: 1;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.97);
  width: min(880px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: 14px;
  z-index: 401;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.product-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: sticky;
  top: 14px;
  left: 100%;
  margin-right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(0);
  float: right;
}

.modal-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px;
  clear: both;
}

@media (max-width: 720px) {
  .modal-body {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .modal-close {
    margin-right: 6px;
  }
}

.modal-main-img {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(0, 200, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.modal-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-main-img i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.12);
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.modal-thumbs img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: .65;
  transition: all .15s;
}

.modal-thumbs img:hover {
  opacity: 1;
}

.modal-thumbs img.active {
  opacity: 1;
  border-color: var(--accent);
}

.modal-cat {
  font-family: 'Share Tech Mono', monospace;
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  letter-spacing: .03em;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.05;
}

.modal-price {
  font-family: 'Share Tech Mono', monospace;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.modal-variant-group {
  margin-bottom: 18px;
}

.modal-variant-label {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-size-pill {
  min-width: 44px;
  padding: 9px 14px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .15s;
}

.modal-size-pill:hover {
  border-color: var(--border-hover);
}

.modal-size-pill.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #05131a;
}

.modal-size-pill:disabled {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}

.modal-add-btn {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #05131a;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter .2s;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-add-btn:hover {
  filter: brightness(1.1);
}

.modal-add-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.modal-accordion details {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.modal-accordion summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-accordion summary::-webkit-details-marker {
  display: none;
}

.modal-accordion summary::after {
  content: '+';
  color: var(--muted);
  font-size: 1.1rem;
}

.modal-accordion details[open] summary::after {
  content: '−';
}

.modal-accordion p {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0d1117;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  z-index: 300;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 480px) {
  .wrapper {
    padding: 40px 18px 80px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .corner-deco {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }
}