/* =====================================================
   moje doładowania energetyczne — odwzorowanie 1:1 z Figmy
   ===================================================== */

:root {
  /* Kolory marki (seledyn) */
  --seledyn-strong: #0cbaaf;
  --seledyn-300: #63c6bf;
  --seledyn-400: #5ab5af;
  --seledyn-500: #008285;
  --seledyn-600: #005b5d;
  --footer-bg: #004243;

  /* Blue grey / neutralne */
  --bg-25: #f5f7f8;
  --bg-50: #eceff1;
  --bg-100: #cfd8dc;
  --bg-200: #b0bec5;
  --grey-600: #546e7a;
  --card-border: #ebebeb;

  --black: #000000;
  --white: #ffffff;

  /* Skala odstępów z Figmy */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-40: 40px;
  --sp-48: 48px;
  --sp-64: 64px;

  --radius-md: 6px;
  --radius-card: 24px;
  --content-pad: 64px;
  --max-w: 1440px;

  --grad: linear-gradient(90deg, var(--seledyn-600), var(--seledyn-strong));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Sofia Pro",
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* Wspólny kontener: max 1440 + padding 64 */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.t-strong {
  color: var(--seledyn-strong);
}

/* =========== PRZYCISKI =========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: var(--sp-8) var(--sp-16);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    opacity 0.15s ease;
  white-space: nowrap;
}
.btn svg {
  flex: 0 0 auto;
}
.btn--primary {
  background: var(--seledyn-strong);
  border-color: var(--seledyn-strong);
  color: var(--white);
}
.btn--primary:hover {
  background: #0aa69c;
  box-shadow: 0 8px 20px rgba(12, 186, 175, 0.28);
}
.btn--white {
  background: var(--white);
  color: var(--seledyn-500);
}
.btn--white:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* =========== NAVBAR =========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--bg-50);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  height: 46px;
}
.logo__img {
  height: 46px;
  width: auto;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-48);
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--sp-48);
}
.navbar__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  transition: color 0.15s ease;
}
.navbar__link:hover {
  color: var(--seledyn-500);
}
.navbar__link svg {
  opacity: 0.8;
}

/* Menu z WordPressa: reset list + dropdown operatorów */
.navbar__nav {
  display: flex;
}
.navbar__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar__item {
  position: relative;
}
.navbar__sub {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--white, #fff);
  border: 1px solid var(--bg-50, #e9efee);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 60;
}
.navbar__item--has-children:hover > .navbar__sub,
.navbar__item--has-children:focus-within > .navbar__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar__item--has-children > .navbar__link {
  cursor: pointer;
}
.navbar__sublink {
  display: block;
  padding: 9px 20px;
  font-size: 15px;
  color: var(--black);
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.navbar__sublink:hover {
  background: var(--bg-50, #f2f8f7);
  color: var(--seledyn-500);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--seledyn-600);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.navbar__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Logo fallback (gdy brak pliku SVG) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
}
.brand-logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.brand-logo__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-logo__txt b {
  font-size: 18px;
  font-weight: 700;
  color: var(--seledyn-500);
}
.brand-logo__txt span {
  font-size: 11px;
  font-weight: 400;
  color: var(--grey-600);
  letter-spacing: 0.02em;
}
.logo--light .brand-logo__txt b {
  color: var(--white);
}
.logo--light .brand-logo__txt span {
  color: var(--seledyn-400);
}

/* =========== SEKCJE — wspólne =========== */
.section {
  padding-top: var(--sp-40);
  padding-bottom: var(--sp-40);
}

/* =========== KORZYŚCI =========== */
.benefits {
  position: relative;
  background: var(--seledyn-600);
  border-radius: var(--radius-card);
  padding: var(--sp-40);
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
  overflow: hidden;
}
/* Oryginalna tekstura z Figmy (multiply, 50%) */
.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/bg-korzysci.png") center/cover no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
}
/* Trójkąt akcentowy w prawym górnym narożniku */
.benefits::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -160px;
  width: 260px;
  height: 260px;
  background: var(--seledyn-500);
  transform: rotate(45deg);
  border-radius: 24px;
  pointer-events: none;
}
.benefits__title {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--white);
}
.benefits__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-40);
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
}
.benefit__icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
}
.benefit__icon svg {
  position: relative;
  z-index: 1;
  display: block;
}
.benefit__icon-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.benefit__text {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  color: var(--white);
}
.benefit__text h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.2px;
}
.benefit__text p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}
.benefits__btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  padding-right: 12px;
}

