.smm-all-weeks {
    margin: 20px 0;
}
.smm-week-block {
    margin-bottom: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.smm-week-block h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
}
.smm-week-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.smm-week-header h3 {
    margin: 0;
    flex: 1;
}
.smm-week-block.current-week {
    background: #e8f4f8;
    border: 2px solid #00a0d2;
}
.current-week-indicator {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 10px;
    background: #00a0d2;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    border-radius: 4px;
}
.smm-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.smm-menu-grid.days-1-columns {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 20px auto;
}
.smm-menu-grid.days-2-columns {
    grid-template-columns: repeat(2, 1fr);
}
.smm-menu-grid.days-3-columns {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1200px) {
    .smm-menu-grid.days-3-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .smm-menu-grid.days-2-columns,
    .smm-menu-grid.days-3-columns {
        grid-template-columns: 1fr;
    }
}
.smm-day-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.smm-day-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.smm-day-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}
.smm-meal-section {
    margin-bottom: 15px;
}
.smm-meal-type {
    margin: 10px 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #7f8c8d;
    text-transform: uppercase;
}
.smm-meal-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.smm-meal-list li {
    padding: 5px 0;
    font-size: 14px;
    color: #555;
    position: relative;
    padding-left: 20px;
}
.smm-meal-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}
.smm-menu-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.smm-menu-table thead {
    background: #3498db;
    color: #fff;
}
.smm-menu-table th,
.smm-menu-table td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ddd;
}
.smm-menu-table th {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}
.smm-menu-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}
.smm-menu-table tbody tr:hover {
    background: #f0f8ff;
}
.smm-day-name {
    font-weight: bold;
    color: #2c3e50;
}
.smm-meal-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.smm-meal-items li {
    padding: 3px 0;
    font-size: 14px;
}
.smm-meal-images-table {
    margin-top: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.smm-meal-image-table {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.smm-meal-image-table:hover {
    transform: scale(1.5);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}
@media (max-width: 768px) {
    .smm-meal-image-table {
        width: 40px;
        height: 40px;
    }
}
@media (max-width: 768px) {
    .smm-menu-grid {
        grid-template-columns: 1fr;
    }
    .smm-menu-table {
        font-size: 12px;
    }
    .smm-menu-table th,
    .smm-menu-table td {
        padding: 10px 5px;
    }
}
@media print {
    .smm-day-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    .smm-week-block {
        background: none;
        page-break-after: always;
    }
    .smm-week-block:last-child {
        page-break-after: auto;
    }
}
.smm-meal-images {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}
.smm-meal-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.smm-image-size-small .smm-meal-image {
    height: 80px;
}
.smm-image-size-medium .smm-meal-image {
    height: 120px;
}
.smm-image-size-large .smm-meal-image {
    height: 200px;
}
.smm-image-size-large .smm-meal-images {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.smm-meal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 10;
    position: relative;
}
.smm-meal-images.carousel-style {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    scroll-behavior: smooth;
}
.smm-meal-images.carousel-style .smm-meal-image {
    min-width: 150px;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}
.smm-meal-image-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 9999;
    transition: transform 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 10px;
}
.smm-meal-image:hover + .smm-meal-image-preview {
    transform: translate(-50%, -50%) scale(1);
}
.smm-pdf-link,
a.smm-pdf-link {
    display: inline-flex !important;
    align-items: center;
    font-size: 14px;
    padding: 8px 16px;
    background: #0073aa !important;
    color: white !important;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background 0.3s;
    white-space: nowrap;
    margin: 5px 0;
    border: 2px solid #0073aa;
}
.smm-pdf-link:hover,
a.smm-pdf-link:hover {
    background: #005a87 !important;
    color: white !important;
    text-decoration: none !important;
    border-color: #005a87;
}
.smm-image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.smm-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.smm-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.smm-modal-close:hover,
.smm-modal-close:focus {
    color: #bbb;
}