/* =====================================================
   NUMISMÁTICA TORREJÓN
   Ajustes para Cassiopeia
   ===================================================== */

/* Evita que Cassiopeia separe las letras */
.com-content-article,
.com-content-article *,
.item-page,
.item-page * {
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* Texto general del artículo */
.com-content-article,
.item-page {
    font-family: Arial, Helvetica, sans-serif !important;
    color: #263238;
}

/* Títulos del catálogo */
.com-content-article h1,
.com-content-article h2,
.com-content-article h3,
.item-page h1,
.item-page h2,
.item-page h3 {
    letter-spacing: normal !important;
    word-spacing: normal !important;
    line-height: 1.25 !important;
}

/* =========================
   TABLAS DEL CATÁLOGO
   ========================= */

.com-content-article table,
.item-page table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    table-layout: fixed !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
}

/* Todas las celdas */
.com-content-article table th,
.com-content-article table td,
.item-page table th,
.item-page table td {
    padding: 8px 10px !important;
    height: auto !important;
    min-height: 0 !important;
    vertical-align: middle !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    white-space: normal !important;
}

/* Encabezados */
.com-content-article table th,
.item-page table th {
    background: #f2f3f3 !important;
    color: #263238 !important;
    font-weight: 700 !important;
    text-align: left !important;
}

/* Año */
.com-content-article table th:first-child,
.com-content-article table td:first-child,
.item-page table th:first-child,
.item-page table td:first-child {
    width: 9% !important;
    white-space: nowrap !important;
}

/* País */
.com-content-article table th:nth-child(2),
.com-content-article table td:nth-child(2),
.item-page table th:nth-child(2),
.item-page table td:nth-child(2) {
    width: 14% !important;
}

/* Descripción */
.com-content-article table th:nth-child(3),
.com-content-article table td:nth-child(3),
.item-page table th:nth-child(3),
.item-page table td:nth-child(3) {
    width: 67% !important;
}

/* Precio */
.com-content-article table th:last-child,
.com-content-article table td:last-child,
.item-page table th:last-child,
.item-page table td:last-child {
    width: 10% !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* Filas alternas */
.com-content-article table tbody tr:nth-child(even),
.item-page table tbody tr:nth-child(even) {
    background: #fafafa !important;
}

/* Efecto al pasar el ratón */
.com-content-article table tbody tr:hover,
.item-page table tbody tr:hover {
    background: #fff8df !important;
}

/* Bordes */
.com-content-article table th,
.com-content-article table td,
.item-page table th,
.item-page table td {
    border: 1px solid #dddddd !important;
}

/* =========================
   TÍTULOS DEL CATÁLOGO
   ========================= */

.com-content-article h2,
.item-page h2 {
    color: #263238 !important;
    border-bottom: 2px solid #d4af37 !important;
    padding-bottom: 8px !important;
    margin-top: 30px !important;
    margin-bottom: 12px !important;
}

/* =========================
   NOVEDADES
   ========================= */

/* La primera tabla queda ligeramente destacada */
.com-content-article table:first-of-type,
.item-page table:first-of-type {
    border: 2px solid #d4af37 !important;
}

.com-content-article table:first-of-type th,
.item-page table:first-of-type th {
    background: #fff4cf !important;
}

/* =========================
   ELIMINAR ESPACIADOS RAROS
   ========================= */

.com-content-article td,
.com-content-article th,
.item-page td,
.item-page th {
    transform: none !important;
    text-indent: 0 !important;
}

/* =========================
   MÓVILES
   ========================= */

@media (max-width: 700px) {

    .com-content-article table,
    .item-page table {
        font-size: 13px !important;
        table-layout: auto !important;
    }

    .com-content-article table th,
    .com-content-article table td,
    .item-page table th,
    .item-page table td {
        padding: 7px 6px !important;
        font-size: 13px !important;
    }

}

/* Quitar el marco azul exterior de la plantilla */
body {
    border: none !important;
    outline: none !important;
}

.site {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}