/* ===== PROGRESS BAR ===== */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 55px;
}

.progress-step span {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
  white-space: nowrap;
  transition: all 0.3s;
}

.progress-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s;
}

.progress-step.active .progress-circle {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(82,37,131,0.15);
}

.progress-step.active span {
  color: var(--purple);
  font-weight: 600;
}

.progress-step.completed .progress-circle {
  background: var(--green);
  color: var(--white);
}

.progress-step.completed span {
  color: var(--green-dark);
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  margin: 0 0.35rem;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
  max-width: 60px;
}

.progress-line.filled {
  background: var(--green);
}

/* ===== MOQ BADGE ON OBAL CARDS ===== */
.obal-moq {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-50);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  margin-top: 0.35rem;
  white-space: nowrap;
}

/* ===== OBAL GRID ===== */
.obal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.obal-option {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.obal-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.obal-option:hover {
  border-color: var(--purple-light);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.obal-option:hover::before {
  transform: scaleX(1);
}

.obal-option.selected {
  border-color: var(--purple);
  background: var(--purple-50);
  box-shadow: 0 0 0 4px rgba(82,37,131,0.1);
}

.obal-option.selected::before {
  transform: scaleX(1);
}

.obal-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 0.6rem;
  transition: transform 0.2s;
}

.obal-option:hover .obal-img {
  transform: scale(1.08);
}

.obal-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}

.obal-name small {
  font-weight: 400;
  color: var(--gray-400);
  font-size: 0.65rem;
  display: block;
  margin-top: 0.15rem;
}

/* ===== POTISK OPTIONS ===== */
.potisk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.potisk-option {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.potisk-option:hover {
  border-color: var(--purple-light);
  background: var(--white);
}

.potisk-option.selected {
  border-color: var(--purple);
  background: var(--purple-50);
  box-shadow: 0 0 0 4px rgba(82,37,131,0.1);
}

.potisk-option h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.25rem;
}

.potisk-option p {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== RESULTS ===== */
.results {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--white);
  display: none;
  margin-top: 1rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.results::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.results.visible { display: block; }

.results-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.result-row:last-of-type {
  border-bottom: none;
}

.result-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 1rem 0;
}

.result-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 0;
}

.result-total.big {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.result-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.result-actions .btn { flex: 1; }

/* CTA button - more prominent */
.btn-inquiry-cta {
  font-size: 1.1rem;
  padding: 1.1rem 1.5rem;
  animation: cta-pulse 2s ease-in-out 3;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-md); }
  50% { box-shadow: 0 0 0 6px rgba(141,153,104,0.3), var(--shadow-md); }
}

/* Delivery estimate badge */
.delivery-estimate {
  font-weight: 600;
  background: rgba(141,153,104,0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.82rem;
}

/* Discount code in results */
.discount-code-input {
  padding: 0.75rem 0;
  border-top: 1px dashed rgba(255,255,255,0.2);
  margin-top: 0.5rem;
}

.discount-code-form-inline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.discount-code-form-inline .input-field {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.discount-code-form-inline .input-field::placeholder {
  color: rgba(255,255,255,0.5);
}

.discount-code-form-inline .input-field:disabled {
  opacity: 0.6;
}

.discount-code-status {
  margin-top: 0.4rem;
  min-height: 1.2rem;
}

.discount-code-applied {
  color: var(--green-light);
  font-weight: 600;
}

/* ===== VARIANT SELECTION (doypack bez potisku) ===== */
.variant-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
  margin: 1rem 0 0.6rem;
}

.variant-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.variant-option {
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.variant-option:hover {
  border-color: var(--purple-light);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.variant-option.selected {
  border-color: var(--purple);
  background: var(--purple-50);
  box-shadow: 0 0 0 4px rgba(82,37,131,0.1);
}

.variant-option img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.4rem;
  transition: transform 0.2s;
}

.variant-option:hover img {
  transform: scale(1.08);
}

.variant-option .variant-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.3;
}
