
.ck-head,
.ck-row {
    display: grid;
    grid-template-columns: minmax(0, 3fr) 1.3fr 1.1fr 1.1fr .8fr;
    align-items: center;
    column-gap: 10px;
    padding-left: 5px;
}

.ck-head > div,
.ck-col {
    font-weight: 500;
    font-size: 14px;
    color: #888888;
}

.ck-head > div {
    font-size: 13.6px;
}

.ck-head > div:not(:first-child),
.ck-col {
    text-align: center;
}

.ck-sep {
    height: 2px;
    background: #BBBBBB;
    border: 0;
    margin: 5px 0 14px;
}

.ck-vacio {
    text-align: center;
    padding: 60px 0 50px;
}

.ck-vacio img,
.ck-vacio svg {
    width: 120px;
    height: auto;
    opacity: .6;
    margin-bottom: 18px;
}

.ck-vacio-texto {
    font-weight: 500;
    font-size: 16px;
    color: #c6c6c6;
}

.ck-row {
    padding: 18px 0;
    border-bottom: 1px solid #eeeeee;
    margin-bottom: -5px;
}

.ck-prod {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    text-align: left;
}

.ck-prod-img {
    width: 117px;
    height: 117px;
    object-fit: cover;
    flex: 0 0 117px;
    border-radius: 4px;
}

.ck-prod-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    max-width: 200px;
}

.ck-prod-nombre {
    font-weight: 500;
    font-size: 14px;
    color: #888888;
    line-height: 1.15;
    overflow-wrap: anywhere;
    word-break: normal;
}

.ck-prod-descripciondetalle {
    font-weight: 500;
    font-size: 11px;
    color: #888888;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.ck-entrega-label {
    font-weight: 500;
    font-size: 12px;
    color: #888888;
    margin-top: 6px;
}

.ck-entrega-container {
    display: flex;
    align-items: center;
    max-width: 154px;
}

.ck-entrega-unico {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 204px;
    font-weight: 500;
    font-size: 14px;
    color: #888888;
    line-height: 1.15;
}

.ck-entrega-unico img,
.ck-icono-entrega {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex: 0 0 22px;
}

.ck-icono-entrega {
    margin-right: 5px;
}

.ck-entrega-select {
    width: 153px;
    max-width: 153px;
    height: 22px;
    background: #FFFFFF;
    border: 1px solid #c4c4c4;
    border-radius: 4.2px;
    box-sizing: border-box;
    padding: 0 6px;
    font-weight: 500;
    font-size: 14px;
    color: #bebebe;
}

.ck-entrega-select.ck-elegido {
    color: #888888;
}

.ck-qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 75px;
    height: 24px;
    border: 1px solid #888888;
    border-radius: 30px;
    box-sizing: border-box;
}

.ck-qty input[type=button] {
    width: 18px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--ps-color-activo, var(--color-primario));
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.ck-qty input[type=text] {
    width: 45px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #888888;
}

.ck-action-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.ck-elim-x {
    cursor: pointer;
}

.ck-resumen {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 50px;
    padding-right: 60px;
}

.ck-total-label {
    text-align: center;
    font-weight: 500;
    font-size: 13.6px;
    color: #888888;
    line-height: 1.4;
    white-space: nowrap;
}

.ck-total-label small {
    display: block;
    font-size: 12px;
    white-space: nowrap;
}

.ck-total-monto {
    font-weight: 500;
    font-size: 13.6px;
    color: #888888;
    white-space: nowrap;
}

.ck-acciones {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 18px;
}

.ck-acciones a {
    display: inline-block;
    width: 180px;
}

.ck-btn {
    font-size: 13.6px;
}

@media(max-width: 837px) {
    .ck-head > div,
    .ck-col {
        text-align: center;
    }

    .ck-body {
        --ck-font-normal: clamp(11px, 2.8vw, 14px);
        --ck-font-small: clamp(10px, 2.4vw, 12px);
        --ck-font-detail: clamp(9px, 2vw, 11px);

        padding: 0 7px;
    }

    .ck-head,
    .ck-row {
        grid-template-columns: 117px 1fr 1fr 1fr .8fr;
        column-gap: 6px;
        padding-left: unset;
    }

    .ck-row {
        padding: 12px 0;
    }

    .ck-prod {
        display: block;
        width: 117px;
        max-width: 117px;
    }

    .ck-prod-img {
        width: 117px;
        height: 117px;
        flex: none;
    }

    .ck-prod-info {
        width: 117px;
        max-width: 117px;
        margin-top: 6px;
    }

    .ck-entrega-container,
    .ck-entrega-unico,
    .ck-entrega-select {
        width: 117px;
        max-width: 117px;
    }

    .ck-entrega-unico {
        gap: 4px;
        font-size: 12px;
    }

    .ck-icono-entrega {
        display: none !important;
    }

    .ck-resumen {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 0;
        padding-right: 0;
    }

    .ck-total-label {
        grid-column: 1 / 3;
        justify-self: center;
        text-align: center;
    }

    .ck-total-monto {
        grid-column: 2;
        justify-self: end;
        margin-top: -28px;
    }

    .ck-acciones {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .ck-acciones a,
    .ck-btn {
        width: 180px;
        max-width: 180px;
    }

    .ck-head > div,
    .ck-col,
    .ck-prod-nombre {
        font-size: var(--ck-font-normal);
    }

    .ck-entrega-label,
    .ck-entrega-unico,
    .ck-total-label,
    .ck-total-monto {
        font-size: var(--ck-font-small);
    }

    .ck-total-label small,
    .ck-prod-descripciondetalle {
        font-size: var(--ck-font-detail);
    }

    .ck-entrega-select {
        font-size: var(--ck-font-small);
    }

    .ck-qty input[type=text],
    .ck-qty input[type=button] {
        font-size: 16px;
    }

    .ck-qty {
        width: clamp(50px, 10vw, 65px);
        height: clamp(20px, 5vw, 22px);
    }
    
    .ck-qty input[type=button] {
        width: clamp(14px, 4vw, 16px);
        font-size: clamp(14px, 3.8vw, 16px);
    }
    
    .ck-qty input[type=text] {
        width: clamp(30px, 7vw, 38px);
        height: clamp(20px, 5vw, 22px);
        font-size: clamp(12px, 3.4vw, 13px);
    }
}