/**
 * Frontend Styles - TV-Friendly Layout
 * Restaurant Specials Plugin
 */

.rs-specials-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.rs-print-controls {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.rs-print-button {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rs-print-button:hover {
    background: #135e96;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.rs-print-button:active {
    transform: translateY(1px);
}

.rs-print-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.rs-specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

@media (min-width: 768px) {
    .rs-specials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    .rs-specials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        padding: 40px;
    }
}

.rs-special-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.rs-special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.rs-special-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}

.rs-special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rs-special-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rs-special-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #2c3e50;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-special-price {
    font-size: 32px;
    font-weight: 800;
    color: #27ae60;
    margin: 0 0 15px 0;
    line-height: 1;
}

.rs-special-description {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rs-no-specials {
    text-align: center;
    padding: 60px 20px;
    font-size: 24px;
    color: #666;
}

@media (min-width: 1400px) {
    .rs-special-title {
        font-size: 32px;
    }
    
    .rs-special-price {
        font-size: 36px;
    }
    
    .rs-special-description {
        font-size: 20px;
    }
    
    .rs-special-image {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .rs-specials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px;
    }
    
    .rs-special-title {
        font-size: 24px;
    }
    
    .rs-special-price {
        font-size: 28px;
    }
    
    .rs-special-description {
        font-size: 16px;
    }
    
    .rs-special-image {
        height: 200px;
    }
}
