:root {
    /* Color Palette matched to Index */
    --primary-color: #2F5233;
    --secondary-color: #94C973;
    --accent-color: #B1D8B7;
    --background-color: #F8F9FA;
    --surface-light: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --danger: #dc3545;

    /* Typography */
    --font-heading: "Krona One", sans-serif;
    --font-body: "AR One Sans", sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --transition-fast: 0.2s ease;
    --radius-md: 12px;
}

.item-carrito {
    display: flex;
    background: var(--surface-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 15px;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.item-carrito:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.item-carrito img {
    border-radius: var(--radius-md);
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.box_primary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.info-producto {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-producto span {
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-main);
    display: block;
}

.info-producto span:first-child {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 13px;
}

.acciones-producto {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.acciones-producto input {
    width: 60px;
    height: 30px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition-fast);
}

.acciones-producto input:focus {
    border-color: var(--secondary-color);
}

.acciones-producto button {
    background-color: var(--white);
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: bold;
    transition: all var(--transition-fast);
}

.acciones-producto button:hover {
    background-color: var(--danger);
    color: var(--white);
}