/* =========== BLOG =========== */
.section--blog {
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
}
.blog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.blog__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
}
.blog__all {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  transition: color 0.15s ease;
}
.blog__all:hover {
  color: var(--seledyn-500);
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}
.blog-card__img {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-100), var(--bg-50));
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: var(--seledyn-strong);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  padding: var(--sp-4) var(--sp-8);
  border-radius: var(--radius-card);
}
.blog-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 56px;
}
.author {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.author__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--seledyn-300), var(--seledyn-500));
  flex: 0 0 auto;
}
.author__meta {
  display: flex;
  flex-direction: column;
}
.author__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
}
.author__sub {
  font-size: 12px;
  font-weight: 300;
  color: var(--grey-600);
  display: inline-flex;
  gap: var(--sp-4);
}
.author__sub i {
  font-style: normal;
}

/* =========== FAQ / TEKST SEO =========== */
.section--faq {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 80px;
  padding-bottom: var(--sp-40);
}
.faq__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.faq__cols {
  display: flex;
  gap: var(--sp-64);
}
.faq__col {
  flex: 1 1 0;
  min-width: 0;
}
.faq__col p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 12px;
}
.faq__col p:last-child {
  margin-bottom: 0;
}

/* =========== FOOTER =========== */
/* Tło na całą szerokość, treść w kontenerze (max 1440, wyśrodkowana) */
.footer {
  margin-top: var(--sp-40);
  background: var(--footer-bg);
}
.footer__inner {
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-40);
  padding-top: var(--sp-40);
  padding-bottom: var(--sp-40);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  gap: var(--sp-40);
}
.footer__copy {
  font-size: 14px;
  font-weight: 300;
  color: var(--seledyn-400);
}
.footer__cols {
  display: flex;
  gap: var(--sp-64);
}
.footer__col {
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
}
.footer__col h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.footer__col a {
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  transition: color 0.15s ease;
}
.footer__col a:hover {
  color: var(--seledyn-300);
}

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */
@media (max-width: 1200px) {
  :root {
    --content-pad: 40px;
  }
  .hero__title {
    font-size: 48px;
  }
  .hero__media {
    width: 460px;
    height: 360px;
  }
  .banner__price-big {
    font-size: 48px;
  }
}

@media (max-width: 1024px) {
  .navbar__toggle {
    display: flex;
  }
  .navbar__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-24);
    background: var(--white);
    border-bottom: 1px solid var(--bg-50);
    padding: var(--sp-24) var(--content-pad);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  }
  .navbar__menu.is-open {
    transform: translateY(0);
  }
  .navbar__nav {
    width: 100%;
  }
  .navbar__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-16);
    width: 100%;
  }
  .navbar__cta {
    align-self: flex-start;
  }
  /* na mobile dropdown rozwinięty na stałe (brak hovera na dotyku) */
  .navbar__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 6px 0 6px 16px;
    min-width: 0;
    background: transparent;
  }
  .navbar__item {
    width: 100%;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__intro {
    max-width: none;
  }
  .hero__media {
    width: 100%;
    height: 360px;
  }

  .banner {
    flex-wrap: wrap;
    gap: var(--sp-24);
    padding: var(--sp-48) var(--sp-40);
  }
  .banner__divider {
    display: none;
  }
  .banner__cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-24);
    width: 100%;
  }
  .banner__text {
    font-size: 28px;
  }

  .map-card__graphic {
    opacity: 0.35;
    right: -40px;
  }
  .map-card__content {
    max-width: 100%;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-40) var(--sp-40);
  }

  .blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-card:last-child {
    grid-column: span 2;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  :root {
    --content-pad: 24px;
  }
  .hero__title {
    font-size: 40px;
  }
  .hero__operators-title {
    font-size: 26px;
  }
  .hero__operators {
    gap: var(--sp-24);
  }
  .op-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps__title {
    font-size: 34px;
  }
  /* Kroki w pionie na mobile */
  .steps__numbers {
    grid-template-columns: 1fr;
    height: auto;
    gap: var(--sp-8);
    margin-top: 0;
  }
  .steps__line {
    display: none;
  }
  .step-num {
    height: 64px;
  }
  .step-num span {
    position: static;
    transform: none;
    display: block;
  }
  .step-num .dot {
    display: none;
  }
  .step-num--icon {
    display: none;
  }
  .steps__descriptions {
    grid-template-columns: 1fr;
    gap: var(--sp-24);
    text-align: left;
  }
  .step-desc {
    align-items: flex-start;
  }
  .step-desc p {
    max-width: none;
  }

  .map-card__graphic {
    display: none;
  }

  .benefits {
    padding: var(--sp-24);
  }
  .benefits__title {
    font-size: 34px;
  }

  .blog__grid {
    grid-template-columns: 1fr;
  }
  .blog-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .faq__cols {
    flex-direction: column;
    gap: var(--sp-24);
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--sp-40);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }
  .op-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    padding: var(--sp-24);
  }
  .banner__price-big {
    font-size: 40px;
  }
  .banner__text {
    font-size: 22px;
  }
  .benefits__grid {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    flex-direction: column;
    gap: var(--sp-40);
  }
}

