/* ======= Menu Page - Black & Orange ======= */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #111, #2a2a2a);
    border-radius: 0 0 32px 32px;
    border-bottom: 3px solid #fd7e14;
    padding: 80px 1rem 42px;
    text-align: center;
    margin-top: 56px;
}

.page-header h1 {
    color: #fd7e14;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 0.35rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin: 0;
}

/* ======= Categories ======= */
.menu-filters {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 4px 4px 8px;
    justify-content: center;
    flex-wrap: wrap;
    scrollbar-width: none;
    margin: 2rem 0 1.8rem;
}

.menu-filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ccc;
    border: 1.5px solid #444;
    border-radius: 10px;
    padding: 0.48rem 1.1rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.filter-pill:hover {
    background: #fd7e14;
    color: #fff !important;
  
    transform: translateY(-2px);
}

.filter-pill.active {
    background: #fd7e14;
    color: #fff !important;
}

/* ======= Products Grid ======= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 1rem;
}

/* ======= Product Card ======= */
.product-card {
    background: #242424;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #fd7e14;
    box-shadow: 0 10px 28px rgba(255, 111, 0, 0.2);
}

/* Image */
.product-img-wrap {
    height: 165px;
    overflow: hidden;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

/* Body */
.product-body {
    padding: 0.85rem 0.9rem 0.9rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* Name & Price */
.name-price {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.4rem;
}

.product-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #eee;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.price-tag {
    color: #fd7e14;
    font-size: 0.87rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Button */
.add-to-cart-btn {
    background: #fd7e14;
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: 0.52rem 0.8rem;
    width: 100%;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.28s ease;
    margin-top: auto;
}

.add-to-cart-btn:hover {
    background: #e8650a;
    box-shadow: 0 5px 14px rgba(255, 111, 0, 0.4);
}

/* ======= Empty State ======= */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    color: #444;
}

.empty-state p {
    font-size: 1.1rem;
}

/* ======= Pagination ======= */
.menu-pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0.5rem;
}

.menu-pagination .pagination {
    gap: 6px;
    flex-wrap: wrap;
    margin: 0;
}

.menu-pagination .page-link {
    background: transparent;
    color: #ccc !important;
    border: 1.5px solid #444 !important;
    border-radius: 50px !important;
    padding: 0.42rem 1rem;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    min-width: 38px;
    text-align: center;
    box-shadow: none;
}

.menu-pagination .page-link:hover {
    background: #fd7e14;
    color: #fff !important;
    border-color: #fd7e14 !important;
    transform: translateY(-2px);
}

.menu-pagination .page-item.active .page-link {
    background: #fd7e14;
    color: #fff !important;
    border-color: #fd7e14 !important;
    box-shadow: 0 4px 12px rgba(255, 111, 0, 0.35);
}

.menu-pagination .page-item.disabled .page-link {
    background: transparent;
    color: #555 !important;
    border-color: #333 !important;
    cursor: not-allowed;
    transform: none;
}

/* ======= Responsive ======= */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .product-img-wrap { height: 150px; }
    .menu-filters { justify-content: flex-start; flex-wrap: nowrap; }
    .filter-pill { font-size: 0.82rem; padding: 0.45rem 0.95rem; }
}

@media (max-width: 540px) {
    .products-grid { gap: 0.8rem; }
    .product-img-wrap { height: 130px; }
    .product-body { padding: 0.7rem 0.75rem 0.75rem; gap: 0.55rem; }
    .product-name { font-size: 0.82rem; }
    .price-tag { font-size: 0.78rem; padding: 2px 7px; }
    .add-to-cart-btn { font-size: 0.78rem; padding: 0.45rem 0.7rem; }
}

@media (max-width: 360px) {
    .product-img-wrap { height: 115px; }
    .filter-pill { padding: 0.4rem 0.8rem; font-size: 0.78rem; }
}