/* =========================================
   ECOTABS – GLOBAL STYLESHEET  v2 (Apple-style)
   ========================================= */

:root {
  --green-dark:   #0A3D20;
  --green-mid:    #1A6B3C;
  --green-main:   #2D9B5A;
  --green-light:  #5EC47E;
  --green-pale:   #E4F5EC;
  --green-bg:     #F0FAF5;
  --grad-top:     #D6EFE2;   /* subtelny jasno-zielony jak Apple's light blue */
  --grad-mid:     #EBF7F1;
  --accent:       #F59E0B;
  --accent-dark:  #D97706;
  --text-dark:    #1D1D1F;   /* Apple's text color - nie czysta czerń */
  --text-mid:     #3D3D3F;
  --text-muted:   #6E6E73;   /* Apple's secondary text */
  --text-subtle:  #AEAEB2;
  --white:        #FFFFFF;
  --off-white:    #FBFBFD;   /* Apple's signature off-white */
  --surface:      #F5F5F7;   /* Apple's light gray */
  --border:       #D2D2D7;
  --border-light: #E8E8ED;
  --dark-bg:      #1D1D1F;   /* zachowany dla footera */
  --dark-surface: #2C2C2E;
  --dark-border:  rgba(255,255,255,0.08);
  --shadow-xs:    0 1px 3px rgba(0,0,0,0.05);
  --shadow-sm:    0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:    0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg:    0 24px 64px rgba(0,0,0,0.10);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-xl:    32px;
  --transition:   0.2s ease;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  padding-top: 60px; /* kompensata za fixed navbar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; }
p { color: var(--text-mid); line-height: 1.7; }

.section-label {
  display: inline-block;
  background: transparent;
  color: var(--green-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ---- LAYOUT ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-alt { background: var(--surface); }
/* "Zielona" sekcja – jak Apple's gradient tiles */
.section-dark {
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--off-white) 100%);
  color: var(--text-dark);
}
.section-dark p { color: var(--text-muted); }
.section-dark .section-label { color: var(--green-mid); }
.section-dark .section-header h2 { color: var(--text-dark); }

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--text-dark);
  color: var(--white);
}
.btn-primary:hover {
  background: #1a1a1a;
  transform: scale(1.02);
}
.btn-green {
  background: var(--green-main);
  color: var(--white);
}
.btn-green:hover {
  background: var(--green-mid);
  transform: scale(1.02);
}
.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: #d1d5db;
}
.btn-accent {
  background: var(--green-main);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--green-mid);
  transform: scale(1.02);
}
.btn-ghost {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); }
.btn-ghost-white {
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; box-sizing: border-box; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px;
}
.navbar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 32px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.navbar-nav {
  display: flex;
  gap: 2px;
  flex: 1;
}
.navbar-nav a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--text-dark);
  background: var(--surface);
}
.navbar-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.04em;
}
.lang-btn:hover { color: var(--text-dark); background: var(--surface); }
.lang-btn.active { color: var(--green-main); background: var(--green-pale); }
.lang-sep { color: var(--border); font-size: 0.75rem; user-select: none; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.cart-btn:hover { background: #1a1a1a; transform: scale(1.03); }
.cart-count {
  background: var(--green-main);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -4px;
  right: -4px;
}
.cart-count.hidden { display: none; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  z-index: 999;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-mid);
}
.mobile-menu a:hover { background: var(--surface); color: var(--text-dark); }


/* ---- HERO ---- */
.hero {
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--white) 100%);
  padding: 80px 24px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(45,155,90,0.1);
  border: 1px solid rgba(45,155,90,0.2);
  color: var(--green-mid);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 span { color: var(--green-mid); }
.hero-sub {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  font-weight: 400;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 56px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 18px 40px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  color: var(--text-dark);
  padding: 0 32px;
  border-right: 1px solid var(--border-light);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span { font-size: 0.75rem; color: var(--text-muted); }
/* Hero image area - produkt jako bohater */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 8px;
}
.hero-product-img {
  max-width: 680px;
  width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 48px rgba(45,155,90,0.10), 0 8px 32px rgba(0,0,0,0.06);
}
.hero-product-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
/* stary hero-card - zachowany dla kompatybilności */
.hero-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  color: var(--text-dark);
  width: 100%;
  max-width: 360px;
}
.hero-card h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -0.03em; }
.hero-card p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 24px; }
.hero-price {
  background: var(--green-main);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 1.3rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.hero-price-sub { font-size: 0.78rem; color: var(--text-muted); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  padding: 14px 24px;
}
.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 20px;
  border-right: 1px solid var(--border-light);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { flex-shrink: 0; color: var(--green-main); }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 72px; }
.section-header h2 { margin-bottom: 20px; color: var(--text-dark); }
.section-dark .section-header h2 { color: var(--text-dark); }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 580px; margin: 0 auto; }

