:root {
  --bg: #0e141d;
  --bg-soft: #141d28;
  --card: #192431;
  --card-2: #1e2b39;
  --line: #2b3a4b;
  --text: #f1ede4;
  --muted: #a3b0bd;
  --gold: #e8b96a;
  --gold-dark: #b98c42;
  --green: #6fd4a0;
  --red: #f08e8e;
  --blue: #8fc6ff;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: #ffd79a; }
img { max-width: 100%; display: block; }
small { font-size: .82rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
.small { font-size: .88rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.eyebrow { display: inline-block; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; margin-bottom: 12px; }

.topbar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 9px 5%; background: linear-gradient(90deg, #1a2635, #10151d); border-bottom: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); letter-spacing: .03em;
}
.site-header {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 30px;
  padding: 16px 5%; background: rgba(14, 20, 29, .94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: Georgia, serif; font-size: 1.45rem; letter-spacing: .18em; }
.brand:hover { color: var(--text); }
.logo-mark { color: var(--gold); width: 34px; height: 34px; display: inline-flex; }
.logo-mark svg { width: 100%; height: 100%; }
.main-nav { display: flex; gap: 26px; flex: 1; }
.main-nav a { color: var(--muted); font-size: .92rem; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.cart-link { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--text); }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--gold); color: #15191f; font-size: .72rem; font-weight: 800; margin-left: 5px; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 75% 35%, #26364a 0, #121a25 55%, #0e141d 100%); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1200px; margin: auto; padding: 70px 5%; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); margin-bottom: 18px; }
.hero-copy h1 em { color: var(--gold); font-style: italic; }
.hero-copy p { max-width: 520px; color: var(--muted); font-size: 1.05rem; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(100%, 480px); border-radius: 50%; filter: drop-shadow(0 25px 60px rgba(232, 185, 106, .18)); }

.section { max-width: 1200px; margin: auto; padding: 60px 5%; }
.section.narrow { max-width: 720px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 0; }
.link { font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 22px; }
.product-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.product-card:hover { transform: translateY(-4px); border-color: var(--gold-dark); }
.product-image { display: block; aspect-ratio: 1; overflow: hidden; background: #111923; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 18px; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 24px; margin-bottom: 10px; }
.badge { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: rgba(232, 185, 106, .14); color: var(--gold); border: 1px solid rgba(232, 185, 106, .25); }
.product-title { color: var(--text); font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.35; display: block; margin-bottom: 6px; }
.product-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 16px; }
.price { font-size: 1.2rem; color: var(--gold); }

.how { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.step { padding: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold-dark); color: var(--gold); font-family: Georgia, serif; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pad { padding: 24px; }
.pad-xl { padding: 44px; }
.card-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }
.big-icon { font-size: 3rem; color: var(--gold); margin-bottom: 8px; }

.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 8px; border: 1px solid var(--gold-dark); background: linear-gradient(180deg, #eac37c, #c69748); color: #161a20; font-weight: 700; font-size: .92rem; cursor: pointer; transition: filter .15s, transform .15s; }
.btn:hover { filter: brightness(1.08); color: #161a20; transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, #eac37c, #c69748); }
.btn.outline { background: transparent; color: var(--gold); border-color: var(--gold-dark); }
.btn.outline:hover { color: #ffd79a; }
.btn.small { padding: 7px 13px; font-size: .82rem; }
.btn.block { width: 100%; margin-top: 16px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: .85rem; }
.btn-ghost:hover { color: var(--text); border-color: var(--gold-dark); }
.btn-ghost.small { padding: 6px 10px; font-size: .8rem; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }

.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.chip.active, .chip:hover { border-color: var(--gold-dark); color: var(--gold); }
.toolbar-form { display: flex; gap: 8px; flex-wrap: wrap; }
input, select, textarea { background: #111923; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: .92rem; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(232, 185, 106, .09); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; padding: 0; }
textarea { resize: vertical; }

.product-page .breadcrumbs { color: var(--muted); font-size: .85rem; margin-bottom: 24px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.detail-image { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.detail-image img { width: 100%; }
.detail-info h1 { font-size: 2.2rem; }
.detail-price { font-family: Georgia, serif; font-size: 2rem; color: var(--gold); margin: 20px 0; }
.description { color: var(--muted); }
.specs { margin: 24px 0; border-top: 1px solid var(--line); }
.spec { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }
.buy-box { display: flex; align-items: end; gap: 12px; }
.buy-box label { display: grid; gap: 6px; color: var(--muted); font-size: .85rem; }
.buy-box input { width: 80px; }
.delivery-note { display: flex; gap: 12px; margin-top: 24px; padding: 16px; background: var(--bg-soft); border-left: 3px solid var(--gold-dark); border-radius: 0 8px 8px 0; }
.delivery-note > span { color: var(--gold); font-size: 1.3rem; }
.delivery-note p { margin: 4px 0 0; }

.cart-rows { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-info a { color: var(--text); display: block; }
.qty-form input { width: 65px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.form-card { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid.compact { grid-template-columns: 1fr 1fr; }
.form-grid .wide { grid-column: 1 / -1; }
.form-card label, .track-form label, .blik-form label { display: grid; gap: 7px; color: var(--muted); font-size: .87rem; }
.summary { background: var(--bg-soft); }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.summary-line.total { border-bottom: 0; font-size: 1.1rem; padding-top: 16px; }
.summary-line.accent strong { color: var(--gold); }
.summary h3 { margin-bottom: 14px; }
.sticky { position: sticky; top: 90px; }
.radio-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.radio-row span { flex: 1; }
.radio-row small { display: block; }
.check-row { display: flex; align-items: start; gap: 10px; margin-top: 18px; color: var(--muted); font-size: .85rem; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-size: .9rem; }
.alert.error { background: rgba(240, 142, 142, .12); border: 1px solid rgba(240, 142, 142, .3); }
.alert.info { background: rgba(143, 198, 255, .1); border: 1px solid rgba(143, 198, 255, .25); }
.blik-form input[type="text"], .blik-form input:not([type]) { font-size: 2rem; letter-spacing: .5em; text-align: center; margin: 10px 0; }
.transfer-box { margin: 20px 0; padding: 6px 16px; background: var(--bg-soft); border-radius: 10px; }
.track-form { display: grid; gap: 16px; margin-top: 20px; }

.order-layout { display: grid; grid-template-columns: 1fr 330px; gap: 22px; align-items: start; }
.order-hero { margin-bottom: 22px; }
.order-hero p { margin: 8px 0 0; }
.order-status-line { margin-bottom: 10px; }
.order-section-title { margin: 24px 0 12px; }
.supplier-order { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 14px; }
.supplier-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.tracking { font-size: .9rem; margin: 10px 0; }
.events { list-style: none; padding: 0; margin: 14px 0 0; font-size: .84rem; }
.events li { padding: 7px 0; border-top: 1px solid var(--line); color: var(--muted); }
.events li span { display: inline-block; min-width: 130px; color: #7d8c9c; }
.timeline h4 { margin-top: 22px; }
.timeline-item { padding: 9px 0; border-left: 2px solid var(--gold-dark); padding-left: 12px; font-size: .82rem; margin-left: 4px; color: var(--muted); }
.timeline-item span { display: block; font-size: .72rem; color: #7d8c9c; }
.status-pill { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: .74rem; background: #263546; color: var(--muted); white-space: nowrap; }
.status-pill.big { font-size: .95rem; padding: 8px 16px; }
.status-paid, .status-accepted, .status-completed, .status-delivered, .status-shipped { background: rgba(111, 212, 160, .15); color: var(--green); }
.status-pending_payment, .status-new, .status-processing, .status-partially_shipped, .status-local, .status-sent { background: rgba(232, 185, 106, .15); color: var(--gold); }
.status-cancelled, .status-failed, .status-failed-payment { background: rgba(240, 142, 142, .14); color: var(--red); }

.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; font-size: 1.5rem; }
.prose h3 { margin-top: 22px; }
.prose p, .prose li { color: var(--muted); }
.form-template { background: var(--bg-soft); color: var(--muted); line-height: 2; margin: 16px 0; }

.site-footer { border-top: 1px solid var(--line); background: #0b1017; padding: 50px 5% 22px; }
.footer-grid { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-size: .95rem; color: var(--text); }
.footer-grid p { line-height: 1.9; }
.brand-footer { font-size: 1.2rem; margin-bottom: 10px; }
.footer-bottom { max-width: 1200px; margin: 34px auto 0; padding-top: 18px; border-top: 1px solid var(--line); color: #6f7e8d; font-size: .8rem; text-align: center; }

/* Panel administratora */
.admin-body .main-nav { justify-content: flex-start; }
.admin-section { max-width: 1320px; }
.admin-section.narrow-admin { max-width: 900px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 22px; }
.kpi { display: grid; gap: 4px; }
.kpi span { color: var(--muted); font-size: .82rem; }
.kpi strong { font-family: Georgia, serif; font-size: 1.9rem; color: var(--text); }
.kpi small { color: #7d8c9c; }
.kpi.accent strong { color: var(--gold); }
.admin-columns { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-bottom: 22px; align-items: start; }
.owner-box { background: var(--bg-soft); border-radius: 10px; padding: 10px 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.table th { text-align: left; color: var(--muted); font-weight: 500; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.product-cell { display: flex; gap: 10px; align-items: center; }
.product-cell img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.filter-form { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.sub-order { margin-bottom: 16px; }
.tracking-form { margin: 12px 0; flex-wrap: wrap; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.login-card { margin-top: 20px; }
.env-list { color: var(--muted); font-size: .88rem; line-height: 2; }
.mail-item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.mail-item summary { cursor: pointer; font-size: .88rem; }
.mail-item pre { white-space: pre-wrap; background: #111923; padding: 16px; border-radius: 8px; color: var(--muted); font-size: .82rem; overflow-x: auto; }

/* Nowa odsłona sklepu */
body { background-image: radial-gradient(circle at 12% 8%, rgba(232, 185, 106, .05), transparent 30%), radial-gradient(circle at 88% 42%, rgba(143, 198, 255, .04), transparent 32%); }
.hero-badge { display: inline-block; margin: 34px 5% -10px; padding: 7px 14px; border: 1px solid rgba(232, 185, 106, .35); border-radius: 999px; color: var(--gold); background: rgba(232, 185, 106, .08); font-size: .78rem; letter-spacing: .04em; }
.hero-art { position: relative; }
.hero-art > img { width: min(78%, 380px); }
.hero-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(25, 36, 49, .92); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.hero-float > span { font-size: 1.5rem; }
.hero-float strong { display: block; font-size: .85rem; }
.hero-float small { color: var(--muted); font-size: .72rem; }
.float-a { top: 18%; right: 2%; }
.float-b { bottom: 16%; left: 0; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > div { display: flex; align-items: center; gap: 12px; padding: 20px 5%; background: var(--bg-soft); }
.trust-strip span { font-size: 1.6rem; }
.trust-strip p { margin: 0; }
.trust-strip strong { display: block; font-size: .85rem; }
.trust-strip small { color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.category-tile { display: grid; gap: 4px; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: transform .18s, border-color .18s, background .18s; }
.category-tile:hover { transform: translateY(-3px); border-color: var(--gold-dark); background: var(--card-2); color: var(--text); }
.category-icon { font-size: 2rem; line-height: 1; }
.category-tile strong { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 500; }
.category-tile small { color: var(--muted); }
.product-brand { display: block; color: var(--gold); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.product-card .badges { min-height: 20px; margin-bottom: 6px; }
.badge-hot { background: rgba(240, 142, 142, .14); border-color: rgba(240, 142, 142, .3); color: #ffb0a4; }
.rating-line { display: flex; align-items: center; gap: 8px; margin: 8px 0 4px; font-size: .85rem; }
.rating { color: var(--gold); letter-spacing: .06em; }
.rating-muted { color: #435366; }
.discount-tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 6px; background: #d7605c; color: #fff; font-size: .72rem; font-weight: 800; }
.discount-tag.big { top: 18px; left: 18px; font-size: .95rem; padding: 8px 12px; }
.old-price { color: #7f8c9a; text-decoration: line-through; font-size: .82rem; margin-left: 8px; }
.old-price.large { font-size: 1.1rem; }
.detail-image { position: relative; }
.product-card { box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.product-card:hover { box-shadow: 0 18px 38px rgba(0, 0, 0, .3); }
.catalog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.filters h3 { font-size: 1.1rem; }
.filter-label { margin: 18px 0 8px; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.filter-link { display: block; padding: 6px 8px; border-radius: 6px; color: var(--muted); font-size: .85rem; }
.filter-link:hover, .filter-link.active { background: rgba(232, 185, 106, .1); color: var(--gold); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 34px; }
.pagination a, .pagination span { min-width: 38px; padding: 8px 12px; text-align: center; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.pagination a:hover, .pagination a.active { border-color: var(--gold-dark); color: var(--gold); background: rgba(232, 185, 106, .08); }
.pagination .disabled { opacity: .4; }
.promo-band { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; align-items: center; background: linear-gradient(120deg, #202d3d, #151d27); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; padding: 44px 5%; }
.promo-band > div:first-child { max-width: 380px; margin-left: auto; }
.promo-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 640px; }
.similar { margin-top: 54px; padding-top: 30px; border-top: 1px solid var(--line); }
.btn.primary { box-shadow: 0 6px 20px rgba(232, 185, 106, .18); }
.site-header { box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.main-nav a { white-space: nowrap; }

@media (max-width: 900px) {
  .catalog-layout, .promo-band, .promo-products, .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div { padding: 14px 5%; }
  .hero-float { display: none; }
  .filters { display: none; }
  .promo-band > div:first-child { margin: 0; }
  .hero-inner, .product-detail, .checkout-layout, .order-layout, .admin-columns, .footer-grid { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; gap: 12px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; }
  .sticky { position: static; }
  .hero-art { order: -1; }
  .form-grid, .form-grid.compact { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .cart-row { grid-template-columns: 60px 1fr auto; }
  .cart-row strong { grid-column: 2 / -1; }
}