/* =====================================================
   PODSTRONY OPERATORÓW (uniwersalny szablon, kolor = --brand)
   ===================================================== */
.page-op.op-tauron {
  --brand: #e2007a;
}
.page-op.op-enea {
  --brand: #003087;
}
.page-op.op-pge {
  --brand: #1a7466;
}
.page-op.op-energa {
  --brand: #d81e04;
}
.page-op.op-eon {
  --brand: #ea1b0a;
}

/* HERO */
.op-hero {
  position: relative;
  background: var(--brand);
  overflow: hidden;
}
.op-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Maska w kolorze operatora nad wideo (czytelność tekstu + spójność z projektem) */
.op-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand) 92%, transparent),
    color-mix(in srgb, var(--brand) 55%, transparent)
  );
  z-index: 1;
  pointer-events: none;
}
.op-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 299px;
  padding: 40px var(--content-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-8);
}
.breadcrumb {
  position: absolute;
  top: 12px;
  left: var(--content-pad);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  font-size: 12px;
  font-weight: 300;
  color: var(--white);
}
.breadcrumb a {
  text-decoration: underline;
}
.breadcrumb a:hover {
  opacity: 0.85;
}
.breadcrumb__sep {
  opacity: 0.8;
}
.op-hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--white);
  max-width: 629px;
}
.op-hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
  max-width: 629px;
}
.op-hero__logo {
  position: absolute;
  right: var(--content-pad);
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  width: auto;
  max-height: 64px;
  max-width: 320px;
  object-fit: contain;
}
.op-hero__logo--txt {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
  display: inline-flex;
  align-items: center;
}

/* KAFELKI KWOT */
.amount-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--bg-50);
  border-radius: 16px;
  padding: 16px 24px;
  min-height: 90px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.04));
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.amount-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--brand);
}
.amount-tile .chevron {
  color: var(--grey-600);
  flex: 0 0 auto;
}
.amount {
  display: inline-flex;
  align-items: flex-end;
  gap: 6px;
  font-weight: 700;
  letter-spacing: -0.48px;
  line-height: 1;
}
.amount b {
  font-size: 48px;
  line-height: 1.2;
  color: var(--black);
}
.amount i {
  font-style: normal;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.32px;
  color: var(--brand);
}
.amount-tile--featured .amount b {
  color: var(--brand);
}
.amount-tile--featured {
  overflow: hidden;
}
.amount-tile--featured .corner {
  position: absolute;
  right: -28px;
  top: -28px;
  width: 56px;
  height: 56px;
  background: var(--brand);
  transform: rotate(45deg);
}
.amount-tile--featured .chevron {
  color: var(--brand);
}

/* Najczęściej wybierane */
.featured {
  background: var(--white);
  border: 1px solid var(--bg-50);
  border-radius: var(--radius-card);
  padding: var(--sp-32, 32px);
  padding: 32px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.04));
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.featured__head {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.featured__head .star {
  color: var(--brand);
  flex: 0 0 auto;
}
.featured__head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.featured__grid {
  display: flex;
  gap: var(--sp-16);
}
.featured__grid .amount-tile {
  flex: 1 1 0;
  min-width: 0;
}

/* Pozostałe kwoty */
.section--amounts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-40);
}
.amounts__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.amounts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16);
}

/* Inna kwota */
.section--custom {
  display: flex;
  justify-content: center;
}
.custom-card {
  width: 100%;
  max-width: 600px;
  border: 1px solid var(--bg-100);
  border-radius: var(--radius-card);
  padding: 32px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.custom-card__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.custom-card__head h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--brand);
}
.custom-card__head p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}
.field {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.field label {
  font-size: 16px;
  font-weight: 400;
}
.field__input {
  background: var(--bg-25);
  border-radius: var(--sp-8);
  padding: 12px;
}
.field__input input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  color: var(--black);
}
.field__input input::placeholder {
  color: var(--grey-600);
  font-weight: 300;
}
.btn--brand {
  background: var(--brand);
  color: var(--white);
}
.btn--brand:hover {
  background: #c70069;
}
.btn--brand:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.custom-card__btn {
  padding-right: 12px;
}

