/**
 * Tecniparq - Custom Floor Configurator Styles
 * Luxury Dark Palette: #0D0E11, #141519, #18191E, #D7B36A, #FFFFFF, #9CA3AF
 * Architectural Clean Aesthetic: Sharp lines (border-radius: 2px)
 */

.tecniparq-configurator-wrapper {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem clamp(4rem, 8vw, 6rem);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #E5E7EB;
  box-sizing: border-box;
}

.tecniparq-configurator-wrapper * {
  box-sizing: border-box;
}

/* Cabecera Editorial */
.tecniparq-configurator-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.tecniparq-configurator-hero .editorial-tag {
  display: inline-block;
  color: #D7B36A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.configurator-title {
  color: #FFFFFF !important;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem) !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.15 !important;
  margin: 0 0 1.2rem !important;
}

.configurator-subtitle {
  color: #9CA3AF;
  font-size: clamp(0.95rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  margin: 0;
}

/* Stepper Navigation (Corregido solapamiento de números y texto) */
.configurator-stepper-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  padding: 0.5rem 0 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: #D7B36A rgba(255, 255, 255, 0.05);
}

.step-nav-btn {
  flex: 1 0 auto;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  min-height: 46px;
  padding: 0.65rem 1.15rem !important;
  background: #141519 !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 2px !important;
  color: #9CA3AF !important;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.step-nav-btn .step-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 2px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #E5E7EB !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.step-nav-btn .step-lbl {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: inherit !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

.step-nav-btn:hover {
  border-color: rgba(215, 179, 106, 0.45) !important;
  color: #FFFFFF !important;
}

.step-nav-btn.is-active {
  background: #1A1C22 !important;
  border-color: #D7B36A !important;
  color: #D7B36A !important;
  box-shadow: 0 4px 16px rgba(215, 179, 106, 0.15);
}

.step-nav-btn.is-active .step-num {
  background: #D7B36A !important;
  color: #0D0E11 !important;
}

.step-nav-btn.is-completed {
  border-color: rgba(215, 179, 106, 0.3) !important;
  color: #E5E7EB !important;
}

/* Layout Principal */
.configurator-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 2.5rem;
  align-items: start;
}

