/* Special Offers Manager Public Styles */

/* These styles are loaded to ensure the plugin content displays correctly 
   even if the theme styles are missing or modified */

.som-specials-menu-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.som-catalogue-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.som-catalogue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.som-catalogue-image {
    width: auto;
    height: 305px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.som-catalogue-image img {
    width: auto;
    height: 305px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.som-catalogue-image:hover img {
    transform: scale(1.05);
}

.som-catalogue-button {
    display: block;
    background: #00a77e;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    font-size: 0.875rem; /* 14px based on 16px base */
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.som-catalogue-button:hover {
    background: #008a6a;
    color: #ffffff !important;
    text-decoration: none !important;
}

.som-newsletter-section {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.som-newsletter-image {
    width: 100%;
    height: 120px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.som-newsletter-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.som-newsletter-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.som-newsletter-content h3 {
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #164170;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.som-newsletter-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.som-newsletter-button {
    display: inline-block;
    background: #00a77e;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Roboto Condensed', Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.som-newsletter-button:hover {
    background: #008a6a;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .som-specials-menu-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .som-specials-menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .som-catalogue-image {
        height: 150px;
    }
    
    .som-catalogue-image img {
        height: 150px;
    }
    
    .som-newsletter-content h3 {
        font-size: 1rem; /* 16px - matches base */
    }
}

@media (max-width: 768px) {
    .som-specials-menu-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .som-catalogue-image {
        height: 180px;
    }
    
    .som-catalogue-image img {
        height: 180px;
    }
    
    .som-newsletter-image {
        height: 100px;
    }
}