/* ── IMMORTAL MEDS — Shared Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #00b4d8;
  --blue-dark: #0096b5;
  --blue-glow: rgba(0,180,216,0.14);
  --black: #000;
  --dark: #080808;
  --dark-2: #101010;
  --dark-3: #181818;
  --white: #fff;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 68px;
  background: rgba(0,0,0,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; mix-blend-mode: screen; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-right { display: flex; gap: 12px; align-items: center; }

.nav-cart-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cart-btn:hover { border-color: var(--blue); color: var(--blue); }

.cart-count {
  background: var(--blue);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CART DRAWER ── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 400px;
  background: var(--dark-2);
  border-left: 1px solid rgba(255,255,255,0.07);
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.cart-close {
  background: none; border: none;
  color: rgba(255,255,255,0.4); font-size: 24px;
  cursor: pointer; line-height: 1; padding: 4px;
  transition: color 0.2s;
}
.cart-close:hover { color: var(--white); }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty { text-align: center; padding: 60px 20px; color: rgba(255,255,255,0.2); font-size: 14px; }

.cart-item {
  display: flex; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cart-item-img {
  width: 60px; height: 60px; border-radius: 10px;
  background: var(--dark-3); flex-shrink: 0;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.cart-item-price { font-size: 13px; color: var(--blue); font-weight: 700; }
.cart-item-remove {
  background: none; border: none;
  color: rgba(255,255,255,0.2); cursor: pointer;
  font-size: 18px; padding: 4px; transition: color 0.2s;
}
.cart-item-remove:hover { color: #ff4444; }

.cart-footer { padding: 24px 28px; border-top: 1px solid rgba(255,255,255,0.07); }
.cart-subtotal {
  display: flex; justify-content: space-between;
  font-size: 15px; font-weight: 700; margin-bottom: 16px;
}
.cart-subtotal span:last-child { color: var(--blue); }

.btn-checkout {
  width: 100%; background: var(--blue);
  color: var(--black); border: none;
  padding: 16px; border-radius: 12px;
  font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background 0.2s;
}
.btn-checkout:hover { background: var(--blue-dark); }
.btn-checkout:disabled {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.25); cursor: not-allowed;
}
.cart-note { font-size: 11px; color: rgba(255,255,255,0.2); text-align: center; margin-top: 12px; }

/* ── INQUIRY MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  color: rgba(255,255,255,0.3); font-size: 28px;
  cursor: pointer; line-height: 1; transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }

.modal h2 { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.modal-sub { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 32px; }

.form-row { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: rgba(0,180,216,0.5);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-select option { background: #111; color: white; }
.form-textarea { resize: vertical; min-height: 100px; }

.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-submit {
  width: 100%; background: var(--blue); color: var(--black);
  border: none; padding: 16px;
  border-radius: 100px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: background 0.2s; margin-top: 8px;
}
.btn-submit:hover { background: var(--blue-dark); }

.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success-icon { font-size: 48px; margin-bottom: 16px; }
.form-success h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.form-success p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; }

@media (max-width: 600px) {
  .modal { padding: 32px 24px; }
  .form-two-col { grid-template-columns: 1fr; }
}

/* ── AGE GATE ── */
.age-gate {
  position: fixed; inset: 0;
  background: #000; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 40px;
}
.age-gate-logo { margin-bottom: 48px; }
.age-gate h2 { font-size: 32px; font-weight: 800; margin-bottom: 10px; }
.age-gate p { font-size: 15px; color: rgba(255,255,255,0.45); margin-bottom: 40px; max-width: 360px; line-height: 1.6; }
.age-btns { display: flex; gap: 14px; }
.age-yes {
  background: var(--blue); color: var(--black); border: none;
  padding: 15px 44px; border-radius: 100px;
  font-size: 15px; font-weight: 800; cursor: pointer; transition: background 0.2s;
}
.age-yes:hover { background: var(--blue-dark); }
.age-no {
  background: transparent; color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 15px 44px; border-radius: 100px; font-size: 15px; cursor: pointer;
}

/* ── SHARED BUTTONS ── */
.btn-primary {
  background: var(--blue); color: var(--black);
  padding: 14px 34px; border-radius: 100px;
  font-size: 14px; font-weight: 800;
  text-decoration: none; letter-spacing: 0.5px;
  transition: all 0.2s; display: inline-block;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-outline {
  color: var(--white); padding: 14px 34px; border-radius: 100px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all 0.2s; display: inline-block;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 80px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,180,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .eyebrow {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.page-header .eyebrow::before, .page-header .eyebrow::after {
  content: ''; display: block; width: 24px; height: 1px; background: var(--blue);
}
.page-header h1 {
  font-size: clamp(40px, 5vw, 72px); font-weight: 900;
  line-height: 1; letter-spacing: -2px; margin-bottom: 20px;
}
.page-header h1 em { font-style: normal; color: var(--blue); }
.page-header p {
  font-size: 17px; color: rgba(255,255,255,0.5);
  max-width: 520px; margin: 0 auto; line-height: 1.75;
}

/* ── EYEBROW ── */
.eyebrow {
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--blue); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before, .section-header .eyebrow::after {
  content: ''; display: block; width: 24px; height: 1px; background: var(--blue);
}
.section-header h2 {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  line-height: 1.05; letter-spacing: -1px;
}

/* ── FOOTER ── */
footer {
  background: #030303;
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 72px 80px 44px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.28); line-height: 1.8; max-width: 260px; margin-top: 16px; }
.footer-col h4 { font-size: 9px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
.footer-col a, .footer-col p {
  display: block; font-size: 13px;
  color: rgba(255,255,255,0.38); text-decoration: none;
  margin-bottom: 10px; line-height: 1.5; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 32px; display: flex;
  justify-content: space-between; align-items: flex-start; gap: 32px;
}
.footer-disclaimer { font-size: 10px; color: rgba(255,255,255,0.15); line-height: 1.75; max-width: 660px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.15); white-space: nowrap; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .page-header { padding: 110px 24px 60px; }
  footer { padding: 56px 24px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
