/* Kalles — Home Fashion 15
 *
 * Nachgebaut am 04.08.2026 aus der Original-Demodaten-Ablage
 * „Kalles v5 / Demo Data v5 / Home Fashion 15" (config/settings_data.json,
 * sections/header-group.json, sections/footer-group.json, templates/index.json).
 *
 * Alle Werte hier sind ABGELESEN, nicht geschätzt:
 *   Schrift .......... Poppins (Fließtext + Überschriften), Inter (Produkttitel)
 *                      → settings_data: font_family_1 / font_family_2
 *   Seitenbreite ..... 1600 px            → page_width
 *   Buttons .......... Pille, Radius 30   → button_radius
 *   Karten ........... eckig, Radius 0    → card_corner_radius, pr_card_radius
 *   Logo ............. 95 px breit        → logo_width (Header-Gruppe)
 *   Kopfzeile ........ 60 px hoch, transparent über dem Hero, immer klebend
 *                      → header_height, header_transparent, sticky_type=always
 *
 * Farben stehen NICHT hier, sondern als Design-Tokens in theme.json
 * (aus scheme-1 der Vorlage). Feste Hex-Werte nähmen dem Betreiber
 * „Theme → Anpassen" aus der Hand und werden von theme:doctor gemeldet.
 */

/* Schriften kommen lokal über local_font_head() im Layout (22.10.2026) statt
   per @import von Google Fonts (DSGVO, 750 ms Wartezeit). */

:root {
  --k15-page: 1600px;
  --k15-radius-btn: 30px;
  --k15-header-h: 60px;
  --k15-logo-w: 95px;
}

body {
  font-family: "Poppins", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-text);
}

/* Die Vorlage setzt für Produkttitel bewusst die zweite Familie
   (settings_data: pr_title_font_family = --f_family_2). */
.wcb-product-card .wcb-title,
.kalles-product-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.kalles-container,
.wcb-container {
  max-width: var(--k15-page);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── Buttons: schwarze Pille, weiße Schrift ─────────────────────────────── */
.btn, .wavux-button, .wcb-btn, .kalles-btn {
  border-radius: var(--k15-radius-btn);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 12px 30px;
  min-width: 150px;              /* min_width_dt_btn_1 */
  text-transform: none;
  transition: opacity .2s ease;
}
.btn:hover, .wavux-button:hover, .wcb-btn:hover, .kalles-btn:hover { opacity: .85; }

/* ── Kopfzeile: Logo mittig ─────────────────────────────────────────────── */
/* Das Kleben und die Transparenz liegen am Wrapper (ganz unten in dieser
   Datei) — nicht hier. Zwei Stellen, die dasselbe regeln, wären genau die
   Sorte Doppelung, die uns heute schon einen Nachmittag gekostet hat. */
.kalles-header {
  min-height: var(--k15-header-h);
}
.kalles-header .kalles-logo img,
.kalles-header .wcb-logo img { width: var(--k15-logo-w); height: auto; }

.kalles-nav a {
  font-size: 15px;               /* menu_size = lg */
  font-weight: 400;              /* menu_weight = normal */
  letter-spacing: 0;
  padding-inline: 15px;          /* spacing_nav = 30 → je Seite die Hälfte */
  color: inherit;
  text-decoration: none;
}
.kalles-nav a:hover { opacity: .6; }

/* ── Kategoriekacheln: Kreis mit Zähler-Blase ───────────────────────────── */
/* Vorlage: b_effect = pervasive-circle, image_ratio = adapt_image,
   show_count = true, count_label = „Products". */
.wcb-category-grid .wcb-tile-img,
.kalles-collection-tile img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-surface);
}
.kalles-collection-tile { text-align: center; }
.kalles-collection-tile .k15-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  margin-left: 6px;
  border-radius: 40px;           /* badge_corner_radius */
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.kalles-collection-tile .k15-title {
  font-size: 15px;
  font-weight: 600;              /* content_weight = semibold */
  margin-top: 20px;              /* content_space = 20 */
}

/* ── Produktkarten: eckig, ruhig ────────────────────────────────────────── */
.kalles-product-card img,
.wcb-product-card img { border-radius: 0; }
.kalles-product-card { text-align: center; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
/* fixed_height 840 / mobil 400; Inhalt linksbündig bei 23 % Breite. */
.wcb-hero, .kalles-hero { min-height: 840px; }
.wcb-hero .wcb-hero-inner { max-width: 350px; }   /* min_width_content */
.wcb-hero .wcb-kicker {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.wcb-hero h1, .wcb-hero h2 {
  font-size: 50px;               /* font_size_heading_lg */
  line-height: 1.2;
  font-weight: 600;
}

/* ── USP-Leiste unten (Vorlage: Sektion „shipping", drei Spalten) ───────── */
.wcb-usp-bar { text-align: center; }
.wcb-usp-bar .wcb-usp-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .wcb-hero, .kalles-hero { min-height: 400px; }
  .wcb-hero h1, .wcb-hero h2 { font-size: 24px; }
  .kalles-container, .wcb-container { padding-inline: 15px; }
}

/* Die transparente Kopfzeile steht im Layout (views/layout.blade.php),
 * nicht hier: Ohne sie fällt das Header-Markup optisch auseinander,
 * und eine solche Regel gehört neben das Markup. */
