/* =========================================================
   HAFTUJEMY.EU — PUBLICZNA STRONA + PUBLICZNA WYCENA
   Jedyny publiczny plik CSS. Bez plików naprawczych.
   ========================================================= */

:root {
  --bg: #050711;
  --bg2: #090d1c;
  --bg3: #0e1428;
  --panel: rgba(255,255,255,.045);
  --panel2: rgba(255,255,255,.07);
  --border: rgba(255,255,255,.11);
  --border2: rgba(128,164,255,.24);
  --text: #f4f7ff;
  --muted: #aab3c7;
  --muted2: #74809a;
  --accent: #8ab4ff;
  --accent2: #b38cff;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #fb7185;
  --container: 1440px;
  --header-height: 99px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(138,180,255,.18), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(179,140,255,.16), transparent 28%),
    linear-gradient(180deg, #050711 0%, #090d1c 48%, #050711 100%);
  font-family: "Lato", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 72%);
}

main {
  position: relative;
  z-index: 1;
  display: block;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #4f7cff;
  outline-offset: 3px;
}

.hf-container {
  width: min(var(--container), calc(100% - 76px));
  margin: 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* =========================================================
   PRZYCISKI
   ========================================================= */

.btn {
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.btn--small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 13px;
}

.btn--glow {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06101f;
}

.btn--glow:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn--line {
  border-color: var(--border2);
  background: rgba(255,255,255,.035);
  color: var(--text);
}

.btn--line:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--store {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
}

.btn--store:hover {
  border-color: rgba(171,139,255,.75);
  background: rgba(171,139,255,.13);
}

/* =========================================================
   NAGŁÓWEK
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(5,7,17,.88);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: minmax(155px,190px) minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.site-logo img {
  width: auto;
  max-width: 180px;
  max-height: 66px;
  object-fit: contain;
}

.site-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.3vw, 23px);
}

.site-nav a {
  position: relative;
  color: var(--text);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .18s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-shrink: 0;
}

.site-header__actions .btn {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 12px;
}

/* =========================================================
   TYPOGRAFIA I SEKCJE
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .75px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.section {
  padding: 96px 0;
}

.section--space {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 0%, rgba(138,180,255,.12), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(179,140,255,.10), transparent 34%),
    #070a16;
}

.section--deep {
  background:
    radial-gradient(circle at 88% 0%, rgba(179,140,255,.10), transparent 30%),
    #050711;
}

.section--nebula {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 15%, rgba(138,180,255,.22), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(179,140,255,.20), transparent 28%),
    linear-gradient(135deg, #101831, #080b18);
}

.section-head {
  max-width: 960px;
  margin-bottom: 44px;
}

.section-head h1,
.section-head h2,
.split-text h1,
.split-text h2,
.compact-info h1,
.compact-info h2,
.cta-orbit h1,
.cta-orbit h2,
.service-row h1,
.service-row h2,
.contact-main h1,
.contact-main h2,
.contact-info h1,
.contact-info h2,
.contact-message-box h1,
.contact-message-box h2,
.realizations-toolbar h1,
.realizations-toolbar h2 {
  margin: 0;
  max-width: 940px;
  color: #fff;
  font-size: clamp(31px, 3vw, 50px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -1px;
  text-wrap: balance;
}

.section-head p,
.split-text p,
.compact-info p,
.cta-orbit p,
.service-row p,
.contact-main p,
.contact-info p {
  max-width: 820px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

/* =========================================================
   HERO I STRONA GŁÓWNA
   ========================================================= */

.hero-orbit {
  min-height: 720px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 10%, rgba(138,180,255,.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(179,140,255,.18), transparent 30%),
    linear-gradient(90deg, rgba(5,7,17,.98), rgba(5,7,17,.76) 50%, rgba(5,7,17,.35)),
    url("../images/hero-haft.jpg");
  background-size: cover;
  background-position: center;
}

/* =========================================================
   STRONA GŁÓWNA — FINALNE USTAWIENIE HERO
   ========================================================= */

.hero-orbit--conversion {
  min-height: 690px;
}

.hero-orbit--conversion .hero-orbit__grid {
  min-height: 690px;
  padding: 72px 0 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-orbit--conversion .hero-orbit__content {
  width: 100%;
  max-width: 980px;
  margin: 0;
  padding: 0;
}


.hero-orbit--conversion h1 {
  width: 100%;
  max-width: 980px;
  margin: 0;
  font-size: clamp(48px, 3vw, 56px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: 1px;
  text-wrap: initial;
}

.hero-orbit--conversion h1 span {
  display: block;
}

.hero-orbit--conversion .hero-lead {
  max-width: 820px;
}

.hero-orbit--conversion .hero-orbit__actions {
  margin-top: 28px;
}

.hero-orbit--conversion .home-trust-row {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .hero-orbit--conversion .hero-orbit__content {
    max-width: 680px;
  }

  .hero-orbit--conversion h1 {
    max-width: 660px;
    font-size: clamp(40px, 2vw, 55px);
  }
}

@media (max-width: 760px) {
  .hero-orbit--conversion {
    min-height: auto;
  }

  .hero-orbit--conversion .hero-orbit__grid {
    min-height: auto;
    padding: 62px 0 72px;
  }

  .hero-orbit--conversion .hero-orbit__content,
  .hero-orbit--conversion h1 {
    max-width: 100%;
  }

  .hero-orbit--conversion h1 {
    font-size: clamp(36px, 10vw, 48px);
  }
}

.hero-orbit p {
  max-width: 900px;
  margin: 26px 0 0;
  color: rgba(244,247,255,.78);
  font-size: 18px;
  line-height: 1.72;
}

.hero-orbit--conversion {
  min-height: 690px;
}

.hero-orbit--conversion h1 {
  max-width: 980px;
  font-size: clamp(28px, 2vw, 36px);
  line-height: .99;
}

.hero-orbit--conversion .hero-lead {
  max-width: 900px;
  font-size: clamp(17px, 1.45vw, 20px);
}

.hero-orbit__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-login-link {
  border-style: dashed;
}

.home-trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-trust-row span {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(5,7,17,.62);
  color: rgba(244,247,255,.85);
  font-size: 12px;
  font-weight: 900;
}

.home-trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.home-system-strip {
  position: relative;
  z-index: 4;
  margin-top: -38px;
}

.home-system-strip__grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  overflow: hidden;
  border: 1px solid var(--border2);
  border-radius: 28px;
  background: rgba(9,13,28,.96);
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  backdrop-filter: blur(18px);
}

.home-system-strip__grid > div {
  min-height: 112px;
  padding: 25px;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: center;
  border-right: 1px solid var(--border);
}

.home-system-strip__grid > div:last-child {
  border-right: 0;
}

.home-system-strip__grid strong {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #071225;
  font-size: 13px;
  font-weight: 900;
}

.home-system-strip__grid span {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 900;
}

.home-online-ordering {
  padding-top: 126px !important;
}

.home-account-paths {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
}

.home-account-paths article {
  padding: 28px;
  border: 1px solid var(--border2);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(138,180,255,.14), transparent 38%),
    rgba(255,255,255,.04);
}

.home-account-paths article > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .55px;
  text-transform: uppercase;
}