/* Baner Tauron */
.banner--op {
  background: var(--brand);
}
.banner--op::after {
  background: rgba(255, 255, 255, 0.2);
}
.banner--op .banner__badge {
  background: var(--white);
  color: var(--brand);
}
.banner--op .banner__btn {
  color: var(--brand);
}
.banner__cta-row--split {
  justify-content: space-between;
  gap: var(--sp-24);
}
.banner__cta-row--split .banner__text {
  flex: 0 1 440px;
}
.banner__woman {
  position: absolute;
  right: 230px;
  bottom: 0;
  height: calc(100% - 24px);
  max-height: 230px;
  width: auto;
  z-index: 1;
  pointer-events: none;
}

/* Akcent różowy dla wspólnych sekcji na podstronie Tauron */
.grad-op {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand) 60%, #000),
    var(--brand)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-op .step-num .dot {
  background: var(--brand);
}
.page-op .t-strong {
  color: var(--brand);
}
.page-op .step-icon::before {
  background: var(--bg-50);
}

/* =====================================================
   STRONY TREŚCIOWE (nagłówek + breadcrumb)
   ===================================================== */
.page-head {
  padding-top: 24px;
  padding-bottom: 8px;
}
.breadcrumb--dark {
  position: static;
  color: var(--black);
  padding: 8px 0;
}
.breadcrumb--dark a {
  text-decoration: underline;
}
.breadcrumb--dark a:hover {
  color: var(--seledyn-500);
}
.page-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  padding: 16px 0;
}

/* =====================================================
   BLOG — lista, kategoria, wpis
   ===================================================== */
.blog-list {
  padding-top: 32px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.blog-list__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  flex-wrap: wrap;
}
.blog-list__head .page-title {
  padding: 0;
}
.search {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  background: var(--bg-25);
  border: 1px solid var(--bg-50);
  border-radius: 999px;
  padding: 12px 16px;
  width: 416px;
  max-width: 100%;
}
.search__icon {
  color: var(--grey-600);
  flex: 0 0 auto;
}
.search input {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: 16px;
}
.search input::placeholder {
  color: var(--grey-600);
}

.blog-list__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  flex-wrap: wrap;
}
.chips {
  display: flex;
  gap: var(--sp-12);
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--bg-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  transition: all 0.15s ease;
}
.chip:hover {
  border-color: var(--seledyn-300);
  color: var(--seledyn-500);
}
.chip--active {
  background: var(--seledyn-strong);
  border-color: var(--seledyn-strong);
  color: var(--white);
}
.sort {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
}

.blog__grid--list {
  row-gap: 48px;
}
.blog-card__img {
  display: block;
}
.blog-card__title a {
  color: inherit;
}
.blog-card__title a:hover {
  color: var(--seledyn-500);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  transition: all 0.15s ease;
}
.pagination__btn:hover {
  background: var(--bg-25);
}
.pagination__btn--active {
  background: var(--seledyn-strong);
  color: var(--white);
}
.pagination__dots {
  color: var(--grey-600);
  padding: 0 4px;
}

/* Powrót */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--seledyn-500);
  padding: 8px 0;
}
.back-link:hover {
  color: var(--seledyn-600);
}

/* Wpis blogowy */
.article {
  max-width: 880px;
  padding-top: 16px;
  padding-bottom: 48px;
}
.article__head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
  margin-bottom: 32px;
}
.article__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.author--lg .author__avatar {
  width: 40px;
  height: 40px;
}
.author--lg .author__name {
  font-size: 14px;
}
.author--lg .author__sub {
  font-size: 14px;
}
.article__hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--bg-100), var(--bg-50));
  aspect-ratio: 16/7;
}
.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.article__body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.16px;
}
.article__body h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.24px;
  margin-top: 12px;
}
.article__toc {
  background: var(--bg-25);
  border: 1px solid var(--bg-50);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article__toc-title {
  font-weight: 700;
  font-size: 16px;
}
.article__toc ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 4px;
}
.article__toc a {
  text-decoration: underline;
  color: var(--seledyn-500);
  font-size: 16px;
}
.article__table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 15px;
}
.article__table th,
.article__table td {
  border: 1px solid var(--bg-100);
  padding: 12px 16px;
  text-align: left;
}
.article__table th {
  background: var(--bg-25);
  font-weight: 700;
}
.article__figs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0;
}
.article__figs figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article__figs img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-100), var(--bg-50));
}
.article__figs figcaption {
  font-size: 12px;
  color: var(--grey-600);
}

@media (max-width: 768px) {
  .blog__grid--list {
    grid-template-columns: 1fr;
  }
  .search {
    width: 100%;
  }
  .article__title {
    font-size: 30px;
  }
  .article__figs {
    grid-template-columns: 1fr;
  }
  .article__figs img {
    height: 220px;
  }
}

/* =====================================================
   PANEL UŻYTKOWNIKA
   ===================================================== */
