/* ==========================================================================
   KLONAL — Catálogo (vademécum, líneas, taxonomías, ficha, filtros de la home)
   Las reglas de las secciones "CATÁLOGO", "FICHA TÉCNICA", "SLIDERS", "NAVEGACIÓN DE LÍNEAS",
   "VADEMÉCUM PDF", "PAGINACIÓN" y "FIX LOGOS" son el CSS adicional de producción (Customizer) tal cual,
   escrito contra las clases que genera klonal-core (design/plantillas/fragmentos/). Se quitó lo de FacetWP
   y del Loop de Elementor (no se usan). Al final: maquetación propia del hero de catálogo y de la ficha.
   ========================================================================== */

/* ============================================================
   CATÁLOGO — Filtros y resultados
   ============================================================ */

.catalogo-filtros {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
}

.catalogo-filtros > .buscar-wrap,
.catalogo-filtros > select {
    flex: 1 1 calc(20% - 12px);
    min-width: 170px;
    height: 44px;
    box-sizing: border-box;
}

.catalogo-filtros > select {
    width: 100%;
    padding: 10px 12px;
}

@media (max-width: 767px) {
    .catalogo-filtros {
        flex-direction: column;
    }
    .catalogo-filtros > .buscar-wrap,
    .catalogo-filtros > select {
        flex: 1 1 100%;
        min-width: 0;
        height: 46px;
    }
}

/* Buscador con botón integrado */
.buscar-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.buscar-wrap input[type="search"] {
    width: 100%;
    height: 100%;
    padding: 10px 44px 10px 12px;
    box-sizing: border-box;
}

.buscar-wrap input[type="search"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.buscar-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    padding: 15px 10px 16px !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: pointer;
    color: #1a3c2e !important;
    filter: none !important;
    backdrop-filter: none !important;
    text-shadow: inherit !important;
}

.buscar-btn:hover,
.buscar-btn:focus {
    background: none !important;
    box-shadow: none !important;
    color: #1a3c2e !important;
    filter: none !important;
    outline: none !important;
}

.buscar-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Info de resultados */
.catalogo-resultados-info {
    margin: 12px 0 16px;
    padding: 10px 4px;
    font-size: 0.9rem;
    color: #444;
}

.catalogo-criterios {
    font-size: 2em;
    line-height: 1.4;
    margin-bottom: 4px;
}

.catalogo-criterios .sep {
    opacity: 0.6;
    margin: 0 6px;
    color: #aaa;
}

.catalogo-criterios strong {
    color: #073a0e;
    font-weight: 700;
}

.catalogo-count {
    margin-top: 6px;
    font-size: 14px;
    opacity: 0.85;
    padding: 0 20px;
    border-left: 4px solid #073a0e;
    color: #666;
}

.catalogo-no-results {
    margin-top: 10px;
    padding: 10px 12px;
    border-left: 3px solid #073a0e;
    background: rgba(7, 58, 14, 0.06);
    font-style: italic;
    color: #999;
}


/* ============================================================
   CATÁLOGO — Tabla
   ============================================================ */

.catalogo-tabla-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    display: block;
}

.catalogo-tabla {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
    font-size: 0.92rem;
    background: #fff;
    table-layout: fixed;
}

.catalogo-tabla col.col-nombre       { width: 22%; }
.catalogo-tabla col.col-principio    { width: 16%; }
.catalogo-tabla col.col-presentacion { width: 20%; }
.catalogo-tabla col.col-accion       { width: 18%; }
.catalogo-tabla col.col-descargas    { width: 10%; }

.catalogo-tabla thead tr {
    background-color: #1a3c2e;
}

.catalogo-tabla th {
    text-align: left;
    padding: 13px 14px;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #ffffff;
    border: none;
    white-space: nowrap;
}

.catalogo-tabla td {
    padding: 14px;
    vertical-align: middle;
    border-bottom: 1px solid #ebebeb;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    color: #2c2c2c;
    line-height: 1.45;
    word-break: break-word;
    font-size: 0.9em;
}

