


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
    --green1: #f5f5f5;
    --green2: #e9e9e9;
    --green3: #ffffff;
    --dark-bg: rgba(255, 255, 255, 0.2);
    --glow-gradient: linear-gradient(90deg, #fffafa, #cccccc, #c7c7c7, #eee9e9, #c9c9c9);
}

/* Header styling */
.hero-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 32px;
    backdrop-filter: blur(16px);
    background-color: rgba(14, 14, 14, 0.904);
    box-shadow: 0 0 0 transparent;
    z-index: 999;
    border-bottom: 0px solid rgba(255, 255, 255, 0.658);
    overflow: hidden;
    transition: background 0.3s ease;
}

/* glowing animated bar */
.glow-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: var(--glow-gradient);
    background-size: 400% 400%;
    animation: glowMove 6s ease-in-out infinite;
    filter: blur(1px);
    border-radius: 0 0 16px 16px;
}


/* Header inner layout */
.hero-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo img {
    transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    font-weight: 600;
    color: #e9e9e9;
    font-size: 15px;
    position: relative;
    transition: all 0.25s ease;
}

.nav-links li a::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--green1);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover {
    color: var(--green3);
}
.nav-links li a:hover::before {
    width: 100%;
}

/* Facebook icon */
.fb-icon i {
    font-size: 18px;
    color: #181818;
    transition: transform 0.3s ease;
}
.fb-icon:hover i {
    transform: scale(1.2);
}

/* Glow bar animation */
@keyframes glowMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Entrance animation (optional, can comment out) */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .nav-links li a {
        font-size: 18px;
    }
}

.nav-links li a {
  font-weight: 550; /* zamiast 600 */
}
body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(to bottom right, #f1f1f1, #e8faff);
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 160vh;            /* zamiast height */
  padding-top: 20px; 
}





.card {
  background: white;
  border-radius: 25px;
  margin-top: 200px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  width: 850px;
  min-height: 450px;
  padding: 50px 60px;
  text-align: center;
  transition: all 0.3s ease;
}

.card:not(#step1):not(#step2) {
  min-height: 350px; /* <--- Wpisz tutaj docelową wysokość */
}

.hidden {
  display: none;
}

h1 {
  margin: 10px 0 25px;
  font-size: 28px;
  color: #222;
}

h2 {
  color: #777;
  font-weight: 500;
}

/* --- dropdown --- */
.dropdown-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.dropdown {
  appearance: none;
  background: #e7e7e7;
  border: 2px solid #000000;
  border-radius: 15px;
  padding: 14px 20px;
  font-size: 16px;
  color: #202020;
  cursor: pointer;
  width: 250px;
  text-align: center;
  transition: 0.2s;
}

.dropdown:hover {
  background: #e4e3e3;
}

.dropdown:focus {
  outline: none;
  border-color: #050505;
}

.next-btn {
  margin-top: 40px;
  background: #141414;
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 15px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
}

.next-btn:disabled {
  background: #333333;
  cursor: not-allowed;
}

.next-btn:hover:not(:disabled) {
  background: #050505;
}

/* --- krok 2 --- */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.text-section {
  flex: 1;
  text-align: left;
}

.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-section img {
  width: 270px;
  height: auto;
}

.memory-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.memory-btn {
  border: 2px solid #202020;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #131313;
  transition: 0.2s;
}

.memory-btn:hover {
  background: #0e0e0e;
  color: white;
}

