* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #111;
}

/* HEADER */
header {
  padding: 25px 60px;
}

.logo {
  font-weight: 500;
  font-size: 22px;
}

/* WRAPPER */
.wrapper {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  padding-bottom: 60px; /* 🔥 DODAJ */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

/* PROGRESS */
.progress {
  height: 6px;
  background: #eee;
  border-radius: 10px;
  margin-bottom: 30px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #000;
  border-radius: 10px;
  transition: 0.3s;
}

/* STEPS */
.step {
  display: none;
}

.step.active {
  display: block;
}

h1 {
  font-family: 'Playfair Display';
  margin-bottom: 20px;
}

/* OPTIONS */
.options {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 15px;
}

.option {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.3s;
}

.option:hover {
  border-color: #000;
}

.option.selected {
  background: #000;
  color: #fff;
}

/* INPUT */
input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* BUTTON */
.btn {
  width: 100%;
  padding: 16px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
}

.btn:hover {
  background: #222;
}

.btn.disabled {
  background: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

/* UPLOAD BOX */
.upload-box {
  border: 2px dashed #ddd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  cursor: pointer;
  text-align: center;
  padding: 10px;
}

.upload-box:hover {
  border-color: #000;
}

.upload-box input {
  display: none;
}

/* SAMPLE IMAGES */
.sample-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 10px 0 20px;
}

.sample-images img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  opacity: 0.6;
  transition: 0.3s;
}

.sample-images img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* MOBILE */
@media (max-width: 500px) {
  .sample-images {
    grid-template-columns: 1fr;
  }
}

/* LAYOUT */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.layout-option {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease; /* 🔥 animacja */
  background: #fff;
}

.layout-option img {
  max-width: 100%;
  max-height: 70px; /* 🔥 KLUCZOWE */
  object-fit: contain;
  margin-bottom: 10px;
}

.layout-option span {
  font-size: 14px;
}

.layout-option:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.layout-option.selected {
  border: 2px solid #000;
  background: #fff;      /* 🔥 zamiast czarnego */
  color: #111;
}
.nav-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px; /* 🔥 KLUCZOWE */
}
/* 🔥 ZAZNACZENIE */
.layout-option.selected {
  border: 2px solid #000;
  transform: translateY(-2px);
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.style-option {
  border: 1px solid #ddd;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s;
  background: #fff;
}

.style-option img {
  width: 100%;
  aspect-ratio: 4/3;   /* 🔥 KLUCZ */
  object-fit: cover;   /* 🔥 przycina zamiast rozciągać */
}

.style-option span {
  display: block;
  padding: 12px;
  font-size: 14px;
}
.style-option.selected {
  border: 2px solid #000;
  transform: translateY(-2px);
}

.standard-desc {
  max-height: 0;
  overflow: hidden;
  font-size: 13px;
  color: #555;
  transition: 0.3s ease;
  padding-top: 0;
}

.style-option.active .standard-desc {
  max-height: 200px;
  padding-top: 10px;
}