.catalogo-tabla tbody tr:nth-child(even) { background-color: #f7f9f7; }
.catalogo-tabla tbody tr:nth-child(odd)  { background-color: #ffffff; }
.catalogo-tabla tbody tr:last-child td   { border-bottom: 1px solid #cbcbcb; }

.catalogo-tabla tbody tr.fila-producto {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.catalogo-tabla tbody tr.fila-producto:hover {
    background-color: #deeae2 !important;
}

/* Nombre comercial */
.nombre-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nombre-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 8px;
    background-color: #e8f0ea;
    color: #1a3c2e;
    transition: background-color 0.15s;
}

.catalogo-tabla tbody tr:hover .nombre-icono {
    background-color: #c8dece;
}

.nombre-icono .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.nombre-link {
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: #1a3c2e !important;
}

.catalogo-tabla tbody tr:hover .nombre-link {
    text-decoration: underline;
}

/* Principio activo */
.col-principio {
    font-size: 0.82rem;
    color: #555;
}

.col-principio a {
    color: #555;
    text-decoration: none;
}

.col-principio a:hover {
    color: #1a3c2e;
    text-decoration: underline;
}

/* Acción terapéutica */
.col-accion a {
    color: #2c2c2c;
    text-decoration: none;
}

.catalogo-tabla tbody tr:hover .col-accion a {
    color: #1a3c2e;
    text-decoration: underline;
}

/* Badges */
.badge {
    display: block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    white-space: normal;
    line-height: 1.5;
    margin: 2px 0;
    text-align: center;
}

.badge-accion {
    border: 1px solid #1a3c2e;
    color: #1a3c2e;
    background: transparent;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.badge-accion:hover {
    background-color: #1a3c2e;
    color: #fff;
}

.badge-condicion {
    border: 1px solid #875400;
    color: #875400 !important;
    background: #ffc9764d;
    transition: background-color 0.15s, color 0.15s;
}

.badge-condicion:hover {
    background-color: #f5a623;
}

/* Descargas */
.col-descargas {
    text-align: center;
}

.descargas-cell {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.descarga-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s, transform 0.15s;
}

.descarga-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.descarga-btn .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #1a3c2e;
}

.descarga-label {
    font-size: 0.62rem;
    font-weight: 400;
    color: #2c2c2c;
    letter-spacing: 0.02em;
}

.sin-descarga { color: #ccc; }

/* Cards mobile (ocultas en desktop) */
.catalogo-cards { display: none; }

@media (max-width: 768px) {
    .catalogo-tabla-wrap { display: none; }

    .catalogo-cards {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
    }

    .card-producto {
        display: grid;
        grid-template-columns: 42px 1fr 24px;
        align-items: center;
        gap: 12px;
        background: #fff;
        border-radius: 12px;
        padding: 14px 16px;
        text-decoration: none;
        color: inherit;
        border: 1.5px solid #1a3c2e;
        transition: background-color 0.15s, box-shadow 0.15s;
    }

    .card-producto:hover {
        background-color: #f0f6f2;
        box-shadow: 0 3px 10px rgba(26, 60, 46, 0.12);
    }

    .card-icono {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background-color: #e8f0ea;
        color: #1a3c2e;
    }

    .card-icono .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .card-body { min-width: 0; }

    .card-nombre {
        font-weight: 700;
        font-size: 0.92rem;
        color: #1a3c2e !important;
        margin-bottom: 2px;
        line-height: 1.3;
    }

    .card-nombre a { color: #1a3c2e !important; }

    .card-principio {
        font-size: 0.75rem;
        color: #888;
        margin-bottom: 3px;
    }

    .card-principio a { color: #888; text-decoration: none; }

    .card-presentacion {
        font-size: 0.78rem;
        color: #555;
        margin-bottom: 7px;
    }

    .card-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 4px;
    }

    .card-arrow {
        color: #1a3c2e;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .card-arrow .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }
}


/* ============================================================
   FICHA TÉCNICA — Single de producto
   ============================================================ */

.ficha-tecnica {
    border: 1.5px solid #d6e5db;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.ficha-fila {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #eef3f0;
}

.ficha-fila:last-child { border-bottom: none; }

.ficha-contenido {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ficha-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a3c2e;
}

.ficha-valor {
    font-size: 0.97rem;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1.4;
}

.ficha-valor a {
    color: #2c2c2c;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #a0bcab;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ficha-valor a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #1a3c2e;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E");
    background-size: 9px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.ficha-valor a:hover {
    color: #1a3c2e;
    text-decoration-color: #1a3c2e;
}

.ficha-valor a:hover::after {
    transform: translateX(2px);
}

/* Líneas en ficha técnica */
.ficha-valor-lineas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ficha-linea-logo {
    display: inline-flex;
    align-items: center;
}

.ficha-linea-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: saturate(70%);
    transition: transform 0.2s ease, filter 0.2s ease;
}

.ficha-linea-logo:hover img {
    transform: scale(1.06);
    filter: saturate(140%);
}

/* Quitar flechita en logos de línea (son imágenes, no texto) */
.ficha-linea-logo::after,
.ficha-linea-logo img::after {
    display: none !important;
    content: none !important;
}


/* ============================================================
   SLIDERS
   ============================================================ */

/* ── Slider relacionados ── */

.slider-relacionados-wrap {
    position: relative;
    padding: 0 40px;
}

.slider-relacionados-wrap .swiper {
    overflow: hidden;
}

.slider-relacionados-wrap .swiper-button-prev,
.slider-relacionados-wrap .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #1a3c2e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.15s;
}

.slider-relacionados-wrap .swiper-button-prev:hover,
.slider-relacionados-wrap .swiper-button-next:hover {
    background-color: #0f2419;
}

.slider-relacionados-wrap .swiper-button-prev { left: -10px; }
.slider-relacionados-wrap .swiper-button-next { right: -10px; }

.slider-relacionados-wrap .swiper-button-prev::after,
.slider-relacionados-wrap .swiper-button-next::after {
    font-size: 12px;
    font-weight: 700;
}

.slider-relacionados-wrap .swiper-slide {
    height: auto;
    width: calc(20% - 13px) !important;
}

.slider-relacionados-wrap .card-relacionado {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .slider-relacionados-wrap .swiper-slide {
        width: 100% !important;
    }
}

/* Cards relacionados */
.card-relacionado {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border: 1.5px solid #d6e5db;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s, box-shadow 0.15s;
    height: 100%;
}

.card-relacionado:hover {
    background-color: #f0f6f2;
    box-shadow: 0 3px 10px rgba(26, 60, 46, 0.1);
}

.cr-nombre {
    font-weight: 700;
    font-size: 0.88rem;
    color: #1a3c2e;
    line-height: 1.3;
}

.cr-principio {
    font-size: 0.75rem;
    color: #888;
}

.cr-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 4px;
}

.cr-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cr-item-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 6px;
    background-color: #eef3f0;
    color: #1a3c2e;
}

.cr-item-icono svg { width: 14px; height: 14px; }
.cr-item-icono img { width: 16px; height: 16px; object-fit: contain; }
.cr-item-texto { font-size: 0.78rem; color: #444; line-height: 1.3; }


/* ============================================================
   NAVEGACIÓN DE LÍNEAS
   ============================================================ */

.lineas-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.linea-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
     flex: 0 0 25%;
    max-width: 23%;
    gap: 4px;
    opacity: 1;
    transition: opacity 0.2s;
}

.linea-nav-item:hover,
.linea-nav-item.linea-nav-activo {
    opacity: 1;
}

.linea-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.linea-nav-logo img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    display: block;
    filter: saturate(70%);
    transition: transform 0.2s ease, filter 0.2s ease;
	padding: 18px;
}

.linea-nav-item:hover .linea-nav-logo img,
.linea-nav-item.linea-nav-activo .linea-nav-logo img {
    transform: scale(1.06);
    filter: saturate(140%);
}

.linea-nav-nombre {
    /* El logo ya identifica la linea: el nombre queda solo para lectores de pantalla */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .linea-nav-item {
        max-width: 45%;
        flex: 1 1 45%;
    }
    .linea-nav-logo img { height: 36px; }
}


/* ============================================================
   VADEMÉCUM PDF
   ============================================================ */

.vademecum-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #1a3c2e;
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.15s;
}

.vademecum-pdf-btn:hover {
    background-color: #0f2419;
}

.vademecum-pdf-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}


