/* WRAPPER */
.carandini-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0px 48px 0px 48px;
}

.cd-btn-text:focus {
  background-color: #D13029;
}

.toggle-btn:focus {
  background-color: #D13029;
}

.cd-btn-outline-red:focus {
  background-color: #D13029;
}

.cd-btn-footer:focus {
  background-color: #D13029;
}


/* STEPS */
.cd-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.step {
  width: 54px;       /* Aumentado de 28px */
  height: 54px;      /* Aumentado de 28px */
  border-radius: 50%;
  background: #EDEDED; /* Un gris más claro */
  color: #999;       /* Color de texto más suave */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;   /* Texto un poco más grande */
  font-weight: 600;
}

.step.active {
  background: #D13029;
  color: #fff;
}

.step.done {
  background: #454B4E;
  color: #e0e0e0;
}

.step-arrow {
  color: #bbb;
  font-size: 28px;
}

/* HEADER ROW */
.cd-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.cd-header-row--with-note {
  margin-bottom: 2px;
}

.cd-main-title {
  font-size: 45px;
  font-weight: 300;
  color:#000000
}

.cd-main-title strong {
  font-weight: 700;
}

.cd-config-note {
  width: 30%;
  margin: 0 0 50px;
  color: #000;
  font-size: 14px;
}

.cd-config-note strong {
  color: #D13029;
}

/* TOGGLE */
.cd-toggle {
  display: flex;
  border: 2px solid #D13029;
  border-radius: 30px;
  overflow: hidden;
}

.toggle-btn {
  padding: 8px 20px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  background: #ededed;
  color: #D13029;
  cursor: pointer;
  border-radius:0;
}

.toggle-btn.active, .toggle-btn:hover {
  background: #D13029;
  color: #fff;
}

/* GRID */
.cd-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5px;
}

/* CARD BASE */
.cd-card {
  position: relative;
  height: 500px;      /* Aumentado de 280px para que sea alargado */
  border-radius: 4px; /* Bordes menos redondeados, más elegantes */
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Texto arriba a la izquierda */
  justify-content: flex-start;
  padding: 30px 25px;      /* Más margen interno */
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}

/* Overlay */
.cd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Text */
.card-title {
  position: relative;
  z-index: 2;
  font-size: 24px;    /* Título más grande */
  font-weight: 300;
  line-height: 1.1;
}

.card-title strong {
  display: block;     /* Hace que la palabra en negrita baje a la siguiente línea */
  font-weight: 700;
}

/* Ajuste opcional: oscurecer un poco más la imagen al hacer hover */
.cd-card:hover::before {
  background: rgba(0,0,0,0.6);
  transition: background 0.3s ease;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .cd-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cd-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cd-config-note {
    width: 100%;
  }
}

.cd-search-box {
  position: relative;
  border: 1px solid #666; 
  border-radius: 35px;
  padding: 5px; 
  display: inline-flex; 
  align-items: center;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-search-box:focus-within {
  box-shadow: 0 0 0 1.5px rgb(174, 174, 232);
}

.cd-search-box input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 16px; 
  width: 160px;
  color: #000;
  background: transparent;

}
.cd-search-box input[type="text"]{
  border: 0;
  padding: 0rem 0.5rem;
}

.cd-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  pointer-events: none;
}

.cd-product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 50px;
}

.cd-product-card {
  cursor: pointer;
}

.cd-product-img {
  background: #ededed;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  margin-bottom: 10px;
}

.cd-product-name {
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  color: #000;
}

