/* Style strony salonu (publiczna + podgląd w edytorze). Wszystko steruje motyw przez zmienne CSS. */
:root {
  --bw-primary: #d6336c; --bw-primary-text: #ffffff; --bw-bg: #ffffff; --bw-surface: #fff1f5;
  --bw-text: #2b2b2b; --bw-muted: #7a7a7a; --bw-radius: 16px;
  --bw-font-head: 'Playfair Display', Georgia, serif; --bw-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.bw-site, .bw-site * { box-sizing: border-box; }
.bw-site { margin: 0; background: var(--bw-bg); color: var(--bw-text); font-family: var(--bw-font-body); line-height: 1.65; }
.bw-site img { max-width: 100%; }
.bw-site h1, .bw-site h2, .bw-site h3, .bw-site h4 { font-family: var(--bw-font-head); line-height: 1.2; margin: 0 0 .6em; }
.bw-site h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.bw-site h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.bw-site a { color: var(--bw-primary); }
.bw-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.bw-narrow { max-width: 800px; }
.bw-center { text-align: center; }
.bw-muted { color: var(--bw-muted); }
.bw-section { padding: 72px 0; }
.bw-section--alt { background: var(--bw-surface); }
.bw-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; color: var(--bw-primary); font-weight: 600; margin: 0 0 .8em; }
.bw-lead { font-size: 1.15rem; color: var(--bw-muted); max-width: 640px; }
.bw-center .bw-lead, .bw-actions--center { margin-left: auto; margin-right: auto; }
.bw-hero { padding: 120px 0; background: linear-gradient(135deg, var(--bw-surface), var(--bw-bg)); background-size: cover; background-position: center; }
.bw-hero__inner { max-width: 760px; }
.bw-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.bw-actions--center { justify-content: center; }
.bw-btn { display: inline-block; padding: 14px 30px; border-radius: var(--bw-radius); background: var(--bw-primary); color: var(--bw-primary-text) !important;
  text-decoration: none; font-weight: 600; border: 2px solid var(--bw-primary); cursor: pointer; font-family: inherit; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
.bw-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.bw-btn--ghost { background: transparent; color: var(--bw-primary) !important; }
.bw-btn--light { background: #fff; color: #222 !important; border-color: #fff; }
.bw-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.bw-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bw-grid { display: grid; gap: 24px; }
.bw-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bw-grid--3 { grid-template-columns: repeat(3, 1fr); }
.bw-grid--4 { grid-template-columns: repeat(4, 1fr); }
.bw-card { background: var(--bw-bg); border-radius: var(--bw-radius); padding: 28px; box-shadow: 0 6px 24px rgba(0,0,0,.07); }
.bw-section--alt .bw-card { background: var(--bw-bg); }
.bw-icon { font-size: 2rem; margin-bottom: .4em; }
.bw-img { width: 100%; height: auto; border-radius: var(--bw-radius); display: block; object-fit: cover; }
.bw-img--sq { aspect-ratio: 1 / 1; }
.bw-cta { background: var(--bw-primary); color: var(--bw-primary-text); }
.bw-cta .bw-lead, .bw-cta h2 { color: var(--bw-primary-text); }
.bw-divider { border: 0; border-top: 1px solid rgba(128,128,128,.3); margin: 32px 0; }
.bw-spacer { height: 48px; }
.bw-table { width: 100%; border-collapse: collapse; }
.bw-table th, .bw-table td { padding: 14px 10px; border-bottom: 1px solid rgba(128,128,128,.25); text-align: left; }
.bw-table td:last-child, .bw-table th:last-child { text-align: right; white-space: nowrap; }
.bw-faq { border-bottom: 1px solid rgba(128,128,128,.25); padding: 14px 0; }
.bw-faq summary { cursor: pointer; font-weight: 600; }
.bw-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--bw-radius); overflow: hidden; }
.bw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bw-widget-ph { border: 2px dashed var(--bw-primary); border-radius: var(--bw-radius); padding: 36px; text-align: center; color: var(--bw-muted); background: var(--bw-surface); }

/* nagłówek i stopka strony */
.bw-header { position: sticky; top: 0; z-index: 50; background: var(--bw-bg); border-bottom: 1px solid rgba(128,128,128,.2); }
.bw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.bw-brand { display: flex; align-items: center; gap: 10px; font-family: var(--bw-font-head); font-size: 1.5rem; font-weight: 700; color: var(--bw-text) !important; text-decoration: none; }
.bw-brand img { height: 42px; width: auto; }
.bw-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.bw-nav a { text-decoration: none; color: var(--bw-text); font-weight: 500; }
.bw-nav a:hover { color: var(--bw-primary); }
.bw-nav .bw-btn { color: var(--bw-primary-text); padding: 9px 20px; }
.bw-footer { background: var(--bw-surface); padding: 40px 0; text-align: center; color: var(--bw-muted); font-size: .92rem; }
.bw-footer a { color: inherit; }

