* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f7e7f2;
}

img {
    width: 100%;
    margin-bottom: 10px;
}

header {
    background-color: #fbcdc0;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 180px;
    justify-content: space-evenly;
    align-items: center;
    box-shadow: 0px 5px 4px 3px rgba(117, 21, 85, 0.1);
    margin-bottom: 20px;
}


h1 {
    background: url(/img/logo\ annette.png) no-repeat;
    height: 180px;
    width: 180px;
}
h1 span{
    display: none;
}

.input{
    border: 1px solid #ced4da;
    line-height: 1.8rem;
    border-radius: 0.25rem;
    border: none;
    outline: none;
    appearance: none;
    width: 40%;
}



.seleccion {
    display: flex;
    padding-top: 250px;
    justify-content: center;
    text-align: center;
}

#selecCatego {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5rem;
    background-color: rgb(233, 194, 121);
    text-align: center;
    text-decoration: none;
    border-radius: 0.25rem;
    border: 2px solid rgb(233, 194, 121);
    color: white;
    user-select: none;
    outline: none;
    appearance: none;
    width: 30%;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#selecCatego:hover{
    cursor: pointer;
    border: 2px solid rgb(233, 175, 68);
    background-color: rgb(233, 175, 68);
    color: white;
    outline: none;
}


#boton-carrito{
    display: inline-block;
    line-height: 1.5rem;
    text-align: center;
    text-decoration: none;
    background-color: rgb(233, 194, 121);
    border: 2px solid rgb(233, 194, 121);
    color: white;
    padding: 0.85rem 1.2rem;
    user-select: none;
    font-size: 1.5rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#boton-carrito:hover{
    cursor: pointer;
    border: 2px solid rgb(233, 175, 68);
    background-color: rgb(233, 175, 68);
    color: white;
    outline: none;
    

}

.nav-contactos{
    display: flex;
}

.contactos{
    padding: 0;
}

.contactos li{
    margin-top: 20px;
    list-style: none;
    font-size: 1.8rem;
}

.btn-nav{
    color: rgb(233, 194, 121);
}



#contenedor-productos{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 60px auto;

}

.producto{
    max-width: 30%;
    margin-bottom: 20px;
    box-shadow: 0px 5px 4px 3px rgba(117, 21, 85, 0.1);
}

#cardTarjeta {
    position: unset;
}

.card{
    width: 288px;
    height: 566px;
}

p{
    line-height: 1.5rem;
}

select{
    display: inline;
    text-align: center;
    border: 1px solid lightskyblue;
}

/* -------- ESTILOS MODAL CARRITO -------- */

.modal-contenedor{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
}


.modal-active{
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

.modal-carrito{
    position: relative;
    background-color: white;
    border: 1px solid rgb(233, 194, 121);
    border-radius: 4px;
    min-width: 500px;
    padding: 20px;
    margin-top: -100%;
    transition: all 0.5s;
}

.modal-active .modal-carrito{
    margin-top: 0;
}

.modal-carrito h3{
    color: rgb(233, 194, 121);
    padding-bottom: 5px;
}

.modal-carrito #carritoCerrar{
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: rgb(233, 194, 121);
    border: none;
    background-color: white;
}

.modal-carrito #carritoCerrar:hover{
    cursor: pointer;
}

.modal-carrito #carritoCerrar:focus{
    outline: none;
}

.modal-carrito .precioProducto{
    padding-top: 10px;
}

.card .card-img-top .card-tittle{
    position: relative;
}

.productoEnCarrito{
    border-left: 5px solid lightblue;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
    margin: 5px 0;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between; 
}

.productoEnCarrito:hover{
    border-left: 5px solid rgb(243, 84, 216);
}

.boton-eliminar{
    background-color: white;
    color: rgb(243, 84, 216);
    border: none;
    font-size: 20px;
}

.boton-eliminar:hover{
    cursor: pointer;
}

.boton-eliminar:focus{
    outline: none;
}



/* --------- ESTILOS MODAL TARJETA ---------*/

.datos p {
    margin-bottom: 0 !important;
}

.modal-contenedor-tarjeta {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;

}

.modal-contenedor-tarjeta-active {
    opacity: 1;
    visibility: visible;
    z-index: 6;
}


.tarjeta {
    width: 100%;
    height: 100%;
    max-height: 300px;
    max-width: 470px;
    position: relative;
    color: #fff;
    transition: .3s ease all;
    transform: rotateY(0deg);
    transform-style: preserve-3d;
    cursor: pointer;
    z-index: 2;

}

.tarjeta.active {
    transform: rotateY(180deg);
}

.tarjeta > div {
    padding: 30px;
    border-radius: 15px;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 10px 0 rgba(90, 116, 148, 0.3);

}

