/* ─── Photo Club Booking v2 — booking.css ─── */

/* ── Reset & base ── */
#pcb-wrap, #pcb-wrap * { box-sizing: border-box; }
#pcb-wrap {
  font-family: var(--pcb-body);
  color: var(--pcb-text);
  background: var(--pcb-bg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 80px;
}

/* ── Progress steps ── */
.pcb-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 40px 0 32px;
  margin-bottom: 8px;
  overflow: hidden;
}
.pcb-steps__line {
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #e0e0e0;
  border-radius: 2px;
  z-index: 0;
}
.pcb-steps__progress {
  height: 100%;
  background: var(--pcb-primary);
  border-radius: 2px;
  width: 0;
  transition: width .5s ease;
}
.pcb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.pcb-step__dot {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pcb-body);
  font-weight: 600; font-size: 14px; color: #999;
  transition: all .3s ease;
}
.pcb-step.active .pcb-step__dot,
.pcb-step.done .pcb-step__dot {
  background: var(--pcb-primary);
  border-color: var(--pcb-primary);
  color: #fff;
}
.pcb-step.done .pcb-step__dot span::after { content: '✓'; }
.pcb-step.done .pcb-step__dot span { font-size: 0; }
.pcb-step.done .pcb-step__dot span::after { font-size: 14px; }
.pcb-step__label {
  font-size: 11px; text-align: center; color: #aaa;
  max-width: 80px; line-height: 1.3; transition: color .3s;
}
.pcb-step.active .pcb-step__label,
.pcb-step.done .pcb-step__label { color: var(--pcb-primary); font-weight: 600; }

/* ── Main layout: form + sidebar ── */
.pcb-main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
.pcb-form-area { min-width: 0; }

/* ── Panel ── */
.pcb-panel { display: none; animation: pcbFadeIn .4s ease; }
.pcb-panel.active { display: block; }
@keyframes pcbFadeIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }

.pcb-panel__title {
  font-family: var(--pcb-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.2;
}
.pcb-panel__title em { color: var(--pcb-primary); font-style: italic; }
.pcb-panel__sub { color: #888; margin-bottom: 28px; font-size: 15px; }

/* ── Kiosk cards ── */
.pcb-kiosk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.pcb-kiosk-card {
  border: 2px solid #eee;
  border-radius: var(--pcb-radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  position: relative;
  background: #fff;
}
.pcb-kiosk-card:hover {
  border-color: var(--pcb-primary);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.pcb-kiosk-card.selected {
  border-color: var(--pcb-primary);
  box-shadow: 0 0 0 4px rgba(184,151,90,.18);
}
.pcb-kiosk-card__badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--pcb-primary); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px; z-index: 2;
}
.pcb-kiosk-card__img-wrap { height: 260px; overflow: hidden; background: #f4f0ec; }
.pcb-kiosk-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pcb-kiosk-card:hover .pcb-kiosk-card__img-wrap img { transform: scale(1.04); }
.pcb-kiosk-card__img-placeholder {
  height: 260px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f4f0ec, #e8e0d8); font-size: 64px;
}
.pcb-kiosk-card__body { padding: 20px; }
.pcb-kiosk-card__sub {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pcb-primary); margin: 0 0 4px;
}
.pcb-kiosk-card__name {
  font-family: var(--pcb-head); font-size: 26px; font-weight: 700; margin: 0 0 8px;
}
.pcb-kiosk-card__desc { color: #666; font-size: 14px; margin-bottom: 14px; }

/* ── Features list ── */
.pcb-features { list-style: none; padding: 0; margin: 0 0 20px; }
.pcb-features li {
  font-size: 14px; padding: 4px 0 4px 20px;
  position: relative; color: #444;
}
.pcb-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--pcb-primary); font-weight: 700;
}

/* ── Buttons ── */
.pcb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--pcb-body); font-size: 14px; font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--pcb-radius);
  border: 2px solid var(--pcb-primary);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none; letter-spacing: .04em;
}
.pcb-btn--select {
  width: 100%; background: var(--pcb-primary); color: #fff;
  border-color: var(--pcb-primary);
}
.pcb-btn--select:hover { background: var(--pcb-accent); border-color: var(--pcb-accent); }
.pcb-btn--ghost { background: transparent; color: var(--pcb-primary); }
.pcb-btn--ghost:hover { background: var(--pcb-primary); color: #fff; }
.pcb-btn--cta {
  background: var(--pcb-primary); color: #fff;
  font-size: 15px; padding: 15px 30px;
  border-radius: var(--pcb-radius);
}
.pcb-btn--cta:hover { background: var(--pcb-accent); transform: translateY(-2px); }
.pcb-btn--cta-full { width: 100%; }
.pcb-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Nav ── */
.pcb-nav { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   PRINT CARDS — styled like the reference image
   ═══════════════════════════════════════════ */
.pcb-print-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 0;
}

.pcb-print-card {
  position: relative;
  border: 2px solid #e8e0d8;
  border-radius: var(--pcb-radius);
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .2s;
  display: flex;
  flex-direction: column;
}
.pcb-print-card:hover {
  border-color: var(--pcb-primary);
  box-shadow: 0 10px 36px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.pcb-print-card.selected {
  border-color: var(--pcb-primary);
  box-shadow: 0 0 0 4px rgba(184,151,90,.18);
}

/* Recommended badge top-left */
.pcb-print-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 10px; font-weight: 800; letter-spacing: .08em;
  padding: 4px 10px; border-radius: 20px;
  text-transform: uppercase;
}
.pcb-print-card__badge--rec {
  background: var(--pcb-primary); color: #fff;
}

/* Check icon top-right (hidden until selected) */
.pcb-print-card__check-icon {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--pcb-primary); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.6);
  transition: opacity .25s, transform .25s;
}
.pcb-print-card.selected .pcb-print-card__check-icon {
  opacity: 1; transform: scale(1);
}

