.toppings-wrap {
    margin-bottom: 96px;
}
.toppings {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
}
.toppings--cols-4 {
    max-width: 824px;
}
.toppings--cols-5 {
    max-width: 1038px;
}
.toppings__title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 32px;
    text-align: center;
}
.topping {
    position: relative;
    padding: 32px 16px 16px;
    display: grid;
    justify-items: center;
    box-shadow: 0 8px 16px #00000010;
    border-radius: 8px;
    gap: 24px;
    width: 100%;
    max-width: 188px;
    outline: 1px solid rgba(127,127,127,0.15);
}
.topping:after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--clr-main-bg);
    opacity: .5;
    z-index: -2;
    border-radius: 8px;
}
.topping__title {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
}
.topping__summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.topping__weight {
    opacity: .8;
}
.topping__price {
    font-weight: 500;
    color: var(--clr-main-ac);
}
.topping input {
    visibility: hidden;
    position: absolute;
}
.topping__checked {
    position: absolute;
    top: 16px;
    right: 16px;
    display: none;
    & path {
        fill: var(--clr-main-ac);
    }
}
.topping:hover {
    outline: 1px solid var(--clr-main-ac);
}
.topping:has(input:checked) {
    outline: 2px solid var(--clr-main-ac);
}
.topping:has(input:checked) .topping__checked {
    display: block;
}




@media only screen and (max-width: 1440px) {
    .topping {
        max-width: 168px;
    }
}



@media only screen and (max-width: 860px) {
    .toppings {
        gap: 16px;
    }
    .toppings-wrap {
        margin-bottom: 2rem;
    }
    .toppings img {
        padding: 0;
        max-width: 48px;
        order: -1;
    }
    .toppings .topping  {
        display: grid;
        grid-template-columns: auto auto 1fr;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        padding: 16px;
        max-width: initial;
    }
    .toppings__title {
        font-size: 20px;
        margin-bottom: 16px;
        text-align: start;

    }
    .topping__summary {
        flex-direction: row-reverse;
    }
    .toppings .topping .meta {
        margin: 0;
        align-self: center;
        gap: 9px;
    }
}
 
@media only screen and (max-width: 480px) {
    .product-card .cart {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        padding: 16px;
        box-shadow: 0 8px 16px #00000050;
    }
}