/*GENERAL*/
body {
    padding-top: 90px; 
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/*HEADER + MENU*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 97%;
    background: #daf4ed;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgb(155, 155, 155);
}
.logo {
    display: flex;
    align-items: center;
}
.logo a {
    text-decoration: none;
}
.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2e5f4f;
    letter-spacing: 1px;
    transition: 0.3s ease;
    font-family: "Stack Sans Notch", sans-serif;
}
.logo h1:hover {
    color: #3b7a67;
}
nav {
    display: flex;
    gap: 25px;
}

nav li {
    list-style: none;
}

nav a {
    text-decoration: none;
    color: #0f6c59;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #198f78; 
}
/*carrito + registro */
.acciones {
    display: flex;
    align-items: center;
    gap: 15px;   
}
.carrito img {
    width: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.carrito img:hover {
    transform: scale(1.15);
}

.register a {
    text-decoration: none;
    padding: 8px 15px;
    background: #198f78;
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
}

.register a:hover {
    background: #0f6c59;
}

/*CARRITO DE COMPRAS DE LA PAGINA*/
.carritoCompras {
    max-width: 850px;
    margin: 40px auto;
    padding: 25px;
    background-color: #f3faf9;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

/*Titulo del carrito de compras*/
.carritoCompras h2 {
    text-align: center;
    color: #056d61;
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* CONTENEDOR donde iran los productos */
.carrito-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Cada uno de los items del carrito*/
.carrito-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #cfe3df;
}

/* imagen del producto*/
.carrito-img {
    width: 90px;
    height: 90px;
    margin-right: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.carrito-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Informacion del carrito */
.carrito-info {
    flex: 1;
}

.carrito-info h4 {
    font-size: 1rem;
    color: #056d61;
    margin-bottom: 6px;
}

.carrito-precio {
    font-weight: bold;
    color: #ff6b6b;
    display: block;
    margin-bottom: 10px;
}

/* Campo para la cantidad que comprar del producto*/
.carrito-info input[type="number"] {
    width: 60px;
    padding: 5px;
    border-radius: 6px;
    border: 1px solid #cfe3df;
}

/* BOTÓN DE ELIMINAR PRODUCTO */
.btn-eliminar {
    background-color: #ff6b6b;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color .3s;
}

.btn-eliminar:hover {
    background-color: #e25757;
}

/* TOTAL DEL CARRITO */
.carrito-total {
    text-align: right;
    margin-top: 25px;
}

.carrito-total h3 {
    color: #056d61;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
/* BOTÓN DE COMPRAR */
.btn-comprar {
    background-color: #056d61;
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color .3s, transform .2s;
}

.btn-comprar:hover {
    background-color: #044d44;
    transform: scale(1.05);
}

/*FOOTER */

footer {
    text-align: center;
    padding: 20px 0;
    background-color: #f1f1f1;
}

footer p {
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.logo img {
    width: 70px;  
}
.icon {
    width: 30px; 
    height: auto;
    margin: 0 5px;
}