/* Paneles de Pasos */
.configurator-steps-container {
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: clamp(1.8rem, 3.5vw, 2.75rem);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.configurator-step-panel {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.configurator-step-panel.is-active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.step-panel-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-panel-kicker {
  display: inline-block;
  color: #D7B36A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.step-panel-header h2 {
  color: #FFFFFF !important;
  font-size: clamp(1.3rem, 2vw, 1.65rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 0.4rem !important;
}

.step-panel-header p {
  color: #9CA3AF;
  font-size: 0.92rem;
  margin: 0;
}

/* Grids de Tarjetas de Selección */
.options-grid {
  display: grid;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.options-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.options-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

/* Tarjeta de Opción (Diseño Arquitectónico Limpio sin Fotos Estáticas) */
.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0D0E11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 1.4rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 155px;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card:hover {
  border-color: rgba(215, 179, 106, 0.45);
  background: #111216;
  transform: translateY(-2px);
}

.option-card.is-selected {
  border-color: #D7B36A;
  background: #18191E;
  box-shadow: 0 0 0 1px #D7B36A, 0 8px 24px rgba(0, 0, 0, 0.5);
}

.option-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.option-badge {
  display: inline-block;
  padding: 0.22rem 0.55rem;
  background: rgba(215, 179, 106, 0.1);
  border: 1px solid rgba(215, 179, 106, 0.28);
  border-radius: 2px;
  color: #D7B36A;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-indicator {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.option-card.is-selected .option-indicator {
  border-color: #D7B36A;
  background: #D7B36A;
  box-shadow: inset 0 0 0 3px #18191E;
}

.option-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.option-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.option-card.is-selected .option-title {
  color: #D7B36A;
}

.option-desc {
  color: #9CA3AF;
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

/* Subsecciones y Pills de Acabados */
.config-sub-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.config-sub-label {
  display: block;
  color: #D7B36A;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.config-pills-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.config-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: #0D0E11;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: #E5E7EB;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.config-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.config-pill:hover {
  border-color: rgba(215, 179, 106, 0.4);
  color: #FFFFFF;
}

.config-pill.is-selected {
  background: rgba(215, 179, 106, 0.14);
  border-color: #D7B36A;
  color: #D7B36A;
  font-weight: 600;
}

/* Configuración de Medidas a Medida */
.dimensions-configurator-box {
  background: #0D0E11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 1.85rem;
  margin-bottom: 2rem;
}

.dimensions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.dimension-control {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dim-label {
  color: #E5E7EB;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dim-select {
  width: 100%;
  min-height: 2.85rem;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  color: #FFFFFF;
  padding: 0.55rem 0.85rem;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.dim-select:focus {
  outline: none;
  border-color: #D7B36A;
  box-shadow: 0 0 0 1px #D7B36A;
}

/* Calculadora de m2 en Paso 7 */
.configurator-m2-calculator {
  background: #0D0E11;
  border: 1px solid rgba(215, 179, 106, 0.25);
  border-radius: 2px;
  padding: 1.75rem;
  margin-bottom: 2.5rem;
}

.m2-calc-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m2-input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.m2-input-group label {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.92rem;
}

.m2-input {
  width: 110px;
  min-height: 2.85rem;
  background: #141519;
  border: 1px solid #D7B36A;
  border-radius: 2px;
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  padding: 0.4rem;
}

.waste-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  color: #E5E7EB;
  font-size: 0.88rem;
}

.waste-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #D7B36A;
  cursor: pointer;
  border-radius: 2px;
}

.m2-calc-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.m2-sum-col {
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.m2-sum-col span {
  color: #9CA3AF;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.m2-sum-col strong {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 600;
}

.m2-sum-col--highlight {
  border-color: rgba(215, 179, 106, 0.4);
  background: rgba(215, 179, 106, 0.08);
}

.m2-sum-col--highlight strong {
  color: #D7B36A;
  font-size: 1.35rem;
  font-weight: 700;
}

/* Formulario Específico en la Misma Página */
.tecniparq-custom-floor-form {
  background: #0D0E11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  padding: 2rem;
}

.form-section-title {
  color: #D7B36A;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  color: #E5E7EB;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.customer-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cust-type-radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  color: #9CA3AF;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cust-type-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cust-type-radio.is-selected {
  border-color: #D7B36A;
  background: rgba(215, 179, 106, 0.12);
  color: #D7B36A;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: #AEB2BA;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.opt-hint {
  color: #6B7280;
  text-transform: none;
  font-weight: 400;
}

.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
  width: 100%;
  min-height: 2.85rem;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  color: #FFFFFF;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #D7B36A;
  box-shadow: 0 0 0 1px #D7B36A;
}

.form-privacy {
  margin: 1.5rem 0;
}

.privacy-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #9CA3AF;
  font-size: 0.82rem;
  line-height: 1.5;
  cursor: pointer;
}

.privacy-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: #D7B36A;
  cursor: pointer;
  border-radius: 2px;
}

.privacy-label a {
  color: #D7B36A;
  text-decoration: underline;
}

.form-feedback {
  padding: 1.25rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-feedback.is-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-feedback.is-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Botones de Navegación del Paso */
.step-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

.config-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.85rem;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.config-btn-prev {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #E5E7EB;
}

.config-btn-prev:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.config-btn-next {
  background: #D7B36A;
  border: 1px solid #D7B36A;
  color: #0D0E11;
}

.config-btn-next:hover {
  background: #E5A93C;
  border-color: #E5A93C;
  box-shadow: 0 4px 18px rgba(215, 179, 106, 0.3);
}

.config-btn-submit {
  width: 100%;
  max-width: 380px;
  background: #D7B36A;
  border: 1px solid #D7B36A;
  color: #0D0E11;
  font-size: 0.88rem;
}

.config-btn-submit:hover {
  background: #E5A93C;
  box-shadow: 0 4px 20px rgba(215, 179, 106, 0.35);
}

.config-btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Columna Lateral Resumen */
.configurator-sidebar {
  position: sticky;
  top: 6rem;
}

.config-summary-card {
  background: #141519;
  border: 1px solid rgba(215, 179, 106, 0.3);
  border-radius: 2px;
  padding: 1.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Bloque Dinámico de Coincidencia de Producto en Catálogo */
.matched-product-container {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matched-product-card {
  background: #0D0E11;
  border: 1px solid #D7B36A;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.matched-badge-live {
  background: #D7B36A;
  color: #0D0E11;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
}

.matched-photo-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #141519;
  text-decoration: none;
}

.matched-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.matched-photo-wrapper:hover img {
  transform: scale(1.05);
}

.photo-external-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(13, 14, 17, 0.85);
  border: 1px solid rgba(215, 179, 106, 0.5);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  color: #D7B36A;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.matched-info {
  padding: 1.15rem;
}

.matched-title {
  color: #FFFFFF !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 0.6rem !important;
}

.matched-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.matched-title a:hover {
  color: #D7B36A;
}

.matched-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.meta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  color: #E5E7EB;
  font-size: 0.7rem;
  font-weight: 500;
}

.matched-sku {
  color: #9CA3AF;
  font-size: 0.76rem;
  margin-bottom: 0.85rem;
}

.matched-sku strong {
  color: #D7B36A;
}

.matched-actions {
  display: flex;
  align-items: center;
}

.matched-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(215, 179, 106, 0.12);
  border: 1px solid #D7B36A;
  border-radius: 2px;
  color: #D7B36A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.matched-link-btn:hover {
  background: #D7B36A;
  color: #0D0E11;
}

/* Lista de otros modelos similares en sidebar */
.matched-others-box {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.02);
}

.matched-others-title {
  display: block;
  color: #9CA3AF;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.matched-others-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.matched-other-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.matched-other-item:hover {
  border-color: rgba(215, 179, 106, 0.4);
  background: #18191E;
}

.matched-other-item img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}