.info {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.info span {
  color: #0f0f0f;
  font-weight: 500;
}

.back-btn {
  margin-top: 25px;
  background: #000000;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  color: #1d1d1d;
  cursor: pointer;
  transition: 0.2s;
}

.back-btn:hover {
  background: #0f0f0f;
}
.step-description {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.model-preview {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.model-preview .preview-img {
  width: 60px;
  height: auto;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.model-preview .preview-img:hover {
  transform: scale(1.1);
  border-color: #131313;
}

.model-preview .preview-img.active {
  border-color: #131313;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.series-container, .model-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.series-tile, .model-tile {
  background: #fdfcff;
  border: 2px solid #0e0e0e;
  border-radius: 15px;
  padding: 20px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.series-tile:hover, .model-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.model-tile.active {
  background: #141414;
  color: white;
  box-shadow: 0 0 15px rgba(7, 7, 7, 0.7);
}

.fade-in {
  animation: fadeIn 0.3s forwards;
}

.fade-out {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
.special-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tile-img {
  width: 60px;
  height: auto;
}

.series-tile.active, .special-tile.active {
  border-color: #1c1c1d;
  box-shadow: 0 0 15px rgba(8, 8, 8, 0.7);
}
.model-preview {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.model-preview .preview-img {
  width: 60px;
  height: auto;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
}

.model-preview .preview-img:hover {
  transform: scale(1.1);
  border-color: #1a1a1a;
}

.model-preview .preview-img.active {
  border-color: #161616;
  box-shadow: 0 0 10px rgba(5, 5, 5, 0.5);
}
.model-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.model-tile {
  border: 2px solid #0a0a0a;
  border-radius: 15px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.2s;
  background: transparent;
  color: #111111;
}

.model-tile:hover {
  background: #0c0c0c;
  color: white;
}

.model-tile.active {
  background: #131313;
  color: white;
  box-shadow: 0 0 15px rgba(59, 59, 59, 0.7);
}

.image-section {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.image-section img {
  width: 250px;
  height: auto;
}
.memory-options {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.memory-btn {
  border: 2px solid #000000;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #161616;
  transition: 0.2s;
}

.memory-btn:hover {
  background: #000000;
  color: white;
}

.image-section img {
  width: 270px;
  height: auto;
}

.back-btn {
  margin-top: 25px;
  background: #585858;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  color: #f3f3f3;
  cursor: pointer;
  transition: 0.2s;
}

.back-btn:hover {
  background: #1b1b1b;
}
.battery-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.battery-btn {
  border: 2px solid #0e0e0e;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #0a0a0a;
  transition: 0.2s;
}

.battery-btn:hover {
  background: #111111;
  color: white;
}

.image-section img {
  width: 270px;
  height: auto;
}

.visual-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.visual-btn {
  border: 2px solid #0a0a0a;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #080808;
  transition: 0.2s;
}

.visual-btn:hover {
  background: #080808;
  color: white;
}

#step4 .image-section img,
#step5 .image-section img,
#step3 .image-section img,
#step2 .image-section img {
  width: 270px !important;
  height: auto !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.damage-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.damage-btn {
  border: 2px solid #0f0f0f;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #080808;
  transition: 0.2s;
}

.damage-btn:hover {
  background: #080808;
  color: white;
}

.back-damage-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.back-damage-btn {
  border: 2px solid #111111;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #080808;
  transition: 0.2s;
}

.back-damage-btn:hover {
  background: #080808;
  color: white;
}

.faceid-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.faceid-btn {
  border: 2px solid #131313;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #080808;
  transition: 0.2s;
}

.faceid-btn:hover {
  background: #080808;
  color: white;
}

.components-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.components-btn {
  border: 2px solid #141414;
  border-radius: 15px;
  background: transparent;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  color: #080808;
  transition: 0.2s;
}

.components-btn:hover {
  background: #080808;
  color: white;
}

.extra-damage {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}

.extra-damage label {
  font-size: 15px;
  color: #080808;
  margin-bottom: 8px;
}

.extra-damage textarea {
  width: 100%;
  min-height: 100px;
  border: 2px solid #141414;
  border-radius: 15px;
  padding: 10px;
  font-size: 15px;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.extra-damage textarea:focus {
  border-color: #000000;
}

/* --- Podsumowanie --- */
.summary-details {
  text-align: left;
  margin-top: 25px;
  background: #ebebeb;
  border-radius: 15px;
  padding: 20px;
  line-height: 1.6;
  font-size: 15px;
  color: #333;
}

.price-section {
  margin-top: 0px;
}

.price {
  margin-top: 0px;
  font-size: 32px;
  color: #02aa0a;
  font-weight: 700;
}

#price-section {
  margin-top: 5px;
}

#damageDescription {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

#damageInput {
  width: 90%;
  max-width: 500px;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 15px;
  resize: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#damageInput:focus {
  border-color: #333333;
  outline: none;
  box-shadow: 0 0 5px rgba(58, 58, 58, 0.3);
}

/* ---- KAFELKI KROK 1 ---- */
.process-steps {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 45px;
  animation: fadeInUp 0.6s ease forwards;
}

.step-box {
  background: white;
  border-radius: 20px;
  padding: 25px 20px;
  width: 220px;
  border: 2px solid #0e0e0e;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.step-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
  background: #f8f8f8;
}

.step-icon {
  font-size: 42px;
  margin-bottom: 10px;
}

.step-box h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #111;
  font-weight: 600;
}

.step-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* animacja */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* responsywność */
@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .step-box {
    width: 90%;
  }
}

#processSteps.hidden {
    display: none !important;
}

.next-btn, .back-btn {
    position: relative;
    overflow: hidden;
}

.next-btn::before, .back-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transition: 0.5s;
}

.next-btn:hover::before, .back-btn:hover::before {
    left: 100%;
}

.next-btn, .back-btn {
    background: #0d0d0d;
  
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transform: translateY(0);
    transition: 0.3s ease;
}

.next-btn:hover, .back-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.next-btn:active, .back-btn:active {
    transform: scale(0.97);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* --- Nowa sekcja "Jak to działa?" --- */

.how-it-works-section {
  max-width: 1100px;
  margin: 80px auto 50px; /* Zwiększony margines, aby oddzielić od karty */
  padding: 0 20px;
  text-align: center;
  margin-top: 450px;
}

.how-it-works-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 40px;
}

.online-title {
    margin-top: 60px;
    margin-bottom: 40px !important;
}

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

.step-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.step-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* Aby zachować proporcje jak na obrazku */
  object-fit: cover;
  /* Dodanie delikatnego gradientu tła jak na obrazku, jeśli nie ma prawdziwych zdjęć */
  background: linear-gradient(135deg, #ff6b6b 0%, #f72585 100%);
}

/* Właściwy styl dla obrazków - naśladuje gradient z załączonego obrazka */
.steps-grid .step-card:nth-child(1) img {
  background: linear-gradient(135deg, #ff6b6b 0%, #f72585 100%);
}
.steps-grid .step-card:nth-child(2) img {
  background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
}
.steps-grid .step-card:nth-child(3) img {
  background: linear-gradient(135deg, #6a0572 0%, #9a1a9f 100%);
}

.online-grid .step-card:nth-child(1) img {
    background: linear-gradient(135deg, #ff6b6b 0%, #f72585 100%); /* ten sam styl co pierwszy kafel */
}

.online-grid .step-card:nth-child(2) img {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%); /* ten sam styl co drugi kafel */
}

.online-grid .step-card:nth-child(3) img {
    background: linear-gradient(135deg, #6a0572 0%, #9a1a9f 100%); /* ten sam styl co trzeci kafel */
}


.step-card h3 {
  font-size: 20px;
  color: #222;
  margin: 15px 20px 10px;
  font-weight: 600;
}

.step-card p {
  font-size: 14px;
  color: #555;
  margin: 0 20px 20px;
  line-height: 1.5;
}

.step-card a {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: color 0.2s;
}

.step-card a:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Responsywność dla kafelków */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr; /* Zmień na jedną kolumnę na mniejszych ekranach */
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Styl dla kontenera przycisku "Jak to działa?" */
.how-it-works-button-container {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px; /* Dodatkowe miejsce przed przyciskiem "Dalej" */
    margin-right: 30px;
}

/* Styl dla przycisku z emotikoną */
.emoji-button {
  margin-top: 50px;
    background-color: transparent; /* Przezroczyste tło */
    border: 2px solid #ddd; /* Delikatna ramka */
    border-radius: 30px; /* Zaokrąglone rogi */
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease; /* Płynne przejścia */
    display: inline-flex; /* Umożliwia wyrównanie emotikony z tekstem */
    align-items: center;
    gap: 8px; /* Odstęp między emotikoną a tekstem */
}

.emoji-button:hover {
    background-color: #f0f0f0; /* Lekkie tło po najechaniu */
    border-color: #bbb; /* Ciemniejsza ramka */
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Delikatny cień */
}

.emoji-button:active {
    transform: translateY(1px); /* Efekt wciśnięcia */
}

/* Styl dla kontenera przycisku "Jak to działa?" */
.how-it-works-button-container {
    text-align: center; /* Gwarantuje centrowanie elementu wewnątrz karty */
    margin-top: 70px;
    margin-bottom: 20px;
    margin-right: 30px;
}

/* Styl dla strzałki */
.scroll-indicator-button {
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #1a1a1a; /* Czarny kolor */
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.scroll-indicator-button:hover {
    color: #2e2e2e;
    transform: scale(1.1) translateY(2px);
}

.delivery-buttons {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-top: 45px;
    flex-wrap: wrap;
}

/* --- BUTTON --- */

.delivery-btn {
    background: #ffffff;
    border: 2px solid #000;
    border-radius: 20px;

    padding: 16px 32px;
    min-width: 260px; /* DUŻE, eleganckie */
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    font-size: 20px;
    font-weight: 600;
    color: #111;
    cursor: pointer;

    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* --- SHINE ANIMATION (premium) --- */

.delivery-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 250%;
    height: 100%;

    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(0,0,0,0.07),
        transparent 70%
    );

    transition: 0.7s ease;
}

.delivery-btn:hover::before {
    left: 120%;
}

/* --- HOVER EFFECTS --- */

.delivery-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
}

/* --- ACTIVE --- */

.delivery-btn:active {
    transform: scale(0.97);
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);
}

/* --- IKONKI SVG --- */

.delivery-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
}

.delivery-icon svg {
    width: 100%;
    height: 100%;
    fill: #000;
}

/* --- TEKST --- */

.delivery-text {
    font-size: 19px;
    font-weight: 600;
}

/* RESPONSYWNE --- mobilki */
@media (max-width: 600px) {
    .delivery-btn {
        min-width: 100%;
        height: 65px;
        font-size: 18px;
    }
}

/* ————————————————————————————————
   KARTA 11 — DOJAZD (APPLE PREMIUM LOOK)
——————————————————————————————— */

#step11.card {
    background: #ffffff;
    border-radius: 32px;
    padding: 50px 55px;
    max-width: 720px;
    margin: 160px auto 60px auto !important; /* Margines górny: 160px */
    border: 1px solid #e5e5e7;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

/* Nagłówki */
#step11 h2 {
    font-size: 22px;
    color: #7b7b80;
    font-weight: 500;
    margin-bottom: 5px;
}

#step11 h1 {
    font-size: 30px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 35px;
}

/* Cała sekcja formularza */
#step11 .delivery-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
    margin-right: 30px;
}

/* Pola input Apple Style */
#step11 .delivery-form input,
#step11 .delivery-form textarea {
    width: 100%;
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #f5f5f7;
    border: 1px solid #d2d2d7;
    outline: none;
    transition: 0.2s ease;
    resize: none;
}

