/* =========================================
   Add-on Modules — addon-modules.css
   Multi-step: Select → Details → Price → Thanks
   ========================================= */

/* ── Trigger Card ── */
.addon-trigger-section {
  max-width: 1200px;
  margin: 4rem auto 5rem;
  padding: 0 1.5rem;
}

.addon-trigger-card {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 28px;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 48px rgba(0,0,0,.18);
}

.addon-trigger-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,128,25,.22) 0%, transparent 70%);
  pointer-events: none;
}

.addon-trigger-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,212,148,.1) 0%, transparent 70%);
  pointer-events: none;
}

.addon-trigger-info { flex: 1; min-width: 240px; position: relative; z-index: 1; }

.addon-trigger-info .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #EF8019;
  background: rgba(239,128,25,.15);
  border: 1px solid rgba(239,128,25,.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 1rem;
}

.addon-trigger-info h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.addon-trigger-info h3 span {
  color: transparent;
  background: linear-gradient(270deg, #EF8019 0%, #FFD494 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.addon-trigger-info p { font-size: .9rem; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 440px; margin: 0; }

.addon-module-pills { display: flex; gap: 8px; margin-top: 1.2rem; flex-wrap: wrap; }

.addon-module-pill {
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 3px 11px;
}

.addon-trigger-right {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: flex-end; gap: .8rem; flex-shrink: 0;
}

.addon-trigger-stats { display: flex; gap: 1.5rem; margin-bottom: .2rem; }

.trigger-stat-value {
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  color: transparent;
  background: linear-gradient(270deg, #EF8019 0%, #FFD494 100%);
  background-clip: text; -webkit-background-clip: text;
}

.trigger-stat-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 500; margin-top: 2px; }

.btn-open-addons {
  background: linear-gradient(135deg, #EF8019 0%, #F5A030 100%);
  color: #fff; font-weight: 700; font-size: 14px;
  border: none; border-radius: 50px; padding: .9rem 2.2rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  transition: all .3s cubic-bezier(.22,.68,0,1.2);
  box-shadow: 0 4px 20px rgba(239,128,25,.45);
  position: relative; overflow: hidden;
}

.btn-open-addons::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
  border-radius: inherit;
}

.btn-open-addons:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 32px rgba(239,128,25,.55); }
.btn-open-addons:active { transform: translateY(0) scale(1); }

.btn-open-addons .btn-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

.btn-open-addons .badge-count {
  background: rgba(255,255,255,.25);
  border-radius: 100px; padding: 1px 9px;
  font-size: 12px; font-weight: 800; display: none;
  min-width: 24px; text-align: center;
}

.btn-open-addons.has-selection .badge-count { display: inline-block; }


/* ══════════════════════════════════════════
   MODAL OVERLAY
══════════════════════════════════════════ */
.addon-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 50000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}

.addon-modal-overlay.open { opacity: 1; pointer-events: all; }

.addon-modal {
  background: #fff; border-radius: 24px;
  width: 100%; max-width: 900px; max-height: 90vh;
  display: flex; flex-direction: column;
  transform: translateY(24px) scale(.98); opacity: 0;
  transition: transform .38s cubic-bezier(.22,.68,0,1.15), opacity .3s ease;
  box-shadow: 0 32px 80px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.06);
  overflow: hidden;
}

.addon-modal-overlay.open .addon-modal { transform: translateY(0) scale(1); opacity: 1; }


/* ── Step Progress Bar ── */
.addon-steps {
  display: flex; align-items: center; gap: 0;
  padding: 1.1rem 1.8rem .9rem;
  border-bottom: 1px solid #f0ece6;
  background: #fafaf8;
  flex-shrink: 0;
}

.addon-step {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600;
  color: #c4c0bb;
  transition: color .3s;
  white-space: nowrap;
}

