/* General page styling */
body {
    font-family: Arial, sans-serif;
    background-color: #a8caab;
    margin: 0;
    padding: 0; /* Remove padding */
    text-align: center;
}

.header {
    margin-top: 20px;
}

.logo {
    width: 180px;
    height: auto;
}

/* Back button styling */
.back-button {
    color: white;
    font-size: 24px;
    text-decoration: none;
    position: absolute;
    left: 20px;
    top: 160px;
}

.back-button:hover {
    opacity: 0.7;
}

/* Scrollable Categories Container */
.categories-container {
    width: 100vw; /* Full width of the viewport */
    overflow-x: auto;
    white-space: nowrap;
    margin: 0; /* Remove extra margins */
    padding: 10px 0; /* Add some vertical padding */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

.categories-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

/* Category bubbles */
.category-bubble {
    display: inline-block;
    background-color: white;
    color: #a8caab;
    padding: 15px 25px;
    margin-right: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-bubble:hover {
    background-color: #a8caab;
    color: white;
}

/* Active category with white border */
.category-bubble.active {
    background-color: #a8caab;
    color: white;
    border: 2px solid white; /* White border for active category */
    border-radius: 50px; /* Keep the bubble shape */
}

/* Items section */
.items {
    margin-top: 50px;
    color: white;
    padding: 0 20px; /* Add some padding to align items properly */
}

.item {
    margin-bottom: 25px;
    padding: 15px;
}

.item-header {
    display: flex;
    justify-content: space-between;
}

.item-name {
    font-size: 20px;
}

.item-price {
    font-size: 20px;
    color: white;
}

/* Right-to-left text direction for description and nutrition */
.item-description, .item-nutrition {
    font-size: 15px;
    margin-top: 5px;
    direction: rtl; /* Set text direction to right-to-left */
    text-align: left; /* Align text to the right */
}
