.food-res-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.food-res-search-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.search-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 20px;
}

.search-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.food-res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

@media (max-width: 1200px) {
    .food-res-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .food-res-grid {
        grid-template-columns: 1fr;
    }
}

.food-res-card {
    background: #fff;
    border-radius: 12px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.food-res-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: #fafafa;
}

.food-res-card-inner {
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
}

.food-res-link-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.food-res-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #f1f5f9;
}

.quick-action {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.quick-action:hover {
    background: #ea1d2c;
    color: #fff;
    transform: scale(1.1);
}

.quick-action i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.res-distance-display {
    color: #2563eb;
    font-weight: 500;
}

.food-res-logo-container {
    width: 120px;
    height: 120px;
    min-width: 120px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
    border: 1px solid #f1f5f9;
}

.food-res-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-res-info {
    flex-grow: 1;
    overflow: hidden;
}

.food-res-title {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.food-res-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.res-meta-sep {
    color: #ccc;
    font-size: 10px;
}

.food-res-details {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.res-delivery-fee {
    color: #4CAF50;
    font-weight: 500;
}

.status-open {
    color: #10b981;
}

.status-closed {
    color: #ef4444;
}

.food-res-btn-large {
    background: #1e293b;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.food-res-btn-large:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .food-res-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .food-res-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .food-res-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .food-res-logo-container {
        width: 70px;
        height: 70px;
        min-width: 70px;
        margin-right: 12px;
    }
    .food-res-info {
        padding-right: 10px;
    }
    .food-res-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }
    .food-res-meta, .food-res-details {
        font-size: 12px;
    }
    .food-res-quick-actions {
        margin-left: 10px;
        padding-left: 10px;
        gap: 8px;
    }
    .quick-action {
        width: 32px;
        height: 32px;
    }
    .quick-action i {
        font-size: 16px;
    }
}
