/* WEVINTAGE — Custom Design System (supplements Tailwind) */
:root{
  --lux-gold:#c4a66a;
  --y2k-pink:#f472b6;
  --y2k-purple:#a855f7;
  --y2k-blue:#38bdf8;
}

/* ── Base ─────────────────────────────────────── */
html{scroll-behavior:smooth}
body{
  font-family:"Inter",system-ui,sans-serif;
  background:radial-gradient(circle at top,#fdf2ff 0%,#f5f5f3 46%,#f3f4f6 100%);
  color:#111827;
  overflow-x:hidden;
  min-height:100vh;
}

/* Film grain */
body::after{
  content:"";
  position:fixed;inset:0;
  pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  z-index:9999;
}

/* Custom cursor */
body{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%239ca3af'/%3E%3C/svg%3E") 12 12,auto}
a,button{cursor:pointer}

/* ── Typography ───────────────────────────────── */
.logo-font{font-family:"Cormorant Garamond",serif;letter-spacing:.28em}

/* ── Y2K Elements ─────────────────────────────── */
.y2k-pill{
  background:linear-gradient(120deg,var(--y2k-pink),var(--y2k-purple),var(--y2k-blue));
  color:#fff;
  box-shadow:0 0 18px rgba(148,163,184,.45);
}
.y2k-chip{
  background:radial-gradient(circle at 0 0,#fef3ff,#e5e7eb);
  border-color:rgba(148,163,184,.5);
}

/* ── Animations ───────────────────────────────── */
[data-reveal]{
  opacity:0;
  transform:translateY(20px) scale(.98);
  filter:blur(6px);
  transition:all 1.2s cubic-bezier(.19,1,.22,1);
}
[data-reveal].visible{opacity:1;transform:none;filter:blur(0)}

article img{transition:transform 1.4s cubic-bezier(.19,1,.22,1)}
article:hover img{transform:scale(1.04)}

/* ── Marquee ──────────────────────────────────── */
.marquee-wrapper{overflow:hidden;white-space:nowrap}
.marquee-inner{
  display:inline-block;
  padding-left:100%;
  animation:marquee 20s linear infinite;
}
.marquee-inner span{display:inline-block;padding-left:100%}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ── Utilities ────────────────────────────────── */
.backdrop-blur-ios{backdrop-filter:blur(18px)}
.no-scrollbar::-webkit-scrollbar{display:none}
.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}

/* ── Product Card Image ───────────────────────── */
.prod-img-wrap{position:relative;aspect-ratio:3/4;overflow:hidden;background:#f3f4f6}
.prod-img-wrap img{width:100%;height:100%;object-fit:cover;display:block}

/* ── Form Controls ────────────────────────────── */
.wv-input{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:10px 14px;
  font-size:14px;
  outline:none;
  background:#fff;
  transition:border-color .2s,box-shadow .2s;
}
.wv-input:focus{border-color:#a855f7;box-shadow:0 0 0 3px rgba(168,85,247,.12)}

/* ── Alert ────────────────────────────────────── */
.wv-alert-success{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;border-radius:10px;padding:12px 16px;font-size:13px}
.wv-alert-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:10px;padding:12px 16px;font-size:13px}

/* ── Bottom Mobile Nav ────────────────────────── */
.bottom-nav{
  position:fixed;bottom:0;left:0;right:0;
  border-top:1px solid #e5e7eb;
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(18px);
  z-index:40;
}
@media(min-width:640px){.bottom-nav{display:none}}

/* ── Option Chips ─────────────────────────────── */
.wv-chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:6px 14px;
  border:1px solid #e5e7eb;
  border-radius:999px;
  font-size:12px;
  cursor:pointer;
  transition:all .15s;
  background:#fff;
}
.wv-chip:hover,.wv-chip.active{border-color:#111827;background:#111827;color:#fff}
.wv-chip input{position:absolute;opacity:0;width:0;height:0}

/* ── Qty Control ──────────────────────────────── */
.wv-qty{display:flex;align-items:center;border:1px solid #e5e7eb;border-radius:999px;overflow:hidden;background:#fff;width:fit-content}
.wv-qty button{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:16px;color:#111827;transition:background .15s}
.wv-qty button:hover{background:#f3f4f6}
.wv-qty input{width:44px;text-align:center;border:none;outline:none;font-size:14px;font-weight:600;padding:0}

/* ── Modal ────────────────────────────────────── */
.wv-overlay{
  position:fixed;inset:0;
  background:rgba(0,0,0,.35);
  backdrop-filter:blur(4px);
  z-index:100;
  display:none;
  align-items:center;justify-content:center;
  padding:16px;
}
.wv-overlay.open{display:flex}
.wv-modal{
  background:#fff;
  border-radius:20px;
  max-width:480px;width:100%;
  max-height:90vh;
  overflow-y:auto;
  box-shadow:0 20px 60px rgba(0,0,0,.15);
}

/* ── Summary Card ─────────────────────────────── */
.wv-summary{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px}
.wv-summary-row{display:flex;justify-content:space-between;align-items:center;font-size:13px;padding:6px 0}
.wv-summary-total{font-size:16px;font-weight:700;border-top:1px solid #e5e7eb;margin-top:8px;padding-top:12px}

/* ── Auth Page ────────────────────────────────── */
.wv-auth-bg{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
}
@media(max-width:768px){.wv-auth-bg{grid-template-columns:1fr}}
.wv-auth-side{background:#111827;position:relative;overflow:hidden}
.wv-auth-side img{width:100%;height:100%;object-fit:cover;opacity:.6}
.wv-auth-card{display:flex;flex-direction:column;justify-content:center;padding:48px 40px;background:#fff}
@media(max-width:640px){.wv-auth-card{padding:32px 20px}}

/* ── Scrollbar thin ───────────────────────────── */
::-webkit-scrollbar{width:5px;height:5px}
::-webkit-scrollbar-track{background:#f3f4f6}
::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:99px}
