@font-face {
  font-family: 'Conthrax';
  src: url('../fonts/conthrax-sb.ttf') format('truetype');
}

@font-face {
  font-family: 'BebasKai';
  src: url('../fonts/BebasKai.ttf') format('truetype'),
       url('../fonts/BebasKai.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.tipoletra{
    font-family: 'BebasKai', sans-serif;
}

/* 🔥 IMÁGENES GALERÍA */
.gallary-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallary-img {
        height: 180px;
    }
}

/* 🔥 HEADER */
.header h1 {
    font-size: 60px;
}

.header h2 {
    font-size: 28px;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 32px;
    }

    .header h2 {
        font-size: 18px;
        padding: 10px;
    }
}

/* 🔥 LOGO NAVBAR */
.brand-img {
    max-width: 120px !important;
    height: auto !important;
}

@media (max-width: 768px) {
    .brand-img {
        max-width: 90px !important;
    }
}

/* 🔥 SECCIONES */
@media (max-width: 768px) {

    .col-lg-6 {
        text-align: center;
    }

    .has-img-bg {
        height: 250px;
        background-size: cover;
        background-position: center;
    }

}

/* 🔥 FORMULARIO */
.custom-form-control {
    font-size: 14px;
}

@media (max-width: 768px) {
    .custom-form-control {
        margin-bottom: 10px;
    }
}

/* 🔥 MAPA */
#map {
    width: 100% !important;
    height: 300px !important;
}

/* 🔥 TEXTOS GENERALES */
@media (max-width: 768px) {

    .display-2 {
        font-size: 32px !important;
    }

    .display-4 {
        font-size: 20px !important;
    }

    .section-title {
        font-size: 24px;
    }

    .middle-items {
        padding: 30px 15px !important;
    }

}

/* 🔥 NAVBAR AJUSTE */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-brand {
        margin: auto;
    }
}

/* 🔥 BOTONES */
.btn {
    white-space: normal;
}

/* 🔥 EVITA DESBORDES */
body {
    overflow-x: hidden;
}
.tipoletra{
    font-family: 'BebasKai', sans-serif;
}

/* =========================================================
   CATÁLOGO DE SNEAKERS - DATATABLES
   ========================================================= */

#tablaZapatos {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    color: #fff !important;
    font-family: Arial, sans-serif;
}

/* CONTENEDOR DATATABLE */
.catalogo-container .dataTables_wrapper {
    background: #171717;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

/* ENCABEZADO */
#tablaZapatos thead th {
    background: #242424 !important;
    color: #aaa !important;
    border: none !important;
    padding: 14px 15px !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* PRIMERA ESQUINA */
#tablaZapatos thead th:first-child {
    border-radius: 5px 0 0 5px;
}

/* ÚLTIMA ESQUINA */
#tablaZapatos thead th:last-child {
    border-radius: 0 5px 5px 0;
}

/* FILAS */
#tablaZapatos tbody tr {
    background: #202020 !important;
    transition: all 0.2s ease;
}

/* EFECTO AL PASAR MOUSE */
#tablaZapatos tbody tr:hover {
    background: #292929 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* CELDAS */
#tablaZapatos tbody td {
    background: transparent !important;
    border: none !important;
    padding: 12px 15px !important;
    color: #ddd !important;
    font-size: 13px;
    vertical-align: middle;
}

/* BORDES REDONDEADOS DE LA FILA */
#tablaZapatos tbody td:first-child {
    border-radius: 5px 0 0 5px;
}

#tablaZapatos tbody td:last-child {
    border-radius: 0 5px 5px 0;
}

/* =========================================================
   IMÁGENES
   ========================================================= */

#tablaZapatos tbody td:first-child img {
    width: 55px !important;
    height: 55px !important;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #383838;
    display: block;
    transition: transform 0.2s ease;
}

#tablaZapatos tbody tr:hover td:first-child img {
    transform: scale(1.05);
}

/* =========================================================
   CÓDIGO
   ========================================================= */

#tablaZapatos tbody td:nth-child(2) {
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* =========================================================
   MARCA
   ========================================================= */

#tablaZapatos tbody td:nth-child(3) {
    color: #aaa !important;
    font-weight: 500;
}

/* =========================================================
   MODELO
   ========================================================= */

#tablaZapatos tbody td:nth-child(4) {
    color: #eee !important;
    font-weight: 500;
}

/* =========================================================
   BOTÓN VER
   ========================================================= */

#tablaZapatos tbody td:last-child a,
#tablaZapatos tbody td:last-child button {
    background: #E10613 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 3px !important;
    padding: 7px 15px !important;
    font-size: 10px !important;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s ease;
}

#tablaZapatos tbody td:last-child a:hover,
#tablaZapatos tbody td:last-child button:hover {
    background: #ff1725 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(225, 6, 19, 0.25);
}


/* =========================================================
   BUSCADOR Y SELECTOR
   ========================================================= */

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    color: #aaa !important;
    font-size: 11px !important;
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}

