body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e;
    color: #f5f5f5;
    line-height: 1.6;
}

/* Encabezado */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #162447;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 150px;
    height: 10px
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.2);
}

.logo:hover {
    transform: scale(1.1);
    filter: brightness(1.5);
}

header h1 {
    margin: 0;
    font-size: 2rem;
    color: #4ecca3;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Menú de navegación */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #4ecca3;
    color: #162447;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}
/* Campo de búsqueda */
#searchForm {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #162447;
    border-radius: 25px;
    padding: 5px 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

#searchForm:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

#searchInput {
    flex: 1;
    border: none;
    background-color: transparent;
    color: #f5f5f5;
    font-size: 1rem;
    padding: 5px;
    outline: none;
}

#searchInput::placeholder {
    color: #aaa;
    font-style: italic;
}
/* Ícono de lupa */
button[type="submit"] {
    background-color: #4ecca3;
    border: none;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

button[type="submit"]:hover {
    background-color: #38b0a1;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

button[type="submit"] img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}
/* Carrito e íconos */
.carrito-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.carrito-container a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.carrito-icon {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.2);
}

.carrito-icon:hover {
    transform: scale(1.2);
    filter: brightness(1.5);
}

/* Menú del usuario */
.user-menu {
    position: relative;
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(1.2);
}

.user-icon:hover {
    transform: scale(1.1);
    filter: brightness(1.5);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a2e;
    border: 1px solid #4ecca3;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1100;
}

.dropdown-content a, .dropdown-content p {
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #4ecca3;
    color: #162447;
}

.user-menu:hover .dropdown-content {
    display: block;
}

/* Carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%;
    transition: left 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.carousel-slide.active {
    left: 0;
    opacity: 1;
}

/* Botones de navegación */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.carousel-indicators span.active {
    background-color: white;
}

/* Productos */
#productos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.producto {
    background-color: #162447;
    border: 1px solid #4ecca3;
    border-radius: 10px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.producto:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

.producto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.producto h3 {
    font-size: 1.2rem;
    color: #4ecca3;
    margin: 10px 0;
}

.producto p {
    font-size: 0.95rem;
    margin: 5px 0;
    color: #f5f5f5;
}

button {
    background-color: #4ecca3;
    color: #162447;
    border: none;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    color: #162447;
}

/* Notificaciones */
#notification {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4ecca3;
    color: #162447;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    animation: fade-in-out 3s forwards;
    z-index: 2000;
}

@keyframes fade-in-out {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px);
    }
    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }
}
 /* Estilo del banner de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a2e;
    color: #f5f5f5;
    text-align: center;
    padding: 15px 10px;
    font-size: 0.9rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none; /* Inicialmente oculto */
}

.cookie-banner a {
    color: #4ecca3;
    text-decoration: underline;
    font-weight: bold;
}

.cookie-banner a:hover {
    color: #38b0a1;
}

.cookie-banner .btn-accept {
    background-color: #4ecca3;
    color: #162447;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cookie-banner .btn-accept:hover {
    background-color: #ffffff;
    color: #162447;
}