.tarjeta .delantera {
    width: 100%;
    background: url(/img/bg-tarjeta/bg-tarjeta-03.jpg);
    background-size: cover;
}

.delantera .logo-marca {
    text-align: right;
    min-height: 50px;
}

.delantera .logo-marca img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 80px;

}

.delantera .chip {
    width: 100%;
    max-width: 50px;
    margin-bottom: 20px;
}

.delantera .grupo .label {
    font-size: 16px;
    color: #7d8994;
    margin-bottom: 5px;
}

.delantera .grupo .numero,
.delantera .grupo .nombre,
.delantera .grupo .expiracion {
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
}

.delantera .flexbox {
    display: flex;
    justify-content: space-between;
}

/*****************************/

.trasera {
    background: url(/img/bg-tarjeta/bg-tarjeta-03.jpg);
    background-size: cover;
    position: absolute;
    top: 0;
    transform: rotateY(180deg);
    backface-visibility: hidden;
}

.trasera .barra-magnetica {
    height: 40px;
    background: #000;
    width: 100%;
    position: absolute;
    top: 30px;
    left: 0;
}

.trasera .datos {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;

}

.trasera .datos p {
    margin-bottom: 5px;
}

.trasera .datos #firma {
    width: 70%;
}

.trasera .datos #firma .firma {
    height: 40px;
    background: repeating-linear-gradient(skyblue 0, skyblue 5px, orange 5px, orange 10px);
}

.trasera .datos #firma .firma p {
    line-height: 40px;
    color: #000;
    font-size: 30px;
    padding: 0 10px;
    text-transform: capitalize;
}

.trasera .datos #cvv {
    width: 20%;
}

.trasera .datos #cvv .cvv {
    background: #fff;
    height: 40px;
    color: #000;
    padding: 10px;
    text-align: center;
}

.trasera .leyenda {
    font-size: 14px;
    line-height: 24px;
}

.trasera .link-banco {
    font-size: 14px;
    color: #fff;
}

.contenedor-btn .btn-abrir-form{
    width: 50px;
    height: 50px;
    font-size: 20px;
    line-height: 20px;
    background: #2364d2;
    color: #fff;
    position: relative;
    top: -25px;
    z-index: 3;
    border-radius: 100%;
    box-shadow: 5px 4px 8px rgba(24, 56, 182, 0.4);
    padding: 5px;
    transition: all .2s ease;
    border: none;
    cursor: pointer;
}

.contenedor-btn .btn-abrir-form:hover {
    background: #1850b1;
}

.contenedor-btn .btn-abrir-form.active {
    transform: rotate(45deg);
}

/*---------FORMULARIO TARJETA-----------*/

.formulario-tarjeta {
    background: #fff;
    width: 100%;
    max-width: 560px;
    padding: 100px 30px 30px 30px;
    border-radius: 10px;
    position: relative;
    top: -150px;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path .3s ease-out;
}

.formulario-tarjeta.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.formulario-tarjeta label {
    display: block;
    color: #7d8994;
    margin-bottom: 5px;
    font-size: 14px;
}

.formulario-tarjeta input,
.formulario-tarjeta select,
.btn-enviar {
    border: 2px solid #ced6e0;
    font-size: 16px;
    width: 100%;
    padding: 5px 12px;
    transition: .3s ease all;
    border-radius: 5px;
}

.formulario-tarjeta input:focus,
.formulario-tarjeta select:focus {
    outline: rgb(4, 4, 4);
    box-shadow: 1px 7px 10px -5px rgba(90, 116, 148, 0.3);
}

.formulario-tarjeta input {
    margin-bottom: 5px;
    text-transform: uppercase;
}

.formulario-tarjeta .flexbox {
    display: flex;
    justify-content: space-between;
}

.formulario-tarjeta .expira {
    width: 100%;
}

.formulario-tarjeta .cvv {
    min-width: 100px;
}

.formulario-tarjeta .grupo-select {
    width: 100%;
    margin-right: 15px;
    position: relative;
}

.formulario-tarjeta select {
    -webkit-appearance: none;
}

.bi-chevron-down {
    position: absolute;
    color: #ced6e0;
    top: 15px;
    right: 15px;
    transition: .3s ease all;
}

.bi-chevron-down:hover {
    color: #93bfed;
}

.formulario-tarjeta .btn-enviar {
    border: none;
    padding: 10px;
    margin: 5px;
    font-size: 22px;
    color: #fff;
    background: #2364d2;
    box-shadow: 2px 2px 10px 0px rgba(0, 85, 212, 0.4);
    cursor: pointer;
}

.formulario-tarjeta .btn-enviar:hover {
    background: #1850b1;
}