#step11 .delivery-form input:focus,
#step11 .delivery-form textarea:focus {
    background: #ffffff;
    border-color: #0071e3; /* Apple blue */
    box-shadow: 0 0 0 4px rgba(0,113,227,0.15);
}

/* Przyciski */
#step11 .next-btn,
#step11 .back-btn {
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 16px !important;
    font-weight: 500;
}

/* Responsywność */
@media (max-width: 640px) {
    #step11.card {
        padding: 35px 25px;
    }
}

/* ----- FORMULARZ KROK 11 + 12 (styl jak na screenie) ----- */


#step12 .delivery-form input,
#step12 .delivery-form textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 16px;
    background: #f5f5f7;          /* jasne pole jak na screenie */
    border: 1px solid #e0e0e0;    /* delikatna, cienka ramka */
    border-radius: 14px;          /* ładne zaokrąglenie */
    color: #333;
    outline: none;
    transition: 0.2s ease;
}


#step12 .delivery-form input:focus,
#step12 .delivery-form textarea:focus {
    background: #ffffff;
    border-color: #c5c5c5;
    box-shadow: 0 0 4px rgba(0,0,0,0.08);
}


#step12 .delivery-form textarea {
    min-height: 110px;
    resize: none;
}

/* Odstępy między polami krok 11 i 12 */
#step12 .delivery-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* działa poprawnie */
}

