.combo-item:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}
.details {
    display: none;
    transition: all 0.3s ease;
}
.details.show {
    display: block;
    animation: fadeIn 0.3s ease-in;
}
.toggle-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.toggle-details:active, .order-btn:active, .cart-btn:active, .pagination-btn:active {
    transform: scale(0.95);
}
.popup, .cart-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content, .cart-content {
    background: #1f2937;
    padding: 1.5rem;
    border-radius: 0.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: fadeIn 0.3s ease-in;
}
.popup-close, .cart-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
}
.pagination-btn {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    background: #eab308;
    color: black;
    border-radius: 0.25rem;
    cursor: pointer;
}
.pagination-btn:hover {
    background: #facc15;
}
.pagination-btn.disabled {
    background: #4b5563;
    cursor: not-allowed;
}
.skeleton {
    background: linear-gradient(90deg, #4b5563 25%, #6b7280 50%, #4b5563 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
.cart-icon {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #eab308;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    z-index: 999;
}
.cart-icon:hover {
    background: #facc15;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #4b5563;
}
.cart-item button {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.cart-item button:hover {
    background: #dc2626;
}
.cart-item .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cart-item .quantity button {
    background: #eab308;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.2s;
}
.cart-item .quantity button:hover {
    background: #facc15;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.combo-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.combo-description {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.full-description {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}
.price-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
}
.original-price {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}
.original-price:hover {
    opacity: 1;
}
.discounted-price {
    font-size: 1.125rem;
    color: #facc15;
    font-weight: 600;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}
.discounted-price .savings {
    font-size: 0.75rem;
    color: #34d399;
    font-weight: 500;
    background-color: rgba(52, 211, 153, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}
.discounted-price .savings:hover {
    background-color: rgba(52, 211, 153, 0.2);
}
@media (max-width: 640px) {
    .filter-btn, .details, .combo-item p, .toggle-details, .pagination-btn, .order-btn, .cart-btn {
        font-size: 0.95rem;
    }
    .combo-item img {
        height: 150px;
    }
    .popup-content, .cart-content {
        width: 95%;
        padding: 1rem;
    }
    #comboSection {
        gap: 1rem;
    }
    .order-btn, .cart-btn {
        padding: 0.4rem 0.8rem;
        margin-right: 0.5rem;
    }
    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    .combo-title, .combo-description {
        max-width: 90%;
    }
    .original-price {
        font-size: 0.75rem;
    }
    .discounted-price {
        font-size: 1rem;
    }
    .discounted-price .savings {
        font-size: 0.65rem;
    }
    .cart-item button {
        font-size: 0.75rem;
        width: 22px;
        height: 22px;
    }
    .cart-item .quantity button {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }
}
@media (min-width: 641px) and (max-width: 1023px) {
    #comboSection {
        gap: 1rem;
    }
    .popup-content label, .cart-content label {
        font-size: 1.1rem;
    }
    .order-btn, .cart-btn {
        margin-right: 1rem;
    }
    .combo-title, .combo-description {
        max-width: 95%;
    }
}
@media (min-width: 1024px) {
    .button-group {
        display: flex;
        justify-content: space-between;
    }
    .combo-title, .combo-description {
        max-width: 100%;
    }
}