.ecommerce-modular-section {
    background-color: #FCD6E2;
    padding: 70px 0;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
}

.modular-main-title {
    color: #D11F76;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 5px;
}

.modular-subtitle {
    color: #64748b;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
}

.card-modular-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 40px 20px 40px;
    box-sizing: border-box;
}

.card-modular-slider-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
    margin: 0;
    padding: 0;
    width: 100%;
}

.modular-slider-item {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 32px;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.modular-card {
    background-color: #ffffff;
    border-radius: 35px;
    padding: 35px 25px;
    min-height: 540px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(209, 31, 118, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modular-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(209, 31, 118, 0.12);
}

.modular-card-image-box {
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    border-radius: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modular-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px !important;
}

.modular-placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #f1f5f9;
    border-radius: 20px;
}

.modular-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-product-title {
    color: #D11F76;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.card-product-desc {
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-benefits-wrapper {
    margin-bottom: 25px;
}

.benefits-label {
    color: #D11F76;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.benefits-list li {
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
}

.benefits-list li::before {
    content: "•";
    color: #334155;
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    left: 0;
    top: -2px;
}

.modular-card-footer {
    text-align: center;
    margin-top: auto;
}

.btn-modular-action {
    background-color: #D11F76;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 30px;
    border-radius: 50px;
    border: none;
    display: inline-block;
    width: auto;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(209, 31, 118, 0.2);
}

.btn-modular-action:hover {
    background-color: #b01561;
    transform: scale(1.03);
}

.modular-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50% !important;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: background-color 0.2s;
}

.modular-slider-arrow:hover {
    background-color: #f8fafc;
}

.modular-prev-arrow {
    left: -5px;
}

.modular-next-arrow {
    right: -5px;
}

@media (max-width: 992px) {
    .modular-slider-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
}

@media (max-width: 767px) {
    .ecommerce-modular-section {
        padding: 50px 0;
    }
    .modular-main-title {
        font-size: 28px;
    }
    .modular-card {
        padding: 25px 20px;
        min-height: auto;
    }
    .card-modular-slider-container {
        padding: 10px 20px 20px 20px;
    }
    .modular-slider-item {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
    .modular-prev-arrow {
        left: -5px;
    }
    .modular-next-arrow {
        right: -5px;
    }
}