/* ECLIPSELUCIS — Calle de Larache style: minimal monochrome, pill buttons, Freeman + Montserrat */
:root {
  --ink: #363636;
  --neutral: #1f2937;
  --black: #000;
  --white: #fff;
  --bg-soft: #f2f2f2;
  --pill: #e5e5e5;
  --border: #e5e5e5;
  --muted: #6b7280;
  --radius: 8px;
  --max: 1256px;
  --font-display: 'Freeman', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Announcement marquee */
.announce { background: var(--black); color: var(--white); overflow: hidden; padding: 8px 0; }
.announce-track {
  display: flex; gap: 28px; width: max-content;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  animation: marquee 28s linear infinite;
}
.announce-track .dot { color: #888; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--border), 0 8px 24px rgba(0,0,0,.06); }
.header-row {
  max-width: var(--max); margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }
.brand-word {
  font-family: var(--font-display); font-size: 21px; line-height: 1;
  letter-spacing: .02em; color: var(--black); white-space: nowrap;
}
@media (max-width: 420px) {
  .brand-word { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
}
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--black);
}
.cart-btn:hover { background: var(--bg-soft); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--black); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.cart-count[hidden] { display: none; }

.main-nav {
  max-width: var(--max); margin: 0 auto; padding: 0 16px 10px;
  display: flex; gap: 4px; justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }
.nav-link {
  flex: 0 0 auto; text-decoration: none;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding: 8px 14px; border-radius: 999px;
}
.nav-link:hover { background: var(--bg-soft); }
.nav-link.active { background: var(--pill); color: var(--black); }

/* Hero */
.hero { position: relative; height: 82vh; min-height: 520px; overflow: hidden; background: var(--black); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), transparent 45%);
  pointer-events: none;
}
.hero-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 9vh;
}

/* Buttons — always pill, Calle style */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 14px 30px;
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-outline { background: var(--white); color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-hero {
  background: rgba(255,255,255,.12); color: var(--white);
  border-color: rgba(255,255,255,.9); backdrop-filter: blur(4px);
}
.btn-hero:hover { background: var(--white); color: var(--black); }
.btn-block { width: 100%; }

/* Sections */
.section { padding: 56px 0; }
.section-head { margin-bottom: 24px; }
.section-title { font-size: 30px; margin: 0; color: var(--black); text-transform: uppercase; }
.section-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* Toolbar: filter + sort */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between; margin-bottom: 24px;
}
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink);
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--black); border-color: var(--black); color: var(--white); }
.sort-wrap select {
  appearance: none; border: 1px solid var(--border); border-radius: 999px;
  background: var(--white); padding: 9px 34px 9px 16px;
  font-family: inherit; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23363636' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}

/* Product grid */
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px 14px;
}
.product-card { cursor: pointer; }
.product-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.product-media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-media img { transform: scale(1.04); }
.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--black); color: var(--white);
  font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 4px;
}
.quick-add {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--white); color: var(--black);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.quick-add:hover { background: var(--black); color: var(--white); }
.product-info { padding-top: 12px; }
.product-name { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 0; color: var(--black); }
.product-cat { font-size: 11px; color: var(--muted); margin: 2px 0 0; text-transform: uppercase; letter-spacing: .08em; }
.product-price { font-size: 14px; font-weight: 700; margin: 6px 0 0; color: var(--black); }
.empty-products { text-align: center; color: var(--muted); padding: 48px 0; }

/* NOX x LUX feature */
.feature {
  position: relative; min-height: 78vh;
  display: flex; align-items: flex-end;
  overflow: hidden; background: var(--black); color: var(--white);
}
.feature-media { position: absolute; inset: 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.15) 55%, transparent 75%);
  pointer-events: none;
}
.feature-content { position: relative; z-index: 2; padding: 40px 20px 48px; max-width: var(--max); width: 100%; margin: 0 auto; }
.feature-kicker { font-size: 11px; font-weight: 800; letter-spacing: .2em; margin: 0 0 10px; }
.feature-title { font-size: 38px; line-height: 1.05; margin: 0 0 12px; text-transform: uppercase; }
.feature-text { margin: 0 0 22px; font-size: 14px; max-width: 440px; opacity: .9; }
.feature .btn-dark { background: var(--white); color: var(--black); }
.feature .btn-dark:hover { background: var(--pill); }