.photo-preview{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}

.photo-preview img{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:12px;
    border:1px solid #ddd;
}

#phonePhotos{
    width:100%;
    margin-top:15px;
    margin-bottom:20px;
}
/* Responsywność - Urządzenia mobilne i tablety */
@media (max-width: 850px) {
    /* Poprawa głównej karty */
    .card {
        width: 90% !important;
        padding: 30px 20px !important;
        margin-top: 175px !important;
        min-height: auto !important;
    }

    /* Układ zawartości - zamiana na kolumnę (zdjęcie pod/nad tekstem) */
    .content {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Wyśrodkowanie tekstu */
    .text-section {
        text-align: center;
        width: 100%;
    }

    /* Dopasowanie obrazków w krokach */
    .image-section img {
        width: 200px !important;
        margin: 0 auto;
    }

    /* Wyśrodkowanie opcji wyboru (przyciski) */
    .memory-options, .battery-options, .visual-options, .damage-options, .back-damage-options, .faceid-options, .components-options {
        justify-content: center;
    }

    /* Dopasowanie szerokości dropdowna */
    .dropdown {
        width: 100%;
        max-width: 300px;
    }

    /* Poprawa formularza dojazdu (krok 11 i 12) */
    #step11 .delivery-form, #step12 .delivery-form {
        margin-right: 0 !important;
    }
    
    #step11.card {
        padding: 25px 15px !important;
    }

    /* Skrócenie ogromnego marginesu w sekcji 'Jak to działa' */
    .how-it-works-section {
        margin-top: 80px !important;
    }
}

