/* Estilos para la vista de Ajuste de Cantidades */
.quantity-adjust-container {
    display: grid;
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
    animation-name: fade-in;
    animation-duration: 0.5s;
    transition: all 0.3s ease;
}

.quantity-adjust-container.similar {
    background-color: rgba(107, 206, 109, 0.05);
    border: 1px solid rgba(107, 206, 109, 0.2);
    padding: 20px;
    border-radius: 2px;
}

.quantity-adjust-title {
    font-family: 'Work Sans', serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #262626;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quantity-adjust-icon {
    color: #ec871f;
    margin-right: 10px;
    font-size: 24px;
}

.quantity-adjust-message {
    font-family: 'Work Sans', serif;
    font-size: 16px;
    text-align: center;
    color: #433c3c;
    line-height: 1.6;
}

.quantity-adjust-summary {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 0;
    border-left: 3px solid black;
}

.quantity-adjust-suggest-btn:hover {
    color: #ffffff;
    background-image: linear-gradient(to top, #ec871f 51%, transparent 50%);
    background-position: 0 100%;
}

.quantity-adjust-separator {
    border-bottom: 1px solid #cbcaca;
    margin: 25px 0;
}

.quantity-adjust-header-row {
    background-color: #fafafa;
    padding: 12px 10px;
    border-bottom: 2px solid #d4cece;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #262626;
    letter-spacing: 0.5px;
}

.quantity-adjust-item-row {
    padding: 7px 0px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.quantity-adjust-item-row:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.quantity-adjust-product-name {
    margin: 0;
    font-family: 'Work Sans', serif;
    font-size: 16px;
    color: #262626;
    font-weight: 500;
}

.quantity-adjust-price {
    color: #ec871f;
    font-size: 16px;
    font-family: 'Work Sans', serif;
    font-weight: 600;
}

.quantity-adjust-quantity-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quantity-adjust-quantity-box {
    text-align: center;
    width: 95% !important;
    height: 40px !important;
    border: 1px solid #d4cece;
    border-radius: 0;
    padding: 8px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #262626;
}

.quantity-adjust-quantity-box:focus {
    border-color: #ec871f;
    outline: none;
    box-shadow: 0 0 0 1px rgba(236, 135, 31, 0.2);
}

.quantity-adjust-btn {
    margin-top: 25px;
}

.quantity-adjust-btn-cancel {
    position: relative;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: uppercase;
    background: none;
    white-space: normal;
    height: 42px;
    background-size: 200% 200%;
    background-image: linear-gradient(to top, #f8f8f8 50%, transparent 50%);
    color: #ff4d4d;
    border-bottom: 3px solid #ff4d4d !important;
    font-weight: bold;
    border-radius: 0px !important;
    transition: all 0.2s ease-in;
    font-size: 0.95rem;
    padding: 10px 25px;
    font-family: 'Ubuntu', sans-serif;
}

.quantity-adjust-btn-cancel:hover {
    color: #ffffff;
    background-image: linear-gradient(to top, #ff4d4d 51%, transparent 50%);
    background-position: 0 100%;
}

.quantity-adjust-btn-continue {
    position: relative;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-transform: uppercase;
    background: none;
    white-space: normal;
    height: 42px;
    background-size: 200% 200%;
    background-image: linear-gradient(to top, #f8f8f8 50%, transparent 50%);
    color: #6bce6d;
    border-bottom: 3px solid #6bce6d !important;
    font-weight: bold;
    border-radius: 0px !important;
    transition: all 0.2s ease-in;
    font-size: 0.95rem;
    padding: 10px 25px;
    float: right;
    font-family: 'Ubuntu', sans-serif;
}

.quantity-adjust-btn-continue:hover {
    color: #ffffff;
    background-image: linear-gradient(to top, #6bce6d 51%, transparent 50%);
    background-position: 0 100%;
}

.quantity-adjust-btn-continue:disabled {
    color: #666666;
    background-image: linear-gradient(to top, #cccccc 51%, transparent 50%);
    background-position: 0 100%;
    border-bottom: 3px solid #cccccc !important;
    cursor: not-allowed;
    opacity: 0.8;
}

.quantity-adjust-warning {
    background-color: #ff8700;
    color: white;
    padding: 12px 15px;
    border-radius: 0;
    font-weight: 500;
    margin: 15px 0;
    font-family: 'Work Sans', serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quantity-adjust-success {
    background-color: #6bce6d;
    color: white;
    padding: 12px 15px;
    border-radius: 0;
    font-weight: 500;
    margin: 15px 0;
    font-family: 'Work Sans', serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quantity-adjust-item-row.similar {
    background-color: rgba(107, 206, 109, 0.1);
    border-left: 3px solid #6bce6d;
    transition: all 0.5s ease;
}

@media (max-width: 768px) {
    .quantity-adjust-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .quantity-adjust-btn-cancel, 
    .quantity-adjust-btn-continue {
        display: block;
        float: none;
        width: 100%;
        margin: 10px 0;
    }
    
    .quantity-adjust-title {
        font-size: 20px;
    }
    
    .quantity-adjust-message {
        font-size: 14px;
    }
    
    .quantity-adjust-suggest-btn {
        max-width: 100%;
        font-size: 0.9rem;
    }
}

.btn-quantity {
    transition: all 0.2s ease;
    border-radius: 0;
    background-color: #f5f5f5;
    border: 1px solid #d4cece;
    width: 36px;
    height: 40px;
    padding: 2px;
}

.btn-quantity:hover {
    background-color: #ec871f;
    color: white;
}

.btn-quantity:active {
    transform: scale(0.95);
}

/* Animación fade-in */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.container-buttons-quantity-adjust {
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
}