.panel {
  padding-top: 32px;
  padding-bottom: 64px;
}
.panel__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  max-width: 1088px;
}
.panel-side {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 304px;
}
.panel-menu {
  border: 1px solid var(--bg-100);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
}
.menu-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--bg-100);
  border-radius: 8px;
  font-size: 14px;
  color: var(--black);
  background: #fff;
  transition: all 0.15s ease;
}
.menu-tab svg {
  width: 24px;
  height: 24px;
  color: var(--grey-600);
  flex: 0 0 auto;
}
.menu-tab:hover {
  border-color: var(--seledyn-300);
}
body[data-panel="dane"] .menu-tab--dane,
body[data-panel="doladowania"] .menu-tab--doladowania,
body[data-panel="adresy"] .menu-tab--adresy,
body[data-panel="komunikacja"] .menu-tab--komunikacja {
  border-color: var(--seledyn-strong);
  color: var(--seledyn-strong);
  font-weight: 700;
}
body[data-panel="dane"] .menu-tab--dane svg,
body[data-panel="doladowania"] .menu-tab--doladowania svg,
body[data-panel="adresy"] .menu-tab--adresy svg,
body[data-panel="komunikacja"] .menu-tab--komunikacja svg {
  color: var(--seledyn-strong);
}
/* Stan aktywny sterowany klasą (WooCommerce) */
.menu-tab.is-active {
  border-color: var(--seledyn-strong);
  color: var(--seledyn-strong);
  font-weight: 700;
}
.menu-tab.is-active svg {
  color: var(--seledyn-strong);
}
.orders-empty {
  color: var(--grey-600);
  font-size: 16px;
}
.page-content--panel {
  width: 100%;
}
.panel-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--seledyn-strong);
  color: var(--seledyn-strong);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.15s ease;
}
.panel-logout:hover {
  background: var(--seledyn-strong);
  color: #fff;
}

.panel-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.panel-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.panel-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.panel-section__head h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.panel-edit {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-600);
  display: inline-flex;
  padding: 2px;
}
.panel-edit:hover {
  color: var(--seledyn-500);
}
.field-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-view > label {
  font-size: 16px;
  font-weight: 400;
}
.field-box {
  background: var(--bg-25);
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
}
.field-box input {
  border: none;
  background: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  width: 100%;
  color: var(--black);
}
.field-box input:disabled {
  color: var(--black);
  -webkit-text-fill-color: var(--black);
  opacity: 1;
}
.field-box .eye {
  color: var(--grey-600);
  flex: 0 0 auto;
  cursor: pointer;
}
.panel-divider {
  height: 1px;
  background: var(--bg-50);
  width: 100%;
}
.panel-actions {
  display: flex;
  gap: 12px;
}
.btn--ghost {
  background: #fff;
  border-color: var(--bg-100);
  color: var(--black);
}
.btn--ghost:hover {
  border-color: var(--seledyn-300);
}
.is-hidden {
  display: none !important;
}

/* Lista doładowań */
.orders {
  display: flex;
  flex-direction: column;
}
.orders__head,
.order-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 110px 130px 110px auto;
  align-items: center;
  gap: 20px;
}
.orders__head {
  padding: 0 0 12px;
  font-size: 14px;
  color: var(--grey-600);
}
.order-row {
  padding: 16px 0;
  border-top: 1px solid var(--bg-50);
}
.order-tile {
  width: 64px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.order-tile--tauron {
  background: #e2007a;
}
.order-name {
  font-size: 16px;
  font-weight: 500;
}
.order-price {
  font-size: 16px;
  font-weight: 700;
}
.order-date {
  font-size: 14px;
  color: var(--grey-600);
}
.status {
  font-size: 14px;
  font-weight: 500;
}
.status--ok {
  color: var(--seledyn-500);
}
.status--pending {
  color: #c77700;
}
.status--wait {
  color: var(--grey-600);
}
.btn--sm {
  padding: 6px 16px;
  font-size: 14px;
}

/* Szczegóły zamówienia */
.order-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--bg-50);
  border-bottom: 1px solid var(--bg-50);
}
.order-summary div span {
  display: block;
}
.order-summary .k {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 4px;
}
.order-summary .v {
  font-size: 16px;
  font-weight: 600;
}
.order-card {
  border: 1px solid var(--bg-100);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.order-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.order-card__top .order-name {
  display: flex;
  align-items: center;
  gap: 16px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.spec__row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  gap: 16px;
}
.spec__row .lbl {
  color: var(--grey-600);
}
.spec__note {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.5;
}
.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  padding-top: 12px;
  border-top: 1px solid var(--bg-50);
}
.order-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-25);
  border-radius: 12px;
  padding: 20px 24px;
}
.order-code__label {
  font-size: 16px;
  font-weight: 500;
}
.order-code__value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--seledyn-500);
}