/* ============================================================
   PAGINACIÓN CATÁLOGO
   ============================================================ */

.page-numbers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
    margin-bottom: 16px;
    padding: 0;
    list-style: none;
}

.page-numbers a,
.page-numbers span {
    display: inline-block;
    min-width: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #1a3c2e;
    color: #1a3c2e;
    text-decoration: none;
    font-size: 0.85rem;
    text-align: center;
    transition: background 0.15s, color 0.15s;
}

.page-numbers .current {
    background: #1a3c2e;
    color: #fff;
    border-color: #1a3c2e;
}

.page-numbers a:hover {
    background: #1a3c2e;
    color: #fff;
}

.page-numbers .dots {
    border: none;
    color: #aaa;
    padding: 8px 4px;
}



/* ============================================================
   FIX LOGOS LINEAS MOBILE - P3Design 10/09/2026
   En <=768px el alto era 36px con padding 18px y box-sizing:border-box,
   asi que el area de imagen quedaba en 0px: los logos se cargaban
   pero no se veian. Se recupera alto util.
   ============================================================ */
@media (max-width: 768px) {
    .linea-nav-logo img {
        height: 64px;
        padding: 6px 4px;
    }
}
@media (max-width: 480px) {
    .linea-nav-logo img {
        height: 56px;
        padding: 4px;
    }
}



