@import url("/css/main.css");

/* clases para utilizar con js */

/* car */
.car-menu {
    background-color: #ffffff;
    padding-bottom: 10rem;
    height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #a1a1a1 #f5f5f5;
}

.car__product-vacio-Aviso {
    padding: 0 2rem;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.car__product-vacio-Aviso p {
    text-align: center;
    color: #a3a3a3;
    padding-top: 21rem;
    text-transform: uppercase;
}
.car__product-vacio-Aviso img {
    padding: 1rem 5rem 5rem 5rem;
}

.car__products {
    scrollbar-color: #a1a1a1 #fff;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 12rem 2rem 2rem 2rem;
}

.car__product-card {
    background-color: #f8f8f8;
    display: flex;
    padding: 0.7rem;
    border-radius: 1.5rem;
    justify-content: space-between;
    align-items: start;
    transition: transform 0.3s ease;
}

.car__product-card:hover {
    transform: scale(1.05);
}
.car__product-car-info {
    margin: 1rem 0;
}

.car__product-card-img {
    background-color: #e7e6e6;
    width: 9rem;
    height: auto;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}
.car__product-card-img img {
    object-fit: cover;
    height: 6rem;
    width: auto;
}

.car__product-left {
    display: flex;
}
.car__product-card-right {
    width: 20px;
}
.car__product-card-right {
    cursor: pointer;
    width: 1.7rem;
    margin-right: 0.5rem;
}
.car__product-car-info-name {
    padding-top: 0rem;
    font-weight: 600;
    font-size: 1.4rem;
}

.car__product-car-info-price {
    font-weight: 500;
    margin: 0.5rem 0;
    font-size: 1.4rem;
    color: #695757;
}

.car__product-car-info .product-quantity {
    justify-content: start;
    margin: 0;
    font-size: 1rem;
}
.quantity-btn {
    width: 2rem;
    height: 2rem;
    border: 0.1rem solid #d6d6d6;
}

.car__product-car-info .product-quantity button,
span {
    color: #000000;
    font-size: 1.4rem;
    border-radius: 2rem;
}

.car__product-car-info .product-quantity span {
    font-weight: 500;
}
.product-quantity {
    display: flex;
    gap: 1rem;
}

.car__footer-contenedor-btn-vaciar {
    display: flex;
    justify-content: end;
}
.carrito-acciones-vaciar {
    background-color: #eeeeee;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    color: #9ea2a4;
    font-size: 1.1rem;
}

/* Car footer */

.car__footer-cupon-title {
    padding-top: 2rem;
}

.car__footer-cupon-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0 2rem 0;
    border-bottom: 1px solid #d0d1d1;
    margin-bottom: 2rem;
}
.car__footer-cupon-input input {
    background-color: #fff;
    border: 1px solid #d0d1d1;
    outline: none;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    width: 70%;
}
.car__footer-cupon-input button {
    background-color: #a38c6d;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 30%;
    border-radius: 0.8rem;
    padding: 1.1rem 0;
    cursor: pointer;
}

.car__footer {
    padding: 0 2rem;
    width: 100%;
    background: transparent;
}
.car__footer-price-content {
    display: flex;
    justify-content: space-between;
}

.car__footer-price-title {
    padding-bottom: 1rem;
    font-size: 1.4rem;
}
.car__footer-price-total {
    font-size: 1.4rem;
}

.car__footer-order {
    margin: 2rem 0;
    background-color: #a38c6d;
    border: none;
    color: #fff;
    font-size: 14px;
    width: 100%;
    border-radius: 0.8rem;
    cursor: pointer;

    padding: 1.1rem 0;
}

.carrito-comprado {
    padding: 0 2rem;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carrito-comprado p {
    color: #9ea2a4;
    text-transform: uppercase;
    text-align: center;
    font-style: normal;
}

.carrito-comprado img {
    padding: 1rem 15rem 5rem 15rem;
}

/* Footer */

.footer-nav {
    grid-area: footer-nav;
    background-color: #f5f5f5bb;

    backdrop-filter: blur(20px);
    z-index: 200;
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.footer-nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.3rem 1rem 0.5rem 1rem;
    border-radius: 1rem;
}

.footer-nav-icon {
    position: relative;
}

.numerito-footer {
    position: absolute;
    color: #fff;
    background-color: #695757;
    width: 1.8rem;
    font-size: 1rem;
    border-radius: 1rem;
    top: -8px;
    left: 10px;
    text-align: center;
}

.footer-nav-item p {
    font-size: 1.2rem;
    color: #000;
}
.footer-nav-item svg path {
    fill: #4c4c4c;
}

.footer-nav-item--active {
    background-color: #695757;
}

.footer-nav-item--active svg path {
    fill: #fff;
}

.footer-nav-item--active p {
    color: #fff;
    font-size: 1.2rem;
}

.disabled {
    display: none;
}

/* ventana flotante */

.swal-title {
    font-size: 2.4rem; /* Tamaño del título */
    font-weight: bold;
}

.swal-confirm {
    font-size: 1.4rem; /* Tamaño del texto del botón */
    padding: 0.8rem 1.5rem; /* Tamaño del botón */
    border-radius: 0.5rem;
    background-color: #a38c6d;
    color: #fff;
    border: none;
}

.swal-cancel {
    font-size: 1.4rem; /* Tamaño del texto del botón */
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    background-color: #7d8083;
    color: #fff;
}
@media (min-width: 768px) {
    .footer-nav {
        display: none;
    }
    .car__product-delate {
        border: none;
        cursor: pointer;
        background-color: transparent;
        display: flex;
        align-items: center;
        height: 100%;
        padding-top: 0.5rem;
    }
    .car__product-delate svg {
        width: 1.7rem;
        height: 1.7rem;
    }
    .car__product-delate svg path {
        fill: #949494;
    }
    .car__product-delate:hover svg path {
        fill: #695757; /* Color que deseas para el hover */
    }
}
