/*
 * BAUHAUS THEME for barberkosmetik
 * Two layers:
 *   1. Root tokens + base typography (replaces Filkorn defaults)
 *   2. .bk-* component styles for header, hero, categories, plus, buttons
 *
 * Loaded LAST in head.php so it wins over style.css / critical.css.
 */

/* ═══════════════════════════════════════════════════════════
   1. ROOT TOKENS + BASE
   ═══════════════════════════════════════════════════════════ */
:root {
  /* Spacing scale (mirrors React prototype --s-1..--s-12) */
  --s-1:  4px;  --s-2:  8px;  --s-3:  12px; --s-4:  16px;
  --s-5:  20px; --s-6:  24px; --s-7:  32px; --s-8:  40px;
  --s-9:  56px; --s-10: 72px; --s-11: 96px; --s-12: 128px;

  /* Radii (hard corners) */
  --r-xs:   0px;
  --r-sm:   2px;
  --r-md:   2px;
  --r-lg:   4px;
  --r-pill: 999px;
  --radius:      var(--r-sm);
  --radius-lg:   var(--r-lg);
  --radius-pill: var(--r-pill);

  /* Type scale */
  --fs-xs:   10.5px;
  --fs-sm:   12px;
  --fs-base: 15px;
  --fs-md:   17px;
  --fs-lg:   20px;
  --fs-xl:   28px;
  --fs-2xl:  40px;
  --fs-3xl:  60px;
  --fs-hero: clamp(48px, 7vw, 96px);

  /* Line-heights / tracking */
  --lh-tight: 1.1;
  --lh-snug:  1.2;
  --lh-base:  1.5;
  --lh-loose: 1.7;
  --tr-tight:   -0.02em;
  --tr-base:    -0.005em;
  --tr-mono:    0.06em;
  --tr-eyebrow: 0.14em;

  /* Easing */
  --ease:     cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Typography — Fraunces (display, serif), Inter (body), IBM Plex Mono */
  --ff-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --ff-body:    "Inter", -apple-system, system-ui, sans-serif;
  --ff-mono:    "IBM Plex Mono", "Geist Mono", ui-monospace, "SF Mono", monospace;
  --display-weight: 400;
  --display-case: none;
  --display-letter-spacing: -0.012em;

  /* Surfaces */
  --bg:      #fafafa;
  --bg-2:    #f1f1f1;
  --bg-card: #ffffff;
  --bg-elev: #ffffff;

  /* Ink (text) */
  --ink:    #0a0a0a;
  --ink-2:  #1f1f1f;
  --mute:   #5a5a5a;
  --mute-2: #9a9a9a;

  /* Brand */
  --brand:       #0a0a0a;
  --brand-hover: #1f1f1f;
  --brand-soft:  #ededed;

  /* Plus tier (black slab) */
  --plus:       #0a0a0a;
  --plus-hover: #1f1f1f;
  --plus-soft:  #ededed;

  /* Accent (red, used by Sale + eyebrow dots + accent emphasis) */
  --sale:        #e30613;
  --accent:      #e30613;
  --accent-on:   #ffffff;
  --accent-soft: #ffe6e8;

  /* Hairlines & overlays */
  --hairline:        rgba(10,10,10,0.10);
  --hairline-strong: rgba(10,10,10,0.32);
  --overlay:         rgba(10,10,10,0.65);

  /* Tints (used by product card placeholders) */
  --tint-1: #ededed;
  --tint-2: #d4d4d4;
  --tint-3: #a8a8a8;
  --tint-4: #5a5a5a;

  /* Semantic */
  --success: #1f7a47;
  --warning: #c97548;
  --error:   #e30613;

  /* Legacy aliases (kept so old .bk-* rules below still resolve) */
  --primary:        var(--ink);
  --primary-dark:   #000;
  --primary-light:  var(--bg);
  --accent-dark:    #b40510;
  --accent-light:   var(--accent-soft);
  --dark:           var(--ink);
  --charcoal:       var(--ink-2);
  --body:           var(--ink-2);
  --muted:          var(--mute);
  --muted-2:        var(--mute-2);
  --border:         var(--hairline);
  --border-strong:  var(--hairline-strong);
  --white:          #fff;
  --font-main:      var(--ff-body);
  --font-heading:   var(--ff-display);
  --font-mono:      var(--ff-mono);

  /* Container */
  --container: 1280px;

  color-scheme: light;
}

