
/* Reset global de box-sizing para consistencia */
*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
    font-family: 'AvenirLTStd85Heavy';
    src: url('fonts/AvenirLTStd85Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'AvenirLTStd95Black';
    src: url('fonts/AvenirLTStd95Black.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded100';
    src: url('fonts/MuseoSansRounded100.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded300';
    src: url('fonts/MuseoSansRounded300.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded500';
    src: url('fonts/MuseoSansRounded500.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded700';
    src: url('fonts/MuseoSansRounded700.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded900';
    src: url('fonts/MuseoSansRounded900.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'MuseoSansRounded1000';
    src: url('fonts/MuseoSansRounded1000.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Birthlong';
    src: url('fonts/Birthlong.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --green-brand: #2d5a3a; /* El verde oscuro de Vitalsinú */
    --text-color: #4a4a4a;
    --header-height-large: 90px;
    --header-height-small: 60px;

    --primary-green: #4a7c2c;
    --light-green: #68a33f;
    --dark-text: #333;
    --bg-light: #f9f7f2;
    --white: #ffffff;
    --text-gray: #4e4e4e;

    --green-vitalsinu: #4c8c04; /* Verde brillante de los botones */
    --dark-green: #2d5a3a;

    --green-light: #528c2c;
    
    /* Tipografía: Reemplaza con tus rutas reales */
    --font-rounded-book: 'MuseoSansRounded300', sans-serif;
    --font-rounded-bold: 'MuseoSansRounded700', sans-serif;
    --font-rounded-black: 'MuseoSansRounded900', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'MuseoSansRounded300', sans-serif;
    background-color: var(--bg-light);
    color: var(--dark-text);
    padding-top: var(--header-height-large);
    letter-spacing: -0.03em;
}

/* Sobrescribir colores de enlaces de Bootstrap con colores temáticos */
a {
    color: #2d5a3a; /* Verde oscuro de la marca */
}

a:hover {
    color: #009d3d; /* Verde brillante temático */
}

input[type="checkbox"] {
    accent-color: var(--green-brand);
    cursor: pointer;
}

h2 {
    font-family: 'MuseoSansRounded500';
}

/* Navbar */
.main-header {
    width: 100%;
    height: var(--header-height-large);
    background-color: #f7f3f0; 
    background-image: url("images/paper-back.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    
    /* CAMBIOS PARA EL SCROLL */
    position: fixed;      /* Se mantiene fijo en la pantalla */
    top: 0;
    left: 0;
    z-index: 1000;        /* Asegura que esté por encima de todo */
    transition: all 0.4s ease; /* Transición suave para la altura y sombra */
}

/* Clase que se activará con JavaScript al hacer scroll */
.main-header.shrink {
    height: var(--header-height-small);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Sombra más pronunciada al reducirse */
    background-color: rgba(248, 245, 241, 0.95); /* Opcional: un poco de transparencia */
}

.header-container {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo del Logo */
.logo {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-brand);
    letter-spacing: -1px;
    cursor: pointer;
}

/* Navegación */
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
}

/* Iconos */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    padding: 0;
    transition: transform 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
    color: var(--green-brand);
}

.icon-btn.user-icon {
    color: #8f8f8f; /* Gris estético para diferenciar el usuario */
}

.icon-btn.user-icon-active {
    color: #009d3d; /* Verde brillante para indicar sesión activa */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 18px;
    padding: 5px 0;
    /* Posición relativa necesaria para que el ::after se posicione respecto al link */
    position: relative; 
    transition: color 0.3s ease;
}

/* Creación del subrayado invisible */
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Espacio entre el texto y la línea */
    width: 0;      /* Empieza en cero para la animación */
    height: 3px;
    background-color: var(--green-brand);
    /* AQUÍ LA TRANSICIÓN SOLICITADA */
    transition: width 0.3s ease;
}

/* Estado al hacer Hover: el ancho crece al 100% */
.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--green-brand);
}

/* Mantener el estado activo fijo para la página actual */
.nav-menu a.active::after {
    width: 100%;
}


/* Banner Section */
.banner {
    width: 100%;
    min-height: 450px;
    /* Reemplazar con la ruta de tu imagen local */
    background: linear-gradient(to right, rgba(0,0,0,0.5) 20%, transparent 80%),
                url('https://vitalsinu.s3.us-east-1.amazonaws.com/staticlp/images/desayuno.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 20px 0;
}

.banner-container {
    width: 90%;
    margin: 0 auto;
}

.banner-content {
    max-width: 700px;
}

.banner-content h1 {
    font-size: 2.3rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.banner-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.banner-features li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.check {
    color: var(--green-vitalsinu);
    font-weight: bold;
    margin-right: 12px;
}

/* Botones */
.banner-actions {
    display: flex;
    gap: 20px;
}

.btn-buy {
    /* El degradado va de un verde lima a un verde bosque */
    background: linear-gradient(to bottom, #76b82a 0%, #2b4d06 100%);
    border: none;
    color: white;
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    /* Sombra sutil para dar profundidad */
    transition: filter 0.3s ease;
    text-decoration-line: none;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.4);
}

.btn-buy:hover {
    color: #ffffff;
    filter: brightness(1.1);
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.7);
}

.btn-whatsapp {
    background-color: #e9e9e9;
    background-color: var(--white);
    color: #333;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.4);
}

.btn-whatsapp:hover {
    background-color: #ffffff;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.7);
}


/* Cards Section */
.categories {
    padding: 30px 5%;
    text-align: center;
}

.highlight {
    color: var(--primary-green);
}

.card-container {
    padding: 10px 0;
    display: flex;
    /* Permite el salto de línea */
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: flex-start; /* Alinea al inicio de la fila */
}

.card {
    /* Calculamos el ancho: (100% / 6 tarjetas) - (espacio del gap).
       Usamos calc() para que sea exacto.
    */
    flex: 0 1 calc((100% / 4) - 20px); 
    min-width: 150px; /* Evita que se encojan demasiado */
    box-sizing: border-box;
    box-shadow: -5px 8px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px); /* Efecto de levante al pasar el mouse */
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.btn-card {
    /* El degradado va de un verde lima a un verde bosque */
    background: linear-gradient(to bottom, #76b82a 0%, #2b4d06 100%);
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    /* Sombra sutil para dar profundidad */
    transition: filter 0.3s ease;
    text-decoration-line: none;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.4);
}

.btn-card:hover {
    color: #ffffff;
}

/* Features */
.favorites-section {
    padding: 20px 5%;
    text-align: center;
}

.favorites-container {
    padding: 20px 0;
    display: flex;
    /* Permite el salto de línea */
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: flex-start; /* Alinea al inicio de la fila */
}

.favorite-item {
    flex: 0 1 calc((100% / 4) - 20px);
    min-width: 150px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.favorite-item:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* Línea divisoria sutil entre elementos */
.favorite-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: #e0e0e0; /* Gris muy tenue como en la imagen */
}


.favorite-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.favorite-label {
    font-size: 15px;
    font-weight: 600;
    color: #444;
}

/* Advice banner */
.advice-parallax-banner {
    width: 100%;
    min-height: 450px;
    position: relative;
    /* Implementación del efecto Paralaje */
    background-image: url('https://vitalsinu.s3.us-east-1.amazonaws.com/staticlp/images/cerealesYpasto.png'); /* */
    background-attachment: fixed; /* Clave para el efecto paralaje */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 50px 0;
    overflow: hidden;
}

/* Oscurecemos un poco el fondo para resaltar el texto blanco del prototipo */
.parallax-overlay {
    background: rgba(0, 0, 0, 0.3); /* */
    width: 100%;
    height: 100%;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.advice-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.advice-text-content {
    text-align: center;
    flex: 1;
    color: white;
    padding-left: 50px;
}

.parallax-title {
    font-family: 'Quicksand', sans-serif; /* */
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.parallax-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
    font-weight: 500;
}


.advice-products-showcase {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.floating-products {
    max-width: 400px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

/* Animación sutil de levitación para los productos */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Ajuste para dispositivos móviles (el paralaje fixed suele desactivarse en móvil por rendimiento) */
@media (max-width: 768px) {
    .advice-parallax-banner {
        background-attachment: scroll;
    }
    .advice-flex {
        flex-direction: column;
        text-align: center;
    }
    .advice-text-content {
        padding: 40px 20px;
    }
}

/* Estilos para la sección de confianza */
.store-banner {
    width: 100%;
    max-width: 1100px;
    height: 250px;
    margin: 0 auto;
    border-radius: 15px;
    background-image: url('https://vitalsinu.s3.us-east-1.amazonaws.com/staticlp/images/estante.png'); /* Imagen de la tienda */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.store-overlay {
    position: absolute;
    bottom: 35%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Capa oscura para legibilidad */
    padding: 20px;
    color: white;
}

.store-overlay h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* Estilos del Footer */
.main-footer {
    width: 100%;
    padding: 30px 0;
    /* Fondo con textura de papel y color crema sutil */
    background-color: #f8f5f1;
    background-image: url("images/paper-back-6.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilo de los enlaces */
.footer-links {
    margin: 0 5%;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #4a4a4a;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2d5a3a; /* Cambio al verde de la marca */
}

.footer-divider {
    margin: 0 10px;
    color: #888;
}

/* Estilo de Redes Sociales */
.footer-socials {
    margin: 0 5%;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #3b4b5a; /* Color gris azulado oscuro de la imagen */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    /* Efecto difuminado sutil en la sombra */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    background-color: #2d5a3a;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------------------ *\
	Nav trigger (Menú Hamburguesa)
\* ------------------------------------------------------------ */
.nav-trigger {
    display: none;
	position: relative;
	width: 22px;
	height: 17px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-trigger span {
	position: absolute;
	display: block;
	height: 3px;
	width: 100%;
	border-radius: 0;
	background: var(--green-brand);
	-webkit-transition: top 0.2s 0.25s, opacity 0.2s 0.25s,
		-webkit-transform 0.2s 0s;
	transition: top 0.2s 0.25s, opacity 0.2s 0.25s, -webkit-transform 0.2s 0s;
	-o-transition: top 0.2s 0.25s, opacity 0.2s 0.25s, transform 0.2s 0s;
	transition: top 0.2s 0.25s, opacity 0.2s 0.25s, transform 0.2s 0s;
	transition: top 0.2s 0.25s, opacity 0.2s 0.25s, transform 0.2s 0s,
		-webkit-transform 0.2s 0s;
}

.nav-trigger span:nth-child(1) {
	top: 0;
}

.nav-trigger span:nth-child(2) {
	top: 7px;
}

.nav-trigger span:nth-child(3) {
	top: 14px;
}

.nav-trigger.nav-trigger--active span {
	-webkit-transition: background 0.2s, top 0.2s, opacity 0.2s,
		-webkit-transform 0.2s 0.25s;
	transition: background 0.2s, top 0.2s, opacity 0.2s,
		-webkit-transform 0.2s 0.25s;
	-o-transition: background 0.2s, top 0.2s, opacity 0.2s, transform 0.2s 0.25s;
	transition: background 0.2s, top 0.2s, opacity 0.2s, transform 0.2s 0.25s;
	transition: background 0.2s, top 0.2s, opacity 0.2s, transform 0.2s 0.25s,
		-webkit-transform 0.2s 0.25s;
}

.nav-trigger.nav-trigger--active span:nth-child(3),
.nav-trigger.nav-trigger--active span:nth-child(1) {
	top: 7px;
}

.nav-trigger.nav-trigger--active span:nth-child(2) {
	opacity: 0;
}

.nav-trigger.nav-trigger--active span:nth-child(1) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.nav-trigger.nav-trigger--active span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

/* Tablets y pantallas medianas (max-width: 992px) */
@media (max-width: 992px) {
    .nav-trigger {
        display: block;
    }

    /* Menú de navegación móvil */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(248, 245, 241, 0.98);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
        
        /* Oculto por defecto, se muestra con la clase .active */
        display: none; 
        flex-direction: column;
        align-items: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }

    /* Ajuste de tarjetas (2 por fila) */
    .card {
        flex: 0 1 calc(50% - 20px);
    }

    .favorite-item {
        flex: 0 1 calc(50% - 20px);
    }
    
    /* Quitar separador en favoritos para evitar líneas extrañas en grid */
    .favorite-item:not(:last-child)::after {
        display: none;
    }
}

/* Móviles (max-width: 600px) */
@media (max-width: 600px) {
    /* Banner principal */
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-buy, .btn-whatsapp {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Tarjetas a ancho completo */
    .card, .favorite-item {
        flex: 0 1 100%;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Estilos del Modal de Login */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    align-items: center;
    justify-content: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.login-modal-content {
    position: relative;
    background-color: #f7f3f0;
    background-image: url("images/paper-back.png"); /* Textura de papel */
    padding: 50px 30px 30px 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    margin: auto;
    font-family: 'MuseoSansRounded300', sans-serif;
    box-sizing: border-box;
}

.login-modal-content * {
    box-sizing: border-box;
}

/* Estilos para mensajes de alerta en modales */
.login-modal-content .alert {
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.login-modal-content .alert i {
    font-size: 16px;
}

.login-modal-content .alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #842029;
}

.login-modal-content .alert-success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

.login-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.login-modal-title {
    font-family: 'MuseoSansRounded700', sans-serif;
    color: #333;
    font-size: 1.3rem;
    text-align: left;
    margin: 0 0 15px 0;
    padding: 0 40px 0 0;
    line-height: 1.4;
}

.login-modal-subtitle {
    font-family: 'MuseoSansRounded300', sans-serif;
    color: #666;
    font-size: 0.9rem;
    text-align: left;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.input-group-custom {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .login-modal-content {
        width: 95%;
        padding: 50px 20px 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .login-modal-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }
    
    .login-modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 30px;
    }
    
    .input-group-custom {
        margin-bottom: 12px;
    }
}

.input-group-custom {
    margin-bottom: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.input-group-custom label {
    display: block;
    font-family: 'MuseoSansRounded500', sans-serif;
    color: #4a4a4a;
    font-size: 0.9rem;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.input-group-custom label i {
    margin-right: 8px;
    color: #8cb85c; /* Verde de la marca */
}

.input-group-custom input {
    width: 100%;
    padding: 7px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    box-sizing: border-box;
    max-width: 100%;
}

.input-group-custom input.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.input-group-custom .error-text {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: 'MuseoSansRounded500', sans-serif;
}

.input-group-custom .error-text i {
    margin-right: 5px;
}

.form-check-custom .error-text {
    display: block;
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
    font-family: 'MuseoSansRounded500', sans-serif;
}

.form-check-custom .error-text i {
    margin-right: 5px;
}

/* Manejo de contraseña con icono de ojo */
.password-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.password-wrapper input {
    width: 100%;
    max-width: 100%;
    padding-right: 40px; /* Espacio para el ícono */
    box-sizing: border-box;
}

.toggle-password,
.toggle-password-register,
.toggle-password-confirm {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    z-index: 10;
    font-size: 1.1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover,
.toggle-password-register:hover,
.toggle-password-confirm:hover {
    color: #666;
}

/* Botón con estilo Vitalsinú */
.btn-login-submit {
    width: auto;
    min-width: 200px;
    background: linear-gradient(to bottom, #8cb85c, #6a9641);
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 3px 0 #4d702d; /* Sombra sólida inferior */
    margin: 20px auto;
    display: block;
}

.login-footer-links {
    text-align: center;
    font-size: 0.85rem;
}

.separator {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 15px 0;
}

.link-secondary { color: #666; text-decoration: none; }
.link-primary { color: #333; font-family: 'MuseoSansRounded700', sans-serif; text-decoration: underline; }
.underline { text-decoration: underline; }

/* Formulario de logout en modal de sesión */
.session-logout-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

.session-logout-form .btn-login-submit {
    margin: 10px auto 0 auto;
}

/* Menú de sesión en modal */
.session-menu {
    width: 100%;
    margin: 20px 0 15px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.session-menu-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    color: #333;
    font-family: 'MuseoSansRounded500', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.session-menu-item:last-child {
    border-bottom: none;
}

.session-menu-item:hover {
    background-color: #f8f8f8;
    color: #009d3d;
}

.session-menu-item i:first-child {
    font-size: 1.1rem;
    width: 24px;
    margin-right: 12px;
    color: #666;
}

.session-menu-item:hover i:first-child {
    color: #009d3d;
}

.session-menu-item span {
    flex: 1;
}

.session-menu-item i:last-child {
    font-size: 0.8rem;
    color: #999;
    margin-left: 8px;
}

.session-menu-item:hover i:last-child {
    color: #009d3d;
    transform: translateX(3px);
}

/* Migas de pan */
.breadcrumb-container {
    padding: 20px 6%;
    background-color: transparent; /* Se integra con el fondo texturizado del cuerpo */
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    font-family: 'MuseoSansRounded300', sans-serif;
    font-size: 16px;
    color: #666; /* Gris suave de la imagen */
}

.breadcrumb-list a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--green-brand);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    opacity: 0.7;
}

.breadcrumb-current {
    color: #333 !important; /* El nivel actual es un poco más oscuro */
    font-weight: 500;
}

/* Contenedor del Adorno de Hierba */
.grass-decoration-container {
    width: 100%;
    position: relative;

}

/* Imagen de la Hierba */
.grass-image {
    width: 100%;
    height: auto;
    display: block;
    /* Ajuste fino para la superposición exacta con el footer */
    position: relative;
    bottom: 0;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 11px;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.icon-btn {
    position: relative;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #009d3d 0%, #006c2a 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'MuseoSansRounded500', sans-serif;
    font-size: 14px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .cart-notification {
        right: 10px;
        left: 10px;
        top: 70px;
    }
}

/* Estilos del Modal de Búsqueda (usando los mismos estilos del modal de login) */
#searchModal .modal-content {
    position: relative;
    background-color: #f7f3f0;
    background-image: url("images/paper-back.png");
    padding: 50px 30px 30px 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    margin: auto;
    font-family: 'MuseoSansRounded300', sans-serif;
    box-sizing: border-box;
}

#searchModal .modal-content * {
    box-sizing: border-box;
}

#searchModal h2 {
    font-family: 'MuseoSansRounded700', sans-serif;
    color: #333;
    font-size: 1.3rem;
    text-align: left;
    margin: 0 0 25px 0;
    padding: 0 40px 0 0;
    line-height: 1.4;
}

#searchModal .login-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#searchModal input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    box-sizing: border-box;
    max-width: 100%;
    margin-bottom: 20px;
    font-family: 'MuseoSansRounded300', sans-serif;
}

#searchModal input[type="text"]:focus {
    outline: none;
    border-color: #8cb85c;
    background: rgba(255, 255, 255, 0.95);
}

#searchModal .btn-buy {
    width: auto;
    min-width: 200px;
    background: linear-gradient(to bottom, #8cb85c, #6a9641);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 8px;
    font-family: 'MuseoSansRounded700', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 3px 0 #4d702d;
    margin: 0 auto;
    display: block;
    transition: all 0.2s ease;
}

#searchModal .btn-buy:hover {
    color: #ffffff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #4d702d;
}

#searchModal .btn-buy:active {
    transform: translateY(1px);
    box-shadow: 0 2px 0 #4d702d;
}

@media (max-width: 768px) {
    #searchModal .modal-content {
        width: 95%;
        padding: 50px 20px 30px 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    #searchModal h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
}