/* Lookbook */
.lookbook-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.lookbook-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* About */
.about { background: var(--bg-soft); }
.about-grid { display: grid; gap: 28px; }
.about-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; }
.about-copy p { font-size: 15px; }
.tiktok-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-weight: 800; font-size: 14px; color: var(--black); text-decoration: none;
  border: 1.5px solid var(--black); border-radius: 999px; padding: 11px 20px;
}
.tiktok-link:hover { background: var(--black); color: var(--white); }
.march-banner { margin-top: 36px; }
.march-banner img { width: 100%; border-radius: var(--radius); }
.march-caption { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; color: var(--black); }
.footer-brand img { border-radius: 6px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-copy { margin: 0; font-size: 12px; color: var(--muted); }

/* Floating WA button (CTA WA #1) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  transition: transform .2s ease;
  animation: wa-pop .5s ease .8s both;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* Overlays, cart drawer, modal */
.overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(0,0,0,.5);
}
.overlay[hidden] { display: none; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
  width: min(420px, 92vw); background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .3s ease;
  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: 18px 20px; border-bottom: 1px solid var(--border);
}
.cart-head h2 { margin: 0; font-size: 22px; color: var(--black); }
.icon-btn {
  background: none; border: none; font-size: 18px; line-height: 1;
  width: 36px; height: 36px; border-radius: 50%; color: var(--ink);
}
.icon-btn:hover { background: var(--bg-soft); }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-empty { text-align: center; padding: 64px 16px; color: var(--muted); }
.cart-empty p { margin: 0 0 6px; }
.cart-empty strong { color: var(--black); font-size: 16px; }
.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 72px; height: 96px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 12px; font-weight: 800; text-transform: uppercase; margin: 0; color: var(--black); }
.cart-item-meta { font-size: 12px; color: var(--muted); margin: 2px 0 8px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--black); }
.qty-mini { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 999px; }
.qty-mini button { width: 28px; height: 28px; border: none; background: none; font-size: 16px; }
.qty-mini span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-remove { background: none; border: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 4px 0; }
.cart-foot { padding: 18px 20px 22px; border-top: 1px solid var(--border); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 14px; }
.cart-total strong { font-size: 18px; color: var(--black); }
.cart-note { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.cart-foot .btn + .btn { margin-top: 10px; }

.product-modal {
  position: fixed; z-index: 80; left: 50%; top: 50%;
  width: min(920px, 94vw); max-height: 92vh; overflow-y: auto;
  transform: translate(-50%, -46%); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  background: var(--white); border-radius: 12px;
  display: grid;
}
.product-modal.open { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 3; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.modal-media { position: relative; background: var(--bg-soft); }
.modal-media img { width: 100%; aspect-ratio: 4 / 3; max-height: 38vh; object-fit: cover; object-position: center 20%; }
.modal-info { padding: 24px 20px 28px; }
.modal-info h2 { margin: 0; font-size: 26px; color: var(--black); text-transform: uppercase; }
.modal-cat { margin: 4px 0 0; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.modal-price { font-size: 20px; font-weight: 800; color: var(--black); margin: 12px 0; }
.modal-desc { font-size: 14px; margin: 0 0 20px; }
.modal-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; }
.size-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.size-chip {
  min-width: 52px; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--white);
  font-size: 14px; font-weight: 700; color: var(--ink);
}
.size-chip:hover { border-color: var(--ink); }
.size-chip.active { background: var(--black); border-color: var(--black); color: var(--white); }
.qty-stepper {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--border); border-radius: 999px; margin-bottom: 20px;
}
.qty-stepper button { width: 40px; height: 40px; border: none; background: none; font-size: 20px; }
.qty-stepper span { min-width: 28px; text-align: center; font-weight: 800; }
.modal-note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 90;
  transform: translateX(-50%);
  background: var(--black); color: var(--white);
  font-size: 13px; font-weight: 700; padding: 12px 20px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); white-space: nowrap;
}
.toast[hidden] { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Desktop */
@media (min-width: 768px) {
  .main-nav { justify-content: center; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
  .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1.2fr; align-items: center; }
  .product-modal { grid-template-columns: 1fr 1fr; }
  .modal-media img { height: 100%; aspect-ratio: auto; max-height: none; object-position: center; }
  .feature-title { font-size: 56px; }
  .section-title { font-size: 36px; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .hero { height: 88vh; }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
  html { scroll-behavior: auto; }
}
