/*
 * iFix Cellfone Booking Wizard — v9.1
 * Modern, premium UI. All classes verified against actual HTML output of booking.js.
 * Grid class: .tp-card-grid (NOT .tp-item-grid)
 * Card classes: .tp-item-card .tp-device-card | .tp-brand-card | .tp-model-card | .tp-issue-card
 * Inner classes: .tp-ci .tp-ci-icon | .tp-cb .tp-ct .tp-cs .tp-cp
 */

/* ─── Reset ────────────────────────────────────────────────────── */
#techpro-booking-widget,
#techpro-booking-widget * {
  box-sizing: border-box !important;
  -webkit-font-smoothing: antialiased;
}
#techpro-booking-widget {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif !important;
  font-size: 16px;
  color: #0f172a;
  width: 100%;
  position: relative;
  line-height: 1.5;
}

/* ─── Progress bar ─────────────────────────────────────────────── */
#techpro-booking-widget .tp-progress-bar-wrap {
  padding: 24px 0 28px;
}
#techpro-booking-widget .tp-progress-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
#techpro-booking-widget .tp-progress-track {
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  margin-bottom: 20px;
  overflow: hidden;
}
#techpro-booking-widget .tp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0891b2 0%, #7c3aed 100%);
  border-radius: 99px;
  width: 0%;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}
#techpro-booking-widget .tp-steps-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
#techpro-booking-widget .tp-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  cursor: default;
}
#techpro-booking-widget .tp-dot-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #94a3b8;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  position: relative;
}
#techpro-booking-widget .tp-step-dot.is-active .tp-dot-num {
  background: #0891b2;
  border-color: #0891b2;
  color: #fff;
  box-shadow: 0 0 0 5px rgba(8,145,178,.15);
  transform: scale(1.08);
}
#techpro-booking-widget .tp-step-dot.is-done .tp-dot-num {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
#techpro-booking-widget .tp-dot-label {
  font-size: 10px; font-weight: 700;
  color: #94a3b8; text-align: center;
  letter-spacing: .3px; text-transform: uppercase;
}
#techpro-booking-widget .tp-step-dot.is-active .tp-dot-label { color: #0891b2; }
#techpro-booking-widget .tp-step-dot.is-done   .tp-dot-label { color: #059669; }

@media (max-width: 500px) {
  #techpro-booking-widget .tp-dot-label { display: none; }
  #techpro-booking-widget .tp-dot-num  { width: 28px; height: 28px; font-size: 11px; }
}

/* ─── Panels ───────────────────────────────────────────────────── */
#techpro-booking-widget .tp-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: 8px 20px 56px;
  animation: tp-fade-in 0.22s ease;
}
#techpro-booking-widget .tp-hidden { display: none !important; }

@keyframes tp-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Panel header ─────────────────────────────────────────────── */
#techpro-booking-widget .tp-panel-header { margin-bottom: 24px; }
#techpro-booking-widget .tp-heading {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.15;
  letter-spacing: -0.6px;
}
#techpro-booking-widget .tp-subheading {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}
#techpro-booking-widget .tp-crumb {
  font-size: 13px; font-weight: 600;
  color: #0891b2; margin: 4px 0 0;
}
#techpro-booking-widget .tp-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #64748b;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px; padding: 6px 14px;
  cursor: pointer; margin-bottom: 14px;
  transition: all 0.15s;
}
#techpro-booking-widget .tp-back:hover {
  color: #0891b2; border-color: #0891b2;
  background: #f0f9ff;
}

/* ─── Card grid ────────────────────────────────────────────────── */
#techpro-booking-widget .tp-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}
#techpro-booking-widget #tp-brand-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
#techpro-booking-widget #tp-model-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
#techpro-booking-widget #tp-issue-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }

