html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



.menu-item {
    transition: all 0.3s ease;
    border-radius: 12px;
    background: white;
    margin-bottom: 15px;
    padding: 12px;
}

    .menu-item:hover {
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

.menu-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 768px) {
    .menu-image {
        width: 120px;
        height: 120px;
    }
}

.search-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.search-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 14px 45px;
    border: none;
    border-radius: 12px;
    background-color: #f0f2f5;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .search-input:focus {
        outline: none;
        background-color: #e4e6eb;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #65676b;
    font-size: 1.2rem;
}

.search-input::placeholder {
    color: #65676b;
    font-weight: 400;
}

.category-title {
    margin: 30px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #0d6efd;
    color: #0d6efd;
    font-size: 1.25rem;
}

.recommended {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.recommended-title {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.recommended .menu-item {
    background: rgba(255, 255, 255, 0.95);
}

.price {
    font-size: 1.1rem;
    font-weight: 600;
}

.description {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.3;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-title {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.2;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.order-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

    .order-summary.active {
        display: block;
    }

.order-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0d6efd;
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1001;
}

.quantity-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

    .quantity-control button {
        padding: 4px 8px;
        min-width: 32px;
    }

.order-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0d6efd;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.order-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
}

    .order-summary.active {
        display: block;
    }

.pb-100 {
    padding-bottom: 100px;
}

.site-header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

.restaurant-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2b2b2b;
}

.restaurant-info {
    color: #65676b;
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 576px) {
    .menu-image {
        width: 80px;
        height: 80px;
    }

    .quantity-control {
        width: 100%;
        justify-content: flex-start;
    }

        .quantity-control input {
            width: 50px;
        }

    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}