#bstl-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 99998;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#bstl-popup-overlay.bstl-open {
  display: flex;
}
 
#bstl-popup {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  font-family: 'Instrument Sans', sans-serif;
  animation: bstl-popIn 0.2s ease;
}
@keyframes bstl-popIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
 
#bstl-popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: #aaaaaa;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s;
}
#bstl-popup-close:hover { color: #2e2e2e; }
 
/* ── PRVNÍ OBRAZOVKA ── */
#bstl-screen-1 { display: block; }
#bstl-screen-2 { display: none; }
#bstl-screen-3 { display: none; }
 
.bstl-popup-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.bstl-popup-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #2e2e2e;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
  line-height: 1.2;
}
.bstl-popup-sub {
  font-size: 14px;
  color: #6b6b6b;
  margin: 0 0 24px;
  line-height: 1.6;
}
 
/* produkt preview */
.bstl-product-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f7f7f5;
  border: 1px solid #e8e8e6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 24px;
}
.bstl-product-preview img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  flex-shrink: 0;
}
.bstl-product-preview-name {
  font-size: 13px;
  font-weight: 600;
  color: #2e2e2e;
  line-height: 1.3;
  display: block;
  margin-bottom: 3px;
}
.bstl-product-preview-price {
  font-size: 13px;
  color: #e53935;
  font-weight: 700;
  display: block;
}
 
.bstl-btn-row {
  display: flex;
  gap: 10px;
}
.bstl-btn-primary {
  flex: 1;
  background: #a1c900;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Instrument Sans', sans-serif;
}
.bstl-btn-primary:hover { background: #8db000; }
 
.bstl-btn-secondary {
  flex: 1;
  background: #ffffff;
  color: #2e2e2e;
  border: 1px solid #e8e8e6;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s;
  font-family: 'Instrument Sans', sans-serif;
}
.bstl-btn-secondary:hover { border-color: #2e2e2e; }
 
/* ── FORMULÁŘ ── */
.bstl-form-group {
  margin-bottom: 14px;
}
.bstl-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 6px;
}
.bstl-form-group input,
.bstl-form-group textarea {
  width: 100%;
  border: 1px solid #e8e8e6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: 'Instrument Sans', sans-serif;
  color: #2e2e2e;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  background: #ffffff;
}
.bstl-form-group input:focus,
.bstl-form-group textarea:focus {
  border-color: #1a73e8;
}
.bstl-form-group textarea {
  height: 80px;
  resize: vertical;
}
.bstl-form-gdpr {
  font-size: 12px;
  color: #9a9a9a;
  line-height: 1.5;
  margin-bottom: 16px;
}
 
/* ── PODĚKOVÁNÍ ── */
#bstl-screen-3 {
  text-align: center;
  padding: 16px 0;
}
.bstl-thanks-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.bstl-thanks-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #2e2e2e;
  margin: 0 0 8px;
}
.bstl-thanks-sub {
  font-size: 14px;
  color: #6b6b6b;
  margin: 0 0 24px;
  line-height: 1.6;
}
 
.bstl-error {
  font-size: 12px;
  color: #e53935;
  margin-top: 8px;
  display: none;
}
 
@media (max-width: 480px) {
  #bstl-popup {
    padding: 28px 20px 24px;
  }
  .bstl-btn-row {
    flex-direction: column;
  }
}