/* ── Utility classes (mirror React prototype) ──────────────────── */
.display {
  font-family: var(--ff-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-letter-spacing);
  text-transform: var(--display-case);
  font-style: normal;
}
.eyebrow {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.mono {
  font-family: var(--ff-mono);
  font-feature-settings: "tnum" 1, "kern" 1;
}
.num {
  font-family: var(--ff-mono);
  font-feature-settings: "tnum" 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-main);
  color: var(--body);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
em, i { font-style: normal; font-weight: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ═══════════════════════════════════════════════════════════
   2. TRUST BAR (.bk-trust-bar)
   ═══════════════════════════════════════════════════════════ */
.bk-trust-bar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}
.bk-trust-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 32px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bk-trust-chips {
  display: flex;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.bk-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}
.bk-trust-chip svg { color: var(--success); flex-shrink: 0; }
.bk-trust-links { display: flex; gap: 20px; flex-shrink: 0; }
.bk-trust-link {
  color: var(--muted);
  transition: color 0.15s ease;
}
.bk-trust-link:hover { color: var(--dark); }

@media (max-width: 900px) {
  .bk-trust-bar { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   3. MAIN HEADER (.site-header + .bk-header-inner)
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}
.site-header.shrink { box-shadow: 0 1px 8px rgba(10,10,10,0.06); }
.bk-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* Logo wordmark */
.bk-logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.04em;
  color: var(--dark);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.bk-logo-text { color: var(--dark); }
.bk-logo-dot { color: var(--accent); margin-left: 1px; }

/* Search bar */
.bk-search {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--dark);
  border-radius: var(--radius);
  height: 56px;
  padding: 0 6px 0 20px;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}
.bk-search-icon { color: var(--muted); flex-shrink: 0; }
.bk-search-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--dark);
  height: 100%;
}
.bk-search-input::placeholder { color: var(--muted); }
.bk-search-btn {
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  height: 44px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.bk-search-btn:hover { background: var(--charcoal); }
.bk-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(10,10,10,0.12);
  max-height: 480px;
  overflow-y: auto;
  z-index: 200;
}
.bk-search-state { padding: 16px 20px; color: var(--muted); font-size: 14px; }
.bk-search-item { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--border); transition: background 0.1s ease; }
.bk-search-item:hover { background: var(--bg-2); }
.bk-search-thumb { width: 48px; height: 48px; border-radius: var(--radius); background: var(--bg-2); flex-shrink: 0; object-fit: cover; }
.bk-search-body { flex: 1; }
.bk-search-name { font-weight: 600; font-size: 14px; color: var(--dark); }
.bk-search-price { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 2px; }
.bk-search-viewall { display: block; padding: 12px 20px; text-align: center; background: var(--bg-2); font-weight: 600; font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; }

/* Header actions (right side) */
.bk-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.bk-plus-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: #fff;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.bk-plus-pill:hover { background: var(--charcoal); color: #fff; }
.bk-plus-pill .bk-plus-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.bk-plus-pill .bk-plus-label { font-weight: 700; }
.bk-plus-pill .bk-plus-discount { font-weight: 700; opacity: 0.92; }

.bk-icon {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--charcoal);
  position: relative;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  min-width: 48px;
  padding: 4px;
  transition: color 0.15s ease;
}
.bk-icon:hover { color: var(--accent); }
.bk-icon svg { width: 20px; height: 20px; }
.bk-icon-label { display: block; }
/* SVG + badge wrapper — chrome.jsx UtilityIcon line 975 (position:relative around the icon).
   Anchoring the badge to .bk-icon-glyph instead of .bk-icon means the badge sits next to
   the SVG, not next to the label, which matches the prototype exactly. */
.bk-icon-glyph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.bk-icon-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}
/* Replaces the previous inline `style="display:none"` on #cartBadge.
   shop.js toggles .is-empty via classList rather than setting style.display. */
.bk-icon-badge.is-empty { visibility: hidden; }

/* Burger (mobile only) */
.bk-burger, .burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.bk-burger span, .burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════
   4. CATEGORY NAV (.bk-nav)
   ═══════════════════════════════════════════════════════════ */