.home-account-paths h3 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 23px;
  line-height: 1.15;
}

.home-account-paths p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.home-feature-grid article {
  min-height: 240px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0%, rgba(138,180,255,.12), transparent 36%),
    var(--panel);
}

.home-feature-grid article > span,
.process-orbit article > span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.home-feature-grid h3,
.process-orbit h3 {
  margin: 0 0 11px;
  color: #fff;
  font-size: 21px;
  line-height: 1.14;
}

.home-feature-grid p,
.process-orbit p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.home-inline-cta {
  margin-top: 28px;
  padding: 34px;
  border: 1px solid var(--border2);
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 0%, rgba(138,180,255,.16), transparent 34%),
    rgba(255,255,255,.04);
}

.home-inline-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 45px);
  line-height: 1.03;
}

.home-inline-cta p {
  max-width: 760px;
  margin: 13px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.process-orbit {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.process-orbit article {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.home-service-grid {
  grid-template-columns: repeat(3,1fr);
}

.home-service-grid article {
  min-height: 230px;
}

.realizations-toolbar {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.home-gallery-preview {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
}

.home-gallery-preview a {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: #02030a;
}

.home-gallery-preview img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .22s ease, opacity .22s ease;
}

.home-gallery-preview a:hover img {
  transform: scale(1.035);
  opacity: .82;
}

.split-text,
.compact-info {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.split-text > div:last-child {
  display: grid;
  gap: 22px;
}

.split-text > div:last-child p {
  margin: 0;
  font-size: 18px;
}

.home-tech-intro {
  grid-template-columns: .95fr 1.05fr;
  gap: 60px;
}

.home-tech-points {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.home-tech-points article {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(5,7,17,.64);
}

.home-tech-points strong,
.home-tech-points span {
  display: block;
}

.home-tech-points strong {
  margin-bottom: 9px;
  color: #fff;
  font-size: 17px;
}

.home-tech-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.faq-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(138,180,255,.10), transparent 34%),
    var(--panel);
}

.faq-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 19px;
  line-height: 1.18;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 34px;
  gap: 14px;
  align-items: center;
  text-align: left;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
  cursor: pointer;
}

.faq-toggle b {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 22px;
  font-weight: 500;
}

.faq-grid article.is-open {
  border-color: var(--accent);
}

.reviews-section {
  position: relative;
  z-index: 1;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.reviews-grid article {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
}

.reviews-stars {
  color: #f59e0b;
  font-size: 19px;
}

.reviews-grid h3 {
  margin: 12px 0 0;
  color: #fff;
}

.reviews-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.reviews-grid strong {
  color: var(--accent);
  font-size: 12px;
}

.reviews-empty {
  padding: 28px;
  border: 1px dashed var(--border2);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.cta-orbit {
  position: relative;
  z-index: 1;
  padding: 96px 0;
  background: #050711;
}

.cta-orbit__box {
  padding: 64px;
  border: 1px solid var(--border2);
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 46px;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(138,180,255,.18), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(179,140,255,.16), transparent 30%),
    linear-gradient(135deg, #101831, #060812);
}

.cta-orbit__box > div:last-child {
  display: grid;
  gap: 12px;
}

/* =========================================================
   STOPKA
   ========================================================= */

.site-footer {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  overflow: visible;
  border-top: 1px solid rgba(151,168,221,.16);
  background:
    radial-gradient(circle at 15% 0%, rgba(138,112,255,.12), transparent 32%),
    #070a16;
  color: #fff;
}

.site-footer__top {
  padding-top: 68px;
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: minmax(280px,1.6fr) repeat(3,minmax(160px,.75fr));
  gap: clamp(32px,4vw,70px);
}

.site-footer__brand img {
  width: min(245px,100%);
  height: auto;
  margin-bottom: 22px;
}

.site-footer__brand p {
  max-width: 510px;
  margin: 0;
  color: rgba(235,239,255,.72);
  font-size: 15px;
  line-height: 1.75;
}

.site-footer h3 {
  margin: 4px 0 19px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.site-footer a:not(.btn) {
  display: block;
  width: fit-content;
  margin: 0 0 11px;
  color: rgba(235,239,255,.72);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .16s ease, transform .16s ease;
}

.site-footer a:not(.btn):hover {
  color: #aebcff;
  transform: translateX(2px);
}

.site-footer__contact {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__contact a:not(.btn) {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(156,173,226,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--accent);
  font-weight: 900;
}

.site-footer__cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__bottom {
  padding-top: 22px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(151,168,221,.14);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px 28px;
  color: rgba(222,228,248,.62);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer__legal {
  grid-column: 1 / -1;
  color: rgba(222,228,248,.52);
}

.site-footer__legal strong {
  color: rgba(255,255,255,.8);
}

.site-footer__legal a:not(.btn) {
  display: inline;
  margin: 0;
  color: var(--accent);
}

/* =========================================================
   KATALOG
   ========================================================= */

.catalog-page {
  min-height: 70vh;
  padding: 72px 0 100px;
  background:
    radial-gradient(circle at 80% 0%, rgba(137,112,255,.12), transparent 34%),
    #050711;
}

.catalog-hero {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 30px;
  align-items: end;
}

.catalog-hero__content {
  max-width: 820px;
}

.catalog-hero h1 {
  margin: 10px 0 16px;
  color: #fff;
  font-size: clamp(38px,3.7vw,60px);
  line-height: 1.04;
  letter-spacing: -1.5px;
}

.catalog-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(235,239,255,.78);
  font-size: 17px;
  line-height: 1.7;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.catalog-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(156,174,224,.18);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(18,23,42,.97), rgba(8,11,24,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(143,164,255,.52);
  box-shadow: 0 30px 85px rgba(0,0,0,.38);
}

.catalog-card__media,
.catalog-card__visual {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(152,124,255,.22), transparent 48%),
    linear-gradient(145deg, #11172c, #080b18);
}

.catalog-card__media img,
.catalog-card__visual img {
  width: 100%;
  height: 100%;
  padding: 22px;
  object-fit: contain;
}

.catalog-card__placeholder {
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.78);
  font-size: 32px;
  font-weight: 900;
}

.catalog-card__body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.catalog-card__badges {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-card__badge {
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(150,168,224,.19);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.035);
  color: #aebfff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.catalog-card h2 {
  margin: 0 0 11px;
  color: #fff;
  font-size: clamp(22px,1.55vw,28px);
  line-height: 1.12;
  letter-spacing: -.55px;
}

.catalog-card__description {
  margin: 0 0 20px;
  color: rgba(235,239,255,.70);
  font-size: 15px;
  line-height: 1.65;
}

.catalog-card__details {
  margin: 0 0 22px;
  display: grid;
  gap: 11px;
}

.catalog-card__detail {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.catalog-card__detail dt {
  color: rgba(209,216,242,.48);
}

.catalog-card__detail dd {
  min-width: 0;
  margin: 0;
  color: rgba(255,255,255,.9);
  overflow-wrap: anywhere;
}

.catalog-card__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(149,165,216,.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.catalog-card__price {
  color: #fff;
  font-size: 13px;
}

.catalog-card__price strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
}

.catalog-card__note {
  margin: 17px 0 0;
  color: rgba(208,216,244,.48);
  font-size: 12px;
  line-height: 1.5;
}

.catalog-empty,
.catalog-error {
  grid-column: 1 / -1;
  padding: 44px;
  border: 1px solid rgba(157,173,226,.18);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.82);
  text-align: center;
}

/* =========================================================
   PUBLICZNA WYCENA
   ========================================================= */

.quote-public-page {
  background: #050711;
}

.quote-public-hero {
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 15% 0%, rgba(138,180,255,.20), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(179,140,255,.14), transparent 32%),
    linear-gradient(135deg, #090d1c, #050711 72%);
}

.quote-public-hero__grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 58px;
  align-items: center;
}

.quote-public-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px,2vw,48px);
  line-height: .98;
  letter-spacing: 1px;
  font-weight: 500;
}

.quote-public-hero p {
  max-width: 900px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.quote-public-hero__badges {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quote-public-hero__badges span {
  padding: 10px 14px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.quote-public-hero__aside {
  padding: 30px;
  border: 1px solid var(--border2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(138,180,255,.18), transparent 42%),
    rgba(255,255,255,.045);
}

.quote-public-hero__aside strong {
  display: block;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.quote-public-hero__aside span {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.quote-public-hero__aside p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.public-quote {
  position: relative;
}

.public-quote__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.quote-form-message {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(251,113,133,.42);
  border-radius: 16px;
  display: none;
  gap: 4px;
  background: rgba(159,18,57,.16);
  color: #fecdd3;
  font-size: 14px;
  line-height: 1.55;
}

.quote-form-message.is-visible {
  display: grid;
}

.quote-form-message.is-success {
  border-color: rgba(74,222,128,.4);
  background: rgba(22,101,52,.18);
  color: #bbf7d0;
}

.quote-form-message strong {
  font-size: 15px;
  font-weight: 900;
}

.quote-account-notice,
.quote-draft-status,
.quote-start-note {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(138,180,255,.28);
  border-radius: 16px;
  background: rgba(138,180,255,.07);
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.quote-account-notice strong,
.quote-start-note strong {
  color: #fff;
}

.quote-account-notice a,
.quote-start-note a {
  color: var(--accent);
  font-weight: 900;
}

.quote-account-notice--logged {
  border-color: rgba(74,222,128,.28);
  background: rgba(74,222,128,.06);
}

.quote-account-notice--existing {
  border-color: rgba(251,191,36,.3);
  background: rgba(146,64,14,.12);
}

.quote-draft-status {
  padding: 9px 14px;
  margin-top: 8px;
  color: #93a4c7;
  font-size: 12px;
}

.quote-progress {
  margin-bottom: 24px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  background: rgba(255,255,255,.035);
}

.quote-progress button {
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: .18s ease;
}

.quote-progress button span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  color: #fff;
  font-size: 12px;
}

.quote-progress button.is-active {
  border-color: var(--border2);
  background: rgba(138,180,255,.11);
  color: #fff;
}

.quote-progress button.is-active span,
.quote-progress button.is-complete span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06101f;
}

.public-quote__layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 24px;
  align-items: start;
}

.public-quote__steps {
  min-width: 0;
}

.quote-step {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(138,180,255,.08), transparent 34%),
    rgba(255,255,255,.035);
  box-shadow: 0 26px 100px rgba(0,0,0,.18);
}

.quote-step__header {
  padding: 28px 30px;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(255,255,255,.025);
}

.quote-step__header > span {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06101f;
  font-size: 14px;
  font-weight: 900;
}

.quote-step__header h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 900;
}

.quote-step__header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quote-step > :not(.quote-step__header):not(.quote-step__actions) {
  margin-left: 30px;
  margin-right: 30px;
}

.quote-form-grid {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}

.quote-form-grid--2 {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.quote-form-grid--3 {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.quote-control {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.quote-control--wide {
  grid-column: 1 / -1;
}

.quote-control > span {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.quote-control > span small {
  display: inline;
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.quote-control input,
.quote-control select,
.quote-control textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  outline: 0;
  background: #0b1020;
  color: #fff;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.quote-control textarea {
  min-height: 138px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
  line-height: 1.55;
}

.quote-control input::placeholder,
.quote-control textarea::placeholder {
  color: #74809a;
}

.quote-control input:focus,
.quote-control select:focus,
.quote-control textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(138,180,255,.10);
}

.quote-control small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.quote-step__actions {
  margin-top: 30px;
  padding: 22px 30px 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quote-check-public {
  margin-top: 18px;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 17px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,.03);
  cursor: pointer;
}

.quote-check-public input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.quote-check-public > span {
  display: grid;
  gap: 5px;
}

.quote-check-public strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}

.quote-check-public small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.quote-check-public a {
  color: var(--accent);
  font-weight: 900;
}

.quote-inline-check,
.quote-size-unknown {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  color: #dce6ff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.quote-inline-check input,
.quote-size-unknown input {
  width: 17px !important;
  height: 17px !important;
  min-height: auto !important;
  padding: 0 !important;
  accent-color: var(--accent);
}

.quote-size-builder {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid var(--border2);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
}

.quote-size-builder > header {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.quote-size-builder > header > div {
  display: grid;
  gap: 5px;
}

.quote-size-builder > header span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-size-builder > header strong {
  color: #fff;
  font-size: 19px;
}

.quote-size-builder > header small {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.45;
}

.quote-size-profile-row {
  display: grid;
  grid-template-columns: minmax(240px,.5fr) 1fr;
  gap: 16px;
  align-items: end;
}

.quote-size-balance {
  min-height: 72px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-items: center;
  background: #090d1c;
}

.quote-size-balance span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
}

.quote-size-balance strong {
  justify-self: end;
  color: #fff;
  font-size: 20px;
}

.quote-size-balance small {
  grid-column: 1 / -1;
  color: var(--muted);
}

.quote-size-balance.is-ok {
  border-color: rgba(74,222,128,.45);
  background: rgba(74,222,128,.05);
}

.quote-size-balance.is-error {
  border-color: rgba(248,113,113,.45);
  background: rgba(248,113,113,.05);
}

.quote-size-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(92px,1fr));
  gap: 10px;
}

.quote-size-grid.is-disabled {
  opacity: .45;
  pointer-events: none;
}

.quote-size-item {
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid !important;
  gap: 8px !important;
  background: #090d1c;
}

.quote-size-item span {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.quote-size-item input {
  min-height: 42px !important;
  text-align: center;
  font-weight: 900;
}

.quote-size-info {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.quote-size-custom {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.logo-upload {
  position: relative;
  margin-top: 28px;
  padding: 34px;
  border: 1px dashed rgba(138,180,255,.45);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0, rgba(138,180,255,.11), transparent 45%),
    rgba(255,255,255,.025);
  text-align: center;
  transition: .18s ease;
}

.logo-upload--multi {
  margin-top: 28px;
}

.logo-upload.is-dragging,
.logo-upload.has-file {
  border-color: var(--accent);
  background: rgba(138,180,255,.09);
}

.logo-upload input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.logo-upload label {
  display: grid;
  justify-items: center;
  gap: 8px;
  cursor: pointer;
}

.logo-upload__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
  border: 1px solid var(--border2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138,180,255,.10);
  color: var(--accent);
  font-size: 34px;
  line-height: 1;
}

.logo-upload strong {
  color: #fff;
  font-size: 18px;
}

.logo-upload small,
.logo-upload__result {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.logo-upload__result {
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
}

.quote-files-toolbar {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(138,180,255,.06);
}

.quote-files-toolbar > div {
  display: grid;
  gap: 4px;
}

.quote-files-toolbar strong {
  color: #fff;
  font-size: 15px;
}

.quote-files-toolbar span {
  color: var(--muted);
  font-size: 12px;
}

.quote-files-toolbar .btn {
  min-height: 40px;
  width: auto;
  padding: 0 18px;
}

.quote-file-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.quote-file-list article,
.quote-file-card {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.quote-file-card {
  display: grid !important;
  grid-template-columns: 72px minmax(0,1fr) auto !important;
  gap: 14px;
  align-items: center !important;
}

.quote-file-card__preview {
  width: 72px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d1c;
}

.quote-file-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quote-file-card__preview span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138,180,255,.18);
  color: #fff !important;
  font-weight: 900;
}

.quote-file-card__details {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.quote-file-card__details strong {
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quote-file-card__details small {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .45px;
}

.quote-file-card__details em {
  color: #cbd5e1;
  font-size: 12px;
  font-style: normal;
}

.quote-file-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.quote-file-card__actions button,
.quote-file-list button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.quote-file-list button.is-danger {
  border-color: rgba(244,63,94,.4);
  color: #fda4af;
}

.logo-assessment {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  background: rgba(138,180,255,.055);
}

.logo-assessment header {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.logo-assessment header span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-assessment h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 18px;
}

.logo-assessment-score,
#logoAssessmentScore {
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.logo-assessment p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.logo-assessment.is-good {
  border-color: rgba(34,197,94,.45);
}

.logo-assessment.is-problem {
  border-color: rgba(244,63,94,.45);
}

.logo-assessment__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.logo-assessment__meta span {
  padding: 7px 10px;
  border: 1px solid rgba(138,180,255,.28);
  border-radius: 999px;
  display: inline-flex;
  background: rgba(138,180,255,.09);
  color: #dce6ff;
  font-size: 12px;
  font-weight: 800;
}

#logoAssessmentChecks {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

#logoAssessmentChecks > div {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  background: rgba(255,255,255,.025);
}

#logoAssessmentChecks > div > span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(138,180,255,.14);
  color: var(--accent);
  font-weight: 900;
}

#logoAssessmentChecks > div > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.garment-color-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
}

.garment-color-panel h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.garment-color-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.garment-color-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 70px minmax(0,1fr);
  gap: 12px;
  align-items: end;
}

.quote-color-picker input {
  height: 52px;
  padding: 5px;
  cursor: pointer;
}

.thread-picker-summary {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--border2);
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.04);
}

.thread-picker-summary span,
.thread-picker-summary strong {
  display: block;
}

.thread-picker-summary span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.thread-picker-summary strong {
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.visual-asset-bar {
  margin-top: 28px;
  margin-bottom: 16px;
  padding: 14px;
  border: 1px solid rgba(138,180,255,.28);
  border-radius: 18px;
  display: grid;
  gap: 14px;
  background: linear-gradient(135deg, rgba(138,180,255,.08), rgba(179,140,255,.055));
}

.visual-asset-current {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.visual-asset-current__preview {
  width: 64px;
  height: 54px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--border2);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d1c;
}

.visual-asset-current__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-asset-current__preview span {
  color: #fff;
  font-weight: 900;
}

.visual-asset-current > div:last-child {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.visual-asset-current > div:last-child > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.visual-asset-current strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.visual-asset-current small {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
}

.visual-asset-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.visual-asset-tabs button {
  min-width: 132px;
  max-width: 240px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.visual-asset-tabs button > span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090d1c;
  color: #fff;
}

.visual-asset-tabs button > span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visual-asset-tabs button > strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.visual-asset-tabs button.is-active {
  border-color: var(--accent);
  background: rgba(138,180,255,.14);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(138,180,255,.12);
}

.placement-configurator {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 420px minmax(0,1fr);
  gap: 28px;
  align-items: stretch;
}

.garment-preview {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255,255,255,.03);
}

.garment-view-switch {
  margin-bottom: 18px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255,255,255,.025);
}

.garment-view-switch button {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.garment-view-switch button.is-active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #071225;
}

.garment-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(138,180,255,.08), transparent 58%);
  touch-action: none;
}

