:root{
  --bg:#0b0f17;
  --card:rgba(255,255,255,0.06);
  --border:rgba(255,255,255,0.12);
  --text:#e5e7eb;
  --muted:#9ca3af;
  --accent:#a855f7;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter, sans-serif;
}

body{
  background:radial-gradient(circle at top,#111827,#0b0f17);
  color:var(--text);
}

body.is-loading{
  overflow:hidden;
}

/* NAV */
nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  padding:20px 10%;
  background:rgba(0,0,0,0.3);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:10;
}

nav a{
  margin-left:18px;
  color:var(--muted);
  text-decoration:none;
}

nav a:hover{
  color:var(--accent);
}

nav .brand{
  display:inline-flex;
  align-items:center;
  gap:11px;
  flex:none;
  margin-left:0;
  color:var(--text);
}

.brand-logo{
  position:relative;
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid rgba(255,255,255,0.16);
  border-radius:50%;
  background:linear-gradient(145deg,rgba(255,255,255,0.1),rgba(168,85,247,0.08));
  box-shadow:0 8px 24px rgba(0,0,0,0.28),0 0 22px rgba(168,85,247,0.12);
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}

.brand-logo img{
  display:block;
  width:40px;
  height:40px;
  object-fit:contain;
}

.brand-wordmark{
  color:var(--text);
  font-size:.94rem;
  font-weight:900;
  white-space:nowrap;
}

.brand-wordmark strong{
  color:var(--accent);
}

.brand:hover .brand-logo{
  transform:translateY(-2px);
  border-color:rgba(168,85,247,0.48);
  box-shadow:0 10px 28px rgba(0,0,0,0.32),0 0 28px rgba(168,85,247,0.24);
}

@media (max-width:900px){
  nav{
    flex-direction:column;
    gap:14px;
    padding:16px 6%;
  }

  nav > div{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
  }

  nav a{
    margin:6px 8px;
  }

  nav .brand{
    margin:0;
  }
}

/* CARD */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:20px;
  backdrop-filter:blur(20px);
  transition:.3s;
}

.card:hover{
  transform:translateY(-8px);
  border-color:var(--accent);
  box-shadow:0 0 30px rgba(168,85,247,0.2);
}

/* HERO */
.hero{
  text-align:center;
  padding:120px 20px;
}

.hero h1{
  font-size:3.5rem;
}

.hero p{
  max-width:720px;
  margin:18px auto 0;
  color:var(--muted);
  font-size:1.15rem;
  line-height:1.6;
}

.accent{
  color:var(--accent);
}

.btn{
  display:inline-block;
  margin-top:20px;
  padding:12px 25px;
  background:var(--accent);
  color:white;
  border-radius:12px;
  text-decoration:none;
  font-weight:800;
  transition:.25s;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(168,85,247,0.24);
}

.btn-ghost{
  background:rgba(255,255,255,0.07);
  border:1px solid var(--border);
}

.btn-primary{
  background:linear-gradient(135deg,#a855f7,#22d3ee);
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
  padding:60px 10%;
}

/* HOME */
.home-hero{
  position:relative;
  overflow:hidden;
  min-height:calc(100vh - 66px);
  display:grid;
  align-items:center;
  padding:90px 10% 56px;
}

.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 22% 20%,rgba(168,85,247,0.28),transparent 34%),
    radial-gradient(circle at 80% 18%,rgba(34,211,238,0.17),transparent 30%),
    linear-gradient(180deg,rgba(11,15,23,0.2),#0b0f17 92%);
  pointer-events:none;
}

.home-logo-mark{
  position:absolute;
  right:6%;
  top:50%;
  width:min(420px,42vw);
  max-height:70vh;
  object-fit:contain;
  opacity:.12;
  transform:translateY(-50%);
  filter:drop-shadow(0 30px 80px rgba(168,85,247,0.32));
  pointer-events:none;
}

.home-hero-content{
  position:relative;
  z-index:1;
  max-width:850px;
}

.home-hero h1{
  margin-bottom:22px;
  font-size:8rem;
  line-height:.86;
  font-weight:900;
}

.home-hero p{
  max-width:720px;
  color:var(--muted);
  font-size:1.22rem;
  line-height:1.75;
}

.home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:12px;
}