/* usługi / zespół / godziny / kontakt */
.bw-svc-cat { margin: 32px 0 12px; }
.bw-svc { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(128,128,128,.25); }
.bw-svc__name { font-weight: 600; }
.bw-svc__meta { color: var(--bw-muted); font-size: .9rem; }
.bw-svc__price { font-weight: 700; white-space: nowrap; color: var(--bw-primary); }
.bw-svc-cards .bw-card img { margin-bottom: 14px; aspect-ratio: 4 / 3; }
.bw-team-card { text-align: center; }
.bw-team-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; display: block; }
.bw-hours { width: 100%; max-width: 420px; margin: 0 auto; border-collapse: collapse; }
.bw-hours td { padding: 8px 4px; border-bottom: 1px dashed rgba(128,128,128,.3); }
.bw-hours td:last-child { text-align: right; font-weight: 600; }
.bw-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.bw-contact iframe { width: 100%; height: 340px; border: 0; border-radius: var(--bw-radius); }

/* rezerwacja online */
.bw-booking { background: var(--bw-bg); border-radius: var(--bw-radius); box-shadow: 0 10px 40px rgba(0,0,0,.1); padding: 30px; max-width: 880px; margin: 0 auto; }
.bw-booking h3 { margin-top: 0; }
.bw-steps { display: grid; gap: 22px; }
.bw-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.bw-field input, .bw-field select, .bw-field textarea { width: 100%; padding: 12px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: calc(var(--bw-radius) / 1.6);
  font: inherit; background: var(--bw-bg); color: var(--bw-text); }
.bw-fields-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bw-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-calendar { max-width: 420px; border: 1px solid rgba(128,128,128,.3); border-radius: var(--bw-radius); padding: 14px; }
.bw-calendar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; text-align: center; }
.bw-calendar-nav, .bw-calendar-day { font: inherit; border: 1px solid transparent; background: transparent; color: var(--bw-text); border-radius: 8px; cursor: pointer; min-height: 42px; }
.bw-calendar-nav { min-width: 42px; font-size: 1.4rem; }
.bw-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; text-align: center; }
.bw-calendar-weekday { font-size: .8rem; color: var(--bw-muted); }
.bw-calendar-day:not(:disabled) { border-color: #176632; background: #e4f8e9; color: #176632; font-weight: 600; }
.bw-calendar-day:not(:disabled):hover, .bw-calendar-day[aria-pressed="true"] { background: #176632; color: #fff; }
.bw-calendar-day.bw-calendar-day--busy:not(:disabled) { border-color: #a61e1e; background: #ffe3e3; color: #a61e1e; }
.bw-calendar-day.bw-calendar-day--busy[aria-pressed="true"] { background: #a61e1e; color: #fff; }
.bw-calendar-day:disabled, .bw-calendar-nav:disabled { opacity: .35; cursor: not-allowed; }
.bw-calendar-status { margin-top: 8px; color: var(--bw-muted); font-size: .9rem; }
.bw-calendar-retry { font: inherit; color: var(--bw-primary); background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
.bw-calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .85rem; }
.bw-calendar-legend-free::before, .bw-calendar-legend-busy::before { content: ''; display: inline-block; width: .75em; height: .75em; border-radius: 50%; margin-right: .4em; }
.bw-calendar-legend-free::before { background: #176632; }
.bw-calendar-legend-busy::before { background: #a61e1e; }
.bw-slot { padding: 10px 16px; border: 1px solid #176632; background: #e4f8e9; color: #176632; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; }
.bw-slot.is-active, .bw-slot:not(:disabled):hover { background: #176632; color: #fff; }
.bw-slot.bw-slot--busy { border-color: #a61e1e; background: #ffe3e3; color: #a61e1e; cursor: not-allowed; text-decoration: line-through; }
.bw-msg { padding: 14px 18px; border-radius: calc(var(--bw-radius) / 1.6); margin-top: 14px; }
.bw-msg--ok { background: #d3f9d8; color: #1b5e20; }
.bw-msg--err { background: #ffe3e3; color: #a61e1e; }
.bw-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.bw-consent { font-size: .85rem; display: flex; gap: 10px; align-items: flex-start; }
.bw-consent input { width: auto; margin-top: 4px; }

.bw-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.bw-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bw-primary); color: var(--bw-primary-text); padding: 10px 16px; border-radius: 8px; }
.bw-skip:focus { left: 8px; }
.bw-preview { background: #212529; color: #fff; text-align: center; padding: 8px; font: 14px sans-serif; }
.bw-site a:focus-visible, .bw-site button:focus-visible, .bw-site input:focus-visible, .bw-site select:focus-visible, .bw-site textarea:focus-visible, .bw-site summary:focus-visible { outline: 3px solid var(--bw-primary); outline-offset: 2px; }
.bw-nav a[aria-current="page"] { color: var(--bw-primary); }
@media (prefers-reduced-motion: reduce) { .bw-site * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media (max-width: 800px) {
  .bw-section { padding: 48px 0; }
  .bw-hero { padding: 72px 0; }
  .bw-split, .bw-grid--2, .bw-grid--3, .bw-grid--4, .bw-contact, .bw-fields-2 { grid-template-columns: 1fr; }
  .bw-header__inner { justify-content: center; }
}

/* Ikony social media */
.bw-social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 16px 0 0; padding: 0; }
.bw-social a { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 12px; justify-content: center; border-radius: 999px; background: var(--bw-primary); color: #fff; text-decoration: none; font-weight: 600; transition: transform .15s, box-shadow .15s; }
.bw-social a:hover, .bw-social a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.bw-social svg { width: 22px; height: 22px; flex: none; }
.bw-footer .bw-social a { background: transparent; color: inherit; border: 1px solid currentColor; opacity: .85; }
.bw-contact .bw-social { justify-content: flex-start; }