@media (max-width: 1200px) {
  .cd-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .cd-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- ESTRUCTURA PRINCIPAL PASO 3 --- */
.cd-config-container {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  row-gap: 0;
  align-items: start;
}

.cd-config-completed {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

.cd-sc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    color: #000000;
}

.cd-sc-table th,
.cd-sc-table td {
    border: 1px solid #000000;
    background: #fff !important;
    color: #000000;
    padding: 8px;
    text-align: center;
}

.cd-sc-table input {
    width: 80px;
    background: #fff;
    color: #000000;
    border-color: #000000;
}

/* COLUMNA IZQUIERDA: ACORDEÓN */
.cd-config-left {
  grid-column: 1;
  width: 100%;
}

.cd-section-title {
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 400;
}

/* Item del Acordeón */
.cd-accordion-item {
  background: #ededed;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 15px;
  border: none;
  transition: background 0.2s ease;
  grid-column: 1;
}

.cd-accordion-item.completed {
  width: 100%;
  /* estilos de bloque final */
}

/* Cabecera del Item (Siempre visible) */
.cd-acc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.cd-acc-title {
  font-size: 20px;
  text-transform: uppercase;
  color: #000;
}

.cd-acc-value {
  color: #D13029;
  font-size: 16px;
  font-weight: 500;
}

.cd-acc-arrow {
  font-size: 14px;
  color: #000;
  transition: transform 0.3s ease;

}

/* Estado ACTIVO (Abierto) */
.cd-accordion-item.active .cd-acc-arrow {
  transform: rotate(90deg);

}
.cd-accordion-item.active .cd-acc-header {
  border-bottom: 1px solid transparent; /* Opcional */
}

/* Cuerpo del Item (Oculto por defecto) */
.cd-acc-body {
  display: none;
  padding-top: 15px;
  padding-bottom: 25px;
}
.cd-accordion-item.active .cd-acc-body {
  display: block;
}

/* GRILLA DE OPCIONES (Dentro del acordeón) */
.cd-options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.cd-options-grid.light-source-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 1024px) {
  .cd-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cd-options-grid {
    grid-template-columns: 1fr;
  }
}

.cd-light-final-box {
  margin-top: 20px;
}

.cd-light-final-card {
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  background: #fafafa;
}

.cd-light-final-card img {
  width: 80px;
  height: auto;
  border-radius: 8px;
}

.cd-light-final-info {
  display: flex;
  flex-direction: column;
}

.cd-light-final-title {
  font-weight: bold;
  font-size: 16px;
}

.cd-light-final-desc {
  font-size: 13px;
  color: #666;
}

.cd-option-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: left;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.cd-option-card img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.cd-option-card.no-image {
  min-height: 10px;         /* menos altura, no necesitas tanto espacio */
}

.cd-option-card:hover {
  background: #efefef;
}

.cd-option-card.selected {
  background: #f8eaea;
  border: 2px solid #D13029;
}

.cd-opt-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.cd-opt-check {
  display: none;
  color: #D13029;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
}

.cd-option-card.selected .cd-opt-check { display: inline-flex; }

.cd-opt-title {
  font-weight: bold;
  font-size: 16px;
  display: block;
}

