/*
Theme Name: BauPro Modern
Theme URI: https://baupro.roboblog.eu
Author: BauPro
Description: Modern e-commerce theme for the BauPro configurator MVP. Real shop chrome, PL/DE language switch.
Version: 0.2.0
Text Domain: baupro-modern
*/

:root {
  --bp-bg: #f3f5f8;
  --bp-bg-alt: #eef1f6;
  --bp-surface: #ffffff;
  --bp-surface-2: #f7f9fc;
  --bp-text: #0f172a;
  --bp-muted: #5b6473;
  --bp-border: #e1e6ee;
  --bp-line: #cbd2dc;
  --bp-primary: #1f4cff;
  --bp-primary-strong: #1437c8;
  --bp-primary-soft: #e8edff;
  --bp-accent: #ff7a1a;
  --bp-accent-strong: #d8620a;
  --bp-success: #047857;
  --bp-warning: #b45309;
  --bp-danger: #b91c1c;
  --bp-ink: #0a1226;
  --bp-radius: 12px;
  --bp-radius-sm: 8px;
  --bp-font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bp-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --bp-shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --bp-shadow: 0 6px 20px rgb(15 23 42 / 0.08);
  --bp-shadow-lg: 0 30px 80px rgb(15 23 42 / 0.18);
  --bp-focus: 0 0 0 3px rgb(31 76 255 / 0.22);
  --bp-max: 1280px;
}

* { box-sizing: border-box; }

html { background: var(--bp-bg); }

body {
  background: var(--bp-bg);
  color: var(--bp-text);
  font-family: var(--bp-font);
  font-size: 16px;
  letter-spacing: -0.005em;
  line-height: 1.55;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--bp-primary); text-decoration: none; }
a:hover { color: var(--bp-primary-strong); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--bp-primary);
  outline-offset: 2px;
}

img { height: auto; max-width: 100%; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.bp-shell { display: flex; flex-direction: column; min-height: 100vh; }

/* ============== UTILITY BAR ============== */

.bp-utility {
  background: var(--bp-ink);
  color: #cbd5ea;
  font-size: 13px;
}

.bp-utility__inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--bp-max);
  min-height: 36px;
  padding: 0 24px;
}

.bp-utility__list {
  display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0;
}

.bp-utility__list li { align-items: center; display: inline-flex; gap: 6px; }
.bp-utility__list li span { color: var(--bp-accent); font-size: 9px; }
.bp-utility__list a { color: inherit; }
.bp-utility__list a:hover { color: white; }

.bp-utility__right { align-items: center; display: flex; gap: 14px; }