/* Dodatkowe poprawki dla bardzo małych ekranów (np. starsze telefony) */
@media (max-width: 480px) {
    h1 {
        font-size: 22px !important;
    }
    h2 {
        font-size: 18px !important;
    }
    .price {
        font-size: 26px !important;
    }
    .delivery-btn {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }
}

@media (max-width: 768px) {
    .hero-header {
        position: fixed !important;
        padding: 12px 16px !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    .hero-inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .logo {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 auto -7px auto !important;
        text-align: center !important;
    }
    
    .logo img {
        height: 55px !important; 
        width: auto !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 14px !important;
        width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .nav-links li {
        margin: 0 !important;
    }

    .nav-links li a {
        font-size: 13px !important;
        letter-spacing: 0.5px !important;
    }
}
@media (max-width: 768px) {
  .model-preview {
    display: flex !important;
    flex-wrap: nowrap !important;      /* Wymuszenie WSZYSTKICH ikon w 1 wierszu */
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;               /* Niewielki odstęp, by 7 sztuk zmieściło się bez problemu */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .model-preview .preview-img {
    flex: 1 1 0 !important;            /* Każda ikonka płynnie zmniejsza się do dostępnego miejsca */
    min-width: 0 !important;           /* Blokuje rozpychanie kontenera przez oryginalny rozmiar pliku */
    max-width: 42px !important;        /* Ograniczenie wielkości na większych ekranach mobilnych */
    height: auto !important;
    object-fit: contain !important;
    box-sizing: border-box !important; /* Aktywny border nie powiększy szerokości wybranego elementu */
  }
}
/* Poprawka wielkości nagłówków i kafelków wyłącznie na mobilkach */
@media (max-width: 768px) {
  /* Większe napisy główne */
  .how-it-works-section h2,
  .online-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
  }

  /* Leciutko mniejsze kafelki "Wypełnij formularz" */
  .steps-grid {
    max-width: 330px !important; /* Zwężenie kafelków z 400px na 330px */
    gap: 20px !important;        /* Zmniejszenie odstępu pionowego między kafelkami */
    margin: 0 auto !important;
  }

  .step-card h3 {
    font-size: 18px !important;  /* Dopasowany, lekko mniejszy tytuł wewnątrz kafelka */
    margin: 12px 16px 6px !important;
  }

  .step-card p {
    font-size: 13px !important;  /* Lekko zmniejszony opis w kafelku */
    margin: 0 16px 16px !important;
  }
}

/* 1. Zmniejszenie margin-top na mobilkach dla KAŻDEGO kroku oprócz Kroku 1 */
@media (max-width: 850px) {
    .card:not(#step1) {
        margin-top: 90px !important;
    }
}

/* 2. Ukryj strzałkę gdy JAKIKOLWIEK krok inny niż Krok 1 jest aktywny (widoczny) */
body:has(.card:not(#step1):not(.hidden)) .how-it-works-button-container,
body:has(.card:not(#step1):not(.hidden)) .scroll-indicator-button {
    display: none !important;
}

/* ====== TYLKO TELEFONY ====== */
@media (max-width: 768px) {

    #step11 .delivery-form{
        width:100%;
        margin:0;
        padding:0;
        box-sizing:border-box;
    }

    #step11 .delivery-form input,
    #step11 .delivery-form textarea{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #step11.card{
        padding:25px 20px !important;
    }

}
/* ====== TYLKO TELEFONY - KROK 12 ====== */
@media (max-width: 768px) {

    #step12 .delivery-form{
        width:100%;
        margin:0;
        padding:0;
        box-sizing:border-box;
    }

    #step12 .delivery-form input,
    #step12 .delivery-form textarea{
        width:100%;
        max-width:100%;
        box-sizing:border-box;
    }

    #step12.card{
        padding:25px 20px !important;
    }

}
/* =========================================================
   POPRAWKA DLA KOMPUTERA (Zdjęcie po prawej stronie)
   ========================================================= */