@media (max-width: 680px) {
  #techpro-booking-widget .tp-card-grid  { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  #techpro-booking-widget #tp-brand-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  #techpro-booking-widget #tp-model-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 380px) {
  #techpro-booking-widget .tp-card-grid  { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  #techpro-booking-widget #tp-brand-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─── Base card ────────────────────────────────────────────────── */
#techpro-booking-widget .tp-item-card {
  background: #fff;
  border: 2px solid #e8edf3;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
#techpro-booking-widget .tp-item-card:hover {
  border-color: #0891b2;
  box-shadow: 0 8px 28px rgba(8,145,178,.16);
  transform: translateY(-2px);
}
#techpro-booking-widget .tp-item-card:focus-visible {
  outline: 3px solid #0891b2;
  outline-offset: 2px;
}
#techpro-booking-widget .tp-item-card.is-selected {
  border-color: #0891b2;
  background: linear-gradient(135deg, rgba(8,145,178,.04), rgba(124,58,237,.03));
  box-shadow: 0 0 0 1px #0891b2 inset, 0 6px 24px rgba(8,145,178,.18);
}
/* Checkmark badge */
#techpro-booking-widget .tp-item-card.is-selected::after {
  content: '';
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px;
  background: #0891b2;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ─── Card image / icon ────────────────────────────────────────── */
#techpro-booking-widget .tp-ci {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f8fafc;
  flex-shrink: 0;
}
#techpro-booking-widget .tp-ci img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
#techpro-booking-widget .tp-item-card:hover .tp-ci img { transform: scale(1.06); }

#techpro-booking-widget .tp-ci-icon {
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  padding: 20px 0 10px;
  background: linear-gradient(160deg, #f8fafc 0%, #f0f9ff 100%);
}
#techpro-booking-widget .tp-item-card.is-selected .tp-ci-icon {
  background: linear-gradient(160deg, rgba(8,145,178,.07) 0%, rgba(124,58,237,.05) 100%);
}
#techpro-booking-widget .tp-brand-card .tp-ci-icon { font-size: 32px; padding: 16px 0 8px; }
#techpro-booking-widget .tp-issue-card .tp-ci-icon { font-size: 30px; padding: 16px 0 8px; }

/* ─── Card body ────────────────────────────────────────────────── */
#techpro-booking-widget .tp-cb {
  padding: 10px 14px 16px;
  flex: 1; display: flex; flex-direction: column; gap: 4px;
}
#techpro-booking-widget .tp-device-card .tp-cb,
#techpro-booking-widget .tp-brand-card  .tp-cb { text-align: center; }

#techpro-booking-widget .tp-ct {
  font-size: 13px; font-weight: 700; color: #0f172a;
  line-height: 1.3; margin: 0; letter-spacing: .1px;
}
#techpro-booking-widget .tp-item-card.is-selected .tp-ct { color: #0891b2; }
#techpro-booking-widget .tp-cs {
  font-size: 12px; color: #64748b;
  line-height: 1.4; margin: 0;
}

/* ─── Price tags ───────────────────────────────────────────────── */
#techpro-booking-widget .tp-cp-exact { color: #0891b2; font-weight: 800; font-size: 15px; display: block; margin-top: 6px; }
#techpro-booking-widget .tp-cp-from  { color: #374151; font-weight: 600; font-size: 12px; display: block; margin-top: 6px; }
#techpro-booking-widget .tp-cp-base  { color: #0891b2; font-weight: 700; font-size: 14px; display: block; margin-top: 6px; }
#techpro-booking-widget .tp-cp-diag  {
  display: inline-flex; align-items: center; margin-top: 6px;
  background: rgba(8,145,178,.08); color: #0891b2;
  border-radius: 99px; padding: 2px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
}
#techpro-booking-widget .tp-cp-quote {
  display: inline-flex; align-items: center; margin-top: 6px;
  background: rgba(146,64,14,.08); color: #92400e;
  border-radius: 99px; padding: 2px 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
}