.home-stats{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  max-width:980px;
  margin-top:70px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--border);
}

.home-stats div{
  padding:24px;
  background:rgba(255,255,255,0.055);
  backdrop-filter:blur(20px);
}

.home-stats strong{
  display:block;
  margin-bottom:6px;
  color:var(--text);
  font-size:1.8rem;
  line-height:1;
}

.home-stats span{
  color:var(--muted);
  font-size:.95rem;
}

.home-stats small{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:12px;
  color:var(--muted);
  font-size:.78rem;
  font-weight:800;
}

.home-stats small::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--muted);
}

.home-stats small.is-live{
  color:#86efac;
}

.home-stats small.is-live::before{
  background:#22c55e;
  box-shadow:0 0 14px rgba(34,197,94,0.8);
}

.home-stats small.is-offline{
  color:#fca5a5;
}

.home-stats small.is-offline::before{
  background:#ef4444;
}

.home-section{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
  gap:48px;
  align-items:start;
  padding:90px 10% 40px;
}

.home-section h2{
  max-width:760px;
  font-size:2.8rem;
  line-height:1.08;
}

.home-section p{
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.85;
}

.home-feature-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  padding:34px 10% 88px;
}

.home-feature{
  position:relative;
  overflow:hidden;
  min-height:250px;
  padding:26px;
  border:1px solid var(--border);
  border-radius:24px;
  background:
    radial-gradient(circle at 20% 0%,rgba(168,85,247,0.22),transparent 40%),
    rgba(255,255,255,0.05);
  backdrop-filter:blur(20px);
  transition:.3s;
}

.home-feature:hover{
  transform:translateY(-7px);
  border-color:rgba(168,85,247,0.48);
  box-shadow:0 24px 70px rgba(0,0,0,0.32);
}

.home-feature span{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:42px;
  border-radius:14px;
  background:rgba(255,255,255,0.1);
  color:var(--accent);
  font-weight:900;
}

.home-feature h3{
  margin-bottom:10px;
  font-size:1.25rem;
}

.home-feature p{
  color:var(--muted);
  line-height:1.65;
}

.home-banner{
  margin:0 10% 90px;
  padding:48px;
  border:1px solid rgba(168,85,247,0.32);
  border-radius:28px;
  background:
    linear-gradient(135deg,rgba(168,85,247,0.22),rgba(34,211,238,0.12)),
    rgba(255,255,255,0.045);
  text-align:center;
  backdrop-filter:blur(20px);
}

.home-banner h2{
  max-width:780px;
  margin:0 auto 14px;
  font-size:2.35rem;
  line-height:1.12;
}

.home-banner p{
  max-width:720px;
  margin:0 auto;
  color:var(--muted);
  line-height:1.75;
}

/* STAFF */
.staff-hero{
  padding-bottom:55px;
}

.staff-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:24px;
  padding:0 10% 80px;
}

.staff-card{
  position:relative;
  overflow:hidden;
  min-height:290px;
  padding:30px 22px;
  border:1px solid var(--border);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255,255,255,0.075),rgba(255,255,255,0.035)),
    var(--card);
  text-align:center;
  backdrop-filter:blur(20px);
  transition:.3s;
}

.staff-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 50% 0%,rgba(168,85,247,0.28),transparent 42%);
  opacity:.85;
  pointer-events:none;
}

.staff-card:hover{
  transform:translateY(-8px);
  border-color:rgba(168,85,247,0.55);
  box-shadow:0 24px 70px rgba(0,0,0,0.34);
}

.staff-photo-wrap,
.staff-card h3,
.staff-card p{
  position:relative;
  z-index:1;
}

