:root{
  --bg:#09050d;
  --bg-soft:#130a18;
  --card:rgba(20,12,27,.86);
  --card-2:rgba(31,18,41,.88);
  --line:rgba(221,190,255,.16);
  --line-2:rgba(221,190,255,.3);
  --text:#f7f0fb;
  --muted:#cab8d8;
  --accent:#a349d6;
  --accent-2:#6b1837;
  --shadow:0 20px 60px rgba(0,0,0,.4);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top, rgba(163,73,214,.12), transparent 28%),
    linear-gradient(180deg, #09050d 0%, #120816 52%, #070409 100%);
  min-height:100vh;
}
img{max-width:100%;display:block}
button,input,a{font:inherit}
a{text-decoration:none}
.container{width:min(1180px, calc(100% - 28px));margin:0 auto}
.bg-orb{
  position:fixed; border-radius:50%; filter:blur(60px); pointer-events:none; opacity:.22; z-index:0;
}
.bg-orb--1{width:220px;height:220px;left:-40px;top:60px;background:#8b3cc7}
.bg-orb--2{width:240px;height:240px;right:-70px;top:180px;background:#60132f}
.hero{padding:18px 0 14px; position:relative; z-index:1}
.hero__box{
  border:1px solid var(--line);
  border-radius:28px;
  background:linear-gradient(180deg, rgba(25,14,33,.95), rgba(10,6,14,.94));
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero__box::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:26px 26px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.8), transparent 95%);
}
.hero__copy{
  position:relative; z-index:1;
  padding:40px 22px;
  text-align:center;
}
.eyebrow, h1, h2, h3{font-family:'Cinzel',serif}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  color:#dbc1f3;
  margin-bottom:14px;
}
.hero h1{
  margin:0;
  line-height:1.05;
  font-size:clamp(34px,6vw,60px);
}
.hero p{
  width:min(720px,100%);
  margin:16px auto 0;
  line-height:1.7;
  color:var(--muted);
}
.hero__meta{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}
.hero-pill{
  min-width:150px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:15px 18px;
}
.hero-pill strong{display:block;font-size:28px}
.hero-pill span{color:var(--muted);font-size:14px}
.hero-pill--accent{background:linear-gradient(135deg, rgba(163,73,214,.12), rgba(107,24,55,.16))}
.hero__cta,.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:0; cursor:pointer;
  transition:transform .18s ease, opacity .18s ease, border-color .18s ease, background .18s ease;
}
.hero__cta{
  margin-top:22px;
  padding:14px 22px;
  border-radius:16px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:0 12px 30px rgba(107,24,55,.35);
}
.page{
  position:relative;
  z-index:1;
  display:grid;
  gap:18px;
  padding:4px 0 90px;
}
.panel{
  border:1px solid var(--line);
  border-radius:26px;
  background:var(--card);
  box-shadow:var(--shadow);
  padding:22px;
  backdrop-filter:blur(10px);
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
}
.section-head h2{margin:0 0 8px;font-size:30px}
.section-head p{margin:0;color:var(--muted);line-height:1.6}

.catalog-layout{
  display:grid;
  grid-template-columns:minmax(320px, 430px) 1fr;
  gap:18px;
  align-items:start;
  margin-top:20px;
}
.viewer{
  position:sticky;
  top:12px;
}
.viewer__image-wrap{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:linear-gradient(180deg, #fff, #ebe7f0);
  aspect-ratio:4/5;
}
.viewer__image{
  width:100%;
  height:100%;
  object-fit:cover;
}
.viewer__badge{
  position:absolute;
  top:14px; right:14px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:800;
  box-shadow:0 10px 24px rgba(107,24,55,.35);
}
.viewer__info{
  margin-top:14px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:var(--card-2);
}
.viewer__label{
  color:var(--muted);
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.viewer__info h3{
  margin:8px 0 10px;
  font-size:28px;
  line-height:1.15;
}
.viewer__info p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}
.viewer__actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}
.btn--primary{
  padding:14px 18px;
  border-radius:16px;
  color:#fff;
  font-weight:800;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow:0 12px 30px rgba(107,24,55,.35);
}
.btn--ghost{
  padding:14px 18px;
  border-radius:16px;
  color:var(--text);
  border:1px solid var(--line-2);
  background:rgba(255,255,255,.03);
}
.btn:hover,.hero__cta:hover{transform:translateY(-1px)}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
.product-card{
  width:100%;
  text-align:left;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:22px;
  padding:10px;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.product-card:hover,.product-card.active{
  transform:translateY(-2px);
  border-color:rgba(221,190,255,.46);
  background:rgba(163,73,214,.1);
  box-shadow:0 16px 28px rgba(0,0,0,.24);
}
.product-card__thumb{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:16px;
  background:#fff;
  margin-bottom:12px;
}
.product-card__name{
  display:block;
  font-weight:800;
  font-size:18px;
  line-height:1.3;
  margin-bottom:6px;
}
.product-card__desc{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
  min-height:38px;
}
.product-card__footer{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.product-card__price{font-weight:800;color:#f5d8ff}
.product-card__quick{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(221,190,255,.26);
  background:rgba(255,255,255,.04);
  color:var(--text);
  font-weight:700;
}

.order-topline{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
}
.order-topline span,.summary span{display:block;color:var(--muted);font-size:14px}
.order-topline strong{display:block;margin-top:6px;font-size:20px}
.order-form{margin-top:18px;display:grid;gap:18px}
.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}
label{display:grid;gap:8px}
label span{font-size:14px;font-weight:700}
input{
  width:100%;
  border:1px solid rgba(221,190,255,.18);
  background:rgba(8,5,12,.55);
  color:var(--text);
  border-radius:16px;
  padding:15px 16px;
  outline:none;
}
input::placeholder{color:#8e7f9b}
input:focus{
  border-color:rgba(221,190,255,.42);
  box-shadow:0 0 0 3px rgba(163,73,214,.12);
}
.summary{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.03);
}
.summary strong{
  display:block;
  margin-top:6px;
  font-size:18px;
}
.btn--submit{width:100%}

.mobile-sticky{
  position:fixed;
  left:10px; right:10px; bottom:10px;
  display:none;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid rgba(221,190,255,.2);
  border-radius:18px;
  background:rgba(12,7,17,.94);
  box-shadow:0 18px 40px rgba(0,0,0,.36);
  backdrop-filter:blur(12px);
  z-index:30;
}
.mobile-sticky__text{
  min-width:0;
  flex:1;
}
.mobile-sticky__text span{
  display:block;
  font-size:12px;
  color:var(--muted);
}
.mobile-sticky__text strong{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  margin-top:2px;
}
.mobile-sticky__btn{padding:12px 14px; flex-shrink:0}

@media (max-width: 1024px){
  .catalog-layout{grid-template-columns:1fr}
  .viewer{position:static}
}
@media (max-width: 720px){
  .container{width:min(100% - 18px, 1180px)}
  .hero__copy{padding:32px 16px}
  .panel{padding:18px;border-radius:22px}
  .section-head h2{font-size:26px}
  .catalog-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .viewer__actions{grid-template-columns:1fr}
  .order-topline,.summary{grid-template-columns:1fr}
  .mobile-sticky{display:flex}
  .page{padding-bottom:100px}
}