/* Adresy */
.addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.addr-card {
  border: 1px solid var(--bg-100);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.addr-card__label {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 10px;
}
.addr-card__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
  line-height: 1.5;
}
.addr-card__lines b {
  font-weight: 600;
  font-size: 16px;
}
.addr-card__actions {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--grey-600);
}
.addr-card__actions button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 2px;
}
.addr-card__actions button:hover {
  color: var(--seledyn-500);
}

/* Komunikacja */
.comm {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 620px;
}
.comm__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.comm__sub {
  font-size: 16px;
  font-weight: 300;
}
.comm__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.comm__opt input {
  width: 20px;
  height: 20px;
  accent-color: var(--seledyn-strong);
}

@media (max-width: 900px) {
  .panel__inner {
    flex-direction: column;
    gap: 32px;
  }
  .panel-side {
    position: static;
    flex: 1 1 auto;
    width: 100%;
  }
  .panel-menu {
    width: 100%;
  }
  .orders__head {
    display: none;
  }
  .order-row {
    grid-template-columns: 48px 1fr auto;
    grid-row-gap: 4px;
  }
  .order-row .order-date,
  .order-row .status {
    grid-column: 2;
  }
  .order-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-code__value {
    font-size: 22px;
  }
}

/* STRONA PRAWNA / TEKSTOWA */
.legal {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 176px 80px;
}
.legal__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  padding: 16px 0;
}
.legal__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1088px;
}
.legal__sec {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal__h {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.24px;
}
.legal__p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.16px;
}
.legal__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 24px;
}
.legal__list li {
  list-style: disc;
  margin-left: 24px;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.16px;
}

@media (max-width: 1024px) {
  .legal {
    padding: 32px 64px 64px;
  }
}
@media (max-width: 600px) {
  .legal {
    padding: 24px var(--content-pad) 48px;
  }
  .legal__title {
    font-size: 30px;
  }
}