@media (min-width: 851px) {
  /* 1. Kontener karty i tekstu przygotowany pod pozycjonowanie */
  .card:not(#step1):not(#step2):not(#step11):not(#step12) .content {
    display: block !important;
  }

  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section {
    position: relative !important;
    padding-right: 320px !important; /* Odstęp po prawej stronie na zdjęcie */
    text-align: left !important;
  }

  /* 2. Wyciągnięcie zdjęcia na prawą stronę karty */
  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section .image-section {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 280px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section .image-section img {
    width: 250px !important;
    height: auto !important;
  }
}

/* Układ dla telefonów (pozwala na zachowanie pionowego widoku) */
@media (max-width: 850px) {
  .text-section .image-section {
    position: static !important;
    margin: 20px 0 !important;
  }
}

@media (min-width: 851px) {
  /* 1. Zwiększamy odstęp po prawej, aby większy telefon się zmieścił */
  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section {
    position: relative !important;
    padding-right: 360px !important; /* Zwiększone z 320px na 360px */
    text-align: left !important;
  }

  /* 2. Zwiększamy szerokość kontenera zdjęcia i samego pliku img */
  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section .image-section {
    position: absolute !important;
    top: -10px !important;            /* Opcjonalnie podnosimy lekko w górę */
    right: 0 !important;
    width: 320px !important;          /* Zwiększone z 280px na 320px */
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .card:not(#step1):not(#step2):not(#step11):not(#step12) .text-section .image-section img {
    width: 310px !important;          /* Zwiększone z 250px na 310px (lub więcej według uznania) */
    height: auto !important;
  }
}
/* --- PODSUMOWANIE NA CAŁĄ SZEROKOŚĆ KAFELKI --- */
#step10 .text-section {
  padding-right: 0 !important;
  width: 100% !important;
}

#step10 .summary-details {
  width: 100% !important;
  box-sizing: border-box !important;
  margin-top: 25px !important;
}

