/* ============================================================
   NELKOM — Hurtownia Elektryczna
   styles.css
============================================================ */

/* ---- Google Fonts (załadowane w HTML) --------------------- */
/* Poppins (nagłówki) + Open Sans (treść) */

/* ============================================================
   ZMIENNE
============================================================ */
:root {
  /* Kolory marki */
  --blue:        #00b4ff;
  --blue-hover:  #009de0;
  --blue-dark:   #0077b3;
  --blue-light:  #e0f6ff;
  --blue-glow:   rgba(0, 180, 255, 0.15);

  /* Neutralne */
  --bg:          #eef0ef;
  --bg-alt:      #f6f8f7;
  --white:       #ffffff;
  --navy:        #1b3a5c;
  --navy-mid:    #2d5680;
  --text:        #1e2d3d;
  --text-mid:    #546e7a;
  --text-light:  #90a4ae;
  --border:      #dde3e0;
  --border-light:#eaedeb;

  /* Czcionki */
  --font-h: 'Poppins', sans-serif;
  --font-b: 'Open Sans', sans-serif;

  /* Kontenery */
  --container: 1280px;
  --section-py: 80px;

  /* Cienie */
  --sh-sm: 0 2px 8px rgba(0,0,0,0.06);
  --sh:    0 4px 20px rgba(0,0,0,0.08);
  --sh-md: 0 8px 36px rgba(0,0,0,0.11);
  --sh-b:  0 6px 24px rgba(0, 180, 255, 0.28);

  /* Promienie */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;

  /* Przejścia */
  --tr: 0.25s ease;
}

/* ============================================================
   RESET & BAZA
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-b);
  font-size: 1rem;
  outline: none;
}

/* ============================================================
   NARZĘDZIA
============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 2rem;
}

.section { padding-block: var(--section-py); }

.section--white    { background: var(--white); }
.section--bg       { background: var(--bg); }
.section--bg-alt   { background: var(--bg-alt); }
.section--navy     { background: var(--navy); color: var(--white); }

.text-blue  { color: var(--blue); }
.text-navy  { color: var(--navy); }
.text-mid   { color: var(--text-mid); }
.text-light { color: var(--text-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-mid);
  max-width: 560px;
  margin-inline: auto;
  font-size: 1rem;
}

/* ============================================================
   PRZYCISKI
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  transition: all var(--tr);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--sh-b);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 180, 255, 0.38);
}

.btn--outline {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--sh);
}
.btn--white:hover {
  background: var(--blue-light);
  color: var(--blue-dark);
  transform: translateY(-2px);
}

.btn--outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 0.55rem 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar__label {
  color: rgba(255,255,255,0.45);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.topbar__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  transition: color var(--tr);
}

.topbar__link:hover { color: var(--blue); }

.topbar__icon {
  font-size: 0.9rem;
}

/* ============================================================
   HEADER & NAV
============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--tr);
}

.header.scrolled { box-shadow: var(--sh); }

.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  flex-shrink: 0;
  margin-right: auto;
}

/* LOGO: W src="" wstaw ścieżkę do pliku logo SVG lub PNG */
.nav__logo-img {
  height: 40px;
  width: auto;
}

.nav__logo-text span { color: var(--blue); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.45rem 1rem;
  border-radius: var(--r-sm);
  transition: all var(--tr);
  white-space: nowrap;
}

.nav__link:hover { color: var(--navy); background: var(--bg); }

.nav__link.active {
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
}

.nav__cta { margin-left: 1rem; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--tr);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
============================================================ */
@media (max-width: 1024px) {
  .nav__menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 99;
  }

  .nav__menu.open { display: flex; }

  .nav__link {
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    width: 240px;
    text-align: center;
  }

  .nav__cta { margin-left: 0; margin-top: 0.5rem; }
  .nav__hamburger { display: flex; z-index: 101; position: relative; }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

/* ── Tło bohatera ──────────────────────────────────────────
   ZDJĘCIE HERO: Wstaw ścieżkę do zdjęcia tła w src="" poniżej.
   Zalecany rozmiar: 1920×900px, format: JPG lub WebP.
   Przykładowe zdjęcie: hala magazynowa, instalacja elektryczna,
   panel sterowniczy lub zespół pracowników.
   ──────────────────────────────────────────────────────────── */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(27, 58, 92, 0.92) 0%,
    rgba(27, 58, 92, 0.75) 50%,
    rgba(0, 119, 179, 0.6) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
}