/* ─── Model cards — Pill style (always) ────────────────────────── */
#techpro-booking-widget #tp-model-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
#techpro-booking-widget .tp-model-card {
  flex-direction: row !important;
  align-items: center !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #fff !important;
  padding: 13px 18px !important;
  min-height: unset !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
  transform: none !important;
  gap: 10px;
}
#techpro-booking-widget .tp-model-card:hover {
  border-color: #0891b2 !important;
  background: #f0f9ff !important;
  transform: none !important;
  box-shadow: 0 2px 10px rgba(8,145,178,.12) !important;
}
#techpro-booking-widget .tp-model-card.is-selected {
  border-color: #0891b2 !important;
  background: #f0f9ff !important;
  box-shadow: 0 0 0 2px #0891b2 !important;
}
#techpro-booking-widget .tp-model-card.is-selected::after {
  position: static !important; margin-left: auto !important;
  flex-shrink: 0; top: unset !important; right: unset !important;
}
#techpro-booking-widget .tp-model-card .tp-ci { display: none !important; }
#techpro-booking-widget .tp-model-card .tp-cb {
  padding: 0 !important; text-align: left !important;
  gap: 0 !important;
}
#techpro-booking-widget .tp-model-card .tp-ct {
  font-size: 14px !important; font-weight: 700 !important;
  color: #0f172a !important;
}
#techpro-booking-widget .tp-model-card.is-selected .tp-ct { color: #0891b2 !important; }
#techpro-booking-widget .tp-model-card .tp-cs { display: none !important; }

@media (max-width: 600px) {
  #techpro-booking-widget #tp-model-grid { grid-template-columns: repeat(2,1fr) !important; }
}

/* ─── Issue cards — richer layout ─────────────────────────────── */
#techpro-booking-widget .tp-issue-card {
  border-radius: 14px;
}
#techpro-booking-widget .tp-issue-card .tp-ci {
  aspect-ratio: unset !important;
}
#techpro-booking-widget .tp-issue-card .tp-ci-icon {
  padding: 16px 0 8px;
}
#techpro-booking-widget .tp-issue-card .tp-cs {
  display: block;
}

/* ─── Loading & errors ─────────────────────────────────────────── */
#techpro-booking-widget .tp-loading-grid { min-height: 140px; position: relative; }
#techpro-booking-widget .tp-initial-loader {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 48px; gap: 14px; color: #94a3b8;
  font-size: 14px; grid-column: 1 / -1;
}
#techpro-booking-widget .tp-loading-txt {
  color: #94a3b8; font-size: 14px; padding: 20px 0;
  grid-column: 1 / -1; text-align: center;
}
#techpro-booking-widget .tp-error-txt {
  color: #dc2626; font-size: 14px; font-weight: 600;
  padding: 16px 20px; background: #fef2f2;
  border: 1px solid #fecaca; border-radius: 10px;
  grid-column: 1 / -1;
}

/* ─── Spinner ──────────────────────────────────────────────────── */
#techpro-booking-widget .tp-spinner {
  width: 32px; height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #0891b2;
  border-radius: 50%;
  animation: tp-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes tp-spin { to { transform: rotate(360deg); } }
#techpro-booking-widget .tp-spinner-wrap {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.88);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; z-index: 10;
  border-radius: 14px;
  font-size: 14px; color: #64748b; font-weight: 600;
  backdrop-filter: blur(2px);
}

/* ─── Custom input boxes ───────────────────────────────────────── */
#techpro-booking-widget .tp-other-model {
  margin-top: 20px; padding: 18px 20px;
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 14px;
}
#techpro-booking-widget .tp-custom-input-row {
  display: flex; gap: 10px; align-items: center;
  flex-wrap: wrap; margin-top: 10px;
}
#techpro-booking-widget .tp-custom-input-row .tp-input { flex: 1; min-width: 180px; }
#techpro-booking-widget .tp-custom-issue-box {
  margin-top: 20px; padding: 18px 20px;
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 14px; display: flex; flex-direction: column; gap: 10px;
}