/* Photo/image area */
.pcb-print-card__img-wrap {
  width: 100%; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, #f9f5f0, #ede6dd);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pcb-print-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.pcb-print-card:hover .pcb-print-card__img-wrap img { transform: scale(1.04); }

/* Placeholder variants */
.pcb-print-card__img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  flex-shrink: 0;
}
.pcb-print-card__img-placeholder--phone { background: linear-gradient(135deg, #f0ece7, #e4dcd2); }
.pcb-print-card__img-placeholder--strip { background: linear-gradient(135deg, #ede8e3, #ddd5c8); }
.pcb-print-card__img-placeholder--bulk  { background: linear-gradient(135deg, #e8e1d8, #d8ccbe); }

/* Icon row below image */
.pcb-print-card__icon-row {
  display: flex; align-items: center; justify-content: center;
  padding: 14px 0 0;
}
.pcb-print-card__type-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #f4efe8; border: 2px solid #e8dfd0;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

/* Body */
.pcb-print-card__body {
  padding: 12px 20px 22px;
  text-align: center;
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
}
.pcb-print-card__body h4 {
  font-family: var(--pcb-head);
  font-size: 18px; font-weight: 600;
  margin: 0 0 8px; color: var(--pcb-text);
}
.pcb-print-card__body p {
  font-size: 13px; color: #888; margin: 2px 0;
  line-height: 1.5;
}
.pcb-print-card__price {
  margin-top: 12px;
  font-family: var(--pcb-head);
  font-size: 22px; font-weight: 700;
  color: var(--pcb-primary);
}

/* Print note */
.pcb-print-note {
  display: flex; align-items: center; gap: 7px;
  font-size: 12px; color: #aaa;
  margin: 16px 0 0;
}
.pcb-print-note svg { flex-shrink: 0; stroke: #bbb; }

/* ── Backdrop section ── */
.pcb-backdrop-section { margin-bottom: 0; }
.pcb-section-divider {
  height: 1px; background: #eee;
  margin: 32px 0;
}
.pcb-addons-section {}

.pcb-section-title {
  font-family: var(--pcb-head);
  font-size: 20px; font-weight: 600;
  margin: 0 0 6px;
  display: flex; align-items: center; gap: 10px;
  color: var(--pcb-text);
}
.pcb-section-icon { font-size: 22px; }
.pcb-section-sub { font-size: 14px; color: #888; margin: 0 0 20px; }

.pcb-backdrop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}
.pcb-backdrop-card {
  position: relative;
  border: 2px solid #e8e0d8;
  border-radius: var(--pcb-radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  background: #fff;
  text-align: center;
}
.pcb-backdrop-card:hover {
  border-color: var(--pcb-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
}
.pcb-backdrop-card.selected {
  border-color: var(--pcb-primary);
  box-shadow: 0 0 0 4px rgba(184,151,90,.18);
}
.pcb-backdrop-card__check-icon {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pcb-primary); color: #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.5);
  transition: opacity .2s, transform .2s;
}
.pcb-backdrop-card.selected .pcb-backdrop-card__check-icon {
  opacity: 1; transform: scale(1);
}
.pcb-backdrop-card__img-wrap { height: 110px; overflow: hidden; background: #f4f0ec; }
.pcb-backdrop-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.pcb-backdrop-card__img-placeholder {
  height: 110px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f4f0ec, #ede5da); font-size: 36px;
}
.pcb-backdrop-card__body { padding: 10px 10px 12px; }
.pcb-backdrop-card__name { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 4px; }
.pcb-backdrop-card__price { font-size: 12px; font-weight: 700; color: var(--pcb-primary); }

/* ── Add-on cards ── */
.pcb-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.pcb-addon-card {
  border: 2px solid #eee;
  border-radius: var(--pcb-radius);
  padding: 18px;
  cursor: pointer;
  position: relative;
  transition: border-color .2s, background .2s;
  background: #fff;
}
.pcb-addon-card:hover { border-color: var(--pcb-primary); }
.pcb-addon-card.selected { border-color: var(--pcb-primary); background: #fdf9f4; }
.pcb-addon-card__check {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #ddd;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: transparent; transition: all .2s;
}
.pcb-addon-card.selected .pcb-addon-card__check {
  background: var(--pcb-primary); border-color: var(--pcb-primary); color: #fff;
}
.pcb-addon-card__label { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding-right: 28px; }
.pcb-addon-card__price { font-size: 13px; color: var(--pcb-primary); font-weight: 600; }

/* ── Form fields ── */
.pcb-fields { display: flex; flex-direction: column; gap: 18px; }
.pcb-field-row { display: flex; gap: 18px; }
.pcb-field-row--2col > * { flex: 1; }
.pcb-field { display: flex; flex-direction: column; gap: 6px; }
.pcb-field label { font-size: 13px; font-weight: 600; color: #444; letter-spacing: .03em; }
.pcb-field label span { color: var(--pcb-primary); }
.pcb-field input,
.pcb-field select,
.pcb-field textarea {
  border: 1.5px solid #ddd;
  border-radius: calc(var(--pcb-radius) * .6);
  padding: 12px 14px;
  font-family: var(--pcb-body); font-size: 15px; color: var(--pcb-text);
  transition: border-color .2s, box-shadow .2s;
  background: #fff; width: 100%;
}
.pcb-field input:focus,
.pcb-field select:focus,
.pcb-field textarea:focus {
  outline: none;
  border-color: var(--pcb-primary);
  box-shadow: 0 0 0 3px rgba(184,151,90,.12);
}
.pcb-field textarea { resize: vertical; }

/* ── Step 5 recap ── */
.pcb-recap-blocks { margin-top: 20px; }
.pcb-summary-block {
  border-bottom: 1px solid #eee;
  padding-bottom: 16px; margin-bottom: 16px;
}
.pcb-summary-block:last-child { border-bottom: none; }
.pcb-summary-block h3 { font-family: var(--pcb-head); font-size: 15px; margin: 0 0 6px; color: #333; }
.pcb-summary-block p,
.pcb-summary-block li { font-size: 14px; color: #555; margin: 4px 0; }
.pcb-summary-block ul { list-style: none; padding: 0; margin: 0; }
.pcb-summary-block ul li::before { content: '• '; color: var(--pcb-primary); }

/* ── Live sidebar ── */
.pcb-live-sidebar {
  position: sticky;
  top: 24px;
}
.pcb-sidebar-inner {
  background: #fff;
  border: 1.5px solid #e8dfd0;
  border-radius: var(--pcb-radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.pcb-sidebar__header {
  background: var(--pcb-primary);
  color: #fff;
  padding: 16px 20px;
  font-family: var(--pcb-head);
  font-size: 15px; font-weight: 600;
  letter-spacing: .03em;
  display: flex; align-items: center; gap: 8px;
}
.pcb-sidebar__icon { font-size: 18px; }

.pcb-sidebar-lines {
  list-style: none; padding: 14px 20px; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 80px;
}
.pcb-sidebar-line {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 8px;
}
.pcb-sidebar-line__label {
  font-size: 13px; color: #444; flex: 1;
  line-height: 1.4;
}
.pcb-sidebar-line__price {
  font-size: 13px; font-weight: 700; color: var(--pcb-primary);
  white-space: nowrap;
}

.pcb-sidebar-divider { height: 1px; background: #eee; margin: 0 20px; }

.pcb-sidebar-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 4px;
  font-size: 14px; color: #444;
}
.pcb-sidebar-total strong {
  font-family: var(--pcb-head);
  font-size: 26px; font-weight: 700;
  color: var(--pcb-primary);
}
.pcb-sidebar-note {
  font-size: 11px; color: #aaa;
  padding: 0 20px 16px; margin: 0;
}
#pcb-sidebar-submit-wrap { padding: 0 20px 20px; }

/* ── Form feedback ── */
#pcb-form-msg {
  margin-top: 14px; padding: 12px 16px;
  border-radius: 8px; font-size: 14px; display: none;
}
#pcb-form-msg.success { background: #f0faf1; color: #2a7d32; display: block; border: 1px solid #c3e6cb; }
#pcb-form-msg.error   { background: #fff5f5; color: #c62828; display: block; border: 1px solid #f5c6cb; }

/* ── Floating price (mobile) ── */
.pcb-floating-price {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--pcb-primary); color: #fff;
  padding: 12px 20px;
  display: none;
  align-items: center; justify-content: space-between;
  font-size: 15px; z-index: 999;
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.pcb-floating-price strong { font-size: 18px; font-family: var(--pcb-head); }

/* ── Spinner ── */
.pcb-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pcbSpin .6s linear infinite;
  display: inline-block;
}
@keyframes pcbSpin { to { transform: rotate(360deg); } }
.pcb-hidden-radio { position: absolute; opacity: 0; pointer-events: none; }

/* ─────────────── Responsive ─────────────── */
@media (max-width: 900px) {
  .pcb-main-layout { grid-template-columns: 1fr; }
  .pcb-live-sidebar { position: static; order: -1; }
  .pcb-sidebar-inner { flex-direction: row; }
  .pcb-print-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .pcb-kiosk-grid { grid-template-columns: 1fr; }
  .pcb-print-grid { grid-template-columns: 1fr; }
  .pcb-addons-grid { grid-template-columns: 1fr 1fr; }
  .pcb-backdrop-grid { grid-template-columns: repeat(3, 1fr); }
  .pcb-field-row { flex-direction: column; }
  .pcb-floating-price { display: flex; }
  .pcb-steps { padding: 24px 0 20px; }
  .pcb-step__label { font-size: 10px; max-width: 60px; }
  .pcb-step__dot { width: 32px; height: 32px; font-size: 12px; }
  .pcb-steps__line { top: 48px; }
  #pcb-wrap { padding-bottom: 70px; }
}
@media (max-width: 480px) {
  .pcb-addons-grid { grid-template-columns: 1fr; }
  .pcb-backdrop-grid { grid-template-columns: repeat(2, 1fr); }
  .pcb-panel__title { font-size: 22px; }
}
