/**
 * HD SEO - Frontend Styles
 * Styles for menu item single pages
 */

/* Container */
.rss-menu-item-single {
    padding: 40px 20px;
    background: #fff;
    min-height: 60vh;
}

.rss-menu-item-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Image */
.rss-menu-item-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #f7fafc;
}

.rss-menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.rss-menu-item-content {
    padding: 30px;
}

/* Title */
.rss-menu-item-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

/* Category */
.rss-menu-item-category {
    margin-bottom: 15px;
}

.rss-menu-item-category a {
    display: inline-block;
    font-size: 0.875rem;
    color: #4a5568;
    text-decoration: none;
    background: #edf2f7;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 8px;
    transition: all 0.2s ease;
}

.rss-menu-item-category a:hover {
    background: #e2e8f0;
    color: #2d3748;
}

/* Price */
.rss-menu-item-price {
    margin-bottom: 20px;
}

.rss-menu-item-price .price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2b6cb0;
}

/* Badges */
.rss-menu-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.rss-menu-item-badges .badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    background: #ebf8ff;
    color: #2b6cb0;
}

.rss-menu-item-badges .badge:nth-child(2) {
    background: #f0fff4;
    color: #276749;
}

.rss-menu-item-badges .badge:nth-child(3) {
    background: #fefcbf;
    color: #975a16;
}

.rss-menu-item-badges .badge:nth-child(4) {
    background: #fed7d7;
    color: #c53030;
}

/* Description */
.rss-menu-item-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 25px;
}

.rss-menu-item-description p {
    margin: 0 0 15px 0;
}

.rss-menu-item-description p:last-child {
    margin-bottom: 0;
}

/* Details sections */
.rss-menu-item-details,
.rss-menu-item-allergens,
.rss-menu-item-nutrition {
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.rss-menu-item-details h3,
.rss-menu-item-allergens h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #718096;
    margin: 0 0 8px 0;
}

.rss-menu-item-details p,
.rss-menu-item-allergens p {
    font-size: 0.9375rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* Nutrition */
.rss-menu-item-nutrition .calories {
    display: inline-block;
    font-size: 0.875rem;
    color: #718096;
    background: #f7fafc;
    padding: 8px 16px;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
    .rss-menu-item-single {
        padding: 20px 15px;
    }

    .rss-menu-item-image {
        height: 300px;
    }

    .rss-menu-item-content {
        padding: 20px;
    }

    .rss-menu-item-title {
        font-size: 1.5rem;
    }

    .rss-menu-item-price .price-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .rss-menu-item-image {
        height: 250px;
    }

    .rss-menu-item-title {
        font-size: 1.25rem;
    }

    .rss-menu-item-price .price-amount {
        font-size: 1.25rem;
    }
}

/* Archive/Category pages */
.rss-menu-category-archive {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.rss-menu-category-header {
    text-align: center;
    margin-bottom: 40px;
}

.rss-menu-category-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 10px 0;
}

.rss-menu-category-header p {
    font-size: 1.125rem;
    color: #718096;
    margin: 0;
}

.rss-menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.rss-menu-item-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rss-menu-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.rss-menu-item-card a {
    text-decoration: none;
    color: inherit;
}

.rss-menu-item-card-image {
    height: 200px;
    overflow: hidden;
    background: #f7fafc;
}

.rss-menu-item-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rss-menu-item-card-content {
    padding: 20px;
}

.rss-menu-item-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px 0;
}

.rss-menu-item-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2b6cb0;
}
