/* ============================================================
   Nomad X — App Shared Stylesheet
   Covers: register, login, mi-pedido, checkout, confirmacion
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --dark-navy:  #000000;
  --navy:       #111111;
  --gold:       #000000;
  --gold-dark:  #222222;
  --gold-light: #555555;
  --cream:      #FFFFFF;
  --cream-dark: #F5F5F5;
  --white:      #FFFFFF;
  --red:        #C0392B;
  --red-light:  #FDECEA;
  --green:      #1E7E4A;
  --green-light:#E8F5EE;
  --text-dark:  #000000;
  --text-mid:   #333333;
  --text-light: #666666;
  --border:     #E0E0E0;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.16);

  --transition: 0.2s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-sans);
}

input, select, textarea {
  font-family: var(--font-sans);
}

/* ── Typography helpers ─────────────────────────────────────── */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  line-height: 1.2;
}

/* ── App Split Layout ───────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Brand Panel (left, 40%) ────────────────────────────────── */
.brand-panel {
  width: 40%;
  min-height: 100vh;
  background: #FFFFFF;
  border-right: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  position: sticky;
  top: 0;
  align-self: flex-start;
  height: 100vh;
  overflow: hidden;
}

.brand-panel__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.brand-panel__logo {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.brand-panel__x {
  color: #000000;
}

.brand-panel__tagline {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #666666;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.brand-panel__accent {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
}

.brand-panel__decoration {
  margin-top: 3rem;
  opacity: 0.25;
}

.brand-panel__decoration-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  margin: 0 auto 1rem;
}

.brand-panel__decoration-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.brand-panel__decoration-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* Background decorative circles */
.brand-panel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.brand-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.brand-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.75rem;
  color: #000000;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.brand-panel__features {
  margin-top: 2.5rem;
  text-align: left;
  width: 100%;
  max-width: 240px;
}

.brand-panel__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.82rem;
  color: #555555;
}

.brand-panel__feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  color: #000000;
}

/* ── Form Panel (right, 60%) ────────────────────────────────── */
.form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: var(--white);
  overflow-y: auto;
}

.form-panel__inner {
  width: 100%;
  max-width: 460px;
}

.form-panel__title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.form-panel__subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.form-panel__footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-light);
}

.form-panel__footer a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
}

/* ── App Header (authenticated pages) ──────────────────────── */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.app-header__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.app-header__logo span {
  color: #000000;
}

.app-header__spacer {
  flex: 1;
}

.app-header__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-header__greeting {
  font-size: 0.875rem;
  color: #666666;
}

.app-header__greeting strong {
  color: #000000;
  font-weight: 500;
}

/* ── App Main (content area under header) ───────────────────── */
.app-main {
  padding-top: 64px;
  min-height: 100vh;
  background: var(--cream);
}

/* ── Form fields ─────────────────────────────────────────────── */
.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(24, 40, 74, 0.1);
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: var(--red);
  background: #fff8f8;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-error {
  font-size: 0.78rem;
  color: var(--red);
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-error:empty {
  display: none;
}

.field-error::before {
  content: '!';
  width: 14px;
  height: 14px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Password field wrapper */
.field-password {
  position: relative;
}

.field-password input {
  padding-right: 3rem;
}

.field-password__toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.field-password__toggle:hover {
  color: var(--navy);
}

/* Select custom arrow */
.field-select-wrapper {
  position: relative;
}

.field-select-wrapper select {
  padding-right: 2.5rem;
}

.field-select-wrapper::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-mid);
  pointer-events: none;
}

/* Checkbox */
.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.field-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #000000;
  appearance: checkbox;
  -webkit-appearance: checkbox;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.field-checkbox span {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.4;
}

/* Form section heading */
.form-section-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #000000;
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 2px solid #000000;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn-primary:hover:not(:disabled) {
  background: #333333;
  border-color: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #FFFFFF;
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--dark-navy);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--navy);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.btn-outline--gold {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline--gold:hover {
  background: var(--gold);
  color: var(--dark-navy);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--red);
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  font-family: var(--font-sans);
}