/* ============================================================
   Maquetación propia del tema (no viene del CSS adicional)
   ============================================================ */

/* Botón de búsqueda: el kit de Elementor estilaba todos los <button> (Montserrat, padding, borde verde). */
.buscar-btn { font-family: "Montserrat", Sans-serif; font-size: 1rem; font-weight: 500; line-height: 1em; }

/* Hero de catálogo (archivo / línea / taxonomías / ficha) */
.k-hero--catalogo { padding: 160px 0 40px; background-image: url(../img/fondos/424414106_d6a2d356-0899-42c1-a4f5-16ffd6900028-scaled.jpg); }
.k-hero__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 20px; }
.k-hero--catalogo .k-hero__titulo h1 { margin: 0; }
.k-hero__titulo-ficha { margin: 0; padding: 0; color: #fff; font-family: "Barlow", Sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1.2em; }
.k-onda--catalogo svg { width: calc(174% + 1.3px); height: 49px; }
.k-btn-volver {
	display: inline-block; padding: 0; border: 0; background: transparent; color: #EDEDED; fill: #EDEDED;
	font-family: "Montserrat", Sans-serif; font-size: 1rem; font-weight: 500; line-height: 1em; text-transform: uppercase; transition: all .3s;
}
.k-btn-volver:hover, .k-btn-volver:focus { color: #F4B84A; fill: #F4B84A; background: transparent; }
.k-btn-volver { display: inline-flex; align-items: center; gap: 15px; vertical-align: middle; }
.k-btn-volver__ico { display: flex; align-items: center; }
.k-btn-volver__ico svg { width: 1em; height: 1em; display: block; }
.post-type-archive-producto #volveralvademecum { visibility: hidden !important; }
@media (max-width: 1024px) { .k-hero__titulo-ficha { font-size: 2.5rem; } }
@media (max-width: 767px) { .k-hero__titulo-ficha { font-size: 2rem; } .k-btn-volver { font-size: .9rem; } }

/* Líneas, filtros y listado */
.k-cat-lineas .k-wrap { display: flex; flex-direction: column; }
.k-cat-lineas__nav { margin-top: 20px; }
.k-cat-filtros { padding: 20px 10px 0; }
.k-cat-filtros__inner { display: flex; flex-direction: column; gap: 0; }
.k-cat-filtros__barra { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 20px; background: #F3FAF4; }
.k-cat-filtros__listado { display: flex; flex-direction: column; gap: 0; margin: 3px 0 -10px; }
.k-cat-filtros__pdf { margin-bottom: 20px; }
.k-cat-tabla { padding: 30px 20px 20px; background: #fff; }
@media (max-width: 767px) { .k-cat-filtros { padding: 20px 0; } }

/* Ficha de producto */
.k-ficha { padding: 40px 20px 20px; background: #F9FFFA; }
.k-ficha__grid { display: flex; flex-direction: row; justify-content: center; gap: 40px; }
.k-ficha__pack { width: 40%; padding-top: 40px; display: flex; flex-direction: column; }
.k-ficha__pack img { display: block; width: 100%; height: 500px; object-fit: contain; object-position: center center; }
.k-ficha__info { width: 100%; display: flex; flex-direction: column; gap: 0; padding: 0 20px 20px; border-radius: 30px; }
.k-ficha__head { display: flex; flex-direction: row; align-items: center; gap: 0; }
.k-ficha__head-txt { width: 100%; display: flex; flex-direction: column; gap: 0; }
.k-ficha__titulo { font-family: "Barlow", Sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.2em; color: #073A0E; }
.k-ficha__sub { margin-top: -15px; font-family: "Montserrat", Sans-serif; font-size: .8em; font-weight: 600; color: #353131; }
.k-ficha__logo { width: 35%; display: flex; flex-direction: column; }
.k-ficha__logo img { display: block; width: 100%; height: 90px; object-fit: contain; object-position: center center; }
.k-ficha__acciones { display: flex; flex-direction: row; gap: 20px; margin-top: 20px; }
.k-btn-ficha {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; padding: 15px 25px 16px; border: 0; border-radius: 8px;
	font-family: "Montserrat", Sans-serif; font-size: 1rem; font-weight: 500; line-height: 1em; color: #fff; fill: #fff; transition: all .3s;
}
.k-btn-ficha--rojo { background-color: #D5021C; }
.k-btn-ficha--verde { background-color: #073A0E; }
.k-btn-ficha:hover, .k-btn-ficha:focus { background-color: #2ADF0E; color: #1F4800; fill: #1F4800; border-radius: 7px; }
.k-btn-ficha__ico { display: flex; }
.k-btn-ficha__ico svg { width: 1em; height: 1em; display: block; }
.k-relacionados { margin: 50px 0; }
.k-relacionados__inner { display: flex; flex-direction: column; gap: 20px; }
.k-relacionados__titulo { font-family: "Barlow", Sans-serif; font-size: 2rem; font-weight: 700; line-height: 1.2em; color: #073A0E; }
.k-ficha-filtros .k-wrap { display: flex; flex-direction: column; }
.k-ficha-filtros__barra { display: flex; flex-direction: column; gap: 20px; margin-bottom: 10px; padding: 20px; border-radius: 20px; background: #F9FFFA; }
@media (min-width: 768px) and (max-width: 1024px) { .k-ficha__titulo, .k-relacionados__titulo { font-size: 2.5rem; } }
@media (max-width: 767px) {
	.k-ficha__grid { flex-direction: row-reverse; flex-wrap: wrap-reverse; }
	.k-ficha__pack { width: 100%; padding: 0; }
	.k-ficha__pack img { height: 276px; }
	.k-ficha__info { padding: 0; }
	.k-ficha__head { flex-wrap: wrap; }
	.k-ficha__logo { width: 100%; }
	.k-ficha__logo img { height: 246px; }
	.k-ficha__acciones { flex-wrap: wrap; justify-content: center; align-items: center; }
	.k-btn-ficha { font-size: .9rem; align-self: center; }
}

/* Slider de relacionados: el HTML es el de Swiper (del core); acá se lo convierte en el carrusel scroll-snap del tema. */
.slider-relacionados-wrap .swiper { --k-car-n: 5; --k-car-group: 1; --k-car-gap: 16px; }
.slider-relacionados-wrap .swiper-wrapper {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
}
.slider-relacionados-wrap .swiper-wrapper::-webkit-scrollbar { display: none; }
.slider-relacionados-wrap .swiper-slide { flex: 0 0 auto; scroll-snap-align: start; display: flex; }
.slider-relacionados-wrap .swiper-button-prev::after, .slider-relacionados-wrap .swiper-button-next::after {
	content: ""; width: 7px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(135deg); margin-left: 3px;
}
.slider-relacionados-wrap .swiper-button-next::after { transform: rotate(-45deg); margin-left: -3px; }
@media (min-width: 768px) and (max-width: 1023px) { .slider-relacionados-wrap .swiper-wrapper { gap: 14px; } }
@media (max-width: 767px) { .slider-relacionados-wrap .swiper { --k-car-n: 1; } .slider-relacionados-wrap .swiper-wrapper { gap: 12px; } }
