/*
Theme Name: Brandi Kits
Theme URI: https://brandiwilsonbeauty.store/kits
Author: OpenAI Codex
Description: Editorial WordPress theme for Brandi's Amazon-backed kit hub.
Version: 0.3.0
*/

:root {
  --bk-bg: #f6efe7;
  --bk-surface: #fff9f2;
  --bk-card: #ffffff;
  --bk-ink: #2f241f;
  --bk-muted: #6d5b50;
  --bk-accent: #9f5130;
  --bk-accent-soft: #f1d6c4;
  --bk-accent-deep: #6f3319;
  --bk-border: #e7d8cb;
  --bk-shadow: 0 26px 70px rgba(73, 38, 18, 0.08);
  --bk-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --bk-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
}

body {
  margin: 0;
  color: var(--bk-ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(180deg, #fbf6f1 0%, var(--bk-bg) 100%);
  font-family: var(--bk-sans);
  line-height: 1.65;
}

a {
  color: var(--bk-accent);
}

.bk-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.bk-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(246, 239, 231, 0.86);
  border-bottom: 1px solid rgba(159, 81, 48, 0.12);
}

.bk-topbar__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.bk-brand {
  font-family: var(--bk-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bk-ink);
  text-decoration: none;
}

.bk-nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.bk-nav a {
  color: var(--bk-muted);
  text-decoration: none;
  font-weight: 600;
}

.bk-hero,
.bk-kit-hero {
  padding: 56px 0 38px;
}

.bk-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.bk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bk-accent-soft);
  color: var(--bk-accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bk-hero h1,
.bk-kit-hero h1,
.bk-section__heading h2,
.bk-card h3,
.bk-category-card h3,
.bk-start-here h2,
.bk-kit-item h2 {
  font-family: var(--bk-serif);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.bk-hero h1,
.bk-kit-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.bk-section__heading h2,
.bk-start-here h2 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.bk-hero p,
.bk-kit-hero p,
.bk-copy,
.bk-section__heading p,
.bk-category-card p,
.bk-card p,
.bk-start-here p {
  color: var(--bk-muted);
}

.bk-hero__subcopy {
  margin-top: -4px;
}

.bk-hero__aside,
.bk-stat-card,
.bk-note-block,
.bk-step-card,
.bk-category-card,
.bk-card,
.bk-kit-item {
  border-radius: 24px;
  background: var(--bk-card);
  border: 1px solid var(--bk-border);
  box-shadow: var(--bk-shadow);
}

.bk-stat-card,
.bk-note-block,
.bk-step-card,
.bk-category-card,
.bk-card,
.bk-kit-item {
  padding: 22px;
}

.bk-disclosure {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--bk-accent);
  background: rgba(255, 255, 255, 0.78);
  color: var(--bk-muted);
  border-radius: 16px;
}

.bk-cta-row,
.bk-card__footer,
.bk-kit-summary-grid,
.bk-kit-item__details,
.bk-chip-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bk-cta-row {
  margin-top: 24px;
}

.bk-cta-row--hero {
  margin-bottom: 22px;
}

.bk-card__cta,
.bk-affiliate-link,
.bk-ghost-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.bk-card__cta,
.bk-affiliate-link {
  border: 0;
  background: var(--bk-accent);
  color: #fff;
}

.bk-ghost-cta {
  border: 1px solid var(--bk-border);
  color: var(--bk-accent-deep);
  background: rgba(255, 255, 255, 0.82);
}

.bk-card__cta:hover,
.bk-affiliate-link:hover,
.bk-ghost-cta:hover,
.bk-inline-link:hover {
  filter: brightness(0.97);
}

.bk-start-here {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.bk-start-here__steps {
  display: grid;
  gap: 18px;
}

.bk-step-card strong,
.bk-stat-card strong,
.bk-note-block strong {
  display: block;
  margin-bottom: 8px;
}

.bk-section {
  padding-bottom: 54px;
}

.bk-section__heading {
  margin-bottom: 24px;
}

.bk-category-grid,
.bk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.bk-category-card h3,
.bk-card h3 {
  margin: 12px 0 10px;
  font-size: 1.55rem;
}

.bk-inline-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
}

.bk-card__meta,
.bk-kit-meta,
.bk-kit-item__details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bk-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--bk-border);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--bk-muted);
  background: var(--bk-surface);
  text-decoration: none;
}

.bk-pill--link:hover {
  background: var(--bk-accent-soft);
}

.bk-card__footer {
  margin-top: 18px;
}

.bk-kit-hero--category {
  padding-bottom: 24px;
}

.bk-kit-summary-grid {
  margin-bottom: 24px;
}

.bk-copy {
  max-width: 760px;
  font-size: 1.03rem;
}

.bk-copy p:first-child {
  margin-top: 0;
}

.bk-kit-items {
  display: grid;
  gap: 20px;
  padding-bottom: 54px;
}

.bk-kit-item__header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: start;
  justify-content: space-between;
}

.bk-kit-item h2 {
  margin: 8px 0;
  font-size: 1.45rem;
}

.bk-step {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bk-accent);
  font-weight: 700;
}

.bk-brandline {
  color: var(--bk-muted);
  font-size: 0.95rem;
}

.bk-note-block {
  margin-top: 16px;
  background: var(--bk-surface);
}

.bk-paid-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
}

.bk-chip-row {
  padding-bottom: 28px;
}

.bk-footer {
  padding: 32px 0 56px;
  color: var(--bk-muted);
}

@media (max-width: 920px) {
  .bk-hero,
  .bk-start-here {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .bk-topbar__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .bk-kit-item__header {
    flex-direction: column;
  }

  .bk-card__footer,
  .bk-cta-row,
  .bk-kit-summary-grid {
    flex-direction: column;
  }
}