.staff-photo-wrap{
  width:132px;
  height:132px;
  margin:0 auto 20px;
  padding:4px;
  border-radius:50%;
  background:linear-gradient(135deg,#a855f7,#22d3ee);
  box-shadow:0 18px 38px rgba(0,0,0,0.34);
}

.staff-photo{
  display:block;
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center;
  background:#111827;
  border:4px solid #0b0f17;
}

.staff-card h3{
  margin-bottom:8px;
  color:var(--text);
  font-size:1.25rem;
  line-height:1.2;
  overflow-wrap:anywhere;
}

.staff-card p{
  color:var(--muted);
  font-weight:700;
}

/* ABOUT STORY */
.about-hero{
  padding-bottom:60px;
}

.story-page{
  position:relative;
  padding:0 10% 90px;
}

.story-page::before{
  content:"";
  position:absolute;
  top:30px;
  left:10%;
  right:10%;
  height:360px;
  border-radius:40px;
  background:
    radial-gradient(circle at 20% 20%,rgba(168,85,247,0.26),transparent 34%),
    radial-gradient(circle at 78% 10%,rgba(34,211,238,0.16),transparent 32%);
  opacity:.8;
  pointer-events:none;
}

.story-intro,
.story-flow,
.story-highlight{
  position:relative;
  z-index:1;
  max-width:920px;
  margin:0 auto;
}

.story-label{
  display:inline-block;
  margin-bottom:18px;
  color:var(--accent);
  font-weight:900;
  letter-spacing:0;
  text-transform:uppercase;
  font-size:.78rem;
}

.story-intro{
  padding:42px 0 28px;
}

.story-intro h2{
  max-width:850px;
  margin-bottom:24px;
  font-size:2.8rem;
  line-height:1.08;
}

.story-intro p,
.story-flow p,
.story-highlight p{
  color:var(--muted);
  font-size:1.12rem;
  line-height:1.85;
}

.story-flow{
  padding:18px 0 44px;
}

.story-flow p{
  margin-bottom:28px;
}

.story-flow p:first-letter{
  color:var(--text);
  font-size:2.4rem;
  font-weight:900;
  line-height:1;
}

.story-highlight{
  overflow:hidden;
  padding:42px;
  border:1px solid rgba(168,85,247,0.32);
  border-radius:26px;
  background:
    linear-gradient(135deg,rgba(168,85,247,0.20),rgba(34,211,238,0.10)),
    rgba(255,255,255,0.045);
  backdrop-filter:blur(20px);
}

.story-highlight h2{
  margin-bottom:14px;
  font-size:2.2rem;
  line-height:1.15;
}

/* CONTACT */
.contact-page{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(360px,520px);
  gap:56px;
  align-items:center;
  min-height:calc(100vh - 86px);
  padding:80px 10%;
  overflow:hidden;
}

.contact-page::before{
  content:"";
  position:absolute;
  width:620px;
  height:620px;
  right:-180px;
  top:40px;
  border-radius:50%;
  background:
    radial-gradient(circle,rgba(168,85,247,0.28),transparent 58%),
    radial-gradient(circle at 25% 30%,rgba(34,211,238,0.18),transparent 38%);
  pointer-events:none;
}

.contact-hero,
.contact-panel{
  position:relative;
  z-index:1;
}

.contact-hero h1{
  max-width:680px;
  margin-bottom:22px;
  font-size:4rem;
  line-height:1.02;
}

.contact-hero p{
  max-width:620px;
  color:var(--muted);
  font-size:1.12rem;
  line-height:1.8;
}

.contact-points{
  display:grid;
  gap:16px;
  max-width:560px;
  margin-top:36px;
}

.contact-points div{
  padding:18px 20px;
  border-left:3px solid var(--accent);
  background:linear-gradient(90deg,rgba(168,85,247,0.14),rgba(255,255,255,0.02));
  border-radius:0 18px 18px 0;
}

.contact-points strong{
  display:block;
  margin-bottom:6px;
  color:var(--text);
}

.contact-points span{
  color:var(--muted);
  line-height:1.5;
}

.contact-panel{
  padding:1px;
  border-radius:28px;
  background:linear-gradient(145deg,rgba(168,85,247,0.42),rgba(34,211,238,0.18),rgba(255,255,255,0.08));
  box-shadow:0 26px 90px rgba(0,0,0,0.38);
}

.contact-form{
  padding:34px;
  border-radius:27px;
  background:rgba(11,15,23,0.82);
  backdrop-filter:blur(24px);
}

.form-row{
  margin-bottom:18px;
}

.form-row label{
  display:block;
  margin-bottom:8px;
  color:var(--text);
  font-size:.92rem;
  font-weight:700;
}

.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:15px 16px;
  border:1px solid var(--border);
  border-radius:16px;
  background:rgba(255,255,255,0.06);
  color:var(--text);
  outline:none;
  font-size:1rem;
  transition:.2s;
}