/* --- PRZYCISKI OBOK SIEBIE --- */
.delivery-buttons {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 35px !important;
  width: 100% !important;
}

.delivery-btn {
  flex: 1 !important;
  min-width: 0 !important; /* Pozwala przyciskom zmniejszać się w jednym wierszu */
  max-width: 280px !important;
  height: 60px !important;
  padding: 10px 15px !important;
  justify-content: center !important;
}

.delivery-text {
  font-size: 16px !important;
  white-space: nowrap !important;
}

/* --- RESPONSYWNOŚĆ NA BARDZO MAŁE EKRANY --- */
@media (max-width: 480px) {
  .delivery-buttons {
    flex-direction: column !important; /* Na bardzo małych telefonach układa w pionie */
  }
  
  .delivery-btn {
    width: 100% !important;
    max-width: 100% !important;
  }
}

#step10.card {
  margin-top: 150px !important;
}

/* Powiększenie przycisków dostawy w podsumowaniu */
.delivery-btn {
  max-width: 320px !important;
  height: 72px !important;
  padding: 14px 24px !important;
}

.delivery-text {
  font-size: 18px !important;
}

.delivery-icon svg {
  width: 28px !important;
  height: 28px !important;
}

/* Przesunięcie przycisku "Wyślij zgłoszenie" na środek karty */
#sendDeliveryBtn {
  position: relative;
  left: 33%;
  transform: translate(-50%, -30px) !important;
}

#backStep11Btn {
  transform: scale(0.72) translateY(20px) !important; /* 10px przesuwa w dół */
  transform-origin: left center !important; /* Trzyma przycisk przy lewej krawędzi podczas skalowania */
}

#generateLabelBtn {
  position: relative;
  left: 38%;
  transform: translate(-50%, -22px) !important;
}

#backStep12Btn {
  transform: scale(0.88) translateY(20px) !important; /* 10px przesuwa w dół */
  transform-origin: left center !important; /* Trzyma przycisk przy lewej krawędzi podczas skalowania */
}
#step12 .delivery-form {
    width: 100%;
    max-width: 950px;
    margin: 5px auto 30px auto;
    padding: 0;
    box-sizing: border-box;
}

#step12 .delivery-form input,
#step12 .delivery-form textarea {
    width: 100%;
    box-sizing: border-box;
}

/* Przesunięcie przycisku w lewo tylko na telefonach */
@media (max-width: 768px) {
  #sendDeliveryBtn {
    left: 20% !important; /* Zmniejsz tę wartość (np. 0%, -5%, 10%), jeśli chcesz przesunąć go jeszcze bardziej w lewo */
  }
}

/* Zmniejszenie przycisku Wróć tylko na telefonach */
@media (max-width: 768px) {
  #backStep11Btn {
    font-size: 13px !important;    /* Zmniejsza rozmiar tekstu */
    padding: 6px 12px !important;  /* Zmniejsza wysokość i szerokość przycisku */
    transform: scale(0.85);        /* Alternatywnie: skaluje cały przycisk do 85% */
  }
}
/* Przesunięcie przycisku "Wygeneruj etykietę" w lewo na telefonach */
@media (max-width: 768px) {
  #generateLabelBtn {
    left:30% !important;
    transform: translate(-50%, -48px) !important; /* Zwiększaj tę wartość ujemną (np. -70px), aby podnieść go jeszcze wyżej */
  }
}

/* Zmniejszenie przycisku "Wróć" (Krok 12) na telefonach */
@media (max-width: 768px) {
  #backStep12Btn {
    font-size: 13px !important;
    padding: 6px 12px !important;
    transform: scale(0.85) !important;
  }
}