/* KONTAKT */
.contact {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--sp-48);
  padding-top: 32px;
  padding-bottom: 32px;
}
.contact__info {
  display: flex;
  gap: var(--sp-48);
  flex: 0 1 640px;
  padding-top: 16px;
}
.contact__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-48);
}
.contact__group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.contact__label {
  font-size: 16px;
  font-weight: 400;
}
.contact__h {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.24px;
}
.contact__link {
  text-decoration: underline;
}
.contact__link:hover {
  color: var(--seledyn-500);
}
.contact__addr {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}
.contact__note {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
}
.contact__media {
  width: 482px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__img {
  max-width: 100%;
  height: auto;
  filter: blur(3px);
}
.contact__bolt {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .contact {
    flex-direction: column;
    gap: var(--sp-40);
  }
  .contact__media {
    width: 100%;
  }
  .contact__img,
  .contact__bolt svg {
    max-height: 280px;
  }
}
@media (max-width: 600px) {
  .contact__info {
    flex-direction: column;
    gap: var(--sp-40);
  }
  .page-title {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .featured__grid {
    flex-wrap: wrap;
  }
  .featured__grid .amount-tile {
    flex: 1 1 calc(50% - var(--sp-16));
  }
  .amounts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner__woman {
    display: none;
  }
}
@media (max-width: 768px) {
  .op-hero__title {
    font-size: 30px;
  }
  .op-hero__logo {
    max-height: 48px;
    max-width: 200px;
  }
  .op-hero__inner {
    min-height: 220px;
    padding-top: 48px;
  }
  .featured {
    padding: 24px;
  }
  .featured__grid {
    flex-direction: column;
  }
  .featured__grid .amount-tile {
    flex: 1 1 auto;
  }
  .amounts__grid {
    grid-template-columns: 1fr;
  }
  .custom-card {
    padding: 24px;
  }
  .amount b {
    font-size: 40px;
  }
  .amount i {
    font-size: 28px;
  }
}

/* ============================================================
   LOGOWANIE / KONTO (WooCommerce my-account) — wg projektu
   ============================================================ */
.page-content--account {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.page-content--account .entry-content,
.page-content--account .woocommerce {
  width: 100%;
}
.page-content--account .woocommerce {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-24);
  width: 480px;
  max-width: 100%;
}
.auth__box {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--bg-100);
  border-radius: 16px;
  padding: var(--sp-24);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.auth__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.32px;
  color: var(--black);
}
.auth__form {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.auth__fields {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.auth__field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.auth__label {
  font-size: 16px;
  color: var(--black);
}
.auth__input {
  height: 48px;
  width: 100%;
  background: var(--bg-25);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-family: inherit;
  color: var(--black);
}
.auth__input:focus {
  outline: none;
  border-color: var(--seledyn-300);
  background: var(--white);
}
.auth__submit {
  width: 100%;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: var(--white);
  background: var(--seledyn-strong);
  border: 1px solid var(--seledyn-strong);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.auth__submit:hover {
  background: #0aa69c;
  box-shadow: 0 8px 20px rgba(12, 186, 175, 0.28);
}
.auth__divider {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}
.auth__divider::before,
.auth__divider::after {
  content: "";
  flex: 1 0 0;
  height: 1px;
  background: var(--bg-100);
}
.auth__divider span {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
}
.auth__social {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}
.auth__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-12);
  background: var(--white);
  border: 1px solid var(--bg-100);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 16px;
  color: var(--black);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.auth__social-btn:hover {
  background: var(--bg-25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.auth__social-btn svg {
  flex: 0 0 auto;
}
.auth__note {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--black);
  text-align: center;
}
.auth__register-q {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
}
.auth__register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--seledyn-strong);
  border-radius: 999px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.auth__register:hover {
  background: #0aa69c;
  box-shadow: 0 8px 20px rgba(12, 186, 175, 0.28);
}

/* Komunikaty WooCommerce (błędy logowania) nad kartą */
.page-content--account .woocommerce-error,
.page-content--account .woocommerce-message,
.page-content--account .woocommerce-info {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  background: var(--bg-25);
  border: 1px solid var(--bg-100);
  color: var(--black);
}
.page-content--account .woocommerce-error {
  border-color: #e2007a;
}

@media (max-width: 768px) {
  .page-content--account {
    padding: 32px 16px;
    min-height: auto;
  }
  .auth__title {
    font-size: 26px;
  }
}

/* ============ CHECKOUT (WooCommerce) ============ */
.navbar--checkout {
  position: static;
}
.navbar--checkout .navbar__inner {
  justify-content: flex-start;
}

.md-checkout-wrap {
  padding: 40px 0 80px;
}
.md-checkout-wrap .container {
  max-width: 1120px;
}

/* Przycisk „Kupuję i płacę" + inne przyciski Woo → brand */
.md-checkout #place_order,
.md-checkout .woocommerce #payment #place_order,
.md-checkout button.button,
.md-checkout .button.alt {
  background: var(--seledyn-strong);
  border: 1px solid var(--seledyn-strong);
  color: var(--white);
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 16px;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}
.md-checkout #place_order:hover,
.md-checkout button.button:hover,
.md-checkout .button.alt:hover {
  background: #0aa69c;
  box-shadow: 0 8px 20px rgba(12, 186, 175, 0.28);
}
.md-checkout #place_order {
  width: 100%;
}

/* „Wróć do listy" */
.md-checkout-back {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
  color: var(--seledyn-500);
  text-decoration: underline;
}
.md-checkout-back:hover {
  color: var(--seledyn-strong);
}

/* Nota o zwrocie w podsumowaniu */
.md-checkout .md-refund-note td {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-600);
  padding: 12px 0;
}

/* Checkboxy wg projektu (zaokrąglone, brand check) */
.md-checkout input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0 8px 0 0;
  border: 1.5px solid var(--bg-100);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  position: relative;
  vertical-align: -4px;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}
.md-checkout input[type="checkbox"]:checked {
  background: var(--seledyn-strong);
  border-color: var(--seledyn-strong);
}
.md-checkout input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.md-checkout .woocommerce-form__label-for-checkbox,
.md-checkout .woocommerce-terms-and-conditions-wrapper label {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

/* Drobne odstępy formularza */
.md-checkout .woocommerce-checkout .col2-set,
.md-checkout .woocommerce-checkout #order_review {
  margin-top: 8px;
}
.md-checkout .form-row {
  margin-bottom: 14px;
}

/* ============ CHECKOUT — formularz (klasyczny WooCommerce) ============ */
.md-checkout .woocommerce {
  max-width: 1120px;
  margin: 0 auto;
}
.md-checkout .woocommerce form.checkout {
  display: block;
}
.md-checkout .col2-set {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.md-checkout .col2-set .col-1,
.md-checkout .col2-set .col-2 {
  flex: 1 1 0;
  min-width: 280px;
  float: none;
  width: auto;
}

.md-checkout h3,
.md-checkout h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
}

.md-checkout .form-row {
  margin: 0 0 16px;
}
.md-checkout .form-row label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 6px;
}
.md-checkout .required {
  color: #e2007a;
  border: 0;
}

.md-checkout .input-text,
.md-checkout select,
.md-checkout textarea {
  width: 100%;
  border: 1px solid var(--bg-100);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--black);
  background: var(--bg-25);
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}
.md-checkout .input-text:focus,
.md-checkout select:focus,
.md-checkout textarea:focus {
  border-color: var(--seledyn-strong);
  background: var(--white);
  outline: none;
}
.md-checkout textarea {
  min-height: 96px;
  resize: vertical;
}

