#cabecera {
    display: flex;
    justify-content: space-between;
}

#filtradores ul {
    list-style: none;
    text-align: center;
    margin-top: 1rem;
}

#filtradores ul * {
    display: inline-block;
}

#filtradores ul label {
    padding: 0.5rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 2rem;
    min-width: 50px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

#filtradores ul label:hover {
    background-color: var(--navy);
    color: var(--white);
}

#contenedor-icon {
    position: relative;
}

#cabecera #contenedor-icon i {
    font-size: 2.3em;
}

#cabecera #contenedor-icon i:hover {
    cursor: pointer;
}

#contenedor-icon div {
    position: absolute;
    top: 43%;
    right: 0;
    background-color: var(--transparent);
    color: var(--white);
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

#contenedor-icon div span {
    font-size: 10px;
    font-weight: bold;
}

#contenedor-items {
    margin: 1em 0 2em 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#contenedor-items .item {
    border-radius: 10px;
    transition: 0.5s ease;
}

#contenedor-items .item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.40);
}

#contenedor-items .item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: all 0.5s;
}

#contenedor-items .item figure {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
}

#contenedor-items .item figure::after {
    content: attr(alt);
    font-size: 1em;
    color: var(--white);
    position: absolute;
    background: var(--transparent);
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1em;
    transform: translateY(100%);
    transition: transform 1s ease-in-out;
}

#contenedor-items .item figure:hover::after {
    transform: translateY(0);
}

#contenedor-items .item img:hover {
    transform: scale(1.2);
}

#contenedor-items .item div {
    padding: 15px 30px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contenedor-items .item div :nth-child(3) {
    font-weight: 900;
}

#contenedor-items .item div :nth-child(3)::before {
    content: url(../img/icons/euro_black_18dp.svg);
    display: inline-block;
    vertical-align: -3px;
    height: 1em;
    width: 1em;
}

#contenedor-items .item div h3 {
    color: var(--navy);
}

#datos-tecnicos {
    border-top: 2px solid var(--transparent);
    overflow-x: auto;
    padding: 10px;
}

#datos-tecnicos>h2 {
    margin: 1em 0 1em 0;
}

#datos-tecnicos table {
    border-collapse: collapse;
    margin: 0 auto;
    border-radius: 4px 4px 0 0;
    text-align: center;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.30);
}

#datos-tecnicos table thead {
    color: var(--white);
    background-color: var(--navy);
}

#datos-tecnicos table thead th,
#datos-tecnicos table tbody td {
    padding: 12px 15px;
}

#datos-tecnicos table tbody tr:nth-of-type(even) {
    background-color: var(--gray);
}

#datos-tecnicos table tbody {
    border-bottom: 2px solid var(--navy);
}

@media screen and (max-width: 920px) {
    #contenedor-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 820px) {
    #contenedor-items {
        grid-template-columns: repeat(1, 1fr);
    }
}