.btn-danger:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #555555;
  font-size: 0.82rem;
  font-weight: 400;
  border-radius: var(--radius-sm);
  border: 1px solid #CCCCCC;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.05);
  color: #000000;
  border-color: #999999;
}

/* ── Alert / Global message ─────────────────────────────────── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
}

.alert.visible {
  display: flex;
}

.alert--error {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(192, 57, 43, 0.2);
}

.alert--success {
  background: var(--green-light);
  color: var(--green);
  border: 1px solid rgba(30, 126, 74, 0.2);
}

.alert--info {
  background: rgba(0, 0, 0, 0.04);
  color: #333333;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* ── Step Indicator ─────────────────────────────────────────── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.step-indicator__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
}

.step-indicator__item:not(:last-child)::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.5rem;
}

.step-indicator__item.active::after,
.step-indicator__item.done::after {
  background: var(--gold);
}

.step-indicator__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  flex-shrink: 0;
  transition: all var(--transition);
  background: var(--white);
}

.step-indicator__item.active .step-indicator__num {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

.step-indicator__item.done .step-indicator__num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.step-indicator__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.step-indicator__item.active .step-indicator__label {
  color: var(--dark-navy);
  font-weight: 600;
}

.step-indicator__item.done .step-indicator__label {
  color: var(--navy);
}

/* ── Combo Cards ────────────────────────────────────────────── */
.combos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem; /* space for sticky bar */
}

.combo-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  cursor: pointer;
}

.combo-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.combo-card.selected {
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12), var(--shadow-md);
}

.combo-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #000000;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  display: none;
  align-items: center;
  gap: 4px;
}

.combo-card.selected .combo-card__badge {
  display: flex;
}

.combo-card__thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.combo-card__thumb-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: linear-gradient(to top, rgba(1,7,45,0.6), transparent);
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  font-style: italic;
}

.combo-card__body {
  padding: 1.25rem;
}

.combo-card__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.combo-card__tagline {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.combo-card__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 1rem;
}

.combo-card__price sup {
  font-size: 1rem;
  vertical-align: super;
}

/* Collapsible pieces */
.combo-card__section {
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  margin-top: 0.875rem;
}

.combo-card__section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
}

.combo-card__section-toggle:hover {
  color: var(--dark-navy);
}

.combo-card__chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.combo-card__section.open .combo-card__chevron {
  transform: rotate(180deg);
}

.combo-card__pieces {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.combo-card__section.open .combo-card__pieces {
  max-height: 400px;
}

.combo-card__pieces ul {
  padding: 0.75rem 0 0;
}

.combo-card__pieces li {
  font-size: 0.82rem;
  color: var(--text-mid);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.combo-card__pieces li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}


/* Select button inside card */
.combo-card__actions {
  padding: 1rem 1.25rem 1.25rem;
}

.combo-card__select-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid #000000;
  background: transparent;
  color: #000000;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
  font-family: var(--font-sans);
}

.combo-card__select-btn:hover,
.combo-card.selected .combo-card__select-btn {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
}

/* ── Sticky mobile bottom bar ───────────────────────────────── */
.sticky-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: none; /* shown only on mobile */
}

.sticky-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.sticky-bottom__info {
  font-size: 0.85rem;
  color: var(--text-mid);
}

.sticky-bottom__info strong {
  display: block;
  color: var(--dark-navy);
  font-size: 1rem;
}

/* ── Order Summary sidebar ──────────────────────────────────── */
.order-summary {
  background: #F5F5F5;
  border: 1px solid #E0E0E0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  color: #000000;
  position: sticky;
  top: 80px;
}

.order-summary__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #E0E0E0;
}

.order-summary__combo {
  margin-bottom: 1.25rem;
}

.order-summary__combo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 0.25rem;
}