.form-row select{
  cursor:pointer;
}

.form-row option{
  color:#111827;
}

.form-row textarea{
  min-height:150px;
  resize:vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder{
  color:rgba(229,231,235,0.42);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(168,85,247,0.16);
  background:rgba(255,255,255,0.08);
}

.hidden-field{
  position:absolute;
  left:-9999px;
  opacity:0;
}

.contact-submit{
  width:100%;
  margin-top:4px;
  padding:16px 20px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#a855f7,#22d3ee);
  color:white;
  cursor:pointer;
  font-size:1rem;
  font-weight:900;
  transition:.25s;
}

.contact-submit:hover:not(:disabled){
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(168,85,247,0.25);
}

.contact-submit:disabled{
  opacity:.65;
  cursor:not-allowed;
}

.status-msg{
  min-height:22px;
  margin-top:16px;
  color:var(--muted);
  font-size:.95rem;
  line-height:1.5;
}

.status-msg.success{
  color:#86efac;
}

.status-msg.error{
  color:#fca5a5;
}

/* COMMUNITY */
.community-list{
  display:flex;
  flex-direction:column;
  gap:24px;
  padding:20px 10% 80px;
}

.community-feature{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:96px 1fr;
  align-items:center;
  gap:28px;
  min-height:150px;
  padding:34px;
  border:1px solid var(--border);
  border-radius:24px;
  background:var(--card);
  backdrop-filter:blur(20px);
  transition:.3s;
}

.community-feature::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.8;
  pointer-events:none;
}

.community-feature:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,0.28);
  box-shadow:0 24px 70px rgba(0,0,0,0.35);
}

.community-feature > *{
  position:relative;
  z-index:1;
}

.feature-icon{
  width:86px;
  height:86px;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.16);
  color:white;
  font-size:1.25rem;
  font-weight:900;
}

.community-feature h2{
  margin-bottom:10px;
  font-size:1.75rem;
}

.community-feature p{
  max-width:760px;
  color:var(--muted);
  font-size:1rem;
  line-height:1.65;
}

.feature-purple::before{
  background:linear-gradient(120deg,rgba(168,85,247,0.34),rgba(255,255,255,0.03));
}

.feature-cyan::before{
  background:linear-gradient(120deg,rgba(34,211,238,0.26),rgba(168,85,247,0.08));
}

.feature-pink::before{
  background:linear-gradient(120deg,rgba(236,72,153,0.26),rgba(255,255,255,0.03));
}

.feature-green::before{
  background:linear-gradient(120deg,rgba(34,197,94,0.23),rgba(34,211,238,0.06));
}

.feature-blue::before{
  background:linear-gradient(120deg,rgba(59,130,246,0.27),rgba(255,255,255,0.03));
}

.feature-orange::before{
  background:linear-gradient(120deg,rgba(249,115,22,0.24),rgba(168,85,247,0.08));
}

.community-cta{
  margin-top:10px;
  padding:42px 34px;
  border:1px solid rgba(168,85,247,0.35);
  border-radius:24px;
  background:
    linear-gradient(135deg,rgba(168,85,247,0.22),rgba(34,211,238,0.12)),
    rgba(255,255,255,0.05);
  text-align:center;
  backdrop-filter:blur(20px);
}

.community-cta h2{
  font-size:2rem;
  margin-bottom:10px;
}

.community-cta p{
  color:var(--muted);
  line-height:1.6;
}