/* ─── Estimate card (Step 5) ───────────────────────────────────── */
#techpro-booking-widget .tp-estimate-card {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  margin-bottom: 24px;
}
#techpro-booking-widget .tp-estimate-card::before {
  content: '';
  display: block; height: 5px;
  background: linear-gradient(90deg, #0891b2, #7c3aed);
}
#techpro-booking-widget .tp-estimate-device-row {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px; border-bottom: 1px solid #f1f5f9;
}
#techpro-booking-widget .tp-estimate-icon {
  font-size: 48px; flex-shrink: 0; line-height: 1;
}
#techpro-booking-widget .tp-estimate-device-name {
  font-size: 18px; font-weight: 800; color: #0f172a;
  margin-bottom: 4px; letter-spacing: -.2px;
}
#techpro-booking-widget .tp-estimate-issue-name {
  font-size: 14px; color: #64748b; font-weight: 500;
}
#techpro-booking-widget .tp-price-breakdown { padding: 0 28px; }
#techpro-booking-widget .tp-price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid #f8fafc;
  font-size: 15px; color: #374151; font-weight: 500;
}
#techpro-booking-widget .tp-price-total {
  font-weight: 700; color: #0f172a; font-size: 17px;
  border-top: 2px solid #e2e8f0; border-bottom: none;
  padding-top: 16px; margin-top: 4px;
}
#techpro-booking-widget .tp-price-total span:last-child {
  color: #0891b2; font-size: 28px; font-weight: 800;
}
#techpro-booking-widget .tp-custom-quote-note {
  margin: 0 28px 16px; padding: 12px 16px;
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; font-size: 13px; color: #92400e;
  font-weight: 600; display: flex; gap: 10px; align-items: flex-start;
}
#techpro-booking-widget .tp-guarantee-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 16px 28px 24px;
}
#techpro-booking-widget .tp-pill {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 99px; padding: 5px 14px;
  font-size: 12px; color: #166534; font-weight: 600;
}

/* ─── Summary ribbon (Step 6) ──────────────────────────────────── */
#techpro-booking-widget .tp-summary-ribbon {
  display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(8,145,178,.06), rgba(124,58,237,.04));
  border: 1.5px solid rgba(8,145,178,.18);
  border-radius: 14px; padding: 16px 24px;
  margin-bottom: 24px; flex-wrap: wrap; gap: 8px;
}
#techpro-booking-widget .tp-ribbon-item {
  display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 80px;
}
#techpro-booking-widget .tp-ribbon-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px; color: #0891b2;
}
#techpro-booking-widget .tp-ribbon-val   { font-size: 14px; font-weight: 600; color: #0f172a; }
#techpro-booking-widget .tp-ribbon-price { font-size: 20px; font-weight: 800; color: #0891b2; }
#techpro-booking-widget .tp-ribbon-divider {
  width: 1px; background: rgba(8,145,178,.2);
  align-self: stretch; flex: 0;
}

/* ─── Contact form ─────────────────────────────────────────────── */
#techpro-booking-widget .tp-contact-form { margin-bottom: 24px; }
#techpro-booking-widget .tp-form-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 16px;
}
#techpro-booking-widget .tp-form-field { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 540px) {
  #techpro-booking-widget .tp-form-row { grid-template-columns: 1fr; }
}
#techpro-booking-widget .tp-label {
  display: block; font-size: 11px; font-weight: 700;
  color: #64748b; letter-spacing: 0.5px; text-transform: uppercase;
}
#techpro-booking-widget .tp-req { color: #dc2626; }
#techpro-booking-widget .tp-input,
#techpro-booking-widget .tp-textarea,
#techpro-booking-widget .tp-select {
  width: 100%; background: #fff;
  border: 2px solid #e2e8f0; color: #0f172a;
  font-size: 15px; border-radius: 10px;
  padding: 11px 16px; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
#techpro-booking-widget .tp-input:focus,
#techpro-booking-widget .tp-textarea:focus,
#techpro-booking-widget .tp-select:focus {
  border-color: #0891b2;
  box-shadow: 0 0 0 3px rgba(8,145,178,.12);
}
#techpro-booking-widget .tp-input::placeholder,
#techpro-booking-widget .tp-textarea::placeholder { color: #cbd5e1; }
#techpro-booking-widget .tp-textarea { resize: vertical; min-height: 80px; line-height: 1.55; }

