/* ============================================
   Promotions Page Styles - Акции
   ============================================ */

.promotions-page {
    background-color: #fff;
    min-height: 100vh;
}

.promotions-list-section {
    background-color: #fff;
}

.promotions-list-section .t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.promotions-feed-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.promotions-feed-row {
    border-bottom: 1px solid #f0e7e1;
    padding-bottom: 32px;
}

.promotions-feed-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.promotions-feed-row__link {
    display: grid;
    grid-template-columns: 320px 1fr 60px;
    gap: 32px;
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.promotions-feed-row__image {
    padding-bottom: 65%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 16px;
    background-color: #f5f5f5;
    min-height: 200px;
    position: relative;
    width: 100%;
}

.promotions-feed-row__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promotions-feed-row__date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a2b18;
}

.promotions-feed-row__discount {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #8a2b18;
    background-color: #fff3f0;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.promotions-feed-row__title {
    font-family: 'Matthias Extended', 'Montserrat', sans-serif;
    font-size: 24px;
    margin: 0;
    color: #2b2b2b;
}

.promotions-feed-row__excerpt {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.promotions-feed-row__arrow {
    font-size: 32px;
    color: #8a2b18;
    font-family: 'Matthias Extended', 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.promotions-feed-row__link:hover .promotions-feed-row__arrow {
    transform: translateX(6px);
}

.promotions-empty {
    text-align: center;
    padding: 80px 20px;
    border: 1px dashed #d9d9d9;
    border-radius: 16px;
    background-color: #fffdfb;
}

.promotions-empty h3 {
    font-family: 'Matthias Extended', 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 12px;
    color: #3a3a3a;
}

.promotions-empty p {
    font-family: 'Montserrat', sans-serif;
    color: #666;
    font-size: 17px;
    margin: 0;
}

/* ============================================
   Promotion Show Page - Страница отдельной акции
   ============================================ */

.promotion-show-page {
    background-color: #fff;
    min-height: 100vh;
}

.promotion-list-section {
    background-color: #fff;
}

.promotion-list-section .t-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.promotion-image {
    max-width: 33.333%;
    width: 33.333%;
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
    margin-top: 0;
    clear: left;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
}

.promotion-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.promotion-content {
    overflow: hidden;
}

@media (max-width: 1024px) {
    .promotions-feed-row__link {
        grid-template-columns: 220px 1fr 40px;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .promotions-list-section {
        padding: 48px 0 64px;
    }
    
    .promotions-feed-row__link {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promotions-feed-row__image {
        width: 100%;
    }

    .promotions-feed-row__arrow {
        justify-content: flex-start;
    }
    
    .promotion-image {
        max-width: 100% !important;
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
    }
    
    .promotion-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .promotion-content p,
    .promotion-content strong {
        text-align: left !important;
    }
}

