/*
 * Nicotinos brand chrome (all pages): announcement bar, wordmark, primary navigation accents,
 * footer layout and the isolated newsletter placeholder.
 * Presentation only. Loaded after style.css and extra.css.
 */

:root {
  --nic-ink: #0b0b0c;
  --nic-ink-soft: #1c1c1f;
  --nic-accent: #e6007e;
  --nic-sale: #e11d2e;
}

/* ── Announcement bar ───────────────────────────────────────────────────── */
.topbar {
  background: var(--nic-ink);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.topbar-inner { gap: 32px; }
.topbar-msg { opacity: .92; }
.topbar-msg--age { font-weight: 600; letter-spacing: .01em; }

/* ── Logo (theme-bundled Shopify asset; wordmark remains fallback) ── */
.site-logo a.site-logo__link {
  display: flex;
  align-items: center;
  line-height: 0;
  gap: 0;
}
.site-logo .site-logo__img {
  display: block;
  height: 45px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}
.site-logo a.site-logo__wordmark {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  color: var(--nic-ink);
  gap: 0;
}
.site-logo a.site-logo__wordmark::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 12px 0 0 3px;
  border-radius: 50%;
  background: var(--nic-accent);
  flex-shrink: 0;
}
.site-logo a.site-logo__wordmark:hover { color: var(--nic-ink-soft); }

/* ── Primary navigation ─────────────────────────────────────────────────── */
.cat-navbar { background: var(--nic-ink); }
.cat-navbar__sale > a,
.mobile-nav__sale > a { color: #ff6b76; font-weight: 700; }
.cat-navbar__sale > a:hover { color: #fff; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--nic-ink); }
.footer-grid.footer-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-col a { opacity: .82; }
.footer-col a:hover { opacity: 1; text-decoration: underline; }

/* ── Newsletter placeholder (isolated; disabled, no data capture) ───────── */
.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer-newsletter__text h4 {
  margin: 0 0 4px;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
}
.footer-newsletter__text p { margin: 0; font-size: .875rem; color: #c3c8d0; }
.footer-newsletter__form { display: flex; gap: 8px; flex: 1 1 320px; max-width: 460px; }
.footer-newsletter__form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font: inherit;
  cursor: not-allowed;
}
.footer-newsletter__form button {
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .14);
  color: #d5d9df;
  font-weight: 600;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .footer-grid.footer-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Keep the nicotine / age notice visible on small screens (style.css hides the whole bar). */
@media (max-width: 768px) {
  .topbar { display: block; }
  .topbar-inner { height: auto; min-height: 30px; padding: 6px 16px; }
  .topbar-msg { display: none; }
  .topbar-msg--age { display: flex; white-space: normal; text-align: center; font-size: .75rem; }
}
@media (max-width: 600px) {
  .site-logo .site-logo__img {
    height: 32px;
    max-width: min(148px, 38vw);
  }
  .site-logo a.site-logo__wordmark { font-size: 1.4rem; }
  .footer-grid.footer-grid--3 { grid-template-columns: 1fr; gap: 28px; }
  .footer-newsletter__form { max-width: none; width: 100%; }
}