.matched-other-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.other-title {
  color: #E5E7EB;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matched-other-item:hover .other-title {
  color: #D7B36A;
}

.other-link {
  color: #D7B36A;
  font-size: 0.68rem;
  font-weight: 600;
}

/* Bloque Bespoke (Cuando no coincide exactamente con stock) */
.matched-bespoke-card {
  background: #0D0E11;
  border: 1px solid rgba(215, 179, 106, 0.35);
  border-radius: 2px;
  padding: 1.35rem;
  text-align: center;
}

.bespoke-badge-live {
  display: inline-block;
  background: rgba(215, 179, 106, 0.12);
  border: 1px solid rgba(215, 179, 106, 0.35);
  border-radius: 2px;
  color: #D7B36A;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.85rem;
}

.bespoke-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  background: rgba(215, 179, 106, 0.1);
  border: 1px solid rgba(215, 179, 106, 0.3);
  color: #D7B36A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}

.bespoke-title {
  color: #FFFFFF !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.4rem !important;
}

.bespoke-desc {
  color: #9CA3AF;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.summary-card-header {
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-tag {
  display: block;
  color: #D7B36A;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.summary-card-header h3 {
  color: #FFFFFF !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sum-label {
  color: #9CA3AF;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sum-val {
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
}

.summary-item--highlight {
  background: rgba(215, 179, 106, 0.08);
  border: 1px solid rgba(215, 179, 106, 0.3);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
}

.summary-item--highlight .sum-label {
  color: #D7B36A;
}

.summary-item--highlight .sum-val {
  color: #D7B36A;
  font-size: 1.25rem;
  font-weight: 700;
}

.summary-footer-badge {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: #9CA3AF;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Bloque destacado en Paso 7 */
.step7-matched-banner {
  margin-bottom: 2rem;
}

.step7-matched-card {
  background: #0D0E11;
  border: 1px solid rgba(215, 179, 106, 0.35);
  border-radius: 2px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.step7-matched-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step7-matched-badge {
  display: inline-block;
  background: rgba(215, 179, 106, 0.12);
  border: 1px solid rgba(215, 179, 106, 0.3);
  border-radius: 2px;
  color: #D7B36A;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.5rem;
}

.step7-matched-header h3 {
  color: #FFFFFF !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.4rem !important;
}

.step7-matched-header p {
  color: #9CA3AF;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0;
}

.step7-matched-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.step7-product-item {
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.step7-product-item:hover {
  border-color: rgba(215, 179, 106, 0.45);
}

.step7-product-thumb {
  display: block;
  height: 130px;
  overflow: hidden;
}

.step7-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.step7-product-item:hover .step7-product-thumb img {
  transform: scale(1.05);
}

.step7-product-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step7-product-title {
  color: #FFFFFF !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 0.4rem !important;
}

.step7-product-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.step7-product-title a:hover {
  color: #D7B36A;
}

.step7-product-specs {
  color: #9CA3AF;
  font-size: 0.75rem;
  margin-bottom: 0.85rem;
}

.step7-view-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  background: rgba(215, 179, 106, 0.12);
  border: 1px solid #D7B36A;
  border-radius: 2px;
  color: #D7B36A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.step7-view-btn:hover {
  background: #D7B36A;
  color: #0D0E11;
}

/* Responsive */
@media (max-width: 980px) {
  .configurator-main-layout {
    grid-template-columns: 1fr;
  }
  .configurator-sidebar {
    position: static;
    margin-top: 2rem;
  }
  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tecniparq-configurator-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .configurator-steps-container {
    padding: 1.25rem;
  }
  .options-grid-2,
  .options-grid-3 {
    grid-template-columns: 1fr;
  }
  .step-panel-footer {
    flex-direction: column;
  }
  .config-btn {
    width: 100%;
  }
  .m2-calc-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