/* ---- PRODUCT CARDS ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.product-img {
  background: var(--off-white);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.1rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.product-body p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 18px; }
.product-features { margin-bottom: 20px; }
.product-features li {
  font-size: 0.84rem;
  color: var(--text-mid);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--green-pale);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='%232D9B5A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.04em;
}
.product-price-unit { font-size: 0.8rem; color: var(--text-subtle); font-weight: 400; }
.product-old-price {
  font-size: 0.875rem;
  color: var(--text-subtle);
  text-decoration: line-through;
}
.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  background: var(--white);
}
.qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: background var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--surface); }
.qty-input {
  width: 38px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { appearance: none; }

/* ---- HOW IT WORKS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 1px;
  background: var(--border-light);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--green-main);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 12px; font-size: 1.1rem; color: var(--text-dark); }
.step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ---- ECO COUNTER ---- */
.eco-counter {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--grad-mid) 100%);
  border-top: 1px solid rgba(45,155,90,0.1);
  border-bottom: 1px solid rgba(45,155,90,0.1);
  padding: 56px 24px;
}
.eco-counter-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.eco-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green-dark);
  display: block;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.eco-label { font-size: 0.85rem; color: var(--green-mid); }

/* ---- FEATURES GRID ---- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.feature-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
.feature-icon {
  margin-bottom: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.feature-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ---- COMPARISON TABLE ---- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.comparison-table thead tr th {
  background: var(--text-dark);
  color: var(--white);
  padding: 18px 20px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.comparison-table thead tr th:first-child { text-align: left; background: #111; }
.comparison-table tbody tr:nth-child(even) { background: var(--off-white); }
.comparison-table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
  text-align: center;
}
.comparison-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--text-dark); }
.check { color: var(--green-main); font-weight: 700; }
.cross { color: #EF4444; font-weight: 700; }
.compare-col-highlight { background: rgba(45,155,90,0.04) !important; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.testimonial-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--accent); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green-dark);
  font-weight: 800;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.875rem; }
.author-info { font-size: 0.78rem; color: var(--text-muted); }
.verified { font-size: 0.72rem; color: var(--green-main); font-weight: 600; margin-top: 2px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: transparent;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--text-dark); color: var(--white); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ---- B2B SECTION ---- */
.b2b-section {
  background: linear-gradient(180deg, var(--grad-top) 0%, var(--surface) 100%);
  padding: 112px 24px;
  text-align: center;
}
.b2b-section h2 { color: var(--text-dark); margin-bottom: 20px; letter-spacing: -0.04em; }
.b2b-section > .container > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 52px;
}
.b2b-features { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.b2b-feature {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--text-dark);
  text-align: left;
  min-width: 200px;
  flex: 1;
  max-width: 240px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-xs);
}
.b2b-feature:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: var(--border); }
.b2b-feature .b2b-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--green-main);
}
.b2b-feature .b2b-icon svg { width: 24px; height: 24px; }
.b2b-feature strong { font-size: 0.95rem; display: block; margin-bottom: 6px; letter-spacing: -0.02em; color: var(--text-dark); }
.b2b-feature p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ════════════════════════════════════════════════════
   CHECKOUT STEPS BAR
   Używane w: koszyk.html, kasa.html, potwierdzenie.html
   Klasy: .active / .done (bez BEM) — jednolite w całym projekcie
   ════════════════════════════════════════════════════ */
.checkout-steps-bar {
  background: var(--green-bg);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}
.checkout-steps-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.checkout-step.active {
  font-weight: 700;
  color: var(--green-dark);
}
.checkout-step.done {
  color: var(--green-main);
}
.checkout-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.checkout-step.active .checkout-step-num {
  background: var(--green-main);
  color: #fff;
}
.checkout-step.done .checkout-step-num {
  background: var(--green-light);
  color: #fff;
}
.checkout-step-connector {
  flex: 1;
  max-width: 80px;
  min-width: 20px;
  height: 2px;
  background: var(--border);
  margin: 0 12px;
  flex-shrink: 0;
}
.checkout-step-connector.done {
  background: var(--green-light);
}
.checkout-step-label { white-space: nowrap; }

/* page-header bez dodatkowego padding-top na stronie koszyka */
.page-header-cart { padding-top: 28px; padding-bottom: 28px; }

/* ════════════════════════════════════════════════════
   CART PAGE LAYOUT
   ════════════════════════════════════════════════════ */
.cart-section { padding-top: 36px; padding-bottom: 64px; }