.addon-step.active { color: #1a1a1a; }
.addon-step.done   { color: #EF8019; }

.step-dot {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid #e0ddd8;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #c4c0bb;
  flex-shrink: 0;
  transition: all .3s;
}

.addon-step.active .step-dot { border-color: #EF8019; color: #EF8019; }
.addon-step.done   .step-dot { border-color: #EF8019; background: #EF8019; color: #fff; }

.step-line {
  flex: 1; height: 1.5px; background: #e0ddd8; margin: 0 10px;
  transition: background .4s;
  min-width: 24px;
}

.step-line.done { background: #EF8019; }


/* ── Modal Header ── */
.addon-modal-header {
  padding: 1.1rem 1.8rem 1rem;
  border-bottom: 1px solid #f0ece6;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  flex-shrink: 0; background: #fff;
}

.modal-header-left { display: flex; align-items: center; gap: 12px; }

.modal-header-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #EF8019 0%, #FFD494 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff; flex-shrink: 0;
}

.modal-header-text h4 { font-size: 1rem; font-weight: 800; color: #1a1a1a; margin: 0; letter-spacing: -.01em; }
.modal-header-text p  { font-size: 11.5px; color: #8a8580; margin: 1px 0 0; }

.modal-header-right { display: flex; align-items: center; gap: 10px; }

.modal-search-wrap { position: relative; display: flex; align-items: center; }
.modal-search-wrap i { position: absolute; left: 10px; font-size: 12px; color: #b0aca5; pointer-events: none; }

.modal-search {
  border: 1.5px solid #E8E6E0; border-radius: 50px;
  padding: .45rem .9rem .45rem 2rem; font-size: 12.5px;
  color: #1a1a1a; background: #fafaf8; outline: none;
  width: 200px; transition: border-color .2s, box-shadow .2s, width .3s;
}

.modal-search:focus {
  border-color: #EF8019; box-shadow: 0 0 0 3px rgba(239,128,25,.12);
  width: 240px; background: #fff;
}

.modal-search::placeholder { color: #c4c0bb; }

.btn-modal-close {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1.5px solid #E8E6E0; background: #fafaf8;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #8a8580; transition: all .2s; flex-shrink: 0;
}

.btn-modal-close:hover { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }


/* ── Step Panels ── */
.addon-step-panel { display: none; flex: 1; overflow: hidden; }
.addon-step-panel.active { display: flex; }


/* ══════════════════════════════════════════
   STEP 1 — MODULE SELECTION (split)
══════════════════════════════════════════ */
.addon-module-pane {
  flex: 1; overflow-y: auto;
  padding: 1.4rem 1.6rem;
  border-right: 1px solid #f0ece6; min-width: 0;
}

.addon-module-pane::-webkit-scrollbar { width: 4px; }
.addon-module-pane::-webkit-scrollbar-thumb { background: #E8E6E0; border-radius: 100px; }

.module-category-label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #c4c0bb;
  margin: .2rem 0 .7rem;
  display: flex; align-items: center; gap: 8px;
}

.module-category-label::after {
  content: ''; flex: 1; height: 1px; background: #f0ece6;
}

.module-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 1.4rem; }

.module-row {
  display: flex; align-items: center; gap: 12px;
  padding: .85rem 1rem;
  border: 1.5px solid #f0ece6; border-radius: 14px;
  cursor: pointer; background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
  user-select: none; position: relative;
}

.module-row:hover {
  border-color: rgba(239,128,25,.3); background: #fffaf5;
  box-shadow: 0 2px 10px rgba(239,128,25,.07); transform: translateX(3px);
}

.module-row.selected {
  border-color: #EF8019; background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
  box-shadow: 0 3px 16px rgba(239,128,25,.14); transform: translateX(3px);
}

.popular-badge {
  position: absolute; top: -1px; right: 52px;
  font-size: 9px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: #fff;
  background: linear-gradient(90deg, #EF8019, #FFD494);
  padding: 2px 8px; border-radius: 0 0 8px 8px;
}

.row-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #faf5ef; display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #EF8019; flex-shrink: 0;
  transition: background .25s, color .25s, transform .25s;
}

.module-row:hover .row-icon { transform: scale(1.1); }
.module-row.selected .row-icon { background: #EF8019; color: #fff; }

.row-text { flex: 1; min-width: 0; }
.row-text strong { font-size: .84rem; font-weight: 700; color: #1a1a1a; display: block; line-height: 1.3; }
.row-text span   { font-size: 11px; color: #a0a09a; line-height: 1.4; display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.row-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.row-price {
  font-size: 11px; font-weight: 800; color: #EF8019;
  background: #faf0e6; padding: 2px 9px; border-radius: 100px;
  white-space: nowrap; transition: background .2s, color .2s;
}

.module-row.selected .row-price { background: #EF8019; color: #fff; }

.row-checkbox {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #ddd; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: transparent;
  transition: all .2s cubic-bezier(.22,.68,0,1.3); flex-shrink: 0;
}

.module-row:hover .row-checkbox { border-color: #EF8019; }
.module-row.selected .row-checkbox { background: #EF8019; border-color: #EF8019; color: #fff; transform: scale(1.1); }

.module-empty-search { text-align: center; padding: 3rem 1rem; display: none; }
.module-empty-search i { font-size: 2rem; color: #E8E6E0; margin-bottom: .8rem; }
.module-empty-search p { font-size: 13px; color: #b0aca5; }

/* Summary pane */
.addon-summary-pane {
  width: 260px; flex-shrink: 0;
  display: flex; flex-direction: column;
  background: #fafaf8; overflow-y: auto;
}

.addon-summary-pane::-webkit-scrollbar { width: 4px; }
.addon-summary-pane::-webkit-scrollbar-thumb { background: #E8E6E0; border-radius: 100px; }

.summary-pane-header {
  padding: 1.2rem 1.4rem .8rem;
  border-bottom: 1px solid #f0ece6;
}

.summary-pane-header h6 { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #b0aca5; margin: 0 0 .1rem; }

.summary-pane-total {
  font-size: 2rem; font-weight: 900;
  color: transparent;
  background: linear-gradient(270deg, #EF8019 0%, #F5A030 100%);
  background-clip: text; -webkit-background-clip: text;
  line-height: 1; letter-spacing: -.03em;
}

.summary-pane-count { font-size: 11.5px; color: #8a8580; font-weight: 500; margin-top: 3px; }
.summary-pane-count span { font-weight: 700; color: #1a1a1a; }

.summary-items { flex: 1; padding: 1rem 1.4rem; display: flex; flex-direction: column; gap: 6px; }

.summary-empty-state {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem 1.2rem; gap: .6rem; color: #c4c0bb;
}

.summary-empty-state i { font-size: 1.8rem; }
.summary-empty-state p { font-size: 12px; line-height: 1.5; margin: 0; }

.summary-item {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; background: #fff; border: 1px solid #f0ece6;
  border-radius: 10px; padding: .6rem .8rem;
  animation: summaryItemIn .25s cubic-bezier(.22,.68,0,1.3) both;
}

@keyframes summaryItemIn {
  from { opacity: 0; transform: translateX(12px) scale(.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

.summary-item-name { font-size: 11.5px; font-weight: 600; color: #1a1a1a; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-item-price { font-size: 11px; font-weight: 700; color: #EF8019; flex-shrink: 0; }

.summary-item-remove {
  width: 18px; height: 18px; border-radius: 50%;
  border: none; background: #f0ece6; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #a0a09a;
  transition: background .2s, color .2s; flex-shrink: 0; padding: 0;
}

.summary-item-remove:hover { background: #EF8019; color: #fff; }

.summary-breakdown { padding: .8rem 1.4rem; border-top: 1px dashed #e8e4de; }
.summary-breakdown-row { display: flex; justify-content: space-between; font-size: 11.5px; color: #8a8580; margin-bottom: 4px; }
.summary-breakdown-row.total-row { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-top: 6px; padding-top: 6px; border-top: 1px solid #e8e4de; }


/* ══════════════════════════════════════════
   STEP 2 — DETAILS FORM
══════════════════════════════════════════ */
.addon-details-pane {
  flex: 1; overflow-y: auto; padding: 1.8rem 2rem;
  min-width: 0;
}

.addon-details-pane::-webkit-scrollbar { width: 4px; }
.addon-details-pane::-webkit-scrollbar-thumb { background: #E8E6E0; border-radius: 100px; }

.details-section-title {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: #b0aca5; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}

.details-section-title::after { content: ''; flex: 1; height: 1px; background: #f0ece6; }

/* Duration picker */
.duration-options {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-bottom: 1.8rem;
}

.dur-card {
  border: 1.5px solid #E8E6E0; border-radius: 14px;
  padding: 1rem 1rem .9rem;
  cursor: pointer; text-align: center; background: #fafaf8;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
  position: relative; user-select: none;
}

.dur-card:hover { border-color: rgba(239,128,25,.3); background: #fff; transform: translateY(-2px); }

.dur-card.selected {
  border-color: #EF8019; background: linear-gradient(145deg, #fff8f0 0%, #fff 100%);
  box-shadow: 0 4px 16px rgba(239,128,25,.15);
}

.dur-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 800; color: #fff;
  background: linear-gradient(90deg, #EF8019, #FFD494);
  border-radius: 100px; padding: 2px 10px; white-space: nowrap;
}

.dur-name { font-size: .88rem; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; }
.dur-period { font-size: .72rem; color: #b0aca5; font-weight: 500; }
.dur-card.selected .dur-period { color: #EF8019; }

/* Form grid */
.details-form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 1.8rem;
}

.details-form-grid .full-width { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 11.5px; font-weight: 700; color: #4a4a4a; letter-spacing: .01em;
}

.form-label span { color: #EF8019; margin-left: 2px; }

.form-input,
.form-select,
.form-textarea {
  border: 1.5px solid #E8E6E0; border-radius: 11px;
  padding: .65rem 1rem; font-size: 13.5px; color: #1a1a1a;
  background: #fafaf8; outline: none; font-family: inherit;
  transition: border-color .2s, box-shadow .2s, background .2s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #EF8019;
  box-shadow: 0 0 0 3px rgba(239,128,25,.1);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder { color: #c4c0bb; }

.form-textarea { resize: none; min-height: 88px; line-height: 1.55; }

/* Team size stepper */
.team-size-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid #E8E6E0; border-radius: 11px; overflow: hidden;
  background: #fafaf8; transition: border-color .2s, box-shadow .2s;
}

.team-size-wrap:focus-within {
  border-color: #EF8019; box-shadow: 0 0 0 3px rgba(239,128,25,.1); background: #fff;
}

.team-btn {
  width: 42px; height: 42px; border: none; background: none;
  cursor: pointer; font-size: 16px; color: #8a8580;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, background .2s; flex-shrink: 0;
}

.team-btn:hover { color: #EF8019; background: rgba(239,128,25,.06); }

.team-input {
  flex: 1; border: none; background: none; outline: none;
  text-align: center; font-size: 14px; font-weight: 700;
  color: #1a1a1a; font-family: inherit; min-width: 0;
}

/* Details side summary */
.details-side-summary {
  width: 240px; flex-shrink: 0; background: #fafaf8;
  border-left: 1px solid #f0ece6;
  padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: 1.2rem;
  overflow-y: auto;
}

.side-summary-title {
  font-size: 10px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #b0aca5;
}

.side-module-chips { display: flex; flex-direction: column; gap: 6px; }

.side-chip {
  display: flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; color: #4a4a4a;
  background: #fff; border: 1px solid #f0ece6;
  border-radius: 9px; padding: .5rem .8rem;
}

.side-chip i { color: #EF8019; font-size: 11px; flex-shrink: 0; }

.side-divider { height: 1px; background: #f0ece6; }

.side-note {
  font-size: 11px; color: #b0aca5; line-height: 1.55;
  background: rgba(239,128,25,.05); border: 1px solid rgba(239,128,25,.12);
  border-radius: 10px; padding: .8rem;
}

.side-note strong { color: #EF8019; display: block; margin-bottom: 4px; font-size: 11px; }


/* ══════════════════════════════════════════
   STEP 3 — PRICE CALCULATION
══════════════════════════════════════════ */
.addon-price-pane {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 2.5rem 2rem; text-align: center; gap: 0;
  overflow: auto;
}

/* Calculating state */
.price-calculating {
  display: flex; flex-direction: column;
  align-items: center; gap: 1.4rem;
}

.calc-ring {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid #f0ece6;
  border-top-color: #EF8019;
  border-right-color: #FFD494;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.calc-label {
  font-size: .95rem; font-weight: 600; color: #8a8580;
}

.calc-dots span {
  display: inline-block; width: 6px; height: 6px;
  background: #EF8019; border-radius: 50; margin: 0 2px;
  animation: dotPulse 1s ease-in-out infinite;
  border-radius: 50%;
}

.calc-dots span:nth-child(2) { animation-delay: .15s; }
.calc-dots span:nth-child(3) { animation-delay: .30s; }

@keyframes dotPulse {
  0%,80%,100% { transform: scale(.6); opacity: .4; }
  40%          { transform: scale(1);  opacity: 1; }
}

/* Price reveal state */
.price-result {
  display: none; flex-direction: column;
  align-items: center; gap: 0; width: 100%;
}

.price-result-inner {
  background: linear-gradient(145deg, #fff8f0 0%, #fff 100%);
  border: 1.5px solid rgba(239,128,25,.2);
  border-radius: 24px; padding: 2.5rem 3rem;
  width: 100%; max-width: 480px;
  box-shadow: 0 8px 40px rgba(239,128,25,.1);
  text-align: center;
}

.price-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #EF8019;
  background: rgba(239,128,25,.1); border: 1px solid rgba(239,128,25,.2);
  border-radius: 100px; padding: 5px 14px; margin-bottom: 1.2rem;
}

.price-label { font-size: .85rem; color: #8a8580; margin-bottom: .5rem; }

.price-amount {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -.04em;
  line-height: 1; color: transparent;
  background: linear-gradient(135deg, #EF8019 0%, #F5A030 60%, #FFD494 100%);
  background-clip: text; -webkit-background-clip: text;
  margin-bottom: .3rem;
}

.price-period { font-size: .8rem; color: #b0aca5; font-weight: 500; margin-bottom: 1.8rem; }

.price-breakdown {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: #f0ece6; border-radius: 12px; overflow: hidden;
  margin-bottom: 1.8rem;
}

.pb-cell {
  background: #fff; padding: .8rem .5rem; text-align: center;
}

.pb-cell-val { font-size: 1rem; font-weight: 800; color: #1a1a1a; line-height: 1; margin-bottom: 3px; }
.pb-cell-lbl { font-size: .68rem; color: #b0aca5; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }

.price-note {
  font-size: .78rem; color: #b0aca5; line-height: 1.6;
  background: #fafaf8; border-radius: 10px; padding: .8rem 1rem;
}

/* ── Modal Footer ── */
.addon-modal-footer {
  border-top: 1px solid #f0ece6;
  padding: 1rem 1.8rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; flex-shrink: 0; background: #fff;
}

.footer-hint { font-size: 11.5px; color: #b0aca5; display: flex; align-items: center; gap: 6px; }
.footer-hint i { color: #EF8019; }
.footer-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-modal-back {
  background: none; border: 1.5px solid #E8E6E0;
  border-radius: 50px; padding: .62rem 1.3rem;
  font-size: 13px; font-weight: 600; color: #8a8580;
  cursor: pointer; transition: all .2s;
  display: flex; align-items: center; gap: 7px;
}

.btn-modal-back:hover { border-color: #1a1a1a; color: #1a1a1a; }

.btn-modal-clear {
  background: none; border: 1.5px solid #E8E6E0;
  border-radius: 50px; padding: .62rem 1.3rem;
  font-size: 13px; font-weight: 600; color: #8a8580;
  cursor: pointer; transition: all .2s;
}

.btn-modal-clear:hover { border-color: #1a1a1a; color: #1a1a1a; }

.btn-modal-next,
.btn-modal-submit {
  background: linear-gradient(135deg, #EF8019 0%, #F5A030 100%);
  color: #fff; font-weight: 700; font-size: 13.5px;
  border: none; border-radius: 50px; padding: .68rem 2rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  transition: all .3s cubic-bezier(.22,.68,0,1.2);
  box-shadow: 0 4px 16px rgba(239,128,25,.3);
  position: relative; overflow: hidden; white-space: nowrap;
}

.btn-modal-next::before,
.btn-modal-submit::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15) 0%, transparent 60%);
}

.btn-modal-next:hover,
.btn-modal-submit:hover {
  transform: translateY(-2px); box-shadow: 0 8px 28px rgba(239,128,25,.42);
}

.btn-modal-next:active,
.btn-modal-submit:active { transform: translateY(0); }

.btn-modal-next:disabled,
.btn-modal-submit:disabled {
  background: linear-gradient(135deg, #d0ccc6, #c4c0bb);
  cursor: not-allowed; box-shadow: none; transform: none;
}


/* ══════════════════════════════════════════
   THANK YOU OVERLAY
══════════════════════════════════════════ */
.thankyou-overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 60000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
}

.thankyou-overlay.open { opacity: 1; pointer-events: all; }

.thankyou-card {
  background: #fff; border-radius: 28px;
  padding: 3.5rem 3rem; max-width: 440px; width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0,0,0,.25);
  transform: scale(.88) translateY(30px);
  transition: transform .45s cubic-bezier(.22,.68,0,1.2), opacity .35s ease;
  opacity: 0;
}

.thankyou-overlay.open .thankyou-card { transform: scale(1) translateY(0); opacity: 1; }

.thankyou-icon-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #EF8019 0%, #FFD494 100%);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.8rem; font-size: 32px; color: #fff;
  box-shadow: 0 12px 36px rgba(239,128,25,.4);
  animation: iconPop .5s cubic-bezier(.22,.68,0,1.4) .2s both;
}

@keyframes iconPop {
  from { transform: scale(0) rotate(-20deg); }
  to   { transform: scale(1) rotate(0deg); }
}

.thankyou-card h3 {
  font-size: 1.6rem; font-weight: 800; color: #1a1a1a;
  letter-spacing: -.025em; line-height: 1.2; margin-bottom: .7rem;
}

.thankyou-card p {
  font-size: .92rem; color: #8a8580; line-height: 1.7;
  max-width: 300px; margin: 0 auto 2rem;
}

.thankyou-steps {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 2rem; text-align: left;
}

.ty-step {
  display: flex; align-items: center; gap: 12px;
  padding: .75rem 1rem;
  background: #fafaf8; border-radius: 12px; border: 1px solid #f0ece6;
}

.ty-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(239,128,25,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #EF8019; flex-shrink: 0;
}

.ty-step-text strong { font-size: .83rem; font-weight: 700; color: #1a1a1a; display: block; }
.ty-step-text span   { font-size: .75rem; color: #b0aca5; }

.btn-ty-close {
  width: 100%; background: #1a1a1a; color: #fff;
  font-weight: 700; font-size: .9rem; border: none;
  border-radius: 50px; padding: .85rem; cursor: pointer;
  transition: background .25s; font-family: inherit;
}

.btn-ty-close:hover { background: #EF8019; }


/* ── Toast ── */
.addon-toast {
  position: fixed; bottom: 32px; right: 32px;
  background: #1a1a1a; border-radius: 14px;
  padding: .9rem 1.4rem; box-shadow: 0 12px 40px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: #fff;
  z-index: 99999; opacity: 0;
  transform: translateY(18px) scale(.96); pointer-events: none;
  transition: opacity .3s ease, transform .3s cubic-bezier(.22,.68,0,1.2);
  max-width: 320px;
}

.addon-toast .toast-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: #EF8019; display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}

.addon-toast.show { opacity: 1; transform: translateY(0) scale(1); }


/* ── Responsive ── */
@media (max-width: 768px) {
  .addon-trigger-card { padding: 2rem 1.6rem; flex-direction: column; align-items: flex-start; }
  .addon-trigger-right { width: 100%; align-items: stretch; }
  .btn-open-addons { width: 100%; justify-content: center; }

  .addon-modal-overlay { padding: 0; align-items: flex-end; }
  .addon-modal { border-radius: 24px 24px 0 0; max-height: 95vh; transform: translateY(100%); }
  .addon-modal-overlay.open .addon-modal { transform: translateY(0); opacity: 1; }

  .addon-step-panel.active { flex-direction: column; }
  .addon-summary-pane { width: 100%; max-height: 200px; border-left: none; border-top: 1px solid #f0ece6; order: -1; }
  .addon-module-pane { border-right: none; }
  .details-side-summary { width: 100%; border-left: none; border-top: 1px solid #f0ece6; max-height: 110px; }
  .modal-search { width: 140px; }
  .modal-search:focus { width: 160px; }
  .addon-modal-footer { flex-direction: column; align-items: stretch; gap: .8rem; }
  .footer-actions { flex-direction: column; }
  .btn-modal-next, .btn-modal-submit, .btn-modal-back, .btn-modal-clear { width: 100%; justify-content: center; text-align: center; }
  .duration-options { grid-template-columns: 1fr; }
  .details-form-grid { grid-template-columns: 1fr; }
  .details-form-grid .full-width { grid-column: span 1; }
  .price-breakdown { grid-template-columns: 1fr; }
  .addon-steps { gap: 0; overflow-x: auto; }
  .step-line { min-width: 16px; }
  .thankyou-card { padding: 2.5rem 1.8rem; }
  .addon-toast { left: 16px; right: 16px; bottom: 20px; max-width: none; }
}

@media (max-width: 500px) {
  .addon-price-pane { padding-top: 26rem;}
}

/* ── No-price note in summary pane ── */
.summary-no-price-note {
  margin: auto 1.4rem 1.4rem;
  background: rgba(239,128,25,.06);
  border: 1px solid rgba(239,128,25,.15);
  border-radius: 12px;
  padding: .9rem 1rem;
  font-size: 11px;
  color: #8a8580;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.summary-no-price-note i {
  color: #EF8019;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Module row checkbox-only right side ── */
.module-row .row-right {
  gap: 0;
}

/* ── Estimated Cost Banner — prominent warning ── */
.price-estimate-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(135deg, #fff8ee 0%, #fff3e0 100%);
  border: 2px solid #EF8019;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  text-align: left;
  margin-top: .2rem;
  position: relative;
  overflow: hidden;
}

.price-estimate-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #EF8019, #FFD494);
}

.price-estimate-banner-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EF8019;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}

.price-estimate-banner-text {
  flex: 1;
  min-width: 0;
}

.price-estimate-banner-text strong {
  font-size: .88rem;
  font-weight: 800;
  color: #c85a00;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -.01em;
}

.price-estimate-banner-text span {
  font-size: .76rem;
  color: #a06030;
  line-height: 1.6;
}
