/* Top Rated Restaurants Section */

.lpre-top-rated-section {
    width: 100%;
    margin: 3rem 0;
}

/* Header */
.lpre-top-rated-header {
    margin-bottom: 2.5rem;
}

.lpre-top-rated-title {
    font-size: 24px;
    font-weight: 600;
    color: #C67353;
    margin: 0;
    line-height: 1.2;
}

/* Restaurant List */
.lpre-top-rated-restaurant-list {
    display: flex;
  flex-direction:column;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .lpre-top-rated-restaurant-list {
        grid-template-columns: 1fr;
    }
}

/* Restaurant Card */
.lpre-top-rated-restaurant-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    position: relative;
}

.lpre-top-rated-restaurant-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Card Image */
.lpre-top-rated-card-image {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
  width:30%;
}

.lpre-top-rated-card-image img {
    width: 100%;
    height: 120px !important;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lpre-top-rated-restaurant-card:hover .lpre-top-rated-card-image img {
    transform: scale(1.05);
}

/* Heart Icon Button */
.lpre-top-rated-heart-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 1rem;
    margin-right: 1rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
}

.lpre-top-rated-heart-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}

.lpre-top-rated-heart-icon {
    width: 20px;
    height: 20px;
    color: #666;
    transition: all 0.3s ease;
}

.lpre-top-rated-heart-btn:hover .lpre-top-rated-heart-icon {
    color: #D98C6A;
}

.lpre-top-rated-heart-btn.saved .lpre-top-rated-heart-icon {
    fill: #D98C6A;
    stroke: #D98C6A;
    color: #D98C6A;
}

/* Card Content */
.lpre-top-rated-card-content {
    padding: 0 1rem 1rem 1rem;;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lpre-top-rated-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.lpre-top-rated-card-title a {
    color: #C67353;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lpre-top-rated-card-title a:hover {
    color: #C67353;
}

.lpre-top-rated-card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.lpre-top-rated-stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.lpre-top-rated-star {
    font-size: 1rem;
    line-height: 1;
    color: #ccc;
}

.lpre-top-rated-star-filled {
    color: #C67353;
}

.lpre-top-rated-star-half {
    color: #C67353;
    opacity: 0.6;
}

.lpre-top-rated-star-empty {
    color: #ccc;
}

.lpre-top-rated-rating-count-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
}

/* Location */
.lpre-top-rated-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 1rem;
}

.lpre-top-rated-icon-location {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #000;
}

.lpre-top-rated-location-text {
    color: #000;
}

/* Status */
.lpre-top-rated-status {
    margin-top: auto;
}

.lpre-top-rated-status-open,
.lpre-top-rated-status-closed {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    display: inline-block;
    background: #f5f5f5;
    color: #000;
}

/* Footer */
.lpre-top-rated-footer {
    text-align: center;
    margin-top: 2rem;
}

.lpre-top-rated-see-all {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #C67353;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.lpre-top-rated-see-all:hover {
    background: #b05f44;
}

/* No Results */
.lpre-top-rated-no-results {
    text-align: center;
    padding: 3rem;
}

.lpre-top-rated-no-results h2 {
    margin-bottom: 1rem;
}

.lpre-top-rated-no-results p {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .lpre-top-rated-title {
        font-size: 22px;
    }
    
    .lpre-top-rated-card-image {
        height: 150px;
    }
}
