body {
    background: #faf5ee;
    background-image: url('../images/bg.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: top center;
    font-family: 'Tajawal', Arial, sans-serif;
    color: #40250d;
    margin: 0;
    padding: 0;
}
header {
    background: linear-gradient(to bottom, #8b5e3c 0%, rgba(139,94,60,0.0) 100%);
    color: #fff;
    text-align: center;
    padding: 20px 0 0 0;
}
.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;
}
.brand-logo img {
    max-width: 250px;
    max-height: auto;
    display: block;
    margin: 0 auto;
}
.brand {
    font-size: 2.3rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 7px;
}
.tabs-nav-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* background: #f7e7cb; */
    /* border-bottom: 2px solid #e0c094; */
}
.tabs-nav-wrapper::-webkit-scrollbar {display:none;}
.main-nav.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 10px 0;
    flex-wrap: wrap;
    min-width: 600px;
    width: fit-content;
    margin: 0 auto;
}
@media (max-width: 900px) {
    .main-nav.tabs-nav {
        min-width: 470px;
        gap: 13px;
    }
}
@media (max-width: 700px) {
    .main-nav.tabs-nav {
        min-width: unset;
        width: max-content;
        justify-content: flex-start;
        gap: 12px;
    }
    .tabs-nav-wrapper {
        overflow-x: auto;
        padding-bottom: 5px;
    }
}
.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: none;
    outline: none;
    font: inherit;
    cursor: pointer;
    color: #654321;
    font-size: 1rem;
    min-width: 85px;
    padding: 0 6px 3px 6px;
    opacity: 0.75;
    transition: opacity .15s, border-bottom .2s;
    border-bottom: 3px solid transparent;
}
.nav-item img {
    width: 90px;
    height: auto;
    background: #e7d2b2;
    border-radius: 30px;
    margin-bottom: 5px;
    object-fit: cover;
    border: 2px solid #b4895c;
}
.nav-item.active {
    color: #a24e18;
    opacity: 1;
    border-bottom: 3px solid #a24e18;
}
.nav-item span {
    font-weight: bold;
    margin-top: 2px;
    font-size: 0.99rem;
    white-space: nowrap;
}
.menu-section {
    max-width: 1000px;
    margin: 42px auto 0 auto;
    background: #fff9f1;
    border-radius: 16px;
    padding: 32px 22px 18px 22px;
    box-shadow: 0 2px 15px #e9dab7;
    display: none;
}
.menu-section.active {
    display: block;
}
.menu-section h2 {
    font-size: 1.4rem;
    color: #a24e18;
    margin-bottom: 18px;
    text-align: right;
    border-bottom: 1px solid #f3e1c5;
    padding-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-img {
    width: 80px;
    height: auto;
    background: #ecd0a0;
    border-radius: 100%;
    border: 1px solid #c2a174;
    object-fit: cover;
    margin-left: 7px;
}
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.menu-row {
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}
.menu-item {
    flex: 1 1 0;
    background: #f5eee4;
    border-radius: 9px;
    border: 1px solid #e2cfb6;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px 10px 11px;
    margin-bottom: 0;
    font-size: 1.05rem;
    min-width: 0;
    min-height: 53px;
    box-sizing: border-box;
}
.menu-item.empty {
    background: none;
    border: none;
    box-shadow: none;
}
.item-name {
    font-weight: 500;
    color: #513610;
    letter-spacing: 1px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 13px;
}
.item-meta {
    color: #b26a19;
    font-size: 1.09rem;
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-shrink: 0;
    white-space: nowrap;
}
.item-meta small {
    font-size: 0.50em;
    color: #847055;
    /* margin-right: 2px; */
    /* margin-left: 1px; */
    vertical-align: middle;
    letter-spacing: 0;
}
.sub-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #8b5e3c;
    background: #f4e1b8;
    padding: 9px 16px 7px 0;
    border-radius: 6px;
    margin: 18px 0 5px 0;
    border-right: 5px solid #e9cf94;
    text-align: right;
}
@media (max-width: 900px) {
    .menu-section { max-width: 99vw; padding: 13px 2vw;}
    .brand { font-size: 1.4rem;}
    .menu-section h2 { font-size: 1rem;}
    .menu-row { gap: 9px;}
}
@media (max-width: 700px) {
    .menu-row { flex-direction: column; gap: 0; }
    .menu-item { margin-bottom: 7px; }
}
footer {
    background: linear-gradient(to top, #8b5e3c 0%, rgba(139,94,60,0.0) 100%);
    color: #fff;
    text-align: center;
    padding: 15px 0 11px 0;
    margin-top: 55px;
    font-size: 1rem;
}
.copyright {
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 0.2px;
    line-height: 1;
}
footer a {
    color: #ffe8b8;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover {
    color: #fff9d6;
}

.lang-switch {
    text-align: center;
    margin: 22px 0 32px 0;
}

.lang-btn-modern {
    display: inline-block;
    min-width: 220px;
    padding: 15px 36px;
    background: linear-gradient(90deg, #8b5e3c 75%, #d6ae7b 100%);
    color: #fff !important;
    font-size: 1.18rem;
    font-weight: bold;
    border: none;
    border-radius: 33px;
    box-shadow: 0 4px 22px 0 rgba(139,94,60,0.16), 0 1.5px 5px #d2bb99;
    cursor: pointer;
    letter-spacing: 0.4px;
    transition: background 0.17s, color 0.13s, transform 0.11s;
    text-decoration: none !important;
    outline: none;
    position: relative;
    margin-top: 2px;
}
.lang-btn-modern:hover,
.lang-btn-modern:focus {
    background: linear-gradient(90deg, #d6ae7b 0%, #8b5e3c 100%);
    color: #ffe8b8 !important;
    transform: translateY(-1.5px) scale(1.04);
    box-shadow: 0 11px 28px 0 rgba(139,94,60,0.18), 0 2.5px 10px #bca074;
}
