body {
    background-color: var(--color-off-white);
}

h2{
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;    
}

h3{
    text-align: center;
    font-size: 2.2rem;
    text-transform: capitalize;
    margin-bottom: 1rem;
    color: var(--color-dark-gray);
}

h3 span{
    font-size: 2rem;
}

.navbar-brand img {
    max-height: 60px;
}

nav.navbar {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.navbar-nav .nav-link{
    font-size: 1.2rem;
    font-family: "Tinos", serif;
    margin-right: 2rem;
}
.navbar-nav .nav-link:hover{
    color: var(--color-gold);
}
.menu-item-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;    
    position: relative;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    -webkit-box-shadow: 0 0 .5em .2em rgba(0, 0, 0, .05);
    box-shadow: 0 0 .5em .2em rgba(0, 0, 0, .05);
    padding: 1rem;
    background: var(--color-white);
}
.menu-item-card img {
    width: 75%;
    height: auto;
    border-bottom: 1px solid #ddd;
    border-radius: 50%;
    margin: 1rem auto;
    margin-bottom: 0;
}
.menu-item-card h5 {
    margin: 15px 0;
    text-transform: capitalize;
    color: var(--color-deep-green);
    margin-bottom: 0;
}

.menu-item-card h5 span{
    font-weight: 300;
}

.menu-item-card p{
    margin-top: 1rem;
    font-size: 0.9rem;
}

.menu-item-card p.description{
    margin-bottom: 0;
}

.menu-item-card .prices{
    margin-top: 1rem;
    color: var(--color-crimson-red);
}

.menu-item-card p.price{
    font-size: 1.2rem;
    margin: 0;
    border-top: 1px solid var(--color-light-gray);
    padding: 0.5rem;
}  

.menu-item-card p.price:nth-child(2n){
    border-bottom: 0;
}

.menu-item-card p.price:last-child{
    padding-bottom: 0;
}

.menu-item-card .replacement-icon{
    width: 50%;
    margin: 3rem auto 1rem;
}

/* .row, .row > div[class*='col-'] {  
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:1 0 auto;
} */

.nav-subcategory {
    display: flex;
    justify-content: flex-start; 
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.2rem 0;
    /* scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; */
}

/* .nav-subcategory::-webkit-scrollbar {
    height: 10px;
}

.nav-subcategory::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.nav-subcategory::-webkit-scrollbar-thumb {
    background: var(--color-light-gray);
    border-radius: 10px;
}

.nav-subcategory::-webkit-scrollbar-thumb:hover {
    background: var(--color-soft-beige); 
}

.nav-subcategory {
    scrollbar-width: thin;
    scrollbar-color: var(--color-light-gray) #f1f1f1;
} */

.nav-subcategory::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
 
.nav-subcategory::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 5px;
}
 
.nav-subcategory::-webkit-scrollbar-thumb {
    background-color: var(--color-light-gray);
    border-radius: 5px;
}

.nav-subcategory.sticky{
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    background-color: var(--color-off-white);
    z-index: 10;
    box-shadow: 0 8px 5px -11px var(--color-dark-gray);
    margin-left: -1rem;
    margin-right: -.5rem;
}

.nav-subcategory a {
    display: inline-block;
    padding: .4rem .9rem;
    border-radius: 2rem;
    text-decoration: none;
    color: var(--color-white);
    position: relative;
    transition: all .3s;
    margin: 1.1rem 0.5rem 0.5rem;
    white-space: nowrap; /* Ensure links don't wrap */
    text-transform: capitalize;
    background-color: var(--color-dark-gray);
}

.nav-subcategory a:first-child{
    margin-left: 1rem;
}

.nav-subcategory a.active {
    background: var(--color-crimson-red);
    color: var(--color-soft-beige);
}

.nav-subcategory a:hover {
    background: var(--color-crimson-red);
    color: var(--color-soft-beige);
}

.nav-subcategory .badge {
    color: var(--color-dark-gray);
    position: absolute;
    top: -14px;
    right: 5px;
    background: var(--color-off-white);
    padding: 4px;
    width: 23px;
    line-height: 13px;
    border-radius: 12px;
    text-align: center;
}



.panel {
    width:100%;
}

.allergen-icon {
    cursor: pointer;
    left: 10px;
    top: 10px;    
}

.nutritional-icon{
    cursor: pointer;
    right: 10px;
    bottom: 10px;     
}

.nutritional-panel{
    position: absolute;
    right: 0;
    bottom: 0;
}

.allergen-icon svg, .nutritional-icon svg{
    width: 35px;
    height: 35px;
}

