/* ── Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

/* ── Scroll animations ───────────────────────────────────────── */
.anim {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity  .7s cubic-bezier(.16,1,.3,1),
    transform .7s cubic-bezier(.16,1,.3,1),
    filter   .7s cubic-bezier(.16,1,.3,1);
}
.anim.show { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay:   0ms; }
.d2 { transition-delay:  80ms; }
.d3 { transition-delay: 160ms; }
.d4 { transition-delay: 240ms; }
.d5 { transition-delay: 320ms; }
.d6 { transition-delay: 400ms; }

/* ── Double-bezel card ───────────────────────────────────────── */
.bezel {
  background: #fff;
  border-radius: 1.5rem;
  padding: 5px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.07), 0 8px 32px rgba(0,0,0,.07);
}
.bezel-inner {
  border-radius: 1.2rem;
  height: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(0,0,0,.04);
}

/* ── Eyebrow tag ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  padding: .375rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav-btn {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: #52525b;
  border-radius: .75rem;
  transition: all .3s cubic-bezier(.16,1,.3,1);
}
.nav-btn:hover { color: #a21a16; background: #fafafa; }
.nav-btn.active { color: #a21a16; }

/* JS controls open/close — CSS hover removed to prevent gap issue */
.has-dropdown .dropdown { display: none; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .2s cubic-bezier(.16,1,.3,1), transform .2s cubic-bezier(.16,1,.3,1); }
.has-dropdown .dropdown.open { display: block; pointer-events: auto; opacity: 1; transform: translateY(0); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  /* padding-top bridges the 8px visual gap — no real gap for mouse */
  padding-top: .5rem;
  width: 13rem;
  z-index: 60;
}
/* The visible dropdown panel sits inside a pseudo-padded wrapper */
.dropdown-panel {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.06);
  padding: .5rem;
}
.dd-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1rem;
  font-size: .875rem;
  color: #52525b;
  border-radius: .75rem;
  transition: all .25s cubic-bezier(.16,1,.3,1);
  text-decoration: none;
}
.dd-item:hover { color: #a21a16; background: rgba(162,26,22,.05); }

.dd-label {
  padding: .375rem 1rem .25rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.dot {
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  flex-shrink: 0;
}

/* ── Mobile drawer ───────────────────────────────────────────── */
#drawer {
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
#drawer.open { transform: translateX(0); }

.mob-sec-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
  font-weight: 600;
  color: #1c1c1e;
  transition: background .2s;
}
.mob-sec-btn:hover { background: #fafafa; }

.mob-arrow { transition: transform .3s cubic-bezier(.16,1,.3,1); }

/* ── Product card hover ──────────────────────────────────────── */
.pcard { transition: all .45s cubic-bezier(.16,1,.3,1); }
.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(162,26,22,.12);
}

/* ── Footer helpers ──────────────────────────────────────────── */
.footer-heading {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #d4d4d8;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.footer-links a {
  font-size: .875rem;
  color: #71717a;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }

/* ── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: #a21a16; border-radius: 2px; }

/* ── Universal interactive easing ───────────────────────────── */
a, button { transition: all .35s cubic-bezier(.16,1,.3,1); }

/* ── Page inner hero padding ─────────────────────────────────── */
.page-hero { padding-top: 4rem; }
@media (min-width: 1024px) { .page-hero { padding-top: 5rem; } }
