.channel-page-content,
.card-content ul,
.card-total {
    display: flex;
    flex-direction: column;
}

.channel-page-content {
    gap: 20px;
}

.channel-page-content p {
    color: white;
}

.card-content {
    display: flex;
    gap: 10px;
    width: 100%;
}

.card-content ul {
    width: 70%;
    gap: 10px;
    list-style: none;
}

.card-total {
    width: 30%;
}

.card-header,
.card-content ul li {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
}

.card-header {
    padding: 0px 30px;
    color: white;
}

.card-header span {
    opacity: 0.8;
    font-weight: 400;
    font-size: 18px;
}

.card-header span:last-child {
    text-align: end;
}

.card-content ul li,
.card-total {
    border-radius: 12px;
    background-color: white;
    padding: 30px;
    color: var(--black);
}

.card-total {
    gap: 20px;
    margin-top: 28px;
}

.card-total p {
    color: var(--black);
}

.checkboxes input {
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
    transition: all 0.15s ease-out 0s;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    background: #F2F2F2;
    outline: none;
    padding: 4px;
}

.checkboxes input:checked {
    color: white;
}

.checkboxes input:checked::before {
    content: '\2713';
    display: flex;
    font-size: 12px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    position: relative;
}

.checkboxes input:checked {
    background: var(--black);
}

.card-price-desc {
    display: flex;
    align-items: center;
    gap: 35px;
}

.checkboxes {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-total h1 {
    color: var(--black);
}

.card-total button {
    background: linear-gradient(90deg, var(--light-blue) 0%, var(--blue) 100%);
    border-radius: 6px;
    color: white;
    max-width: 200px;
}

.telegram-input {
    background-color: #F2F2F2;
    outline: none;
    border: none;
    padding: 14px;
}

.card-total input::placeholder,
.card-total input::-ms-input-placeholder,
.card-total input {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    opacity: 1
}

.gradient-input:checked {
    background: linear-gradient(90deg, var(--light-blue) 0%, var(--blue) 100%) !important;
}

.channel-name {
    display: flex;
    flex-direction: column;
    gap: 31px;
}

.channel-name .card-list-item-checkboxes {
    display: flex;
    align-items: center;
    gap: 60px;
}

.channel-publish-count {
    display: flex;
    align-items: baseline;
}

.channel-publish-count-items {
    display: flex;
    align-items: center;
    gap: 12px;
}

.minus,
.plus {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    max-width: 24px;
    max-height: 24px;
    background-color: #F2F2F2;
    border-radius: 4px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}

.channel-price {
    display: flex;
    justify-content: end;
}

.cart-item-count,
.channel-price h3 {
    font-size: 28px;
    font-weight: 500;
}

.cart-item-count {
    width: 40px;
    height: 30px;
    border: none;
    outline: none;
    text-align: center;
}

@media (max-width: 1160px) {
    .card-content {
        flex-direction: column;
    }
    
    .card-content ul,
    .card-content .card-total {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .card-content ul li h2 {
        font-size: 18px;
    }

    .card-content ul li .checkboxes span {
        font-size: 12px;
    }

    .channel-price h3,
    .cart-item-count {
        font-size: 20px;
    }

    .card-header span {
        font-size: 14px;
    }

    .card-header span:last-child {
        text-align: right;
    }
}

@media (max-width: 700px) {
    .channel-page-content {
        padding: 10px;
    }
    
    .channel-page-content h1 {
        font-size: 40px;
    }
    
    .card-content ul li {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .channel-price {
        justify-content: start;
    }
    
    .card-list-item-checkboxes {
        gap: 10px !important;
    }
    
    footer button {
        padding: 10px;
    }
    
    .card-header {
        display: none;
    }

    .card-price-desc {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
}

@media (max-width: 400px) {
    .card-list-item-checkboxes {
        flex-direction: column;
        align-items: start !important;
    }

    .checkboxes span {
        font-size: 14px;
    }

    .logo {
        max-width: 140px;
    }
}
.cart-warning-not {
    visibility: hidden;
    display: none;
}

.cart-warning {
    color: red;
}