/* FlyingAtom.shop – styl zgodny z motywem sklepu (Poppins, granat #282561) */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/roboto-condensed-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/roboto-condensed-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --navy: #282561;
  --navy-dark: #1e1c4a;
  --ink: #232323;
  --head: #323232;
  --muted: #777;
  --line: #eeeeee;
  --line-2: #e5e5e5;
  --soft: #fbfbfb;
  --grey: #f2f2f2;
  --gold: #c9a227;
  --warn-bg: #fff8e6;
  --warn-line: #f0c36d;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 400 14px/1.7 Poppins, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a { color: var(--navy); }
a:hover { color: var(--navy-dark); }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 16px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

.ic { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex: none; }

/* Pasek „Zobacz też” */
.seealso { background: var(--grey); text-align: center; font-size: 13px; font-weight: 500; padding: 14px 0; }
.seealso a { color: var(--ink); }

/* Pasek użytkownika */
.userbar { border-bottom: 1px solid var(--line); font-size: 13px; }
.userbar-inner { display: flex; justify-content: flex-end; padding-top: 10px; padding-bottom: 10px; }
.userbar a { color: var(--ink); text-decoration: none; }
.userbar a:hover { color: var(--navy); }

/* Logo */
.header-inner { padding-top: 34px; padding-bottom: 34px; }
.brand { display: inline-block; text-decoration: none; }
.brand img { display: block; height: 50px; width: auto; }
.wordmark { font-weight: 700; font-size: 26px; letter-spacing: .01em; color: var(--navy); line-height: 1; }
.wordmark span { color: var(--gold); }
.wordmark small { display: block; font-size: 14px; color: var(--navy); }

