@font-face {
  font-family: "GT Flexa";
  src: url("GT-Flexa-Standard-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("WorkSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #0a0a0a;
  --surface: #111113;
  --surface2: #16161a;
  --border: #222226;
  --border-active: #3a3a42;
  --text: #f2f2f2;
  --muted: #a2a2a2;
  --accent: #c04040;
  --r: 8px;
}
.light {
  --bg: #f5f4f1;
  --surface: #eeede9;
  --surface2: #e7e6e1;
  --border: #d8d7d2;
  --border-active: #aaa9a2;
  --text: #111110;
  --muted: #8a8a82;
}
html,
body {
  height: 100%;
  transition: background 0.3s;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 70px 16px 80px;
  transition:
    background 0.3s,
    color 0.3s;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  display: flex;
  align-items: center;
  color: var(--text);
  transition: color 0.3s;
}
.header-logo svg {
  height: 28px;
  width: auto;
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.theme-toggle:hover {
  border-color: var(--border-active);
  transform: scale(1.08);
}
.theme-toggle .icon-dark,
.theme-toggle .icon-light {
  position: absolute;
  transition:
    opacity 0.25s,
    transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle .icon-dark {
  opacity: 1;
  transform: rotate(0deg);
}
.theme-toggle .icon-light {
  opacity: 0;
  transform: rotate(90deg);
}
.light .theme-toggle .icon-dark {
  opacity: 0;
  transform: rotate(-90deg);
}
.light .theme-toggle .icon-light {
  opacity: 1;
  transform: rotate(0deg);
}
.shell {
  width: 100%;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  gap: 40px;

  padding: 10px 0;
}

/* Progress */
.progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prog-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition:
    background 0.3s,
    transform 0.3s;
}
.prog-dot.active {
  background: var(--text);
  transform: scale(1.4);
}
.prog-dot.done {
  background: var(--muted);
}
.prog-label {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Step */
.step {
  display: none;
  animation: fadeIn 0.35s ease;
}
.step.active {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 75px;
}
.step-body {
  flex: 1;
  min-width: 0;
}
@media (max-width: 640px) {
  .step.active {
    flex-direction: column;
    gap: 24px;
  }
  .step-head {
    position: static !important;
    width: auto !important;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.step-head {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}
.step-num {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.step-title {
  font-family: "GT Flexa", sans-serif;
  font-size: clamp(36px, 7vw, 40px);
  line-height: 0.95;
  letter-spacing: 1px;
}

/* Pack cards */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 500px) {
  .pack-grid {
    grid-template-columns: 1fr;
  }
}
.pack-card {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 20px 20px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  position: relative;
}
.pack-card:hover {
  border-color: var(--border-active);
}
.pack-card.selected {
  border-color: var(--text);
  background: rgba(242, 242, 242, 0.04);
}
.pack-card.selected .pack-check {
  opacity: 1;
  transform: scale(1);
}
.pack-card.no-select {
  cursor: default;
  opacity: 0.5;
}
.pack-card.no-select:hover {
  border-color: var(--border);
}
.pack-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.pack-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--bg);
  stroke-width: 2.5;
  fill: none;
}
.pack-name {
  font-family: "GT Flexa", sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.pack-price {
  font-family: "GT Flexa", sans-serif;
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: var(--text);
}
.pack-price span {
  font-size: 14px;
  font-family: "Work Sans", sans-serif;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0;
}
.pack-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.pack-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.pack-card.selected .pack-badge {
  border-color: var(--text);
  color: var(--text);
}

/* Delivery section — slides in */
.delivery-wrap {
  overflow: visible;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  margin-top: 0;
  pointer-events: none;
}
.delivery-wrap.open {
  max-height: 900px;
  opacity: 1;
  margin-top: 0;
  pointer-events: all;
}

/* Field */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 500px) {
  .field-grid {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.field textarea {
  resize: none;
  min-height: 80px;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--text);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

/* RGPD & Checkboxes */
.field-checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.field-checkbox input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: 0.2s;
  margin-top: 2px;
}
.field-checkbox input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.field-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox-label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 300;
  cursor: pointer;
}
.checkbox-label a {
  color: inherit;
  text-decoration: underline;
  opacity: 0.8;
}

/* RGPD card */
.rgpd-wrap {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: rgba(242, 242, 242, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.rgpd-wrap.error {
  border-color: var(--accent);
  background: rgba(192, 64, 64, 0.04);
}
.rgpd-wrap .rgpd-error-msg {
  display: none;
  font-size: 11px;
  color: var(--accent);
  padding-left: 30px;
}
.rgpd-wrap.error .rgpd-error-msg {
  display: block;
}

/* ReCaptcha */
.grecaptcha-badge {
  visibility: hidden !important;
}
.recaptcha-terms {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin: 16px 0;
}
.recaptcha-terms a {
  color: var(--muted);
  text-decoration: underline;
}
.recaptcha-terms a:hover {
  color: var(--text);
}

/* Error states */
.error-msg {
  color: var(--accent);
  font-size: 11px;
  margin-top: 4px;
  display: none;
}
.field.error .error-msg {
  display: block;
}


/* Delivery options */
.delivery-opts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 400px) {
  .delivery-opts {
    grid-template-columns: 1fr;
  }
}
.delivery-opt {
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.delivery-opt:hover {
  border-color: var(--border-active);
}
.delivery-opt.active {
  border-color: var(--text);
  background: rgba(242, 242, 242, 0.04);
}
.delivery-opt.active .dopt-dot {
  background: var(--text);
  box-shadow: 0 0 0 3px rgba(242, 242, 242, 0.12);
}
.dopt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  flex-shrink: 0;
  margin-top: 3px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.dopt-info strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}
.dopt-info span {
  font-size: 11px;
  color: var(--muted);
}

/* Dept search */
.dept-wrap {
  overflow: visible;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    margin 0.3s ease;
  margin-top: 0;
  pointer-events: none;
}
.dept-wrap.open {
  max-height: 600px;
  opacity: 1;
  margin-top: 16px;
  pointer-events: all;
  margin-bottom: 10px;
}

/* Dept selected display */
.dept-selected {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(242, 242, 242, 0.03);
}
.dept-selected.show {
  display: flex;
}
.dept-selected-name {
  font-weight: 400;
}
.dept-selected-price {
  font-family: "GT Flexa", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--text);
}

/* Total summary */
.total-card {
  display: none;
  border: 1px solid var(--border-active);
  border-radius: var(--r);
  padding: 20px 24px;
  background: rgba(242, 242, 242, 0.03);
  animation: fadeIn 0.3s ease;
  position: relative;
  overflow: hidden;
}
/* .total-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--text),
    rgba(242, 242, 242, 0.2)
  );
} */
.total-card.show {
  display: block;
}
.total-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.total-row-label {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.total-row-val {
  font-size: 13px;
  font-weight: 400;
}
.total-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}
.total-final {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.total-final-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.total-final-val {
  font-family: "GT Flexa", sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--text);
}

/* Custom dropdown */
.cd {
  position: relative;
  width: 100%;
}
.cd-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
  user-select: none;
}
.cd-trigger:hover {
  border-bottom-color: var(--border-active);
}
.cd.open .cd-trigger {
  border-bottom-color: var(--text);
}
.cd.disabled .cd-trigger {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}
.cd.error .cd-trigger {
  border-bottom-color: var(--accent);
}
.cd-value {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 24px);
}
.cd-value.has-val {
  color: var(--text);
}
.cd-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.cd-arrow svg {
  width: 10px;
  height: 10px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
}
.cd.open .cd-arrow {
  transform: rotate(180deg);
}
.cd-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  max-height: 260px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.cd.open .cd-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cd-search {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cd-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 300;
  padding: 0;
}
.cd-search input::placeholder {
  color: var(--muted);
}
.cd-list {
  overflow-y: auto;
  flex: 1;
}
.cd-list::-webkit-scrollbar {
  width: 3px;
}
.cd-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.cd-group-lbl {
  padding: 8px 14px 4px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
}
.cd-item {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.12s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cd-item:hover {
  background: rgba(255, 255, 255, 0.05);
}
.cd-item.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}
.cd-item.hidden {
  display: none;
}
.cd-empty {
  padding: 16px 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.cd-add-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 400;
  color: var(--accent);
  cursor: pointer;
  border-top: 1px solid var(--border);
  transition: background 0.12s;
}
.cd-add-btn:hover {
  background: rgba(192, 64, 64, 0.08);
}
.cd-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  font-size: 12px;
  color: var(--muted);
}
.cd-spinner {
  width: 14px;
  height: 14px;
  border: 1px solid var(--border);
  border-top-color: var(--muted);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  user-select: none;
}
.chip:hover {
  border-color: var(--border-active);
}
.chip.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Range */
.range-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.range-val {
  font-family: "GT Flexa", sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
}
.range-unit {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  height: 1px;
  background: var(--border);
  outline: none;
  cursor: pointer;
  border: none;
  padding: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text);
  cursor: pointer;
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Timing */
.timing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 500px) {
  .timing-grid {
    grid-template-columns: 1fr;
  }
}
.timing-opt {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  user-select: none;
}
.timing-opt:hover {
  border-color: var(--border-active);
}
.timing-opt.active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* Sep */
.sep {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Links */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 600px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.btn {
  padding: 14px 32px;
  font-family: "Work Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  background: transparent;
  color: var(--muted);
}
.btn:hover {
  border-color: var(--border-active);
  color: var(--text);
}
.btn.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn.primary:hover {
  background: #d0d0d0;
  border-color: #d0d0d0;
}
.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}
/* ── Pack info button ── */
.pack-info-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
    outline: none;
}

