.esun-new-product {
    --esun-new-product-green: #28ad5f;
    box-sizing: border-box;
    margin: 76px auto 0;
    max-width: 1360px;
    padding: 0 20px;
}

.esun-new-product *,
.esun-new-product *::before,
.esun-new-product *::after {
    box-sizing: border-box;
}

.esun-new-product__title {
    padding-top: 50px;
    color: #303030;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0 0 62px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.esun-new-product__title::after {
    background: var(--esun-new-product-green);
    bottom: -20px;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 70px;
}

.esun-new-product__slider {
    padding-bottom: 56px;
}

.esun-new-product__slide {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
}

.esun-new-product__product-card,
.esun-new-product__features {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 34px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.esun-new-product__features table tr {
    display: flex;
    width: 280px;
    align-items: center;
}
.esun-new-product__features table tr td:first-child {
    width: 75px;
}
.esun-new-product__features table tr td:last-child {
    width: 75%;
}
.esun-new-product__features table tr td h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
}
.esun-new-product__features table tr td {
    color: #999;
}
.esun-new-product__features table tr td p {
    margin: 0 0 5px;
}
.esun-new-product__features table tr td img {
    width: 48px;
    height: 48px;
}
.esun-new-product__product-card {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
}

.esun-new-product__copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0 40px 40px;
    position: relative;
    z-index: 2;
}

.esun-new-product__series {
    color: var(--esun-new-product-green);
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}

.esun-new-product__copy h3 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.esun-new-product__copy h3 a {
    color: #080808;
    text-decoration: none;
}

.esun-new-product__image {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.esun-new-product__image .product-image-container,
.esun-new-product__image .product-image-wrapper {
    height: 100%;
    width: 100% !important;
}

.esun-new-product__image .product-image-wrapper {
    padding-bottom: 0 !important;
}

.esun-new-product__image .product-image-photo {
    height: 100%;
    inset: 0;
    margin: auto;
    max-height: 500px;
    max-width: none;
    object-fit: contain;
    position: absolute;
    width: 100%;
}

.esun-new-product__actions {
    align-items: center;
    display: flex;
    gap: 20px;
}

.esun-new-product__actions form {
    margin: 0;
}

.esun-new-product__buy,
.esun-new-product__cart {
    align-items: center;
    background: var(--esun-new-product-green);
    border: 0;
    box-shadow: none;
    color: #fff;
    display: inline-flex;
    justify-content: center;
    text-decoration: none;
}

.esun-new-product__buy {
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    letter-spacing: 2px;
    min-width: 150px;
    padding: 0 28px;
    color: #fff !important;
}

.esun-new-product__cart {
    border-radius: 50%;
    cursor: pointer;
    height: 48px;
    padding: 0;
    width: 48px;
}

.esun-new-product__buy:hover,
.esun-new-product__buy:focus,
.esun-new-product__cart:hover,
.esun-new-product__cart:focus {
    background: #208f4e;
    color: #fff;
    text-decoration: none;
}

.esun-new-product__cart svg {
    fill: none;
    height: 23px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 23px;
}

.esun-new-product__content {
    display: grid;
    gap: 20px;
    grid-template-rows: minmax(185px, auto) 1fr;
    min-width: 0;
}

.esun-new-product__features {
    min-height: 175px;
    overflow: hidden;
    padding: 30px 20px;
}
.esun-new-product__gallery
    [data-content-type="row"][data-appearance="contained"] {
    width: 100%;
}

.esun-new-product__features [data-content-type="row"],
.esun-new-product__features [data-content-type="row"] > div,
.esun-new-product__features [data-content-type="columns"],
.esun-new-product__features .pagebuilder-column-line {
    min-height: 100%;
}

.esun-new-product__features .pagebuilder-column-line {
    align-items: center;
}

.esun-new-product__gallery {
    min-height: auto;
    overflow: hidden;
}
.esun-new-product__gallery p {
    margin-bottom: 0;
}

.esun-new-product__gallery > [data-content-type="row"],
.esun-new-product__gallery > [data-content-type="row"] > div,
.esun-new-product__gallery [data-content-type="columns"],
.esun-new-product__gallery .pagebuilder-column-line {
    height: 100%;
}

.esun-new-product__gallery .pagebuilder-column-line {
    gap: 20px;
}

.esun-new-product__gallery .pagebuilder-column {
    border-radius: 32px;
    overflow: hidden;
}

.esun-new-product__gallery figure,
.esun-new-product__gallery [data-content-type="image"] {
    height: 100%;
    margin: 0;
}

.esun-new-product__gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    display: block;
}

