.cd-packer-tip {
    margin: 24px 0;
    padding: 24px;
    border: 1px solid #e4e5e9;
    border-radius: 8px;
    background: #f7f7f9;
}

.cd-packer-tip__title {
    margin: 0 0 6px;
    color: #0f0f0f;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    text-transform: uppercase;
}

.cd-packer-tip__description {
    margin: 0 0 18px;
    color: #686a76;
    font-size: 14px;
    line-height: 1.5;
}

.cd-packer-tip__options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cd-packer-tip__option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.cd-packer-tip__option input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.cd-packer-tip__choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 68px;
    padding: 8px 10px;
    border: 2px solid #dedfe4;
    border-radius: 6px;
    background: #fff;
    color: #0f0f0f;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease,
        color 0.2s ease;
}

.cd-packer-tip__image {
    display: block;
    width: 48px;
    min-width: 48px;
    height: 48px;
    border-radius: 4px;
    background: #fff;
    object-fit: contain;
}

.cd-packer-tip__amount {
    white-space: nowrap;
}

.cd-packer-tip__option:hover .cd-packer-tip__choice {
    border-color: #d01d25;
}

.cd-packer-tip__option input:focus-visible + .cd-packer-tip__choice {
    outline: 3px solid rgba(208, 29, 37, 0.25);
    outline-offset: 2px;
}

.cd-packer-tip__option input:checked + .cd-packer-tip__choice {
    border-color: #d01d25;
    background: #d01d25;
    color: #fff;
}

.cd-packer-tip__status {
    min-height: 20px;
    margin: 12px 0 0;
    color: #686a76;
    font-size: 13px;
    line-height: 20px;
}

.cd-packer-tip__status.is-error {
    color: #d01d25;
}

.cd-packer-tip.is-loading .cd-packer-tip__options {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 767px) {
    .cd-packer-tip {
        margin: 20px 0;
        padding: 18px;
    }

    .cd-packer-tip__options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cd-packer-tip__choice {
        flex-direction: column;
        gap: 6px;
        min-height: 94px;
        padding: 8px 6px;
        font-size: 14px;
    }

    .cd-packer-tip__image {
        width: 40px;
        min-width: 40px;
        height: 40px;
    }
}