.cd-opt-desc { font-size: 14px; color: #000000; line-height: 1.4; display: block; }

/* Contenedor de cada bloque (ej: el bloque de lm) */
.cd-attribute-group-box {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    background-color: #fff;
    transition: all 0.5s ease-in-out;
}

.cd-group-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Grid para los botones de valores */
.cd-values-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Cada botón de opción (ej: "4000 K") */
.cd-value-option {
    padding: 8px 15px;
    border: 1px solid #000;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #000;
    transition: all 0.2s ease;
}

.cd-value-option.with-image {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 140px;
    padding: 12px;
}

.cd-value-option.with-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.cd-value-option:hover {
    background-color: #f8f8f8;
    border-color: #ccc;
}

/* Estado seleccionado (como en tu imagen 1) */
.cd-value-option.selected {
    border-color: #D13029;
    color: #D13029;
    background-color: #fff5f5;
    font-weight: 600;
}

.cd-color-hint {
    margin-top: 12px;
    padding: 10px 12px;
    border-left: 3px solid #D13029;
    background: #f8f8f8;
    border-radius: 6px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cd-color-hint strong {
    display: block;
    margin-bottom: 4px;
    color: #222;
}

/* Ocultar pasos no desbloqueados */
.step-hidden {
    opacity: 0.3;
    pointer-events: none; /* No se puede clickar */
    filter: grayscale(1);
    max-height: 100px; /* Opcional: para que ocupen menos espacio al estar bloqueados */
    overflow: hidden;
}

/* Botón de continuar */
.cd-step-footer {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    text-align: right;
}

.cd-next-btn {
    background-color: #D13029;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

.cd-next-btn:hover {
    background-color: #D13029;
}

.btn-disabled {
    background-color: #ccc !important;
    color: #000 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* COLUMNA DERECHA: IMAGEN TÉCNICA */
.cd-specs-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: #000;
}

.cd-specs-list li {
  margin-bottom: 10px;
}

/* BARRA DE ACCIONES INFERIOR */
.cd-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  grid-column: 1;
}

.cd-actions-continue {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
}

.cd-btn-text {
  background: transparent;
  border: 2px solid #D13029;
  color: #000;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
  transition: all 0.2s ease;
}

.cd-btn-text:hover {
  background: #D13029;
}

.cd-btn-primary {
  background: #D13029;
  color: #fff;
  border: none;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: none;
}

.cd-btn-primary:hover {
  background: #D13029;
}

.cd-btn-continue {
  background: transparent;
  color: #000;
  border: none;
  padding: 7.5px 18px 7.5px 18px;
  border-radius: 32px 32px 32px 32px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  border: 2px solid #D13029;
}

.cd-btn-continue:hover {
  background: #D13029;
  color: white;
}

.cd-btn-continue:focus{
  background: #D13029;
}

.cd-btn-continue .elementor-button-arrow {
  color: #D13029;
}

.cd-btn-continue:hover .elementor-button-arrow {
  color: white;
}

.cd-btn-continue:focus .elementor-button-arrow {
  color: white;
}

.btn-disabled .elementor-button-arrow {
  color: #D13029;
}

.btn-disabled:hover .elementor-button-arrow {
  color: #D13029;
}

.cd-btn-continue-wrapper {
  display: flex;
  gap: 50px;
}

.cd-loader {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 9999;
}

.cd-loader-message {
  margin: 0;
  color: #000000;
  font-size: 16px;
}

.cd-loader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cd-grid-loader.hidden {
  display: none;
}

.cd-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #e5e5e5;
  border-top: 4px solid #000;
  border-radius: 50%;
  animation: cd-spin 0.8s linear infinite;
}

.cd-grid-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.cd-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #ddd;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .cd-config-container {
    grid-template-columns: 1fr;
  }

}

/* --- ESTRUCTURA ESPECÍFICA PASO 4 --- */
:root {
    --carandini-red: #D13029; /* Rojo corporativo */
    --light-gray-bg: #f8f8f8;
    --text-color: #333;
    --label-color: #000;
}

.cd-separator {
    border: 0;
    height: 1px;
    background-color: #D13029; /* El color rojo de Carandini */
    margin: 15px 0;
    opacity: 1; /* Para evitar que algunos navegadores la aclaren */
}

/* Contenedor Principal Blanco - Mantenemos bordes redondeados y sombra */
.cd-main-card {
    margin-bottom: 20px;
}

/* Contenedor de Resumen - RESTABLECER DISPOSICIÓN FLEXIBLE */
.cd-summary-container {
    display: flex;
    gap: 50px;
    align-items: stretch; 
    justify-content: space-between;

}
.cd-summary-container > div {
   width: 50%;
    padding: 30px;
    background-color: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    
}

/* COLUMNA IZQUIERDA: Imagen */
.cd-summary-left {
    flex: 1; /* Ocupa 1 parte del espacio flexible */
    display: flex;
    flex-direction: column;
}

.cd-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.cd-generated-image {
    background-color: #ededed; /* Gris oscuro para previsualización */
    width: 100%;
    aspect-ratio: 1/1; /* Proporción cuadrada */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    border: none;
}

.cd-preview-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.7);
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    color: var(--text-color);
}

/* COLUMNA DERECHA: Título, Descripción y Datos */
.cd-summary-right {
    flex: 1.5; /* Ocupa 1.5 partes del espacio flexible (más ancha) */
}

