.products {
    position: relative;
    z-index: 1;
}

.products__bg {
    position: absolute;
    width: 100%;
    height: 100%; 
    bottom: 0;
    left: 0;
    object-fit: cover;
    object-position: bottom;   
    z-index: -1;
}

.products::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%; 
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(242, 120, 56, 0.83) -8.95%, rgba(239, 102, 35, 0.83) 32.48%, rgba(200, 76, 39, 0.83) 73.28%);
    z-index: -1;
}

.products__heading {
    color: #fff;
    text-align: center;
}

.products__heading h2,
.products__heading h4 {
    color: #fff;
}

.products__heading h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    padding-bottom: 25px;
}

.products__heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right,  rgba(248,185,23,1) 0%,rgba(248,185,23,1) 50%,rgba(248,185,23,0) 51%,rgba(248,185,23,0) 100%) 0 0 repeat-x;
    background-size: 16px 4px;
}

.products__heading h4 {
    color: #fff;
    font-family: 'druk_wide_boldbold';
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6875em;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.product-card-slider {
    margin: 0;
    padding-bottom: 102px;
}

.product-card-item {
    padding: 28px 22px;
}

.product-card {
    display: block;
    font-weight: normal;
    border: none;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 0 20px 8px rgba(0, 0, 0, 0.15);
    padding: 38px 30px 129px;
    position: relative;
    z-index: 1;
    color: var(--color-tertiary-gray);
    overflow: hidden;
}

.product-card__details p {
    letter-spacing: 0.01em;
    overflow: hidden;
}

.read-more-toggle {
    color: var(--color-primary, #C84C27);
    cursor: pointer;
    font-weight: 600;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.read-more-toggle:hover {
    color: var(--color-secondary, #F86638);
    text-decoration: underline;
}

.product-card__details h3 {
    font-size: 35px;
    line-height: 1em;
}

.product-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 83px;
    background: var(--color-green);
    bottom: 0;
    right: 0;
    z-index: -1;
}

.product-card--green::after {
    background: var(--color-green);
}

.slick-current.slick-active .product-card::after {
    background: var(--color-yellow);
}

.product-card__image {
    position: absolute;
    width: 190px;
    bottom: -10px;
    right: -10px;
}

.product-card-slider .slick-dots {
    bottom: 50px;
    width: 100%;
    padding: 0;
}

.products__bttn {
    margin-top: 45px;
}

@media (min-width: 768px) {


    .product-card-slider {
        margin: 0 24px;
        padding-bottom: 33px;
    }

    .product-card {
        padding: 56px 0px 49px 26px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .product-card__details {
        width: calc(100% - 304px);
    }

    .product-card::after {
        width: 233px;
        height: 100%;
    }

    .product-card__image {
        position: absolute;
        width: 316px;
        bottom: auto;
        top: 50%;
        right: 0;
        transform: translate(0, -50%)
    }

    .product-card-slider .slick-prev {
        margin-left: -197px;
    }

    .product-card-slider .slick-next {
        margin-right: -197px;
    }

    .product-card-slider .slick-dots {
        bottom: -12px;
        gap: 30px;
    }
}

@media (min-width: 1200px) {

    .product-card-slider {
        margin: 0 -29px;
        padding-bottom:67px;
    }

    .product-card-item {
        padding: 28px 29px;
    }

    .product-card {
        padding: 0 0px 0 42px;
        width: 894px;
        height: 470px;
    }

    .product-card__details {
        width: 402px;
    }

    .slick-current .product-card {
        height: 506px;
        width: 894px;
    }

    .slick-current .product-card__details {
        width: 460px;
    }

    .product-card::after {
        width: 271px;
    }

    .product-card__image {
        width: 441px;
        right: -50px;
    }

    .slick-current .product-card__image {
        width: 441px;
        right: -38px;
    }

    .slick-current .product-card::after {
        width: 292px;
    }

    .product-card__details h3 {
        font-size: 56px;
    }

    .product-card:hover {
        color: var(--color-tertiary-gray);
    }

    .product-card-slider .slick-prev {
        margin-left: -241px;
    }

    .product-card-slider .slick-next {
        margin-right: -241px;
    }

    .product-card-slider .slick-dots {
        bottom: -18px;
        gap: 25px;
    }

    .product-card-slider .slick-dots li button {
        width: 42px;
        height: 42px;
    }

    .product-card-slider .slick-dots li button::after {
        font-size: 42px;
    }

    .product-card-slider .slick-dots li button:hover::after {
        opacity: 1;
    }

   .product-card-slider .slick-arrow {
        width: 50px;
        height: 50px;
    }

    .product-card-slider .slick-arrow:before {
        font-size: 50px;
    }

    .product-card:hover .product-card__image img {
         animation: flapJump 1s ease-in-out infinite;
    }

    @keyframes flapJump {
    0%   { transform: translateY(0) rotate(0deg); }
    25%  { transform: translateY(-15px) rotate(-5deg); }
    50%  { transform: translateY(0) rotate(0deg); }
    75%  { transform: translateY(-10px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
    }


    .products__title h2 {
        margin-bottom: 0;
        padding-bottom: 0;
        font-size: 111px;
    }

    .products__heading {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
        margin-bottom: 20px;
    }

    .products__title {
        width: 490px;
    }

    .products__title h2::after {
        display: none;
    }

    .products__text {
        width: calc(100% - 494px);
        text-align: left;
        padding-left: 60px;
        position: relative;
    }

    .products__heading h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .products__text::before {
        content: '';
        position: absolute;
        width: 4px;
        height: 100%;
        left: 0;
        top: 12px;
        background: linear-gradient(to bottom,  rgba(248,185,23,1) 0%,rgba(248,185,23,1) 50%,rgba(248,185,23,0) 51%,rgba(248,185,23,0) 100%);
        background-size: 4px 16px;
    }
}