.garment-svg {
  width: min(100%,420px);
  height: auto;
}

.garment-shape {
  fill: var(--garment-color,#111827);
  stroke: rgba(255,255,255,.26);
  stroke-width: 3;
  transition: fill .18s ease;
}

.garment-line {
  fill: none;
  stroke: rgba(255,255,255,.12);
  stroke-width: 2;
}

.placement-hotspot {
  cursor: pointer;
  outline: none;
}

.placement-hotspot circle {
  fill: #0b1020;
  stroke: var(--accent);
  stroke-width: 2;
  transition: .18s ease;
}

.placement-hotspot text {
  fill: #fff;
  font-size: 15px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
}

.placement-hotspot:hover circle,
.placement-hotspot:focus circle,
.placement-hotspot.is-selected circle {
  fill: var(--accent);
  stroke: #fff;
  filter: drop-shadow(0 0 12px rgba(138,180,255,.55));
}

.placement-hotspot:hover text,
.placement-hotspot:focus text,
.placement-hotspot.is-selected text {
  fill: #06101f;
}

.garment-stage.has-logo .placement-hotspot {
  opacity: .13;
  transition: opacity .15s ease;
}

.garment-stage.has-logo .placement-hotspot:hover,
.garment-stage.has-logo .placement-hotspot:focus,
.garment-stage.has-logo .placement-hotspot.is-selected {
  opacity: .34;
}

.garment-logo-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
  touch-action: none;
}