/* ---- CART PAGE ---- */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.cart-main { min-width: 0; }
.cart-aside { min-width: 0; }
.cart-table {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.cart-table-header {
  display: grid;
  grid-template-columns: 1fr auto auto auto 36px;
  gap: 16px;
  padding: 14px 24px;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto 36px;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-info { display: flex; gap: 16px; align-items: center; }
.cart-item-icon {
  width: 68px;
  height: 68px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.cart-item-variant { font-size: 0.8rem; color: var(--text-muted); }
.cart-item-unit-price { font-size: 0.9rem; color: var(--text-muted); text-align: right; white-space: nowrap; }
.cart-item-price { font-weight: 700; font-size: 1rem; color: var(--text-dark); text-align: right; }
.cart-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 0.9rem;
}
.cart-remove:hover { background: #FEE2E2; color: #EF4444; }
.cart-empty {
  text-align: center;
  padding: 80px 40px;
}
.cart-empty span { font-size: 3.5rem; display: block; margin-bottom: 16px; }
.cart-empty h3 { margin-bottom: 10px; }
.cart-empty p { color: var(--text-muted); margin-bottom: 28px; }

/* ---- CONTINUE LINK ---- */
.cart-continue {
  margin-top: 16px;
}
.cart-continue .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- TRUST BADGES ---- */
.cart-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.cart-trust-icon {
  color: var(--green-main);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-trust-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-trust-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}
.cart-trust-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---- UPSELL SECTION ---- */
.cart-upsell-section {
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 64px;
}
.cart-upsell-header {
  margin-bottom: 32px;
}
.cart-upsell-title {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.cart-upsell-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cart-upsell-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.cart-upsell-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.cart-upsell-img {
  height: 160px;
  overflow: hidden;
  background: var(--green-pale);
}
.cart-upsell-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-upsell-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.cart-upsell-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-subtle);
  background: var(--surface);
  border-radius: 4px;
  padding: 2px 7px;
  align-self: flex-start;
}
.cart-upsell-badge--green {
  color: var(--green-dark);
  background: var(--green-pale);
}
.cart-upsell-badge--pink {
  color: #be185d;
  background: #fdf2f8;
}
.cart-upsell-name {
  font-weight: 700;
  font-size: 0.925rem;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cart-upsell-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.cart-upsell-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.cart-upsell-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ---- ORDER SUMMARY ---- */
.order-summary {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 76px; /* 60px navbar + 16px gap */
  box-shadow: var(--shadow-xs);
}
.order-summary h3 { margin-bottom: 24px; font-size: 1rem; letter-spacing: -0.02em; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1.5px solid var(--border);
}
.summary-row.total span:last-child { color: var(--text-dark); font-size: 1.25rem; }
.promo-input {
  display: flex;
  gap: 8px;
  margin: 16px 0;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .promo-input input { width: 100%; }
  .promo-input button { width: 100%; }
}
.promo-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  transition: border-color var(--transition);
}
.promo-input input:focus { outline: none; border-color: var(--text-dark); }

/* ---- CHECKOUT ---- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
.checkout-form-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.checkout-form-card h3 {
  font-size: 1rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}
.step-badge {
  width: 26px;
  height: 26px;
  background: var(--text-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid > * { min-width: 0; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.05);
}
.form-group input.error, .form-group select.error { border-color: #EF4444; }
.error-msg { font-size: 0.78rem; color: #EF4444; margin-top: 3px; }

/* ---- PAYMENT OPTIONS ---- */
.payment-options { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.payment-option.selected { border-color: var(--text-dark); }
.payment-option-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
}
.payment-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.payment-option.selected .payment-radio {
  border-color: var(--text-dark);
  background: var(--text-dark);
}
.payment-option.selected .payment-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
}
.payment-icon { font-size: 1.3rem; }
.payment-label { font-weight: 600; font-size: 0.9rem; flex: 1; }
.payment-logos { display: flex; gap: 6px; }
.payment-logo {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-mid);
}
.payment-body { display: none; padding: 0 18px 18px; }
.payment-option.selected .payment-body { display: block; }
.card-fields { display: flex; flex-direction: column; gap: 12px; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  width: 100%;
}
.card-input:focus { outline: none; border-color: var(--text-dark); }
.blik-info {
  text-align: center;
  padding: 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.blik-info p { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 12px; }
.blik-code-input { display: flex; gap: 8px; justify-content: center; }
.blik-code-input input {
  width: 52px;
  height: 52px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--transition);
}
.blik-code-input input:focus { outline: none; border-color: var(--text-dark); }
.transfer-info {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.transfer-info p { font-size: 0.875rem; color: var(--text-muted); }

/* ---- SHIPPING COST BOX ---- */
.shipping-cost-box {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 20px;
}
.shipping-cost-box .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.04em;
}
.shipping-cost-box .note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- DELIVERY LABELS ---- */
.delivery-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition);
  margin-bottom: 10px;
}
.delivery-label.selected { border-color: var(--text-dark); }
.delivery-label input { display: none; }

