:root {
    --content-width: 40%;
}

.split-woo-wrapper-cf704859 {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
}

/* Base Desktop Layouts */
.split-woo-layout-content_left .split-woo-wrapper-cf704859 {
    flex-direction: row;
}

.split-woo-layout-products_left .split-woo-wrapper-cf704859 {
    flex-direction: row-reverse;
}

.split-woo-layout-stacked_content_first .split-woo-wrapper-cf704859 {
    flex-direction: column;
}
.split-woo-layout-stacked_products_first .split-woo-wrapper-cf704859 {
    flex-direction: column-reverse;
}

/* Desktop sizing for side-by-side */
.split-woo-layout-content_left .split-content-area-cf704859,
.split-woo-layout-products_left .split-content-area-cf704859 {
    flex: 0 0 calc(var(--content-width) - 20px);
}
.split-woo-layout-content_left .split-products-area-cf704859,
.split-woo-layout-products_left .split-products-area-cf704859 {
    flex: 1;
    min-width: 0;
}

/* Tablet Overrides */
@media (min-width: 768px) and (max-width: 1024px) {
    .split-woo-layout-tablet-content_left .split-woo-wrapper-cf704859 { flex-direction: row; }
    .split-woo-layout-tablet-products_left .split-woo-wrapper-cf704859 { flex-direction: row-reverse; }
    .split-woo-layout-tablet-stacked_content_first .split-woo-wrapper-cf704859 { flex-direction: column; }
    .split-woo-layout-tablet-stacked_products_first .split-woo-wrapper-cf704859 { flex-direction: column-reverse; }

    .split-woo-layout-tablet-stacked_content_first .split-content-area-cf704859,
    .split-woo-layout-tablet-stacked_products_first .split-content-area-cf704859 {
        flex: none;
        width: 100%;
    }
}

/* Mobile Overrides */
@media (max-width: 767px) {
    .split-woo-layout-mobile-content_left .split-woo-wrapper-cf704859 { flex-direction: row; }
    .split-woo-layout-mobile-products_left .split-woo-wrapper-cf704859 { flex-direction: row-reverse; }
    .split-woo-layout-mobile-stacked_content_first .split-woo-wrapper-cf704859 { flex-direction: column; }
    .split-woo-layout-mobile-stacked_products_first .split-woo-wrapper-cf704859 { flex-direction: column-reverse; }

    /* For stacked layouts on mobile, reset width */
    .split-woo-layout-mobile-stacked_content_first .split-content-area-cf704859,
    .split-woo-layout-mobile-stacked_products_first .split-content-area-cf704859 {
        flex: none;
        width: 100%;
    }
}


.split-content-area-cf704859 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-products-area-cf704859 {
    /* Base styles */
}

/* Typography & Content */
.split-heading-cf704859 {
    margin: 0 0 20px;
    font-size: 32px;
    font-weight: 600;
}

.split-desc-cf704859 {
    margin: 0 0 30px;
    line-height: 1.6;
}

.split-button-cf704859 {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.split-content-area-cf704859[style*="center"] .split-button-cf704859 {
    align-self: center;
}

.split-content-area-cf704859[style*="flex-end"] .split-button-cf704859 {
    align-self: flex-end;
}

/* Products Grid */
.split-products-grid-cf704859 {
    display: grid;
    gap: 20px;
}

.split-product-card-cf704859 {
    background: #fff;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.split-product-card-cf704859:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-link-cf704859 {
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.product-img-cf704859 {
    overflow: hidden;
}

.product-img-cf704859 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-product-card-cf704859:hover .product-img-cf704859 img {
    transform: scale(1.05);
}

.product-info-cf704859 {
    padding: 15px 0;
    text-align: center;
}

.product-title-cf704859 {
    font-size: 16px;
    margin: 0 0 5px;
    color: #333;
}

.product-price-cf704859 {
    color: #666;
}

.product-action-cf704859 {
    padding: 0 15px 15px;
    text-align: center;
    margin-top: auto;
}

.product-action-cf704859 .button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.product-action-cf704859 .button:hover {
    background: #333;
}