/* ─── What happens next ────────────────────────────────────────── */
#techpro-booking-widget .tp-next-steps-box {
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 14px; padding: 18px 22px; margin-bottom: 20px;
}
#techpro-booking-widget .tp-next-steps-title {
  font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 14px;
}
#techpro-booking-widget .tp-next-steps-grid { display: flex; flex-direction: column; gap: 12px; }
#techpro-booking-widget .tp-next-step {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: #374151; line-height: 1.55;
}
#techpro-booking-widget .tp-next-step strong { color: #0f172a; font-weight: 700; }
#techpro-booking-widget .tp-next-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}

/* ─── Coupon row ───────────────────────────────────────────────── */
#techpro-booking-widget .tp-coupon-row { display: flex; gap: 8px; margin-bottom: 14px; }
#techpro-booking-widget .tp-coupon-row .tp-input { flex: 1; }

/* ─── Error box ────────────────────────────────────────────────── */
#techpro-booking-widget .tp-error-box {
  background: #fef2f2; border: 1.5px solid #fecaca;
  border-radius: 10px; padding: 13px 18px;
  font-size: 14px; color: #991b1b; font-weight: 600;
  margin-bottom: 16px;
}

/* ─── Buttons ──────────────────────────────────────────────────── */
#techpro-booking-widget .tp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px;
  border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  text-decoration: none; white-space: nowrap;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  letter-spacing: .1px;
}
#techpro-booking-widget .tp-btn-primary {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(8,145,178,.38);
}
#techpro-booking-widget .tp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8,145,178,.48);
  color: #fff;
}
#techpro-booking-widget .tp-btn-primary:active { transform: translateY(0); }
#techpro-booking-widget .tp-btn-secondary {
  background: #f8fafc; color: #374151;
  border: 2px solid #e2e8f0;
}
#techpro-booking-widget .tp-btn-secondary:hover {
  border-color: #0891b2; color: #0891b2; background: #f0f9ff;
}
#techpro-booking-widget .tp-btn-full { width: 100%; }
#techpro-booking-widget .tp-btn-lg   { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
#techpro-booking-widget .tp-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ─── Disclaimer ───────────────────────────────────────────────── */
#techpro-booking-widget .tp-disclaimer {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; padding: 13px 18px;
  font-size: 13px; color: #78350f; line-height: 1.65; margin: 16px 0 8px;
}
#techpro-booking-widget .tp-privacy {
  text-align: center; font-size: 12px; color: #94a3b8; margin: 6px 0 0;
}

/* ─── Discount rows ────────────────────────────────────────────── */
#techpro-booking-widget .tp-price-discount span:last-child {
  color: #059669 !important; font-weight: 700 !important;
}

/* ─── Done screen ──────────────────────────────────────────────── */
#techpro-booking-widget .tp-done-wrap {
  max-width: 500px; margin: 0 auto;
  text-align: center; padding: 24px 0 56px;
}
#techpro-booking-widget .tp-done-check { width: 80px; height: 80px; margin: 0 auto 24px; }
#techpro-booking-widget .tp-checkmark  { width: 80px; height: 80px; display: block; }
#techpro-booking-widget .tp-check-circle {
  stroke: #0891b2; stroke-width: 2; fill: none;
  stroke-dasharray: 166; stroke-dashoffset: 166;
  animation: tp-stroke 0.65s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}
#techpro-booking-widget .tp-check-path {
  stroke: #0891b2; stroke-width: 2.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: tp-stroke 0.35s cubic-bezier(.4,0,.2,1) 0.85s forwards;
}
@keyframes tp-stroke { to { stroke-dashoffset: 0; } }

