/** containers **/

:root {
    --bg-comparador: #003399;
    --shadow-comparador: rgba(0, 51, 153, 0.5);
}

#wrap {
    width: 700px;
    margin: 0 auto;
    background: #d7dfe0;
    border-radius: 7px;
    margin-top: 55px;
}

#wrap header {
    border-bottom: 1px solid #b6bdbe;
    margin: 15px 22px;
    margin-bottom: 35px;
    padding-top: 20px;
    position: relative;
}

#wrap footer {
    border-top: 1px solid #b6bdbe;
    padding-bottom: 40px;
    margin: 15px 22px;
}

#wrap header .list-style-buttons {
    position: absolute;
    right: 0;
}


/** list view **/

ul.list {
    list-style: none;
    width: 100%;
}

ul.list li {
    display: block;
    background: #c9d0d1;
    padding: 10px 15px;
}

ul.list li.alt {
    background: #d7dfe0;
}

ul.list li section.left {
    display: block;
    float: left;
    width: 350px;
    position: relative;
    padding-left: 20px;
}

ul.list li section.right {
    display: block;
    float: right;
    margin-right: 10px;
    width: 250px;
    text-align: right;
}

ul.list li section.left img.thumb {
    float: left;
    margin-right: 10px;
}

ul.list li section.left img.featured-banner {
    position: absolute;
    left: -18px;
    top: 35px;
}

ul.list li section.left h3 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #707375;
    font-size: 1.4em;
    line-height: 1.6em;
}

ul.list li section.left span.meta {
    color: #93989b;
    font-weight: normal;
    font-size: 1.1em;
}

ul.list li section.right span.price {
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
    color: #ad3939;
    font-size: 1.6em;
    text-align: right;
}

ul.list li section.right a.firstbtn {
    margin-right: 7px;
}


/** grid view **/

ul.grid {
    list-style: none;
    margin: 0 auto;
    padding-left: 25px;
}

ul.grid li {
    position: relative;
    display: block;
    float: left;
    height: 200px;
    border-right: 1px solid #b6bdbe;
    padding: 5px 22px;
    margin-bottom: 20px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}


@media (min-width: 493px) {
    ul.grid li {
        width: 220px !important;
    }
}

ul.grid li.third {
    border: 0;
}

ul.grid li section.left {
    position: relative;
}

ul.grid li section.right {
    /* nothing */
}

ul.grid li section.left img.featured-banner {
    position: absolute;
    top: 0;
}

ul.grid li section.left h3 {
    font-family: "Trebuchet MS", Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #707375;
    font-size: 1.4em;
    line-height: 1.5em;
}

ul.grid li section.left span.meta {
    display: block;
    color: #93989b;
    font-weight: normal;
    font-size: 1.1em;
    margin-bottom: 7px;
}

ul.grid li section.right span.price {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #ad3939;
    font-size: 1.75em;
}

ul.grid li section.right span.darkview {
    opacity: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 190px;
    height: 200px;
    margin: 0 15px;
    border-radius: 6px;
    background: rgba(40, 45, 55, 0.75);
    overflow: hidden;
    text-align: center;
    padding-top: 35px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: opacity 0.2s linear 0s;
    -webkit-transition: opacity 0.2s linear 0s;
    -moz-transition: opacity 0.25s linear 0s;
    -o-transition: opacity 0.25s linear 0s;
}

ul.grid li:hover section.right span.darkview {
    opacity: 1;
}

ul.grid li section.right span.darkview a.firstbtn {
    display: block;
    margin-bottom: 10px;
}


/** clearfix **/

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    width: 100%;
    display: inline-block;
}

@media (min-width: 493px) {
    .clearfix {
        width: unset;
    }
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}

p#p-slogan.slogan {
    background-color: #EFF2F5;
    color: #0ea5e9;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    padding: 5px !important;
    margin-bottom: 10px !important;
}

div.contenedor-botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1rem;
    width: 100%;
    margin-top: 10px;
}

button.boton-comparar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    text-align: center;
    font-size: 14px;
    border-radius: 4px;
    height: 46px;
    column-gap: 5px;
    font-weight: 600;
    cursor: pointer;
}

button.boton-comparar:focus {
    outline: none;
}

.boton-active-comparador {
    background-color: var(--bg-comparador);
    color: white;
    border: 1px solid var(--shadow-comparador);
}