.hero__content {}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.hero__tag::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.hero__headline {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__headline span { color: var(--blue); }

.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Prawa strona hero ─────────────────────────────────────
   ZDJĘCIE HERO PRAWE: Opcjonalne zdjęcie po prawej stronie,
   np. zdjęcie produktów, pracownika lub logo firmy.
   Zalecany rozmiar: 600×600px, format: PNG lub WebP.
   ──────────────────────────────────────────────────────────── */
.hero__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  max-height: 400px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

.hero__image-placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

.hero__image-placeholder-icon { font-size: 3rem; }

/* ============================================================
   PASEK USŁUG / KATEGORII
============================================================ */
.services-strip {
  background: var(--white);
  padding-block: 2.5rem;
  box-shadow: var(--sh-sm);
}

.services-strip__grid {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  flex: 1;
  min-width: 90px;
  max-width: 130px;
  cursor: pointer;
  transition: transform var(--tr);
}

.service-item:hover { transform: translateY(-4px); }

.service-item__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: var(--bg);
  transition: all var(--tr);
}

/* ── Ikony usług ───────────────────────────────────────────
   IKONY: Zastąp emoji w .service-item__icon własnymi ikonami SVG.
   Zalecany rozmiar ikon: 36×36px, format: SVG.
   ──────────────────────────────────────────────────────────── */
.service-item:hover .service-item__icon {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.service-item__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
}

/* ============================================================
   O NAS
============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ── Zdjęcie "O nas" ───────────────────────────────────────
   ZDJĘCIE O NAS: Wstaw ścieżkę do zdjęcia w src="" tagu img.
   Zalecane: zdjęcie biura, hali lub zespołu.
   Rozmiar: 640×480px lub proporcje 4:3, format: JPG/WebP.
   ──────────────────────────────────────────────────────────── */
.about__image-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  aspect-ratio: 4/3;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  text-align: center;
  gap: 0.5rem;
  flex-direction: column;
}

.about__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image-placeholder { font-size: 2.5rem; }

.about__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-h);
  font-weight: 700;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--sh-b);
  min-width: 110px;
}

.about__badge-num {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about__badge-label { font-size: 0.72rem; opacity: 0.9; }

.about__content {}

.about__lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

.about__list-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
  font-weight: 700;
}

/* ============================================================
   STATYSTYKI
============================================================ */
.stats {
  background: var(--white);
  padding-block: var(--section-py);
  text-align: center;
}

.stats__subtitle {
  font-size: 0.88rem;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item { text-align: center; }

.stat-item__num {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.88rem;
  color: var(--text-mid);
  font-weight: 500;
}

/* ============================================================
   OFERTA — karty podgląd
============================================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--blue);
}

/* ── Zdjęcia kart oferty ──────────────────────────────────
   ZDJĘCIE KARTY OFERTY: Wstaw ścieżkę do zdjęcia kategorii.
   Zalecany rozmiar: 480×280px, format: JPG lub WebP.
   Każda kategoria powinna mieć osobne zdjęcie.
   ──────────────────────────────────────────────────────────── */
.offer-card__image {
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
  overflow: hidden;
  position: relative;
}

.offer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-card:hover .offer-card__image img { transform: scale(1.05); }

.offer-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.offer-card__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.offer-card__title {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.offer-card__desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.offer-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--tr);
}

.offer-card__link:hover { gap: 0.6rem; }

/* ============================================================
   BANER CTA
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner__title {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.footer__brand {}

.footer__logo {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__logo span { color: var(--blue); }

/* ── Logo stopka ──────────────────────────────────────────
   LOGO STOPKA: Możesz wstawić logo jako img zamiast tekstu.
   ──────────────────────────────────────────────────────────── */

.footer__desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: all var(--tr);
}

.footer__social-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.footer__col {}

.footer__col-title {
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--tr);
}

.footer__link:hover { color: var(--blue); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.65rem;
}

.footer__contact-icon { font-size: 0.9rem; margin-top: 2px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   PAGE HERO (podstrony)
============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

/* ── Tło page hero ─────────────────────────────────────────
   ZDJĘCIE PAGE HERO: Opcjonalne tło dla podstron.
   Dodaj klasę page-hero--image i ustaw background-image w HTML
   za pomocą atrybutu style="background-image:url('...')"
   ──────────────────────────────────────────────────────────── */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color var(--tr);
}
.page-hero__breadcrumb a:hover { color: var(--blue); }
.page-hero__breadcrumb span   { color: rgba(255,255,255,0.85); }
.page-hero__breadcrumb-sep    { font-size: 0.7rem; }

