/*
Theme Name: Hello Child
Template: hello-elementor
*/
.macro-tabs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.macro-tabs .tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    background: #f2f2f2;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.macro-tabs .tab.active {
    background: #000;
    color: #fff;
}

.macro-tabs .tab:hover {
    background: #ddd;
}
/*========================
PAGINA MENUWOO
========================*/
.menu-page {
    padding: 20px;
    text-align: center;
}

.menu-title {
    margin-bottom: 20px;
}

.menu-categories {
	max-width: 1120px;
    margin: 0 auto; /* 🔥 centra */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f7f7;
    text-decoration: none;
    color: black;
}

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

.menu-name {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
}

/*========================
PAGINA SOTTOCATEGORIE
========================*/

.subcategories {
    max-width: 1120px;
    margin: 0 auto; /* 🔥 centra */
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px;
}

.subcategory-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: black;
    background: #f7f7f7;
}

/* immagine */

.subcategory-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
	display: flex;
    align-items: center;     /* 🔥 centratura verticale */
    justify-content: center;
}


.subcategory-image img {
   width: 100%;
    
    object-fit: cover;
}

/* nome */
.subcategory-name {
    text-align: center;
    padding: 10px;
    font-weight: bold;
}



.menu-subheader {
    max-width: 1120px;
    margin: 20px auto 10px; /* 👈 spazio sopra e sotto */
    padding: 0 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
}
.back-link {
    display: block;
    text-align: center;
    font-size: 18px;
    color: #00a082;
    text-decoration: none;
    margin-bottom: 4px;
}
.current-category {
    font-size: 20px;
    font-weight: bold;
text-align: center;
}

/*========================
PAGINA STATO ORDINI LATO UTENTE
========================*/
.order-box {
    display: flex;
    flex-direction: column;          /* elementi in verticale */
    align-items: center;             /* centro orizzontale */
    justify-content: center;         /* centro verticale */

    gap: 15px;
    padding: 40px 20px;              /* più alto */
    
    border-radius: 16px;
    background: #f7f7f7;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);

    max-width: 1120px;
    width: 100%;
    margin: 40px auto;               /* centra nella pagina */
    text-align: center;
}

.status-icon {
    font-size: 48px;                 /* più grande */
}

.status-text h2 {
    margin: 0;
    font-size: 24px;                 /* più leggibile */
}

.status-text p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #666;
}
.status-text-info p {
    margin: 5px 0 0;
    font-size: 18px;
    color: #666;
}
/* stati */
.status-prep { background: #fff8e1; }
.status-ready { background: #e8f5e9; }
.status-complete { background: #e3f2fd; }