.allergen-icon .allergen-panel {
    position: absolute;
    top: 105%;
    left: 0;
    background: white;
    padding: 0 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.allergen-icon:hover .allergen-panel,
.allergen-icon:focus .allergen-panel {
    display: block;
}

.allergen-icon .allergen-panel ol{
    padding-left: 35px;
}
  
.allergen-icon .allergen-panel li {
    color: #4f4f4f;
    padding-left: 16px;
    margin-top: 24px;
    position: relative;
    font-size: 16px;
    line-height: 20px;
    text-align: left;
}
.allergen-icon .allergen-panel li:before {
    content: "";
    display: block;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    border: 2px solid #ddd;
    position: absolute;
    top: -8px;
    left: -32px;
}
  
.allergen-icon .allergen-panel strong {
    color: #292929;
}
  
ol.alternating-colors li:nth-child(odd):before {
    border-color: #0bad02;
}
ol.alternating-colors li:nth-child(even):before {
    border-color: #2378d5;
}

.performance-facts {
    border: 1px solid black;
    float: left;
    width: 280px;
    padding: 0.5rem;
    background-color: white;
}
.performance-facts table {
    border-collapse: collapse;
}

.performance-facts__title {
    font-weight: bold;
    font-size: 1.7rem;
    margin: 0 0 0.25rem 0;
}

.performance-facts__header {
    border-bottom: 10px solid black;
    padding: 0 0 0.25rem 0;
    margin: 0 0 0.5rem 0;
}
.performance-facts__header p {
    margin: 0;
}

.performance-facts__table, .performance-facts__table--grid, .performance-facts__table--small {
    width: 100%;
}
.performance-facts__table thead tr th, .performance-facts__table--grid thead tr th, .performance-facts__table--small thead tr th,
.performance-facts__table thead tr td,
.performance-facts__table--grid thead tr td,
.performance-facts__table--small thead tr td {
    border: 0;
}
.performance-facts__table th, .performance-facts__table--grid th, .performance-facts__table--small th,
.performance-facts__table td,
.performance-facts__table--grid td,
.performance-facts__table--small td {
    font-weight: normal;
    text-align: left;
    padding: 0.25rem 0;
    border-top: 1px solid black;
    white-space: nowrap;
    font-size: 0.9rem;
}
.performance-facts__table td:last-child, .performance-facts__table--grid td:last-child, .performance-facts__table--small td:last-child {
    text-align: right;
}
.performance-facts__table .blank-cell, .performance-facts__table--grid .blank-cell, .performance-facts__table--small .blank-cell {
    width: 1rem;
    border-top: 0;
}
.performance-facts__table .thick-row th, .performance-facts__table--grid .thick-row th, .performance-facts__table--small .thick-row th,
.performance-facts__table .thick-row td,
.performance-facts__table--grid .thick-row td,
.performance-facts__table--small .thick-row td {
    border-top-width: 5px;
}

.small-info {
    font-size: 0.7rem;
}

.performance-facts__table--small {
    border-bottom: 1px solid #999;
    margin: 0 0 0.5rem 0;
}
.performance-facts__table--small thead tr {
    border-bottom: 1px solid black;
}
.performance-facts__table--small td:last-child {
    text-align: left;
}
.performance-facts__table--small th,
.performance-facts__table--small td {
    border: 0;
    padding: 0;
}

.performance-facts__table--grid {
    margin: 0 0 0.5rem 0;
}
.performance-facts__table--grid td:last-child {
    text-align: left;
}
.performance-facts__table--grid td:last-child::before {
    content: "•";
    font-weight: bold;
    margin: 0 0.25rem 0 0;
}

.text-center {
    text-align: center;
}

.thick-end {
    border-bottom: 10px solid black;
}

.thin-end {
    border-bottom: 1px solid black;
}

#contact{
    background-color: var(--color-dark-gray);
}

#contact h3{
    position: relative;
    color: var(--color-soft-beige);
    font-size: 2rem;
    padding-bottom: 0.5rem;
    text-transform: initial;
}

#contact h3::after {
    position: absolute;
    content: "";
    background: var(--color-gold);
    height: 2px;
    width: 5rem;
    margin-left: -2.5rem;
    bottom: 0;
    left: 50%;
}

#contact p, .contact-item a{
    color: var(--color-light-gray);
    text-decoration: none;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--color-light-gray);
    font-size: 2rem;
    transition: color 0.3s;
}

.social-icons a svg{
    width: 2rem;
}

.social-icons a:hover {
    color: var(--color-gold);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: none;
    font-size: 3rem;
    color: var(--color-crimson-red);
    transition: color 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    color: var(--color-gold);
}

.back-to-top svg {
    width: 3rem;
    height: 3rem;
}
.contact-item a:hover{
    color: var(--color-gold);
}

.category-card {
    display: block;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-family: 'Tinos', serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.9;
}

/* Culori diferite pentru fiecare card */
.category-card.breakfast {
    background: linear-gradient(135deg, #ffb347, #ffcc33);
}

.category-card.main-menu {
    background: linear-gradient(135deg, #6dd5fa, #2980b9);
}

.category-card.drinks {
    background: linear-gradient(135deg, #a8e063, #56ab2f);
}

/* Efect hover */
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: initial!important;
}

/* Prevent accidental text selection on drink list */
.parent-category,
.subcategory,
.menu-item-row {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.a-la-carte-gallery img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Responsivitate — pe telefon una sub alta */
@media (max-width: 768px) {
    .category-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .col-6 {
        padding-right: calc(var(--bs-gutter-x)* .2);
        padding-left: calc(var(--bs-gutter-x)* .2);
    }
    .menu-item-card{
        margin-bottom: 10px;
    }
}