/* KESS3 long description — Woo HTML + plugin enqueue (not Elementor inline) */
.bt-product-description {
  margin: 0;
  padding: 0;
  width: 100%;
}
.bt-product-description .bt-product-description__content {
  margin: 0;
  padding: 0;
  max-width: none;
}
.bt-product-description .kess3-product-wrapper {
  width: 100%;
  max-width: 100%;
}

.kess3-product-wrapper {
    --fondo-principal: #f2f2f2;
    --color-borde: #dcdcdc;
    --texto-principal: #0f0f0f;
    --texto-secundario: #6b6b6b;
    --verde: #8bdb00;
    --verde-hover: #76bc00;
    --rojo-pdf: #e3000f;
    background: var(--fondo-principal) !important;
    background-color: var(--fondo-principal) !important;
    color: var(--texto-principal);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    box-sizing: border-box;
    text-align: left;
    margin: 0;
    padding: 0;
  }
  .kess3-product-wrapper *,
  .kess3-product-wrapper *::before,
  .kess3-product-wrapper *::after {
    box-sizing: border-box;
  }
  .kess3-product-wrapper img {
    max-width: 100%;
    height: auto;
  }
  .kess3-product-wrapper h2, 
  .kess3-product-wrapper h3, 
  .kess3-product-wrapper p {
    margin-top: 0;
    color: var(--texto-principal);
  }
  .kess3-product-wrapper p a {
    color: var(--verde-hover);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-weight: 700;
    transition: color 0.2s ease;
  }
  .kess3-product-wrapper p a:hover {
    color: var(--texto-principal);
  }
  /* SECCIONES Y ENCABEZADOS */
  .kess3-product-wrapper section {
    padding: 64px 32px;
    border-bottom: 1px solid var(--color-borde);
  }
  .kess3-product-wrapper .section-label {
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--verde-hover);
    margin-bottom: 16px;
    display: inline-block;
  }
  .kess3-product-wrapper h2 {
    font-weight: 700;
    font-size: clamp(24px, 4vw, 36px);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.2;
  }
  .kess3-product-wrapper .intro-texto {
    color: var(--texto-secundario);
    font-size: 15px;
    max-width: 650px;
    margin-bottom: 40px;
    font-weight: 300;
  }
  /* HERO */
  .kess3-product-wrapper .hero {
    padding: 80px 32px 64px;
    border-bottom: 1px solid var(--color-borde);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .kess3-product-wrapper .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .kess3-product-wrapper .hero-tag {
    display: inline-block;
    background: var(--texto-principal);
    color: var(--verde);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    margin-bottom: 24px;
    border-radius: 0 !important;
  }
  .kess3-product-wrapper .hero h2.hero-title {
    font-weight: 700;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -1px;
    margin-bottom: 20px;
  }
  .kess3-product-wrapper .hero h2.hero-title span { 
    color: var(--verde-hover); 
  }
  .kess3-product-wrapper .hero p {
    font-size: 16px;
    color: var(--texto-secundario);
    max-width: 540px;
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 0;
  }
  .kess3-product-wrapper .hero-img {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }
  /* IMAGEN LATERAL */
  .kess3-product-wrapper .layout-media {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .kess3-product-wrapper .layout-media > * {
    min-width: 0;
  }

  /* OBD/Bench/Boot: en columna junto a imagen, modos en lista (no 3 cols estrechas) */
  .kess3-product-wrapper .layout-media .modos {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 4px;
  }

  .kess3-product-wrapper .layout-media .modo {
    padding: 18px 20px;
    box-shadow: none;
  }

  .kess3-product-wrapper .layout-media .modo:hover {
    transform: none;
    box-shadow: none;
  }

  @media (min-width: 880px) {
    .kess3-product-wrapper .layout-media {
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      gap: 40px;
    }
  }
  .kess3-product-wrapper .layout-media.reverse { 
    direction: rtl; 
  }
  .kess3-product-wrapper .layout-media.reverse > * { 
    direction: ltr; 
  }
  .kess3-product-wrapper .media-img img {
    width: 100%;
    display: block;
    border: 1px solid var(--color-borde);
    border-radius: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  /* ESTILO GLOBAL DE TARJETAS BLANCAS Y RECTAS */
  .kess3-product-wrapper .card,
  .kess3-product-wrapper .paso,
  .kess3-product-wrapper .modo,
  .kess3-product-wrapper .col-box,
  .kess3-product-wrapper .trust-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid var(--color-borde);
    border-radius: 0 !important;
    padding: 32px 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
  }
  .kess3-product-wrapper .card:hover,
  .kess3-product-wrapper .paso:hover,
  .kess3-product-wrapper .modo:hover,
  .kess3-product-wrapper .col-box:hover,
  .kess3-product-wrapper .trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }
  /* GRIDS — evitar 3+1 en filas de 4 (auto-fill con minmax) */
  .kess3-product-wrapper .grid-cards,
  .kess3-product-wrapper .pasos,
  .kess3-product-wrapper .modos,
  .kess3-product-wrapper .trust-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  @media (min-width: 600px) {
    .kess3-product-wrapper .pasos {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kess3-product-wrapper .grid-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
    }

    /* 5 servicios: 2×2 + fila ancha al fondo (rellena sin huecos) */
    .kess3-product-wrapper .grid-cards .card:nth-child(5) {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 4px 1fr;
      gap: 20px 24px;
      align-items: start;
      padding: 22px 24px;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5)::before {
      grid-row: 1 / span 2;
      width: 4px;
      height: auto;
      min-height: 48px;
      margin: 0;
      align-self: stretch;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5) h3 {
      grid-column: 2;
      margin-bottom: 8px;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5) p {
      grid-column: 2;
    }

    .kess3-product-wrapper .modos,
    .kess3-product-wrapper .trust-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (min-width: 1024px) {
    .kess3-product-wrapper .grid-cards {
      gap: 18px;
    }

    .kess3-product-wrapper .grid-cards .card:not(:nth-child(5)) {
      min-height: 100%;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5) {
      grid-template-columns: 4px minmax(0, 280px) minmax(0, 1fr);
      align-items: center;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5) h3 {
      grid-column: 2;
      margin-bottom: 0;
    }

    .kess3-product-wrapper .grid-cards .card:nth-child(5) p {
      grid-column: 3;
    }
  }
  /* DETALLES DE LAS TARJETAS */
  .kess3-product-wrapper .card::before {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    background: var(--verde-hover);
    margin-bottom: 20px;
    border-radius: 0 !important;
  }
  .kess3-product-wrapper .card h3,
  .kess3-product-wrapper .paso-texto strong {
    display: block;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    color: var(--texto-principal);
  }
  .kess3-product-wrapper .card p,
  .kess3-product-wrapper .paso-texto p,
  .kess3-product-wrapper .modo p { 
    font-size: 14px; 
    color: var(--texto-secundario); 
    font-weight: 300; 
    margin-bottom: 0;
  }
  /* PASOS */
  .kess3-product-wrapper .paso {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .kess3-product-wrapper .paso-num {
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    background: var(--verde-hover);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    border-radius: 0 !important;
  }
  /* MODOS */
  .kess3-product-wrapper .modo-titulo {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .kess3-product-wrapper .modo-badge {
    background: transparent;
    color: var(--texto-principal);
    border: 1px solid var(--texto-principal);
    font-size: 10px;
    letter-spacing: 1.5px;
    padding: 4px 8px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 !important;
    box-shadow: none;
  }
  /* SECCIÓN CONFIANZA / TRUST */
  .kess3-product-wrapper .trust-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .kess3-product-wrapper .trust-card.center {
    text-align: center;
    align-items: center;
  }
  .kess3-product-wrapper .trust-number {
    font-size: 64px;
    font-weight: 700;
    color: var(--verde-hover);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -2px;
  }
  .kess3-product-wrapper .trust-stars {
    color: #f5b301;
    font-size: 38px;
    letter-spacing: 4px;
    line-height: 1;
    margin-bottom: 12px;
  }
  .kess3-product-wrapper .trust-rating {
    font-size: 32px;
    font-weight: 700;
    color: var(--texto-principal);
    line-height: 1;
    margin-bottom: 8px;
  }
  .kess3-product-wrapper .trust-label {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--texto-principal);
  }
  .kess3-product-wrapper .trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .kess3-product-wrapper .trust-list li {
    font-size: 15px;
    color: var(--texto-secundario);
    padding: 14px 0;
    border-bottom: 1px dashed var(--color-borde);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .kess3-product-wrapper .trust-list li::before {
    content: '✓';
    color: #ffffff;
    background: var(--verde-hover);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    border-radius: 0;
  }
  .kess3-product-wrapper .trust-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  /* QUÉ INCLUYE (Lista) */
  .kess3-product-wrapper .incluye-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .kess3-product-wrapper .incluye-lista li {
    background: #ffffff !important;
    border: 1px solid var(--color-borde);
    padding: 16px 24px;
    font-size: 14px;
    color: var(--texto-secundario);
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 400;
    border-radius: 0 !important;
  }
  .kess3-product-wrapper .incluye-lista li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--verde-hover);
    flex-shrink: 0;
  }
  /* TABLA TÉCNICA */
  .kess3-product-wrapper .tabla-wrap {
    overflow-x: auto;
    margin-top: 32px;
    border: 1px solid var(--color-borde);
    background: #ffffff;
  }
  .kess3-product-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  .kess3-product-wrapper table th {
    background: #0f0f0f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 11px !important;
    padding: 24px 28px !important; 
    text-align: left !important;
    border-radius: 0 !important;
  }
  .kess3-product-wrapper table tr:nth-child(even) {
    background-color: #f9f9f9 !important;
  }
  .kess3-product-wrapper table td {
    padding: 20px 28px !important; 
    border-bottom: 1px solid var(--color-borde) !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    color: var(--texto-secundario) !important;
  }
  .kess3-product-wrapper table td:first-child {
    color: var(--texto-principal) !important;
    font-weight: 700 !important;
    width: 35% !important;
  }
  .kess3-product-wrapper table tr:last-child td { 
    border-bottom: none !important; 
  }
  /* ACCESORIOS */
  .kess3-product-wrapper .dos-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
  }
  .kess3-product-wrapper .col-box h3 {
    font-size: 14px;
    color: var(--verde-hover);
    margin-bottom: 16px;
  }
  .kess3-product-wrapper .col-box ul { 
    list-style: none; 
    margin-bottom: 0;
  }
  .kess3-product-wrapper .col-box ul li {
    font-size: 14px;
    color: var(--texto-secundario);
    padding: 10px 0;
    border-bottom: 1px dashed var(--color-borde);
    font-weight: 300;
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }
  .kess3-product-wrapper .col-box ul li::before { 
    content: '→'; 
    color: var(--verde-hover); 
    font-weight: 700;
  }
  .kess3-product-wrapper .col-box ul li:last-child { 
    border-bottom: none; 
  }
  /* DESCARGAS — enlaces con icono PDF, sin tarjeta */
  .kess3-product-wrapper .descargas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 28px;
  }
  .kess3-product-wrapper .descarga-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--texto-principal);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    transition: color 0.2s ease;
  }
  .kess3-product-wrapper .descarga-link__icon {
    display: block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    object-fit: contain;
  }
  .kess3-product-wrapper .descarga-link__text {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--verde-hover);
  }
  .kess3-product-wrapper .descarga-link:hover,
  .kess3-product-wrapper .descarga-link:focus-visible {
    background: none !important;
    color: var(--verde-hover);
    transform: none;
    box-shadow: none !important;
  }
  .kess3-product-wrapper .descarga-link:hover .descarga-link__text,
  .kess3-product-wrapper .descarga-link:focus-visible .descarga-link__text {
    text-decoration-color: currentColor;
  }
  /* PREGUNTAS FRECUENTES (FAQ) */
  .kess3-product-wrapper .faq-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    max-width: 720px;
  }
  .kess3-product-wrapper .faq-item {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid var(--color-borde);
    border-radius: 0 !important;
  }
  .kess3-product-wrapper .faq-item:last-child {
    border-bottom: none;
  }
  .kess3-product-wrapper .faq-question {
    padding: 18px 40px 18px 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--texto-principal);
    cursor: pointer;
    list-style: none;
    position: relative;
    user-select: none;
    transition: color 0.2s ease;
  }
  .kess3-product-wrapper .faq-question::-webkit-details-marker {
    display: none;
  }
  .kess3-product-wrapper .faq-question:hover {
    color: var(--verde-hover);
  }
  .kess3-product-wrapper .faq-question::after {
    content: '+';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--texto-secundario);
    font-size: 22px;
    font-weight: 300;
  }
  .kess3-product-wrapper .faq-item[open] .faq-question::after {
    content: '−';
    color: var(--verde-hover);
  }
  .kess3-product-wrapper .faq-item[open] .faq-question {
    color: var(--verde-hover);
    border-bottom: none;
  }
  .kess3-product-wrapper .faq-answer {
    padding: 0 0 18px;
    background-color: transparent;
  }
  .kess3-product-wrapper .faq-answer p {
    font-size: 14px;
    color: var(--texto-secundario);
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .kess3-product-wrapper .faq-answer p:last-child {
    margin-bottom: 0;
  }
  /* MEDIA QUERIES PARA MÓVIL */
  @media (max-width: 768px) {
    .kess3-product-wrapper .hero { 
      grid-template-columns: 1fr; 
      padding: 48px 24px;
      text-align: center;
    }
    .kess3-product-wrapper .hero-text {
      align-items: center;
    }
    .kess3-product-wrapper .hero h2.hero-title {
      font-size: 32px;
    }
    .kess3-product-wrapper .layout-media { 
      grid-template-columns: 1fr; 
      gap: 32px;
    }
    .kess3-product-wrapper .dos-col { 
      grid-template-columns: 1fr; 
    }
    .kess3-product-wrapper section { 
      padding: 48px 24px; 
    }
    .kess3-product-wrapper table th,
    .kess3-product-wrapper table td {
      padding: 16px !important;
    }
  }
