*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}    
/* header */

.encabezado{
    min-height:150px;
    padding:15px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #698D35;
    background-image: url(../src/banners/Banner\ Header.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:100% auto;  
}
.encabezado img{
    border-radius: 15px;
    transition: 0.5s ease-in-out;
    width:clamp(90px,10vw,135px);
    height:auto;
    margin-right: 40px;
}
.encabezado img:hover{
    transform: scale(0.9);
    filter: drop-shadow(2px 2px 6px #A7DF59);
}
.menu{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
}
.extra{
    margin: auto 10px;
    text-decoration: none;
    color: whitesmoke;
    background: #555555;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 20px;
    filter: drop-shadow(1px 1px 3px black);
    transition: 0.1s ease-in-out;
}
.extra:hover{
    transform: scale(1.1);
    background:#3c521f;
    filter: drop-shadow(2px 2px 3px white);
}
.contactos{
    margin: auto 10px;
    text-decoration: none;
    color: rgb(30, 30, 30);
    padding: 8px 12px;
    background: gainsboro;
    border-radius: 15px;
    transition: 0.3s ease-in-out;
    font-size: 20px;
    filter: drop-shadow(1px 1px 6px black);
}
.contactos:hover{
    transform: scale(0.9);
    filter: drop-shadow(6px 6px 8px black);
}
.carrito-nav{
    position: relative;
    display: flex;
    align-items: center;
    margin: auto 10px;
    cursor: pointer;
}
.encabezado .menu img.icono-carrito-nav{
    width: 32px;
    height: 32px;
    border-radius: 0;
    margin-right: 0;
    filter: invert(1);
}
.contador-carrito{
    position: absolute;
    top: -8px;
    right: -10px;
    background: #962f33;
    color: whitesmoke;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
    box-shadow: 0 0 0 2px #698D35;
}

/* panel desplegable del carrito */
.panel-carrito{
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    max-height: 400px;
    background: whitesmoke;
    border-radius: 15px;
    box-shadow: 2px 2px 10px black;
    z-index: 100;
    overflow: hidden;
    flex-direction: column;
    color: #1e1e1e;
}
.panel-carrito.activo{
    display: flex;
}
.panel-carrito-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #698D35;
}
.panel-carrito-header h4{
    color: whitesmoke;
    margin: 0;
}
.vaciar-carrito{
    background: #962f33;
    color: whitesmoke;
    border: none;
    border-radius: 10px;
    padding: 5px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.1s ease-in-out;
}
.vaciar-carrito:hover{
    background: #7a2529;
}
.lista-carrito{
    overflow-y: auto;
    max-height: 340px;
    padding: 5px;
}
.carrito-vacio{
    text-align: center;
    padding: 20px 10px;
    color: gray;
}
.item-carrito{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 5px;
    border-bottom: 1px solid gainsboro;
}
.item-carrito img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}
.info-item{
    flex: 1;
}
.info-item p{
    font-size: 14px;
    margin: 0;
}
.info-item b{
    color: #62a10a;
    font-size: 13px;
}
.eliminar-item{
    background: transparent;
    border: none;
    color: #962f33;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
}
.eliminar-item:hover{
    transform: scale(1.2);
}

/* boton de favorito en cada tarjeta */
.fav-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    background: whitesmoke;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 4px black;
    transition: 0.15s ease-in-out;
    z-index: 5;
}
.fav-btn img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: 0.15s ease-in-out;
}
.fav-btn:hover{
    transform: scale(1.15);
}
.fav-btn.activo img{
    filter: none;
}
.fav-btn.activo{
    box-shadow: 0 0 6px 2px #962f33;
}

/* favoritos en el nav */
.favoritos-nav{
    position: relative;
    display: flex;
    align-items: center;
    margin: auto 10px;
    cursor: pointer;
}
.encabezado .menu img.icono-favoritos-nav{
    width: 32px;
    height: 32px;
    border-radius: 0;
    margin-right: 0;
}