.esun-new-product__pagination {
    bottom: 0 !important;
}

.esun-new-product__pagination .swiper-pagination-bullet {
    background: #bfe4ce;
    height: 8px;
    opacity: 1;
    transition:
        width 0.2s ease,
        background 0.2s ease;
    width: 8px;
}

.esun-new-product__pagination .swiper-pagination-bullet-active {
    background: var(--esun-new-product-green);
    border-radius: 5px;
    width: 26px;
}

.esun-new-product__previous,
.esun-new-product__next {
    display: none;
}

.esun-new-product__visually-hidden {
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.esun-new-product .product-image-wrapper {
    overflow: hidden;
    display: block;
}

.esun-new-product .product-image-photo {
    transition: all 0.35s ease;
}

.esun-new-product .product-image-container:hover .product-image-photo {
    transform: scale(1.08) translateY(-5px);
}

@media (max-width: 1023px) {
    .esun-new-product__slide {
        grid-template-columns: 1fr;
    }

    .esun-new-product__product-card {
        min-height: 460px;
    }
}

@media (max-width: 639px) {
    .esun-new-product {
        margin-top: 48px;
        padding: 0 15px;
    }

    .esun-new-product__title {
        font-size: 28px;
        padding-top: 10px;
        margin-bottom: 48px;
    }

    .esun-new-product__product-card {
        border-radius: 24px;
        grid-template-columns: 40% 60%;
        min-height: 350px;
    }

    .esun-new-product__copy {
        padding: 34px 0 30px 34px;
    }

    .esun-new-product__image {
        bottom: 0;
        height: 285px;
        position: absolute;
        right: -4%;
        width: 64%;
    }

    .esun-new-product__actions {
        gap: 12px;
    }

    .esun-new-product__buy {
        min-width: 130px;
        font-size: 14px;
    }

    .esun-new-product__features {
        border-radius: 24px;
        min-height: auto;
        padding: 20px 16px;
    }

    .esun-new-product__content {
        gap: 24px;
        grid-template-rows: minmax(130px, auto) 250px;
    }

    .esun-new-product__features .pagebuilder-column-line {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esun-new-product__features .pagebuilder-column {
        min-width: 0;
        width: 100% !important;
    }

    .esun-new-product__features table tr td {
        padding: 4px 0;
    }

    .esun-new-product__features table tr td:first-child {
        width: 42px;
    }

    .esun-new-product__features table tr td:last-child {
        min-width: 0;
        width: auto;
    }

    .esun-new-product__features table tr td img {
        height: 34px !important;
        width: 34px !important;
    }

    .esun-new-product__features table tr td h3 {
        font-size: 15px;
        line-height: 1.2;
    }

    .esun-new-product__features table tr td p {
        font-size: 12px;
        line-height: 1.2;
    }

    .esun-new-product__gallery {
        min-height: 250px;
    }

    .esun-new-product__gallery .pagebuilder-column-line {
        display: grid !important;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .esun-new-product__gallery .pagebuilder-column {
        border-radius: 24px;
        min-height: 250px;
        width: 100% !important;
    }

    .esun-new-product__slider {
        padding-bottom: 70px;
    }

    .esun-new-product__pagination {
        bottom: 11px !important;
    }
    .esun-new-product__previous {
        padding-right: 9px;
    }
    .esun-new-product__next {
        padding-left: 9px;
    }
    .esun-new-product__previous,
    .esun-new-product__next {
        align-items: center;
        border: 1px solid var(--esun-new-product-green);
        border-radius: 50%;
        bottom: 0;
        box-shadow: none;
        display: flex;
        font-size: 28px;
        height: 42px;
        justify-content: center;
        line-height: 1;
        position: absolute;
        width: 42px;
        z-index: 11;
    }

    .esun-new-product__previous {
        background: #fff;
        color: var(--esun-new-product-green);
        left: calc(50% - 130px);
    }

    .esun-new-product__next {
        background: var(--esun-new-product-green);
        color: #fff;
        right: calc(50% - 130px);
    }
}