.bk-nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.bk-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 56px;
}
.bk-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.bk-nav-link, .bk-nav-link--plain {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: -0.005em;
  cursor: pointer;
  background: none;
  border: 0;
  transition: color 0.15s ease;
}
.bk-nav-link:hover, .bk-nav-link--plain:hover { color: var(--accent); }
.bk-nav-arrow {
  font-size: 9px;
  margin-left: 2px;
  color: var(--muted);
  transition: transform 0.15s ease;
}
.bk-nav-item:hover .bk-nav-arrow { transform: rotate(180deg); }
.bk-nav-sale {
  margin-left: auto;
  color: var(--accent) !important;
  font-weight: 700;
}
.bk-nav-dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(10,10,10,0.10);
  padding: 12px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  z-index: 50;
}
.bk-nav-item:hover .bk-nav-dropdown,
.bk-nav-item:focus-within .bk-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.bk-nav-dropdown-inner { display: flex; flex-direction: column; gap: 2px; }
.bk-nav-dropdown-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: background 0.1s ease, color 0.1s ease;
}
.bk-nav-dropdown-link:hover { background: var(--bg-2); color: var(--dark); }
.bk-nav-dropdown-all {
  margin-top: 8px;
  padding: 10px 14px;
  background: var(--bg-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  text-align: center;
}

/* Mobile collapsing */
@media (max-width: 900px) {
  .bk-header-inner {
    padding: 12px 16px;
    grid-template-columns: auto auto auto;
    gap: 12px;
  }
  .bk-search { display: none; }
  .bk-header-actions { gap: 8px; }
  .bk-plus-pill,
  .bk-icon-label { display: none; }
  .bk-icon { min-width: 38px; }
  .bk-burger, .burger { display: inline-flex; }
  .bk-nav { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   5. BUTTONS (.bk-btn family)
   ═══════════════════════════════════════════════════════════ */
.bk-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  padding: 14px 28px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.bk-btn-primary {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.bk-btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff !important;
}
.bk-btn-outline {
  background: transparent;
  color: var(--dark) !important;
  border-color: var(--dark);
}
.bk-btn-outline:hover {
  background: var(--dark);
  color: #fff !important;
}
.bk-btn-label { display: inline; }
.bk-btn-arrow { font-size: 18px; line-height: 1; }

/* Same primary in white-on-dark context */
.bk-hero .bk-btn-outline,
.bk-plus .bk-btn-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.7);
}
.bk-hero .bk-btn-outline:hover,
.bk-plus .bk-btn-outline:hover {
  background: #fff;
  color: var(--dark) !important;
  border-color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   6. HERO (.bk-hero)
   ═══════════════════════════════════════════════════════════ */
.bk-hero {
  position: relative;
  min-height: 640px;
  height: 78vh;
  max-height: 820px;
  overflow: hidden;
  background: var(--dark);
}
.bk-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.bk-hero-bg--empty {
  background: linear-gradient(135deg, #0a0a0a 0%, #1f1f1f 100%);
}
.bk-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.bk-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px;
  height: 100%;
  display: flex;
  align-items: center;
}
.bk-hero-text {
  max-width: 720px;
  color: #fff;
}
.bk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.bk-hero-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.bk-hero-h {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: #fff;
  margin: 0 0 32px;
}
.bk-hero-h-accent { color: var(--accent); }
.bk-hero-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin: 0 0 40px;
}
.bk-hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   7. CATEGORIES GRID (.bk-categories)
   ═══════════════════════════════════════════════════════════ */
.bk-categories {
  padding: clamp(48px, 7vw, 96px) 0;
  background: var(--bg);
}
.bk-categories-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.bk-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 32px;
}
.bk-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.bk-cat-card {
  display: flex;
  flex-direction: column;
  color: var(--dark);
  transition: transform 0.2s ease;
}
.bk-cat-card:hover { transform: translateY(-2px); }
.bk-cat-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}
.bk-cat-thumb-img {
  width: 100%; height: 100%; object-fit: cover;
}
.bk-cat-thumb-fallback {
  position: absolute;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-cat-thumb-letter {
  font-family: var(--font-heading);
  font-size: 124px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
}
.bk-cat-thumb-dot {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}
.bk-cat-label {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--dark);
}
.bk-cat-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .bk-categories-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .bk-cat-thumb-letter { font-size: 80px; }
}
@media (max-width: 480px) {
  .bk-categories-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   8. PLUS PROMO (.bk-plus)
   ═══════════════════════════════════════════════════════════ */
.bk-plus {
  background: var(--dark);
  color: #fff;
  padding: clamp(56px, 9vw, 112px) 0;
}
.bk-plus-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.bk-plus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.bk-plus .bk-plus-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.bk-plus-h {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 24px;
}
.bk-plus-h-accent { color: var(--accent); }
.bk-plus-body {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 36px;
}
.bk-plus-ctas {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.bk-plus-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bk-plus-link:hover { color: #fff !important; }
.bk-plus-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bk-plus-bullet {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 15px;
  color: rgba(255,255,255,0.95);
  line-height: 1.5;
}
.bk-plus-bullet:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.bk-plus-bullet-check {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .bk-plus-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ═══════════════════════════════════════════════════════════
   9. FOOTER (.site-footer) — dark slab
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.78);
  padding-top: 0;
}
.site-footer .container,
.site-footer > div { max-width: var(--container); margin: 0 auto; }
.footer-newsletter {
  background: #1a1a1a;
  padding: 48px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-newsletter h3 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.footer-newsletter p { color: rgba(255,255,255,0.6); margin-top: 8px; }
.footer-newsletter input {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-main);
}
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.footer-newsletter button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-main);
  cursor: pointer;
}
.footer-newsletter button:hover { background: var(--accent-dark); }
.site-footer .footer-grid {
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer-logo-wordmark {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}
.footer-tagline { color: rgba(255,255,255,0.6); margin-top: 12px; font-size: 14px; }
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 6px 0; }
.site-footer a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.footer-social a:hover { border-color: #fff; color: #fff; }

/* Newsletter band — 2-col grid */
.bk-footer-nl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bk-footer-nl-text { max-width: 36ch; }
.bk-footer-nl-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.bk-footer-nl-desc {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin: 12px 0 0;
}
.bk-footer-nl-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.bk-footer-nl-input {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 15px;
  outline: none;
}
.bk-footer-nl-input::placeholder { color: rgba(255,255,255,0.45); }
.bk-footer-nl-input:focus { border-color: rgba(255,255,255,0.45); }
.bk-footer-nl-btn {
  height: 52px;
  padding: 0 28px;
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s var(--ease, cubic-bezier(.2,.7,.2,1));
}
.bk-footer-nl-btn:hover { background: var(--accent-dark); }
.bk-footer-nl-success {
  padding: 14px 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* Brand column extras */
.bk-footer-logo-dot { color: var(--accent); margin-left: 1px; }
.bk-footer-address {
  margin-top: 16px;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.bk-footer-email,
.bk-footer-phone { color: rgba(255,255,255,0.7); }
.bk-footer-email:hover,
.bk-footer-phone:hover { color: #fff; }
.bk-footer-social { margin-top: 20px; }

/* Footer-bottom split */
.bk-footer-copy,
.bk-footer-utility { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.bk-footer-utility a { color: rgba(255,255,255,0.5); }
.bk-footer-utility a:hover { color: #fff; }

@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bk-footer-nl-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .bk-footer-nl-form { flex-direction: column; }
  .bk-footer-nl-btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   10. UTILITIES
   ═══════════════════════════════════════════════════════════ */
.eyebrow, .section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], textarea, select {
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-family: var(--font-main);
  padding: 10px 14px;
}
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--dark);
  box-shadow: 0 0 0 2px rgba(10,10,10,0.08);
}
.hr, hr { background: var(--border); border: 0; height: 1px; }

/* Force-hide any leftover Filkorn cooperation/announcement bars */
.cooperation-form-wrap,
.announcement-bar { display: none; }

/* Mobile drawers — hidden on desktop, slide in on ≤900px via .is-open / .open */
.mobile-search-bar,
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .mobile-search-bar[aria-hidden="false"],
  .mobile-search-bar.is-open,
  .mobile-search-bar.open { display: block; }
  .mobile-nav[aria-hidden="false"],
  .mobile-nav.is-open,
  .mobile-nav.open { display: block; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE-NAV CLASS HOOKS
   Replace inline styles removed from header.php — these
   classes only exist so we can satisfy the no-inline-style
   contract in templates/partials/header.php.
   ═══════════════════════════════════════════════════════════ */
.mobile-nav-section-all {
  font-weight: 600;
  margin-top: 8px;
}
.mobile-nav-sale {
  color: var(--accent);
  font-weight: 700;
}