.page-hero__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-hero__title span { color: var(--blue); }

.page-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
}

/* ============================================================
   STRONA KONTAKT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--sh);
}

.contact-form-card__title {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.contact-form-card__sub {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.8rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-light); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-notice {
  font-size: 0.85rem;
  margin-top: 0.75rem;
  min-height: 1.2em;
}
.form-notice.success { color: #16a34a; }
.form-notice.error   { color: #dc2626; }

.contact-info {}

.contact-info-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--sh-sm);
  margin-bottom: 1.25rem;
}

.contact-info-card:last-child { margin-bottom: 0; }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text {}
.contact-info-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.2rem; }
.contact-info-value { font-size: 0.95rem; color: var(--text); font-weight: 500; }
.contact-info-value a { color: var(--blue); }
.contact-info-value a:hover { text-decoration: underline; }

/* ── Mapa ─────────────────────────────────────────────────
   MAPA: Wstaw iframe z Google Maps lub innej usługi mapowej.
   Zalecany rozmiar: szerokość 100%, wysokość 300-400px.
   ──────────────────────────────────────────────────────────── */
.map-placeholder {
  background: var(--border-light);
  border-radius: var(--r-lg);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 2px dashed var(--border);
  margin-top: 1.25rem;
}

.map-placeholder-icon { font-size: 2.5rem; }

.map-embed {
  width: 100%;
  height: 350px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: none;
  margin-top: 1.25rem;
  display: block;
}

/* ============================================================
   STRONA OFERTA
============================================================ */
.offer-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offer-page-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: all var(--tr);
}

.offer-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

/* ── Zdjęcia oferty ───────────────────────────────────────
   ZDJĘCIE PRODUKTU/KATEGORII: Wstaw ścieżkę do zdjęcia
   kategorii produktów w src="" tagu img.
   Zalecany rozmiar: 500×300px, format: JPG lub WebP.
   ──────────────────────────────────────────────────────────── */
.offer-page-card__image {
  aspect-ratio: 5/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-light);
  overflow: hidden;
}

.offer-page-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.offer-page-card:hover .offer-page-card__image img { transform: scale(1.05); }

.offer-page-card__body { padding: 1.5rem; }

.offer-page-card__title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.offer-page-card__desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.offer-page-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.offer-page-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text);
}

.offer-page-card__feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   STRONA OBSZAR DZIAŁANIA
============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* ── Mapa obszaru działania ──────────────────────────────
   MAPA OBSZARU: Wstaw mapę (iframe z Google Maps lub obrazek
   mapy województwa/rejonu).
   Zalecany rozmiar: 700×500px, format: PNG lub WebP (obrazek)
   lub iframe z Google Maps.
   ──────────────────────────────────────────────────────────── */
.area-map {
  background: var(--border-light);
  border-radius: var(--r-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.85rem;
  border: 2px dashed var(--border);
  overflow: hidden;
}

.area-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-xl);
}

.area-map-placeholder-icon { font-size: 3rem; }

.area-content {}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.area-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  transition: all var(--tr);
}

.area-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.area-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

/* ============================================================
   USŁUGI ELEKTRYCZNE
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem;
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.service-card__icon { font-size: 2rem; }

.service-card__title {
  font-family: var(--font-h);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  flex: 1;
}

/* ============================================================
   KOSZYK — przycisk nav
============================================================ */
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--tr);
  flex-shrink: 0;
  color: var(--navy);
}

.cart-btn:hover { border-color: var(--blue); color: var(--blue); }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--blue);
  color: var(--white);
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-h);
}

/* ============================================================
   KOSZYK — szuflada
============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--white);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 40px rgba(0,0,0,0.15);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-drawer__title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

.cart-drawer__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  background: none;
  color: var(--text-mid);
}

.cart-drawer__close:hover { background: var(--bg); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.cart-empty__icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item__img {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  overflow: hidden;
}

.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__unit { font-size: 0.72rem; color: var(--text-light); }

.cart-item__price { font-size: 0.88rem; font-weight: 700; color: var(--blue); }

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}

.cart-qty-btn {
  width: 26px; height: 26px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  color: var(--navy);
}

.cart-qty-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

.cart-qty-num {
  width: 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.cart-item__remove {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: none;
  color: var(--text-light);
  font-size: 0.7rem;
  cursor: pointer;
  transition: color var(--tr);
  margin-left: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item__remove:hover { color: #dc2626; }

.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-alt);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label { font-size: 0.88rem; color: var(--text-mid); }

.cart-total-value {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

/* ---- Checkout w szufladzie -------------------------------- */
.checkout-section { display: none; margin-top: 1rem; }
.checkout-section.visible { display: block; }

