﻿.grb_event-pc__wrapper {
    row-gap: 25px;
}

.grb_event-pc__text {
    max-width: 930px;
    line-height: 1.5;
}

.grb_event-pc__all-products {
    color: var(--primary-theme-color);
    text-align: center;
    font-size: var(--size_h4);
    font-weight: var(--semibold);
    padding: 15px 20px;
    border: 2px solid var(--primary-theme-color);
    border-radius: 50px;
    display: none;
}

.grb_event-pc__list {
    column-gap: 35px;
    width: 100%;
}

.grb_event-pc__item {
    width: 100%;
    max-width: 455px;
    height: 320px;
    border-radius: 20px;
    background-color: #161616;
    outline: 1px solid #76B900;
}

    .grb_event-pc__item:hover .grb_event-pc__cta path {
        animation-name: movedArrow;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }

.grb_event-pc__left {
    row-gap: 30px;
    height: 100%;
    padding: 15px;
}

.grb_event-pc__image {
    width: 200px;
    height: 200px;
}

    .grb_event-pc__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.grb_event-pc__cta {
    width: 100%;
    max-width: 145px;
    color: var(--tag-font-color);
    background-color: var(--blanc);
    border-radius: 10px;
    padding: 10px;
    font-size: var(--size_h4);
    font-weight: var(--semibold);
}

    .grb_event-pc__cta svg path {
        fill: var(--tag-font-color);
    }

.grb_event-pc__content {
    max-width: 215px;
    height: 100%;
    background: linear-gradient(171deg, #414045 2.74%, #262626 34.54%, #262626 74.48%, #76B900 99.76%);
    border-radius: 0 20px 20px 0;
    padding: 10px 10px 20px 30px;
    color: white;
}

.grb_event-pc__tag {
    width: fit-content;
    padding: 5px;
    color: var(--tag-font-color);
    text-align: center;
    font-size: var(--size_p);
    font-weight: var(--semibold);
    background-color: var(--tag-bg-color);
    border-radius: 5px;
}

.grb_event-pc__type {
    margin-bottom: -5px;
    color: #76B900;
    font-weight: var(--semibold);
}

.grb_event-pc__name {
    font-size: 22px;
    font-weight: var(--semibold);
    text-transform: uppercase;
}

.grb_event-pc__feature {
    height: 100%;
    max-height: 128px;
    font-weight: var(--medium);
    overflow-y: hidden;
}

.grb_event-pc__feature-item {
    min-height: 16px;
    line-height: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.grb_event-pc__price-container {
    margin-top: auto;
    row-gap: 5px;
    column-gap: 10px;
}

.grb_event-pc__discount {
    padding: 5px;
    color: white;
    border-radius: 5px;
    background-color: #EE2D24;
}

.grb_event-pc__old-price {
    position: relative;
    color: #BBBBBB;
    font-size: 20px;
    font-weight: var(--semibold);
}

    .grb_event-pc__old-price::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #BBBBBB;
        transform: translateY(-50%);
    }

.grb_event-pc__current-price {
    padding: 5px;
    color: var(--tag-font-color);
    font-size: 24px;
    font-weight: var(--semibold);
    border: 2px solid var(--tag-font-color);
    border-radius: 10px;
}

/* animation cta */
.grb_event-pc__blob-btn {
    z-index: 1;
    position: relative;
    text-align: center;
    transition: color 0.5s;
    cursor: pointer;
    overflow: hidden;
}

    .grb_event-pc__blob-btn svg {
        position: absolute;
    }

    .grb_event-pc__blob-btn:before {
        content: "";
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .grb_event-pc__blob-btn:after {
        content: "";
        z-index: -2;
        position: absolute;
        left: 3px;
        top: 3px;
        width: 100%;
        height: 100%;
        transition: all 0.3s 0.2s;
    }

    .grb_event-pc__blob-btn:hover {
        color: #fff;
    }

        .grb_event-pc__blob-btn:hover:after {
            transition: all 0.3s;
            left: 0;
            top: 0;
            border-radius: 30px;
        }

.grb_event-pc__blob-btn__inner {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.grb_event-pc__blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    filter: url('#goo');
}

.grb_event-pc__blob-btn__blob {
    position: absolute;
    top: 2px;
    width: 25%;
    height: 100%;
    background-color: var(--primary-theme-color);
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.7);
    transition: transform 0.45s;
}

    .grb_event-pc__blob-btn__blob:nth-child(1) {
        left: 0%;
        transition-delay: 0s;
    }

    .grb_event-pc__blob-btn__blob:nth-child(2) {
        left: 30%;
        transition-delay: 0.08s;
    }

    .grb_event-pc__blob-btn__blob:nth-child(3) {
        left: 60%;
        transition-delay: 0.16s;
    }

    .grb_event-pc__blob-btn__blob:nth-child(4) {
        left: 90%;
        transition-delay: 0.24s;
    }

.grb_event-pc__blob-btn:hover .grb_event-pc__blob-btn__blob {
    transform: translateZ(0) scale(1.7);
}

@media screen and (max-width: 1140px) {
    .grb_event-pc__blob-btn {
        order: 1;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .grb_event-pc__list {
        row-gap: 10px;
    }

    .grb_event-pc__item {
        max-width: 370px;
    }

    .grb_event-pc__left {
        padding: 10px;
    }

    .grb_event-pc__image {
        width: 162px;
        height: 162px;
    }

    .grb_event-pc__content {
        max-width: 166px;
        padding: 15px;
    }

    .grb_event-pc__tag {
        font-size: 11px;
    }

    .grb_event-pc__type {
        font-size: 13px;
    }

    .grb_event-pc__name {
        font-size: 16px;
    }

    .grb_event-pc__feature {
        row-gap: 5px;
        font-size: 14px;
        max-height: 110px;
    }

    .grb_event-pc__feature-item {
        min-height: 14px;
        line-height: 14px;
    }

    .grb_event-pc__cta {
        font-size: 16px;
    }

    .grb_event-pc__price-container {
        column-gap: 5px;
    }
}