/* Título de producto - Mantenemos el estilo de la Imagen 1 */
.cd-product-title {
    color: #000000;
    font-size: 30px;
    line-height: 1;
    margin: 0 0 20px 0;
    font-weight: 400;
}
.cd-product-title span { font-weight: bold; }

/* Descripción del producto */
.cd-product-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 30px;
}

/* Tabla de Datos Técnicos - Ajustar márgenes para la columna derecha */
.cd-specs-section {
    background-color: #ededed; /* Gris muy suave, casi blanco */
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 20px;
}

.cd-specs-title {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: none;
}

.cd-specs-table {
    display: flex;
    gap: 60px;
}

.spec-col {
    flex: 1;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ccc; /* Línea divisoria sutil */
    font-size: 12px;
}

.spec-row span {
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.spec-row strong {
    color: #D13029;
    font-size: 14px;
    font-weight: normal;
}

/* Barra Inferior (Gris claro) - Mantenemos estilo de Imagen 1 */
.cd-bottom-bar {
    background: #dddcdc;
    display: flex;
    justify-content: space-around;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 16px;
    color: var(--text-color);
}

.cd-bottom-bar.is-basic {
    justify-content: center;
    gap: clamp(20px, 4vw, 50px);
}

.cd-bottom-bar span {
    color: #000000;
    margin-right: 5px;
}

.cd-bottom-bar .bar-item > span:first-child {
    color: #D13029;
}

.bar-item{
  display: flex;
  flex-direction: column;
}

.cd-bottom-bar .bar-item[hidden] {
  display: none;
}

/* Botones de Pie de Página - Mantenemos estilo de Imagen 1 */
.cd-footer-buttons {
    display: flex;
    gap: 15px;
}

.cd-btn-footer {
    flex: 1;
    border: 1.5px solid var(--carandini-red);
    background: white;
    color: var(--carandini-red);
    padding: 8px 12px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.cd-btn-footer:hover {
    background: var(--carandini-red);
    color: white;
}

/* 1. Botones Superiores (Volver atrás / Pedir asistencia) */
.cd-btn-outline-red {
    border: 2px solid #D13029; /* Rojo Carandini */
    background: white;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.cd-btn-outline-red:hover {
    background: #D13029;
    color: white;
}

/* 2. Ajuste de la Card y Secciones */
.cd-main-card {
    display: flex;
     align-items: center;
      justify-content: space-between;

}

/* Contenedor de arriba (Imagen + Texto) */
.cd-summary-container {
    display: flex;
    gap: 40px;
    margin-bottom: 30px; /* Espacio antes de los datos técnicos */
    width: 100%;
     justify-content: space-between;
}

.cd-summary-left { flex: 1.2; } /* La imagen suele ser un poco más grande */
.cd-summary-right { flex: 1; }

/* 3. Datos técnicos a ancho completo */
.cd-specs-section {
    width: 100%;
    margin-top: 20px;
}

.cd-specs-title {
    color: #000;
    font-size: 22px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    font-weight: 400;
     text-transform: uppercase;
}

.cd-specs-table {
    display: flex;
    gap: 60px; /* Espacio entre las dos columnas de datos */
}

.spec-col { flex: 1; }

.spec-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    font-size: 18px;
}

/* Responsive - Asegurar que se vea bien en móviles */
@media (max-width: 768px) {
    .cd-summary-container {
        flex-direction: column;
    }
    .cd-specs-table {
        flex-direction: column;
        gap: 0;
    }
    .cd-footer-buttons {
        flex-direction: column;
    }
}

/* ============================================================
   DESCARGAS — Estilos
   Importa esta hoja en tu <head>:
   <link rel="stylesheet" href="descargas.css">
   ============================================================ */

/* --- Variables ------------------------------------------- */
:root {
    --descargas-font:        inherit; /* Hereda la tipografía de tu web */
    --descargas-color-texto: #000;
    --descargas-color-acento:#D13029; /* Rojo de los enlaces y botón */
    --descargas-color-borde: #000;
    --descargas-color-hover: #f5f5f5;
    --descargas-gap-col:     2.5rem;
    --descargas-gap-fila:    0;
}

/* --- Bloque contenedor ----------------------------------- */
.descargas {
    font-family: var(--descargas-font);
    color: var(--descargas-color-texto);
    margin: 0 auto 50px;
}

/* --- Título ---------------------------------------------- */
.descargas__titulo {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    line-height: 1.1;
}

/* --- Enlace área privada --------------------------------- */
.descargas__acceso {
    font-size: 0.875rem;
    margin: 0 0 2rem;
    color: var(--descargas-color-texto);
}

.descargas__enlace-privado {
    color: var(--descargas-acento, var(--descargas-color-acento));
    text-decoration: none;
}

.descargas__enlace-privado:hover {
    text-decoration: underline;
}

/* --- Grid de 3 columnas ---------------------------------- */
.descargas__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--descargas-gap-col);
}

