.cartEmpty {
    height: 60vh;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 1rem;
}

.cartEmpty div:first-of-type {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.cartEmpty p {
    color: #0d1413;
    font-size: 1.1rem;
}

.cartEmpty a {
    color: #f54e00;
}

/* ========================= */
/* BOTONES DEL CARRITO */
/* ========================= */

.buttons-cart {
    padding: 1rem;
    display: flex;
    align-items: center;
    width: 96%;
    margin: 0 auto;
    column-gap: 1rem;
}

.buttons-cart div {
    width: 50%;
}

.buttons-cart div > * {
    width: 100%;
}

/* VACiar carrito */

.emptyCart, .btnBuyConfirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;

    padding: 10px 14px;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition: all 0.25s ease;
}

.emptyCart {
    background-color: #f1f4f4;
    color: #324b48;

    border: 2px solid #324b48;
}

.emptyCart:hover {
    background-color: #324b48;
    color: #f1f4f4;

    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.emptyCart:active {
    transform: scale(0.96);
}

/* COMPRAR */

.btnBuyConfirm {
    color: #fff;
    background-color: #f54e00;

    border: none;
}

.btnBuyConfirm:hover {
    background-color: #ff6a2e;

    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(245,78,0,0.3);
}

/* ========================= */
/* ITEMS DEL CARRITO */
/* ========================= */

.cartContainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 120px;
}

.cartContainer h1 {
    font-size: 3rem;
    text-align: center;
}

.cartItem {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;

    padding: 14px;
    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);

    transition: 0.2s ease;
}

.cartItem:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.cartImage img {
    width: 90px;
    height: 90px;

    object-fit: cover;

    border-radius: 10px;
}

.cartInfo {
    flex: 1;
    margin-left: 10px;
}

.cartName {
    font-size: 18px;
    font-weight: 600;

    margin-bottom: 6px;

    background-color: transparent;
    color: #0d1413;
}

.cartPrice {
    font-size: 16px;
    color: #324b48;
}

.customStock p {
    color: #0d1413;
}

#totalCart {
    color: #0d1413;
    text-align: center;
}

/* ========================= */
/* CANTIDAD */
/* ========================= */

.cartQuantity {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.qtyBtn {
    width: 35px;
    height: 35px;

    border: none;

    background: #f1f4f4;

    border-radius: 8px;

    font-size: 18px;

    cursor: pointer;

    transition: 0.2s;
}

.qtyBtn:hover {
    background: #e3e8e8;
}

.qtyValue {
    font-size: 16px;
    font-weight: 500;

    width: 20px;
    text-align: center;
}

@media (max-width: 500px) {
    .cartName {
        font-size: 13px;
    }
}

@media (max-width: 393px) {
    .emptyCart svg {
        display: none;
    }

    .customStock p {
        text-align: center;
    }

    .cartPrice {
        font-size: 14px;
    }
}