/**
 * Product 5050 Block
 * Synced with ACF: Product 5050
 * 50/50 text + image; max-w-content (75rem) with py-section / px-section.
 */

.product-5050-section {
    box-sizing: border-box;
}

.product-5050-placeholder {
    margin: 0;
    font-size: 0.9375rem;
    color: #6b7280;
}

/* Grid: stack on small screens (text first, image second); 50/50 from lg */
.product-5050-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
}

/* Mobile / tablet: text always on top (DOM + order) */
.product-5050-col--text {
    order: 1;
}

.product-5050-col--image {
    order: 2;
}

@media (min-width: 1024px) {
    .product-5050-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* text-left: copy column 1, image column 2 */
    .product-5050-grid--text-left .product-5050-col--text {
        order: 1;
    }

    .product-5050-grid--text-left .product-5050-col--image {
        order: 2;
    }

    /* text-right: image column 1, copy column 2 */
    .product-5050-grid--text-right .product-5050-col--text {
        order: 2;
    }

    .product-5050-grid--text-right .product-5050-col--image {
        order: 1;
    }
}

.product-5050-headline {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #191919;
}

@media (min-width: 768px) {
    .product-5050-headline {
        font-size: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .product-5050-headline {
        font-size: 2rem;
    }
}

.product-5050-subheader {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #191919;
}

.product-5050-subheader p {
    margin: 0 0 0.75rem 0;
}

.product-5050-subheader p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .product-5050-subheader {
        font-size: 1.125rem;
    }
}

/* List with optional icon bullets */
.product-5050-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-5050-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
}

.product-5050-list-item:last-child {
    margin-bottom: 0;
}

.product-5050-list-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.15rem;
}

.product-5050-list-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-5050-list-text {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #191919;
}

@media (min-width: 1024px) {
    .product-5050-list-text {
        font-size: 1.0625rem;
    }
}

/* Image column */
.product-5050-figure {
    margin: 0;
}

.product-5050-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