/* Menu */
.menubar { display: flex; align-items: stretch; border: 1px solid var(--line); border-left: 0; min-height: 50px; }
.menubar-block {
  display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff;
  text-transform: uppercase; font-weight: 500; font-size: 13px; padding: 0 20px; text-decoration: none;
  flex: 0 0 300px;
}
.menubar-block:hover { color: #fff; background: var(--navy-dark); }
.menubar-block .ic { font-size: 17px; }
.menubar-links { display: flex; flex-wrap: wrap; align-items: center; flex: 1; padding: 0 18px; }
.menubar-links a {
  color: var(--head); text-decoration: none; text-transform: uppercase; font-weight: 600; font-size: 13px;
  padding: 14px 12px; border-bottom: 2px solid transparent;
}
.menubar-links a:hover { color: var(--navy); }
.menubar-links a.active { color: var(--navy); border-bottom-color: var(--navy); }
.menubar-phone {
  display: flex; align-items: center; gap: 8px; padding: 0 30px; border-left: 1px solid var(--line);
  font: 700 19px/1 "Roboto Condensed", "Arial Narrow", Arial, sans-serif; color: var(--head); text-decoration: none; white-space: nowrap;
}
.menubar-phone .ic { color: var(--navy); font-size: 20px; }

/* Treść */
.content { padding-top: 24px; padding-bottom: 56px; }
section { margin-top: 36px; }

.block-title {
  display: flex; align-items: center; gap: 0; margin: 0 0 20px; background: var(--soft);
  border: 1px solid var(--line); font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--head); line-height: 1.25;
}
.block-ic { display: flex; align-items: center; justify-content: center; flex: 0 0 54px; align-self: stretch; min-height: 54px; background: var(--navy); color: #fff; font-size: 22px; position: relative; }
.block-ic::after { content: ""; position: absolute; right: -6px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: var(--navy); }
.block-txt { padding: 12px 18px; }
h1.block-title { font-size: 22px; }

.hero {
  display: block; background: var(--navy); color: #fff; text-decoration: none; text-align: center;
  padding: 56px 24px 44px; margin-top: 4px;
}
.hero:hover { color: #fff; background: var(--navy-dark); }
.hero-title { display: block; font-size: clamp(22px, 3.6vw, 40px); font-weight: 600; line-height: 1.25; max-width: 860px; margin: 0 auto; }
.hero-line { display: block; width: 180px; height: 3px; background: #fff; margin: 28px auto 22px; }
.hero-cta { display: inline-block; border: 1px solid rgba(255,255,255,.6); padding: 8px 22px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

.closed { display: flex; gap: 14px; align-items: flex-start; background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 14px 18px; margin-top: 24px; }
.closed .ic { color: #b7791f; font-size: 22px; margin-top: 2px; }
.closed p { margin: 0; }

.panel { border: 1px solid var(--line); padding: 8px 24px; }
.prose { padding: 16px 24px; }
.prose p { margin: 0 0 10px; }
.prose p:last-child { margin-bottom: 0; }

.data { margin: 0; }
.data div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.data div:last-child { border-bottom: 0; }
.data dt { font-weight: 600; color: var(--navy); }
.data dd { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); padding: 18px 20px; }
.card h2, .card h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.card p { margin: 0 0 6px; }
.big { font-size: 17px; font-weight: 600; text-decoration: none; word-break: break-word; }

.doclinks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.doclinks a { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 14px 18px; color: var(--head); text-decoration: none; font-weight: 600; }
.doclinks a:hover { border-color: var(--navy); color: var(--navy); }
.doclinks .ic { color: var(--navy); font-size: 20px; }

.muted { color: var(--muted); font-size: 13px; }

/* Dokumenty prawne */
.legal { border: 1px solid var(--line); padding: 24px 32px; }
.legal h2 { font-size: 16px; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.legal h2:first-of-type { margin-top: 8px; }
.legal h3 { font-size: 14px; font-weight: 600; color: var(--navy); }
.legal ol { padding-left: 1.5em; }
.legal ol ol { list-style: lower-alpha; margin-top: 6px; }
.legal li { margin-bottom: 6px; }
.note { background: var(--warn-bg); border: 1px solid var(--warn-line); padding: 10px 14px; }

/* Stopka */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: 13px; }
.footer-logo img { display: block; height: 50px; width: auto; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; margin-top: 36px; }
.site-footer h2 { font-size: 14px; font-weight: 600; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.site-footer p { margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer .ic { color: var(--navy); }
.legal-line { color: var(--muted); font-size: 12px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 28px !important; }
.copy { text-align: center; margin-top: 18px !important; }

@media (max-width: 991px) {
  .menubar { flex-wrap: wrap; border-left: 1px solid var(--line); }
  .menubar-block { flex: 1 1 100%; padding: 14px 18px; }
  .menubar-links { padding: 0 6px; }
  .menubar-phone { flex: 1 1 100%; border-left: 0; border-top: 1px solid var(--line); padding: 12px 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .header-inner { padding-top: 22px; padding-bottom: 22px; }
  .brand img, .footer-logo img { height: 42px; }
  .menubar-links { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .menubar-links a { white-space: nowrap; padding: 12px 10px; }
  .block-title { font-size: 16px; }
  .block-ic { flex-basis: 44px; min-height: 44px; font-size: 18px; }
  .data div { grid-template-columns: 1fr; gap: 2px; }
  .panel, .prose, .legal { padding-left: 16px; padding-right: 16px; }
  .footer-cols { grid-template-columns: 1fr; }
  .hero { padding: 36px 18px 30px; }
}

@media print {
  .seealso, .userbar, .menubar, .site-footer, .hero { display: none; }
  .legal { border: 0; padding: 0; }
}

/* Baner cookies */
[hidden] { display: none !important; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.linklike:hover { color: var(--navy); text-decoration: underline; }
.muted .linklike { color: var(--navy); text-decoration: underline; font-size: inherit; }
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 -6px 24px rgba(0, 0, 0, .12);
}
.cookie-inner { max-width: 1320px; margin: 0 auto; padding: 18px 16px; display: flex; gap: 24px; align-items: center; }
.cookie-text { flex: 1; font-size: 13px; }
.cookie-text p { margin: 0; }
.cookie-title { font-weight: 600; text-transform: uppercase; color: var(--navy); margin-bottom: 4px !important; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.btn {
  background: var(--navy); color: #fff; border: 1px solid var(--navy); font: 500 13px/1 Poppins, Helvetica, Arial, sans-serif;
  text-transform: uppercase; padding: 13px 24px; min-width: 140px; cursor: pointer;
}
.btn:hover { background: var(--navy-dark); }
.btn:focus-visible, .linklike:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 760px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions .btn { flex: 1; min-width: 0; }
}
@media print { .cookie-banner { display: none !important; } }