.garment-logo-item {
  position: absolute;
  z-index: 8;
  max-height: 31%;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 8px;
  object-fit: contain;
  transform: translate(-50%,-50%);
  opacity: .82;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: left,top,width;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.98))
    drop-shadow(0 0 3px rgba(0,0,0,.96))
    drop-shadow(0 5px 12px rgba(0,0,0,.64));
}

.garment-logo-item.is-active {
  opacity: 1;
  border-color: rgba(255,255,255,.85);
  box-shadow: 0 0 0 3px rgba(138,180,255,.35), 0 0 22px rgba(138,180,255,.4);
}

.garment-logo-item.is-dragging {
  z-index: 12;
  opacity: 1;
  cursor: grabbing;
}

.garment-stage-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  z-index: 15;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(5,7,17,.78);
  color: #c9d4ed;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.garment-special {
  position: absolute;
  inset: 8% 11% 12%;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--garment-color,#111827);
}

.garment-special--cap {
  inset: 18% 12% 18%;
}

.garment-cap-crown {
  width: 65%;
  height: 48%;
  border: 3px solid rgba(210,218,238,.42);
  border-radius: 48% 48% 20% 20% / 60% 60% 25% 25%;
  background: var(--garment-color,#111827);
  box-shadow: inset 0 -18px 28px rgba(0,0,0,.15);
}

.garment-cap-visor {
  position: absolute;
  left: 48%;
  top: 61%;
  width: 44%;
  height: 13%;
  border: 3px solid rgba(210,218,238,.42);
  border-radius: 0 80% 80% 70%;
  background: var(--garment-color,#111827);
  transform: rotate(4deg);
}

.garment-special--generic {
  inset: 18% 20%;
}

.garment-generic-shape {
  width: 76%;
  min-height: 230px;
  border: 3px solid rgba(210,218,238,.42);
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--garment-color,#111827);
  color: rgba(255,255,255,.45);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mockup-controls {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.mockup-controls label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mockup-controls input {
  width: 100%;
  accent-color: var(--accent);
}

.mockup-controls button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--border2);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}

.garment-color-indicator {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
}

.garment-color-indicator i {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: var(--garment-color,#111827);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45);
}

.garment-color-indicator strong {
  color: #fff;
}

.garment-preview > p {
  margin: 14px 0 0;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.placement-options,
.placement-groups {
  display: grid;
  gap: 20px;
}

.placement-groups small {
  display: block;
  margin-bottom: 9px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.placement-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.placement-buttons button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.placement-buttons button:hover,
.placement-buttons button.is-selected {
  border-color: var(--accent);
  background: rgba(138,180,255,.11);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(138,180,255,.2);
}

#activePlacementSizeLabel {
  display: inline;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.public-quote .quote-address-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(138,180,255,.09), transparent 38%),
    rgba(255,255,255,.025);
  color: var(--text);
}

.public-quote .quote-address-card--billing {
  border-color: var(--border2);
  background:
    radial-gradient(circle at 0 0, rgba(138,180,255,.13), transparent 38%),
    rgba(138,180,255,.045);
}

.public-quote .quote-address-card > header {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.public-quote .quote-address-card > header span,
.public-quote .quote-payment-policy > span {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
}

.public-quote .quote-address-card > header strong,
.public-quote .quote-payment-policy strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.3;
}

.public-quote .quote-address-card > header small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.public-quote .quote-address-card .is-disabled {
  opacity: .45;
}

.public-quote .quote-payment-policy {
  padding: 18px;
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0, rgba(74,222,128,.11), transparent 42%),
    rgba(22,101,52,.11);
}

.public-quote .quote-payment-policy strong {
  color: #d1fae5;
}

.public-quote .quote-payment-policy small {
  display: block;
  margin-top: 8px;
  color: #a7d7b8;
  font-size: 12px;
  line-height: 1.5;
}

.quote-submit-note {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid var(--border2);
  border-radius: 18px;
  background: rgba(138,180,255,.07);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.public-quote__summary {
  position: sticky;
  top: 112px;
}

.quote-summary-card {
  padding: 26px;
  border: 1px solid var(--border2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(138,180,255,.15), transparent 38%),
    #090d1c;
  box-shadow: 0 22px 80px rgba(0,0,0,.22);
}

.quote-summary-card h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
}

.quote-summary-card dl {
  margin: 22px 0 0;
}

.quote-summary-card dl > div {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 12px;
}

.quote-summary-card dt {
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.4;
}

.quote-summary-card dd {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  text-align: right;
}

.quote-summary-card__estimate-note {
  margin: 14px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: var(--muted2);
  font-size: 11px;
  line-height: 1.5;
}

.quote-summary-card__help {
  margin-top: 20px;
  padding: 17px;
  border-radius: 17px;
  display: grid;
  gap: 7px;
  background: rgba(255,255,255,.04);
}

.quote-summary-card__help strong {
  color: #fff;
  font-size: 13px;
}

.quote-summary-card__help a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.logo-check-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}

.logo-check-grid article {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.logo-check-grid article > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.logo-check-grid h3 {
  margin: 14px 0 8px;
  color: #fff;
  font-size: 20px;
}

.logo-check-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.technology-cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.technology-cards--two {
  grid-template-columns: repeat(2,1fr);
}

.technology-cards article {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
}

.technology-cards strong {
  color: #fff;
  font-size: 19px;
}

.technology-cards p,
.technology-cards li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.technology-cards ul {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.technology-cards li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
  font-weight: 900;
}

#quoteSubmitButton[disabled] {
  cursor: wait;
  opacity: .68;
}

/* =========================================================
   BIBLIOTEKA NICI — MODAL PUBLICZNY
   ========================================================= */

.thread-modal[hidden] {
  display: none;
}

.thread-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thread-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2,6,23,.82);
  backdrop-filter: blur(9px);
}

