/* ==========================================
DECORATIONS PAGE
========================================== */

.decorations-page {
    width: 100%;
    margin-top: 110px;
    padding-bottom: 80px;
}

/* ==========================================
TITLE
========================================== */

.decorations-header {
    width: 93%;
    max-width: 1500px;
    margin: 0 auto 35px;
}

.decorations-header h1 {
    margin: 0 0 12px;
    font-size: 36px;
    font-weight: 700;
    color: #111;
}

.decorations-header p {
    margin: 0;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.6;
    color: #666;
}

/* ==========================================
GRID
========================================== */

.event-catalog-grid {
    width: 93%;
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ==========================================
CARD
========================================== */

.event-card {
    width: 100%;
    background: #fff;
    border: 1px solid rgb(226, 226, 226);
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .3s ease, box-shadow .3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .10);
}

/* ==========================================
IMAGE
========================================== */

.event-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: .4s;
}

.event-card:hover img {
    transform: scale(1.04);
}

/* ==========================================
INFO
========================================== */

.event-card-bottom {
    min-height: 82px;
    height: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
}

.event-card-bottom h3 {
    min-width: 0;
    flex: 1 1 auto;
}

.event-card-price {
    flex: 0 0 auto;
    min-width: 0;
    max-width: 42%;
}

.event-card-bottom h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    line-height: 1.25;
    overflow-wrap: break-word;
}

/* PRICE */

.event-card-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    line-height: 1;
}

.event-card-price strong {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.event-card-price span {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

/* ==========================================
TABLET
========================================== */

@media(max-width: 1200px) {
    .event-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
MOBILE
========================================== */

@media(max-width: 900px) {
    .decorations-page {
        margin-top: 95px;
        padding-bottom: 50px;
    }
    .decorations-header {
        display: none;
    }
    .decorations-header h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .decorations-header p {
        font-size: 16px;
    }
    .event-catalog-grid {
        width: 93%;
        display: flex;
        flex-direction: column;
        gap: 22px;
    }
    .event-card {
        border-radius: 26px;
    }
    .event-card-image {
        aspect-ratio: 1 / 1;
    }
    .event-card-bottom {
        min-height: 75px;
        height: auto;
        padding: 12px 16px;
        gap: 10px;
    }
    .event-card-bottom h3 {
        font-size: 18px;
    }
    .event-card-price {
        max-width: 45%;
    }

    .event-card-price strong {
        font-size: 22px;
        white-space: nowrap;
    }
}

.viber-idea-block {
    width: 93%;
    max-width: 1500px;
    margin: 0 auto 35px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 20px;
    box-sizing: border-box;
}

.viber-idea-content h2 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    color: #111
}

.viber-idea-content p {
    margin: 0;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.5;
    color: #666
}

.viber-idea-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 12px;
    background: #7360f2;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500
}


.viber-idea-button b {
    font-weight: 500;
}

.viber-idea-button:hover {
    opacity: .92;
}

@media(max-width: 900px) {
    .viber-idea-block {
        width: 93%;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px
    }
    .viber-idea-content h2 {
        font-size: 18px
    }
    .viber-idea-content p {
        font-size: 13px
    }
    .viber-idea-button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 0 20px;
        font-size: 16px;
    }
}