/* ============ CENNIK — nowoczesny layout ============ */

.cennik-hero {
  background: linear-gradient(135deg, #0f0f12 0%, #1a1a20 50%, #22222a 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.cennik-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 60%; height: 140%;
  background: radial-gradient(circle, rgba(255,106,0,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.cennik-hero .container { position: relative; z-index: 2; }
.cennik-hero-kicker {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,106,0,0.18);
  color: #ffb380;
  border: 1px solid rgba(255,106,0,0.35);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cennik-hero h1 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 20px;
  max-width: 900px;
}
.cennik-hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #c8c8cc;
  max-width: 820px;
  margin: 0 0 40px;
}
.cennik-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 720px) { .cennik-hero-stats { grid-template-columns: repeat(2, 1fr); } }
.cennik-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 18px;
  backdrop-filter: blur(10px);
}
.cennik-stat-val {
  font-family: 'Archivo', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #ff6a00;
  line-height: 1;
  margin-bottom: 6px;
}
.cennik-stat-lab {
  font-size: 0.82rem;
  color: #a0a0a8;
  line-height: 1.4;
}

/* ============ TABS ============ */
.cennik-section { background: #f5f5f0; padding: 50px 0 80px; }
.cennik-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  border-bottom: 2px solid #e5e5e0;
  padding-bottom: 0;
  overflow-x: auto;
}
.cennik-tab {
  background: transparent;
  border: none;
  padding: 14px 22px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #6a6a6a;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  white-space: nowrap;
}
.cennik-tab:hover { color: #18181a; }
.cennik-tab.is-active {
  color: #ff6a00;
  border-bottom-color: #ff6a00;
}
.cennik-tab-panel { display: none; }
.cennik-tab-panel.is-active { display: block; }
.cennik-tab-intro {
  color: #5a5a5a;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 820px;
}

/* ============ KONFIGURATOR ============ */
.konfig-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 960px) { .konfig-grid { grid-template-columns: 1fr; } }

.konfig-form { display: flex; flex-direction: column; gap: 24px; }

.konfig-step {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #ededed;
}
.konfig-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.konfig-step-num {
  width: 34px; height: 34px;
  background: #ff6a00;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-family: 'Archivo', sans-serif;
  flex-shrink: 0;
}
.konfig-step-head h3 {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #18181a;
}
.konfig-step-desc {
  color: #5a5a5a;
  font-size: 0.92rem;
  margin: 0 0 20px;
  line-height: 1.6;
}