.thread-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 30px));
  max-height: min(900px, calc(100vh - 30px));
  overflow: hidden;
  padding: 24px;
  border: 1px solid #334155;
  border-radius: 24px;
  display: grid;
  grid-template-rows: auto auto auto auto minmax(200px,1fr) auto;
  background: #0b1020;
  color: #fff;
}

.thread-modal__dialog > header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.thread-modal__dialog > header h2 {
  margin: 0;
  font-size: 28px;
}

.thread-modal__dialog > header > button {
  width: 42px;
  height: 42px;
  border: 1px solid #334155;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.thread-modal__dialog > p {
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

.thread-quick-colors {
  padding: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.thread-quick-colors button {
  min-height: 37px;
  padding: 0 14px;
  border: 1px solid #334155;
  border-radius: 999px;
  background: #111827;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.thread-quick-colors button:hover {
  border-color: var(--accent);
  background: rgba(138,180,255,.10);
}

.thread-modal__filters {
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(220px,1fr) minmax(170px,.45fr);
  gap: 10px;
}

.thread-modal__filters input,
.thread-modal__filters select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #334155;
  border-radius: 11px;
  background: #111827;
  color: #fff;
}

.thread-result-info {
  padding: 0 0 10px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.thread-modal__grid {
  overflow: auto;
  padding-right: 5px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.public-thread {
  min-height: 180px;
  padding: 13px;
  border: 1px solid #263246;
  border-radius: 12px;
  background: #111827;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

.public-thread:hover,
.public-thread.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(138,180,255,.15);
}

.public-thread i {
  width: 100%;
  height: 88px;
  margin: 0 0 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  display: block;
  background: var(--thread);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}

.public-thread strong,
.public-thread span,
.public-thread small {
  display: block;
}

.public-thread strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
}

.public-thread span {
  margin-top: 5px;
  color: #94a3b8;
  font-size: 11px;
}

.public-thread small {
  margin-top: 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.thread-modal__dialog > footer {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.has-thread-modal {
  overflow: hidden;
}

/* =========================================================
   POZOSTAŁE PUBLICZNE PODSTRONY
   ========================================================= */

.subhero-orbit {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 0%, rgba(138,180,255,.18), transparent 28%),
    linear-gradient(90deg, rgba(5,7,17,.96), rgba(5,7,17,.76)),
    url("../images/hero-haft.jpg");
  background-size: cover;
  background-position: center;
}

.subhero-orbit h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(40px,5vw,72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.subhero-orbit p {
  max-width: 880px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.service-list {
  display: grid;
  gap: 34px;
}

.service-row {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 52px;
  align-items: center;
  background: var(--panel);
}

.service-row--reverse {
  grid-template-columns: 500px 1fr;
}

.service-row--reverse > div {
  order: 2;
}

.service-row--reverse > img {
  order: 1;
}

.service-row img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  border-radius: 24px;
  object-fit: cover;
  opacity: .86;
}

.service-row ul {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.service-row li {
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.service-row li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}

.pricing-short-info,
.pricing-rules,
.pricing-size-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.pricing-short-info > div,
.pricing-rule,
.pricing-size-grid article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(138,180,255,.13), transparent 36%),
    rgba(255,255,255,.045);
}

.pricing-short-info span,
.pricing-rule > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .55px;
}

.pricing-short-info strong,
.pricing-rule h3,
.pricing-size-grid h3 {
  display: block;
  margin: 0 0 9px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.pricing-short-info p,
.pricing-rule p,
.pricing-size-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.pricing-compact-table,
.pricing-table {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(5,7,17,.82);
  box-shadow: 0 24px 80px rgba(0,0,0,.16);
}

.pricing-compact-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-compact-table th,
.pricing-compact-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}

.pricing-compact-table th {
  border-top: 0;
  background: rgba(255,255,255,.075);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .55px;
}

.pricing-compact-table td {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-compact-table td:first-child {
  color: #fff;
  font-weight: 900;
}

.pricing-under-note,
.pricing-alert,
.order-note {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--border2);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.realizations-filters {
  margin: -12px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.realizations-filters button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.realizations-filters button:hover,
.realizations-filters button.is-active {
  border-color: var(--accent);
  background: rgba(138,180,255,.10);
  color: #fff;
}

.realizations-gallery,
.realization-grid,
.gallery-orbit {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.realizations-gallery__item,
.gallery-orbit a {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.realizations-gallery__item img,
.gallery-orbit img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: .84;
  transition: .22s ease;
}

.realizations-gallery__item:hover,
.gallery-orbit a:hover {
  border-color: var(--accent);
}

.realizations-gallery__item:hover img,
.gallery-orbit a:hover img {
  opacity: .68;
  transform: scale(1.045);
}

.realizations-gallery__item > span,
.gallery-orbit a > span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.contact-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr repeat(3,1fr);
  gap: 18px;
}

.contact-card,
.contact-main,
.contact-info {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--panel);
}

.contact-card--main {
  background:
    radial-gradient(circle at 100% 0%, rgba(138,180,255,.14), transparent 36%),
    radial-gradient(circle at 0 100%, rgba(179,140,255,.10), transparent 34%),
    var(--panel);
}

.contact-card h2,
.contact-card h3 {
  margin: 0;
  color: #fff;
  font-weight: 900;
}

.contact-card h2 {
  font-size: clamp(34px,3vw,48px);
}

.contact-card h3 {
  font-size: 21px;
}

.contact-card p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-direct,
.contact-links {
  margin-top: 26px;
  display: grid;
  gap: 10px;
}

.contact-direct a,
.contact-links a {
  width: fit-content;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.contact-direct a:hover,
.contact-links a:hover {
  color: var(--accent);
}

.order-flow,
.order-warning-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}

.order-flow article,
.order-warning-grid article,
.order-files article,
.order-checklist article {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
}

.order-flow h3,
.order-warning-grid h3,
.order-files h3,
.order-checklist strong {
  margin: 0 0 9px;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
}

.order-flow p,
.order-warning-grid p,
.order-files p,
.order-checklist p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.order-checklist,
.order-files {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.error-page {
  min-height: calc(100vh - var(--header-height));
}

.error-hero {
  min-height: calc(100vh - var(--header-height));
  padding: 90px 0;
  display: flex;
  align-items: center;
}

.error-box {
  width: min(880px,100%);
  padding: 56px;
  border: 1px solid var(--border2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 0, rgba(138,180,255,.16), transparent 34%),
    radial-gradient(circle at 100% 0, rgba(179,140,255,.12), transparent 34%),
    rgba(255,255,255,.045);
}

.error-code {
  margin: 0 0 18px;
  color: rgba(255,255,255,.12);
  font-size: clamp(82px,11vw,160px);
  line-height: .8;
  font-weight: 900;
  letter-spacing: -6px;
}

.error-box h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px,4vw,62px);
  line-height: 1.02;
}

.error-box p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.error-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.terms-clean-layout {
  display: grid;
  grid-template-columns: 320px minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.terms-business-card {
  position: sticky;
  top: 118px;
  padding: 28px;
  border: 1px solid var(--border2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(138,180,255,.16), transparent 34%),
    rgba(255,255,255,.045);
}

.terms-clean-content {
  display: grid;
  gap: 16px;
}

.terms-clean-content > section,
.terms-clean-note {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 25px;
  background: rgba(255,255,255,.038);
}

.terms-clean-content h2,
.terms-clean-note strong {
  margin: 0;
  color: #fff;
  font-size: 28px;
}

.terms-clean-content p,
.terms-clean-note p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.quote-result-page {
  min-height: 70vh;
  padding: 96px 0;
  background:
    radial-gradient(circle at 15% 0, rgba(138,180,255,.18), transparent 32%),
    #050711;
}

.quote-result-box {
  width: min(860px,100%);
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--border2);
  border-radius: 32px;
  background: rgba(255,255,255,.04);
}

.quote-result-box h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(38px,5vw,60px);
  line-height: 1;
}

.quote-result-box p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.quote-reference {
  margin: 26px 0;
  padding: 22px;
  border: 1px solid var(--border2);
  border-radius: 20px;
  background: rgba(138,180,255,.08);
}

.quote-reference span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.quote-reference strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 30px;
  letter-spacing: 1px;
}

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */

@media (max-width: 1320px) {
  .site-header__inner {
    grid-template-columns: 160px minmax(0,1fr);
  }

  .site-header__actions {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .site-footer__top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .site-footer__top > div:last-child {
    grid-column: 1 / -1;
  }

  .catalog-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .home-feature-grid,
  .home-service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .quote-mode-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .public-quote__layout {
    grid-template-columns: 1fr;
  }

  .public-quote__summary {
    position: static;
  }
}

@media (max-width: 1100px) {
  .placement-configurator {
    grid-template-columns: 360px minmax(0,1fr);
  }

  .service-row,
  .service-row--reverse {
    grid-template-columns: 1fr;
  }

  .service-row--reverse > div,
  .service-row--reverse > img {
    order: initial;
  }

  .realizations-gallery,
  .realization-grid,
  .gallery-orbit {
    grid-template-columns: repeat(3,1fr);
  }

  .contact-grid,
  .contact-layout {
    grid-template-columns: repeat(2,1fr);
  }

  .contact-card--main {
    grid-column: span 2;
  }
}

@media (max-width: 980px) {
  .site-header__actions .btn--store {
    display: none;
  }

  .quote-public-hero__grid,
  .placement-configurator,
  .split-text,
  .compact-info,
  .home-tech-intro,
  .home-inline-cta,
  .terms-clean-layout {
    grid-template-columns: 1fr;
  }

  .quote-public-hero__aside {
    max-width: 520px;
  }

  .garment-preview {
    max-width: 540px;
    margin: 0 auto;
  }

  .quote-form-grid--3,
  .logo-check-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .home-system-strip {
    margin-top: 0;
  }

  .home-system-strip__grid {
    grid-template-columns: repeat(2,1fr);
    border-radius: 0;
  }

  .home-system-strip__grid > div:nth-child(2) {
    border-right: 0;
  }

  .home-system-strip__grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .home-gallery-preview,
  .home-tech-points {
    grid-template-columns: repeat(2,1fr);
  }

  .terms-business-card {
    position: static;
  }

  .thread-modal__grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  .order-flow,
  .order-warning-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .order-checklist,
  .order-files {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: auto;
  }

  .hf-container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: relative;
  }

  .site-header__inner {
    min-height: auto;
    padding: 12px 0;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .site-logo {
    justify-self: center;
  }

  .site-logo img {
    max-width: 168px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: thin;
  }

  .site-header__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-header__actions .btn {
    width: 100%;
    padding-inline: 10px;
  }

  .section,
  .cta-orbit,
  .subhero-orbit {
    padding: 62px 0;
  }

  .hero-orbit {
    min-height: auto;
  }

  .hero-orbit__grid {
    padding: 64px 0;
    gap: 34px;
  }

  .hero-orbit h1,
  .hero-orbit--conversion h1,
  .subhero-orbit h1,
  .quote-public-hero h1 {
    font-size: clamp(35px,10.5vw,52px);
    line-height: 1.02;
    letter-spacing: -1px;
  }

  .hero-orbit p,
  .subhero-orbit p,
  .quote-public-hero p {
    font-size: 16px;
  }

  .hero-orbit__actions,
  .cta-orbit__box > div:last-child {
    display: flex;
    flex-direction: column;
  }

  .hero-orbit__actions .btn,
  .cta-orbit__box .btn {
    width: 100%;
  }

  .home-trust-row {
    display: grid;
  }

  .home-system-strip__grid,
  .home-account-paths,
  .home-feature-grid,
  .home-service-grid,
  .home-gallery-preview,
  .home-tech-points,
  .site-footer__top,
  .faq-grid,
  .reviews-grid,
  .catalog-grid,
  .pricing-short-info,
  .pricing-rules,
  .pricing-size-grid,
  .realizations-gallery,
  .realization-grid,
  .gallery-orbit,
  .contact-grid,
  .contact-layout,
  .order-flow,
  .order-warning-grid,
  .technology-cards,
  .technology-cards--two {
    grid-template-columns: 1fr;
  }

  .home-system-strip__grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .home-system-strip__grid > div:last-child {
    border-bottom: 0;
  }

  .home-online-ordering {
    padding-top: 68px !important;
  }

  .home-feature-grid article,
  .home-service-grid article {
    min-height: auto;
  }

  .home-inline-cta,
  .cta-orbit__box,
  .terms-business-card,
  .terms-clean-content > section,
  .terms-clean-note {
    padding: 24px 21px;
    border-radius: 22px;
  }

  .home-gallery-preview a,
  .home-gallery-preview img {
    min-height: 290px;
  }

  .realizations-toolbar,
  .catalog-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-page {
    padding: 48px 0 70px;
  }

  .catalog-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-card__footer .btn {
    width: 100%;
  }

  .site-footer__top {
    gap: 28px;
    padding-top: 50px;
  }

  .site-footer__top > div:last-child {
    grid-column: auto;
  }

  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .site-footer__cta {
    display: grid;
  }

  .site-footer__cta .btn {
    width: 100%;
  }

  .quote-public-hero {
    padding: 66px 0 54px;
  }

  .quote-progress {
    grid-template-columns: repeat(4,minmax(74px,1fr));
    overflow-x: auto;
  }

  .quote-progress button {
    font-size: 0;
  }

  .quote-progress button span {
    font-size: 12px;
  }

  .quote-step__header {
    padding: 22px;
    grid-template-columns: 42px 1fr;
  }

  .quote-step__header > span {
    width: 42px;
    height: 42px;
  }

  .quote-step__header h2 {
    font-size: 22px;
  }

  .quote-step > :not(.quote-step__header):not(.quote-step__actions) {
    margin-left: 20px;
    margin-right: 20px;
  }

  .quote-form-grid--2,
  .quote-form-grid--3,
  .quote-size-profile-row,
  .quote-size-custom,
  .garment-color-controls {
    grid-template-columns: 1fr;
  }

  .quote-step__actions {
    padding: 20px;
    flex-direction: column-reverse;
  }

  .quote-step__actions .btn {
    width: 100%;
  }

  .quote-size-builder > header,
  .public-quote .quote-address-card > header,
  .thread-picker-summary,
  .quote-files-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-files-toolbar .btn {
    width: 100%;
  }

  .quote-file-card {
    grid-template-columns: 58px minmax(0,1fr) !important;
  }

  .quote-file-card__preview {
    width: 58px;
    height: 52px;
  }

  .quote-file-card__actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .quote-file-card__actions button {
    flex: 1;
  }

  .garment-stage {
    min-height: 390px;
  }

  .mockup-controls {
    grid-template-columns: 1fr;
  }

  .garment-stage-message {
    bottom: 8px;
    font-size: 11px;
  }

  .logo-check-grid {
    grid-template-columns: 1fr;
  }

  .thread-modal {
    padding: 8px;
  }

  .thread-modal__dialog {
    width: calc(100% - 16px);
    max-height: calc(100vh - 16px);
    padding: 16px;
    border-radius: 17px;
  }

  .thread-modal__filters,
  .thread-modal__grid {
    grid-template-columns: 1fr 1fr;
  }

  .public-thread {
    min-height: 155px;
  }

  .public-thread i {
    height: 68px;
  }

  .thread-modal__dialog > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .thread-modal__dialog > footer .btn {
    width: 100%;
  }

  .contact-card--main {
    grid-column: auto;
  }

  .error-hero {
    min-height: auto;
    padding: 62px 0;
  }

  .error-box,
  .quote-result-box {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .error-actions {
    flex-direction: column;
  }

  .pricing-compact-table {
    overflow-x: auto;
  }

  .pricing-compact-table table {
    min-width: 820px;
  }
}

@media (max-width: 480px) {
  .site-header__actions {
    grid-template-columns: 1fr;
  }

  .thread-modal__filters,
  .thread-modal__grid {
    grid-template-columns: 1fr;
  }

  .quote-summary-card dl > div {
    grid-template-columns: 92px 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
/* =========================================================
   STUDIO HAFT — WIZUALNY PODGLĄD USTAWIENIA GRAFIK KLIENTA
   ========================================================= */
.admin-placement-preview-grid {
  margin: 14px 0 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}

.admin-placement-preview__card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e2ef;
  border-radius: 18px;
  background: #ffffff;
}

.admin-placement-preview__stage {
  --admin-garment-color: #111827;
  position: relative;
  min-height: 520px;
  padding: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 44%, rgba(49,86,201,.09), transparent 56%),
    linear-gradient(180deg, #f8fafc, #eef3f8);
}

/*
 * Układ 1:1 z publicznym konfiguratorem.
 * Pozycja X/Y i szerokość procentowa są liczone względem tego samego
 * obszaru 420 × 480, a nie względem całej szerokości karty admina.
 */
.admin-placement-preview__canvas {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 420 / 480;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.admin-placement-preview__side {
  position: absolute;
  z-index: 6;
  top: 13px;
  left: 13px;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #3156c9;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .55px;
}

.admin-placement-preview__garment {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 18px 28px rgba(15,23,42,.12));
}

.admin-placement-preview__shape {
  fill: var(--admin-garment-color);
  stroke: rgba(15,23,42,.34);
  stroke-width: 3;
}

.admin-placement-preview__seams {
  fill: none;
  stroke: rgba(255,255,255,.18);
  stroke-width: 2;
}

.admin-placement-preview__logo-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.admin-placement-preview__logo {
  position: absolute;
  max-height: 34%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  user-select: none;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.98))
    drop-shadow(0 0 4px rgba(0,0,0,.95))
    drop-shadow(0 6px 14px rgba(0,0,0,.55));
}

.admin-placement-preview__marker {
  position: absolute;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: #3156c9;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(15,23,42,.3);
}

.admin-placement-preview__cap {
  position: relative;
  z-index: 1;
  width: 78%;
  height: 47%;
}

.admin-placement-preview__cap i {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 11%;
  height: 60%;
  border: 3px solid rgba(15,23,42,.3);
  border-radius: 48% 48% 20% 20% / 60% 60% 26% 26%;
  background: var(--admin-garment-color);
  box-shadow: inset 0 -18px 28px rgba(0,0,0,.14), 0 18px 28px rgba(15,23,42,.12);
}

.admin-placement-preview__cap b {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 43%;
  height: 17%;
  border: 3px solid rgba(15,23,42,.3);
  border-radius: 0 90% 90% 70%;
  background: var(--admin-garment-color);
  transform: rotate(4deg);
}

.admin-placement-preview__generic {
  position: relative;
  z-index: 1;
  width: 72%;
  min-height: 47%;
  display: grid;
  place-items: center;
  border: 3px solid rgba(15,23,42,.26);
  border-radius: 28px;
  background: var(--admin-garment-color);
  color: rgba(255,255,255,.42);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .11em;
}

.admin-placement-preview__info {
  padding: 16px 17px 18px;
  border-top: 1px solid #e5eaf2;
  display: grid;
  gap: 5px;
}

.admin-placement-preview__info strong {
  color: #0f172a;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.admin-placement-preview__info span {
  color: #3156c9;
  font-size: 12px;
  font-weight: 900;
}

.admin-placement-preview__info small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.admin-placement-technical {
  margin-top: 12px;
  border: 1px solid #d9e2ef;
  border-radius: 16px;
  background: #f8fafc;
  overflow: hidden;
}

.admin-placement-technical > summary {
  padding: 14px 16px;
  cursor: pointer;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}

.admin-placement-technical[open] > summary {
  border-bottom: 1px solid #d9e2ef;
}

.admin-placement-technical .placement-coordinate-table {
  border: 0;
  border-radius: 0;
}

@media (max-width: 760px) {
  .admin-placement-preview-grid {
    grid-template-columns: 1fr;
  }

  .admin-placement-preview__stage {
    min-height: 320px;
  }
}