/* --- Columna --------------------------------------------- */
.descargas__columna {
    display: flex;
    flex-direction: column;
}

/* --- Item (fila) ----------------------------------------- */
.descargas__item {
    border-top: 1px solid var(--descargas-color-borde);
}

.descargas__item:last-child {
    border-bottom: 1px solid var(--descargas-color-borde);
}

/* --- Interior del item (enlace o span) ------------------- */
.descargas__item-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 0;
    text-decoration: none;
    color: #000;
    transition: background 0.15s ease;
    cursor: pointer;
}

a.descargas__item-inner:hover {
    background: var(--descargas-color-hover);
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    margin: 0 -0.4rem;
    color: #000;
}

.descargas__item-inner--bloqueado {
    opacity: 0.55;
    cursor: default;
}

/* --- Nombre del item ------------------------------------- */
.descargas__nombre {
    color: #000;
    font-size: 0.95rem;
    font-weight: 400;
}

/* --- Iconos (flecha y candado) --------------------------- */
.descargas__icono {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Si usas SVG inline para el candado */
.descargas__icono--candado svg {
    width: 0.9em;
    height: 0.9em;
    stroke: currentColor;
    fill: none;
}

/* --- Botón "Descargar todo" ------------------------------ */
.descargas__boton-todo {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 2rem;
    padding: 0.65rem 1.4rem;
    border: 2px solid var(--descargas-color-acento);
    border-radius: 2rem;
    color: #000;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: gap 0.25s ease,
                background-color 0.2s ease,
                color 0.2s ease;
}

.descargas__boton-flecha {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: #000;
}

.descargas__boton-todo:hover,
.descargas__boton-todo:focus-visible {
    gap: 50px;
    color: #D13029;
}

.descargas__boton-todo:hover .descargas__boton-flecha,
.descargas__boton-todo:focus-visible .descargas__boton-flecha {
    color: #D13029;
}

.descargas__boton-texto {
    color: #000;
    white-space: nowrap;
}

/* Animación base de la flecha */
.descargas__icono--flecha svg {
    transition: transform 0.25s ease;
    transform-origin: center;
    color: #000;
}

/* Rotación al hacer hover en el item */
.descargas__item:hover .descargas__icono--flecha svg {
    transform: rotate(90deg);
    color: #D13029;
}

.descargas__item:hover .descargas__nombre {
    color: #D13029;
}

a.descargas__item-inner:hover {
    background: var(--descargas-color-hover);
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    margin: 0 -0.4rem;
    color: #000;
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 900px) {
    .descargas__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .descargas__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .descargas__columna + .descargas__columna .descargas__item:first-child {
        border-top: none; /* evita doble borde al apilar */
    }
}

/* === Sobreescribir #c36 del tema Hello Elementor === */
a { color: #D13029; }
a:hover { color: #D13029; }
[type=button],
[type=submit],
button {
  background-color: transparent;
  border-color: #D13029;
  color: #D13029;
}
[type=button]:hover,
[type=submit]:hover,
button:hover {
  background-color: #D13029;
  color: #fff;
}
[type=button]:focus,
[type=submit]:focus,
button:focus {
  background-color: #D13029;
  color: #fff;
}