.konfig-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.konfig-opt {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  align-items: flex-start;
}
.konfig-opt:hover { border-color: #ffb380; background: #fff8f2; }
.konfig-opt input[type="radio"],
.konfig-opt input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #ff6a00;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.konfig-opt input:checked ~ .konfig-opt-body { }
.konfig-opt:has(input:checked) { border-color: #ff6a00; background: #fff5ec; }
.konfig-opt-body { flex: 1; }
.konfig-opt-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.konfig-opt-head strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  color: #18181a;
}
.konfig-opt-price {
  font-weight: 700;
  color: #ff6a00;
  white-space: nowrap;
  font-size: 0.95rem;
}
.konfig-opt-desc { font-size: 0.86rem; color: #6a6a6a; line-height: 1.5; }

/* slider */
.konfig-slider { margin: 10px 0; }
.konfig-slider input[type="range"] {
  width: 100%;
  accent-color: #ff6a00;
  height: 8px;
}
.konfig-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8a8a8a;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}
.konfig-bowl-readout {
  background: #fff5ec;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0;
  color: #18181a;
  font-size: 0.98rem;
  border: 1px solid #ffcf9e;
}
.konfig-bowl-readout strong { color: #ff6a00; }
.konfig-bowl-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.konfig-preset-btn {
  background: #fff;
  border: 1px solid #d0d0d0;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  cursor: pointer;
  color: #333;
  transition: all 0.15s;
  font-family: 'Manrope', sans-serif;
}
.konfig-preset-btn:hover {
  border-color: #ff6a00;
  color: #ff6a00;
  background: #fff5ec;
}

/* accessories */
.konfig-accessories { display: flex; flex-direction: column; gap: 22px; }
.konfig-acc-group {
  border-top: 1px solid #eee;
  padding-top: 14px;
}
.konfig-acc-group:first-child { border-top: none; padding-top: 0; }
.konfig-acc-label {
  font-weight: 700;
  margin-bottom: 10px;
  color: #18181a;
  font-size: 0.96rem;
}
.konfig-acc-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 4px;
}
.konfig-acc-opt:hover { background: #f8f8f5; }
.konfig-acc-opt input {
  accent-color: #ff6a00;
  width: 16px; height: 16px;
  flex-shrink: 0;
}
.konfig-acc-opt span:first-of-type {
  flex: 1;
  color: #333;
  font-size: 0.92rem;
}
.konfig-acc-opt .konfig-acc-price {
  font-weight: 600;
  color: #ff6a00;
  white-space: nowrap;
  font-size: 0.88rem;
}

/* summary sidebar */
.konfig-summary-sticky {
  position: sticky;
  top: 20px;
  background: linear-gradient(135deg, #18181a 0%, #26262e 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}
.konfig-summary-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff9e52;
  font-weight: 700;
  margin-bottom: 8px;
}
.konfig-summary-title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.3;
}
.konfig-summary-items {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: #c8c8cc;
}
.konfig-summary-items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.konfig-summary-items li:last-child { border-bottom: none; }
.konfig-summary-items li span:last-child {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.konfig-summary-divider {
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 10px 0;
}
.konfig-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: #c8c8cc;
  font-size: 0.92rem;
}
.konfig-summary-row strong { color: #fff; font-size: 1rem; }
.konfig-summary-row-main {
  color: #ff9e52;
  font-size: 1rem;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 6px;
}
.konfig-summary-row-main strong {
  color: #ff6a00;
  font-size: 1.5rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
}
.konfig-cta-btn {
  display: block;
  margin-top: 20px;
  padding: 16px 20px;
  background: #ff6a00;
  color: #fff;
  text-align: center;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}
.konfig-cta-btn:hover { background: #ff8220; }
.konfig-summary-note {
  margin-top: 14px;
  font-size: 0.74rem;
  color: #8a8a90;
  line-height: 1.5;
}

/* ============ PACKAGES ============ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.pkg-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  border: 1px solid #ededed;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.pkg-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: #f0f0f0;
  color: #5a5a5a;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pkg-card-featured {
  border-color: #ff6a00;
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
}
.pkg-card-featured .pkg-card-badge {
  background: #ff6a00;
  color: #fff;
}
.pkg-card-dark {
  background: linear-gradient(135deg, #18181a 0%, #26262e 100%);
  color: #fff;
  border-color: transparent;
}
.pkg-card-dark .pkg-card-title { color: #fff; }
.pkg-card-dark .pkg-card-desc { color: #c8c8cc; }
.pkg-card-dark .pkg-card-items { color: #a0a0a8; }
.pkg-card-dark .pkg-card-price-val { color: #ff9e52; }
.pkg-card-dark .pkg-card-link {
  color: #ff9e52;
  border-color: rgba(255,158,82,0.4);
}
.pkg-card-dark .pkg-card-link:hover { background: rgba(255,158,82,0.12); }
.pkg-card-badge-gold { background: linear-gradient(135deg,#d4af37,#ffd76b) !important; color:#000 !important; }
.pkg-card-badge-new { background: #22c55e !important; color: #fff !important; }
.pkg-card-new { border-color: #22c55e; }
.pkg-card-title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #18181a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.pkg-card-desc {
  color: #5a5a5a;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 14px;
  min-height: 2.8em;
}
.pkg-card-items {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 0.86rem;
  color: #666;
}
.pkg-card-items li {
  padding: 4px 0 4px 20px;
  position: relative;
}
.pkg-card-items li::before {
  content: '•';
  color: #ff6a00;
  position: absolute;
  left: 6px;
  font-weight: 700;
}
.pkg-card-price {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed #e5e5e0;
}
.pkg-card-price-lab {
  display: block;
  font-size: 0.72rem;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.pkg-card-price-val {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff6a00;
  line-height: 1.1;
}
.pkg-card-price-brutto {
  display: block;
  font-size: 0.78rem;
  color: #8a8a8a;
  margin-top: 4px;
}
.pkg-card-link {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  color: #ff6a00;
  border: 1px solid #ffcf9e;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.15s;
}
.pkg-card-link:hover { background: #fff5ec; }

/* ============ FULL PRICELIST ============ */
.price-group {
  background: #fff;
  border-radius: 16px;
  padding: 28px 28px;
  margin-bottom: 20px;
  border: 1px solid #ededed;
}
.price-group-title {
  font-family: 'Archivo', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #18181a;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-group-icon { font-size: 1.4rem; }
.price-group-desc {
  color: #5a5a5a;
  font-size: 0.9rem;
  margin: 0 0 18px;
  line-height: 1.5;
}
.price-table-wrap { overflow-x: auto; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.price-table th,
.price-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.price-table th {
  background: #fafaf8;
  font-weight: 700;
  color: #333;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-table .right { text-align: right; white-space: nowrap; }
.price-table .mono {
  font-family: 'JetBrains Mono', monospace;
  color: #ff6a00;
  font-weight: 600;
  font-size: 0.85rem;
}
.price-table tbody tr:hover { background: #fafaf8; }

.price-footnote {
  background: #fff8f2;
  border-left: 3px solid #ff6a00;
  padding: 16px 20px;
  border-radius: 8px;
  color: #5a5a5a;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-top: 20px;
}

/* ============ CTA BAND ============ */
.cennik-cta-band {
  background: linear-gradient(135deg, #ff6a00 0%, #ff8220 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cennik-cta-band h2 {
  font-family: 'Archivo', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.cennik-cta-band p {
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.cennik-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cennik-cta-actions .btn-primary {
  background: #fff;
  color: #ff6a00;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}
.cennik-cta-actions .btn-primary:hover { background: #18181a; color: #fff; }
.cennik-cta-actions .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}
.cennik-cta-actions .btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* ============ PRODUCT-PRICE (na stronach maszyn) ============ */
.product-price.has-value {
  background: linear-gradient(135deg, #fff5ec 0%, #ffe3ca 100%);
  padding: 14px 18px;
  border-radius: 10px;
  border-left: 3px solid #ff6a00;
  margin-bottom: 16px;
}
.product-price .price-netto {
  display: block;
  font-family: 'Archivo', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ff6a00;
  line-height: 1.1;
}
.product-price .price-brutto {
  display: block;
  font-size: 0.86rem;
  color: #6a6a6a;
  margin-top: 4px;
}
.product-price .price-config-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #18181a;
  text-decoration: underline;
}
.product-price .price-config-link:hover { color: #ff6a00; }

/* .is-active in nav */
.topnav a.is-active { color: #ff6a00; font-weight: 700; }

/* ============ ZDJĘCIA NA KARTACH PAKIETÓW ============ */
.pkg-card-img {
  width: calc(100% + 48px);
  margin: -26px -24px 16px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f5f5f0 0%, #e8e8e0 100%);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  display: block;
}
.pkg-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}
.pkg-card:hover .pkg-card-img img { transform: scale(1.04); }
.pkg-card-dark .pkg-card-img {
  background: linear-gradient(135deg, #1f1f27 0%, #2a2a33 100%);
}

/* ============ THUMBNAILS W TABELI CENNIKA ============ */
.price-table th.thumb-col,
.price-table td.thumb-col {
  width: 72px;
  padding: 8px 10px;
}
.price-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fafaf8;
  object-fit: cover;
  object-position: center;
  border: 1px solid #ededed;
  cursor: zoom-in;
  transition: transform 0.15s, box-shadow 0.15s;
}
.price-thumb:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.price-thumb-ph {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0f0ec 0%, #e5e5e0 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #b0b0a8;
  border: 1px dashed #d0d0cc;
}

/* ============ LIGHTBOX ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-img {
  max-width: 94vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