#techpro-booking-widget .tp-done-ref {
  display: inline-flex; align-items: center; gap: 10px;
  background: #f0f9ff; border: 1.5px solid #bae6fd;
  border-radius: 10px; padding: 11px 18px;
  font-size: 15px; color: #374151;
  margin: 0 auto 22px; font-weight: 600;
}
#techpro-booking-widget .tp-done-ref strong { color: #0891b2; font-size: 17px; }
#techpro-booking-widget .tp-copy-btn {
  background: none; border: none; cursor: pointer; font-size: 18px; padding: 0 4px;
}
#techpro-booking-widget .tp-done-summary {
  background: #fff; border: 1.5px solid #e2e8f0;
  border-radius: 14px; padding: 18px 22px;
  margin-bottom: 22px; text-align: left;
}
#techpro-booking-widget .tp-done-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 14px; gap: 12px;
}
#techpro-booking-widget .tp-done-row:last-child { border: none; }
#techpro-booking-widget .tp-done-row span:first-child { color: #64748b; font-weight: 500; white-space: nowrap; }
#techpro-booking-widget .tp-done-row span:last-child  { color: #0f172a; font-weight: 600; text-align: right; }
#techpro-booking-widget .tp-done-row.is-total span:last-child {
  color: #0891b2; font-size: 20px; font-weight: 800;
}

/* ─── List style override ──────────────────────────────────────── */
#techpro-booking-widget .tp-list-style {
  display: flex !important; flex-direction: column !important; gap: 8px !important;
}
#techpro-booking-widget .tp-list-style .tp-item-card {
  flex-direction: row !important; align-items: center !important;
  border-radius: 12px !important; padding: 0 !important; min-height: 56px !important;
  transform: none !important;
}
#techpro-booking-widget .tp-list-style .tp-item-card:hover { transform: none !important; }
#techpro-booking-widget .tp-list-style .tp-ci {
  width: 56px !important; height: 56px !important;
  aspect-ratio: unset !important; flex-shrink: 0 !important;
  border-radius: 10px 0 0 10px !important;
}
#techpro-booking-widget .tp-list-style .tp-ci-icon { font-size: 24px !important; padding: 0 !important; }
#techpro-booking-widget .tp-list-style .tp-cb {
  flex-direction: row !important; align-items: center !important;
  padding: 10px 16px !important; gap: 10px !important; flex: 1 !important; text-align: left !important;
}
#techpro-booking-widget .tp-list-style .tp-ct { font-size: 14px !important; flex: 1 !important; }
#techpro-booking-widget .tp-list-style .tp-cs { font-size: 12px !important; color: #64748b !important; white-space: nowrap !important; }
#techpro-booking-widget .tp-list-style .tp-item-card.is-selected::after {
  position: static !important; margin-left: auto !important;
  right: unset !important; top: unset !important;
}

/* ─── Name-only style override ─────────────────────────────────── */
#techpro-booking-widget .tp-name-style {
  display: flex !important; flex-direction: row !important;
  flex-wrap: wrap !important; gap: 8px !important;
}
#techpro-booking-widget .tp-name-style .tp-item-card {
  border-radius: 99px !important; padding: 9px 22px !important;
  border: 1.5px solid #e2e8f0 !important;
  flex-direction: row !important; align-items: center !important;
  width: auto !important; flex: 0 0 auto !important; min-height: unset !important;
  box-shadow: none !important; transform: none !important;
}
#techpro-booking-widget .tp-name-style .tp-item-card:hover {
  border-color: #0891b2 !important; transform: none !important;
  background: rgba(8,145,178,.05) !important; box-shadow: none !important;
}
#techpro-booking-widget .tp-name-style .tp-item-card.is-selected {
  background: #0891b2 !important; border-color: #0891b2 !important;
  box-shadow: 0 2px 12px rgba(8,145,178,.3) !important;
}
#techpro-booking-widget .tp-name-style .tp-item-card.is-selected .tp-ct { color: #fff !important; }
#techpro-booking-widget .tp-name-style .tp-item-card.is-selected::after { display: none !important; }
#techpro-booking-widget .tp-name-style .tp-ci   { display: none !important; }
#techpro-booking-widget .tp-name-style .tp-cb   { padding: 0 !important; flex-direction: row !important; align-items: center !important; gap: 6px !important; }
#techpro-booking-widget .tp-name-style .tp-ct   { font-size: 14px !important; font-weight: 600 !important; white-space: nowrap !important; }
#techpro-booking-widget .tp-name-style .tp-cs   { display: none !important; }
#techpro-booking-widget .tp-name-style .tp-cp   { font-size: 12px !important; margin: 0 !important; }
#techpro-booking-widget .tp-name-style .tp-cp-exact,
#techpro-booking-widget .tp-name-style .tp-cp-base,
#techpro-booking-widget .tp-name-style .tp-cp-from { display: inline !important; font-size: 12px !important; }