.box-shadow-li {
    box-shadow: 0px 4px 6px -1px var(--shadow-comparador), 0px 2px 4px -1px rgba(0, 51, 153, 0.3);
}

.boton-inactive-comparador {
    border: 1px solid #1D1D1B4D;
    background-color: transparent;
    color: rgba(77, 90, 104, 1);
}

.w-list {
    width: 20% !important;
}

li.estilos-items {
    min-height: 463px !important;
    display: flex !important;
    flex-direction: column !important;
}

.titulo-list {
    display: flex;
    justify-content: start;
    align-items: center;
    column-gap: 5px;
}

.imagen-mejor-opcion {
    position: absolute;
    right: 5px;
}

.imagen-left {
    position: absolute;
    left: 5px;
    width: 80px !important;
}

.offcanvas {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: transparent;
    transition: height 0.3s ease;
    z-index: 100000;
}

#tbl-comparador {
    font-size: 14px;
}

#tbl-comparador th,
#tbl-comparador td {
    border-right: 1px solid #dee2e6;
    /* Color plomo */
}

.offcanvas-header {
    padding: 10px 20px;
    margin: 0 auto;
    background-color: var(--bg-comparador);
    color: white;
    width: 90%;
    font-size: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    row-gap: 20px;

}

@media (min-width: 768px) {
    .offcanvas-header {
        width: 70%;
        font-size: 18px;
    }
}

.offcanvas-header button {
    background-color: white;
    color: var(--bg-comparador);
    border-radius: 7px;
    border: none;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

@media (min-width: 768px) {
    .offcanvas-header button {
        padding: 7px 50px;
        font-size: 14px;
    }

}

.offcanvas-title {
    display: flex;
    align-items: center;
    column-gap: 7px;
}

.offcanvas-title p {
    font-size: 14px;
    color: white;
    margin: 0 auto;
    font-weight: 600;
}


.offcanvas-content {
    background-color: #F9F9F9;
    overflow-y: auto;
    min-height: 100%;
    box-shadow: 0px -6px 10px -2px rgba(128, 128, 128, 0.4), 0px -3px 8px -2px rgba(128, 128, 128, 0.2);
}

.offcanvas-content>div {
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}


@media (min-width: 768px) {
    .offcanvas-content>div {
        max-height: calc(100vh - 200px);
    }
}

.contenedor-comparador {
    padding: 25px 0px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 420px) {
    .contenedor-comparador {
        width: 95%;
    }
}

.img-tbl-compare {
    width: 12rem;
    height: 12rem;
    padding: 1rem 1rem 1rem 1rem;
}

.first-column {
    min-width: 192px !important;
    min-height: 208px !important;
}

.column-caract {
    background: #f5f5f5 !important;
}

.unset-width {
    width: 100% !important;
}

.sticky-column {
    background-color: #E6E6E6 !important;
    border: #DDDDDD 3px solid !important;
    position: sticky;
    left: 0;
    z-index: 10;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.contenedor-labels-comparador {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
}

.label:nth-of-type(2) {
    display: none;
}


@media (min-width: 505px) {
    .contenedor-labels-comparador {
        grid-template-columns: repeat(2, 1fr);
    }

    .label:nth-of-type(2) {
        display: block;
    }
}

@media (min-width: 600px) {
    .contenedor-labels-comparador {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 700px) {
    .contenedor-labels-comparador {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .contenedor-labels-comparador {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .contenedor-labels-comparador {
        grid-template-columns: repeat(4, 1fr);
    }
}

.label {
    margin: 0px;
    font-weight: 600;
    color: #212529;
    padding: 0px 10px;
}

.show-offcanvas {
    height: calc(100vh);
}

@media (min-width: 768px) {
    .show-offcanvas {
        height: calc(100vh - 140px);
    }
}

/* Ampliar el ancho de la barra de desplazamiento */
.contenedor-comparador::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Opcional: Personalizar el "thumb" */
.contenedor-comparador::-webkit-scrollbar-thumb {
    background-color: gray;
}

button#resizeButton:focus {
    outline: none;
}

.titulo-comparador {
    font-size: 20px;
    color: #000;
    text-align: center;
    font-weight: 600;
}

.slogan-comparador {
    max-width: 200px;
    margin: 0 auto;
}

.imagen-header {
    position: relative;
}

.imagen-mejor-opcion-comparador {
    position: absolute;
    top: 30px;
}