.bp-utility__link { color: #cbd5ea; font-weight: 600; }
.bp-utility__link:hover { color: white; }

.bp-langswitch { align-items: center; display: inline-flex; font-weight: 700; gap: 4px; }
.bp-langswitch a { color: #8c97ad; padding: 2px 4px; border-radius: 4px; }
.bp-langswitch a:hover { color: white; }
.bp-langswitch a.is-active { background: rgb(255 255 255 / 0.12); color: white; }
.bp-langswitch span { color: #4d566c; }

/* ============== HEADER ============== */

.bp-header {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-border);
  position: sticky;
  top: 0;
  z-index: 60;
}

.admin-bar .bp-header { top: 32px; }

.bp-header__inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: var(--bp-max);
  min-height: 78px;
  padding: 14px 24px;
}

.bp-brand {
  align-items: center;
  color: var(--bp-text);
  display: inline-flex;
  font-size: 22px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
  min-width: max-content;
}

.bp-brand:hover { color: var(--bp-text); }

.bp-brand__mark {
  align-items: center;
  background: linear-gradient(135deg, var(--bp-primary), #4170ff);
  border-radius: 9px;
  color: white;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

/* search */
.bp-search {
  align-items: center;
  background: var(--bp-surface-2);
  border: 1.5px solid var(--bp-border);
  border-radius: 10px;
  display: flex;
  height: 48px;
  overflow: hidden;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.bp-search:focus-within { border-color: var(--bp-primary); box-shadow: var(--bp-focus); }

.bp-search__icon {
  align-items: center; color: var(--bp-muted); display: inline-flex; flex: 0 0 auto;
  justify-content: center; padding-left: 14px;
}

.bp-search input {
  background: transparent;
  border: 0;
  color: var(--bp-text);
  flex: 1;
  font: inherit;
  font-size: 15px;
  outline: 0;
  padding: 0 12px;
}

.bp-search input::placeholder { color: var(--bp-muted); }

.bp-search__submit {
  background: var(--bp-text);
  border: 0;
  border-radius: 0;
  color: white;
  cursor: pointer;
  flex: 0 0 auto;
  font-weight: 700;
  height: 100%;
  padding: 0 22px;
  transition: background-color 150ms ease;
}

.bp-search__submit:hover { background: var(--bp-primary); }

.bp-header__actions { align-items: center; display: flex; gap: 6px; }

.bp-header__action {
  align-items: center;
  border-radius: 9px;
  color: var(--bp-text);
  display: inline-flex;
  flex-direction: column;
  font-size: 11px;
  font-weight: 700;
  gap: 2px;
  min-width: 64px;
  padding: 8px 10px;
  position: relative;
  transition: background-color 150ms ease, color 150ms ease;
}

.bp-header__action:hover { background: var(--bp-surface-2); color: var(--bp-primary); }

.bp-header__action svg { color: var(--bp-text); }
.bp-header__action:hover svg { color: var(--bp-primary); }

.bp-header__action--cart { background: var(--bp-primary-soft); color: var(--bp-primary); }
.bp-header__action--cart svg { color: var(--bp-primary); }
.bp-header__action--cart:hover { background: var(--bp-primary); color: white; }
.bp-header__action--cart:hover svg { color: white; }

.bp-cart-badge {
  background: var(--bp-accent);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  justify-content: center;
  min-width: 18px;
  padding: 1px 5px;
  position: absolute;
  right: 4px;
  top: 4px;
}

/* main nav */
.bp-mainnav {
  background: var(--bp-surface);
  border-top: 1px solid var(--bp-border);
}

.bp-mainnav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 0 14px;
}

.bp-mainnav__link {
  border-bottom: 2px solid transparent;
  color: var(--bp-muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 14px;
  text-transform: uppercase;
  transition: border-color 150ms ease, color 150ms ease;
}

.bp-mainnav__link:hover {
  border-bottom-color: var(--bp-primary);
  color: var(--bp-text);
}

.bp-mainnav__link--accent {
  color: var(--bp-accent);
}
.bp-mainnav__link--accent:hover { border-bottom-color: var(--bp-accent); color: var(--bp-accent-strong); }

.bp-mainnav__link--admin {
  color: var(--bp-primary);
  margin-left: auto;
}

/* ============== BUTTONS ============== */

.bp-button,
.button,
button.button,
input[type="submit"],
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  align-items: center;
  background: var(--bp-primary);
  border: 1.5px solid var(--bp-primary);
  border-radius: 10px;
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  letter-spacing: -0.005em;
  min-height: 44px;
  padding: 10px 18px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bp-button:hover,
.button:hover,
button.button:hover,
input[type="submit"]:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--bp-primary-strong);
  border-color: var(--bp-primary-strong);
  color: white;
  transform: translateY(-1px);
}

.bp-button--lg { font-size: 16px; min-height: 52px; padding: 14px 22px; }

.bp-button--secondary {
  background: white;
  border-color: var(--bp-line);
  color: var(--bp-text);
}

.bp-button--secondary:hover {
  background: var(--bp-surface-2);
  border-color: var(--bp-text);
  color: var(--bp-text);
}

.bp-button--invert {
  background: white;
  border-color: white;
  color: var(--bp-text);
}

.bp-button--invert:hover { background: var(--bp-bg-alt); border-color: var(--bp-bg-alt); color: var(--bp-text); }

/* ============== KICKER + SECTION HEAD ============== */

.bp-kicker {
  color: var(--bp-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.bp-section { padding: 64px 0; }
.bp-section--feature { background: var(--bp-bg-alt); }
.bp-section--trust   { background: var(--bp-ink); color: white; }
.bp-section--trust .bp-kicker { color: var(--bp-accent); }
.bp-section--trust .bp-section__head p { color: #cbd5ea; }
.bp-section--faq { background: var(--bp-surface); }

.bp-section__inner {
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 0 24px;
}

.bp-section__head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.bp-section__head--center { align-items: center; flex-direction: column; margin: 0 auto 36px; max-width: 720px; text-align: center; }

.bp-section__head h2 { font-size: 34px; }
.bp-section__head p { color: var(--bp-muted); margin: 8px 0 0; max-width: 640px; }

/* ============== HERO ============== */

.bp-hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgb(31 76 255 / 0.18), transparent 60%),
    radial-gradient(800px 300px at 0% 100%, rgb(255 122 26 / 0.12), transparent 60%),
    linear-gradient(180deg, #0a1226 0%, #131c3a 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.bp-hero::before {
  background-image:
    linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.bp-hero__inner {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.05fr 0.95fr;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 80px 24px 88px;
  position: relative;
}

.bp-hero__copy { max-width: 580px; }
.bp-hero .bp-kicker { color: var(--bp-accent); }

.bp-hero__title {
  color: white;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 18px;
}

.bp-hero__subtitle {
  color: #c8d0e0;
  font-size: 18px;
  margin: 0 0 28px;
}

.bp-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.bp-hero__actions .bp-button { background: var(--bp-accent); border-color: var(--bp-accent); }
.bp-hero__actions .bp-button:hover { background: var(--bp-accent-strong); border-color: var(--bp-accent-strong); }
.bp-hero__actions .bp-button--secondary { background: rgb(255 255 255 / 0.06); border-color: rgb(255 255 255 / 0.18); color: white; }
.bp-hero__actions .bp-button--secondary:hover { background: rgb(255 255 255 / 0.12); border-color: rgb(255 255 255 / 0.32); color: white; }

.bp-hero__badges {
  color: #c8d0e0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-hero__badges li { align-items: center; display: inline-flex; gap: 6px; }
.bp-hero__badges svg { color: var(--bp-accent); }

.bp-hero__visual {
  position: relative;
  min-height: 460px;
}

.bp-hero__card {
  background: rgb(255 255 255 / 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 14px;
  color: white;
  display: grid;
  gap: 12px;
  padding: 20px;
  position: absolute;
  box-shadow: var(--bp-shadow-lg);
}

.bp-hero__card--1 { top: 0; right: 0; width: 320px; }
.bp-hero__card--2 { bottom: 80px; left: 0; width: 240px; }
.bp-hero__card--3 { bottom: 0; right: 60px; width: 240px; }

.bp-hero__card-tag {
  align-self: start;
  background: var(--bp-accent);
  border-radius: 6px;
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  text-transform: uppercase;
}

.bp-hero__card--2 .bp-hero__card-tag,
.bp-hero__card--3 .bp-hero__card-tag {
  background: rgb(255 255 255 / 0.16);
}

.bp-hero__card-title { font-size: 17px; font-weight: 700; line-height: 1.2; }

.bp-hero__card-price {
  align-items: baseline;
  display: flex;
  gap: 8px;
}

.bp-hero__card-price strong { font-size: 28px; font-weight: 800; }
.bp-hero__card-price small { color: #c8d0e0; font-size: 13px; }

.bp-hero__card-grid {
  background: rgb(255 255 255 / 0.04);
  border-radius: 8px;
  display: grid;
  font-size: 13px;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
  padding: 10px 12px;
}

.bp-hero__card-grid span { color: #c8d0e0; }

.bp-hero__card-mini {
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px;
}

.bp-hero__card-mini span {
  background: rgb(255 255 255 / 0.08);
  border-radius: 999px;
  color: #e0e6f4;
  padding: 4px 10px;
}

/* ============== USP STRIP ============== */

.bp-usp {
  background: var(--bp-surface);
  border-bottom: 1px solid var(--bp-border);
}

.bp-usp__inner {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 0 24px;
}

.bp-usp__item {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 28px 18px;
  position: relative;
}

.bp-usp__item + .bp-usp__item::before {
  background: var(--bp-border);
  content: "";
  height: 60%;
  left: 0;
  position: absolute;
  top: 20%;
  width: 1px;
}

.bp-usp__icon {
  align-items: center;
  background: var(--bp-primary-soft);
  border-radius: 12px;
  color: var(--bp-primary);
  display: inline-flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.bp-usp__item div { display: grid; gap: 2px; }
.bp-usp__item strong { color: var(--bp-text); font-size: 15px; }
.bp-usp__item span { color: var(--bp-muted); font-size: 13px; }

/* ============== CATEGORIES ============== */

.bp-cats {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.4fr 1fr 1fr;
}

.bp-cats > :first-child { grid-row: span 2; }

@supports not (grid-template-rows: subgrid) {
  .bp-cats > :first-child { min-height: 100%; }
}

.bp-cat {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  color: var(--bp-text);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.bp-cat:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow);
  color: var(--bp-text);
  transform: translateY(-3px);
}

.bp-cat__visual {
  align-items: center;
  display: flex;
  height: 220px;
  justify-content: center;
  position: relative;
}

.bp-cat--keller .bp-cat__visual { background: linear-gradient(135deg, #1f4cff, #6a8aff); }
.bp-cat--bike .bp-cat__visual   { background: linear-gradient(135deg, #0a1226, #1f2a4a); }
.bp-cat--shed .bp-cat__visual   { background: linear-gradient(135deg, #ff7a1a, #ffa45c); }

.bp-cat__visual svg { height: 100%; width: 100%; }

.bp-cat__body { display: grid; gap: 8px; padding: 20px 22px 22px; }
.bp-cat__body h3 { font-size: 22px; }
.bp-cat__body p { color: var(--bp-muted); margin: 0; }

.bp-cat__cta {
  align-items: center;
  color: var(--bp-primary);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 6px;
  margin-top: 6px;
  text-transform: uppercase;
}

.bp-cat:hover .bp-cat__cta { color: var(--bp-primary-strong); gap: 10px; }

.bp-tag {
  align-self: start;
  background: var(--bp-surface-2);
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  color: var(--bp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  text-transform: uppercase;
  width: max-content;
}

.bp-tag--accent { background: var(--bp-primary-soft); border-color: rgb(31 76 255 / 0.24); color: var(--bp-primary); }
.bp-tag--warning { background: rgb(255 122 26 / 0.12); border-color: rgb(255 122 26 / 0.32); color: var(--bp-accent-strong); }

/* ============== FEATURE w/ CONFIGURATOR ============== */

.bp-feature {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.9fr 1.1fr;
}

.bp-feature__copy h2 { font-size: 34px; margin-bottom: 14px; }
.bp-feature__copy > p { color: var(--bp-muted); font-size: 16px; margin: 0 0 20px; }

.bp-feature__list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.bp-feature__list li {
  align-items: center;
  color: var(--bp-text);
  display: flex;
  font-weight: 600;
  gap: 10px;
}

.bp-feature__list svg { color: var(--bp-success); flex: 0 0 auto; }

.bp-feature__panel .bp-panel { box-shadow: var(--bp-shadow); }

/* ============== TRUST METRICS ============== */

.bp-metrics {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.bp-metric strong {
  color: white;
  display: block;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.bp-metric span { color: #c8d0e0; display: block; font-size: 14px; margin-top: 8px; }

/* ============== FAQ ============== */

.bp-faq { display: grid; gap: 12px; max-width: 860px; }

.bp-faq__item {
  background: var(--bp-surface-2);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  padding: 18px 22px;
}

.bp-faq__item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 32px;
}

.bp-faq__item summary::-webkit-details-marker { display: none; }

.bp-faq__item summary::after {
  align-items: center;
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: 999px;
  color: var(--bp-text);
  content: "+";
  display: inline-flex;
  font-size: 18px;
  font-weight: 700;
  height: 24px;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
}

.bp-faq__item[open] summary::after { content: "−"; }
.bp-faq__item[open] summary { color: var(--bp-primary); }

.bp-faq__item p {
  color: var(--bp-muted);
  margin: 12px 0 0;
}

/* ============== BOTTOM CTA ============== */

.bp-cta { background: linear-gradient(135deg, var(--bp-primary), #4170ff); color: white; padding: 56px 0; }

.bp-cta__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 0 24px;
}

.bp-cta h2 { color: white; font-size: 32px; margin: 0; max-width: 720px; }
.bp-cta p { color: rgb(255 255 255 / 0.85); margin: 8px 0 0; }

/* ============== FOOTER ============== */

.bp-footer {
  background: var(--bp-ink);
  color: #c8d0e0;
  margin-top: auto;
  padding-top: 56px;
}

.bp-footer__inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 0 24px 40px;
}

.bp-brand--footer { color: white; font-size: 22px; }
.bp-brand--footer:hover { color: white; }

.bp-footer__col p { color: #a3afc4; font-size: 14px; margin: 14px 0 0; max-width: 320px; }
.bp-footer__contact { color: white !important; font-weight: 600; }

.bp-footer__col h4 {
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.bp-footer__col ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bp-footer__col a {
  color: #c8d0e0;
  font-size: 14px;
}

.bp-footer__col a:hover { color: white; }

.bp-footer__bottom {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 12px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 18px 24px;
}

.bp-langswitch--footer { color: #a3afc4; }
.bp-langswitch--footer a { color: #c8d0e0; }
.bp-langswitch--footer a.is-active { background: transparent; color: white; text-decoration: underline; }

/* ============== PANELS ============== */

.bp-panel {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow-sm);
}

.bp-panel__body { padding: 22px; }
.bp-configurator-panel { overflow: visible; }

/* ============== CONTENT (shop pages, single, page) ============== */

.bp-content {
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 40px 24px 64px;
  width: 100%;
}

.bp-content--shop { padding-top: 24px; }
.bp-content .entry-title { font-size: 34px; margin: 0 0 20px; }

.bp-breadcrumb {
  color: var(--bp-muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.bp-breadcrumb a { color: var(--bp-muted); }
.bp-breadcrumb a:hover { color: var(--bp-primary); }

/* ============== CONFIGURATOR (plugin owns .baupro-* — minimal theme polish only) ============== */

.bp-configurator-page { padding-top: 28px; }
.bp-configurator-page .bp-content__head { margin-bottom: 18px; }

.bp-configurator-page .baupro-configurator { padding: 22px; }
.bp-configurator-panel .baupro-configurator { padding: 0; }

.bp-configurator-preview {
  background: linear-gradient(135deg, #0a1226 0%, #1f2a4a 100%);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow);
  color: white;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.bp-configurator-preview__head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.bp-configurator-preview__head strong { font-size: 16px; font-weight: 700; }

.bp-configurator-preview__head .bp-tag {
  background: rgb(255 122 26 / 0.18);
  border-color: rgb(255 122 26 / 0.4);
  color: var(--bp-accent);
}

.bp-configurator-preview__rows { display: grid; gap: 10px; }

.bp-configurator-preview__row {
  align-items: center;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 10px;
  display: flex;
  font-size: 14px;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 14px;
}

.bp-configurator-preview__row span { color: #c8d0e0; }
.bp-configurator-preview__row strong { color: white; font-weight: 700; }

.bp-configurator-preview__price {
  align-items: baseline;
  background: rgb(255 255 255 / 0.08);
  border-radius: 10px;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}

.bp-configurator-preview__price strong { color: white; font-size: 28px; font-weight: 800; }
.bp-configurator-preview__price small { color: #c8d0e0; }

.bp-configurator-preview .bp-button--accent {
  background: var(--bp-accent);
  border-color: var(--bp-accent);
  color: white;
}
.bp-configurator-preview .bp-button--accent:hover { background: var(--bp-accent-strong); border-color: var(--bp-accent-strong); }

/* ============== ACCOUNT / DATA TABLE (carryover) ============== */

.bp-account-surface { display: grid; gap: 16px; }

.bp-account-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bp-account-card {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  color: var(--bp-text);
  display: grid;
  gap: 6px;
  min-height: 130px;
  padding: 18px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.bp-account-card:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow);
  transform: translateY(-2px);
}

.bp-account-card span { color: var(--bp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bp-account-card strong { font-size: 28px; line-height: 1; }
.bp-account-card small { color: var(--bp-muted); font-size: 13px; }

.bp-empty-state {
  background: var(--bp-surface-2);
  border: 1px dashed var(--bp-line);
  border-radius: var(--bp-radius);
  display: grid;
  gap: 4px;
  padding: 20px;
}

.bp-empty-state strong { color: var(--bp-text); }
.bp-empty-state span { color: var(--bp-muted); }

.bp-data-table { table-layout: fixed; width: 100%; }
.bp-data-table td, .bp-data-table th { vertical-align: middle; }
.bp-data-table small { color: var(--bp-muted); }

.bp-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.bp-pill {
  background: var(--bp-primary-soft);
  border: 1px solid rgb(31 76 255 / 0.24);
  border-radius: 999px;
  color: var(--bp-primary);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
}

/* ============== WOO (account, cart, checkout) ============== */

.woocommerce table.shop_table,
.woocommerce form.checkout,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation,
.woocommerce ul.products li.product,
.woocommerce form.login,
.woocommerce form.register {
  background: white;
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
}

.woocommerce .woocommerce-MyAccount-navigation { padding: 12px; }
.woocommerce .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce .woocommerce-MyAccount-navigation li a {
  border-radius: 8px;
  color: var(--bp-text);
  display: block;
  font-weight: 700;
  padding: 10px 12px;
}
.woocommerce .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce .woocommerce-MyAccount-navigation li a:hover {
  background: var(--bp-primary-soft);
  color: var(--bp-primary);
}

.woocommerce .woocommerce-MyAccount-content { padding: 22px; }

.woocommerce-account .woocommerce {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.woocommerce-account .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-privacy-policy-text { grid-column: 1 / -1; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-input-wrapper input,
.woocommerce-input-wrapper select,
.woocommerce-input-wrapper textarea {
  border: 1.5px solid var(--bp-line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-focus);
  outline: 0;
}

.wc-block-cart, .wc-block-checkout {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow-sm);
  padding: 20px;
}

.wc-block-cart-items__row,
.wc-block-components-totals-wrapper { border-color: var(--bp-border) !important; }

.wc-block-components-product-name,
.wc-block-components-order-summary-item__description { color: var(--bp-text); font-weight: 800; }

.wc-block-components-product-metadata,
.wc-block-components-product-details { color: var(--bp-muted); font-size: 13px; }

.wc-block-cart__main, .wc-block-cart__sidebar,
.wc-block-checkout__main, .wc-block-checkout__sidebar { min-width: 0; }

/* product card */
.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-shadow);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img { margin: 0; }

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin: 0 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; padding-top: 16px; }
.woocommerce ul.products li.product .price { color: var(--bp-text); font-weight: 800; }
.woocommerce ul.products li.product .button { margin: 16px 18px 18px; }

/* ============== LEGAL PAGES ============== */

.bp-legal {
  color: var(--bp-text);
  font-size: 15px;
  line-height: 1.65;
}

.bp-legal h2 { font-size: 22px; margin: 28px 0 10px; }
.bp-legal h3 { font-size: 17px; margin: 22px 0 8px; }
.bp-legal p, .bp-legal li { color: var(--bp-text); }
.bp-legal ul { padding-left: 20px; }
.bp-legal code { background: var(--bp-surface-2); border-radius: 4px; font-family: var(--bp-mono); font-size: 13px; padding: 2px 5px; }

.bp-legal__notice {
  background: rgb(255 122 26 / 0.1);
  border: 1px solid rgb(255 122 26 / 0.4);
  border-radius: var(--bp-radius);
  color: var(--bp-accent-strong);
  padding: 14px 16px;
}

.bp-legal__table {
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
  width: 100%;
}

.bp-legal__table th,
.bp-legal__table td {
  border: 1px solid var(--bp-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.bp-legal__table th { background: var(--bp-surface-2); font-weight: 800; }

/* ============== COOKIE CONSENT ============== */

.bp-consent {
  background: var(--bp-ink);
  border-top: 3px solid var(--bp-accent);
  bottom: 0;
  box-shadow: 0 -20px 60px rgb(15 23 42 / 0.18);
  color: white;
  left: 0;
  position: fixed;
  right: 0;
  z-index: 90;
}

.bp-consent[hidden] { display: none; }

.bp-consent__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--bp-max);
  padding: 18px 24px;
}

.bp-consent__copy { color: #c8d0e0; flex: 1 1 420px; min-width: 0; }
.bp-consent__copy strong { color: white; display: block; font-size: 16px; margin-bottom: 4px; }
.bp-consent__copy p { color: #a3afc4; font-size: 14px; margin: 0; }
.bp-consent__copy a { color: white; text-decoration: underline; }

.bp-consent__actions { align-items: center; display: flex; flex: 0 0 auto; gap: 10px; }

.bp-consent__actions .bp-button--secondary {
  background: transparent;
  border-color: rgb(255 255 255 / 0.32);
  color: white;
}
.bp-consent__actions .bp-button--secondary:hover { background: rgb(255 255 255 / 0.08); border-color: white; color: white; }

/* ============== FORM CONTROLS (selects, login, account) ============== */

select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="search"],
textarea {
  background: white;
  border: 1.5px solid var(--bp-line);
  border-radius: 9px;
  color: var(--bp-text);
  font: inherit;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 12px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6473' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 14px;
  padding-right: 36px;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--bp-primary);
  box-shadow: var(--bp-focus);
  outline: 0;
}

textarea { min-height: 96px; resize: vertical; }

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

/* WooCommerce login/register */
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-form-login,
.woocommerce-form-register {
  display: grid;
  gap: 12px;
  max-width: 480px;
  padding: 28px;
}

.woocommerce form.login .form-row,
.woocommerce form.register .form-row {
  display: grid;
  gap: 6px;
  margin: 0;
}

.woocommerce form.login label,
.woocommerce form.register label {
  font-size: 14px;
  font-weight: 700;
}

.woocommerce form.login .button,
.woocommerce form.register .button {
  margin-top: 8px;
  width: max-content;
}

.woocommerce-form-login__rememberme,
.woocommerce-form-row .woocommerce-form__label-for-checkbox {
  align-items: center;
  display: inline-flex !important;
  gap: 8px;
  font-weight: 600;
}

.lost_password { font-size: 14px; margin-top: 8px; }

/* Account: pretty section heads */
.bp-account-surface .bp-section-head h2 { font-size: 24px; }

/* Footer language switcher made bigger touch target */
.bp-langswitch a { padding: 4px 8px; }

/* ============== BOX SIZE NORMALIZATION ============== */

/* Hero cards — was crowding viewport, normalize widths */
.bp-hero__visual { min-height: 480px; }
.bp-hero__card { border-radius: 16px; padding: 22px; }
.bp-hero__card--1 { top: 0; right: 0; width: 340px; }
.bp-hero__card--2 { bottom: 110px; left: 0; width: 250px; }
.bp-hero__card--3 { bottom: 0; right: 70px; width: 240px; }

/* Category cards — equal heights via grid alignment */
.bp-cats { align-items: stretch; }
.bp-cat { min-height: 100%; }
.bp-cat__visual { aspect-ratio: 16 / 9; height: auto; }

/* Configurator preview card on home — looser */
.bp-configurator-preview { padding: 24px 26px; max-width: 520px; }
.bp-configurator-preview__row { padding: 11px 14px; font-size: 14.5px; }
.bp-configurator-preview__price { padding: 14px 16px; }
.bp-configurator-preview__price strong { font-size: 30px; }

/* Standalone configurator (plugin .baupro-* — minimal touch via container only) */
.bp-content > .baupro-configurator,
.entry-content > .baupro-configurator {
  margin: 0 auto;
  max-width: 1080px;
}

/* USP icons — slightly smaller for tighter strip */
.bp-usp__icon { flex: 0 0 44px; height: 44px; width: 44px; }
.bp-usp__item { padding: 22px 18px; }

/* Trust metric numbers — tone down to match typography scale */
.bp-metric strong { font-size: 40px; }

/* FAQ items — slightly tighter */
.bp-faq__item { padding: 16px 20px; }
.bp-faq__item summary { font-size: 16px; }

/* Footer — tighter columns */
.bp-footer { padding-top: 48px; }
.bp-footer__inner { gap: 32px; padding-bottom: 32px; }
.bp-footer__col h4 { margin-bottom: 12px; }

/* ============== RESPONSIVE ============== */

@media (max-width: 1080px) {
  .bp-cats { grid-template-columns: 1fr 1fr; }
  .bp-cats > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .bp-feature { grid-template-columns: 1fr; }
  .bp-hero__inner { grid-template-columns: 1fr; }
  .bp-hero__visual { min-height: 360px; }
  .baupro-configurator__layout { grid-template-columns: 1fr; }
  .baupro-summary { position: static; }
  .bp-footer__inner { grid-template-columns: 1fr 1fr; }
  .bp-footer__col--brand { grid-column: 1 / -1; }
  .bp-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .bp-account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .woocommerce-account .woocommerce { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .bp-utility__list { gap: 12px; }
  .bp-utility__list li:nth-child(2) { display: none; }
  .bp-header__inner { grid-template-columns: auto auto; gap: 12px; min-height: 64px; padding: 12px 16px; }
  .bp-search { grid-column: 1 / -1; height: 44px; order: 3; }
  .bp-search__submit { padding: 0 14px; }
  .bp-mainnav__inner { flex-wrap: nowrap; overflow-x: auto; padding: 0 8px; scrollbar-width: thin; }
  .bp-mainnav__link { flex: 0 0 auto; padding: 12px 12px; }
  .bp-mainnav__link--admin { margin-left: 0; }
  .bp-hero__title { font-size: 38px; }
  .bp-hero__inner { padding: 56px 18px 64px; }
  .bp-hero__card { position: static; width: auto !important; }
  .bp-hero__visual { display: grid; gap: 12px; min-height: 0; }
  .bp-usp__inner { grid-template-columns: 1fr 1fr; }
  .bp-usp__item + .bp-usp__item::before { display: none; }
  .bp-usp__item:nth-child(odd) { border-right: 1px solid var(--bp-border); }
  .bp-usp__item:nth-child(-n+2) { border-bottom: 1px solid var(--bp-border); }
  .bp-cats { grid-template-columns: 1fr; }
  .bp-section { padding: 48px 0; }
  .bp-section__head h2, .bp-feature__copy h2, .bp-cta h2 { font-size: 26px; }
  .bp-cta__inner { flex-direction: column; align-items: flex-start; }
  .baupro-task-list { grid-template-columns: 1fr 1fr; }
  .baupro-task-list li:nth-child(odd) { border-right: 1px solid var(--bp-border); }
  .baupro-task-list li:nth-child(2n) { border-right: 0; }
  .baupro-task-list li:nth-child(-n+2) { border-bottom: 1px solid var(--bp-border); }
  .bp-account-grid { grid-template-columns: 1fr; }

  .bp-data-table, .bp-data-table tbody, .bp-data-table tr, .bp-data-table td { display: block; width: 100%; }
  .bp-data-table thead { display: none; }
  .bp-data-table tr { border: 1px solid var(--bp-border); border-radius: var(--bp-radius); margin-bottom: 12px; padding: 12px; }
  .bp-data-table td { align-items: start; border: 0; display: grid; gap: 6px; grid-template-columns: 120px minmax(0, 1fr); padding: 6px 0; }
  .bp-data-table td::before { color: var(--bp-muted); content: attr(data-label); font-size: 12px; font-weight: 800; text-transform: uppercase; }
}

@media (max-width: 860px) {
  .bp-consent__inner { gap: 12px; }
  .bp-consent__actions { flex: 1 1 100%; }
  .bp-consent__actions .bp-button { flex: 1 1 0; }
}

@media (max-width: 560px) {
  .bp-header__action span { display: none; }
  .bp-header__action { min-width: 0; padding: 8px; }
  .bp-utility__list li:first-child span { display: none; }
  .bp-hero__title { font-size: 30px; }
  .bp-hero__subtitle { font-size: 16px; }
  .bp-section { padding: 36px 0; }
  .bp-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .bp-metrics { grid-template-columns: 1fr 1fr; gap: 20px; }
  .bp-metric strong { font-size: 32px; }
  .baupro-task-list { grid-template-columns: 1fr; }
  .baupro-task-list li { border-right: 0 !important; border-bottom: 1px solid var(--bp-border); }
  .baupro-task-list li:last-child { border-bottom: 0; }
  .bp-data-table td { grid-template-columns: 1fr; }
}

/* ============== AIDesigner pass: forms / lang / boxes ==============
   Run id: ed88beda-a3c5-4a4a-825a-8b9d0ee5dfba
   Local : .aidesigner/runs/2026-04-28T20-36-55-487Z-baupro-three-weak-spots-woo-auth-lan/
   Scope : Woo login+register cards, pill langswitch, unified box rhythm.
   CSS-only — no markup / JS changes required.
   =================================================================== */

/* ---- 1. Woo login + register: side-by-side B2B auth cards ---- */

/* On the my-account auth screen (logged-out), let both forms breathe across the whole content column.
   WooCommerce wraps them inside .u-columns / .col2-set on classic templates, but on this theme they
   render as direct children of .woocommerce — so we drive the grid from .woocommerce-account .woocommerce
   when the user is logged out (no MyAccount-navigation present). */

.woocommerce-account:not(.logged-in) .woocommerce {
  grid-template-columns: 1fr;
  max-width: 1080px;
  margin: 0 auto;
}

.woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
.woocommerce-account:not(.logged-in) .woocommerce > .col2-set {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > .col-1,
.woocommerce-account:not(.logged-in) .woocommerce > .u-columns > .col-2,
.woocommerce-account:not(.logged-in) .woocommerce > .col2-set > .col-1,
.woocommerce-account:not(.logged-in) .woocommerce > .col2-set > .col-2 {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 860px) {
  .woocommerce-account:not(.logged-in) .woocommerce > .u-columns,
  .woocommerce-account:not(.logged-in) .woocommerce > .col2-set {
    grid-template-columns: 1fr;
  }
}

/* The cards themselves */
.woocommerce form.login,
.woocommerce form.register {
  background: white;
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  box-shadow: 0 4px 20px -2px rgb(10 18 38 / 0.05);
  display: grid;
  gap: 18px;
  margin: 0;
  max-width: none;
  padding: 36px 36px 32px;
  position: relative;
  overflow: hidden;
}

/* Top accent strip — blue for login, orange for register */
.woocommerce form.login::before,
.woocommerce form.register::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bp-primary);
}

.woocommerce form.register::before {
  background: var(--bp-accent);
}

/* Heading injected via ::after on the form? No — Woo already renders an h2 sibling outside the form.
   The H2 sits in the parent .col-1 / .col-2 wrapper. Style those headings to look like section heads
   sitting above each card, plus give the form a small icon header from CSS only. */

.woocommerce-account:not(.logged-in) .col-1 > h2,
.woocommerce-account:not(.logged-in) .col-2 > h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--bp-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-account:not(.logged-in) .col-1 > h2::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bp-primary-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231f4cff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 40px;
}

.woocommerce-account:not(.logged-in) .col-2 > h2::before {
  content: "";
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgb(255 122 26 / 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l7-4 7 4v14'/%3E%3Cpath d='M9 9h.01M13 9h.01M9 13h.01M13 13h.01M9 17h.01M13 17h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  flex: 0 0 40px;
}

/* Form rows: stack label over input, full width */
.woocommerce form.login .form-row,
.woocommerce form.register .form-row {
  display: grid;
  gap: 6px;
  margin: 0;
  width: 100%;
  float: none;
}

.woocommerce form.login label,
.woocommerce form.register label {
  color: var(--bp-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.woocommerce form.login .required,
.woocommerce form.register .required {
  color: var(--bp-accent);
  border: 0;
  text-decoration: none;
}

/* Inputs: subtle inner shadow + focus ring matched to context (blue on login, orange on register) */
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text {
  background: var(--bp-surface-2);
  border: 1.5px solid var(--bp-border);
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgb(10 18 38 / 0.04);
  font-size: 15px;
  min-height: 46px;
  padding: 11px 14px;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}

.woocommerce form.login input.input-text:focus {
  background: white;
  border-color: var(--bp-primary);
  box-shadow: var(--bp-focus);
}

.woocommerce form.register input.input-text:focus {
  background: white;
  border-color: var(--bp-accent);
  box-shadow: 0 0 0 3px rgb(255 122 26 / 0.22);
}

/* Password meter — keep it tight under the input */
.woocommerce-password-strength,
.woocommerce-password-hint {
  font-size: 12px;
  margin-top: 4px;
}

/* Remember me + lost-password row */
.woocommerce-form-login__rememberme {
  align-items: center;
  display: inline-flex !important;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  margin: 0;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
  accent-color: var(--bp-primary);
  height: 16px;
  margin: 0;
  width: 16px;
}

.woocommerce form.login p.lost_password {
  font-size: 13px;
  margin: 0;
}

.woocommerce form.login p.lost_password a {
  color: var(--bp-primary);
  font-weight: 600;
}

/* B2B note pseudo-card under the register password — uses :last-of-type form-row to anchor */
.woocommerce form.register::after {
  content: "ℹ︎ NIP / USt-IdNr / Steuer-ID uzupełnisz w panelu po aktywacji konta.";
  background: var(--bp-primary-soft);
  border: 1px solid rgb(31 76 255 / 0.18);
  border-radius: 10px;
  color: var(--bp-ink);
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  order: 90; /* between fields and submit */
  padding: 12px 14px;
}

/* Privacy / honeypot block on register stays subtle */
.woocommerce form.register .woocommerce-privacy-policy-text {
  color: var(--bp-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

/* Submit buttons — full width, contextual color, matching spacing */
.woocommerce form.login .form-row .button,
.woocommerce form.register .form-row .button,
.woocommerce form.login button.button[name="login"],
.woocommerce form.register button.button[name="register"] {
  margin-top: 6px;
  min-height: 48px;
  width: 100%;
}

.woocommerce form.login .form-row .button {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
}

.woocommerce form.register .form-row .button {
  background: var(--bp-accent);
  border-color: var(--bp-accent);
}

.woocommerce form.register .form-row .button:hover {
  background: var(--bp-accent-strong);
  border-color: var(--bp-accent-strong);
}

/* The submit form-row has no label — kill its grid gap quirk */
.woocommerce form.login .form-row.form-row-wide:has(> button.button),
.woocommerce form.register .form-row:has(> button.button) {
  margin-top: 4px;
}

/* ---- 2. Pill-style language switcher (PL / DE) ---- */
/* Markup is two <a> elements + a <span> separator inside .bp-langswitch.
   We swallow the separator, turn the container into a pill rail, and use is-active for the highlight. */

.bp-langswitch {
  align-items: stretch;
  background: rgb(255 255 255 / 0.06);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  gap: 0;
  padding: 3px;
  position: relative;
}

.bp-langswitch > span {
  display: none;
}

.bp-langswitch a {
  align-items: center;
  border-radius: 999px;
  color: rgb(255 255 255 / 0.62);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.08em;
  min-width: 38px;
  padding: 4px 12px;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.bp-langswitch a:hover {
  color: white;
}

.bp-langswitch a.is-active {
  background: white;
  color: var(--bp-ink);
  box-shadow: 0 1px 3px rgb(10 18 38 / 0.25);
}

.bp-langswitch a.is-active:hover {
  color: var(--bp-ink);
}

/* Footer (light-on-dark) variant — same pill, slightly muted track */
.bp-langswitch--footer {
  background: rgb(255 255 255 / 0.04);
  border-color: rgb(255 255 255 / 0.10);
}

/* Footer markup uses long labels "Polski" / "Deutsch" — hide them, render PL/DE via ::before */
.bp-langswitch--footer a {
  color: #a3afc4;
  font-size: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bp-langswitch--footer a::before {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bp-langswitch--footer a[hreflang="pl"]::before { content: "PL"; }
.bp-langswitch--footer a[hreflang="de"]::before { content: "DE"; }

.bp-langswitch--footer a.is-active {
  background: white;
  color: var(--bp-ink);
  text-decoration: none;
  box-shadow: 0 1px 3px rgb(10 18 38 / 0.3);
}

/* ---- 3. Box-sizing rhythm: equal heights, consistent padding, aligned CTAs ---- */

/* Hero cards — keep AIDesigner's normalized geometry but stronger frame */
.bp-hero__card {
  border-radius: 14px;
  padding: 22px;
}
.bp-hero__card--1 { width: 320px; }
.bp-hero__card--2 { width: 248px; }
.bp-hero__card--3 { width: 248px; }

/* Category cards — equal heights via flex column, CTA pinned to bottom */
.bp-cats { align-items: stretch; }
.bp-cat { display: flex; flex-direction: column; min-height: 100%; }
.bp-cat__visual { aspect-ratio: 16 / 9; height: auto; flex: 0 0 auto; }
.bp-cat__body { flex: 1 1 auto; padding: 24px 24px 22px; gap: 10px; }
.bp-cat__body h3 { font-size: 20px; }
.bp-cat__cta { margin-top: auto; padding-top: 4px; }

/* USP strip — match auth-card padding rhythm and card-style icon tiles */
.bp-usp__inner { padding: 0 24px; }
.bp-usp__item { gap: 14px; padding: 24px 18px; }
.bp-usp__icon {
  background: var(--bp-primary-soft);
  border-radius: 10px;
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
}
.bp-usp__item strong { font-size: 14.5px; line-height: 1.25; }
.bp-usp__item span { font-size: 12.5px; line-height: 1.4; }

/* Trust metrics — restrained scale, accent + on the digits feel */
.bp-metrics { gap: 32px; }
.bp-metric strong { font-size: 38px; letter-spacing: -0.025em; }
.bp-metric span {
  color: #a3afc4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-top: 10px;
  text-transform: uppercase;
}

/* FAQ items — round +/− toggle, soft hover, consistent padding */
.bp-faq__item {
  background: white;
  border: 1px solid var(--bp-border);
  padding: 20px 24px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.bp-faq__item:hover {
  border-color: var(--bp-line);
  box-shadow: 0 4px 20px -2px rgb(10 18 38 / 0.06);
}
.bp-faq__item summary { font-size: 16px; padding-right: 40px; }
.bp-faq__item summary::after {
  background: var(--bp-surface-2);
  border-color: var(--bp-border);
  height: 28px;
  width: 28px;
  font-size: 18px;
  transition: background-color 200ms ease, transform 250ms ease;
}
.bp-faq__item[open] summary::after {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
  color: white;
  transform: translateY(-50%) rotate(180deg);
}
.bp-faq__item[open] summary { color: var(--bp-ink); }

/* Configurator preview — keep generous internal padding, capped width */
.bp-configurator-preview { padding: 26px 28px; }
.bp-configurator-preview__row { padding: 12px 14px; }

/* Account cards on dashboard — match the unified rhythm */
.bp-account-card { padding: 20px; min-height: 132px; }

/* Responsive overrides for the AIDesigner pass */
@media (max-width: 860px) {
  .woocommerce form.login,
  .woocommerce form.register { padding: 28px 22px 24px; }
  .woocommerce-account:not(.logged-in) .col-1 > h2,
  .woocommerce-account:not(.logged-in) .col-2 > h2 { font-size: 20px; }
  .bp-langswitch a { min-width: 34px; padding: 3px 10px; }
  .bp-cat__body { padding: 20px; }
}

/* ============== Anti-WordPress polish: bullets, cart, prices ============== */
.bp-utility__list li span { display: none; }
.bp-utility__list li { gap: 0; }

/* hide WP-y empty-cart icons (mask-image on ::before, not <svg>) */
.with-empty-cart-icon::before,
.wc-block-cart__empty-cart__title::before,
.wc-block-mini-cart__empty-cart-icon { display: none !important; }
.with-empty-cart-icon { padding-top: 0 !important; }

/* cart/checkout container — wide grid, sidebar sticky */
.woocommerce-cart .bp-content--shop,
.woocommerce-checkout .bp-content--shop { max-width: var(--bp-max); padding: 28px 24px 80px; }

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide { max-width: 100% !important; margin: 0 !important; }

.wp-block-woocommerce-cart .wc-block-cart,
.wp-block-woocommerce-checkout .wc-block-checkout {
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
  padding: 0;
}

.wc-block-cart__main,
.wc-block-checkout__main {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  min-width: 0;
  padding: 24px 28px;
  width: 100% !important;
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
  background: var(--bp-surface);
  border: 1px solid var(--bp-border);
  border-radius: var(--bp-radius);
  height: max-content;
  min-width: 0;
  padding: 24px;
  position: sticky;
  top: 96px;
  width: 100% !important;
}

/* product image in cart line item — bound, but don't break table layout */
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img {
  border-radius: 8px;
  max-width: 90px;
  width: 80px;
  height: auto;
}
.wc-block-cart-item__image { width: 90px; }

.wc-block-cart-items__row { border-bottom: 1px solid var(--bp-border); }
.wc-block-cart-items__row:last-child { border-bottom: 0; }
.wc-block-cart-items__row > td { padding: 16px 12px !important; vertical-align: top; }

/* totals — bigger */
.wc-block-components-totals-wrapper { padding: 12px 0 !important; }
.wc-block-components-totals-footer-item,
.wc-block-components-totals-item--total { font-size: 18px !important; font-weight: 800 !important; }
.wc-block-components-totals-item__label { color: var(--bp-text); font-weight: 600; }
.wc-block-components-totals-item__value { color: var(--bp-text); font-weight: 700; }

/* coupon disclosure — calmer */
.wc-block-components-totals-coupon__button {
  background: transparent !important;
  color: var(--bp-primary) !important;
  font-weight: 700 !important;
  padding: 8px 0 !important;
}
.wc-block-components-totals-coupon-link { color: var(--bp-primary); font-weight: 700; }

/* primary CTA — orange B2B */
.wc-block-cart__submit-container,
.wp-block-woocommerce-proceed-to-checkout-block { width: 100%; }

.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-cart__submit-container .wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout-block a,
.wp-block-woocommerce-proceed-to-checkout-block button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
.wc-block-checkout__actions_row .wc-block-components-button {
  align-items: center !important;
  background: var(--bp-accent) !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: white !important;
  display: flex !important;
  font-weight: 800 !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 14px 22px !important;
  white-space: normal !important;
  width: 100% !important;
}
.wc-block-cart__submit-container .wc-block-cart__submit-button:hover,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
  background: var(--bp-accent-strong) !important;
}

/* quantity controls — sane size */
.wc-block-components-quantity-selector {
  border: 1px solid var(--bp-line) !important;
  border-radius: 8px !important;
  height: 40px !important;
  width: max-content !important;
}
.wc-block-components-quantity-selector input {
  font-weight: 700;
  width: 40px !important;
}
.wc-block-components-quantity-selector__button {
  height: 40px !important;
  width: 40px !important;
}

/* responsive */
@media (max-width: 960px) {
  .wp-block-woocommerce-cart .wc-block-cart,
  .wp-block-woocommerce-checkout .wc-block-checkout { grid-template-columns: 1fr; }
  .wc-block-cart__sidebar,
  .wc-block-checkout__sidebar { position: static; }
  .wc-block-cart-items__row { grid-template-columns: 72px minmax(0, 1fr); }
  .wc-block-cart-items__row .wc-block-cart-item__total { grid-column: 1 / -1; text-align: right; }
}

.bp-price-cta {
  align-items: center;
  background: var(--bp-accent);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 150ms ease;
}
.bp-price-cta:hover { background: var(--bp-accent-strong); color: white; }

.wc-block-cart, .wc-block-checkout {
  padding: 28px;
}
.wc-block-cart-items__row { padding: 16px 0 !important; }
.wc-block-cart__submit-container .wc-block-cart__submit-button,
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  background: var(--bp-accent) !important;
  border-radius: 10px !important;
  color: white !important;
  font-weight: 800 !important;
  padding: 14px 22px !important;
}
.wc-block-components-totals-footer-item { font-size: 18px !important; }