.checkout-title {
  font-family: var(--font-h);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.checkout-form { display: flex; flex-direction: column; gap: 0.55rem; }

.checkout-input {
  width: 100%;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.6rem 0.85rem;
  color: var(--text);
  font-size: 0.85rem;
  font-family: var(--font-b);
  outline: none;
  transition: border-color var(--tr);
}

.checkout-input:focus { border-color: var(--blue); }
.checkout-input::placeholder { color: var(--text-light); }

.checkout-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }

.checkout-notice {
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-md);
  display: none;
}
.checkout-notice.success { display:block; background:rgba(22,163,74,0.1); color:#16a34a; }
.checkout-notice.error   { display:block; background:rgba(220,38,38,0.1); color:#dc2626; }

/* ============================================================
   SKLEP — produkty
============================================================ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--tr);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--sh-md);
  border-color: rgba(0,180,255,0.3);
  transform: translateY(-4px);
}

.product-card__image {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.product-card__image img { width: 100%; height: 100%; object-fit: cover; }

.product-card__badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-h);
}

.product-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}

.product-card__name {
  font-family: var(--font-h);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.55;
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.product-card__price {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.product-card__price-unit {
  font-size: 0.68rem;
  color: var(--text-light);
  display: block;
  font-weight: 400;
}

.btn--add-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  white-space: nowrap;
}

.btn--add-cart:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn--add-cart.added { background: #16a34a; }

/* Brak w magazynie */
.btn--out-of-stock {
  background: var(--bg-alt) !important;
  color: var(--text-light) !important;
  cursor: default !important;
  pointer-events: none;
  font-size: 0.78rem;
  border: 1px solid var(--border-light);
}

.product-card--out-of-stock {
  opacity: 0.55;
  filter: grayscale(0.6);
}
.product-card--out-of-stock:hover {
  box-shadow: var(--sh-sm) !important;
  border-color: var(--border-light) !important;
  transform: none !important;
}

/* Informacja o stanie magazynowym */
.product-card__stock {
  display: inline-block;
  font-size: 0.68rem;
  color: #16a34a;
  font-weight: 600;
}
.product-card__stock--low  { color: #dc6803; }
.product-card__stock--none { color: #9ca3af; }

/* ============================================================
   SKLEP — PANEL ADMINA
============================================================ */
.admin-bar {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 0;
  display: none;
}

.admin-bar.visible { display: block; }

.admin-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.admin-bar__user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.admin-bar__role {
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  background: rgba(0,180,255,0.25);
  color: var(--blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-bar__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn--admin-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--blue);
  color: #0a0a0a;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
}

.btn--admin-add:hover { background: var(--blue-hover); transform: translateY(-1px); }

.btn--admin-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-h);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  background: none;
  cursor: pointer;
  transition: all var(--tr);
}

.btn--admin-logout:hover { border-color: #f87171; color: #f87171; }

/* Przycisk zaloguj — dyskretny w rogu */
.shop-login-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-b);
  transition: color var(--tr);
  z-index: 5;
}

.shop-login-btn:hover { color: rgba(255,255,255,0.7); }

/* Przycisk usuń na karcie produktu */
.product-card__edit {
  position: absolute;
  top: 0.5rem;
  right: 2.25rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0,119,179,0.85);
  color: var(--white);
  font-size: 0.75rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  z-index: 3;
}

.product-card__edit:hover { background: var(--blue-dark); transform: scale(1.1); }
body.shop-admin-mode .product-card__edit { display: flex; }

.product-card__delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,0.85);
  color: var(--white);
  font-size: 0.75rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all var(--tr);
  z-index: 3;
}

.product-card__delete:hover { background: #dc2626; transform: scale(1.1); }

body.shop-admin-mode .product-card__delete { display: flex; }
body.shop-admin-mode .product-card__image  { position: relative; }

/* Modale admina */
.shop-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}

.shop-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.shop-modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  margin: auto;
  box-shadow: var(--sh-md);
}

.shop-modal__title {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.shop-modal__form { display: flex; flex-direction: column; gap: 0.9rem; }

.shop-modal__form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  display: block;
  margin-bottom: 0.3rem;
}

.shop-modal__form input[type="text"],
.shop-modal__form input[type="number"],
.shop-modal__form input[type="password"],
.shop-modal__form input[type="file"],
.shop-modal__form select,
.shop-modal__form textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  font-family: var(--font-b);
  color: var(--text);
  outline: none;
  transition: border-color var(--tr);
}