@media (max-width:700px){
  nav{
    flex-direction:column;
    gap:14px;
  }

  nav a{
    display:inline-block;
    margin:6px 8px;
  }

  .hero{
    padding:80px 20px 50px;
  }

  .hero h1{
    font-size:2.5rem;
  }

  .home-hero{
    min-height:auto;
    padding:74px 6% 42px;
  }

  .home-logo-mark{
    right:-18%;
    width:78vw;
    opacity:.08;
  }

  .home-hero h1{
    font-size:4.5rem;
  }

  .home-hero p{
    font-size:1.02rem;
  }

  .home-actions{
    flex-direction:column;
    align-items:flex-start;
  }

  .home-stats{
    grid-template-columns:1fr;
    margin-top:42px;
  }

  .home-stats div{
    padding:20px;
  }

  .home-section{
    grid-template-columns:1fr;
    gap:24px;
    padding:64px 6% 26px;
  }

  .home-section h2{
    font-size:2rem;
  }

  .home-feature-grid{
    grid-template-columns:1fr;
    padding:26px 6% 62px;
  }

  .home-feature{
    min-height:auto;
  }

  .home-feature span{
    margin-bottom:28px;
  }

  .home-banner{
    margin:0 6% 64px;
    padding:30px;
  }

  .home-banner h2{
    font-size:1.65rem;
  }

  .community-list{
    padding:10px 6% 60px;
  }

  .staff-grid{
    grid-template-columns:1fr;
    padding:0 6% 60px;
  }

  .staff-photo-wrap{
    width:118px;
    height:118px;
  }

  .story-page{
    padding:0 6% 60px;
  }

  .story-page::before{
    left:6%;
    right:6%;
  }

  .story-intro h2{
    font-size:2rem;
  }

  .story-intro p,
  .story-flow p,
  .story-highlight p{
    font-size:1rem;
    line-height:1.75;
  }

  .story-highlight{
    padding:28px;
  }

  .story-highlight h2{
    font-size:1.6rem;
  }

  .contact-page{
    grid-template-columns:1fr;
    gap:34px;
    min-height:auto;
    padding:64px 6%;
  }

  .contact-hero h1{
    font-size:2.55rem;
  }

  .contact-form{
    padding:24px;
  }

  .community-feature{
    grid-template-columns:1fr;
    gap:18px;
    padding:26px;
  }

  .feature-icon{
    width:70px;
    height:70px;
    border-radius:18px;
  }

  .community-feature h2{
    font-size:1.45rem;
  }
}

/* FOOTER */
footer{
  text-align:center;
  padding:30px;
  border-top:1px solid var(--border);
  color:var(--muted);
}

/* SHOP */
.shop-hero{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:36px;
  padding:100px 10% 56px;
}

.shop-hero h1{
  max-width:760px;
  font-size:4.8rem;
  line-height:1;
}

.shop-hero p{
  max-width:700px;
  margin-top:20px;
  color:var(--muted);
  font-size:1.12rem;
  line-height:1.7;
}

.cart-toggle{
  flex:none;
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 18px;
  border:1px solid var(--border);
  border-radius:8px;
  background:rgba(255,255,255,0.07);
  color:var(--text);
  cursor:pointer;
  font-weight:800;
}

.cart-toggle span{
  display:grid;
  place-items:center;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:50%;
  background:var(--accent);
  color:white;
}

.shop-toolbar{
  display:flex;
  gap:8px;
  padding:0 10% 28px;
}

.shop-filter{
  padding:10px 16px;
  border:1px solid var(--border);
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font-weight:700;
}

.shop-filter:hover,
.shop-filter.is-active{
  border-color:var(--accent);
  background:rgba(168,85,247,0.14);
  color:var(--text);
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  padding:0 10% 90px;
}

.product-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:8px;
  background:rgba(255,255,255,0.045);
  transition:.25s;
}

.product-card:hover{
  transform:translateY(-5px);
  border-color:rgba(168,85,247,0.55);
  box-shadow:0 24px 60px rgba(0,0,0,0.28);
}

.product-card[hidden]{
  display:none;
}

.product-image{
  aspect-ratio:4/3;
  overflow:hidden;
  background:#0d1119;
}

.product-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.product-card:hover .product-image img{
  transform:scale(1.025);
}

.product-info{
  padding:24px;
}

.product-category{
  color:var(--accent);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
}

.product-info h2{
  margin-top:8px;
  font-size:1.5rem;
}

.product-info p{
  min-height:52px;
  margin-top:10px;
  color:var(--muted);
  line-height:1.6;
}

.product-buy-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:22px;
}

.product-buy-row strong{
  margin-right:auto;
  font-size:1.3rem;
}

.product-buy-row select{
  height:42px;
  padding:0 10px;
  border:1px solid var(--border);
  border-radius:6px;
  background:#111827;
  color:var(--text);
}