/* select2 (kraj) dopasowany do reszty pól */
.md-checkout .select2-container--default .select2-selection--single {
  height: auto;
  border: 1px solid var(--bg-100);
  border-radius: 12px;
  background: var(--bg-25);
  padding: 8px 8px;
}
.md-checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 1.4;
  color: var(--black);
  padding: 0 6px;
}
.md-checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}
.md-checkout .select2-dropdown {
  border-color: var(--bg-100);
  border-radius: 12px;
}

/* dwa pola obok siebie (Imię / Nazwisko) */
.md-checkout .form-row-first {
  width: 48%;
  float: left;
  margin-right: 4%;
}
.md-checkout .form-row-last {
  width: 48%;
  float: right;
}
.md-checkout .form-row-wide {
  clear: both;
}
.md-checkout .woocommerce-billing-fields__field-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

/* Tabela podsumowania */
.md-checkout .shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--bg-50);
  border-radius: 16px;
  overflow: hidden;
}
.md-checkout .shop_table th,
.md-checkout .shop_table td {
  padding: 14px 16px;
  text-align: left;
}
.md-checkout .shop_table thead th {
  background: var(--bg-25);
  font-weight: 700;
}
.md-checkout .shop_table tbody td,
.md-checkout .shop_table tfoot td,
.md-checkout .shop_table tfoot th {
  border-top: 1px solid var(--bg-50);
}
.md-checkout .order-total th,
.md-checkout .order-total td {
  font-size: 18px;
  font-weight: 700;
}

/* Sekcja płatności */
.md-checkout #payment {
  background: var(--bg-25);
  border-radius: 16px;
  padding: 8px 20px;
  margin-top: 16px;
}
.md-checkout #payment ul.payment_methods {
  border: 0;
  padding: 12px 0;
}
.md-checkout #payment .place-order {
  padding: 16px 0;
}

/* ============ CHECKOUT — układ 2 kolumny (iteracja 2) ============ */
.md-co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 48px;
  align-items: start;
}
.md-co-main {
  min-width: 0;
}
.md-co-main #customer_details .col2-set {
  display: block;
}
.md-co-main #customer_details .col-1,
.md-co-main #customer_details .col-2 {
  width: 100%;
  float: none;
}

.md-co-main h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px;
}
.md-pay-title {
  font-size: 28px;
  font-weight: 700;
  margin: 28px 0 16px;
}

/* zgoda SMS */
.md-checkout .md-sms {
  margin-top: 6px;
}

/* Metody płatności jako karty */
.md-checkout .wc_payment_methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.md-checkout .wc_payment_method {
  border: 1px solid var(--bg-100);
  border-radius: 14px;
  padding: 14px 18px;
}
.md-checkout .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}
.md-checkout .wc_payment_method input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--bg-100);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex: 0 0 22px;
}
.md-checkout .wc_payment_method input[type="radio"]:checked {
  border-color: var(--seledyn-strong);
}
.md-checkout .wc_payment_method input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--seledyn-strong);
}
.md-checkout .wc_payment_method:has(input:checked) {
  border-color: var(--seledyn-strong);
}
.md-checkout .payment_box {
  background: var(--bg-25);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
  font-size: 14px;
}

/* Karta podsumowania (prawa kolumna) */
.md-co-aside #order_review_heading {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}
.md-summary {
  border: 1px solid var(--bg-50);
  border-radius: 18px;
  padding: 4px 24px 22px;
}
.md-summary__product {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}
.md-summary__logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--bg-25);
  overflow: hidden;
  flex: 0 0 64px;
}
.md-summary__logo img {
  max-width: 80%;
  max-height: 60%;
  object-fit: contain;
}
.md-summary__name {
  font-weight: 600;
  font-size: 17px;
}
.md-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--bg-50);
}
.md-summary__k {
  color: var(--grey-600);
}
.md-summary__v {
  font-weight: 700;
}
.md-summary__row--amount .md-summary__v {
  font-weight: 700;
}
.md-summary__section {
  padding: 14px 0 4px;
  border-top: 1px solid var(--bg-50);
  font-weight: 700;
}
.md-summary__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--grey-600);
  padding: 12px 0;
  border-top: 1px solid var(--bg-50);
}
.md-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0 2px;
  border-top: 1px solid var(--bg-50);
  font-size: 20px;
  font-weight: 700;
}
.md-summary__fee {
  font-size: 13px;
  color: var(--grey-600);
}

@media (max-width: 900px) {
  .md-co-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .md-co-aside {
    order: -1;
  }
}
