body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-bg-color);
}
@font-face {
    font-family: "Fisterra";
    src: url("/custom/readysite/frontend/fonts/fisterra.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* HEADER */
.site-header {
    background: white;
    padding: 15px 0 0;
    text-align: center;
    border-bottom: 1px solid #ddd;
    /*position: sticky;
    top: 0;
    z-index: 150;*/
    /* sopra al resto */
}

.site-header .logo img {
    max-height: 60px;
    width: auto;
}

.header-bg-image {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
    background-position: center;
    background-position-y: top;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 470px) {
    .header-bg-image {
        height: 200px;
    }
}
.page-title {
    position: relative;
    font-size: 20px;
    color: #ffffff;
    text-align:center;
    max-width: 1200px;
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 470px) {
    .page-title {
        font-size: 16px;
        line-height: 30px;
        margin-top: 0px;
    }  
}

.overlay {
    width: 100%;
    background: rgb(0 0 0 / 40%);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

/* MENU ORIZZONTALE */
.menu-categories {
    position: sticky;
    top: 0;
    /*background: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    z-index: 100;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    /* Firefox */
}

.categories-wrapper::-webkit-scrollbar {
    display: none;
}

.categories-wrapper button {
    flex: 0 0 auto;
    margin: 0 10px;
    padding: 10px 20px;
    border: none;
    background: var(--secondary-bg-color);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 15px;
}

.categories-wrapper button:hover {
    background: #e3e3e3;
}

.featured-categories-wrapper {
    justify-content: center;
}
.featured-categories-wrapper button {
    background: #dda87b;
}
.featured-categories-wrapper button:hover {
    opacity: 0.9;
    background: #dda87b;
}

/* SEZIONI */
.category {
    padding: 40px 20px;
}
.category-name {
    border-bottom: 2px solid var(--tertiary-bg-color);
    display: inline-block;
    padding-bottom: 5px;
}

.menu-note {
    padding: 0 20px;
}
.menu-name {
    font-size: 26px;
    text-align: center;
    margin-top: 20px;
}
.menu-subtitle {
    font-size: 18px;
    text-align: center;
    margin-top: 5px;
}
.menu-description {
    font-size: 16px;
    text-align: center;
    margin-top: 5px;
}

.grid-dishes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dish {
    position: relative;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    cursor: pointer;
}

.dish-info {
    flex: 1;
    padding-right: 20px;
}

.dish-img img {
    max-width: 120px;
    border-radius: 5px;
}

.item-price {
    font-weight: bold;
    color: #333;
}
.item-name {
    color: var(--primary-color);
    font-size: 24px;
    text-transform: uppercase;
    line-height: 32px;
}
.item-description {
    color: var(--primary-color);
    font-weight: 400;
}
.item-price {
    color: var(--primary-color);
    font-weight: bold;
}

.item-allergens {
    font-size: 14px;
    color: var(--tertiary-color);
    font-weight: 300;
}
.item-allergens span {
    font-weight: bold;
}

/* MODALE */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-dishes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-dishes {
        grid-template-columns: 1fr;
    }
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    color: #68615D;
    font-size: 15px;
}
.footer-social a {
    color: #885F1F;
    margin-right: 16px;
    transition: color 0.3s;
    display: inline !important;
    float: none !important;
}

.footer-social a i {
    font-size: 24px;
}

.footer-social a:hover {
    color: #885F1F;
}

.footer-bottom {
    padding: 20px 20px;
}

.footer-bottom-boxed {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #68615D;
    font-size: 16px;
}

.footer-bottom-content {
    max-width: 768px;
    margin: 0 auto;
}

.footer-bottom-boxed .footer-bottom-content div {
    float: left;
    margin-right: 14px;
    font-size: 15px;
    margin-top: 8px;
}

.footer-bottom-boxed a {
    color: #885F1F;
}

.iub__us-widget {
    display: none !important;
}