.pack-info-btn:hover {
  border-color: var(--border-active);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Pack Info Modal ── */
.pack-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(3px);
  padding: 24px;
}
.pack-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.pack-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  width: 100%;
  max-width: 520px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 36px 24px 36px;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pack-modal::-webkit-scrollbar { width: 3px; }
.pack-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.pack-modal-overlay.open .pack-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.pack-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.pack-modal-close:hover {
  border-color: var(--border-active);
  color: var(--text);
}
/* Modal inner content */
.pmi-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.pmi-badge {
  font-family: "GT Flexa", sans-serif;
  font-size: 28px;
  letter-spacing: 0.5px;
}
.pmi-price {
  font-family: "GT Flexa", sans-serif;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}
.pmi-intro {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pmi-section {
  margin-bottom: 18px;
}
.pmi-section-title {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.pmi-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pmi-list li {
  font-size: 13px;
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.pmi-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 11px;
}
.pmi-notes {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pmi-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.pmi-note::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Success */
.success {
  display: none;
  text-align: center;
  padding: 60px 0;
  animation: fadeIn 0.5s ease;
}
.success.active {
  display: block;
}
.success-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--text);
  stroke-width: 2;
  fill: none;
}
.success h2 {
  font-family: "GT Flexa", sans-serif;
  font-size: 40px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.success p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}