.order-summary__combo-tagline {
  font-size: 0.8rem;
  color: #666666;
  line-height: 1.4;
}

.order-summary__section {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #E0E0E0;
}

.order-summary__section-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 0.75rem;
}

.order-summary__pieces li {
  font-size: 0.82rem;
  color: #555555;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.order-summary__pieces li::before {
  content: '–';
  flex-shrink: 0;
  color: #000000;
}

.order-summary__more {
  font-size: 0.78rem;
  color: #555555;
  margin-top: 0.5rem;
  font-style: italic;
}


.order-summary__totals {
  margin-top: 1.25rem;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #666666;
  padding: 4px 0;
}

.order-summary__row.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000000;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 1px solid #E0E0E0;
}

/* ── Page layout for checkout/confirmation ──────────────────── */
.page-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.page-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 2rem;
  align-items: flex-start;
}

.checkout-form-col {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

/* ── Success / Confirmation screen ──────────────────────────── */
.success-screen {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1.5rem;
}

.success-screen__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.success-screen__title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
}

.success-screen__subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
}

.order-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
}

.order-card__row:last-child {
  border-bottom: none;
}

.order-card__row strong {
  color: var(--dark-navy);
}

.order-card__row.total {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark-navy);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid var(--gold);
  border-bottom: none;
}

/* What's next section */
.whats-next {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.whats-next__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark-navy);
  margin-bottom: 1.25rem;
}

.whats-next__steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.whats-next__step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.whats-next__step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000000;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whats-next__step-text {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-top: 5px;
  line-height: 1.5;
}

.success-screen__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Loading spinner ────────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--dark-navy);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

.btn-primary .spinner {
  border-color: rgba(255,255,255,0.3);
  border-top-color: #FFFFFF;
}

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

/* ── Divider ────────────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Page header (selection page) ──────────────────────────── */
.selection-header {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.selection-header .page-title {
  margin-bottom: 0.5rem;
}

/* ── Skeleton loading ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

/* ── Utility classes ────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.w-full { width: 100%; }

/* ── Responsive ─────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .combos-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto 6rem;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .app-layout {
    flex-direction: column;
  }

  .brand-panel {
    width: 100%;
    min-height: auto;
    height: auto;
    position: static;
    padding: 2.5rem 1.5rem;
  }

  .brand-panel__features {
    display: none;
  }

  .form-panel {
    padding: 2rem 1.25rem;
    align-items: flex-start;
  }

  .form-panel__inner {
    padding: 0.5rem 0;
  }

  .form-panel__title {
    font-size: 1.8rem;
  }

  .app-header {
    padding: 0 1rem;
  }

  .app-header__greeting {
    display: none;
  }

  .page-inner {
    padding: 1.5rem 1rem;
  }

  .page-title {
    font-size: 1.9rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .sticky-bottom {
    display: block;
  }

  .combos-grid {
    margin-bottom: 7rem;
  }

  .step-indicator__label {
    display: none;
  }

  .success-screen__title {
    font-size: 2.2rem;
  }

  .success-screen__actions {
    flex-direction: column;
  }

  .success-screen__actions .btn-primary,
  .success-screen__actions .btn-outline {
    width: 100%;
  }

  .checkout-form-col {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .form-panel__title {
    font-size: 1.6rem;
  }

  .brand-panel__logo {
    font-size: 2.2rem;
  }

  .combo-card__name {
    font-size: 1.3rem;
  }
}

/* ── Social Widget ─────────────────────────────────────────── */
.social-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  box-shadow: -3px 0 16px rgba(0,0,0,0.18);
}
.social-widget__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  text-decoration: none;
  transition: width 0.2s ease, filter 0.2s ease;
}
.social-widget__item:hover {
  width: 54px;
  filter: brightness(1.1);
}
.social-widget__item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.social-widget__item--fb  { background: #1877F2; }
.social-widget__item--ig  { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-widget__item--tt  { background: #010101; }
