/* sklep.faneo.net: kolory i logo zgodne z faneo.net (czarny + akcent #ff3800) */
:root {
  --primary: #000;
  --accent: #ff3800;
  --accent-dark: #d92f00;
  --bg: #f6f6f4;
  --card: #fff;
  --text: #17212a;
  --muted: #667085;
  --line: #e5e5e1;
  --ok: #12805c;
  --ok-bg: #e7f6ef;
  --err: #b42318;
  --err-bg: #fdecea;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* nagłówek */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a.link { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a.link:hover { color: var(--accent-dark); }

/* przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; font: 600 1rem/1 inherit; text-decoration: none;
  transition: background .15s, transform .05s;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--primary); }
.btn-dark:hover { background: #222; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-block { width: 100%; padding: 16px 24px; font-size: 1.05rem; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* sekcje */
main { flex: 1; }
.section { padding: 48px 0; }
.hero { background: var(--primary); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent), rgba(255, 56, 0, 0) 70%); opacity: .55;
}
.hero .wrap { position: relative; z-index: 1; }
.hero p.lead { font-size: 1.15rem; color: #d0d5dd; max-width: 560px; margin-bottom: 1.6em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: .35em; }
.step p { color: var(--muted); margin: 0; }

/* karty i koszyk */
.page-title { margin: 32px 0 20px; }
.cart-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; padding-bottom: 56px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }
.mockups { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; }
.mockups img { border: 1px solid var(--line); border-radius: 10px; background: #fafafa; width: 100%; }
.product-name { font-size: 1.35rem; margin-bottom: 2px; }
.product-meta { color: var(--muted); margin-bottom: 16px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip { background: #f2f2ee; border-radius: 999px; padding: 6px 12px; font-size: .92rem; }
.chip b { font-weight: 700; }
.prices { width: 100%; border-collapse: collapse; margin-top: 8px; }
.prices td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.prices td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.prices tr.total td { border-bottom: 0; font-size: 1.25rem; font-weight: 700; padding-top: 14px; }
.prices tr.total td:last-child { color: var(--accent-dark); }
.edit-link { display: inline-block; margin-top: 14px; font-size: .95rem; }

/* formularz */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 5px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input:not([type]) {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd4dc; border-radius: 10px; font: inherit; background: #fff; color: var(--text);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.row { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; margin: 6px 0 18px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .88rem; margin-top: 12px; }

/* komunikaty i strony statusu */
.notice { max-width: 560px; margin: 56px auto; text-align: center; }
.icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; font-size: 34px; }
.icon.ok { background: var(--ok-bg); color: var(--ok); }
.icon.wait { background: #fff3e8; color: var(--accent-dark); }
.icon.err { background: var(--err-bg); color: var(--err); }
.order-no { display: inline-block; background: #f2f2ee; border-radius: 10px; padding: 8px 16px; font-weight: 700; letter-spacing: .04em; margin: 4px 0 14px; }
.spinner { width: 28px; height: 28px; border: 3px solid #ffd9cc; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* stopka */
.site-footer { background: var(--card); border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 22px 0; margin-top: auto; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.site-footer a { color: var(--muted); }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 52px; }
  .row { grid-template-columns: 1fr; }
  .nav a.link { display: none; }
}