/* ---- CONFIRMATION ---- */
.confirmation-wrapper { text-align: center; padding: 80px 24px; }
.confirmation-icon {
  width: 88px;
  height: 88px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 28px;
  animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.confirmation-wrapper h1 { color: var(--text-dark); margin-bottom: 16px; }
.confirmation-wrapper p { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; }
.order-number {
  display: inline-block;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--text-dark);
  padding: 12px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: left;
}
.next-step {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 20px;
}
.next-step span { font-size: 1.5rem; display: block; margin-bottom: 10px; }
.next-step strong { display: block; font-size: 0.875rem; margin-bottom: 5px; color: var(--text-dark); }
.next-step p { font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ---- POLICY PAGES ---- */
.policy-content { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.policy-content h1 { margin-bottom: 8px; }
.policy-meta { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 40px; }
.policy-content h2 { font-size: 1.25rem; margin: 36px 0 14px; color: var(--text-dark); }
.policy-content h3 { font-size: 1rem; margin: 24px 0 10px; }
.policy-content p { margin-bottom: 14px; line-height: 1.75; }
.policy-content ul { margin: 12px 0 16px 20px; }
.policy-content ul li { list-style: disc; padding: 4px 0; line-height: 1.6; color: var(--text-mid); font-size: 0.9rem; }
.policy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.875rem;
}
.policy-content table th, .policy-content table td {
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border);
}
.policy-content table th { background: var(--off-white); font-weight: 600; }
.policy-content table tr:nth-child(even) { background: var(--off-white); }

/* ─────────────────────────────────────────────────────────────────────
   COOKIE CONSENT – GDPR / ePrivacy / UODO compliant
   ───────────────────────────────────────────────────────────────────── */

/* Backdrop overlay */
.cc-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9998;
  display: none;
  animation: ccFadeIn 0.25s ease;
}
.cc-overlay.show { display: block; }

/* Main consent dialog */
#cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.12);
  z-index: 9999;
  max-height: 90vh;
  overflow-y: auto;
  display: none;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
#cookie-consent.show {
  display: block;
  transform: translateY(0);
}
.cc-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 28px 24px;
}

/* Header row */
.cc-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.cc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--green-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-main);
}
.cc-icon svg { width: 24px; height: 24px; }
.cc-header-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px;
}
.cc-header-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}
.cc-header-text a { color: var(--green-main); font-weight: 500; }

/* Category toggles */
.cc-categories { margin-bottom: 20px; }
.cc-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
}
.cc-category:first-child { border-top: none; padding-top: 0; }
.cc-category-info { flex: 1; min-width: 0; }
.cc-category-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cc-always-on {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-main);
  background: var(--green-bg);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.cc-category-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Toggle switch */
.cc-toggle {
  flex-shrink: 0;
  position: relative;
  width: 44px; height: 26px;
  margin-top: 2px;
}
.cc-toggle input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.cc-toggle-slider {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cc-toggle-slider::after {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  top: 3px; left: 3px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.cc-toggle input:checked + .cc-toggle-slider {
  background: var(--green-main);
}
.cc-toggle input:checked + .cc-toggle-slider::after {
  transform: translateX(18px);
}
.cc-toggle input:disabled + .cc-toggle-slider {
  background: var(--green-light);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Action buttons */
.cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cc-btn-accept {
  flex: 1;
  min-width: 160px;
  padding: 12px 20px;
  background: var(--green-main);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-align: center;
}
.cc-btn-accept:hover { background: var(--green-mid); }
.cc-btn-reject {
  flex: 1;
  min-width: 160px;
  padding: 12px 20px;
  background: var(--surface);
  color: var(--text-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}
.cc-btn-reject:hover { background: var(--off-white); border-color: var(--text-muted); }
.cc-btn-save {
  padding: 12px 22px;
  background: transparent;
  color: var(--green-main);
  border: 1.5px solid var(--green-main);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.cc-btn-save:hover { background: var(--green-bg); }

/* Footer links */
.cc-links {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.cc-links a { color: var(--text-muted); text-decoration: underline; }
.cc-links a:hover { color: var(--text-dark); }

/* Floating cookie icon (shown after consent) */
#cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px; height: 44px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9997;
  transition: box-shadow 0.2s, transform 0.2s;
  color: var(--text-muted);
}
#cookie-settings-btn:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.08);
  color: var(--green-main);
  border-color: var(--green-main);
}
#cookie-settings-btn svg { width: 22px; height: 22px; }
#cookie-settings-btn.visible { display: flex; }

@keyframes ccFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ccSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (max-width: 600px) {
  .cc-inner { padding: 20px 18px 18px; }
  .cc-actions { flex-direction: column; }
  .cc-btn-accept, .cc-btn-reject, .cc-btn-save { width: 100%; min-width: unset; }
  .cc-header { gap: 12px; }
}

/* ---- TOAST ---- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  animation: slideInRight 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}
.toast.success { border-left: 3px solid var(--green-main); }
.toast.error { border-left: 3px solid #EF4444; }
@keyframes slideInRight { from { transform: translateX(24px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---- FOOTER ---- */
footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.5);
  padding: 72px 24px 32px;
}
.footer-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}
.footer-brand p { font-size: 0.875rem; margin-bottom: 24px; max-width: 260px; line-height: 1.7; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
  font-weight: 700;
}
.social-link:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.82rem; margin-bottom: 16px; font-weight: 600; letter-spacing: 0.02em; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-contact-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}
.footer-contact-item span:first-child { flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.payment-methods-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.03em;
}

/* ---- PAGE HEADER ---- */
.page-header {
  background: var(--off-white);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 24px;
}
.page-header-inner { max-width: 1160px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.82rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--text-dark); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb .current { color: var(--text-dark); font-weight: 500; }
.page-header h1 { font-size: 1.8rem; }