.shop-modal__form input:focus,
.shop-modal__form select:focus,
.shop-modal__form textarea:focus { border-color: var(--blue); }

.shop-modal__form textarea { resize: vertical; min-height: 80px; }

.shop-modal__form input[type="file"] { cursor: pointer; padding: 0.5rem; }

.shop-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

.shop-modal__notice {
  font-size: 0.82rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-md);
  display: none;
}
.shop-modal__notice.show  { display: block; }
.shop-modal__notice.ok    { background: rgba(22,163,74,0.1); color: #16a34a; }
.shop-modal__notice.err   { background: rgba(220,38,38,0.1); color: #dc2626; }

.shop-modal__actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

/* Preview zdjęcia */
.img-preview-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.82rem;
  color: var(--text-light);
  cursor: pointer;
  transition: border-color var(--tr);
}

.img-preview-wrap:hover { border-color: var(--blue); }
.img-preview-wrap img   { width: 100%; height: 100%; object-fit: cover; }

/* Lista użytkowników w modalu */
.user-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  max-height: 260px;
  overflow-y: auto;
}

.user-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
}

.user-list-item__info { flex: 1; min-width: 0; }

.user-list-item__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.user-list-item__meta {
  font-size: 0.75rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-list-item__right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.user-list-item__role {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.user-list-item__role.admin {
  background: rgba(0,180,255,0.15);
  color: var(--blue-dark);
}

.user-list-item__role.manager {
  background: rgba(100,116,139,0.12);
  color: var(--text-mid);
}

.user-list-item__del {
  background: none;
  border: 1px solid transparent;
  color: var(--text-light);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: var(--r-sm);
  transition: all var(--tr);
}

.user-list-item__del:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: rgba(220,38,38,0.08);
}

/* Ładowanie produktów */
.shop-loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE — TABLET ≤ 1024px
============================================================ */
@media (max-width: 1024px) {
  :root { --section-py: 60px; }

  .hero__inner    { grid-template-columns: 1fr; }
  .hero__image    { display: none; }
  .hero__headline { text-align: left; }

  .about__grid    { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-wrap { max-width: 500px; }
  .about__badge   { right: 0; }

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

  .offer-grid     { grid-template-columns: repeat(2, 1fr); }
  .offer-page-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid  { grid-template-columns: repeat(2, 1fr); }
  .shop-grid      { grid-template-columns: repeat(2, 1fr); }

  .contact-grid   { grid-template-columns: 1fr; }

  .area-grid      { grid-template-columns: 1fr; }

  .footer__top    { grid-template-columns: 1fr 1fr; }
  .footer__brand  { grid-column: 1 / -1; }

  .form-row       { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤ 768px
============================================================ */
@media (max-width: 768px) {
  :root { --section-py: 48px; }

  .container { padding-inline: 1rem; }

  /* Nav — wszystko mieści się w jednej linii */
  .nav {
    gap: 0.5rem;
  }

  .nav__logo {
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .cart-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .nav__hamburger {
    padding: 6px;
    flex-shrink: 0;
  }

  /* Topbar — zawijanie na bardzo małych ekranach */
  .topbar__inner {
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }
  .topbar__group { gap: 0.6rem; flex-wrap: wrap; justify-content: center; }
  .topbar__label { display: none; }

  .hero           { min-height: 480px; }
  .hero__headline { font-size: 1.85rem; }
  .hero__sub      { font-size: 0.95rem; }
  .hero__actions  { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }

  .services-strip__grid { gap: 1rem; }
  .service-item   { min-width: 72px; max-width: 100px; }
  .service-item__icon { width: 56px; height: 56px; font-size: 1.5rem; }
  .service-item__label { font-size: 0.72rem; }

  .stats__grid    { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .stat-item__num { font-size: 2.25rem; }

  .offer-grid     { grid-template-columns: 1fr; }
  .offer-page-grid { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .shop-grid      { grid-template-columns: 1fr; }
  .checkout-row   { grid-template-columns: 1fr; }

  .area-list      { grid-template-columns: 1fr; }

  .footer__top    { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand  { grid-column: auto; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cta-banner     { padding-block: 3rem; }
  .cta-banner__actions { flex-direction: column; align-items: center; }

  .contact-form-card { padding: 1.5rem; }

  .page-hero      { padding: 3.5rem 0 2.5rem; }
  .page-hero__title { font-size: 1.75rem; }
}