.product-buy-row button,
.checkout-button{
  min-height:42px;
  padding:0 16px;
  border:0;
  border-radius:6px;
  background:linear-gradient(135deg,#a855f7,#22d3ee);
  color:white;
  cursor:pointer;
  font-weight:900;
}

.cart-drawer{
  position:fixed;
  top:0;
  right:0;
  z-index:10001;
  display:grid;
  grid-template-rows:auto 1fr auto;
  width:min(440px,100%);
  height:100%;
  padding:28px;
  background:#0d1119;
  border-left:1px solid var(--border);
  box-shadow:-24px 0 70px rgba(0,0,0,0.45);
  transform:translateX(100%);
  transition:transform .3s ease;
}

.cart-drawer.is-open{
  transform:translateX(0);
}

.cart-header{
  display:flex;
  justify-content:space-between;
  align-items:start;
  padding-bottom:22px;
  border-bottom:1px solid var(--border);
}

.cart-header h2{
  font-size:2rem;
}

.cart-close{
  width:42px;
  height:42px;
  border:1px solid var(--border);
  border-radius:50%;
  background:transparent;
  color:var(--text);
  cursor:pointer;
  font-size:1.8rem;
}

.cart-items{
  overflow:auto;
  padding:18px 0;
}

.cart-empty{
  color:var(--muted);
}

.cart-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 0;
  border-bottom:1px solid var(--border);
}

.cart-item strong,
.cart-item span{
  display:block;
}

.cart-item span{
  margin-top:5px;
  color:var(--muted);
  font-size:.86rem;
}

.cart-quantity{
  display:grid;
  grid-template-columns:32px 28px 32px;
  align-items:center;
  text-align:center;
}

.cart-quantity button{
  width:32px;
  height:32px;
  border:1px solid var(--border);
  border-radius:50%;
  background:rgba(255,255,255,0.06);
  color:var(--text);
  cursor:pointer;
}

.cart-footer{
  padding-top:20px;
  border-top:1px solid var(--border);
}

.cart-total{
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:1.15rem;
}

.cart-footer p{
  margin:12px 0 18px;
  color:var(--muted);
  font-size:.85rem;
  line-height:1.5;
}

.checkout-button{
  width:100%;
  min-height:50px;
}

.checkout-button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.cart-backdrop{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(0,0,0,0.62);
  opacity:0;
  visibility:hidden;
  transition:.3s;
}

.cart-backdrop.is-open{
  opacity:1;
  visibility:visible;
}

@media (max-width:800px){
  .shop-hero{
    align-items:start;
    flex-direction:column;
    padding:72px 6% 40px;
  }

  .shop-hero h1{
    font-size:3rem;
  }

  .shop-toolbar{
    overflow-x:auto;
    padding:0 6% 24px;
  }

  .shop-filter{
    flex:none;
  }

  .product-grid{
    grid-template-columns:1fr;
    padding:0 6% 64px;
  }

  .product-info p{
    min-height:0;
  }

  .product-buy-row{
    flex-wrap:wrap;
  }

  .product-buy-row strong{
    width:100%;
  }
}

/* PAGE LOADER */
.page-loader{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 30% 20%,rgba(168,85,247,0.28),transparent 34%),
    radial-gradient(circle at 72% 28%,rgba(34,211,238,0.18),transparent 30%),
    rgba(11,15,23,0.96);
  opacity:1;
  visibility:visible;
  transition:opacity .45s ease, visibility .45s ease;
}

.page-loader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

.page-loader.is-changing{
  transition:opacity .22s ease;
}

.loader-panel{
  width:min(360px,82vw);
  text-align:center;
}

.loader-logo{
  color:var(--text);
  font-size:2.35rem;
  font-weight:900;
  line-height:1;
}

.loader-logo span{
  color:var(--accent);
}

.loader-text{
  margin-top:14px;
  color:var(--muted);
  font-size:.95rem;
  font-weight:700;
}

.loader-bar{
  overflow:hidden;
  height:5px;
  margin-top:24px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
}

.loader-bar span{
  display:block;
  width:42%;
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#a855f7,#22d3ee);
  animation:loader-slide 1.05s ease-in-out infinite;
}

@keyframes loader-slide{
  0%{
    transform:translateX(-120%);
  }

  100%{
    transform:translateX(260%);
  }
}

@media (prefers-reduced-motion:reduce){
  .page-loader,
  .btn,
  .card,
  .staff-card,
  .home-feature,
  .community-feature{
    transition:none;
  }

  .loader-bar span{
    animation:none;
    width:100%;
  }
}