.dataTables_wrapper .dataTables_length select {
    background: #252525 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    border-radius: 3px;
    padding: 5px 25px 5px 8px;
    outline: none;
}

.dataTables_wrapper .dataTables_filter input {
    background: #252525 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
    border-radius: 3px;
    padding: 7px 10px !important;
    margin-left: 7px !important;
    outline: none;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #E10613 !important;
    box-shadow: 0 0 0 1px #E10613;
}

/* =========================================================
   INFORMACIÓN
   ========================================================= */

.dataTables_wrapper .dataTables_info {
    color: #888 !important;
    font-size: 10px !important;
    padding-top: 15px !important;
}

/* =========================================================
   PAGINACIÓN
   ========================================================= */

.dataTables_wrapper .dataTables_paginate {
    padding-top: 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #252525 !important;
    color: #aaa !important;
    border: 1px solid #333 !important;
    border-radius: 3px !important;
    margin-left: 4px;
    padding: 5px 9px !important;
    font-size: 10px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #444 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #E10613 !important;
    color: #fff !important;
    border-color: #E10613 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.35;
}


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

.catalogo-title {
    font-family: 'BebasKai', sans-serif;
    color: #fff;
    font-size: 42px;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.catalogo-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #E10613;
    margin: 10px auto 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {

    .catalogo-container {
        margin-top: 80px !important;
        padding: 10px !important;
    }

    .catalogo-container .dataTables_wrapper {
        padding: 15px 10px;
        border-radius: 3px;
    }

    .catalogo-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    /* Buscador ocupa todo */
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: left !important;
        width: 100%;
        margin-top: 12px;
    }

    .dataTables_wrapper .dataTables_filter label {
        display: block;
        width: 100%;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: calc(100% - 60px);
        max-width: none;
    }

    /* =====================================================
       TABLA -> TARJETAS
       ===================================================== */

    #tablaZapatos {
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }

    /* Ocultamos encabezado */
    #tablaZapatos thead {
        display: none;
    }

    #tablaZapatos tbody {
        display: block;
        width: 100%;
    }

    #tablaZapatos tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        padding: 12px;
        border-radius: 6px;
        background: #202020 !important;
        box-sizing: border-box;
    }

    #tablaZapatos tbody tr:hover {
        transform: none;
    }

    #tablaZapatos tbody td {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 35px;
        padding: 5px 0 !important;
        box-sizing: border-box;
        border: none !important;
    }

    /* Imagen */
    #tablaZapatos tbody td:first-child {
        display: flex;
        justify-content: center;
        padding-bottom: 12px !important;
    }

    #tablaZapatos tbody td:first-child img {
        width: 110px !important;
        height: 110px !important;
        border-radius: 7px;
    }

    /* Labels */
    #tablaZapatos tbody td:nth-child(2)::before {
        content: "CÓDIGO";
    }

    #tablaZapatos tbody td:nth-child(3)::before {
        content: "MARCA";
    }

    #tablaZapatos tbody td:nth-child(4)::before {
        content: "MODELO";
    }

    #tablaZapatos tbody td:nth-child(2)::before,
    #tablaZapatos tbody td:nth-child(3)::before,
    #tablaZapatos tbody td:nth-child(4)::before {
        width: 75px;
        min-width: 75px;
        color: #777;
        font-size: 9px;
        font-weight: bold;
        letter-spacing: 0.5px;
    }

    #tablaZapatos tbody td:nth-child(2),
    #tablaZapatos tbody td:nth-child(3),
    #tablaZapatos tbody td:nth-child(4) {
        border-top: 1px solid #303030 !important;
        padding: 9px 0 !important;
    }

    /* Acción */
    #tablaZapatos tbody td:last-child {
        justify-content: center;
        border-top: 1px solid #303030 !important;
        padding-top: 12px !important;
        margin-top: 3px;
    }

    #tablaZapatos tbody td:last-child a,
    #tablaZapatos tbody td:last-child button {
        width: 100%;
        text-align: center;
        padding: 10px !important;
        font-size: 10px !important;
    }

    /* Paginación */
    .dataTables_wrapper .dataTables_info {
        text-align: center;
        width: 100%;
        margin-bottom: 8px;
    }

    .dataTables_wrapper .dataTables_paginate {
        text-align: center !important;
        float: none !important;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        padding: 5px 8px !important;
        margin: 1px;
    }

}


/* =========================================================
   CELULARES PEQUEÑOS
   ========================================================= */

@media (max-width: 480px) {

    .catalogo-title {
        font-size: 27px;
    }

    .catalogo-container .dataTables_wrapper {
        padding: 12px 8px;
    }

    #tablaZapatos tbody tr {
        padding: 10px;
    }

    #tablaZapatos tbody td:first-child img {
        width: 95px !important;
        height: 95px !important;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        font-size: 10px !important;
    }

}