.bonus-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    border-radius: var(--border-radius);
    background: var(--card-bg-color-accent);
    box-shadow: var(--box-shadow);
}

.bonus-row__item {
    position: relative;
    grid-column: 1 / 4;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    align-items: center;
    text-align: center;
    margin-bottom: 0.1rem;
}

.bonus-row__item:first-child:after {
    display: none;
}

.bonus-row__item-title {
    font-size: var(--font-size-caption);
    margin-bottom: 0.75rem;
}

.bonus-row__item-value {
    margin-bottom: 0.10em;
    user-select: none;
    -webkit-user-select: none;
}

.bonus-row__item-value p {
    /* font-weight: 600; */
}

.bonus-row__tooltip {
    display: inline-block;
    position: relative;
    margin-left: 0.5rem;
    border: 1px solid var(--color-primary);
    width: 14px;
    height: 14px;
    border-radius: var(--border-radius-largest);
    background: var(--color-primary-dark);
    font-size: var(--font-size-caption-sm);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    color: var(--card-bg-color);
    cursor: pointer;
}

.bonus-row__tooltip-text {
    position: absolute;
    color: var(--text-color-dark);
    bottom: 2rem;
    left: -120px;
    background: white;
    font-size: var(--font-size-caption);
    font-weight: 400;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    box-shadow: var(--box-shadow);
    display: none;
    z-index: 2;
    width: 220px;
}

.bonus-row__tooltip input {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 0;
    background: transparent;
    outline: none;
    border: none;
}

.bonus-row__tooltip input:checked~.bonus-row__tooltip-text {
    display: block;
}

.bonus-row__expand {
    grid-column: 1 / 4;
    display: inline-flex;
    position: relative;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 0.75rem 0;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    font-size: var(--font-size-caption);
    color: var(--text-color-dark);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bonus-row__expand:hover {
    color: var(--color-cta);
}

.bonus-row__circle-button {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: var(--border-radius-largest);
    border: 0;
    background: var(--list-circle-color);
    margin-left: 0.5rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.bonus-row__arrow-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
}

#bonus-row__expand-toggle {
    display: none;
}

#bonus-row__expand-toggle:checked~.bonus-row__dropdown {
    max-height: 500px;
    opacity: 1;
    border-color: var(--color-primary);
    transition: max-height 400ms ease-in-out;
}

#bonus-row__expand-toggle:checked+.bonus-row__expand {
    font-weight: 600;
    color: var(--color-cta);
}

#bonus-row__expand-toggle:checked+.bonus-row__expand .bonus-row__arrow-container {
    transform: translate(-50%, -42%) rotateX(180deg);
}

/* DROPDOWN CONTENT */

.bonus-row__dropdown {
    grid-column: 1 / 4;
    display: grid;
    background: var(--card-bg-color);
    border-top: 1px solid transparent;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: border-top 0ms 400ms ease-in-out, max-height 400ms ease-in-out, opacity 0ms 400ms;
}

.bonus-row__dropdown-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0.75rem 1rem;
}

.bonus-row__dropdown-item:after {
    content: '';
    position: absolute;
    left: 2.5rem;
    width: calc(100% - 5rem);
    height: 1px;
    background: var(--color-primary);
}

.bonus-row__dropdown-item:first-child:after {
    display: none;
}

.bonus-row__dropdown-item-title,
.bonus-row__dropdown-item-value {
    font-size: var(--font-size-body);
    font-weight: 500;
}

.bonus-row__dropdown-item-value {
    max-width: 40vw;
    text-align: right;
}

@media screen and (min-width: 425px) {
    .bonus-row__tooltip:hover .bonus-row__tooltip-text {
        display: block;
    }

    .list__tooltip input {
        display: none;
    }
}


@media screen and (min-width: 560px) {
    .bonus-row {
        grid-column: auto;
        gap: 0;
    }

    .bonus-row__dropdown-item {
        margin-bottom: 0rem;
        padding: 0.75rem 2.5rem;
    }

    .bonus-row__dropdown-item-value {
        max-width: none;
    }
}