/* ---- LOADING OVERLAY ---- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.loading-overlay.show { display: flex; }
.spinner {
  width: 48px;
  height: 48px;
  border: 2.5px solid rgba(255,255,255,0.15);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay p { color: rgba(255,255,255,0.7); font-size: 0.95rem; font-weight: 500; }

/* ---- SKLEP – CATEGORY TABS ---- */
.cat-tabs {
  position: sticky;
  top: 60px;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
}
.cat-tabs-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}
.cat-tabs-inner::-webkit-scrollbar { display: none; }
.cat-tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}
.cat-tab:hover { color: var(--text-dark); background: var(--surface); }
.cat-tab.active { background: var(--text-dark); color: var(--white); border-color: var(--text-dark); }

/* ---- CHECKOUT TERMS CARD ---- */
.checkout-terms-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}

/* ---- BANK TRANSFER DATA ---- */
.transfer-bank-data {
  margin-top: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.85rem;
}
.transfer-bank-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4px 0;
  gap: 8px;
  flex-wrap: wrap;
}
.transfer-bank-row + .transfer-bank-row {
  border-top: 1px solid var(--border);
}
.transfer-bank-label {
  color: var(--text-muted);
  flex-shrink: 0;
}
.transfer-bank-iban {
  word-break: break-all;
  text-align: right;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-product-img { max-width: 540px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .eco-counter-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { border-radius: 20px; padding: 16px 20px; gap: 0; }
  .hero-stat { padding: 0 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cart-table-header { display: none; }
  .cart-item { grid-template-columns: 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .next-steps { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.82rem; }
  .eco-counter-inner { grid-template-columns: repeat(2, 1fr); }
  .b2b-features { flex-direction: column; align-items: stretch; }
  .b2b-feature { max-width: 100%; }
  .products-grid { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 0; }
  .trust-item { padding: 6px 12px; }
  h1 { font-size: clamp(2.2rem, 7vw, 3rem); }

  /* Cart page – mobile */
  .cart-layout { grid-template-columns: 1fr; }
  .cart-aside { order: -1; } /* summary na górze na mobile */
  .order-summary { position: static; top: auto; }
  .cart-trust-grid { grid-template-columns: 1fr; }
  .cart-upsell-grid { grid-template-columns: 1fr; }

  /* Checkout steps – tylko kółka, bez etykiet */
  .checkout-steps-bar { padding: 10px 16px; }
  .checkout-steps-inner { width: 100%; max-width: 100%; justify-content: center; min-width: 0; }
  .checkout-step-label { display: none !important; }
  .checkout-step-connector { max-width: 40px; min-width: 12px; margin: 0 8px; }
  .checkout-step { min-width: 0; flex-shrink: 0; gap: 0; }

  /* Checkout – mobile fix */
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-form-card,
  .checkout-terms-card {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .order-summary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .cart-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .checkout-form-card *,
  .checkout-form-card *::before,
  .checkout-form-card *::after { box-sizing: border-box; }
  .form-group input,
  .form-group select,
  .form-group textarea { width: 100%; max-width: 100%; }
  .payment-option { max-width: 100%; width: 100%; }
  .payment-option-header { padding: 12px 14px; gap: 10px; flex-wrap: wrap; }
  .payment-logos { flex-wrap: wrap; }
  .payment-body { padding: 0 14px 14px; }
  .card-input { width: 100%; max-width: 100%; box-sizing: border-box; }
  .blik-code-input input { width: 42px; height: 42px; font-size: 1.1rem; }
  .transfer-info { max-width: 100%; overflow: hidden; }
  .transfer-info [style*="display:flex"],
  .transfer-info [style*="display: flex"] { flex-wrap: wrap; gap: 4px; }
}

@media (max-width: 480px) {
  .eco-counter-inner { grid-template-columns: 1fr 1fr; }
  .hero { padding: 80px 20px 60px; }
  .confirmation-wrapper { padding: 48px 20px; }
  .b2b-section { padding: 72px 20px; }

  /* Cart page – small phones */
  .cart-trust-grid { grid-template-columns: 1fr 1fr; }
  .cart-upsell-grid { grid-template-columns: 1fr; }
  .cart-upsell-img { height: 120px; }
  /* Checkout steps – smaller connectors on narrow screens */
  .checkout-step-connector { max-width: 24px; min-width: 8px; margin: 0 4px; }
}

/* ══════════════════════════════════════════════════
   MOBILE – wąskie telefony (≤430px)
   Obejmuje: Samsung S21 (360px), S22 (393px),
   iPhone 14 Pro (393px), Galaxy A54 (412px),
   iPhone Pro Max (430px)
   ══════════════════════════════════════════════════ */
@media (max-width: 430px) {

  /* Kontenery i sekcje – max-width i padding */
  .container,
  .navbar-inner,
  .hero-inner,
  .trust-bar-inner,
  .eco-counter-inner,
  .section-header,
  .footer-inner,
  .cart-layout,
  .confirmation-wrapper { padding-left: 16px !important; padding-right: 16px !important; }

  /* Wszystkie gridy inline (product cards, for-whom, features) → 1 kolumna */
  [style*="grid-template-columns"],
  [style*="grid-template-columns:repeat"] {
    grid-template-columns: 1fr !important;
  }

  /* Product cards */
  .product-card,
  .products-grid { min-width: 0 !important; width: 100% !important; }

  /* Hero */
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .hero-stat {
    padding: 8px !important;
    min-width: 0 !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
  }
  .hero-stat:last-child { border-bottom: none !important; }
  .hero-stat strong { font-size: 1.4rem !important; }
  .hero-sub { font-size: 1rem !important; }

  /* Trust bar – zawijaj w dwa rzędy */
  .trust-bar-inner {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 12px 16px !important;
  }
  .trust-item { font-size: 0.75rem !important; padding: 4px 8px !important; }

  /* Nagłówki */
  h1 { font-size: 2rem !important; line-height: 1.15 !important; }
  h2 { font-size: 1.6rem !important; line-height: 1.2 !important; }
  h3 { font-size: 1.05rem !important; }

  /* Przyciski – pełna szerokość na hero */
  .hero-ctas { flex-direction: column !important; gap: 10px !important; }
  .hero-ctas .btn { width: 100% !important; text-align: center !important; justify-content: center !important; }

  /* Tabela porównawcza */
  .comparison-table { font-size: 0.76rem !important; }
  .comparison-table td,
  .comparison-table th { padding: 8px 6px !important; }

  /* Koszyk i kasa – tabela produktów */
  .cart-item { width: 100% !important; min-width: 0 !important; }
  .form-group input,
  .form-group select,
  .form-group textarea { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }

  /* Checkout – bardzo wąskie ekrany */
  .checkout-form-card,
  .checkout-terms-card {
    padding: 14px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .order-summary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .cart-table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .payment-option-header { padding: 10px 12px !important; gap: 8px !important; }
  .payment-body { padding: 0 12px 12px !important; }
  .card-input { width: 100% !important; box-sizing: border-box !important; }
  .blik-info { padding: 10px 6px !important; }
  .blik-code-input { gap: 3px !important; }
  .blik-code-input input { width: 30px !important; height: 30px !important; font-size: 0.8rem !important; border-radius: 6px !important; }

  /* Sklep – configurator i type-btns */
  .type-selector { flex-direction: column !important; }
  .type-btn { min-width: 0 !important; width: 100% !important; }

  /* Sklep – cat tabs – scroll poziomy zamiast overflow */
  .cat-tabs { overflow-x: auto !important; }
  .cat-tabs-inner { min-width: max-content; }

  /* B2B section */
  .b2b-features { flex-direction: column !important; }
  .b2b-feature { max-width: 100% !important; min-width: 0 !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .footer-bottom { flex-direction: column !important; gap: 8px !important; text-align: center !important; }
  .footer-links { flex-direction: column !important; gap: 6px !important; }

  /* Cookie consent */
  .cc-inner { padding: 16px !important; }
  .cc-actions { flex-direction: column !important; }
  .cc-btn-accept, .cc-btn-reject, .cc-btn-save {
    width: 100% !important; min-width: 0 !important;
  }

  /* Polityki – tabele */
  .policy-content table { display: block !important; overflow-x: auto !important; width: 100% !important; }

  /* Potwierdzenie zamówienia */
  .order-detail-row { flex-wrap: wrap !important; }

  /* Ukryj dekoracyjne elementy które mogą powodować overflow */
  .hero-visual { display: none !important; }

}

/* ══════════════════════════════════════════════════
   RESPONSYWNOŚĆ – SEKCJA ZASTOSOWANIA, PRZYCISKI, TABELA
   ══════════════════════════════════════════════════ */

/* Applications grid – wymusz 1 kolumnę na telefonach */
@media (max-width: 640px) {
  .apps-grid {
    grid-template-columns: 1fr !important;
  }
  .apps-grid > article {
    min-width: 0 !important;
    width: 100% !important;
    padding: 24px !important;
  }
}


/* Navbar – drugi rząd z przełącznikiem języka */
.navbar-lang-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 0 6px;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 768px) {
  body { padding-top: 90px; }
}

/* Przyciski "Zamów teraz" + "Oferta B2B" – stos pionowy + zawijanie tekstu */
@media (max-width: 600px) {
  .who-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .who-ctas .btn {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
  }
}

/* Przycisk "Zobacz wszystkie produkty" – nie wystawaj za ekran */
@media (max-width: 600px) {
  .btn-secondary.btn-lg {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* Tabela porównawcza – poziomy scroll, kompaktowa */
@media (max-width: 640px) {
  .comparison-table {
    font-size: 0.76rem !important;
    table-layout: auto !important;
    width: max-content !important;
    min-width: 100% !important;
  }
  .comparison-table thead tr th:first-child { min-width: 100px !important; width: auto !important; }
  .comparison-table thead tr th:not(:first-child) { min-width: 110px !important; width: auto !important; }
  .comparison-table td, .comparison-table th {
    padding: 8px 8px !important;
    word-break: break-word !important;
  }
}

/* Globalnie: żaden element nie wystawaj poza ekran */
@media (max-width: 480px) {
  img, video, iframe, table { max-width: 100% !important; }
  .container, .section > .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  /* Inline gridy → 1 kolumna na mniejszych telefonach */
  .apps-grid,
  [class*="grid"] {
    grid-template-columns: 1fr !important;
  }
  /* Checkout steps – bez etykiet */
  .checkout-step-label { display: none !important; }
}

/* ══════════════════════════════════════════════════
   POPRAWKI MOBILE – Maj 2026
   ══════════════════════════════════════════════════ */

/* 1. Sekcja Zastosowania – ramki 12% węższe, tekst wyśrodkowany */
@media (max-width: 640px) {
  .apps-grid > article {
    width: 88% !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* 2. Przycisk "Zamów teraz" – wymuś 2 linijki */
@media (max-width: 600px) {
  .who-ctas .btn-green {
    max-width: 220px !important;
    align-self: center !important;
    white-space: normal !important;
  }
}

/* 3. Eco-counter – liczby o 30% mniejsze */
@media (max-width: 640px) {
  .eco-num {
    font-size: 1.96rem !important; /* 2.8rem × 0.7 */
  }
}

/* 4. Przycisk "Zobacz wszystkie produkty" – wymuś 2 linijki */
@media (max-width: 600px) {
  .btn-secondary.btn-lg {
    max-width: 220px !important;
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* 5. Sekcja Porównanie – układ kart (jak zastosowania), bez scrolla */
@media (max-width: 640px) {
  .comparison-wrapper {
    overflow: visible !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .comparison-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }
  .comparison-table thead {
    display: none !important;
  }
  .comparison-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .comparison-table tr {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: var(--white) !important;
    width: 100% !important;
    box-shadow: var(--shadow-xs) !important;
  }
  .comparison-table td {
    display: block !important;
    padding: 9px 10px !important;
    text-align: left !important;
    font-size: 0.8rem !important;
    border-bottom: none !important;
    word-break: break-word !important;
    min-width: 0 !important;
    white-space: normal !important;
  }
  /* Nazwa cechy – pełna szerokość, ciemne tło */
  .comparison-table td:first-child {
    grid-column: 1 / -1 !important;
    background: var(--text-dark) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    text-align: left !important;
  }
  /* Kolumna EcoTabs – zielone tło, etykieta u góry */
  .comparison-table td:nth-child(2) {
    background: rgba(45,155,90,0.06) !important;
    border-right: 1px solid var(--border-light) !important;
  }
  .comparison-table td:nth-child(2)::before {
    content: "EcoTabs";
    display: block !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: var(--green-main) !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }
  /* Kolumna Tradycyjny – etykieta u góry */
  .comparison-table td:nth-child(3) {
    background: var(--white) !important;
  }
  .comparison-table td:nth-child(3)::before {
    content: "Tradycyjny";
    display: block !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    margin-bottom: 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }
  /* Naprzemienne wiersze – ciemniejsza cecha */
  .comparison-table tbody tr:nth-child(even) td:first-child {
    background: #111 !important;
  }
}

/* 6. Przycisk B2B – wymuś 2 linijki */
@media (max-width: 600px) {
  .b2b-section .btn-green.btn-lg {
    max-width: 220px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    white-space: normal !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CHECKOUT — MOBILE FIX KOMPLETNY (checkout-mobile-text-fix-01)
   Cel: na telefonie w pionie żaden element checkout nie wymusza
   szerokości większej niż viewport. Desktop bez zmian.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. STEPPER — tylko kółka na mobile ── */
@media (max-width: 768px) {
  .checkout-step-label { display: none !important; }
  .checkout-steps-bar { padding-left: 16px; padding-right: 16px; }
  .checkout-steps-inner { width: 100%; max-width: 100%; min-width: 0; justify-content: center; }
  .checkout-step { min-width: 0; flex-shrink: 0; gap: 0; }
  .checkout-step-connector {
    max-width: 40px; min-width: 12px;
    margin-left: 8px; margin-right: 8px;
    flex-shrink: 1;
  }
}
@media (max-width: 480px) {
  .checkout-step-label { display: none !important; }
  .checkout-step-connector {
    max-width: 24px; min-width: 8px;
    margin-left: 4px; margin-right: 4px;
  }
}
@media (max-width: 430px) {
  .checkout-step-label { display: none !important; }
  .checkout-steps-bar { padding-left: 12px; padding-right: 12px; }
}

/* ── 2. LAYOUT — jedna kolumna na mobile ── */
@media (max-width: 768px) {
  .checkout-layout { grid-template-columns: 1fr !important; }
  .order-summary {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .checkout-form-card,
  .checkout-terms-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-grid > * { min-width: 0 !important; }
  .card-row { grid-template-columns: 1fr !important; }
}

/* ── 3. PRZYCISKI — wrapping zamiast rozszerzania szerokości ── */
@media (max-width: 768px) {
  .btn {
    white-space: normal !important;
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }
  .btn.btn-full {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
  .btn.btn-full > * {
    min-width: 0;
    max-width: 100%;
    white-space: normal !important;
  }
}

/* ── 4. TEKST — zawijanie w elementach checkout na mobile ── */
@media (max-width: 768px) {
  .checkout-form-card,
  .checkout-terms-card,
  .order-summary,
  .payment-option,
  .transfer-bank-data,
  .transfer-bank-row {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .checkout-form-card label,
  .checkout-terms-card label,
  .checkout-form-card p,
  .checkout-form-card span:not(.checkout-step-num):not(.step-badge),
  .checkout-form-card small,
  .checkout-terms-card p,
  .checkout-terms-card span,
  .checkout-terms-card small,
  .payment-label,
  .payment-option p,
  .payment-option span,
  .transfer-bank-label,
  .order-summary p,
  .order-summary span,
  .order-summary small {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.4 !important;
    height: auto !important;
  }
}

/* ── 5. IBAN i długie ciągi bez spacji ── */
@media (max-width: 768px) {
  .transfer-bank-iban,
  .transfer-bank-data a,
  .checkout-form-card a,
  .checkout-terms-card a,
  .order-summary a {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* ── 6. JS inline white-space:nowrap w order-summary — nadpisanie ── */
@media (max-width: 768px) {
  .order-summary [style*="white-space:nowrap"],
  .order-summary [style*="white-space: nowrap"] {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
}

/* ── 7. BLIK inputy — fit w kontenerze na mobile ── */
@media (max-width: 768px) {
  .blik-code-input input {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.05rem !important;
  }
}
@media (max-width: 430px) {
  .blik-code-input { gap: 4px !important; }
  .blik-code-input input {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.8rem !important;
    border-radius: 6px !important;
  }
}

/* ── 8. INPUTY / SELECT / TEXTAREA — pełna szerokość kontenera ── */
@media (max-width: 768px) {
  .checkout-form-card input,
  .checkout-form-card select,
  .checkout-form-card textarea,
  .checkout-terms-card input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .checkout-form-card textarea {
    height: auto !important;
    min-height: 96px !important;
  }
}

/* ── 9. CART ITEM — cena nie wymusza szerokości ── */
@media (max-width: 768px) {
  .cart-item-unit-price { white-space: normal !important; }
}

/* ── 10. PŁATNOŚCI — brak overflow ── */
@media (max-width: 768px) {
  .payment-options { min-width: 0; max-width: 100%; }
  .payment-option { min-width: 0 !important; max-width: 100% !important; }
  .payment-option-header { flex-wrap: wrap !important; gap: 10px !important; }
  .payment-logos { flex-wrap: wrap !important; }
  .payment-body { min-width: 0; max-width: 100%; overflow: hidden; }
}

/* ── 11. TOUCH DEVICE FALLBACK (portrait/landscape fix) ── */
@media (hover: none) and (pointer: coarse) {
  .checkout-step-label { display: none !important; }
  .checkout-steps-inner { width: 100%; max-width: 100%; min-width: 0; justify-content: center; }
  .checkout-step { min-width: 0; flex-shrink: 0; gap: 0; }
  .checkout-step-connector {
    max-width: 40px; min-width: 12px;
    margin-left: 8px; margin-right: 8px;
    flex-shrink: 1;
  }
  .checkout-layout { grid-template-columns: 1fr !important; }
  .order-summary { position: static !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .checkout-form-card,
  .checkout-terms-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .form-grid { grid-template-columns: 1fr !important; }
  .form-grid > * { min-width: 0 !important; }
  .card-row { grid-template-columns: 1fr !important; }
  .btn { white-space: normal !important; height: auto !important; min-height: 48px !important; }
  .payment-option { width: 100% !important; max-width: 100% !important; }
  .payment-option-header { flex-wrap: wrap !important; }
  .payment-logos { flex-wrap: wrap !important; }
  .order-summary [style*="white-space:nowrap"],
  .order-summary [style*="white-space: nowrap"] {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: break-word !important;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 480px) {
  .checkout-step-connector { max-width: 24px; min-width: 8px; margin-left: 4px; margin-right: 4px; }
  .checkout-form-card,
  .checkout-terms-card { padding: 14px 12px !important; }
  .blik-code-input { gap: 4px !important; }
  .blik-code-input input { width: 30px !important; height: 30px !important; font-size: 0.8rem !important; border-radius: 6px !important; }
}

/* ── Zgody (checkboxy) — tekst pod checkboxem na mobile ── */
@media (max-width: 768px) {
  .terms-check-label {
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
  }
  .terms-check-label input[type="checkbox"] {
    margin-top: 0 !important;
    flex-shrink: 0;
  }
  .terms-check-text {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    line-height: 1.45 !important;
  }
}
