.ct-remove-btn {
    color: #ef4444 !important;
    font-size: 26px;
    font-weight: 500;
    text-decoration: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease, background 0.2s ease;
    background: #fef2f2;
    line-height: 1;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.ct-remove-btn:hover {
    background: #fee2e2;
    color: #dc2626 !important;
    transform: scale(1.1);
}

.ct-remove-btn:active {
    transform: scale(0.92);
    background: #fecaca;
    filter: brightness(0.9);
}

@media (max-width: 480px) {
    .ct-remove-btn {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
}

.ct-item .ct-title {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    display: block;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 44px;
}

.ct-item {
    position: relative;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
}

/* Бейдж — компактний, як в лістингу але менший */
.ct-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.4;
    white-space: nowrap;
    background-color: #2E3741;
    color: #ffffff;
}

.ct-badge span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* Total */
.ct-item-total {
    font-weight: 600 !important;
    font-size: 15px !important;
    text-align: right !important;
    color: #0f172a !important;
    white-space: nowrap;
}

/* === МОБІЛЬНІ: компактний бейдж === */
@media (max-width: 480px) {
    .ct-badge {
        font-size: 10px !important;
        padding: 2px 6px !important;
    }
    .ct-badge span {
        font-size: 10px !important;
    }
}

/* === МОБІЛЬНІ: відступ перед селектором кількості === */
@media (max-width: 480px) {
    .ct-qty-selector {
        margin-top: 8px;
    }
}

/* === Прибрати вбудовані стрілки number input === */
.ct-qty-selector input[type=number]::-webkit-inner-spin-button,
.ct-qty-selector input[type=number]::-webkit-outer-spin-button,
input[type=number].ct-qty-input::-webkit-inner-spin-button,
input[type=number].ct-qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: none !important;
    margin: 0 !important;
}
.ct-qty-selector input[type=number],
input[type=number].ct-qty-input {
    -moz-appearance: textfield !important;
    appearance: none !important;
}


@media (max-width: 480px) {
    .ct-item .ct-title {
        font-size: 16px !important;
    }
}