/* ─── Icon style override ──────────────────────────────────────── */
#techpro-booking-widget.tp-icon-style .tp-item-card {
  flex-direction: column !important; align-items: center !important;
  justify-content: flex-start !important; text-align: center !important;
  padding: 28px 16px 20px !important; min-height: 155px !important;
  border-radius: 18px !important;
  transform: none !important;
}
#techpro-booking-widget.tp-icon-style .tp-item-card:hover { transform: translateY(-3px) !important; }
#techpro-booking-widget.tp-icon-style .tp-ci {
  aspect-ratio: unset !important; width: auto !important;
  background: none !important;
}
#techpro-booking-widget.tp-icon-style .tp-ci-icon {
  font-size: 48px !important; padding: 0 0 14px 0 !important;
  width: auto !important; height: auto !important;
  background: none !important;
}
#techpro-booking-widget.tp-icon-style .tp-ct {
  font-size: 11px !important; font-weight: 800 !important;
  letter-spacing: 1.2px !important; text-transform: uppercase !important;
}
#techpro-booking-widget.tp-icon-style .tp-cb { align-items: center !important; padding: 0 8px 4px !important; }

/* ─── Pill style override ──────────────────────────────────────── */
/* Note: targets .tp-card-grid — the ACTUAL HTML class */
#techpro-booking-widget.tp-pill-style .tp-card-grid {
  grid-template-columns: repeat(3, 1fr) !important; gap: 10px !important;
}
#techpro-booking-widget.tp-pill-style .tp-item-card {
  flex-direction: row !important; align-items: center !important;
  border-radius: 12px !important; border: 1.5px solid #e2e8f0 !important;
  background: #fff !important; padding: 12px 18px !important;
  min-height: unset !important; box-shadow: none !important; transform: none !important;
}
#techpro-booking-widget.tp-pill-style .tp-item-card:hover {
  border-color: #0891b2 !important; background: #f0f9ff !important;
  transform: none !important; box-shadow: 0 2px 10px rgba(8,145,178,.1) !important;
}
#techpro-booking-widget.tp-pill-style .tp-item-card.is-selected {
  border-color: #0891b2 !important; background: #f0f9ff !important;
  box-shadow: 0 0 0 2px #0891b2 !important;
}
#techpro-booking-widget.tp-pill-style .tp-item-card.is-selected::after {
  position: static !important; margin-left: auto !important;
}
#techpro-booking-widget.tp-pill-style .tp-ci { display: none !important; }
#techpro-booking-widget.tp-pill-style .tp-cb { padding: 0 !important; }
#techpro-booking-widget.tp-pill-style .tp-ct {
  font-size: 14px !important; font-weight: 700 !important; color: #0f172a !important;
}
#techpro-booking-widget.tp-pill-style .tp-item-card.is-selected .tp-ct { color: #0891b2 !important; }
@media (max-width: 560px) {
  #techpro-booking-widget.tp-pill-style .tp-card-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─── Square CTA box ───────────────────────────────────────────── */
#techpro-booking-widget #tp-square-cta-box { margin-top: 16px; }
#techpro-booking-widget #tp-square-link {
  display: block; text-align: center; padding: 16px 32px;
  border-radius: 14px; font-size: 16px; text-decoration: none;
}
