* { box-sizing: border-box; }

:root {
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --ink: #1B171E;
  --muted: #7A7A7A;
  --line: #E7E7E7;
  --rose: #1B171E;
  --rose-d: #1B171E;
  --rose-l: #F5F5F5;
  --sage: #1B171E;
  --sage-d: #1B171E;
  --sage-l: #F5F5F5;
  --sand: #F5F5F5;
  --radius: 0px;
  --shadow: none;
  --serif: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, -apple-system, "Segoe UI", Arial, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

input, textarea, select {
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px var(--rose-l);
}
textarea { resize: vertical; }

.btn {
  background: var(--rose-d);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(185, 106, 130, 0.3);
}
.btn:hover { background: #a85d75; transform: translateY(-1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.ghost {
  background: transparent;
  color: var(--rose-d);
  box-shadow: none;
  border: 1.5px solid var(--rose);
}
.btn.ghost:hover { background: var(--rose-l); }
.btn.small { padding: 7px 14px; font-size: 13px; }

.brand { display: flex; align-items: center; gap: 9px; }
.logo {
  width: 30px; height: 30px; border-radius: 10px;
  background: linear-gradient(135deg, #E8A3B5, #C9788A);
  color: #fff; display: grid; place-items: center; font-size: 16px;
}
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.2px; }

.seg { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button {
  padding: 6px 14px; border-radius: 999px; font-weight: 600;
  color: var(--muted); font-size: 13px; transition: all 0.15s;
}
.seg button.on { background: #fff; color: var(--rose-d); box-shadow: 0 2px 8px rgba(120, 80, 90, 0.12); }

.chip {
  display: inline-block; padding: 2px 9px; border-radius: 999px;
  background: var(--sage-l); color: var(--sage-d);
  font-size: 12px; font-weight: 600; white-space: nowrap;
}
.chip.off { background: #F1ECEA; color: #B5A8AC; text-decoration: line-through; font-weight: 500; }

.pill {
  display: inline-block; min-width: 20px; padding: 0 7px; border-radius: 999px;
  background: var(--rose-l); color: var(--rose-d); font-size: 12px; font-weight: 700; text-align: center;
}

/* wybrany rozmiar: podświetlony, reszta wyszarzona */
.chip.pick-on { background: var(--rose); color: #fff; }
.chip.dim { background: #F1ECEA; color: #B5A8AC; font-weight: 500; }

/* ===== v29: minimalizm premium (biel, grafit, cienkie linie, ostre rogi) ===== */
body { font-size: 13.5px; letter-spacing: 0.01em; font-weight: 400; }
h1, h2, h3 { font-weight: 400; letter-spacing: 0.01em; }
*, *::before, *::after { border-radius: 0 !important; box-shadow: none !important; }
.avatar-btn, .avatar-btn *, .icon-btn, .ok-mark, .swatch, .spin { border-radius: 999px !important; }
.icon-btn { border-radius: 999px !important; }
input, textarea, select {
  border: 1px solid var(--line); padding: 10px 12px; background: #fff; transition: border-color .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: none !important; }
.btn {
  background: var(--ink); color: #fff; padding: 12px 26px; font-weight: 500; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; transition: opacity .15s;
}
.btn:hover { background: var(--ink); opacity: .85; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; opacity: 1; }
.btn.small { padding: 8px 16px; font-size: 11px; }
.logo { width: auto !important; height: auto !important; background: none !important; }
.logo svg { fill: var(--ink); width: 11px; height: 16px; }
.brand { gap: 10px; }
.brand-name { font-family: var(--sans); font-size: 15px !important; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; }
.seg { background: transparent; border: 1px solid var(--line); padding: 0; gap: 0; }
.seg button { padding: 8px 16px; font-weight: 400; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.seg button.on { background: var(--ink); color: #fff; }
.chip { background: transparent; border: 1px solid #D4D4D4; color: var(--ink); font-weight: 400; padding: 2px 10px; }
.chip.off { background: transparent; border-color: #EAEAEA; color: #B8B8B8; text-decoration: line-through; }
.chip.pick-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.dim { background: transparent; border-color: #EAEAEA; color: #B8B8B8; }
.pill { background: transparent; color: var(--muted); font-weight: 400; padding: 0 2px; min-width: 0; }
.logo svg { fill: none !important; stroke: var(--ink); width: 19px !important; height: 19px !important; }
.brand-name { letter-spacing: 0.34em; }
.motto { font-size: 10.5px; letter-spacing: .06em; color: var(--muted); margin: -2px 0 2px; }
