*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; }
html, body { overflow-x: hidden; }
body {
  background: #fff;
  color: #0a0a0a;
  font-family: 'Syne', sans-serif;
}
img { display: block; }
a { text-decoration: none; color: inherit; }

/* ===== STICKY HEADER ===== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 44px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  mix-blend-mode: difference;
}
.h-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800; font-size: 15px;
  letter-spacing: .04em; color: #fff;
}
.h-logo em {
  font-style: italic; font-family: 'Instrument Serif', serif;
  font-weight: 400; font-size: 17px;
}
.h-right {
  display: flex; gap: 20px; align-items: center;
}
.h-right a {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
}
.h-right a.active { color: #D4FF00; }

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px);
  background: #D4FF00; color: #0a0a0a;
  padding: 11px 22px;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  z-index: 9999; opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none; white-space: nowrap;
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== CART ===== */
.cart-trigger {
  position: relative; display: inline-flex; align-items: center;
  background: #D4FF00; color: #0a0a0a;
  padding: 7px 14px; font-size: 8px; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; font-family: 'Syne', sans-serif; border: none; cursor: pointer;
}
.cart-badge {
  margin-left: 6px; background: #0a0a0a; color: #D4FF00;
  border-radius: 50%; width: 15px; height: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 700;
}
.cart-badge:empty, .cart-badge[data-zero="true"] { display: none; }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(10,10,10,.5);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 300;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 92vw;
  background: #fff; z-index: 301;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.16,1,.3,1);
  box-shadow: -8px 0 32px rgba(0,0,0,.15);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px; border-bottom: 1px solid #eee;
}
.cart-head h3 {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
}
.cart-close {
  background: none; border: none; font-size: 20px; cursor: pointer; line-height: 1;
  color: #0a0a0a; font-family: 'Syne', sans-serif;
}
.cart-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty {
  padding: 40px 0; text-align: center; color: #999;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.cart-item img { width: 56px; height: 72px; object-fit: cover; flex-shrink: 0; background: #f4f4f4; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 16px; }
.cart-item-cat { font-size: 8px; letter-spacing: .12em; color: #999; text-transform: uppercase; margin-top: 2px; }
.cart-item-qty { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-item-qty button {
  width: 22px; height: 22px; border: 1px solid #ddd; background: #fff; cursor: pointer;
  font-size: 12px; line-height: 1; font-family: 'Syne', sans-serif;
}
.cart-item-qty span { font-size: 11px; min-width: 12px; text-align: center; }
.cart-item-price { font-size: 11px; font-weight: 500; white-space: nowrap; }
.cart-item-remove {
  background: none; border: none; color: #bbb; font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; margin-top: 8px; padding: 0;
}
.cart-item-remove:hover { color: #0a0a0a; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid #eee; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.cart-total-row strong { font-size: 14px; letter-spacing: 0; text-transform: none; }
.cart-checkout {
  width: 100%; background: #0a0a0a; color: #fff; border: none;
  padding: 15px; font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer;
}
.cart-checkout:disabled { opacity: .5; cursor: default; }
.cart-checkout:not(:disabled):hover { background: #D4FF00; color: #0a0a0a; }

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a; color: #fff;
  display: grid; grid-template-columns: 2fr 1fr;
  padding: 56px 40px 28px; gap: 40px;
  border-top: 1.5px solid #D4FF00;
}
.f-lock {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 36px; letter-spacing: -.02em; color: #fff;
  margin-bottom: 12px;
}
.f-lock em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; color: #C8200C; }
.f-tm { font-size: 12px; font-weight: 400; letter-spacing: 0; color: rgba(255,255,255,.5); margin-left: 4px; vertical-align: super; }
.f-tag { font-size: 11px; line-height: 1.8; color: rgba(255,255,255,.6); font-style: italic; font-family: 'Instrument Serif', serif; }
.fc-h { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.fc-ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.fc-ul a { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 16px; color: rgba(255,255,255,.85); transition: color .2s; }
.fc-ul a:hover { color: #D4FF00; }
.fbar { background: #0a0a0a; padding: 14px 40px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; }
.fbar span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ===== SCROLL REVEAL ===== */
.rv { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s ease; }
.rl { opacity: 0; transform: translateX(-28px); transition: opacity .9s ease, transform .9s ease; }
.rr { opacity: 0; transform: translateX(28px); transition: opacity .9s ease, transform .9s ease; }
.rv.on, .rl.on, .rr.on { opacity: 1; transform: none; }

/* ===== SHARED RESPONSIVE ===== */
@media (max-width: 1000px) {
  footer { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 420px) {
  header { padding: 0 16px; }
  .h-logo { font-size: 13px; }
  .h-logo em { font-size: 15px; }
  .h-right { gap: 12px; }
  .h-right a { font-size: 9px; letter-spacing: .1em; }
}
