.product-lines {
    background: #f3f1ed;
}

.product-lines-heading {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 70px;
    align-items: end;
    max-width: 1292px;
    margin: 0 auto 45px;
}

.product-lines-heading h2 {
    margin: 14px 0 0;
    font-size: 44px;
    line-height: 1.14;
    letter-spacing: -.045em;
}

.product-lines-heading > p {
    margin: 0;
    color: #6d6964;
    font-size: 12px;
    line-height: 1.8;
}

.product-lines-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    grid-template-rows: repeat(2, 286px);
    gap: 20px;
    max-width: 1292px;
    margin: 0 auto;
}

.product-line-card {
    position: relative;
    display: block;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
    color: #1d1c20;
    background: #fff;
    isolation: isolate;
}

.product-line-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.88) 36%, rgba(255,255,255,0) 70%);
}

.product-line-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.product-line-card:hover img {
    transform: scale(1.035);
}

.product-line-number {
    position: absolute;
    top: 27px;
    left: 30px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
}

.product-line-copy {
    position: absolute;
    left: 30px;
    bottom: 28px;
    z-index: 1;
    max-width: 330px;
}

.product-line-copy h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.product-line-copy p {
    margin: 10px 0 20px;
    color: #64615d;
    font-size: 10px;
    line-height: 1.65;
}

.product-line-copy b {
    font-size: 10px;
}

.product-line-packaging {
    grid-row: 1 / 3;
    background: #dce3ff;
}

.product-line-packaging img {
    object-fit: contain;
    object-position: 90% 48%;
    padding: 60px 0 30px 180px;
}

.product-line-packaging::after {
    background: linear-gradient(90deg, #dce3ff 0%, rgba(220,227,255,.94) 35%, rgba(220,227,255,.15) 70%);
}

.product-line-wedding::after {
    background: linear-gradient(90deg, rgba(255,248,245,.98) 0%, rgba(255,248,245,.82) 47%, rgba(255,248,245,.08) 78%);
}

.product-line-wedding img {
    object-position: 66% center;
}

.product-line-brand::after {
    background: linear-gradient(90deg, rgba(255,244,220,.98) 0%, rgba(255,244,220,.82) 47%, rgba(255,244,220,.08) 78%);
}

.product-line-brand img {
    object-position: 68% center;
}

.product-line-wedding .product-line-copy,
.product-line-brand .product-line-copy {
    max-width: 285px;
}

.product-line-wedding .product-line-copy h3,
.product-line-brand .product-line-copy h3 {
    font-size: 21px;
}

@media (max-width: 980px) {
    .product-lines-heading {
        grid-template-columns: 1fr 330px;
        gap: 40px;
    }

    .product-lines-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-line-packaging img {
        padding-left: 100px;
    }
}

@media (max-width: 760px) {
    .product-lines-heading {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 35px;
    }

    .product-lines-heading h2 {
        font-size: 36px;
    }

    .product-lines-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 430px 315px 315px;
    }

    .product-line-packaging {
        grid-row: auto;
    }

    .product-line-packaging img {
        padding: 115px 0 20px 80px;
    }

}

@media (max-width: 480px) {
    .product-line-number {
        top: 22px;
        left: 22px;
    }

    .product-line-copy {
        left: 22px;
        right: 22px;
        bottom: 23px;
    }

    .product-line-card::after,
    .product-line-wedding::after,
    .product-line-brand::after {
        background: linear-gradient(0deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,0) 74%);
    }

    .product-line-packaging::after {
        background: linear-gradient(0deg, #dce3ff 0%, rgba(220,227,255,.9) 45%, rgba(220,227,255,.05) 78%);
    }

    .product-line-packaging img {
        padding: 35px 0 100px;
    }
}
