/* CAVILAND Website — Shared Styles
   All tokens inlined; no external @import dependencies */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ── Tokens ─────────────────────────────────────── */
:root {
  --black:       #0A0A0A;
  --rich-black:  #111111;
  --deep-black:  #1A1A1A;
  --off-black:   #222222;
  --cream:       #F5F0E8;
  --grey-400:    #AAAAAA;
  --grey-500:    #888888;
  --gold-200:    #F2DA7A;
  --gold-300:    #E8C55A;
  --gold-400:    #D4AF37;
  --gold-500:    #C9963A;
  --gold-600:    #A87820;
  --gold-metallic: linear-gradient(90deg,#5A3A08 0%,#9A6E1A 10%,#D4AF37 25%,#F5E590 38%,#FAEEA0 50%,#F5E590 62%,#D4AF37 75%,#9A6E1A 90%,#5A3A08 100%);
  --gold-soft:   linear-gradient(135deg,#C9963A 0%,#E8C55A 40%,#F5E590 50%,#E8C55A 60%,#C9963A 100%);
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-script:  'Great Vibes', cursive;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-full: 9999px;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes toastIn  { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes slideRight { from { transform:translateX(100%); } to { transform:translateX(0); } }
@keyframes goldPulse { 0%,100% { opacity:.75; } 50% { opacity:1; } }

/* ── Gold Text ───────────────────────────────────── */
.gold-text {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gold Divider ────────────────────────────────── */
.gold-divider {
  height: 2px;
  width: 56px;
  background: linear-gradient(90deg,#C9963A,#E8C55A,#C9963A);
  flex-shrink: 0;
}

/* ── Eyebrow ─────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.55);
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  border-radius: var(--radius-sm);
}
.btn-primary {
  background: linear-gradient(90deg,#C9963A 0%,#E8C55A 35%,#F5E590 50%,#E8C55A 65%,#C9963A 100%);
  color: #0A0A0A;
}
.btn-primary:hover { transform:translateY(-1px); box-shadow:0 4px 20px rgba(212,175,55,0.38); filter:brightness(1.05); }
.btn-primary:active { transform:scale(0.97); }
.btn-ghost {
  background: transparent;
  color: #E8C55A;
  border: 1px solid rgba(212,175,55,0.55);
}
.btn-ghost:hover { background:rgba(212,175,55,0.07); transform:translateY(-1px); }
.btn-ghost:active { transform:scale(0.97); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.3);
}
.btn-outline:hover { border-color:rgba(245,240,232,0.55); background:rgba(245,240,232,0.04); }
.btn-lg { font-size:0.875rem; padding:0.85rem 2.25rem; }
.btn-sm { font-size:0.75rem; padding:0.55rem 1.2rem; letter-spacing:0.14em; }
.btn:disabled { opacity:0.35; cursor:not-allowed; transform:none !important; }

/* ── Navigation ──────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 96px;
  background: rgba(10,10,10,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212,175,55,0.14);
  display: flex;
  align-items: center;
  padding: 0 48px;
}
.site-header__logo { flex-shrink: 0; }
.site-header__logo img { height: 44px; width: auto; max-width: none; filter: drop-shadow(0 2px 12px rgba(212,175,55,0.18)); transition: filter var(--transition-base); }
.site-header__logo:hover img { filter: drop-shadow(0 2px 20px rgba(212,175,55,0.42)); }
.site-header__right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 32px;
}
.site-header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-header__nav a {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.48);
  line-height: 96px;
  display: block;
  border-bottom: 1px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.site-header__nav a:hover,
.site-header__nav a.active {
  color: #D4AF37;
  border-bottom-color: rgba(212,175,55,0.5);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
  color: rgba(245,240,232,0.55);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  transition: color var(--transition-fast);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
}
.cart-btn:hover { color: #D4AF37; }
.cart-count {
  background: linear-gradient(135deg,#C9963A,#E8C55A);
  color: #0A0A0A;
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

/* ── Page Header ─────────────────────────────────── */
.page-header {
  padding: 128px 80px 64px;
  background: #0D0D0D;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  position: relative;
  overflow: hidden;
}
.page-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 600ms ease both;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem,5vw,4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── Section utilities ───────────────────────────── */
.section { padding: 96px 80px; }
.section--dark    { background: #0A0A0A; }
.section--surface { background: #111111; }
.section--mid     { background: #0D0D0D; }
.container { max-width: 1200px; margin: 0 auto; }
.section__header { display:flex; flex-direction:column; gap:14px; margin-bottom:52px; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,2.5vw,2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ── Form elements ───────────────────────────────── */
.form-label {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.5);
  display: block;
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--cream);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.22);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color var(--transition-base), background var(--transition-base);
  border-radius: var(--radius-sm);
}
.form-input::placeholder { color:rgba(245,240,232,0.22); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; }
.form-input:focus { border-color:rgba(212,175,55,0.5); background:rgba(212,175,55,0.03); }
textarea.form-input { resize:vertical; min-height:120px; }

/* ── Toast ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 600;
  background: #1A1A1A;
  border: 1px solid rgba(212,175,55,0.45);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.8);
  border-radius: var(--radius-sm);
  animation: toastIn 280ms cubic-bezier(0.34,1.56,0.64,1) both;
}
.toast__dot { width:7px; height:7px; border-radius:50%; flex-shrink:0; background:linear-gradient(135deg,#C9963A,#E8C55A); }
.toast__text { font-family:var(--font-sans); font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--cream); }

/* ── Age Gate ────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0;
  z-index: 1000;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 400ms ease both;
}
.age-gate.hidden { display: none; }
.age-gate__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 460px;
  padding: 0 40px;
}
.age-gate__logo {
  width: 110px;
  margin-bottom: 40px;
  filter: drop-shadow(0 8px 32px rgba(212,175,55,0.22));
}
.age-gate__rule {
  width: 40px; height: 1px;
  background: rgba(212,175,55,0.25);
  margin-bottom: 32px;
}
.age-gate__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}
.age-gate__subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  margin-bottom: 40px;
}
.age-gate__actions { display:flex; gap:16px; margin-bottom:32px; }
.age-gate__legal {
  font-family: var(--font-sans);
  font-size: 10px;
  line-height: 1.7;
  color: rgba(245,240,232,0.18);
  max-width: 360px;
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: #0A0A0A;
  border-top: 1px solid rgba(212,175,55,0.12);
  padding: 56px 80px 32px;
}
.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.site-footer__logo img { height: 38px; width: auto; max-width: none; margin-bottom: 18px; filter: drop-shadow(0 2px 16px rgba(212,175,55,0.22)); }
.site-footer__tagline { font-family:var(--font-sans); font-size:10px; letter-spacing:0.16em; text-transform:uppercase; color:rgba(245,240,232,0.22); }
.site-footer__col-title { font-family:var(--font-display); font-size:9px; letter-spacing:0.26em; text-transform:uppercase; color:rgba(212,175,55,0.4); margin-bottom:18px; }
.site-footer__links { display:flex; flex-direction:column; gap:12px; }
.site-footer__links a { font-family:var(--font-sans); font-size:12px; color:rgba(245,240,232,0.32); letter-spacing:0.06em; transition:color var(--transition-fast); }
.site-footer__links a:hover { color:rgba(212,175,55,0.7); }
.site-footer__legal { font-family:var(--font-sans); font-size:11px; line-height:1.75; color:rgba(245,240,232,0.2); }
.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(212,175,55,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer__copy { font-family:var(--font-sans); font-size:9px; letter-spacing:0.12em; color:rgba(245,240,232,0.16); text-transform:uppercase; }

/* ── Mobile Navigation ───────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  color: rgba(245,240,232,0.65);
  margin-left: auto;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease, opacity 180ms ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.14);
  z-index: 199;
  flex-direction: column;
  animation: fadeIn 150ms ease both;
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.5);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(212,175,55,0.07);
  transition: color 150ms, background 150ms;
  display: block;
}
.nav-mobile-drawer a.active { color: #D4AF37; }
.nav-mobile-drawer a:last-of-type { border-bottom: none; }
.nav-mobile-drawer__cta {
  padding: 16px 24px 22px;
}
.nav-mobile-drawer__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ── Responsive breakpoints ──────────────────────── */
@media (max-width: 900px) {
  .site-header { padding: 0 32px; }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
    padding: 0 20px;
  }
  .site-header__logo img { height: 36px; }
  .site-header__right { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-drawer { top: 70px; }

  .site-footer { padding: 44px 24px 24px; }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer__logo img { height: 26px; margin-bottom: 12px; }
  .site-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section { padding: 56px 24px; }
  .page-header { padding: 110px 24px 48px; }

  /* Age gate — flexible container + stacks buttons on small screens */
  .age-gate {
    padding: 24px 16px;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999 !important;
  }
  .age-gate__inner {
    width: 100%;
    max-width: 400px;
    padding: 0 12px !important;
  }
  .age-gate__logo {
    width: 80px !important;
    margin-bottom: 24px !important;
  }
  .age-gate__title {
    font-size: 1.25rem !important;
    line-height: 1.3;
  }
  .age-gate__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px !important;
  }
  .age-gate__actions .btn {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .site-header { height: 64px; padding: 0 16px; }
  .site-header__logo img { height: 30px; }
  .nav-mobile-drawer { top: 64px; }

  .site-footer { padding: 40px 16px 20px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__logo img { height: 22px; margin-bottom: 10px; }
  .site-footer__bottom { flex-direction: column; gap: 6px; text-align: center; }

  .section { padding: 48px 16px; }
  .btn-lg { padding: 0.8rem 1.8rem; font-size: 0.8rem; }
}

/* ── Badge / Tag ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.28em 0.72em;
  border-radius: var(--radius-full);
  white-space: nowrap;
  line-height: 1;
}
.badge--gold   { background:#D4AF37; color:#0A0A0A; }
.badge--new    { background:linear-gradient(90deg,#C9963A,#F5E590,#C9963A); color:#0A0A0A; }
.badge--dark   { background:transparent; color:var(--cream); border:1px solid rgba(245,240,232,0.28); }
.badge--coming { background:transparent; color:rgba(212,175,55,0.55); border:1px solid rgba(212,175,55,0.25); }