.panel-carrito,
.panel-favoritos{
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    max-height: 400px;
    background: whitesmoke;
    border-radius: 15px;
    box-shadow: 2px 2px 10px black;
    z-index: 100;
    overflow: hidden;
    flex-direction: column;
    color: #1e1e1e;
}
.panel-carrito.activo,
.panel-favoritos.activo{
    display: flex;
}
/* main */
.principal{
    background: #EFF1ED;
    padding: 25px 0;
    display: flex;
    justify-content: space-evenly;
    padding-bottom: 99px;
}
.contenedor{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.Tarjetas{
    position: relative;
    min-width: 300px;
    min-height: 500px;
    width:100%;
    max-width:450px;
    background: #2c410b;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    border-radius: 25px;
    filter: drop-shadow(2px 5px 6px #101804);
    border: 2px solid #203008;
    transition: 0.2s ease-in-out;
}
.Tarjetas:hover{
    transform: scale(1.01);
    filter: drop-shadow(0px 10px 12px #101804);
}
.Tarjetas h1{
    color: #5a5a5a;
    font-size: 50px;
    text-shadow: 1px 1px 2px #dddddd;
    font-family:Georgia, 'Times New Roman', Times, serif;
}
.Tarjetas h2{
    color: #d4050c;
    text-shadow: 1px 1px 2px #720306;
    font-size: 35px;
}
.Tarjetas h3{
    font-size: 30px;
    color: #acacac;
}
.Tarjetas p{
    font-size: 18px;
    font-weight: 600;
    color: #acacac;
    padding: 10px 20px;
}
.Tarjetas img.producto{
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    filter: drop-shadow(2px 2px 6px gray);
    margin: auto 10px;
}
.Tarjetas span{
    margin-top: 15px;
    font-size: 50px;
    font-weight: 600;
    color: #3f0103;
    text-shadow: 1px 1px 2px #1f0102;
}
.Tarjetas .btn-comprar{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7.5px 15px;
    border-radius: 15px;
    border: none;
    background: #8cca36;
    filter: drop-shadow(2px 2px 6px #47661b);
    margin: 30px 0px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.Tarjetas .btn-comprar:hover{
    transform: translateY(-8px) scale(1.02);
}
.Tarjetas .btn-comprar img{
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: none;
    margin: 0;
    border-radius: 0;
}
.Tarjetas .btn-comprar p{
    color: black;
}

/* filtros */
.Filtros{
    display: flex;
    padding: 15px;
    flex-direction: column;
}
.Titulo-filtros{
    text-align: center;
    color: #2c410b;
    font-size: 22px;
    margin-bottom: 15px;
}
.Checklist{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    position: sticky;
    z-index: 10;
    top: 25px;
}
.Checklist label{
    display: flex;
    align-items: center;
    gap: 8px;
    background: whitesmoke;
    padding: 10px 15px;
    border-radius: 15px;
    box-shadow: 1px 1px 4px gray;
    cursor: pointer;
    font-size: 18px;
    transition: 0.15s ease-in-out;
}
.Checklist label:has(input:checked){
    background: #698D35;
    color: whitesmoke;
    box-shadow: 1px 1px 4px #35471b;
}
.Checklist input[type="checkbox"]{
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #698D35;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    background: whitesmoke;
    transition: 0.15s ease-in-out;
}
.Checklist label:has(input:checked) input[type="checkbox"]{
    border-color: whitesmoke;
    background: #4d6626;
}
.Checklist input[type="checkbox"]:checked::after{
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: whitesmoke;
    font-size: 14px;
    font-weight: bold;
}
.Checklist input[type="checkbox"]:hover{
    border-color: #962f33;
}
.Checklist button{
    background: #962f33;
    color: whitesmoke;
    border: none;
    padding: 8px 14px;
    border-radius: 15px;
    box-shadow: 1px 1px 4px gray;
    cursor: pointer;
    font-size: 16px;
    transition: 0.1s ease-in-out;
}
.Checklist button:hover{
    background: #7a2529;
    transform: scale(1.05);
}

/* buscador */
.Filtro-Barra{
    display: flex;
    justify-content: center;
    padding: 0 15px 20px;
}
.Filtro-Barra .buscador{
    position: relative;
    width: 100%;
    max-width: 400px;
}
.icono-buscar{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    opacity: 0.8;
    z-index: 5;
}
.Filtro-Barra input{
    width: 100%;
    max-width: 400px;
    padding: 12px 15px 12px 40px;
    border-radius: 25px;
    border: 2px solid #698D35;
    filter: drop-shadow(0px 5px 6px #b9b9b9);
    font-size: 16px;
    background: whitesmoke;
    transition: 0.2s ease-in-out;
}
.Filtro-Barra input::placeholder{
    color: gray;
    font-style: italic;
}
.Filtro-Barra input:focus{
    outline: none;
    border-color: #962f33;
    box-shadow: 0 0 8px #962f3355;
    transform: scale(1.02);
}
#Falta{
    display: block;
    margin: 60px auto;
    max-width: 850px;
    width: 95%;
    filter: drop-shadow(2px 5px 6px gray);
}
/* footer */
.pie{
    background: #698D35;
    display: flex;
    justify-content: space-evenly;
    background-image: url(../src/banners/Banner\ Footer.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;  
    border: #555555 6px solid;
}
.info{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}
.info img{
    height: auto;
    object-fit: cover;
    width: 400px;
    transition: 0.3s ease-in-out;
    align-self: center;
}
.info img:hover{
    transform: scale(0.9) rotate(1deg);
    filter: drop-shadow(1px 1px 4px white);
}
.info h2{
    margin-top: 30px;
    color: whitesmoke;
    font-size: 25px;
}
.redes img{
    margin-top: 10px;
    width: 70px;
    height: auto;
    object-fit: cover;
    transition: 0.5s ease-in-out;
}
.redes img:hover{
    transform: scale(0.9);
    filter: drop-shadow(2px 2px 8px #A7DF59);
}
.logos{
    display: flex;
    justify-content: space-evenly;
}
.mapa iframe{
    height: 200px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 4px 4px 8px #64a010;
    transition: 0.5s;
    margin-top: 10px;
}
.mapa iframe:hover{
    transform: scale(0.85);
}
.nav{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.nav a{
    text-decoration: none;
    color: #ebebeb;
    text-shadow: 4px 4px 6px black;
    font-size: 25px;
    margin: 12.5% 0;
    transition: 0.1s ease-in-out;
    padding-bottom: 5px;
}
.nav a:hover{
    transform: scale(0.9);
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #698D35, #9cd350)1;
}

#boton-modo-oscuro{
    position: fixed;
    bottom: 125px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #1e1e1e;
    color: whitesmoke;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px black;
    z-index: 9999;
    transition: .3s;
}

#boton-modo-oscuro:hover{
    transform: scale(1.15);
}

html.modo-oscuro{
    filter: invert(1) hue-rotate(180deg);
    background: #fff;
}

html.modo-oscuro img,
html.modo-oscuro video,
html.modo-oscuro iframe{
    filter: invert(1) hue-rotate(180deg) !important;
}

#boton-subir{
    position: fixed;
    bottom: 20px;
    right: 125px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background: transparent;
    z-index: 9999;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#boton-subir:hover{
    transform: scale(1.15);
}

#boton-subir img{
    width: 200%;
    height: 200%;
    object-fit: contain;
}

/* ===========================
   BOTON ORKONATRA
=========================== */

#boton-orkonatra{
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    cursor: pointer;
    background: transparent;
    z-index: 9999;
    transition: .3s;
}

#boton-orkonatra:hover{
    transform: scale(1.15);
}

#boton-orkonatra img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}
