/* Marine Configurator Styles */

.configurator-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  padding: 0 24px;
}

.configurator-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.config-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #1E42A3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #1A1F2E;
  margin: 0;
  line-height: 1.2;
}

.step-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6B748A;
  margin: 0;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.config-option {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.config-option:hover {
  border-color: #1E42A3;
  transform: translateY(-2px);
}

.config-option.selected {
  border-color: #1E42A3;
  background: rgba(30, 66, 163, 0.04);
  box-shadow: 0 0 0 2px rgba(30, 66, 163, 0.15);
}

.option-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #1A1F2E;
  margin: 0;
}

.option-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #6B748A;
  margin: 0;
}

.option-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #1E42A3;
  margin-top: 4px;
}

.option-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #F5F7FA;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #6B748A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Checkbox options for add-ons */
.config-option.checkbox-option {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

.config-option.checkbox-option input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #1E42A3;
  cursor: pointer;
}

.checkbox-label {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Sticky Summary Card */
.summary-card {
  position: sticky;
  top: 120px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summary-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #1A1F2E;
  margin: 0;
}

.summary-model {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #6B748A;
  margin: 0;
}

.summary-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0;
}

.summary-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #6B748A;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.summary-item-name {
  color: #1A1F2E;
  font-weight: 500;
}

.summary-item-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  color: #1E42A3;
  font-size: 16px;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 2px solid #E2E8F0;
}

.summary-total-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1A1F2E;
}

.summary-total-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: #1A1F2E;
}

.reserve-button {
  width: 100%;
  padding: 16px 32px;
  background: #1E42A3;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reserve-button:hover {
  background: #16327E;
}

.deposit-note {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6B748A;
  text-align: center;
  margin: 0;
}

.savings-badge {
  background: rgba(30, 66, 163, 0.08);
  border: 1px solid rgba(30, 66, 163, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #1E42A3;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .configurator-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .summary-card {
    position: relative;
    top: 0;
    order: 2;
  }

  .configurator-steps {
    order: 1;
  }

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

  .step-title {
    font-size: 20px;
  }

  .summary-total-price {
    font-size: 28px;
  }
}