/* Estilos base */
body, html {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
    color: #2d3436;
	padding: 0 40px;
}

/* Barra de navegación */
.navbar {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 25px 25px;
	margin-left: -80px;
	margin-right: -80px;
}

.logo {
    height: 100px;
    width: auto;
    border: 2px solid white;
    border-radius: 4px;
    padding: 4px;
    background-color: white;
}

/* Contenedor de búsqueda */
.search-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
    position: relative;
}

.search-bar {
    width: 60%;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1.1em;
    background-color: rgba(255, 255, 255, 0.95);
    color: #2d3436;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-button {
    padding: 12px 25px;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1em;
    margin-left: 10px;
}

.login-btn {
    background: #4ECDC4;
    color: white;
    padding: 12px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* Glosario */
.glossary {
    display: none;
    position: absolute;
    top: 45px;
    left: 20%;
    width: 60%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-bar:focus + .search-button + .glossary {
    display: block;
}

/* Contenido principal */
.content {
    display: flex;
    gap: 1.5rem;
    padding: 15px;
    margin-bottom: 1.5rem;
    min-height: 600px;
    align-items: stretch;
}

.market-info {
    flex: 1.2;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.right-content {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Lista de ingredientes */
.ingredients-list {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.ingredients-list ul {
    padding: 0;
}

.ingredients-list li {
    background: #f8f9fa;
    border-radius: 15px;
    margin: 12px 0;
    padding: 15px 20px;
    list-style: none;
    position: relative;
}

.ingredients-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: #FF6B6B;
    border-radius: 3px;
}

/* Secciones de recetas y mercados */
.recipes-section, .markets-section {
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex: 1;
}

/* Foto principal */
.photo-box {
    flex: 1;
    display: flex;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Títulos */
h1, h2, h3, h4, h5 {
    color: #2d3436;
    position: relative;
    padding-bottom: 10px;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #FF6B6B;
    border-radius: 2px;
}

/* Items de mercado y recetas */
.puesto-item, .recipe-item {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 10px;
    margin: 8px 0;
    list-style: none;
}

/* Mercados destacados */
.featured-markets {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 0 20px 20px 20px;
}

.featured-markets ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0;
}

.featured-markets li {
    list-style: none;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
}

.margin-border{
	
}