*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
background:#f8f9fb;
color:#222;
line-height:1.7;
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.ingredients-hero{
padding:80px 0;
text-align:center;
background:#fff;
border-bottom:1px solid #eee;
}

.ingredients-hero h1{
font-size:48px;
margin-bottom:15px;
}

.ingredients-hero p{
max-width:800px;
margin:auto;
font-size:18px;
color:#666;
}

.alphabet-nav{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:10px;
margin-top:35px;
}

.alphabet-nav a{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
border:1px solid #ddd;
border-radius:8px;
background:#fff;
color:#222;
font-weight:700;
transition:.3s;
}

.alphabet-nav a:hover{
background:#111;
color:#fff;
}

.ingredients-directory{
padding:70px 0;
}

.letter-block{
background:#fff;
padding:30px;
border-radius:14px;
margin-bottom:30px;
border:1px solid #eee;
}

.letter-block h2{
font-size:36px;
margin-bottom:20px;
padding-bottom:10px;
border-bottom:1px solid #eee;
}

.ingredient-list{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
gap:12px;
}

.ingredient-list a{
display:block;
padding:14px 18px;
background:#fafafa;
border:1px solid #eee;
border-radius:8px;
text-decoration:none;
color:#222;
transition:.3s;
}

.ingredient-list a:hover{
background:#111;
color:#fff;
transform:translateX(4px);
}

@media(max-width:768px){

.ingredients-hero h1{
font-size:34px;
}

.ingredients-hero p{
font-size:16px;
}

.ingredient-list{
grid-template-columns:1fr;
}

}
